2 # From configure.in Id: configure.in,v 1.370 2008/06/12 21:02:54 sshwarts Exp .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be more Bourne compatible
15 DUALCASE
=1; export DUALCASE
# for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
24 case `(set -o) 2>/dev/null` in
25 *posix
*) set -o posix
;;
34 # Avoid depending upon Character Ranges.
35 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
36 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
38 as_cr_digits
='0123456789'
39 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41 # The user is always right.
42 if test "${PATH_SEPARATOR+set}" != set; then
43 echo "#! /bin/sh" >conf$$.sh
44 echo "exit 0" >>conf$$.sh
46 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
54 # Support unset when possible.
55 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
63 # We need space, tab and new line, in precisely that order. Quoting is
64 # there to prevent editors from complaining about space-tab.
65 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66 # splitting by setting IFS to empty value.)
71 # Find who we are. Look in the path if we contain no directory separator.
73 *[\\/]* ) as_myself
=$0 ;;
74 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
78 test -z "$as_dir" && as_dir
=.
79 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
85 # We did not find ourselves, most probably we were run as `sh COMMAND'
86 # in which case we are not to be found in the path.
87 if test "x$as_myself" = x
; then
90 if test ! -f "$as_myself"; then
91 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
95 # Work around bugs in pre-3.0 UWIN ksh.
96 for as_var
in ENV MAIL MAILPATH
97 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
105 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
106 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
110 eval $as_var=C
; export $as_var
112 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
116 # Required to use basename.
117 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
118 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
124 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
131 # Name of the executable.
132 as_me
=`$as_basename -- "$0" ||
133 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
134 X"$0" : 'X\(//\)$' \| \
135 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 sed '/^.*\/\([^/][^/]*\)\/*$/{
155 if test "x$CONFIG_SHELL" = x
; then
156 if (eval ":") 2>/dev
/null
; then
162 if test $as_have_required = yes && (eval ":
172 as_func_ret_success () {
175 as_func_ret_failure () {
180 if as_func_success; then
184 echo as_func_success failed.
187 if as_func_failure; then
189 echo as_func_failure succeeded.
192 if as_func_ret_success; then
196 echo as_func_ret_success failed.
199 if as_func_ret_failure; then
201 echo as_func_ret_failure succeeded.
204 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
208 echo positional parameters were not saved.
211 test \$exitcode = 0) || { (exit 1); exit 1; }
216 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
217 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
218 ") 2> /dev
/null
; then
222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
223 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
226 test -z "$as_dir" && as_dir
=.
229 for as_base
in sh bash ksh sh5
; do
230 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
237 for as_shell
in $as_candidate_shells $SHELL; do
238 # Try only shells that exist, to save several forks.
239 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
240 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
241 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
244 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
245 # is contrary to our usage. Disable this feature.
246 alias -g '${1+"$@"}'='"$@"'
249 case `(set -o) 2>/dev/null` in
250 *posix
*) set -o posix
;;
259 CONFIG_SHELL
=$as_shell
261 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
262 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
265 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
266 # is contrary to our usage. Disable this feature.
267 alias -g '${1+"$@"}'='"$@"'
270 case `(set -o) 2>/dev/null` in
271 *posix
*) set -o posix
;;
287 as_func_ret_success
() {
290 as_func_ret_failure
() {
295 if as_func_success
; then
299 echo as_func_success failed.
302 if as_func_failure
; then
304 echo as_func_failure succeeded.
307 if as_func_ret_success
; then
311 echo as_func_ret_success failed.
314 if as_func_ret_failure
; then
316 echo as_func_ret_failure succeeded.
319 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
323 echo positional parameters were not saved.
326 test $exitcode = 0) ||
{ (exit 1); exit 1; }
331 test "x$as_lineno_1" != "x$as_lineno_2" &&
332 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
343 if test "x$CONFIG_SHELL" != x
; then
344 for as_var
in BASH_ENV ENV
345 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
348 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
352 if test $as_have_required = no
; then
353 echo This
script requires a shell
more modern than all the
354 echo shells that I found on your system. Please
install a
355 echo modern shell
, or manually run the
script under such a
356 echo shell
if you
do have one.
357 { (exit 1); exit 1; }
367 (eval "as_func_return () {
376 as_func_ret_success () {
379 as_func_ret_failure () {
384 if as_func_success; then
388 echo as_func_success failed.
391 if as_func_failure; then
393 echo as_func_failure succeeded.
396 if as_func_ret_success; then
400 echo as_func_ret_success failed.
403 if as_func_ret_failure; then
405 echo as_func_ret_failure succeeded.
408 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
412 echo positional parameters were not saved.
415 test \$exitcode = 0") ||
{
416 echo No shell found that supports shell functions.
417 echo Please tell autoconf@gnu.org about your system
,
418 echo including any error possibly output before this
426 test "x$as_lineno_1" != "x$as_lineno_2" &&
427 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
429 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
430 # uniformly replaced by the line number. The first 'sed' inserts a
431 # line-number line after each line using $LINENO; the second 'sed'
432 # does the real work. The second script uses 'N' to pair each
433 # line-number line with the line containing $LINENO, and appends
434 # trailing '-' during substitution so that $LINENO is not a special
436 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
437 # scripts with optimization help from Paolo Bonzini. Blame Lee
438 # E. McMahon (1931-1989) for sed's syntax. :-)
450 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
454 chmod +x
"$as_me.lineno" ||
455 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
456 { (exit 1); exit 1; }; }
458 # Don't try to exec as it changes $[0], causing all sort of problems
459 # (the dirname of $[0] is not the place where we might find the
460 # original and so on. Autoconf is especially sensitive to this).
462 # Exit status is that of the last command.
467 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
473 ECHO_C
= ECHO_N
= ECHO_T
=
477 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
484 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
485 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
491 rm -f conf$$ conf$$.exe conf$$.
file
492 if test -d conf$$.dir
; then
493 rm -f conf$$.dir
/conf$$.
file
499 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
501 # ... but there are two gotchas:
502 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
503 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
504 # In both cases, we have to default to `cp -p'.
505 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
507 elif ln conf$$.
file conf$$
2>/dev
/null
; then
512 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
513 rmdir conf$$.dir
2>/dev
/null
515 if mkdir
-p .
2>/dev
/null
; then
518 test -d .
/-p && rmdir .
/-p
522 if test -x / >/dev
/null
2>&1; then
525 if ls -dL / >/dev
/null
2>&1; then
532 if test -d "$1"; then
538 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
539 ???[sx]*):;;*)false;;esac;fi
543 as_executable_p
=$as_test_x
545 # Sed expression to map a string onto a valid CPP name.
546 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548 # Sed expression to map a string onto a valid variable name.
549 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 # Check that we are running under the correct shell.
555 SHELL
=${CONFIG_SHELL-/bin/sh}
559 # Remove one level of quotation (which was required for Make).
560 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
565 if test "X$1" = X--no-reexec
; then
566 # Discard the --no-reexec flag, and continue.
568 elif test "X$1" = X--fallback-echo
; then
569 # Avoid inline document here, it may be left over
571 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
572 # Yippee, $echo works!
575 # Restart under the correct shell.
576 exec $SHELL "$0" --no-reexec ${1+"$@"}
579 if test "X$1" = X--fallback-echo
; then
580 # used as fallback echo
588 # The HP-UX ksh and POSIX shell print the target directory to stdout
590 if test "X${CDPATH+set}" = Xset
; then CDPATH
=:; export CDPATH
; fi
592 if test -z "$ECHO"; then
593 if test "X${echo_test_string+set}" != Xset
; then
594 # find a string as large as possible, as long as the shell can cope with it
595 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
596 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
597 if (echo_test_string
="`eval $cmd`") 2>/dev
/null
&&
598 echo_test_string
="`eval $cmd`" &&
599 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
606 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
607 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
608 test "X$echo_testing_string" = "X$echo_test_string"; then
611 # The Solaris, AIX, and Digital Unix default echo programs unquote
612 # backslashes. This makes it impossible to quote backslashes using
613 # echo "$something" | sed 's/\\/\\\\/g'
615 # So, first we look for a working echo in the user's PATH.
617 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
618 for dir
in $PATH /usr
/ucb
; do
620 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
621 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
622 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
623 test "X$echo_testing_string" = "X$echo_test_string"; then
630 if test "X$echo" = Xecho
; then
631 # We didn't find a better echo, so look for alternatives.
632 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
633 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 # This shell has a builtin print -r that does the trick.
637 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
638 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
639 # If we have ksh, try running configure again with it.
640 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
641 export ORIGINAL_CONFIG_SHELL
642 CONFIG_SHELL
=/bin
/ksh
644 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
648 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
649 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
650 test "X$echo_testing_string" = "X$echo_test_string"; then
653 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
654 test "X$echo_testing_string" = 'X\t' &&
655 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
656 test "X$echo_testing_string" = "X$echo_test_string"; then
657 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
659 SHELL
="$CONFIG_SHELL"
661 echo="$CONFIG_SHELL $0 --fallback-echo"
662 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
663 test "X$echo_testing_string" = 'X\t' &&
664 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
665 test "X$echo_testing_string" = "X$echo_test_string"; then
666 echo="$CONFIG_SHELL $0 --fallback-echo"
668 # maybe with a smaller string...
671 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
672 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
679 if test "$prev" != 'sed 50q "$0"'; then
680 echo_test_string
=`eval $prev`
681 export echo_test_string
682 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
684 # Oops. We lost completely, so just stick with echo.
693 # Copy echo and quote the copy suitably for passing to libtool from
694 # the Makefile, instead of quoting the original, which is used later.
696 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
697 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
703 tagnames
=${tagnames+${tagnames},}CXX
705 tagnames
=${tagnames+${tagnames},}F77
707 exec 7<&0 </dev
/null
6>&1
710 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
711 # so uname gets run too.
712 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
717 ac_default_prefix
=/usr
/local
719 ac_config_libobj_dir
=.
725 SHELL
=${CONFIG_SHELL-/bin/sh}
727 # Identity of this package.
734 ac_unique_file
="bochs.h"
735 # Factoring default headers for most tests.
736 ac_includes_default
="\
738 #ifdef HAVE_SYS_TYPES_H
739 # include <sys/types.h>
741 #ifdef HAVE_SYS_STAT_H
742 # include <sys/stat.h>
748 # ifdef HAVE_STDLIB_H
753 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
758 #ifdef HAVE_STRINGS_H
759 # include <strings.h>
761 #ifdef HAVE_INTTYPES_H
762 # include <inttypes.h>
780 program_transform_name
852 NONPLUGIN_GUI_LINK_OPTS
855 BX_COMPRESSED_HD_SUPPORT
864 PCIDEV_MODULE_MAKE_ALL
910 INSTALL_LIST_FOR_PLATFORM
929 PLUGIN_LIBNAME_TRANSFORMATION
941 IODEV_NON_PLUGIN_OBJS
951 ac_precious_vars
='build_alias
972 # Initialize some variables set by options.
974 ac_init_version
=false
975 # The variables have the same names as the options, with
976 # dashes changed to underlines.
984 program_transform_name
=s
,x
,x
,
992 # Installation directory options.
993 # These are left unexpanded so users can "make install exec_prefix=/foo"
994 # and all the variables that are supposed to be based on exec_prefix
995 # by default will actually change.
996 # Use braces instead of parens because sh, perl, etc. also accept them.
997 # (The list follows the same order as the GNU Coding Standards.)
998 bindir
='${exec_prefix}/bin'
999 sbindir
='${exec_prefix}/sbin'
1000 libexecdir
='${exec_prefix}/libexec'
1001 datarootdir
='${prefix}/share'
1002 datadir
='${datarootdir}'
1003 sysconfdir
='${prefix}/etc'
1004 sharedstatedir
='${prefix}/com'
1005 localstatedir
='${prefix}/var'
1006 includedir
='${prefix}/include'
1007 oldincludedir
='/usr/include'
1008 docdir
='${datarootdir}/doc/${PACKAGE}'
1009 infodir
='${datarootdir}/info'
1014 libdir
='${exec_prefix}/lib'
1015 localedir
='${datarootdir}/locale'
1016 mandir
='${datarootdir}/man'
1022 # If the previous option needs an argument, assign it.
1023 if test -n "$ac_prev"; then
1024 eval $ac_prev=\
$ac_option
1030 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1034 # Accept the important Cygnus configure options, so we can diagnose typos.
1036 case $ac_dashdash$ac_option in
1040 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1042 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1043 bindir
=$ac_optarg ;;
1045 -build |
--build |
--buil |
--bui |
--bu)
1046 ac_prev
=build_alias
;;
1047 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1048 build_alias
=$ac_optarg ;;
1050 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1051 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1052 ac_prev
=cache_file
;;
1053 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1054 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1055 cache_file
=$ac_optarg ;;
1057 --config-cache |
-C)
1058 cache_file
=config.cache
;;
1060 -datadir |
--datadir |
--datadi |
--datad)
1062 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1063 datadir
=$ac_optarg ;;
1065 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1066 |
--dataroo |
--dataro |
--datar)
1067 ac_prev
=datarootdir
;;
1068 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1069 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1070 datarootdir
=$ac_optarg ;;
1072 -disable-* |
--disable-*)
1073 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1074 # Reject names that are not valid shell variable names.
1075 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1076 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1077 { (exit 1); exit 1; }; }
1078 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1079 eval enable_
$ac_feature=no
;;
1081 -docdir |
--docdir |
--docdi |
--doc |
--do)
1083 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1084 docdir
=$ac_optarg ;;
1086 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1088 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1089 dvidir
=$ac_optarg ;;
1091 -enable-* |
--enable-*)
1092 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1093 # Reject names that are not valid shell variable names.
1094 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1095 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1096 { (exit 1); exit 1; }; }
1097 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1098 eval enable_
$ac_feature=\
$ac_optarg ;;
1100 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1101 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1102 |
--exec |
--exe |
--ex)
1103 ac_prev
=exec_prefix
;;
1104 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1105 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1106 |
--exec=* |
--exe=* |
--ex=*)
1107 exec_prefix
=$ac_optarg ;;
1109 -gas |
--gas |
--ga |
--g)
1110 # Obsolete; use --with-gas.
1113 -help |
--help |
--hel |
--he |
-h)
1114 ac_init_help
=long
;;
1115 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1116 ac_init_help
=recursive
;;
1117 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1118 ac_init_help
=short
;;
1120 -host |
--host |
--hos |
--ho)
1121 ac_prev
=host_alias
;;
1122 -host=* |
--host=* |
--hos=* |
--ho=*)
1123 host_alias
=$ac_optarg ;;
1125 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1127 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1129 htmldir
=$ac_optarg ;;
1131 -includedir |
--includedir |
--includedi |
--included |
--include \
1132 |
--includ |
--inclu |
--incl |
--inc)
1133 ac_prev
=includedir
;;
1134 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1135 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1136 includedir
=$ac_optarg ;;
1138 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1140 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1141 infodir
=$ac_optarg ;;
1143 -libdir |
--libdir |
--libdi |
--libd)
1145 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1146 libdir
=$ac_optarg ;;
1148 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1149 |
--libexe |
--libex |
--libe)
1150 ac_prev
=libexecdir
;;
1151 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1152 |
--libexe=* |
--libex=* |
--libe=*)
1153 libexecdir
=$ac_optarg ;;
1155 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1156 ac_prev
=localedir
;;
1157 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1158 localedir
=$ac_optarg ;;
1160 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1161 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1162 ac_prev
=localstatedir
;;
1163 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1164 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1165 localstatedir
=$ac_optarg ;;
1167 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1169 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1170 mandir
=$ac_optarg ;;
1172 -nfp |
--nfp |
--nf)
1173 # Obsolete; use --without-fp.
1176 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1177 |
--no-cr |
--no-c |
-n)
1180 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1181 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1184 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1185 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1186 |
--oldin |
--oldi |
--old |
--ol |
--o)
1187 ac_prev
=oldincludedir
;;
1188 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1189 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1190 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1191 oldincludedir
=$ac_optarg ;;
1193 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1195 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1196 prefix
=$ac_optarg ;;
1198 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1199 |
--program-pre |
--program-pr |
--program-p)
1200 ac_prev
=program_prefix
;;
1201 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1202 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1203 program_prefix
=$ac_optarg ;;
1205 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1206 |
--program-suf |
--program-su |
--program-s)
1207 ac_prev
=program_suffix
;;
1208 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1209 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1210 program_suffix
=$ac_optarg ;;
1212 -program-transform-name |
--program-transform-name \
1213 |
--program-transform-nam |
--program-transform-na \
1214 |
--program-transform-n |
--program-transform- \
1215 |
--program-transform |
--program-transfor \
1216 |
--program-transfo |
--program-transf \
1217 |
--program-trans |
--program-tran \
1218 |
--progr-tra |
--program-tr |
--program-t)
1219 ac_prev
=program_transform_name
;;
1220 -program-transform-name=* |
--program-transform-name=* \
1221 |
--program-transform-nam=* |
--program-transform-na=* \
1222 |
--program-transform-n=* |
--program-transform-=* \
1223 |
--program-transform=* |
--program-transfor=* \
1224 |
--program-transfo=* |
--program-transf=* \
1225 |
--program-trans=* |
--program-tran=* \
1226 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1227 program_transform_name
=$ac_optarg ;;
1229 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1231 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1232 pdfdir
=$ac_optarg ;;
1234 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1236 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1239 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1240 |
-silent |
--silent |
--silen |
--sile |
--sil)
1243 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1245 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1247 sbindir
=$ac_optarg ;;
1249 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1250 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1251 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1253 ac_prev
=sharedstatedir
;;
1254 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1255 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1256 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1258 sharedstatedir
=$ac_optarg ;;
1260 -site |
--site |
--sit)
1262 -site=* |
--site=* |
--sit=*)
1265 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1267 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1268 srcdir
=$ac_optarg ;;
1270 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1271 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1272 ac_prev
=sysconfdir
;;
1273 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1274 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1275 sysconfdir
=$ac_optarg ;;
1277 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1278 ac_prev
=target_alias
;;
1279 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1280 target_alias
=$ac_optarg ;;
1282 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1285 -version |
--version |
--versio |
--versi |
--vers |
-V)
1286 ac_init_version
=: ;;
1289 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1290 # Reject names that are not valid shell variable names.
1291 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1292 { echo "$as_me: error: invalid package name: $ac_package" >&2
1293 { (exit 1); exit 1; }; }
1294 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1295 eval with_
$ac_package=\
$ac_optarg ;;
1297 -without-* |
--without-*)
1298 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1299 # Reject names that are not valid shell variable names.
1300 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1301 { echo "$as_me: error: invalid package name: $ac_package" >&2
1302 { (exit 1); exit 1; }; }
1303 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1304 eval with_
$ac_package=no
;;
1307 # Obsolete; use --with-x.
1310 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1311 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1312 ac_prev
=x_includes
;;
1313 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1314 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1315 x_includes
=$ac_optarg ;;
1317 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1318 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1319 ac_prev
=x_libraries
;;
1320 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1321 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1322 x_libraries
=$ac_optarg ;;
1324 -*) { echo "$as_me: error: unrecognized option: $ac_option
1325 Try \`$0 --help' for more information." >&2
1326 { (exit 1); exit 1; }; }
1330 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1331 # Reject names that are not valid shell variable names.
1332 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1333 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1334 { (exit 1); exit 1; }; }
1335 eval $ac_envvar=\
$ac_optarg
1336 export $ac_envvar ;;
1339 # FIXME: should be removed in autoconf 3.0.
1340 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1341 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1342 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1343 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1349 if test -n "$ac_prev"; then
1350 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1351 { echo "$as_me: error: missing argument to $ac_option" >&2
1352 { (exit 1); exit 1; }; }
1355 # Be sure to have absolute directory names.
1356 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1357 datadir sysconfdir sharedstatedir localstatedir includedir \
1358 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1359 libdir localedir mandir
1361 eval ac_val
=\$
$ac_var
1363 [\\/$
]* | ?
:[\\/]* ) continue;;
1364 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1366 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1367 { (exit 1); exit 1; }; }
1370 # There might be people who depend on the old broken behavior: `$host'
1371 # used to hold the argument of --host etc.
1372 # FIXME: To remove some day.
1375 target
=$target_alias
1377 # FIXME: To remove some day.
1378 if test "x$host_alias" != x
; then
1379 if test "x$build_alias" = x
; then
1380 cross_compiling
=maybe
1381 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1382 If a cross compiler is detected then cross compile mode will be used." >&2
1383 elif test "x$build_alias" != "x$host_alias"; then
1389 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1391 test "$silent" = yes && exec 6>/dev
/null
1394 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1395 ac_ls_di
=`ls -di .` &&
1396 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1397 { echo "$as_me: error: Working directory cannot be determined" >&2
1398 { (exit 1); exit 1; }; }
1399 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1400 { echo "$as_me: error: pwd does not report name of working directory" >&2
1401 { (exit 1); exit 1; }; }
1404 # Find the source files, if location was not specified.
1405 if test -z "$srcdir"; then
1406 ac_srcdir_defaulted
=yes
1407 # Try the directory containing this script, then the parent directory.
1408 ac_confdir
=`$as_dirname -- "$0" ||
1409 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1410 X"$0" : 'X\(//\)[^/]' \| \
1411 X"$0" : 'X\(//\)$' \| \
1412 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1432 if test ! -r "$srcdir/$ac_unique_file"; then
1436 ac_srcdir_defaulted
=no
1438 if test ! -r "$srcdir/$ac_unique_file"; then
1439 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1440 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1441 { (exit 1); exit 1; }; }
1443 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1445 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1446 { (exit 1); exit 1; }; }
1448 # When building in place, set srcdir=.
1449 if test "$ac_abs_confdir" = "$ac_pwd"; then
1452 # Remove unnecessary trailing slashes from srcdir.
1453 # Double slashes in file names in object file debugging info
1454 # mess up M-x gdb in Emacs.
1456 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1458 for ac_var
in $ac_precious_vars; do
1459 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1460 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1461 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1462 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1466 # Report the --help message.
1468 if test "$ac_init_help" = "long"; then
1469 # Omit some internal or obsolete options to make the list less imposing.
1470 # This message is too long to be a string in the A/UX 3.1 sh.
1472 \`configure' configures this package to adapt to many kinds of systems.
1474 Usage: $0 [OPTION]... [VAR=VALUE]...
1476 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1477 VAR=VALUE. See below for descriptions of some of the useful variables.
1479 Defaults for the options are specified in brackets.
1482 -h, --help display this help and exit
1483 --help=short display options specific to this package
1484 --help=recursive display the short help of all the included packages
1485 -V, --version display version information and exit
1486 -q, --quiet, --silent do not print \`checking...' messages
1487 --cache-file=FILE cache test results in FILE [disabled]
1488 -C, --config-cache alias for \`--cache-file=config.cache'
1489 -n, --no-create do not create output files
1490 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1492 Installation directories:
1493 --prefix=PREFIX install architecture-independent files in PREFIX
1494 [$ac_default_prefix]
1495 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1498 By default, \`make install' will install all the files in
1499 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1500 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1501 for instance \`--prefix=\$HOME'.
1503 For better control, use the options below.
1505 Fine tuning of the installation directories:
1506 --bindir=DIR user executables [EPREFIX/bin]
1507 --sbindir=DIR system admin executables [EPREFIX/sbin]
1508 --libexecdir=DIR program executables [EPREFIX/libexec]
1509 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1510 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1511 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1512 --libdir=DIR object code libraries [EPREFIX/lib]
1513 --includedir=DIR C header files [PREFIX/include]
1514 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1515 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1516 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1517 --infodir=DIR info documentation [DATAROOTDIR/info]
1518 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1519 --mandir=DIR man documentation [DATAROOTDIR/man]
1520 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1521 --htmldir=DIR html documentation [DOCDIR]
1522 --dvidir=DIR dvi documentation [DOCDIR]
1523 --pdfdir=DIR pdf documentation [DOCDIR]
1524 --psdir=DIR ps documentation [DOCDIR]
1530 --x-includes=DIR X include files are
in DIR
1531 --x-libraries=DIR X library files are
in DIR
1534 --build=BUILD configure
for building on BUILD
[guessed
]
1535 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1536 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1540 if test -n "$ac_init_help"; then
1545 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1546 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1547 --enable-static[=PKGS
] build static libraries
[default
=no
]
1548 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1549 --enable-fast-install[=PKGS
]
1550 optimize
for fast installation
[default
=yes]
1551 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1552 --enable-ltdl-install install libltdl
1553 --disable-largefile omit support
for large files
1554 --enable-idle-hack use Roland Mainz
's idle hack
1555 --enable-plugins enable plugins
1556 --enable-x86-64 compile in support for x86-64 instructions
1557 --enable-smp compile in support for SMP configurations
1558 --enable-cpu-level select cpu level (3,4,5,6)
1559 --enable-apic enable APIC support
1560 --enable-compressed-hd allows compressed (zlib) hard disk image (not implemented yet)
1561 --enable-ne2000 enable limited ne2000 support
1562 --enable-acpi enable ACPI support
1563 --enable-pci enable limited i440FX PCI support
1564 --enable-pcidev enable PCI host device mapping support (linux host only)
1565 --enable-usb enable limited USB support
1566 --enable-pnic enable PCI pseudo NIC support
1567 --enable-large-pages support for large pages (2M/4M pages)
1568 --enable-pae support Physical Address Extensions
1569 --enable-global-pages support for global pages in PDE/PTE
1570 --enable-mtrr support for MTRRs
1571 --enable-guest2host-tlb support guest to host addr TLB for speed
1572 --enable-repeat-speedups support repeated IO and mem copy speedups
1573 --enable-trace-cache support instruction trace cache
1574 --enable-icache support instruction cache
1575 --enable-fast-function-calls support for fast function calls (gcc on x86 only)
1576 --enable-host-specific-asms support for host specific inline assembly
1577 --enable-ignore-bad-msr ignore bad MSR references
1578 --enable-port-e9-hack writes to port e9 go to console
1579 --enable-show-ips show IPS in Bochs log file
1580 --enable-cpp use .cpp as C++ suffix
1581 --enable-debugger compile in support for Bochs internal debugger
1582 --enable-external-debugger enable external debugger support (win32 only)
1583 --enable-disasm compile in support for disassembler
1584 --enable-all-optimizations compile in all possible optimizations
1585 --enable-readline use readline library, if available
1586 --enable-instrumentation compile in support for instrumentation
1587 --enable-logging enable logging
1588 --enable-assert-checks enable BX_ASSERT checks
1589 --enable-raw-serial use raw serial port access
1590 --enable-vbe use VESA BIOS extensions
1591 --enable-clgd54xx enable CLGD54XX emulation
1592 --enable-fpu compile in FPU emulation
1593 --enable-vme virtual 8086 mode extensions
1594 --enable-mmx MMX support
1595 --enable-3dnow 3DNow! support (incomplete)
1596 --enable-sse SSE support (--enable-sse=no|1|2|3|4)
1597 --enable-sse-extension support for SSE extensions
1598 --enable-daz denormals-are-zeroes support
1599 --enable-xsave support for XSAVE/XRSTOR extensions
1600 --enable-aes support for AES instructions
1601 --enable-alignment-check alignment check (#AC) support
1602 --enable-misaligned-sse misaligned SSE support
1603 --enable-sep SYSENTER/SYSEXIT support
1604 --enable-popcnt support for POPCNT instruction
1605 --enable-monitor-mwait support for MONITOR/MWAIT instructions (experimental)
1606 --enable-x86-debugger x86 debugger support
1607 --enable-cdrom CDROM support
1608 --enable-sb16=xxx Sound Blaster 16 Support (xxx=dummy|win|linux|freebsd|osx)
1609 --enable-gameport enable standard PC gameport support
1610 --enable-gdb-stub enable gdb stub support
1611 --enable-iodebug enable I/O interface to debugger
1612 --enable-docbook build the Docbook documentation
1613 --enable-xpm enable the check for XPM support
1614 --enable-magic-breakpoints enables magic breakpoints (deprecated)
1615 --enable-save-restore enables save/restore (deprecated)
1618 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1619 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1620 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1621 --with-pic try to use only PIC/non-PIC objects [default=use
1623 --with-tags[=TAGS] include additional configurations [automatic]
1624 --with-x use the X Window System
1625 --with-x11 use X11 GUI
1626 --with-beos use BeOS GUI
1627 --with-win32 use Win32 GUI
1628 --with-macos use Macintosh/CodeWarrior environment
1629 --with-carbon compile for MacOS X with Carbon GUI
1630 --with-nogui no native GUI, just use blank stubs
1631 --with-term textmode terminal environment
1632 --with-rfb use RFB protocol, works with VNC viewer
1633 --with-amigaos use AmigaOS (or MorphOS) GUI
1634 --with-sdl use SDL libraries
1635 --with-svga use SVGALib libraries
1636 --with-wx use wxWidgets libraries
1637 --with-all-libs compile all guis that Bochs supports
1639 Some influential environment variables:
1640 CC C compiler command
1641 CFLAGS C compiler flags
1642 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1643 nonstandard directory <lib dir>
1644 LIBS libraries to pass to the linker, e.g. -l<library>
1645 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1646 you have headers in a nonstandard directory <include dir>
1647 CXX C++ compiler command
1648 CXXFLAGS C++ compiler flags
1650 CXXCPP C++ preprocessor
1651 F77 Fortran 77 compiler command
1652 FFLAGS Fortran 77 compiler flags
1653 XMKMF Path to xmkmf, Makefile generator for X Window System
1654 PKG_CONFIG path to pkg-config utility
1655 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1656 GTK_LIBS linker flags for GTK, overriding pkg-config
1658 Use these variables to override the choices made by `configure' or to
help
1659 it to
find libraries and programs with nonstandard names
/locations.
1665 if test "$ac_init_help" = "recursive"; then
1666 # If there are subdirs, report their specific --help.
1667 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1668 test -d "$ac_dir" ||
continue
1672 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1674 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1675 # A ".." for each directory in $ac_dir_suffix.
1676 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1677 case $ac_top_builddir_sub in
1678 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1679 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1682 ac_abs_top_builddir
=$ac_pwd
1683 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1684 # for backward compatibility:
1685 ac_top_builddir
=$ac_top_build_prefix
1688 .
) # We are building in place.
1690 ac_top_srcdir
=$ac_top_builddir_sub
1691 ac_abs_top_srcdir
=$ac_pwd ;;
1692 [\\/]* | ?
:[\\/]* ) # Absolute name.
1693 ac_srcdir
=$srcdir$ac_dir_suffix;
1694 ac_top_srcdir
=$srcdir
1695 ac_abs_top_srcdir
=$srcdir ;;
1697 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1698 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1699 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1701 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1703 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1704 # Check for guested configure.
1705 if test -f "$ac_srcdir/configure.gnu"; then
1707 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1708 elif test -f "$ac_srcdir/configure"; then
1710 $SHELL "$ac_srcdir/configure" --help=recursive
1712 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1714 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1718 test -n "$ac_init_help" && exit $ac_status
1719 if $ac_init_version; then
1722 generated by GNU Autoconf
2.61
1724 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1725 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1726 This configure
script is free software
; the Free Software Foundation
1727 gives unlimited permission to copy
, distribute and modify it.
1731 cat >config.log
<<_ACEOF
1732 This file contains any messages produced by compilers while
1733 running configure, to aid debugging if configure makes a mistake.
1735 It was created by $as_me, which was
1736 generated by GNU Autoconf 2.61. Invocation command line was
1748 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1749 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1750 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1751 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1752 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1754 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1755 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1757 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1758 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1759 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1760 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1761 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1762 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1763 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1771 test -z "$as_dir" && as_dir
=.
1772 echo "PATH: $as_dir"
1788 # Keep a trace of the command line.
1789 # Strip out --no-create and --no-recursion so they do not pile up.
1790 # Strip out --silent because we don't want to record it for future runs.
1791 # Also quote any args containing shell meta-characters.
1792 # Make two passes to allow for proper duplicate-argument suppression.
1796 ac_must_keep_next
=false
1802 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1803 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1804 |
-silent |
--silent |
--silen |
--sile |
--sil)
1807 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1810 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1812 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1813 if test $ac_must_keep_next = true
; then
1814 ac_must_keep_next
=false
# Got value, back to normal.
1817 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1818 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1819 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1820 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1821 case "$ac_configure_args0 " in
1822 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1825 -* ) ac_must_keep_next
=true
;;
1828 ac_configure_args
="$ac_configure_args '$ac_arg'"
1833 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1834 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1836 # When interrupted or exit'd, cleanup temporary files, and complete
1837 # config.log. We remove comments because anyway the quotes in there
1838 # would cause problems or look ugly.
1839 # WARNING: Use '\'' to represent an apostrophe within the trap.
1840 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1841 trap 'exit_status=$?
1842 # Save into config.log some information that might help in debugging.
1847 ## ---------------- ##
1848 ## Cache variables. ##
1849 ## ---------------- ##
1852 # The following way of writing the cache mishandles newlines in values,
1854 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1855 eval ac_val=\$$ac_var
1859 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1860 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1863 _ | IFS | as_nl) ;; #(
1864 *) $as_unset $ac_var ;;
1869 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1870 *${as_nl}ac_space=\ *)
1872 "s/'\''/'\''\\\\'\'''\''/g;
1873 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1876 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1884 ## ----------------- ##
1885 ## Output variables. ##
1886 ## ----------------- ##
1889 for ac_var in $ac_subst_vars
1891 eval ac_val=\$$ac_var
1893 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1895 echo "$ac_var='\''$ac_val'\''"
1899 if test -n "$ac_subst_files"; then
1901 ## ------------------- ##
1902 ## File substitutions. ##
1903 ## ------------------- ##
1906 for ac_var
in $ac_subst_files
1908 eval ac_val
=\$
$ac_var
1910 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1912 echo "$ac_var='\''$ac_val'\''"
1917 if test -s confdefs.h; then
1927 test "$ac_signal" != 0 &&
1928 echo "$as_me: caught signal $ac_signal"
1929 echo "$as_me: exit $exit_status"
1931 rm -f core *.core core.conftest.* &&
1932 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1935 for ac_signal
in 1 2 13 15; do
1936 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1940 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1941 rm -f -r conftest
* confdefs.h
1943 # Predefined preprocessor variables.
1945 cat >>confdefs.h
<<_ACEOF
1946 #define PACKAGE_NAME "$PACKAGE_NAME"
1950 cat >>confdefs.h
<<_ACEOF
1951 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1955 cat >>confdefs.h
<<_ACEOF
1956 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1960 cat >>confdefs.h
<<_ACEOF
1961 #define PACKAGE_STRING "$PACKAGE_STRING"
1965 cat >>confdefs.h
<<_ACEOF
1966 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1970 # Let the site file select an alternate cache file if it wants to.
1971 # Prefer explicitly selected file to automatically selected ones.
1972 if test -n "$CONFIG_SITE"; then
1973 set x
"$CONFIG_SITE"
1974 elif test "x$prefix" != xNONE
; then
1975 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1977 set x
"$ac_default_prefix/share/config.site" \
1978 "$ac_default_prefix/etc/config.site"
1983 if test -r "$ac_site_file"; then
1984 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1985 echo "$as_me: loading site script $ac_site_file" >&6;}
1986 sed 's/^/| /' "$ac_site_file" >&5
1991 if test -r "$cache_file"; then
1992 # Some versions of bash will fail to source /dev/null (special
1993 # files actually), so we avoid doing that.
1994 if test -f "$cache_file"; then
1995 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1996 echo "$as_me: loading cache $cache_file" >&6;}
1998 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1999 *) .
"./$cache_file";;
2003 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2004 echo "$as_me: creating cache $cache_file" >&6;}
2008 # Check that the precious variables saved in the cache have kept the same
2010 ac_cache_corrupted
=false
2011 for ac_var
in $ac_precious_vars; do
2012 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2013 eval ac_new_set
=\
$ac_env_${ac_var}_set
2014 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2015 eval ac_new_val
=\
$ac_env_${ac_var}_value
2016 case $ac_old_set,$ac_new_set in
2018 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2019 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2020 ac_cache_corrupted
=: ;;
2022 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2023 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2024 ac_cache_corrupted
=: ;;
2027 if test "x$ac_old_val" != "x$ac_new_val"; then
2028 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2029 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2030 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2031 echo "$as_me: former value: $ac_old_val" >&2;}
2032 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2033 echo "$as_me: current value: $ac_new_val" >&2;}
2034 ac_cache_corrupted
=:
2037 # Pass precious variables to config.status.
2038 if test "$ac_new_set" = set; then
2040 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2041 *) ac_arg
=$ac_var=$ac_new_val ;;
2043 case " $ac_configure_args " in
2044 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2045 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2049 if $ac_cache_corrupted; then
2050 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2051 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2052 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2053 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2054 { (exit 1); exit 1; }; }
2074 ac_cpp
='$CPP $CPPFLAGS'
2075 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2076 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2077 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2081 ac_config_headers
="$ac_config_headers config.h"
2083 ac_config_headers
="$ac_config_headers ltdlconf.h"
2087 VER_STRING
="2.3.7.cvs"
2088 WIN_VER_STRING
="2, 3, 7, 1"
2089 REL_STRING
="Build from CVS snapshot, after release 2.3.7"
2095 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2096 if test -f "$ac_dir/install-sh"; then
2098 ac_install_sh
="$ac_aux_dir/install-sh -c"
2100 elif test -f "$ac_dir/install.sh"; then
2102 ac_install_sh
="$ac_aux_dir/install.sh -c"
2104 elif test -f "$ac_dir/shtool"; then
2106 ac_install_sh
="$ac_aux_dir/shtool install -c"
2110 if test -z "$ac_aux_dir"; then
2111 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2112 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2113 { (exit 1); exit 1; }; }
2116 # These three variables are undocumented and unsupported,
2117 # and are intended to be withdrawn in a future Autoconf release.
2118 # They can cause serious problems if a builder's source tree is in a directory
2119 # whose full name contains unusual characters.
2120 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2121 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2122 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2125 # Make sure we can run config.sub.
2126 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2127 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2128 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2129 { (exit 1); exit 1; }; }
2131 { echo "$as_me:$LINENO: checking build system type" >&5
2132 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2133 if test "${ac_cv_build+set}" = set; then
2134 echo $ECHO_N "(cached) $ECHO_C" >&6
2136 ac_build_alias
=$build_alias
2137 test "x$ac_build_alias" = x
&&
2138 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2139 test "x$ac_build_alias" = x
&&
2140 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2141 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2142 { (exit 1); exit 1; }; }
2143 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2144 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2145 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2146 { (exit 1); exit 1; }; }
2149 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2150 echo "${ECHO_T}$ac_cv_build" >&6; }
2151 case $ac_cv_build in
2153 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2154 echo "$as_me: error: invalid value of canonical build" >&2;}
2155 { (exit 1); exit 1; }; };;
2158 ac_save_IFS
=$IFS; IFS
='-'
2164 # Remember, the first character of IFS is used to create $*,
2165 # except with old shells:
2168 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2171 { echo "$as_me:$LINENO: checking host system type" >&5
2172 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2173 if test "${ac_cv_host+set}" = set; then
2174 echo $ECHO_N "(cached) $ECHO_C" >&6
2176 if test "x$host_alias" = x
; then
2177 ac_cv_host
=$ac_cv_build
2179 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2180 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2181 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2182 { (exit 1); exit 1; }; }
2186 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2187 echo "${ECHO_T}$ac_cv_host" >&6; }
2190 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2191 echo "$as_me: error: invalid value of canonical host" >&2;}
2192 { (exit 1); exit 1; }; };;
2195 ac_save_IFS
=$IFS; IFS
='-'
2201 # Remember, the first character of IFS is used to create $*,
2202 # except with old shells:
2205 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2208 { echo "$as_me:$LINENO: checking target system type" >&5
2209 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2210 if test "${ac_cv_target+set}" = set; then
2211 echo $ECHO_N "(cached) $ECHO_C" >&6
2213 if test "x$target_alias" = x
; then
2214 ac_cv_target
=$ac_cv_host
2216 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2217 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2218 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2219 { (exit 1); exit 1; }; }
2223 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2224 echo "${ECHO_T}$ac_cv_target" >&6; }
2225 case $ac_cv_target in
2227 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2228 echo "$as_me: error: invalid value of canonical target" >&2;}
2229 { (exit 1); exit 1; }; };;
2231 target
=$ac_cv_target
2232 ac_save_IFS
=$IFS; IFS
='-'
2238 # Remember, the first character of IFS is used to create $*,
2239 # except with old shells:
2242 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2245 # The aliases save the names the user supplied, while $host etc.
2246 # will get canonicalized.
2247 test -n "$target_alias" &&
2248 test "$program_prefix$program_suffix$program_transform_name" = \
2250 program_prefix
=${target_alias}-
2252 { echo "$as_me:$LINENO: checking if you are configuring for another platform" >&5
2253 echo $ECHO_N "checking if you are configuring for another platform... $ECHO_C" >&6; }
2254 if test "$cross_compiling" = yes -o "$target_os" = "windows"; then
2255 { echo "$as_me:$LINENO: result: yes" >&5
2256 echo "${ECHO_T}yes" >&6; }
2259 { echo "$as_me:$LINENO: result: no" >&5
2260 echo "${ECHO_T}no" >&6; }
2264 # this case statement defines the compile flags which are needed to
2265 # compile bochs on a platform. Don't put things like optimization settings
2266 # into the configure.in file, since people will want to be able to change
2267 # those settings by defining CFLAGS and CXXFLAGS before running configure.
2269 need_dlcompat_for_plugins
=0
2271 *-pc-windows* |
*-pc-winnt*)
2272 DEFAULT_GUI
=win32
# default to win32 gui
2274 *-pc-cygwin* |
*-pc-mingw32*)
2275 NO_LT
=1 # do not use libtool at all on cygwin
2276 if test "$with_term" = yes; then
2277 # ncurses won't compile with -mno-cygwin or -DWIN32
2278 # also, I can't get it to link without this -DBROKEN_LINKER=1 hack.
2279 # see /usr/include/curses.h for details.
2280 ADD_FLAGS
="-DBROKEN_LINKER=1"
2283 ADD_FLAGS
="-mno-cygwin -DWIN32" # required for cygwin compile+win32 gui
2284 DEFAULT_GUI
=win32
# default to win32 gui
2287 *-macosx* |
*-darwin*)
2288 ADD_FLAGS
="-fpascal-strings -fno-common -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh" # required for macosx compile
2289 DEFAULT_GUI
=carbon
# default to carbon
2290 need_dlcompat_for_plugins
=1
2293 DEFAULT_GUI
=macos
# macos defaults to macos
2296 ADD_FLAGS
="-Wno-multichar"
2297 DEFAULT_GUI
=beos
# beos defaults to beos
2299 *-amigaos* |
*-morphos*)
2300 DEFAULT_GUI
=amigaos
# amigaos or morphos defaults to amigaos gui
2303 ADD_FLAGS
="-D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__" # required for correct function prototypes
2304 LIBS
="$LIBS -lsocket -lnsl"
2311 if test "${ADD_FLAGS:+set}" = set; then
2312 CFLAGS
="$CFLAGS $ADD_FLAGS"
2313 CXXFLAGS
="$CXXFLAGS $ADD_FLAGS"
2314 CPPFLAGS
="$CPPFLAGS $ADD_FLAGS"
2317 { echo "$as_me:$LINENO: checking for standard CFLAGS on this platform" >&5
2318 echo $ECHO_N "checking for standard CFLAGS on this platform... $ECHO_C" >&6; }
2319 { echo "$as_me:$LINENO: result: $ADD_FLAGS" >&5
2320 echo "${ECHO_T}$ADD_FLAGS" >&6; }
2322 if (test "$with_sdl" != yes) && \
2323 (test "$with_svga" != yes) && \
2324 (test "$with_x11" != yes) && \
2325 (test "$with_beos" != yes) && \
2326 (test "$with_win32" != yes) && \
2327 (test "$with_nogui" != yes) && \
2328 (test "$with_term" != yes) && \
2329 (test "$with_rfb" != yes) && \
2330 (test "$with_amigaos" != yes) && \
2331 (test "$with_carbon" != yes) && \
2332 (test "$with_wx" != yes) && \
2333 (test "$with_macos" != yes); then
2334 # use DEFAULT_GUI. Set the appropriate variable.
2335 # DEFAULT_GUI must be set to one of the names above. Otherwise, no
2336 # valid $with_* variable will be set and who knows what will happen?
2337 eval "with_${DEFAULT_GUI}=yes"
2341 ac_cpp
='$CPP $CPPFLAGS'
2342 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2343 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2344 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2345 if test -n "$ac_tool_prefix"; then
2346 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2347 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2350 if test "${ac_cv_prog_CC+set}" = set; then
2351 echo $ECHO_N "(cached) $ECHO_C" >&6
2353 if test -n "$CC"; then
2354 ac_cv_prog_CC
="$CC" # Let the user override the test.
2356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2360 test -z "$as_dir" && as_dir
=.
2361 for ac_exec_ext
in '' $ac_executable_extensions; do
2362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2363 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2374 if test -n "$CC"; then
2375 { echo "$as_me:$LINENO: result: $CC" >&5
2376 echo "${ECHO_T}$CC" >&6; }
2378 { echo "$as_me:$LINENO: result: no" >&5
2379 echo "${ECHO_T}no" >&6; }
2384 if test -z "$ac_cv_prog_CC"; then
2386 # Extract the first word of "gcc", so it can be a program name with args.
2387 set dummy gcc
; ac_word
=$2
2388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2390 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2391 echo $ECHO_N "(cached) $ECHO_C" >&6
2393 if test -n "$ac_ct_CC"; then
2394 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2400 test -z "$as_dir" && as_dir
=.
2401 for ac_exec_ext
in '' $ac_executable_extensions; do
2402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2403 ac_cv_prog_ac_ct_CC
="gcc"
2404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2413 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2414 if test -n "$ac_ct_CC"; then
2415 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2416 echo "${ECHO_T}$ac_ct_CC" >&6; }
2418 { echo "$as_me:$LINENO: result: no" >&5
2419 echo "${ECHO_T}no" >&6; }
2422 if test "x$ac_ct_CC" = x
; then
2425 case $cross_compiling:$ac_tool_warned in
2427 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2428 whose name does not start with the host triplet. If you think this
2429 configuration is useful to you, please write to autoconf@gnu.org." >&5
2430 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2431 whose name does not start with the host triplet. If you think this
2432 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2433 ac_tool_warned
=yes ;;
2441 if test -z "$CC"; then
2442 if test -n "$ac_tool_prefix"; then
2443 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2444 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2445 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2447 if test "${ac_cv_prog_CC+set}" = set; then
2448 echo $ECHO_N "(cached) $ECHO_C" >&6
2450 if test -n "$CC"; then
2451 ac_cv_prog_CC
="$CC" # Let the user override the test.
2453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2457 test -z "$as_dir" && as_dir
=.
2458 for ac_exec_ext
in '' $ac_executable_extensions; do
2459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2460 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2471 if test -n "$CC"; then
2472 { echo "$as_me:$LINENO: result: $CC" >&5
2473 echo "${ECHO_T}$CC" >&6; }
2475 { echo "$as_me:$LINENO: result: no" >&5
2476 echo "${ECHO_T}no" >&6; }
2482 if test -z "$CC"; then
2483 # Extract the first word of "cc", so it can be a program name with args.
2484 set dummy cc
; ac_word
=$2
2485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2487 if test "${ac_cv_prog_CC+set}" = set; then
2488 echo $ECHO_N "(cached) $ECHO_C" >&6
2490 if test -n "$CC"; then
2491 ac_cv_prog_CC
="$CC" # Let the user override the test.
2494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2498 test -z "$as_dir" && as_dir
=.
2499 for ac_exec_ext
in '' $ac_executable_extensions; do
2500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2501 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2502 ac_prog_rejected
=yes
2506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2513 if test $ac_prog_rejected = yes; then
2514 # We found a bogon in the path, so make sure we never use it.
2515 set dummy
$ac_cv_prog_CC
2517 if test $# != 0; then
2518 # We chose a different compiler from the bogus one.
2519 # However, it has the same basename, so the bogon will be chosen
2520 # first if we set CC to just the basename; use the full file name.
2522 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2528 if test -n "$CC"; then
2529 { echo "$as_me:$LINENO: result: $CC" >&5
2530 echo "${ECHO_T}$CC" >&6; }
2532 { echo "$as_me:$LINENO: result: no" >&5
2533 echo "${ECHO_T}no" >&6; }
2538 if test -z "$CC"; then
2539 if test -n "$ac_tool_prefix"; then
2540 for ac_prog
in cl.exe
2542 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2543 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2546 if test "${ac_cv_prog_CC+set}" = set; then
2547 echo $ECHO_N "(cached) $ECHO_C" >&6
2549 if test -n "$CC"; then
2550 ac_cv_prog_CC
="$CC" # Let the user override the test.
2552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2556 test -z "$as_dir" && as_dir
=.
2557 for ac_exec_ext
in '' $ac_executable_extensions; do
2558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2559 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2570 if test -n "$CC"; then
2571 { echo "$as_me:$LINENO: result: $CC" >&5
2572 echo "${ECHO_T}$CC" >&6; }
2574 { echo "$as_me:$LINENO: result: no" >&5
2575 echo "${ECHO_T}no" >&6; }
2579 test -n "$CC" && break
2582 if test -z "$CC"; then
2584 for ac_prog
in cl.exe
2586 # Extract the first word of "$ac_prog", so it can be a program name with args.
2587 set dummy
$ac_prog; ac_word
=$2
2588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2590 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2591 echo $ECHO_N "(cached) $ECHO_C" >&6
2593 if test -n "$ac_ct_CC"; then
2594 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2600 test -z "$as_dir" && as_dir
=.
2601 for ac_exec_ext
in '' $ac_executable_extensions; do
2602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2603 ac_cv_prog_ac_ct_CC
="$ac_prog"
2604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2613 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2614 if test -n "$ac_ct_CC"; then
2615 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2616 echo "${ECHO_T}$ac_ct_CC" >&6; }
2618 { echo "$as_me:$LINENO: result: no" >&5
2619 echo "${ECHO_T}no" >&6; }
2623 test -n "$ac_ct_CC" && break
2626 if test "x$ac_ct_CC" = x
; then
2629 case $cross_compiling:$ac_tool_warned in
2631 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2632 whose name does not start with the host triplet. If you think this
2633 configuration is useful to you, please write to autoconf@gnu.org." >&5
2634 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2635 whose name does not start with the host triplet. If you think this
2636 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2637 ac_tool_warned
=yes ;;
2646 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2647 See \`config.log' for more details." >&5
2648 echo "$as_me: error: no acceptable C compiler found in \$PATH
2649 See \`config.log' for more details." >&2;}
2650 { (exit 1); exit 1; }; }
2652 # Provide some information about the compiler.
2653 echo "$as_me:$LINENO: checking for C compiler version" >&5
2654 ac_compiler
=`set X $ac_compile; echo $2`
2655 { (ac_try
="$ac_compiler --version >&5"
2657 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2658 *) ac_try_echo=$ac_try;;
2660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2661 (eval "$ac_compiler --version >&5") 2>&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); }
2665 { (ac_try="$ac_compiler -v >&5"
2667 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2668 *) ac_try_echo
=$ac_try;;
2670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2671 (eval "$ac_compiler -v >&5") 2>&5
2673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674 (exit $ac_status); }
2675 { (ac_try
="$ac_compiler -V >&5"
2677 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2678 *) ac_try_echo=$ac_try;;
2680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2681 (eval "$ac_compiler -V >&5") 2>&5
2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); }
2686 cat >conftest.$ac_ext <<_ACEOF
2689 cat confdefs.h >>conftest.$ac_ext
2690 cat >>conftest.$ac_ext <<_ACEOF
2691 /* end confdefs.h. */
2701 ac_clean_files_save=$ac_clean_files
2702 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2703 # Try to create an executable without -o first, disregard a.out.
2704 # It will help us diagnose broken compilers, and finding out an intuition
2706 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2707 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2708 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2710 # List of possible output files, starting from the most likely.
2711 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2712 # only as a last resort. b.out is created by i960 compilers.
2713 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2715 # The IRIX 6 linker writes into existing files which may not be
2716 # executable, retaining their permissions. Remove them first so a
2717 # subsequent execution test works.
2719 for ac_file in $ac_files
2722 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2723 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2728 if { (ac_try="$ac_link_default"
2730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2731 *) ac_try_echo=$ac_try;;
2733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2734 (eval "$ac_link_default") 2>&5
2736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737 (exit $ac_status); }; then
2738 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2739 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2740 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2741 # so that the user can short-circuit this test for compilers unknown to
2743 for ac_file
in $ac_files ''
2745 test -f "$ac_file" ||
continue
2747 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2750 # We found the default executable, but exeext='' is most
2754 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2756 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2758 # We set ac_cv_exeext here because the later test for it is not
2759 # safe: cross compilers may not add the suffix if given an `-o'
2760 # argument, so we may need to know it at that point already.
2761 # Even if this section looks crufty: it has the advantage of
2768 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2774 { echo "$as_me:$LINENO: result: $ac_file" >&5
2775 echo "${ECHO_T}$ac_file" >&6; }
2776 if test -z "$ac_file"; then
2777 echo "$as_me: failed program was:" >&5
2778 sed 's/^/| /' conftest.
$ac_ext >&5
2780 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2781 See \`config.log' for more details." >&5
2782 echo "$as_me: error: C compiler cannot create executables
2783 See \`config.log' for more details." >&2;}
2784 { (exit 77); exit 77; }; }
2787 ac_exeext
=$ac_cv_exeext
2789 # Check that the compiler produces executables we can run. If not, either
2790 # the compiler is broken, or we cross compile.
2791 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2792 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2793 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2794 # If not cross compiling, check that we can run a simple program.
2795 if test "$cross_compiling" != yes; then
2796 if { ac_try
='./$ac_file'
2797 { (case "(($ac_try" in
2798 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2799 *) ac_try_echo=$ac_try;;
2801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2802 (eval "$ac_try") 2>&5
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); }; }; then
2808 if test "$cross_compiling" = maybe; then
2811 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2812 If you meant to cross compile, use \`--host'.
2813 See \`config.log' for more details.
" >&5
2814 echo "$as_me: error
: cannot run C compiled programs.
2815 If you meant to cross compile
, use \
`--host'.
2816 See \`config.log
' for more details." >&2;}
2817 { (exit 1); exit 1; }; }
2821 { echo "$as_me:$LINENO: result: yes" >&5
2822 echo "${ECHO_T}yes" >&6; }
2824 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2825 ac_clean_files=$ac_clean_files_save
2826 # Check that the compiler produces executables we can run. If not, either
2827 # the compiler is broken, or we cross compile.
2828 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2829 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2830 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2831 echo "${ECHO_T}$cross_compiling" >&6; }
2833 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2834 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2835 if { (ac_try="$ac_link"
2837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2838 *) ac_try_echo=$ac_try;;
2840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2841 (eval "$ac_link") 2>&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); }; then
2845 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2846 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2847 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2849 for ac_file
in conftest.exe conftest conftest.
*; do
2850 test -f "$ac_file" ||
continue
2852 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2853 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2859 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2860 See \`config.log' for more details." >&5
2861 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2862 See \`config.log' for more details." >&2;}
2863 { (exit 1); exit 1; }; }
2866 rm -f conftest
$ac_cv_exeext
2867 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2868 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2870 rm -f conftest.
$ac_ext
2871 EXEEXT
=$ac_cv_exeext
2873 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2874 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2875 if test "${ac_cv_objext+set}" = set; then
2876 echo $ECHO_N "(cached) $ECHO_C" >&6
2878 cat >conftest.
$ac_ext <<_ACEOF
2881 cat confdefs.h
>>conftest.
$ac_ext
2882 cat >>conftest.
$ac_ext <<_ACEOF
2883 /* end confdefs.h. */
2893 rm -f conftest.o conftest.obj
2894 if { (ac_try
="$ac_compile"
2896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2897 *) ac_try_echo=$ac_try;;
2899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2900 (eval "$ac_compile") 2>&5
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); }; then
2904 for ac_file in conftest.o conftest.obj conftest.*; do
2905 test -f "$ac_file" || continue;
2907 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2908 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2913 echo "$as_me: failed program was:" >&5
2914 sed 's/^/| /' conftest.$ac_ext >&5
2916 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2917 See \`config.log
' for more details." >&5
2918 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2919 See \`config.log' for more details.
" >&2;}
2920 { (exit 1); exit 1; }; }
2923 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2925 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2926 echo "${ECHO_T}$ac_cv_objext" >&6; }
2927 OBJEXT=$ac_cv_objext
2929 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2930 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2931 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2932 echo $ECHO_N "(cached
) $ECHO_C" >&6
2934 cat >conftest.$ac_ext <<_ACEOF
2937 cat confdefs.h >>conftest.$ac_ext
2938 cat >>conftest.$ac_ext <<_ACEOF
2939 /* end confdefs.h. */
2952 rm -f conftest.$ac_objext
2953 if { (ac_try="$ac_compile"
2955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956 *) ac_try_echo=$ac_try;;
2958 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2959 (eval "$ac_compile") 2>conftest.er1
2961 grep -v '^ *+' conftest.er1 >conftest.err
2963 cat conftest.err >&5
2964 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2965 (exit $ac_status); } && {
2966 test -z "$ac_c_werror_flag" ||
2967 test ! -s conftest.err
2968 } && test -s conftest.$ac_objext; then
2971 echo "$as_me: failed program was
:" >&5
2972 sed 's/^/| /' conftest.$ac_ext >&5
2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2978 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2981 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2982 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2983 GCC=`test $ac_compiler_gnu = yes && echo yes`
2984 ac_test_CFLAGS=${CFLAGS+set}
2985 ac_save_CFLAGS=$CFLAGS
2986 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2987 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2988 if test "${ac_cv_prog_cc_g+set}" = set; then
2989 echo $ECHO_N "(cached
) $ECHO_C" >&6
2991 ac_save_c_werror_flag=$ac_c_werror_flag
2992 ac_c_werror_flag=yes
2995 cat >conftest.$ac_ext <<_ACEOF
2998 cat confdefs.h >>conftest.$ac_ext
2999 cat >>conftest.$ac_ext <<_ACEOF
3000 /* end confdefs.h. */
3010 rm -f conftest.$ac_objext
3011 if { (ac_try="$ac_compile"
3013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3014 *) ac_try_echo=$ac_try;;
3016 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3017 (eval "$ac_compile") 2>conftest.er1
3019 grep -v '^ *+' conftest.er1 >conftest.err
3021 cat conftest.err >&5
3022 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3023 (exit $ac_status); } && {
3024 test -z "$ac_c_werror_flag" ||
3025 test ! -s conftest.err
3026 } && test -s conftest.$ac_objext; then
3029 echo "$as_me: failed program was
:" >&5
3030 sed 's/^/| /' conftest.$ac_ext >&5
3033 cat >conftest.$ac_ext <<_ACEOF
3036 cat confdefs.h >>conftest.$ac_ext
3037 cat >>conftest.$ac_ext <<_ACEOF
3038 /* end confdefs.h. */
3048 rm -f conftest.$ac_objext
3049 if { (ac_try="$ac_compile"
3051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3052 *) ac_try_echo=$ac_try;;
3054 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3055 (eval "$ac_compile") 2>conftest.er1
3057 grep -v '^ *+' conftest.er1 >conftest.err
3059 cat conftest.err >&5
3060 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3061 (exit $ac_status); } && {
3062 test -z "$ac_c_werror_flag" ||
3063 test ! -s conftest.err
3064 } && test -s conftest.$ac_objext; then
3067 echo "$as_me: failed program was
:" >&5
3068 sed 's/^/| /' conftest.$ac_ext >&5
3070 ac_c_werror_flag=$ac_save_c_werror_flag
3072 cat >conftest.$ac_ext <<_ACEOF
3075 cat confdefs.h >>conftest.$ac_ext
3076 cat >>conftest.$ac_ext <<_ACEOF
3077 /* end confdefs.h. */
3087 rm -f conftest.$ac_objext
3088 if { (ac_try="$ac_compile"
3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3093 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3094 (eval "$ac_compile") 2>conftest.er1
3096 grep -v '^ *+' conftest.er1 >conftest.err
3098 cat conftest.err >&5
3099 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3100 (exit $ac_status); } && {
3101 test -z "$ac_c_werror_flag" ||
3102 test ! -s conftest.err
3103 } && test -s conftest.$ac_objext; then
3106 echo "$as_me: failed program was
:" >&5
3107 sed 's/^/| /' conftest.$ac_ext >&5
3112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3119 ac_c_werror_flag=$ac_save_c_werror_flag
3121 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3122 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3123 if test "$ac_test_CFLAGS" = set; then
3124 CFLAGS=$ac_save_CFLAGS
3125 elif test $ac_cv_prog_cc_g = yes; then
3126 if test "$GCC" = yes; then
3132 if test "$GCC" = yes; then
3138 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3139 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3140 if test "${ac_cv_prog_cc_c89+set}" = set; then
3141 echo $ECHO_N "(cached
) $ECHO_C" >&6
3143 ac_cv_prog_cc_c89=no
3145 cat >conftest.$ac_ext <<_ACEOF
3148 cat confdefs.h >>conftest.$ac_ext
3149 cat >>conftest.$ac_ext <<_ACEOF
3150 /* end confdefs.h. */
3153 #include <sys/types.h>
3154 #include <sys/stat.h>
3155 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3156 struct buf { int x; };
3157 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3158 static char *e (p, i)
3164 static char *f (char * (*g) (char **, int), char **p, ...)
3169 s = g (p, va_arg (v,int));
3174 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3175 function prototypes and stuff, but not '\xHH' hex character constants.
3176 These don't provoke an error unfortunately, instead are silently treated
3177 as 'x'. The following induces an error, until -std is added to get
3178 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3179 array size at least. It's necessary to write '\x00'==0 to get something
3180 that's true only with -std. */
3181 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3183 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3184 inside strings and character constants. */
3186 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3188 int test (int i, double x);
3189 struct s1 {int (*f) (int a);};
3190 struct s2 {int (*f) (double a);};
3191 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3197 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3202 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3203 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3205 CC="$ac_save_CC $ac_arg"
3206 rm -f conftest.$ac_objext
3207 if { (ac_try="$ac_compile"
3209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3210 *) ac_try_echo=$ac_try;;
3212 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3213 (eval "$ac_compile") 2>conftest.er1
3215 grep -v '^ *+' conftest.er1 >conftest.err
3217 cat conftest.err >&5
3218 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3219 (exit $ac_status); } && {
3220 test -z "$ac_c_werror_flag" ||
3221 test ! -s conftest.err
3222 } && test -s conftest.$ac_objext; then
3223 ac_cv_prog_cc_c89=$ac_arg
3225 echo "$as_me: failed program was
:" >&5
3226 sed 's/^/| /' conftest.$ac_ext >&5
3231 rm -f core conftest.err conftest.$ac_objext
3232 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3234 rm -f conftest.$ac_ext
3239 case "x
$ac_cv_prog_cc_c89" in
3241 { echo "$as_me:$LINENO: result
: none needed
" >&5
3242 echo "${ECHO_T}none needed
" >&6; } ;;
3244 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3245 echo "${ECHO_T}unsupported
" >&6; } ;;
3247 CC="$CC $ac_cv_prog_cc_c89"
3248 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3249 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3254 ac_cpp='$CPP $CPPFLAGS'
3255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3260 ac_cpp='$CXXCPP $CPPFLAGS'
3261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3264 if test -z "$CXX"; then
3265 if test -n "$CCC"; then
3268 if test -n "$ac_tool_prefix"; then
3269 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3271 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3272 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3273 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3274 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3275 if test "${ac_cv_prog_CXX+set}" = set; then
3276 echo $ECHO_N "(cached
) $ECHO_C" >&6
3278 if test -n "$CXX"; then
3279 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3285 test -z "$as_dir" && as_dir=.
3286 for ac_exec_ext in '' $ac_executable_extensions; do
3287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3288 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3289 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3299 if test -n "$CXX"; then
3300 { echo "$as_me:$LINENO: result
: $CXX" >&5
3301 echo "${ECHO_T}$CXX" >&6; }
3303 { echo "$as_me:$LINENO: result
: no
" >&5
3304 echo "${ECHO_T}no
" >&6; }
3308 test -n "$CXX" && break
3311 if test -z "$CXX"; then
3313 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3315 # Extract the first word of "$ac_prog", so it can be a program name with args.
3316 set dummy $ac_prog; ac_word=$2
3317 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3318 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3319 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3320 echo $ECHO_N "(cached
) $ECHO_C" >&6
3322 if test -n "$ac_ct_CXX"; then
3323 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3329 test -z "$as_dir" && as_dir=.
3330 for ac_exec_ext in '' $ac_executable_extensions; do
3331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3332 ac_cv_prog_ac_ct_CXX="$ac_prog"
3333 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3342 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3343 if test -n "$ac_ct_CXX"; then
3344 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3345 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3347 { echo "$as_me:$LINENO: result
: no
" >&5
3348 echo "${ECHO_T}no
" >&6; }
3352 test -n "$ac_ct_CXX" && break
3355 if test "x
$ac_ct_CXX" = x; then
3358 case $cross_compiling:$ac_tool_warned in
3360 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3361 whose name does not start with the
host triplet. If you think this
3362 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3363 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3364 whose name does not start with the
host triplet. If you think this
3365 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3366 ac_tool_warned=yes ;;
3374 # Provide some information about the compiler.
3375 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3376 ac_compiler=`set X $ac_compile; echo $2`
3377 { (ac_try="$ac_compiler --version >&5"
3379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3380 *) ac_try_echo=$ac_try;;
3382 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3383 (eval "$ac_compiler --version >&5") 2>&5
3385 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3386 (exit $ac_status); }
3387 { (ac_try="$ac_compiler -v >&5"
3389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3390 *) ac_try_echo=$ac_try;;
3392 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3393 (eval "$ac_compiler -v >&5") 2>&5
3395 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3396 (exit $ac_status); }
3397 { (ac_try="$ac_compiler -V >&5"
3399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3400 *) ac_try_echo=$ac_try;;
3402 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3403 (eval "$ac_compiler -V >&5") 2>&5
3405 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3406 (exit $ac_status); }
3408 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3409 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3410 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3411 echo $ECHO_N "(cached
) $ECHO_C" >&6
3413 cat >conftest.$ac_ext <<_ACEOF
3416 cat confdefs.h >>conftest.$ac_ext
3417 cat >>conftest.$ac_ext <<_ACEOF
3418 /* end confdefs.h. */
3431 rm -f conftest.$ac_objext
3432 if { (ac_try="$ac_compile"
3434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3435 *) ac_try_echo=$ac_try;;
3437 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3438 (eval "$ac_compile") 2>conftest.er1
3440 grep -v '^ *+' conftest.er1 >conftest.err
3442 cat conftest.err >&5
3443 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3444 (exit $ac_status); } && {
3445 test -z "$ac_cxx_werror_flag" ||
3446 test ! -s conftest.err
3447 } && test -s conftest.$ac_objext; then
3450 echo "$as_me: failed program was
:" >&5
3451 sed 's/^/| /' conftest.$ac_ext >&5
3456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3457 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3460 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3461 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3462 GXX=`test $ac_compiler_gnu = yes && echo yes`
3463 ac_test_CXXFLAGS=${CXXFLAGS+set}
3464 ac_save_CXXFLAGS=$CXXFLAGS
3465 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3466 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3467 if test "${ac_cv_prog_cxx_g+set}" = set; then
3468 echo $ECHO_N "(cached
) $ECHO_C" >&6
3470 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3471 ac_cxx_werror_flag=yes
3474 cat >conftest.$ac_ext <<_ACEOF
3477 cat confdefs.h >>conftest.$ac_ext
3478 cat >>conftest.$ac_ext <<_ACEOF
3479 /* end confdefs.h. */
3489 rm -f conftest.$ac_objext
3490 if { (ac_try="$ac_compile"
3492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3493 *) ac_try_echo=$ac_try;;
3495 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3496 (eval "$ac_compile") 2>conftest.er1
3498 grep -v '^ *+' conftest.er1 >conftest.err
3500 cat conftest.err >&5
3501 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3502 (exit $ac_status); } && {
3503 test -z "$ac_cxx_werror_flag" ||
3504 test ! -s conftest.err
3505 } && test -s conftest.$ac_objext; then
3506 ac_cv_prog_cxx_g=yes
3508 echo "$as_me: failed program was
:" >&5
3509 sed 's/^/| /' conftest.$ac_ext >&5
3512 cat >conftest.$ac_ext <<_ACEOF
3515 cat confdefs.h >>conftest.$ac_ext
3516 cat >>conftest.$ac_ext <<_ACEOF
3517 /* end confdefs.h. */
3527 rm -f conftest.$ac_objext
3528 if { (ac_try="$ac_compile"
3530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3531 *) ac_try_echo=$ac_try;;
3533 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3534 (eval "$ac_compile") 2>conftest.er1
3536 grep -v '^ *+' conftest.er1 >conftest.err
3538 cat conftest.err >&5
3539 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3540 (exit $ac_status); } && {
3541 test -z "$ac_cxx_werror_flag" ||
3542 test ! -s conftest.err
3543 } && test -s conftest.$ac_objext; then
3546 echo "$as_me: failed program was
:" >&5
3547 sed 's/^/| /' conftest.$ac_ext >&5
3549 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3551 cat >conftest.$ac_ext <<_ACEOF
3554 cat confdefs.h >>conftest.$ac_ext
3555 cat >>conftest.$ac_ext <<_ACEOF
3556 /* end confdefs.h. */
3566 rm -f conftest.$ac_objext
3567 if { (ac_try="$ac_compile"
3569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3570 *) ac_try_echo=$ac_try;;
3572 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3573 (eval "$ac_compile") 2>conftest.er1
3575 grep -v '^ *+' conftest.er1 >conftest.err
3577 cat conftest.err >&5
3578 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3579 (exit $ac_status); } && {
3580 test -z "$ac_cxx_werror_flag" ||
3581 test ! -s conftest.err
3582 } && test -s conftest.$ac_objext; then
3583 ac_cv_prog_cxx_g=yes
3585 echo "$as_me: failed program was
:" >&5
3586 sed 's/^/| /' conftest.$ac_ext >&5
3591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3598 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3600 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3601 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3602 if test "$ac_test_CXXFLAGS" = set; then
3603 CXXFLAGS=$ac_save_CXXFLAGS
3604 elif test $ac_cv_prog_cxx_g = yes; then
3605 if test "$GXX" = yes; then
3611 if test "$GXX" = yes; then
3618 ac_cpp='$CPP $CPPFLAGS'
3619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3623 { echo "$as_me:$LINENO: checking whether
${MAKE-make} sets \$
(MAKE
)" >&5
3624 echo $ECHO_N "checking whether
${MAKE-make} sets \$
(MAKE
)...
$ECHO_C" >&6; }
3625 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3626 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3627 echo $ECHO_N "(cached
) $ECHO_C" >&6
3629 cat >conftest.make <<\_ACEOF
3632 @echo '@@@%%%=$(MAKE)=@@@%%%'
3634 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
3635 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3637 eval ac_cv_prog_make_${ac_make}_set=yes;;
3639 eval ac_cv_prog_make_${ac_make}_set=no;;
3643 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3644 { echo "$as_me:$LINENO: result
: yes" >&5
3645 echo "${ECHO_T}yes" >&6; }
3648 { echo "$as_me:$LINENO: result
: no
" >&5
3649 echo "${ECHO_T}no
" >&6; }
3650 SET_MAKE="MAKE
=${MAKE-make}"
3654 # Check whether --enable-static was given.
3655 if test "${enable_static+set}" = set; then
3656 enableval=$enable_static; p=${PACKAGE-default}
3658 yes) enable_static=yes ;;
3659 no) enable_static=no ;;
3662 # Look at the argument we got. We use all the common list separators.
3663 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3664 for pkg in $enableval; do
3666 if test "X
$pkg" = "X
$p"; then
3681 # Check whether --enable-shared was given.
3682 if test "${enable_shared+set}" = set; then
3683 enableval=$enable_shared; p=${PACKAGE-default}
3685 yes) enable_shared=yes ;;
3686 no) enable_shared=no ;;
3689 # Look at the argument we got. We use all the common list separators.
3690 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3691 for pkg in $enableval; do
3693 if test "X
$pkg" = "X
$p"; then
3705 # Check whether --enable-fast-install was given.
3706 if test "${enable_fast_install+set}" = set; then
3707 enableval=$enable_fast_install; p=${PACKAGE-default}
3709 yes) enable_fast_install=yes ;;
3710 no) enable_fast_install=no ;;
3712 enable_fast_install=no
3713 # Look at the argument we got. We use all the common list separators.
3714 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3715 for pkg in $enableval; do
3717 if test "X
$pkg" = "X
$p"; then
3718 enable_fast_install=yes
3725 enable_fast_install=yes
3729 { echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
3730 echo $ECHO_N "checking
for a
sed that does not truncate output...
$ECHO_C" >&6; }
3731 if test "${lt_cv_path_SED+set}" = set; then
3732 echo $ECHO_N "(cached
) $ECHO_C" >&6
3734 # Loop through the user's path and test for sed and gsed.
3735 # Then use that list of sed's as ones to test for truncation.
3736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3740 test -z "$as_dir" && as_dir=.
3741 for lt_ac_prog in sed gsed; do
3742 for ac_exec_ext in '' $ac_executable_extensions; do
3743 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3744 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3751 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3752 # along with /bin/sed that truncates output.
3753 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3754 test ! -f $lt_ac_sed && break
3755 cat /dev/null > conftest.in
3757 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3758 # Check for GNU sed and select it if it is found.
3759 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3760 lt_cv_path_SED=$lt_ac_sed
3764 cat conftest.in conftest.in >conftest.tmp
3765 mv conftest.tmp conftest.in
3766 cp conftest.in conftest.nl
3768 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3769 cmp -s conftest.out conftest.nl || break
3770 # 10000 chars as input seems more than enough
3771 test $lt_ac_count -gt 10 && break
3772 lt_ac_count=`expr $lt_ac_count + 1`
3773 if test $lt_ac_count -gt $lt_ac_max; then
3774 lt_ac_max=$lt_ac_count
3775 lt_cv_path_SED=$lt_ac_sed
3783 { echo "$as_me:$LINENO: result
: $SED" >&5
3784 echo "${ECHO_T}$SED" >&6; }
3786 { echo "$as_me:$LINENO: checking
for grep that handles long lines and
-e" >&5
3787 echo $ECHO_N "checking
for grep that handles long lines and
-e...
$ECHO_C" >&6; }
3788 if test "${ac_cv_path_GREP+set}" = set; then
3789 echo $ECHO_N "(cached
) $ECHO_C" >&6
3791 # Extract the first word of "grep ggrep
" to use in msg output
3792 if test -z "$GREP"; then
3793 set dummy grep ggrep; ac_prog_name=$2
3794 if test "${ac_cv_path_GREP+set}" = set; then
3795 echo $ECHO_N "(cached
) $ECHO_C" >&6
3797 ac_path_GREP_found=false
3798 # Loop through the user's path and test for each of PROGNAME-LIST
3799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3800 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3803 test -z "$as_dir" && as_dir=.
3804 for ac_prog in grep ggrep; do
3805 for ac_exec_ext in '' $ac_executable_extensions; do
3806 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3807 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3808 # Check for GNU ac_path_GREP and select it if it is found.
3809 # Check for GNU $ac_path_GREP
3810 case `"$ac_path_GREP" --version 2>&1` in
3812 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3815 echo $ECHO_N "0123456789$ECHO_C" >"conftest.
in"
3818 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3819 mv "conftest.tmp
" "conftest.
in"
3820 cp "conftest.
in" "conftest.
nl"
3821 echo 'GREP' >> "conftest.
nl"
3822 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3823 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3824 ac_count=`expr $ac_count + 1`
3825 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3826 # Best one so far, save it but keep looking for a better one
3827 ac_cv_path_GREP="$ac_path_GREP"
3828 ac_path_GREP_max=$ac_count
3830 # 10*(2^10) chars as input seems more than enough
3831 test $ac_count -gt 10 && break
3833 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3837 $ac_path_GREP_found && break 3
3847 GREP="$ac_cv_path_GREP"
3848 if test -z "$GREP"; then
3849 { { echo "$as_me:$LINENO: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&5
3850 echo "$as_me: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&2;}
3851 { (exit 1); exit 1; }; }
3855 ac_cv_path_GREP=$GREP
3860 { echo "$as_me:$LINENO: result
: $ac_cv_path_GREP" >&5
3861 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3862 GREP="$ac_cv_path_GREP"
3865 { echo "$as_me:$LINENO: checking
for egrep" >&5
3866 echo $ECHO_N "checking
for egrep...
$ECHO_C" >&6; }
3867 if test "${ac_cv_path_EGREP+set}" = set; then
3868 echo $ECHO_N "(cached
) $ECHO_C" >&6
3870 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3871 then ac_cv_path_EGREP="$GREP -E"
3873 # Extract the first word of "egrep" to use in msg output
3874 if test -z "$EGREP"; then
3875 set dummy egrep; ac_prog_name=$2
3876 if test "${ac_cv_path_EGREP+set}" = set; then
3877 echo $ECHO_N "(cached
) $ECHO_C" >&6
3879 ac_path_EGREP_found=false
3880 # Loop through the user's path and test for each of PROGNAME-LIST
3881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3882 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3885 test -z "$as_dir" && as_dir=.
3886 for ac_prog in egrep; do
3887 for ac_exec_ext in '' $ac_executable_extensions; do
3888 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3889 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3890 # Check for GNU ac_path_EGREP and select it if it is found.
3891 # Check for GNU $ac_path_EGREP
3892 case `"$ac_path_EGREP" --version 2>&1` in
3894 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3897 echo $ECHO_N "0123456789$ECHO_C" >"conftest.
in"
3900 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3901 mv "conftest.tmp
" "conftest.
in"
3902 cp "conftest.
in" "conftest.
nl"
3903 echo 'EGREP' >> "conftest.
nl"
3904 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3905 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3906 ac_count=`expr $ac_count + 1`
3907 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3908 # Best one so far, save it but keep looking for a better one
3909 ac_cv_path_EGREP="$ac_path_EGREP"
3910 ac_path_EGREP_max=$ac_count
3912 # 10*(2^10) chars as input seems more than enough
3913 test $ac_count -gt 10 && break
3915 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3919 $ac_path_EGREP_found && break 3
3929 EGREP="$ac_cv_path_EGREP"
3930 if test -z "$EGREP"; then
3931 { { echo "$as_me:$LINENO: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&5
3932 echo "$as_me: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&2;}
3933 { (exit 1); exit 1; }; }
3937 ac_cv_path_EGREP=$EGREP
3943 { echo "$as_me:$LINENO: result
: $ac_cv_path_EGREP" >&5
3944 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3945 EGREP="$ac_cv_path_EGREP"
3949 # Check whether --with-gnu-ld was given.
3950 if test "${with_gnu_ld+set}" = set; then
3951 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3957 if test "$GCC" = yes; then
3958 # Check if gcc -print-prog-name=ld gives a path.
3959 { echo "$as_me:$LINENO: checking
for ld used by
$CC" >&5
3960 echo $ECHO_N "checking
for ld used by
$CC...
$ECHO_C" >&6; }
3963 # gcc leaves a trailing carriage return which upsets mingw
3964 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3966 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3969 # Accept absolute paths.
3971 re_direlt='/[^/][^/]*/\.\./'
3972 # Canonicalize the pathname of ld
3973 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3974 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3975 ac_prog=`echo $ac_prog| $SED "s
%$re_direlt%/%"`
3977 test -z "$LD" && LD="$ac_prog"
3980 # If it fails, then pretend we aren't using GCC.
3984 # If it is relative, then search for the first ld in PATH.
3988 elif test "$with_gnu_ld" = yes; then
3989 { echo "$as_me:$LINENO: checking
for GNU ld
" >&5
3990 echo $ECHO_N "checking
for GNU ld...
$ECHO_C" >&6; }
3992 { echo "$as_me:$LINENO: checking
for non-GNU ld
" >&5
3993 echo $ECHO_N "checking
for non-GNU ld...
$ECHO_C" >&6; }
3995 if test "${lt_cv_path_LD+set}" = set; then
3996 echo $ECHO_N "(cached
) $ECHO_C" >&6
3998 if test -z "$LD"; then
3999 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4000 for ac_dir in $PATH; do
4002 test -z "$ac_dir" && ac_dir=.
4003 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4004 lt_cv_path_LD="$ac_dir/$ac_prog"
4005 # Check to see if the program is GNU ld. I'd rather use --version,
4006 # but apparently some GNU ld's only accept -v.
4007 # Break only if it was the GNU/non-GNU ld that we prefer.
4008 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4009 *GNU* | *'with BFD'*)
4010 test "$with_gnu_ld" != no && break
4013 test "$with_gnu_ld" != yes && break
4020 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4025 if test -n "$LD"; then
4026 { echo "$as_me:$LINENO: result
: $LD" >&5
4027 echo "${ECHO_T}$LD" >&6; }
4029 { echo "$as_me:$LINENO: result
: no
" >&5
4030 echo "${ECHO_T}no
" >&6; }
4032 test -z "$LD" && { { echo "$as_me:$LINENO: error
: no acceptable ld found
in \
$PATH" >&5
4033 echo "$as_me: error
: no acceptable ld found
in \
$PATH" >&2;}
4034 { (exit 1); exit 1; }; }
4035 { echo "$as_me:$LINENO: checking
if the linker
($LD) is GNU ld
" >&5
4036 echo $ECHO_N "checking
if the linker
($LD) is GNU ld...
$ECHO_C" >&6; }
4037 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4038 echo $ECHO_N "(cached
) $ECHO_C" >&6
4040 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4041 case `$LD -v 2>&1 </dev/null` in
4042 *GNU* | *'with BFD'*)
4043 lt_cv_prog_gnu_ld=yes
4046 lt_cv_prog_gnu_ld=no
4050 { echo "$as_me:$LINENO: result
: $lt_cv_prog_gnu_ld" >&5
4051 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4052 with_gnu_ld=$lt_cv_prog_gnu_ld
4055 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4056 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
4057 if test "${lt_cv_ld_reload_flag+set}" = set; then
4058 echo $ECHO_N "(cached
) $ECHO_C" >&6
4060 lt_cv_ld_reload_flag='-r'
4062 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4063 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4064 reload_flag=$lt_cv_ld_reload_flag
4065 case $reload_flag in
4067 *) reload_flag=" $reload_flag" ;;
4069 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4071 { echo "$as_me:$LINENO: checking
for BSD-compatible nm
" >&5
4072 echo $ECHO_N "checking
for BSD-compatible nm...
$ECHO_C" >&6; }
4073 if test "${lt_cv_path_NM+set}" = set; then
4074 echo $ECHO_N "(cached
) $ECHO_C" >&6
4076 if test -n "$NM"; then
4077 # Let the user override the test.
4080 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4081 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4083 test -z "$ac_dir" && ac_dir=.
4084 tmp_nm="$ac_dir/${ac_tool_prefix}nm
"
4085 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4086 # Check to see if the nm accepts a BSD-compat flag.
4087 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4088 # nm: unknown option "B
" ignored
4089 # Tru64's nm complains that /dev/null is an invalid object file
4090 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4091 */dev/null* | *'Invalid file or object type'*)
4092 lt_cv_path_NM="$tmp_nm -B"
4096 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4098 lt_cv_path_NM="$tmp_nm -p"
4102 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4103 continue # so that we can try to find one that supports BSD flags
4110 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4113 { echo "$as_me:$LINENO: result
: $lt_cv_path_NM" >&5
4114 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4117 { echo "$as_me:$LINENO: checking whether
ln -s works
" >&5
4118 echo $ECHO_N "checking whether
ln -s works...
$ECHO_C" >&6; }
4120 if test "$LN_S" = "ln -s"; then
4121 { echo "$as_me:$LINENO: result
: yes" >&5
4122 echo "${ECHO_T}yes" >&6; }
4124 { echo "$as_me:$LINENO: result
: no
, using
$LN_S" >&5
4125 echo "${ECHO_T}no
, using
$LN_S" >&6; }
4128 { echo "$as_me:$LINENO: checking how to recognise dependent libraries
" >&5
4129 echo $ECHO_N "checking how to recognise dependent libraries...
$ECHO_C" >&6; }
4130 if test "${lt_cv_deplibs_check_method+set}" = set; then
4131 echo $ECHO_N "(cached
) $ECHO_C" >&6
4133 lt_cv_file_magic_cmd='$MAGIC_CMD'
4134 lt_cv_file_magic_test_file=
4135 lt_cv_deplibs_check_method='unknown'
4136 # Need to set the preceding variable on all platforms that support
4137 # interlibrary dependencies.
4138 # 'none' -- dependencies not supported.
4139 # `unknown' -- same as none, but documents that we really don't know.
4140 # 'pass_all' -- all dependencies passed with no checks.
4141 # 'test_compile' -- check by making test program.
4142 # 'file_magic [[regex]]' -- check by looking for files in library path
4143 # which responds to the $file_magic_cmd with a given extended regex.
4144 # If you have `file' or equivalent on your system and you're not sure
4145 # whether `pass_all' will *always* work, you probably want this one.
4149 lt_cv_deplibs_check_method=pass_all
4153 lt_cv_deplibs_check_method=pass_all
4157 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4158 lt_cv_file_magic_cmd='/usr/bin/file -L'
4159 lt_cv_file_magic_test_file=/shlib/libc.so
4162 cygwin* | mingw* | pw32*)
4163 # win32_libid is a shell function defined in ltmain.sh
4164 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4165 lt_cv_file_magic_cmd='win32_libid'
4168 darwin* | rhapsody*)
4169 # this will be overwritten by pass_all, but leave it in just in case
4170 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4171 lt_cv_file_magic_cmd='/usr/bin/file -L'
4173 rhapsody* | darwin1.[012])
4174 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4177 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4180 lt_cv_deplibs_check_method=pass_all
4183 freebsd* | kfreebsd*-gnu)
4184 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4187 # Not sure whether the presence of OpenBSD here was a mistake.
4188 # Let's accept both of them until this is cleared up.
4189 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4190 lt_cv_file_magic_cmd=/usr/bin/file
4191 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4195 lt_cv_deplibs_check_method=pass_all
4200 lt_cv_deplibs_check_method=pass_all
4203 hpux10.20* | hpux11*)
4204 lt_cv_file_magic_cmd=/usr/bin/file
4207 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4208 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4211 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4212 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4215 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4216 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4221 irix5* | irix6* | nonstopux*)
4223 irix5* | nonstopux*)
4224 # this will be overridden with pass_all, but let us keep it just in case
4225 lt_cv_deplibs_check_method="file_magic ELF
32-bit MSB dynamic lib MIPS
- version
1"
4229 *-32|*"-32 ") libmagic=32-bit;;
4230 *-n32|*"-n32 ") libmagic=N32;;
4231 *-64|*"-64 ") libmagic=64-bit;;
4232 *) libmagic=never-match;;
4234 # this will be overridden with pass_all, but let us keep it just in case
4235 lt_cv_deplibs_check_method="file_magic ELF
${libmagic} MSB mips-
[1234] dynamic lib MIPS
- version
1"
4238 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4239 lt_cv_deplibs_check_method=pass_all
4242 # This must be Linux ELF.
4245 alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh*)
4246 lt_cv_deplibs_check_method=pass_all ;;
4248 # glibc up to 2.1.1 does not perform some relocations on ARM
4249 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4251 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4255 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4256 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4258 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4263 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4264 lt_cv_file_magic_cmd=/usr/bin/file
4265 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4269 lt_cv_deplibs_check_method=unknown
4273 lt_cv_file_magic_cmd=/usr/bin/file
4274 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4275 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4276 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4278 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4282 osf3* | osf4* | osf5*)
4283 # this will be overridden with pass_all, but let us keep it just in case
4284 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4285 lt_cv_file_magic_test_file=/shlib/libc.so
4286 lt_cv_deplibs_check_method=pass_all
4290 lt_cv_deplibs_check_method=pass_all
4294 lt_cv_deplibs_check_method=pass_all
4295 lt_cv_file_magic_test_file=/lib/libc.so
4298 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4299 case $host_vendor in
4301 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4302 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4305 lt_cv_deplibs_check_method=pass_all
4308 lt_cv_file_magic_cmd='/bin/file'
4309 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4312 lt_cv_file_magic_cmd='/bin/file'
4313 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4314 lt_cv_file_magic_test_file=/lib/libc.so
4317 lt_cv_deplibs_check_method=pass_all
4322 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4323 lt_cv_deplibs_check_method=pass_all
4328 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4329 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4330 file_magic_cmd=$lt_cv_file_magic_cmd
4331 deplibs_check_method=$lt_cv_deplibs_check_method
4332 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4337 # If no C compiler was specified, use CC.
4340 # Allow CC to be a program name with arguments.
4344 # Check whether --enable-libtool-lock was given.
4345 if test "${enable_libtool_lock+set}" = set; then
4346 enableval=$enable_libtool_lock;
4349 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
4351 # Some flags need to be propagated to the compiler or linker for good
4355 # Find out which ABI we are using.
4356 echo 'int i;' > conftest.$ac_ext
4357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4358 (eval $ac_compile) 2>&5
4360 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4361 (exit $ac_status); }; then
4362 case `/usr/bin/file conftest.$ac_objext` in
4374 # Find out which ABI we are using.
4375 echo '#line 4375 "configure
"' > conftest.$ac_ext
4376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4377 (eval $ac_compile) 2>&5
4379 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4380 (exit $ac_status); }; then
4381 if test "$lt_cv_prog_gnu_ld" = yes; then
4382 case `/usr/bin/file conftest.$ac_objext` in
4384 LD="${LD-ld} -melf32bsmip"
4387 LD="${LD-ld} -melf32bmipn32"
4390 LD="${LD-ld} -melf64bmip"
4394 case `/usr/bin/file conftest.$ac_objext` in
4410 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4411 # Find out which ABI we are using.
4412 echo 'int i;' > conftest.$ac_ext
4413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4414 (eval $ac_compile) 2>&5
4416 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4417 (exit $ac_status); }; then
4418 case "`/usr/bin/file conftest.o`" in
4422 LD="${LD-ld} -m elf_i386
"
4424 ppc64-*linux*|powerpc64-*linux*)
4425 LD="${LD-ld} -m elf32ppclinux
"
4428 LD="${LD-ld} -m elf_s390
"
4431 LD="${LD-ld} -m elf32_sparc
"
4438 LD="${LD-ld} -m elf_x86_64
"
4440 ppc*-*linux*|powerpc*-*linux*)
4441 LD="${LD-ld} -m elf64ppc
"
4444 LD="${LD-ld} -m elf64_s390
"
4447 LD="${LD-ld} -m elf64_sparc
"
4457 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4458 SAVE_CFLAGS="$CFLAGS"
4459 CFLAGS="$CFLAGS -belf"
4460 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
4461 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
4462 if test "${lt_cv_cc_needs_belf+set}" = set; then
4463 echo $ECHO_N "(cached
) $ECHO_C" >&6
4466 ac_cpp='$CPP $CPPFLAGS'
4467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4471 cat >conftest.$ac_ext <<_ACEOF
4474 cat confdefs.h >>conftest.$ac_ext
4475 cat >>conftest.$ac_ext <<_ACEOF
4476 /* end confdefs.h. */
4486 rm -f conftest.$ac_objext conftest$ac_exeext
4487 if { (ac_try="$ac_link"
4489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4490 *) ac_try_echo=$ac_try;;
4492 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4493 (eval "$ac_link") 2>conftest.er1
4495 grep -v '^ *+' conftest.er1 >conftest.err
4497 cat conftest.err >&5
4498 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4499 (exit $ac_status); } && {
4500 test -z "$ac_c_werror_flag" ||
4501 test ! -s conftest.err
4502 } && test -s conftest$ac_exeext &&
4503 $as_test_x conftest$ac_exeext; then
4504 lt_cv_cc_needs_belf=yes
4506 echo "$as_me: failed program was
:" >&5
4507 sed 's/^/| /' conftest.$ac_ext >&5
4509 lt_cv_cc_needs_belf=no
4512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4513 conftest$ac_exeext conftest.$ac_ext
4515 ac_cpp='$CPP $CPPFLAGS'
4516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4521 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
4522 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4523 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4524 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4525 CFLAGS="$SAVE_CFLAGS"
4531 need_locks="$enable_libtool_lock"
4535 ac_cpp='$CPP $CPPFLAGS'
4536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4539 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
4540 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
4541 # On Suns, sometimes $CPP names a directory.
4542 if test -n "$CPP" && test -d "$CPP"; then
4545 if test -z "$CPP"; then
4546 if test "${ac_cv_prog_CPP+set}" = set; then
4547 echo $ECHO_N "(cached
) $ECHO_C" >&6
4549 # Double quotes because CPP needs to be expanded
4550 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
4553 for ac_c_preproc_warn_flag in '' yes
4555 # Use a header file that comes with gcc, so configuring glibc
4556 # with a fresh cross-compiler works.
4557 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4558 # <limits.h> exists even on freestanding compilers.
4559 # On the NeXT, cc -E runs the code through the compiler's parser,
4560 # not just through cpp. "Syntax error
" is here to catch this case.
4561 cat >conftest.$ac_ext <<_ACEOF
4564 cat confdefs.h >>conftest.$ac_ext
4565 cat >>conftest.$ac_ext <<_ACEOF
4566 /* end confdefs.h. */
4568 # include <limits.h>
4570 # include <assert.h>
4574 if { (ac_try="$ac_cpp conftest.
$ac_ext"
4576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4577 *) ac_try_echo=$ac_try;;
4579 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4580 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
4582 grep -v '^ *+' conftest.er1 >conftest.err
4584 cat conftest.err >&5
4585 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4586 (exit $ac_status); } >/dev/null && {
4587 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4588 test ! -s conftest.err
4592 echo "$as_me: failed program was
:" >&5
4593 sed 's/^/| /' conftest.$ac_ext >&5
4595 # Broken: fails on valid input.
4599 rm -f conftest.err conftest.$ac_ext
4601 # OK, works on sane cases. Now check whether nonexistent headers
4602 # can be detected and how.
4603 cat >conftest.$ac_ext <<_ACEOF
4606 cat confdefs.h >>conftest.$ac_ext
4607 cat >>conftest.$ac_ext <<_ACEOF
4608 /* end confdefs.h. */
4609 #include <ac_nonexistent.h>
4611 if { (ac_try="$ac_cpp conftest.
$ac_ext"
4613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4614 *) ac_try_echo=$ac_try;;
4616 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4617 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
4619 grep -v '^ *+' conftest.er1 >conftest.err
4621 cat conftest.err >&5
4622 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4623 (exit $ac_status); } >/dev/null && {
4624 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4625 test ! -s conftest.err
4627 # Broken: success on invalid input.
4630 echo "$as_me: failed program was
:" >&5
4631 sed 's/^/| /' conftest.$ac_ext >&5
4633 # Passes both tests.
4638 rm -f conftest.err conftest.$ac_ext
4641 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4642 rm -f conftest.err conftest.$ac_ext
4643 if $ac_preproc_ok; then
4655 { echo "$as_me:$LINENO: result
: $CPP" >&5
4656 echo "${ECHO_T}$CPP" >&6; }
4658 for ac_c_preproc_warn_flag in '' yes
4660 # Use a header file that comes with gcc, so configuring glibc
4661 # with a fresh cross-compiler works.
4662 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4663 # <limits.h> exists even on freestanding compilers.
4664 # On the NeXT, cc -E runs the code through the compiler's parser,
4665 # not just through cpp. "Syntax error
" is here to catch this case.
4666 cat >conftest.$ac_ext <<_ACEOF
4669 cat confdefs.h >>conftest.$ac_ext
4670 cat >>conftest.$ac_ext <<_ACEOF
4671 /* end confdefs.h. */
4673 # include <limits.h>
4675 # include <assert.h>
4679 if { (ac_try="$ac_cpp conftest.
$ac_ext"
4681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4682 *) ac_try_echo=$ac_try;;
4684 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4685 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
4687 grep -v '^ *+' conftest.er1 >conftest.err
4689 cat conftest.err >&5
4690 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4691 (exit $ac_status); } >/dev/null && {
4692 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4693 test ! -s conftest.err
4697 echo "$as_me: failed program was
:" >&5
4698 sed 's/^/| /' conftest.$ac_ext >&5
4700 # Broken: fails on valid input.
4704 rm -f conftest.err conftest.$ac_ext
4706 # OK, works on sane cases. Now check whether nonexistent headers
4707 # can be detected and how.
4708 cat >conftest.$ac_ext <<_ACEOF
4711 cat confdefs.h >>conftest.$ac_ext
4712 cat >>conftest.$ac_ext <<_ACEOF
4713 /* end confdefs.h. */
4714 #include <ac_nonexistent.h>
4716 if { (ac_try="$ac_cpp conftest.
$ac_ext"
4718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4719 *) ac_try_echo=$ac_try;;
4721 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4722 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
4724 grep -v '^ *+' conftest.er1 >conftest.err
4726 cat conftest.err >&5
4727 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4728 (exit $ac_status); } >/dev/null && {
4729 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4730 test ! -s conftest.err
4732 # Broken: success on invalid input.
4735 echo "$as_me: failed program was
:" >&5
4736 sed 's/^/| /' conftest.$ac_ext >&5
4738 # Passes both tests.
4743 rm -f conftest.err conftest.$ac_ext
4746 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4747 rm -f conftest.err conftest.$ac_ext
4748 if $ac_preproc_ok; then
4751 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
4752 See \
`config.log' for more details." >&5
4753 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4754 See \`config.log
' for more details." >&2;}
4755 { (exit 1); exit 1; }; }
4759 ac_cpp='$CPP $CPPFLAGS'
4760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4761 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4765 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4766 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4767 if test "${ac_cv_header_stdc+set}" = set; then
4768 echo $ECHO_N "(cached) $ECHO_C" >&6
4770 cat >conftest.$ac_ext <<_ACEOF
4773 cat confdefs.h >>conftest.$ac_ext
4774 cat >>conftest.$ac_ext <<_ACEOF
4775 /* end confdefs.h. */
4789 rm -f conftest.$ac_objext
4790 if { (ac_try="$ac_compile"
4792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4793 *) ac_try_echo=$ac_try;;
4795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4796 (eval "$ac_compile") 2>conftest.er1
4798 grep -v '^
*+' conftest.er1 >conftest.err
4800 cat conftest.err >&5
4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 (exit $ac_status); } && {
4803 test -z "$ac_c_werror_flag" ||
4804 test ! -s conftest.err
4805 } && test -s conftest.$ac_objext; then
4806 ac_cv_header_stdc=yes
4808 echo "$as_me: failed program was:" >&5
4809 sed 's
/^
/|
/' conftest.$ac_ext >&5
4811 ac_cv_header_stdc=no
4814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4816 if test $ac_cv_header_stdc = yes; then
4817 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4818 cat >conftest.$ac_ext <<_ACEOF
4821 cat confdefs.h >>conftest.$ac_ext
4822 cat >>conftest.$ac_ext <<_ACEOF
4823 /* end confdefs.h. */
4827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4828 $EGREP "memchr" >/dev/null 2>&1; then
4831 ac_cv_header_stdc=no
4837 if test $ac_cv_header_stdc = yes; then
4838 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4839 cat >conftest.$ac_ext <<_ACEOF
4842 cat confdefs.h >>conftest.$ac_ext
4843 cat >>conftest.$ac_ext <<_ACEOF
4844 /* end confdefs.h. */
4848 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4849 $EGREP "free" >/dev/null 2>&1; then
4852 ac_cv_header_stdc=no
4858 if test $ac_cv_header_stdc = yes; then
4859 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4860 if test "$cross_compiling" = yes; then
4863 cat >conftest.$ac_ext <<_ACEOF
4866 cat confdefs.h >>conftest.$ac_ext
4867 cat >>conftest.$ac_ext <<_ACEOF
4868 /* end confdefs.h. */
4871 #if ((' ' & 0x0FF) == 0x020)
4872 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
4873 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
4875 # define ISLOWER(c) \
4876 (('a
' <= (c) && (c) <= 'i
') \
4877 || ('j
' <= (c) && (c) <= 'r
') \
4878 || ('s
' <= (c) && (c) <= 'z
'))
4879 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4882 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4887 for (i = 0; i < 256; i++)
4888 if (XOR (islower (i), ISLOWER (i))
4889 || toupper (i) != TOUPPER (i))
4894 rm -f conftest$ac_exeext
4895 if { (ac_try="$ac_link"
4897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4898 *) ac_try_echo=$ac_try;;
4900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4901 (eval "$ac_link") 2>&5
4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
4905 { (case "(($ac_try" in
4906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4907 *) ac_try_echo=$ac_try;;
4909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4910 (eval "$ac_try") 2>&5
4912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4913 (exit $ac_status); }; }; then
4916 echo "$as_me: program exited with status $ac_status" >&5
4917 echo "$as_me: failed program was:" >&5
4918 sed 's
/^
/|
/' conftest.$ac_ext >&5
4921 ac_cv_header_stdc=no
4923 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4929 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4930 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4931 if test $ac_cv_header_stdc = yes; then
4933 cat >>confdefs.h <<\_ACEOF
4934 #define STDC_HEADERS 1
4939 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4949 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4950 inttypes.h stdint.h unistd.h
4952 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4953 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4955 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4956 echo $ECHO_N "(cached) $ECHO_C" >&6
4958 cat >conftest.$ac_ext <<_ACEOF
4961 cat confdefs.h >>conftest.$ac_ext
4962 cat >>conftest.$ac_ext <<_ACEOF
4963 /* end confdefs.h. */
4964 $ac_includes_default
4966 #include <$ac_header>
4968 rm -f conftest.$ac_objext
4969 if { (ac_try="$ac_compile"
4971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4972 *) ac_try_echo=$ac_try;;
4974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4975 (eval "$ac_compile") 2>conftest.er1
4977 grep -v '^
*+' conftest.er1 >conftest.err
4979 cat conftest.err >&5
4980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981 (exit $ac_status); } && {
4982 test -z "$ac_c_werror_flag" ||
4983 test ! -s conftest.err
4984 } && test -s conftest.$ac_objext; then
4985 eval "$as_ac_Header=yes"
4987 echo "$as_me: failed program was:" >&5
4988 sed 's
/^
/|
/' conftest.$ac_ext >&5
4990 eval "$as_ac_Header=no"
4993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4995 ac_res=`eval echo '${'$as_ac_Header'}'`
4996 { echo "$as_me:$LINENO: result: $ac_res" >&5
4997 echo "${ECHO_T}$ac_res" >&6; }
4998 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4999 cat >>confdefs.h <<_ACEOF
5000 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5009 for ac_header in dlfcn.h
5011 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5012 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5013 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5015 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5016 echo $ECHO_N "(cached) $ECHO_C" >&6
5018 ac_res=`eval echo '${'$as_ac_Header'}'`
5019 { echo "$as_me:$LINENO: result: $ac_res" >&5
5020 echo "${ECHO_T}$ac_res" >&6; }
5022 # Is the header compilable?
5023 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5024 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5025 cat >conftest.$ac_ext <<_ACEOF
5028 cat confdefs.h >>conftest.$ac_ext
5029 cat >>conftest.$ac_ext <<_ACEOF
5030 /* end confdefs.h. */
5031 $ac_includes_default
5032 #include <$ac_header>
5034 rm -f conftest.$ac_objext
5035 if { (ac_try="$ac_compile"
5037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5038 *) ac_try_echo=$ac_try;;
5040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5041 (eval "$ac_compile") 2>conftest.er1
5043 grep -v '^
*+' conftest.er1 >conftest.err
5045 cat conftest.err >&5
5046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5047 (exit $ac_status); } && {
5048 test -z "$ac_c_werror_flag" ||
5049 test ! -s conftest.err
5050 } && test -s conftest.$ac_objext; then
5051 ac_header_compiler=yes
5053 echo "$as_me: failed program was:" >&5
5054 sed 's
/^
/|
/' conftest.$ac_ext >&5
5056 ac_header_compiler=no
5059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5060 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5061 echo "${ECHO_T}$ac_header_compiler" >&6; }
5063 # Is the header present?
5064 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5065 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5066 cat >conftest.$ac_ext <<_ACEOF
5069 cat confdefs.h >>conftest.$ac_ext
5070 cat >>conftest.$ac_ext <<_ACEOF
5071 /* end confdefs.h. */
5072 #include <$ac_header>
5074 if { (ac_try="$ac_cpp conftest.$ac_ext"
5076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5077 *) ac_try_echo=$ac_try;;
5079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5080 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5082 grep -v '^
*+' conftest.er1 >conftest.err
5084 cat conftest.err >&5
5085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086 (exit $ac_status); } >/dev/null && {
5087 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5088 test ! -s conftest.err
5090 ac_header_preproc=yes
5092 echo "$as_me: failed program was:" >&5
5093 sed 's
/^
/|
/' conftest.$ac_ext >&5
5095 ac_header_preproc=no
5098 rm -f conftest.err conftest.$ac_ext
5099 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5100 echo "${ECHO_T}$ac_header_preproc" >&6; }
5102 # So? What about this header?
5103 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5105 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5106 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5107 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
5108 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
5109 ac_header_preproc=yes
5112 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5113 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5114 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5115 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5116 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5117 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5118 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5119 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5120 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
5121 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
5122 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5123 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5127 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5129 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5130 echo $ECHO_N "(cached) $ECHO_C" >&6
5132 eval "$as_ac_Header=\$ac_header_preproc"
5134 ac_res=`eval echo '${'$as_ac_Header'}'`
5135 { echo "$as_me:$LINENO: result: $ac_res" >&5
5136 echo "${ECHO_T}$ac_res" >&6; }
5139 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5140 cat >>confdefs.h <<_ACEOF
5141 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5149 ac_cpp='$CXXCPP $CPPFLAGS'
5150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5151 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5153 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5154 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5155 if test -z "$CXXCPP"; then
5156 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5157 echo $ECHO_N "(cached) $ECHO_C" >&6
5159 # Double quotes because CXXCPP needs to be expanded
5160 for CXXCPP in "$CXX -E" "/lib/cpp"
5163 for ac_cxx_preproc_warn_flag in '' yes
5165 # Use a header file that comes with gcc, so configuring glibc
5166 # with a fresh cross-compiler works.
5167 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5168 # <limits.h> exists even on freestanding compilers.
5169 # On the NeXT, cc -E runs the code through the compiler's parser
,
5170 # not just through cpp. "Syntax error" is here to catch this case.
5171 cat >conftest.
$ac_ext <<_ACEOF
5174 cat confdefs.h
>>conftest.
$ac_ext
5175 cat >>conftest.
$ac_ext <<_ACEOF
5176 /* end confdefs.h. */
5178 # include <limits.h>
5180 # include <assert.h>
5184 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5187 *) ac_try_echo=$ac_try;;
5189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5190 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5192 grep -v '^ *+' conftest.er1 >conftest.err
5194 cat conftest.err >&5
5195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5196 (exit $ac_status); } >/dev/null && {
5197 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5198 test ! -s conftest.err
5202 echo "$as_me: failed program was:" >&5
5203 sed 's/^/| /' conftest.$ac_ext >&5
5205 # Broken: fails on valid input.
5209 rm -f conftest.err conftest.$ac_ext
5211 # OK, works on sane cases. Now check whether nonexistent headers
5212 # can be detected and how.
5213 cat >conftest.$ac_ext <<_ACEOF
5216 cat confdefs.h >>conftest.$ac_ext
5217 cat >>conftest.$ac_ext <<_ACEOF
5218 /* end confdefs.h. */
5219 #include <ac_nonexistent.h>
5221 if { (ac_try="$ac_cpp conftest.$ac_ext"
5223 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5224 *) ac_try_echo
=$ac_try;;
5226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5227 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5229 grep -v '^ *+' conftest.er1
>conftest.err
5231 cat conftest.err
>&5
5232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233 (exit $ac_status); } >/dev
/null
&& {
5234 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5235 test ! -s conftest.err
5237 # Broken: success on invalid input.
5240 echo "$as_me: failed program was:" >&5
5241 sed 's/^/| /' conftest.
$ac_ext >&5
5243 # Passes both tests.
5248 rm -f conftest.err conftest.
$ac_ext
5251 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5252 rm -f conftest.err conftest.
$ac_ext
5253 if $ac_preproc_ok; then
5258 ac_cv_prog_CXXCPP
=$CXXCPP
5261 CXXCPP
=$ac_cv_prog_CXXCPP
5263 ac_cv_prog_CXXCPP
=$CXXCPP
5265 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5266 echo "${ECHO_T}$CXXCPP" >&6; }
5268 for ac_cxx_preproc_warn_flag
in '' yes
5270 # Use a header file that comes with gcc, so configuring glibc
5271 # with a fresh cross-compiler works.
5272 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5273 # <limits.h> exists even on freestanding compilers.
5274 # On the NeXT, cc -E runs the code through the compiler's parser,
5275 # not just through cpp. "Syntax error" is here to catch this case.
5276 cat >conftest.
$ac_ext <<_ACEOF
5279 cat confdefs.h
>>conftest.
$ac_ext
5280 cat >>conftest.
$ac_ext <<_ACEOF
5281 /* end confdefs.h. */
5283 # include <limits.h>
5285 # include <assert.h>
5289 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5291 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5292 *) ac_try_echo=$ac_try;;
5294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5295 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5297 grep -v '^ *+' conftest.er1 >conftest.err
5299 cat conftest.err >&5
5300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301 (exit $ac_status); } >/dev/null && {
5302 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5303 test ! -s conftest.err
5307 echo "$as_me: failed program was:" >&5
5308 sed 's/^/| /' conftest.$ac_ext >&5
5310 # Broken: fails on valid input.
5314 rm -f conftest.err conftest.$ac_ext
5316 # OK, works on sane cases. Now check whether nonexistent headers
5317 # can be detected and how.
5318 cat >conftest.$ac_ext <<_ACEOF
5321 cat confdefs.h >>conftest.$ac_ext
5322 cat >>conftest.$ac_ext <<_ACEOF
5323 /* end confdefs.h. */
5324 #include <ac_nonexistent.h>
5326 if { (ac_try="$ac_cpp conftest.$ac_ext"
5328 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5329 *) ac_try_echo
=$ac_try;;
5331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5332 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5334 grep -v '^ *+' conftest.er1
>conftest.err
5336 cat conftest.err
>&5
5337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5338 (exit $ac_status); } >/dev
/null
&& {
5339 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5340 test ! -s conftest.err
5342 # Broken: success on invalid input.
5345 echo "$as_me: failed program was:" >&5
5346 sed 's/^/| /' conftest.
$ac_ext >&5
5348 # Passes both tests.
5353 rm -f conftest.err conftest.
$ac_ext
5356 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5357 rm -f conftest.err conftest.
$ac_ext
5358 if $ac_preproc_ok; then
5361 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5362 See \`config.log' for more details." >&5
5363 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5364 See \`config.log' for more details." >&2;}
5365 { (exit 1); exit 1; }; }
5369 ac_cpp
='$CXXCPP $CPPFLAGS'
5370 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5371 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5372 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5376 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5377 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5378 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5379 if test -n "$ac_tool_prefix"; then
5380 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5382 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5383 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5386 if test "${ac_cv_prog_F77+set}" = set; then
5387 echo $ECHO_N "(cached) $ECHO_C" >&6
5389 if test -n "$F77"; then
5390 ac_cv_prog_F77
="$F77" # Let the user override the test.
5392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5396 test -z "$as_dir" && as_dir
=.
5397 for ac_exec_ext
in '' $ac_executable_extensions; do
5398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5399 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5410 if test -n "$F77"; then
5411 { echo "$as_me:$LINENO: result: $F77" >&5
5412 echo "${ECHO_T}$F77" >&6; }
5414 { echo "$as_me:$LINENO: result: no" >&5
5415 echo "${ECHO_T}no" >&6; }
5419 test -n "$F77" && break
5422 if test -z "$F77"; then
5424 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5426 # Extract the first word of "$ac_prog", so it can be a program name with args.
5427 set dummy
$ac_prog; ac_word
=$2
5428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5430 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5431 echo $ECHO_N "(cached) $ECHO_C" >&6
5433 if test -n "$ac_ct_F77"; then
5434 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5440 test -z "$as_dir" && as_dir
=.
5441 for ac_exec_ext
in '' $ac_executable_extensions; do
5442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5443 ac_cv_prog_ac_ct_F77
="$ac_prog"
5444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5453 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5454 if test -n "$ac_ct_F77"; then
5455 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5456 echo "${ECHO_T}$ac_ct_F77" >&6; }
5458 { echo "$as_me:$LINENO: result: no" >&5
5459 echo "${ECHO_T}no" >&6; }
5463 test -n "$ac_ct_F77" && break
5466 if test "x$ac_ct_F77" = x
; then
5469 case $cross_compiling:$ac_tool_warned in
5471 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5472 whose name does not start with the host triplet. If you think this
5473 configuration is useful to you, please write to autoconf@gnu.org." >&5
5474 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5475 whose name does not start with the host triplet. If you think this
5476 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5477 ac_tool_warned
=yes ;;
5484 # Provide some information about the compiler.
5485 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5486 ac_compiler
=`set X $ac_compile; echo $2`
5487 { (ac_try
="$ac_compiler --version >&5"
5489 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5490 *) ac_try_echo=$ac_try;;
5492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5493 (eval "$ac_compiler --version >&5") 2>&5
5495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5496 (exit $ac_status); }
5497 { (ac_try="$ac_compiler -v >&5"
5499 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5500 *) ac_try_echo
=$ac_try;;
5502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5503 (eval "$ac_compiler -v >&5") 2>&5
5505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506 (exit $ac_status); }
5507 { (ac_try
="$ac_compiler -V >&5"
5509 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5510 *) ac_try_echo=$ac_try;;
5512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5513 (eval "$ac_compiler -V >&5") 2>&5
5515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516 (exit $ac_status); }
5519 # If we don't use `.F
' as extension, the preprocessor is not run on the
5520 # input file. (Note that this only needs to work for GNU compilers.)
5523 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5524 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5525 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5526 echo $ECHO_N "(cached) $ECHO_C" >&6
5528 cat >conftest.$ac_ext <<_ACEOF
5536 rm -f conftest.$ac_objext
5537 if { (ac_try="$ac_compile"
5539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5540 *) ac_try_echo=$ac_try;;
5542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5543 (eval "$ac_compile") 2>conftest.er1
5545 grep -v '^
*+' conftest.er1 >conftest.err
5547 cat conftest.err >&5
5548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5549 (exit $ac_status); } && {
5550 test -z "$ac_f77_werror_flag" ||
5551 test ! -s conftest.err
5552 } && test -s conftest.$ac_objext; then
5555 echo "$as_me: failed program was:" >&5
5556 sed 's
/^
/|
/' conftest.$ac_ext >&5
5561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5562 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5565 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5566 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5568 ac_test_FFLAGS=${FFLAGS+set}
5569 ac_save_FFLAGS=$FFLAGS
5571 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5572 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5573 if test "${ac_cv_prog_f77_g+set}" = set; then
5574 echo $ECHO_N "(cached) $ECHO_C" >&6
5577 cat >conftest.$ac_ext <<_ACEOF
5582 rm -f conftest.$ac_objext
5583 if { (ac_try="$ac_compile"
5585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5586 *) ac_try_echo=$ac_try;;
5588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5589 (eval "$ac_compile") 2>conftest.er1
5591 grep -v '^
*+' conftest.er1 >conftest.err
5593 cat conftest.err >&5
5594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5595 (exit $ac_status); } && {
5596 test -z "$ac_f77_werror_flag" ||
5597 test ! -s conftest.err
5598 } && test -s conftest.$ac_objext; then
5599 ac_cv_prog_f77_g=yes
5601 echo "$as_me: failed program was:" >&5
5602 sed 's
/^
/|
/' conftest.$ac_ext >&5
5607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5610 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5611 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5612 if test "$ac_test_FFLAGS" = set; then
5613 FFLAGS=$ac_save_FFLAGS
5614 elif test $ac_cv_prog_f77_g = yes; then
5615 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5621 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5628 G77=`test $ac_compiler_gnu = yes && echo yes`
5630 ac_cpp='$CPP $CPPFLAGS'
5631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5632 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5637 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
5639 # find the maximum length of command line arguments
5640 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5641 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5642 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5643 echo $ECHO_N "(cached) $ECHO_C" >&6
5650 # On DJGPP, this test can blow up pretty badly due to problems in libc
5651 # (any single argument exceeding 2000 bytes causes a buffer overrun
5652 # during glob expansion). Even if it were fixed, the result of this
5653 # check would be larger than it should be.
5654 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5658 # Under GNU Hurd, this test is not required because there is
5659 # no limit to the length of command line arguments.
5660 # Libtool will interpret -1 as no limit whatsoever
5661 lt_cv_sys_max_cmd_len
=-1;
5665 # On Win9x/ME, this test blows up -- it succeeds, but takes
5666 # about 5 minutes as the teststring grows exponentially.
5667 # Worse, since 9x/ME are not pre-emptively multitasking,
5668 # you end up with a "frozen" computer, even though with patience
5669 # the test eventually succeeds (with a max line length of 256k).
5670 # Instead, let's just punt: use the minimum linelength reported by
5671 # all of the supported platforms: 8192 (on NT/2K/XP).
5672 lt_cv_sys_max_cmd_len
=8192;
5675 amigaos
* | morphos
*)
5676 # On AmigaOS with pdksh, this test takes hours, literally.
5677 # So we just punt and use a minimum line length of 8192.
5678 lt_cv_sys_max_cmd_len
=8192;
5682 # If test is not a shell built-in, we'll probably end up computing a
5683 # maximum length that is only half of the actual maximum length, but
5685 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5686 = "XX$testring") >/dev
/null
2>&1 &&
5687 new_result
=`expr "X$testring" : ".*" 2>&1` &&
5688 lt_cv_sys_max_cmd_len
=$new_result &&
5689 test $i != 17 # 1/2 MB should be enough
5692 testring
=$testring$testring
5695 # Add a significant safety factor because C++ compilers can tack on massive
5696 # amounts of additional arguments before passing them to the linker.
5697 # It appears as though 1/2 is a usable value.
5698 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5704 if test -n $lt_cv_sys_max_cmd_len ; then
5705 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5706 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5708 { echo "$as_me:$LINENO: result: none" >&5
5709 echo "${ECHO_T}none" >&6; }
5715 # Check for command to grab the raw symbol name followed by C symbol from nm.
5716 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5717 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5718 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5719 echo $ECHO_N "(cached) $ECHO_C" >&6
5722 # These are sane defaults that work on at least a few old systems.
5723 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5725 # Character class describing NM global symbol codes.
5726 symcode
='[BCDEGRST]'
5728 # Regexp to match symbols that can be accessed directly from C.
5729 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5731 # Transform the above into a raw symbol and a C symbol.
5732 symxfrm
='\1 \2\3 \3'
5734 # Transform an extracted symbol line into a proper C declaration
5735 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5737 # Transform an extracted symbol line into symbol name and symbol address
5738 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5740 # Define system-specific variables.
5745 cygwin
* | mingw
* | pw32
*)
5746 symcode
='[ABCDGISTW]'
5748 hpux
*) # Its linker distinguishes data from code symbols
5749 if test "$host_cpu" = ia64
; then
5750 symcode
='[ABCDEGRST]'
5752 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5753 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5756 symcode
='[BCDEGRST]'
5759 symcode
='[BCDEGQRST]'
5769 # Handle CRLF in mingw tool chain
5773 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5777 # If we're using GNU nm, then use its standard symbol codes.
5778 case `$NM -V 2>&1` in
5779 *GNU
* |
*'with BFD'*)
5780 symcode
='[ABCDGIRSTW]' ;;
5783 # Try without a prefix undercore, then with it.
5784 for ac_symprfx
in "" "_"; do
5786 # Write the raw and C identifiers.
5787 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5789 # Check to see that the pipe works correctly.
5793 cat > conftest.
$ac_ext <<EOF
5798 void nm_test_func(){}
5802 int main(){nm_test_var='a';nm_test_func();return(0);}
5805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5806 (eval $ac_compile) 2>&5
5808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5809 (exit $ac_status); }; then
5810 # Now try to grab the symbols.
5812 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5813 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5816 (exit $ac_status); } && test -s "$nlist"; then
5817 # Try sorting and uniquifying the output.
5818 if sort "$nlist" |
uniq > "$nlist"T
; then
5819 mv -f "$nlist"T
"$nlist"
5824 # Make sure that we snagged all the symbols we need.
5825 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5826 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5827 cat <<EOF > conftest.$ac_ext
5833 # Now generate the symbol file.
5834 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5836 cat <<EOF >> conftest.$ac_ext
5837 #if defined (__STDC__) && __STDC__
5838 # define lt_ptr_t void *
5840 # define lt_ptr_t char *
5844 /* The mapping between symbol names and symbols. */
5849 lt_preloaded_symbols[] =
5852 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5853 cat <<\EOF
>> conftest.
$ac_ext
5861 # Now try linking the two files.
5862 mv conftest.
$ac_objext conftstm.
$ac_objext
5863 lt_save_LIBS
="$LIBS"
5864 lt_save_CFLAGS
="$CFLAGS"
5865 LIBS
="conftstm.$ac_objext"
5866 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5868 (eval $ac_link) 2>&5
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
5874 LIBS
="$lt_save_LIBS"
5875 CFLAGS
="$lt_save_CFLAGS"
5877 echo "cannot find nm_test_func in $nlist" >&5
5880 echo "cannot find nm_test_var in $nlist" >&5
5883 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5886 echo "$progname: failed program was:" >&5
5887 cat conftest.
$ac_ext >&5
5889 rm -f conftest
* conftst
*
5891 # Do not use the global_symbol_pipe unless it works.
5892 if test "$pipe_works" = yes; then
5895 lt_cv_sys_global_symbol_pipe
=
5901 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5902 lt_cv_sys_global_symbol_to_cdecl
=
5904 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5905 { echo "$as_me:$LINENO: result: failed" >&5
5906 echo "${ECHO_T}failed" >&6; }
5908 { echo "$as_me:$LINENO: result: ok" >&5
5909 echo "${ECHO_T}ok" >&6; }
5912 { echo "$as_me:$LINENO: checking for objdir" >&5
5913 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5914 if test "${lt_cv_objdir+set}" = set; then
5915 echo $ECHO_N "(cached) $ECHO_C" >&6
5917 rm -f .libs
2>/dev
/null
5918 mkdir .libs
2>/dev
/null
5919 if test -d .libs
; then
5922 # MS-DOS does not allow filenames that begin with a dot.
5925 rmdir .libs
2>/dev
/null
5927 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5928 echo "${ECHO_T}$lt_cv_objdir" >&6; }
5929 objdir
=$lt_cv_objdir
5937 # AIX sometimes has problems with the GCC collect2 program. For some
5938 # reason, if we set the COLLECT_NAMES environment variable, the problems
5939 # vanish in a puff of smoke.
5940 if test "X${COLLECT_NAMES+set}" != Xset
; then
5942 export COLLECT_NAMES
5947 # Sed substitution that helps us do robust quoting. It backslashifies
5948 # metacharacters that are still active within double-quoted strings.
5949 Xsed
='sed -e s/^X//'
5950 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
5952 # Same as above, but do not quote variable references.
5953 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
5955 # Sed substitution to delay expansion of an escaped shell variable in a
5956 # double_quote_subst'ed string.
5957 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5959 # Sed substitution to avoid accidental globbing in evaled expressions
5960 no_glob_subst
='s/\*/\\\*/g'
5966 default_ofile
=libtool
5967 can_build_shared
=yes
5969 # All known linkers require a `.a' archive for static linking (except M$VC,
5970 # which needs '.lib').
5972 ltmain
="$ac_aux_dir/ltmain.sh"
5973 ofile
="$default_ofile"
5974 with_gnu_ld
="$lt_cv_prog_gnu_ld"
5976 if test -n "$ac_tool_prefix"; then
5977 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5978 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5979 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5981 if test "${ac_cv_prog_AR+set}" = set; then
5982 echo $ECHO_N "(cached) $ECHO_C" >&6
5984 if test -n "$AR"; then
5985 ac_cv_prog_AR
="$AR" # Let the user override the test.
5987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5991 test -z "$as_dir" && as_dir
=.
5992 for ac_exec_ext
in '' $ac_executable_extensions; do
5993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5994 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6005 if test -n "$AR"; then
6006 { echo "$as_me:$LINENO: result: $AR" >&5
6007 echo "${ECHO_T}$AR" >&6; }
6009 { echo "$as_me:$LINENO: result: no" >&5
6010 echo "${ECHO_T}no" >&6; }
6015 if test -z "$ac_cv_prog_AR"; then
6017 # Extract the first word of "ar", so it can be a program name with args.
6018 set dummy
ar; ac_word
=$2
6019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6021 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6022 echo $ECHO_N "(cached) $ECHO_C" >&6
6024 if test -n "$ac_ct_AR"; then
6025 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6031 test -z "$as_dir" && as_dir
=.
6032 for ac_exec_ext
in '' $ac_executable_extensions; do
6033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6034 ac_cv_prog_ac_ct_AR
="ar"
6035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6045 if test -n "$ac_ct_AR"; then
6046 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6047 echo "${ECHO_T}$ac_ct_AR" >&6; }
6049 { echo "$as_me:$LINENO: result: no" >&5
6050 echo "${ECHO_T}no" >&6; }
6053 if test "x$ac_ct_AR" = x
; then
6056 case $cross_compiling:$ac_tool_warned in
6058 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6059 whose name does not start with the host triplet. If you think this
6060 configuration is useful to you, please write to autoconf@gnu.org." >&5
6061 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6062 whose name does not start with the host triplet. If you think this
6063 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6064 ac_tool_warned
=yes ;;
6072 if test -n "$ac_tool_prefix"; then
6073 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6074 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6077 if test "${ac_cv_prog_RANLIB+set}" = set; then
6078 echo $ECHO_N "(cached) $ECHO_C" >&6
6080 if test -n "$RANLIB"; then
6081 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6087 test -z "$as_dir" && as_dir
=.
6088 for ac_exec_ext
in '' $ac_executable_extensions; do
6089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6090 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6100 RANLIB
=$ac_cv_prog_RANLIB
6101 if test -n "$RANLIB"; then
6102 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6103 echo "${ECHO_T}$RANLIB" >&6; }
6105 { echo "$as_me:$LINENO: result: no" >&5
6106 echo "${ECHO_T}no" >&6; }
6111 if test -z "$ac_cv_prog_RANLIB"; then
6112 ac_ct_RANLIB
=$RANLIB
6113 # Extract the first word of "ranlib", so it can be a program name with args.
6114 set dummy ranlib
; ac_word
=$2
6115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6117 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6118 echo $ECHO_N "(cached) $ECHO_C" >&6
6120 if test -n "$ac_ct_RANLIB"; then
6121 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6127 test -z "$as_dir" && as_dir
=.
6128 for ac_exec_ext
in '' $ac_executable_extensions; do
6129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6130 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6140 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6141 if test -n "$ac_ct_RANLIB"; then
6142 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6143 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6145 { echo "$as_me:$LINENO: result: no" >&5
6146 echo "${ECHO_T}no" >&6; }
6149 if test "x$ac_ct_RANLIB" = x
; then
6152 case $cross_compiling:$ac_tool_warned in
6154 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6155 whose name does not start with the host triplet. If you think this
6156 configuration is useful to you, please write to autoconf@gnu.org." >&5
6157 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6158 whose name does not start with the host triplet. If you think this
6159 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6160 ac_tool_warned
=yes ;;
6162 RANLIB
=$ac_ct_RANLIB
6165 RANLIB
="$ac_cv_prog_RANLIB"
6168 if test -n "$ac_tool_prefix"; then
6169 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6170 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6171 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6173 if test "${ac_cv_prog_STRIP+set}" = set; then
6174 echo $ECHO_N "(cached) $ECHO_C" >&6
6176 if test -n "$STRIP"; then
6177 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6183 test -z "$as_dir" && as_dir
=.
6184 for ac_exec_ext
in '' $ac_executable_extensions; do
6185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6186 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6196 STRIP
=$ac_cv_prog_STRIP
6197 if test -n "$STRIP"; then
6198 { echo "$as_me:$LINENO: result: $STRIP" >&5
6199 echo "${ECHO_T}$STRIP" >&6; }
6201 { echo "$as_me:$LINENO: result: no" >&5
6202 echo "${ECHO_T}no" >&6; }
6207 if test -z "$ac_cv_prog_STRIP"; then
6209 # Extract the first word of "strip", so it can be a program name with args.
6210 set dummy strip
; ac_word
=$2
6211 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6213 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6214 echo $ECHO_N "(cached) $ECHO_C" >&6
6216 if test -n "$ac_ct_STRIP"; then
6217 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6223 test -z "$as_dir" && as_dir
=.
6224 for ac_exec_ext
in '' $ac_executable_extensions; do
6225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6226 ac_cv_prog_ac_ct_STRIP
="strip"
6227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6236 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6237 if test -n "$ac_ct_STRIP"; then
6238 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6239 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6241 { echo "$as_me:$LINENO: result: no" >&5
6242 echo "${ECHO_T}no" >&6; }
6245 if test "x$ac_ct_STRIP" = x
; then
6248 case $cross_compiling:$ac_tool_warned in
6250 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6251 whose name does not start with the host triplet. If you think this
6252 configuration is useful to you, please write to autoconf@gnu.org." >&5
6253 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6254 whose name does not start with the host triplet. If you think this
6255 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6256 ac_tool_warned
=yes ;;
6261 STRIP
="$ac_cv_prog_STRIP"
6266 old_CFLAGS
="$CFLAGS"
6268 # Set sane defaults for various variables
6269 test -z "$AR" && AR
=ar
6270 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6271 test -z "$AS" && AS
=as
6272 test -z "$CC" && CC
=cc
6273 test -z "$LTCC" && LTCC
=$CC
6274 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6275 test -z "$LD" && LD
=ld
6276 test -z "$LN_S" && LN_S
="ln -s"
6277 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6278 test -z "$NM" && NM
=nm
6279 test -z "$SED" && SED
=sed
6280 test -z "$OBJDUMP" && OBJDUMP
=objdump
6281 test -z "$RANLIB" && RANLIB
=:
6282 test -z "$STRIP" && STRIP
=:
6283 test -z "$ac_objext" && ac_objext
=o
6285 # Determine commands to create old-style static archives.
6286 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6287 old_postinstall_cmds
='chmod 644 $oldlib'
6288 old_postuninstall_cmds
=
6290 if test -n "$RANLIB"; then
6293 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6296 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
6299 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6302 # Only perform the check for file, if the check method requires it
6303 case $deplibs_check_method in
6305 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6306 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6307 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6308 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6309 echo $ECHO_N "(cached) $ECHO_C" >&6
6313 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6316 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6317 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6318 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6319 for ac_dir
in $ac_dummy; do
6321 test -z "$ac_dir" && ac_dir
=.
6322 if test -f $ac_dir/${ac_tool_prefix}file; then
6323 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6324 if test -n "$file_magic_test_file"; then
6325 case $deplibs_check_method in
6327 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6328 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6329 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6330 $EGREP "$file_magic_regex" > /dev
/null
; then
6335 *** Warning: the command libtool uses to detect shared libraries,
6336 *** $file_magic_cmd, produces output that libtool cannot recognize.
6337 *** The result is that libtool may fail to recognize shared libraries
6338 *** as such. This will affect the creation of libtool libraries that
6339 *** depend on shared libraries, but programs linked with such libtool
6340 *** libraries will work regardless of this problem. Nevertheless, you
6341 *** may want to report the problem to your system manager and/or to
6342 *** bug-libtool@gnu.org
6352 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6357 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6358 if test -n "$MAGIC_CMD"; then
6359 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6360 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6362 { echo "$as_me:$LINENO: result: no" >&5
6363 echo "${ECHO_T}no" >&6; }
6366 if test -z "$lt_cv_path_MAGIC_CMD"; then
6367 if test -n "$ac_tool_prefix"; then
6368 { echo "$as_me:$LINENO: checking for file" >&5
6369 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6370 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6371 echo $ECHO_N "(cached) $ECHO_C" >&6
6375 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6378 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6379 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6380 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6381 for ac_dir
in $ac_dummy; do
6383 test -z "$ac_dir" && ac_dir
=.
6384 if test -f $ac_dir/file; then
6385 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6386 if test -n "$file_magic_test_file"; then
6387 case $deplibs_check_method in
6389 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6390 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6391 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6392 $EGREP "$file_magic_regex" > /dev
/null
; then
6397 *** Warning: the command libtool uses to detect shared libraries,
6398 *** $file_magic_cmd, produces output that libtool cannot recognize.
6399 *** The result is that libtool may fail to recognize shared libraries
6400 *** as such. This will affect the creation of libtool libraries that
6401 *** depend on shared libraries, but programs linked with such libtool
6402 *** libraries will work regardless of this problem. Nevertheless, you
6403 *** may want to report the problem to your system manager and/or to
6404 *** bug-libtool@gnu.org
6414 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6419 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6420 if test -n "$MAGIC_CMD"; then
6421 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6422 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6424 { echo "$as_me:$LINENO: result: no" >&5
6425 echo "${ECHO_T}no" >&6; }
6440 # Check whether --enable-libtool-lock was given.
6441 if test "${enable_libtool_lock+set}" = set; then
6442 enableval
=$enable_libtool_lock;
6445 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6448 # Check whether --with-pic was given.
6449 if test "${with_pic+set}" = set; then
6450 withval
=$with_pic; pic_mode
="$withval"
6455 test -z "$pic_mode" && pic_mode
=default
6457 # Use C for the default configuration in the libtool script
6461 ac_cpp
='$CPP $CPPFLAGS'
6462 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6463 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6464 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6467 # Source file extension for C test sources.
6470 # Object file extension for compiled C test sources.
6474 # Code to be used in simple compile tests
6475 lt_simple_compile_test_code
="int some_variable = 0;\n"
6477 # Code to be used in simple link tests
6478 lt_simple_link_test_code
='int main(){return(0);}\n'
6481 # If no C compiler was specified, use CC.
6484 # Allow CC to be a program name with arguments.
6489 # Check for any special shared library compilation flags.
6492 if test "$GCC" = no
; then
6495 lt_prog_cc_shlib
='-belf'
6499 if test -n "$lt_prog_cc_shlib"; then
6500 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6501 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6502 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
6504 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6505 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6506 lt_cv_prog_cc_can_build_shared
=no
6512 # Check to make sure the static flag actually works.
6514 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6515 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
6516 if test "${lt_prog_compiler_static_works+set}" = set; then
6517 echo $ECHO_N "(cached) $ECHO_C" >&6
6519 lt_prog_compiler_static_works
=no
6520 save_LDFLAGS
="$LDFLAGS"
6521 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
6522 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6523 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6524 # The compiler can only warn and ignore the option if not recognized
6525 # So say no if there are warnings
6526 if test -s conftest.err
; then
6527 # Append any errors to the config.log.
6528 cat conftest.err
1>&5
6530 lt_prog_compiler_static_works
=yes
6534 LDFLAGS
="$save_LDFLAGS"
6537 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6538 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
6540 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6543 lt_prog_compiler_static
=
6549 ## There is no encapsulation within the following macros, do not change
6550 ## the running order or otherwise move them around unless you know exactly
6551 ## what you are doing...
6553 lt_prog_compiler_no_builtin_flag
=
6555 if test "$GCC" = yes; then
6556 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6559 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6560 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6561 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6562 echo $ECHO_N "(cached) $ECHO_C" >&6
6564 lt_cv_prog_compiler_rtti_exceptions
=no
6565 ac_outfile
=conftest.
$ac_objext
6566 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6567 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6568 # Insert the option either (1) after the last *FLAGS variable, or
6569 # (2) before a word containing "conftest.", or (3) at the end.
6570 # Note that $ac_compile itself does not contain backslashes and begins
6571 # with a dollar sign (not a hyphen), so the echo should work correctly.
6572 # The option is referenced via a variable to avoid confusing sed.
6573 lt_compile
=`echo "$ac_compile" | $SED \
6574 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6575 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6576 -e 's:$: $lt_compiler_flag:'`
6577 (eval echo "\"\$as_me:6577: $lt_compile\"" >&5)
6578 (eval "$lt_compile" 2>conftest.err
)
6580 cat conftest.err
>&5
6581 echo "$as_me:6581: \$? = $ac_status" >&5
6582 if (exit $ac_status) && test -s "$ac_outfile"; then
6583 # The compiler can only warn and ignore the option if not recognized
6584 # So say no if there are warnings
6585 if test ! -s conftest.err
; then
6586 lt_cv_prog_compiler_rtti_exceptions
=yes
6592 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6593 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6595 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6596 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6603 lt_prog_compiler_wl
=
6604 lt_prog_compiler_pic
=
6605 lt_prog_compiler_static
=
6607 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6608 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6610 if test "$GCC" = yes; then
6611 lt_prog_compiler_wl
='-Wl,'
6612 lt_prog_compiler_static
='-static'
6616 # All AIX code is PIC.
6617 if test "$host_cpu" = ia64
; then
6618 # AIX 5 now supports IA64 processor
6619 lt_prog_compiler_static
='-Bstatic'
6624 # FIXME: we need at least 68020 code to build shared libraries, but
6625 # adding the `-m68020' flag to GCC prevents building anything better,
6627 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6630 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6631 # PIC is the default for these OSes.
6634 mingw
* | pw32
* | os2
*)
6635 # This hack is so that the source file can tell whether it is being
6636 # built for inclusion in a dll (and should export symbols for example).
6637 lt_prog_compiler_pic
='-DDLL_EXPORT'
6640 darwin
* | rhapsody
*)
6641 # PIC is the default on this platform
6642 # Common symbols not allowed in MH_DYLIB files
6643 lt_prog_compiler_pic
='-fno-common'
6647 # Just because we use GCC doesn't mean we suddenly get shared libraries
6648 # on systems that don't support them.
6649 lt_prog_compiler_can_build_shared
=no
6654 if test -d /usr
/nec
; then
6655 lt_prog_compiler_pic
=-Kconform_pic
6660 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6667 lt_prog_compiler_pic
='-fPIC'
6673 lt_prog_compiler_pic
='-fPIC'
6677 # PORTME Check for flag to pass linker flags through the system compiler.
6680 lt_prog_compiler_wl
='-Wl,'
6681 if test "$host_cpu" = ia64
; then
6682 # AIX 5 now supports IA64 processor
6683 lt_prog_compiler_static
='-Bstatic'
6685 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6689 mingw
* | pw32
* | os2
*)
6690 # This hack is so that the source file can tell whether it is being
6691 # built for inclusion in a dll (and should export symbols for example).
6692 lt_prog_compiler_pic
='-DDLL_EXPORT'
6695 hpux9
* | hpux10
* | hpux11
*)
6696 lt_prog_compiler_wl
='-Wl,'
6697 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6704 lt_prog_compiler_pic
='+Z'
6707 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6708 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6711 irix5
* | irix6
* | nonstopux
*)
6712 lt_prog_compiler_wl
='-Wl,'
6713 # PIC (with -KPIC) is the default.
6714 lt_prog_compiler_static
='-non_shared'
6718 lt_prog_compiler_pic
='-KPIC'
6719 lt_prog_compiler_static
='-Bstatic'
6725 lt_prog_compiler_wl
='-Wl,'
6726 lt_prog_compiler_pic
='-KPIC'
6727 lt_prog_compiler_static
='-static'
6730 lt_prog_compiler_wl
='-Wl,'
6731 # All Alpha code is PIC.
6732 lt_prog_compiler_static
='-non_shared'
6737 osf3
* | osf4
* | osf5
*)
6738 lt_prog_compiler_wl
='-Wl,'
6739 # All OSF/1 code is PIC.
6740 lt_prog_compiler_static
='-non_shared'
6744 lt_prog_compiler_pic
='-Kpic'
6745 lt_prog_compiler_static
='-dn'
6749 lt_prog_compiler_wl
='-Wl,'
6750 lt_prog_compiler_pic
='-KPIC'
6751 lt_prog_compiler_static
='-Bstatic'
6755 lt_prog_compiler_wl
='-Qoption ld '
6756 lt_prog_compiler_pic
='-PIC'
6757 lt_prog_compiler_static
='-Bstatic'
6760 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
6761 lt_prog_compiler_wl
='-Wl,'
6762 lt_prog_compiler_pic
='-KPIC'
6763 lt_prog_compiler_static
='-Bstatic'
6767 if test -d /usr
/nec
;then
6768 lt_prog_compiler_pic
='-Kconform_pic'
6769 lt_prog_compiler_static
='-Bstatic'
6774 lt_prog_compiler_pic
='-pic'
6775 lt_prog_compiler_static
='-Bstatic'
6779 lt_prog_compiler_can_build_shared
=no
6784 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6785 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6788 # Check to make sure the PIC flag actually works.
6790 if test -n "$lt_prog_compiler_pic"; then
6792 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6793 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
6794 if test "${lt_prog_compiler_pic_works+set}" = set; then
6795 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 lt_prog_compiler_pic_works
=no
6798 ac_outfile
=conftest.
$ac_objext
6799 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6800 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6801 # Insert the option either (1) after the last *FLAGS variable, or
6802 # (2) before a word containing "conftest.", or (3) at the end.
6803 # Note that $ac_compile itself does not contain backslashes and begins
6804 # with a dollar sign (not a hyphen), so the echo should work correctly.
6805 # The option is referenced via a variable to avoid confusing sed.
6806 lt_compile
=`echo "$ac_compile" | $SED \
6807 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6808 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6809 -e 's:$: $lt_compiler_flag:'`
6810 (eval echo "\"\$as_me:6810: $lt_compile\"" >&5)
6811 (eval "$lt_compile" 2>conftest.err
)
6813 cat conftest.err
>&5
6814 echo "$as_me:6814: \$? = $ac_status" >&5
6815 if (exit $ac_status) && test -s "$ac_outfile"; then
6816 # The compiler can only warn and ignore the option if not recognized
6817 # So say no if there are warnings
6818 if test ! -s conftest.err
; then
6819 lt_prog_compiler_pic_works
=yes
6825 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6826 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
6828 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6829 case $lt_prog_compiler_pic in
6831 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6834 lt_prog_compiler_pic
=
6835 lt_prog_compiler_can_build_shared
=no
6840 # For platforms which do not support PIC, -DPIC is meaningless:
6842 lt_prog_compiler_pic
=
6845 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6849 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6850 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
6851 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6852 echo $ECHO_N "(cached) $ECHO_C" >&6
6854 lt_cv_prog_compiler_c_o
=no
6855 $rm -r conftest
2>/dev
/null
6859 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6861 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6862 # that will create temporary files in the current directory regardless of
6863 # the output directory. Thus, making CWD read-only will cause this test
6864 # to fail, enabling locking or at least warning the user not to do parallel
6868 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6869 # Insert the option either (1) after the last *FLAGS variable, or
6870 # (2) before a word containing "conftest.", or (3) at the end.
6871 # Note that $ac_compile itself does not contain backslashes and begins
6872 # with a dollar sign (not a hyphen), so the echo should work correctly.
6873 lt_compile
=`echo "$ac_compile" | $SED \
6874 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6875 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6876 -e 's:$: $lt_compiler_flag:'`
6877 (eval echo "\"\$as_me:6877: $lt_compile\"" >&5)
6878 (eval "$lt_compile" 2>out
/conftest.err
)
6880 cat out
/conftest.err
>&5
6881 echo "$as_me:6881: \$? = $ac_status" >&5
6882 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6884 # The compiler can only warn and ignore the option if not recognized
6885 # So say no if there are warnings
6886 if test ! -s out
/conftest.err
; then
6887 lt_cv_prog_compiler_c_o
=yes
6892 # SGI C++ compiler will create directory out/ii_files/ for
6893 # template instantiation
6894 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
6895 $rm out
/* && rmdir out
6901 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6902 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
6905 hard_links
="nottested"
6906 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6907 # do not overwrite the value of need_locks provided by the user
6908 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6909 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
6912 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6914 ln conftest.a conftest.b
2>&5 || hard_links
=no
6915 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6916 { echo "$as_me:$LINENO: result: $hard_links" >&5
6917 echo "${ECHO_T}$hard_links" >&6; }
6918 if test "$hard_links" = no
; then
6919 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6920 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6927 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6928 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
6931 allow_undefined_flag
=
6932 enable_shared_with_static_runtimes
=no
6934 archive_expsym_cmds
=
6935 old_archive_From_new_cmds
=
6936 old_archive_from_expsyms_cmds
=
6937 export_dynamic_flag_spec
=
6938 whole_archive_flag_spec
=
6939 thread_safe_flag_spec
=
6940 hardcode_libdir_flag_spec
=
6941 hardcode_libdir_flag_spec_ld
=
6942 hardcode_libdir_separator
=
6945 hardcode_shlibpath_var
=unsupported
6946 link_all_deplibs
=unknown
6947 hardcode_automatic
=no
6950 always_export_symbols
=no
6951 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6952 # include_expsyms should be a list of space-separated symbols to be *always*
6953 # included in the symbol list
6955 # exclude_expsyms can be an extended regexp of symbols to exclude
6956 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6957 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6958 # as well as any symbol that contains `d'.
6959 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6960 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6961 # platforms (ab)use it in PIC code, but their linkers get confused if
6962 # the symbol is explicitly referenced. Since portable code cannot
6963 # rely on this symbol name, it's probably fine to never include it in
6964 # preloaded symbol tables.
6965 extract_expsyms_cmds
=
6968 cygwin
* | mingw
* | pw32
*)
6969 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6970 # When not using gcc, we currently assume that we are using
6971 # Microsoft Visual C++.
6972 if test "$GCC" != yes; then
6982 if test "$with_gnu_ld" = yes; then
6983 # If archive_cmds runs LD, not CC, wlarc should be empty
6986 # See if GNU ld supports shared libraries.
6988 aix3
* | aix4
* | aix5
*)
6989 # On AIX/PPC, the GNU linker is very broken
6990 if test "$host_cpu" != ia64
; then
6994 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6995 *** to be unable to reliably create shared libraries on AIX.
6996 *** Therefore, libtool is disabling shared libraries support. If you
6997 *** really care for shared libraries, you may want to modify your PATH
6998 *** so that a non-GNU linker is found, and then restart.
7005 archive_cmds
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7006 hardcode_libdir_flag_spec
='-L$libdir'
7007 hardcode_minus_L
=yes
7009 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7010 # that the semantics of dynamic libraries on AmigaOS, at least up
7011 # to version 4, is to share data among multiple programs linked
7012 # with the same dynamic library. Since this doesn't match the
7013 # behavior of shared libraries on other platforms, we can't use
7019 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7020 allow_undefined_flag
=unsupported
7021 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7022 # support --undefined. This deserves some investigation. FIXME
7023 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7029 cygwin
* | mingw
* | pw32
*)
7030 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7031 # as there is no search path for DLLs.
7032 hardcode_libdir_flag_spec
='-L$libdir'
7033 allow_undefined_flag
=unsupported
7034 always_export_symbols
=no
7035 enable_shared_with_static_runtimes
=yes
7036 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7038 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7039 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7040 # If the export-symbols file already is a .def file (1st line
7041 # is EXPORTS), use it as is; otherwise, prepend...
7042 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7043 cp $export_symbols $output_objdir/$soname.def;
7045 echo EXPORTS > $output_objdir/$soname.def;
7046 cat $export_symbols >> $output_objdir/$soname.def;
7048 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7055 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7056 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7059 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7060 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7065 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7069 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7070 *** create shared libraries on Solaris systems. Therefore, libtool
7071 *** is disabling shared libraries support. We urge you to upgrade GNU
7072 *** binutils to release 2.9.1 or newer. Another option is to modify
7073 *** your PATH or compiler configuration so that the native linker is
7074 *** used, and then restart.
7077 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7078 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7079 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7086 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7089 hardcode_shlibpath_var
=no
7093 if $LD --help 2>&1 |
egrep ': supported targets:.* elf' > /dev
/null
; then
7094 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7095 archive_cmds
="$tmp_archive_cmds"
7096 supports_anon_versioning
=no
7097 case `$LD -v 2>/dev/null` in
7098 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7099 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7100 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7101 *\
2.11.
*) ;; # other 2.11 versions
7102 *) supports_anon_versioning
=yes ;;
7104 if test $supports_anon_versioning = yes; then
7105 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7106 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7107 $echo "local: *; };" >> $output_objdir/$libname.ver~
7108 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7110 archive_expsym_cmds
="$tmp_archive_cmds"
7118 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7119 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7120 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7127 if test "$ld_shlibs" = yes; then
7128 runpath_var
=LD_RUN_PATH
7129 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7130 export_dynamic_flag_spec
='${wl}--export-dynamic'
7131 # ancient GNU ld didn't support --whole-archive et. al.
7132 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7133 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7135 whole_archive_flag_spec
=
7139 # PORTME fill in a description of your system's linker (not GNU ld)
7142 allow_undefined_flag
=unsupported
7143 always_export_symbols
=yes
7144 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
7145 # Note: this linker hardcodes the directories in LIBPATH if there
7146 # are no directories specified by -L.
7147 hardcode_minus_L
=yes
7148 if test "$GCC" = yes && test -z "$link_static_flag"; then
7149 # Neither direct hardcoding nor static linking is supported with a
7151 hardcode_direct
=unsupported
7156 if test "$host_cpu" = ia64
; then
7157 # On IA64, the linker does run time linking by default, so we don't
7158 # have to do anything special.
7159 aix_use_runtimelinking
=no
7160 exp_sym_flag
='-Bexport'
7163 # If we're using GNU nm, then we don't want the "-C" option.
7164 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7165 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7166 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
7168 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
7170 aix_use_runtimelinking
=no
7172 # Test if we are trying to use run time linking or normal
7173 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7174 # need to do runtime linking.
7175 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7176 for ld_flag
in $LDFLAGS; do
7177 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7178 aix_use_runtimelinking
=yes
7184 exp_sym_flag
='-bexport'
7185 no_entry_flag
='-bnoentry'
7188 # When large executables or shared objects are built, AIX ld can
7189 # have problems creating the table of contents. If linking a library
7190 # or program results in "error TOC overflow" add -mminimal-toc to
7191 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7192 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7196 hardcode_libdir_separator
=':'
7197 link_all_deplibs
=yes
7199 if test "$GCC" = yes; then
7200 case $host_os in aix4.012|aix4.012.
*)
7201 # We only want to do this on AIX 4.2 and lower, the check
7202 # below for broken collect2 doesn't work under 4.3+
7203 collect2name
=`${CC} -print-prog-name=collect2`
7204 if test -f "$collect2name" && \
7205 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7207 # We have reworked collect2
7210 # We have old collect2
7211 hardcode_direct
=unsupported
7212 # It fails to find uninstalled libraries when the uninstalled
7213 # path is not listed in the libpath. Setting hardcode_minus_L
7214 # to unsupported forces relinking
7215 hardcode_minus_L
=yes
7216 hardcode_libdir_flag_spec
='-L$libdir'
7217 hardcode_libdir_separator
=
7220 shared_flag
='-shared'
7223 if test "$host_cpu" = ia64
; then
7224 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7225 # chokes on -Wl,-G. The following line is correct:
7228 if test "$aix_use_runtimelinking" = yes; then
7229 shared_flag
='${wl}-G'
7231 shared_flag
='${wl}-bM:SRE'
7236 # It seems that -bexpall does not export symbols beginning with
7237 # underscore (_), so it is better to generate a list of symbols to export.
7238 always_export_symbols
=yes
7239 if test "$aix_use_runtimelinking" = yes; then
7240 # Warning - without using the other runtime loading flags (-brtl),
7241 # -berok will link without error, but may produce a broken library.
7242 allow_undefined_flag
='-berok'
7243 # Determine the default libpath from the value encoded in an empty executable.
7244 cat >conftest.
$ac_ext <<_ACEOF
7247 cat confdefs.h
>>conftest.
$ac_ext
7248 cat >>conftest.
$ac_ext <<_ACEOF
7249 /* end confdefs.h. */
7259 rm -f conftest.
$ac_objext conftest
$ac_exeext
7260 if { (ac_try
="$ac_link"
7262 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7263 *) ac_try_echo=$ac_try;;
7265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7266 (eval "$ac_link") 2>conftest.er1
7268 grep -v '^ *+' conftest.er1 >conftest.err
7270 cat conftest.err >&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); } && {
7273 test -z "$ac_c_werror_flag" ||
7274 test ! -s conftest.err
7275 } && test -s conftest$ac_exeext &&
7276 $as_test_x conftest$ac_exeext; then
7278 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7280 # Check for a 64-bit object if we didn't find anything.
7281 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7284 echo "$as_me: failed program was:" >&5
7285 sed 's/^/| /' conftest.$ac_ext >&5
7290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7291 conftest$ac_exeext conftest.$ac_ext
7292 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7294 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7295 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7297 if test "$host_cpu" = ia64
; then
7298 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7299 allow_undefined_flag
="-z nodefs"
7300 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
7302 # Determine the default libpath from the value encoded in an empty executable.
7303 cat >conftest.$ac_ext <<_ACEOF
7306 cat confdefs.h >>conftest.$ac_ext
7307 cat >>conftest.$ac_ext <<_ACEOF
7308 /* end confdefs.h. */
7318 rm -f conftest.$ac_objext conftest$ac_exeext
7319 if { (ac_try="$ac_link"
7321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7322 *) ac_try_echo=$ac_try;;
7324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7325 (eval "$ac_link") 2>conftest.er1
7327 grep -v '^
*+' conftest.er1 >conftest.err
7329 cat conftest.err >&5
7330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7331 (exit $ac_status); } && {
7332 test -z "$ac_c_werror_flag" ||
7333 test ! -s conftest.err
7334 } && test -s conftest$ac_exeext &&
7335 $as_test_x conftest$ac_exeext; then
7337 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings
/,/^$
/ { /^
0/ { s
/^
0 *\
(.
*\
)$
/\
1/; p
; }
7339 # Check for a 64-bit object if we didn't
find anything.
7340 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7343 echo "$as_me: failed program was:" >&5
7344 sed 's/^/| /' conftest.
$ac_ext >&5
7349 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7350 conftest
$ac_exeext conftest.
$ac_ext
7351 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7353 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7354 # Warning - without using the other run time loading flags,
7355 # -berok will link without error, but may produce a broken library.
7356 no_undefined_flag
=' ${wl}-bernotok'
7357 allow_undefined_flag
=' ${wl}-berok'
7358 # -bexpall does not export symbols beginning with underscore (_)
7359 always_export_symbols
=yes
7360 # Exported symbols can be pulled into shared objects from archives
7361 whole_archive_flag_spec
=' '
7362 archive_cmds_need_lc
=yes
7363 # This is similar to how AIX traditionally builds it's shared libraries.
7364 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7370 archive_cmds
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7371 hardcode_libdir_flag_spec
='-L$libdir'
7372 hardcode_minus_L
=yes
7373 # see comment about different semantics on the GNU ld section
7378 export_dynamic_flag_spec
=-rdynamic
7381 cygwin
* | mingw
* | pw32
*)
7382 # When not using gcc, we currently assume that we are using
7383 # Microsoft Visual C++.
7384 # hardcode_libdir_flag_spec is actually meaningless, as there is
7385 # no search path for DLLs.
7386 hardcode_libdir_flag_spec
=' '
7387 allow_undefined_flag
=unsupported
7388 # Tell ltmain to make .lib files, not .a files.
7390 # Tell ltmain to make .dll files, not .so files.
7392 # FIXME: Setting linknames here is a bad hack.
7393 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7394 # The linker will automatically build a .lib file if we build a DLL.
7395 old_archive_From_new_cmds
='true'
7396 # FIXME: Should let the user specify the lib program.
7397 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7398 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7399 enable_shared_with_static_runtimes
=yes
7402 darwin
* | rhapsody
*)
7403 if test "$GXX" = yes ; then
7404 archive_cmds_need_lc
=no
7406 rhapsody
* | darwin1.
[012])
7407 allow_undefined_flag
='-undefined suppress'
7410 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7411 allow_undefined_flag
='-flat_namespace -undefined suppress'
7413 case ${MACOSX_DEPLOYMENT_TARGET} in
7415 allow_undefined_flag
='-flat_namespace -undefined suppress'
7418 allow_undefined_flag
='-undefined dynamic_lookup'
7424 lt_int_apple_cc_single_mod
=no
7425 output_verbose_link_cmd
='echo'
7426 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
7427 lt_int_apple_cc_single_mod
=yes
7429 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
7430 archive_cmds
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7432 archive_cmds
='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7434 module_cmds
='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7435 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7436 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
7437 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7439 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7441 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7443 hardcode_automatic
=yes
7444 hardcode_shlibpath_var
=unsupported
7445 whole_archive_flag_spec
='-all_load $convenience'
7446 link_all_deplibs
=yes
7453 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7454 hardcode_libdir_flag_spec
='-L$libdir'
7455 hardcode_shlibpath_var
=no
7462 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7463 # support. Future versions do this automatically, but an explicit c++rt0.o
7464 # does not break anything, and helps significantly (at the cost of a little
7467 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7468 hardcode_libdir_flag_spec
='-R$libdir'
7470 hardcode_shlibpath_var
=no
7473 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7475 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7477 hardcode_minus_L
=yes
7478 hardcode_shlibpath_var
=no
7481 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7482 freebsd
* | kfreebsd
*-gnu)
7483 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7484 hardcode_libdir_flag_spec
='-R$libdir'
7486 hardcode_shlibpath_var
=no
7490 if test "$GCC" = yes; then
7491 archive_cmds
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7493 archive_cmds
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7495 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7496 hardcode_libdir_separator
=:
7499 # hardcode_minus_L: Not really in the search PATH,
7500 # but as the default location of the library.
7501 hardcode_minus_L
=yes
7502 export_dynamic_flag_spec
='${wl}-E'
7506 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7509 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7512 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7518 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7521 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7525 if test "$with_gnu_ld" = no
; then
7528 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7529 hardcode_libdir_flag_spec_ld
='+b $libdir'
7530 hardcode_libdir_separator
=:
7532 hardcode_shlibpath_var
=no
7535 hardcode_libdir_flag_spec
='-L$libdir'
7537 hardcode_shlibpath_var
=no
7539 # hardcode_minus_L: Not really in the search PATH,
7540 # but as the default location of the library.
7541 hardcode_minus_L
=yes
7544 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7545 hardcode_libdir_separator
=:
7547 export_dynamic_flag_spec
='${wl}-E'
7549 # hardcode_minus_L: Not really in the search PATH,
7550 # but as the default location of the library.
7551 hardcode_minus_L
=yes
7557 irix5
* | irix6
* | nonstopux
*)
7558 if test "$GCC" = yes; then
7559 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7561 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7562 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7564 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7565 hardcode_libdir_separator
=:
7566 link_all_deplibs
=yes
7570 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7571 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7573 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7575 hardcode_libdir_flag_spec
='-R$libdir'
7577 hardcode_shlibpath_var
=no
7581 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7583 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7584 hardcode_libdir_separator
=:
7585 hardcode_shlibpath_var
=no
7590 hardcode_shlibpath_var
=no
7591 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7592 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7593 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7594 export_dynamic_flag_spec
='${wl}-E'
7597 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7598 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7599 hardcode_libdir_flag_spec
='-R$libdir'
7602 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7603 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7610 hardcode_libdir_flag_spec
='-L$libdir'
7611 hardcode_minus_L
=yes
7612 allow_undefined_flag
=unsupported
7613 archive_cmds
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
7614 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7618 if test "$GCC" = yes; then
7619 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7620 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7622 allow_undefined_flag
=' -expect_unresolved \*'
7623 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7625 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7626 hardcode_libdir_separator
=:
7629 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7630 if test "$GCC" = yes; then
7631 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7632 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7633 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7635 allow_undefined_flag
=' -expect_unresolved \*'
7636 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7637 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7638 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
7640 # Both c and cxx compiler support -rpath directly
7641 hardcode_libdir_flag_spec
='-rpath $libdir'
7643 hardcode_libdir_separator
=:
7647 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7648 hardcode_shlibpath_var
=no
7649 export_dynamic_flag_spec
='${wl}-Bexport'
7650 runpath_var
=LD_RUN_PATH
7651 hardcode_runpath_var
=yes
7655 no_undefined_flag
=' -z text'
7656 if test "$GCC" = yes; then
7657 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7658 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7659 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7661 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7662 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7663 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7665 hardcode_libdir_flag_spec
='-R$libdir'
7666 hardcode_shlibpath_var
=no
7668 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7669 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7670 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7672 link_all_deplibs
=yes
7676 if test "x$host_vendor" = xsequent
; then
7677 # Use $CC to link under sequent, because it throws in some extra .o
7678 # files that make .init and .fini sections work.
7679 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7681 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7683 hardcode_libdir_flag_spec
='-L$libdir'
7685 hardcode_minus_L
=yes
7686 hardcode_shlibpath_var
=no
7690 case $host_vendor in
7692 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7693 hardcode_direct
=yes # is this really true???
7696 ## LD is ld it makes a PLAMLIB
7697 ## CC just makes a GrossModule.
7698 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7699 reload_cmds
='$CC -r -o $output$reload_objs'
7703 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7704 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7707 runpath_var
='LD_RUN_PATH'
7708 hardcode_shlibpath_var
=no
7712 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7713 hardcode_shlibpath_var
=no
7714 export_dynamic_flag_spec
='-Bexport'
7718 if test -d /usr
/nec
; then
7719 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7720 hardcode_shlibpath_var
=no
7721 runpath_var
=LD_RUN_PATH
7722 hardcode_runpath_var
=yes
7728 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7731 hardcode_shlibpath_var
=no
7732 hardcode_runpath_var
=yes
7733 runpath_var
=LD_RUN_PATH
7736 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
7737 no_undefined_flag
='${wl}-z ${wl}text'
7738 if test "$GCC" = yes; then
7739 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7741 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7743 runpath_var
='LD_RUN_PATH'
7744 hardcode_shlibpath_var
=no
7748 no_undefined_flag
=' -z text'
7749 # $CC -shared without GNU ld will not create a library from C++
7750 # object files and a static libstdc++, better avoid it by now
7751 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7752 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7753 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7754 hardcode_libdir_flag_spec
=
7755 hardcode_shlibpath_var
=no
7756 runpath_var
='LD_RUN_PATH'
7760 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7761 hardcode_libdir_flag_spec
='-L$libdir'
7762 hardcode_shlibpath_var
=no
7771 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7772 echo "${ECHO_T}$ld_shlibs" >&6; }
7773 test "$ld_shlibs" = no
&& can_build_shared
=no
7775 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
7776 if test "$GCC" = yes; then
7777 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7781 # Do we need to explicitly link libc?
7783 case "x$archive_cmds_need_lc" in
7785 # Assume -lc should be added
7786 archive_cmds_need_lc
=yes
7788 if test "$enable_shared" = yes && test "$GCC" = yes; then
7789 case $archive_cmds in
7791 # FIXME: we may have to deal with multi-command sequences.
7794 # Test whether the compiler implicitly links with -lc since on some
7795 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7796 # to ld, don't add -lc before -lgcc.
7797 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7798 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
7800 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7803 (eval $ac_compile) 2>&5
7805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7806 (exit $ac_status); } 2>conftest.err
; then
7809 libobjs
=conftest.
$ac_objext
7811 wl
=$lt_prog_compiler_wl
7817 lt_save_allow_undefined_flag
=$allow_undefined_flag
7818 allow_undefined_flag
=
7819 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7820 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823 (exit $ac_status); }
7825 archive_cmds_need_lc
=no
7827 archive_cmds_need_lc
=yes
7829 allow_undefined_flag
=$lt_save_allow_undefined_flag
7831 cat conftest.err
1>&5
7834 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7835 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
7842 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7843 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
7845 libname_spec
='lib$name'
7853 shlibpath_overrides_runpath
=unknown
7855 dynamic_linker
="$host_os ld.so"
7856 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7857 if test "$GCC" = yes; then
7858 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7859 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7860 # if the path contains ";" then we assume it to be the separator
7861 # otherwise default to the standard path separator (i.e. ":") - it is
7862 # assumed that no part of a normal pathname contains ";" but that should
7863 # okay in the real world where ";" in dirpaths is itself problematic.
7864 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7866 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7869 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7871 need_lib_prefix
=unknown
7872 hardcode_into_libs
=no
7874 # when you set need_version to no, make sure it does not cause -set_version
7875 # flags to be left without arguments
7876 need_version
=unknown
7881 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7882 shlibpath_var
=LIBPATH
7884 # AIX 3 has no versioning support, so we append a major version to the name.
7885 soname_spec
='${libname}${release}${shared_ext}$major'
7892 hardcode_into_libs
=yes
7893 if test "$host_cpu" = ia64
; then
7894 # AIX 5 supports IA64
7895 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7896 shlibpath_var
=LD_LIBRARY_PATH
7898 # With GCC up to 2.95.x, collect2 would create an import file
7899 # for dependence libraries. The import file would start with
7900 # the line `#! .'. This would cause the generated library to
7901 # depend on `.', always an invalid library. This was fixed in
7902 # development snapshots of GCC prior to 3.0.
7904 aix4 | aix4.
[01] | aix4.
[01].
*)
7905 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7907 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
7914 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7915 # soname into executable. Probably we can add versioning support to
7916 # collect2, so additional links can be useful in future.
7917 if test "$aix_use_runtimelinking" = yes; then
7918 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7919 # instead of lib<name>.a to let people know that these are not
7920 # typical AIX shared libraries.
7921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7923 # We preserve .a as extension for shared libraries through AIX4.2
7924 # and later when we are not doing run time linking.
7925 library_names_spec
='${libname}${release}.a $libname.a'
7926 soname_spec
='${libname}${release}${shared_ext}$major'
7928 shlibpath_var
=LIBPATH
7933 library_names_spec
='$libname.ixlibrary $libname.a'
7934 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7935 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
7939 library_names_spec
='${libname}${shared_ext}'
7940 dynamic_linker
="$host_os ld.so"
7941 shlibpath_var
=LIBRARY_PATH
7947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7948 soname_spec
='${libname}${release}${shared_ext}$major'
7949 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
7950 shlibpath_var
=LD_LIBRARY_PATH
7951 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7952 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
7953 # the default ld.so.conf also contains /usr/contrib/lib and
7954 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7955 # libtool to hard-code these into programs
7958 cygwin
* | mingw
* | pw32
*)
7959 version_type
=windows
7964 case $GCC,$host_os in
7965 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
7966 library_names_spec
='$libname.dll.a'
7967 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7968 postinstall_cmds
='base_file=`basename \${file}`~
7969 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7970 dldir=$destdir/`dirname \$dlpath`~
7971 test -d \$dldir || mkdir -p \$dldir~
7972 $install_prog $dir/$dlname \$dldir/$dlname'
7973 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7974 dlpath=$dir/\$dldll~
7976 shlibpath_overrides_runpath
=yes
7980 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7981 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7982 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
7985 # MinGW DLLs use traditional 'lib' prefix
7986 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7987 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7988 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
7989 # It is most probably a Windows format PATH printed by
7990 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7991 # path with ; separators, and with drive letters. We can handle the
7992 # drive letters (cygwin fileutils understands them), so leave them,
7993 # especially as we might pass files found there to a mingw objdump,
7994 # which wouldn't understand a cygwinified path. Ahh.
7995 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7997 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8001 # pw32 DLLs use 'pw' prefix rather than 'lib'
8002 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
8008 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8011 dynamic_linker
='Win32 ld.exe'
8012 # FIXME: first we should search . and the directory the executable is in
8016 darwin
* | rhapsody
*)
8017 dynamic_linker
="$host_os dyld"
8021 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8022 soname_spec
='${libname}${release}${major}$shared_ext'
8023 shlibpath_overrides_runpath
=yes
8024 shlibpath_var
=DYLD_LIBRARY_PATH
8025 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
8026 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8027 if test "$GCC" = yes; then
8028 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8030 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8032 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8040 soname_spec
='${libname}${release}${shared_ext}$major'
8041 shlibpath_var
=LD_LIBRARY_PATH
8052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8053 soname_spec
='${libname}${release}${shared_ext}$major'
8054 shlibpath_var
=LD_LIBRARY_PATH
8055 shlibpath_overrides_runpath
=no
8056 hardcode_into_libs
=yes
8057 dynamic_linker
='GNU ld.so'
8061 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
8062 version_type
=freebsd-
$objformat
8063 case $version_type in
8065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8070 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8074 shlibpath_var
=LD_LIBRARY_PATH
8077 shlibpath_overrides_runpath
=yes
8079 freebsd3.01
* | freebsdelf3.01
*)
8080 shlibpath_overrides_runpath
=yes
8081 hardcode_into_libs
=yes
8084 shlibpath_overrides_runpath
=no
8085 hardcode_into_libs
=yes
8094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8095 soname_spec
='${libname}${release}${shared_ext}$major'
8096 shlibpath_var
=LD_LIBRARY_PATH
8097 hardcode_into_libs
=yes
8100 hpux9
* | hpux10
* | hpux11
*)
8101 # Give a soname corresponding to the major version so that dld.sl refuses to
8102 # link against other versions.
8109 hardcode_into_libs
=yes
8110 dynamic_linker
="$host_os dld.so"
8111 shlibpath_var
=LD_LIBRARY_PATH
8112 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8113 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8114 soname_spec
='${libname}${release}${shared_ext}$major'
8115 if test "X$HPUX_IA64_MODE" = X32
; then
8116 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8118 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8120 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8124 hardcode_into_libs
=yes
8125 dynamic_linker
="$host_os dld.sl"
8126 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8127 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8129 soname_spec
='${libname}${release}${shared_ext}$major'
8130 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8131 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8135 dynamic_linker
="$host_os dld.sl"
8136 shlibpath_var
=SHLIB_PATH
8137 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8139 soname_spec
='${libname}${release}${shared_ext}$major'
8142 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8143 postinstall_cmds
='chmod 555 $lib'
8146 irix5
* | irix6
* | nonstopux
*)
8148 nonstopux
*) version_type
=nonstopux
;;
8150 if test "$lt_cv_prog_gnu_ld" = yes; then
8158 soname_spec
='${libname}${release}${shared_ext}$major'
8159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8161 irix5
* | nonstopux
*)
8165 case $LD in # libtool.m4 will add one of these switches to LD
8166 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8167 libsuff
= shlibsuff
= libmagic
=32-bit;;
8168 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8169 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8170 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8171 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8172 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8176 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8177 shlibpath_overrides_runpath
=no
8178 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8179 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8180 hardcode_into_libs
=yes
8183 # No shared lib support for Linux oldld, aout, or coff.
8184 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8188 # This must be Linux ELF.
8193 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8194 soname_spec
='${libname}${release}${shared_ext}$major'
8195 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8196 shlibpath_var
=LD_LIBRARY_PATH
8197 shlibpath_overrides_runpath
=no
8198 # This implies no fast_install, which is unacceptable.
8199 # Some rework will be needed to allow for fast_install
8200 # before this can be enabled.
8201 hardcode_into_libs
=yes
8203 # We used to test for /lib/ld.so.1 and disable shared libraries on
8204 # powerpc, because MkLinux only supported shared libraries with the
8205 # GNU dynamic linker. Since this was broken with cross compilers,
8206 # most powerpc-linux boxes support dynamic linking these days and
8207 # people can always --disable-shared, the test was removed, and we
8208 # assume the GNU/Linux dynamic linker is in use.
8209 dynamic_linker
='GNU/Linux ld.so'
8216 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8218 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8219 dynamic_linker
='NetBSD (a.out) ld.so'
8221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
8222 soname_spec
='${libname}${release}${shared_ext}$major'
8223 dynamic_linker
='NetBSD ld.elf_so'
8225 shlibpath_var
=LD_LIBRARY_PATH
8226 shlibpath_overrides_runpath
=yes
8227 hardcode_into_libs
=yes
8232 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8233 shlibpath_var
=LD_LIBRARY_PATH
8234 shlibpath_overrides_runpath
=yes
8241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8242 soname_spec
='${libname}${release}${shared_ext}$major'
8243 shlibpath_var
=LD_LIBRARY_PATH
8244 shlibpath_overrides_runpath
=yes
8251 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8252 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8253 shlibpath_var
=LD_LIBRARY_PATH
8254 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8256 openbsd2.
[89] | openbsd2.
[89].
*)
8257 shlibpath_overrides_runpath
=no
8260 shlibpath_overrides_runpath
=yes
8264 shlibpath_overrides_runpath
=yes
8269 libname_spec
='$name'
8272 library_names_spec
='$libname${shared_ext} $libname.a'
8273 dynamic_linker
='OS/2 ld.exe'
8274 shlibpath_var
=LIBPATH
8277 osf3
* | osf4
* | osf5
*)
8281 soname_spec
='${libname}${release}${shared_ext}$major'
8282 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8283 shlibpath_var
=LD_LIBRARY_PATH
8284 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8285 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8290 soname_spec
='${libname}${release}${shared_ext}$major'
8291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8292 shlibpath_var
=LD_LIBRARY_PATH
8299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8300 soname_spec
='${libname}${release}${shared_ext}$major'
8301 shlibpath_var
=LD_LIBRARY_PATH
8302 shlibpath_overrides_runpath
=yes
8303 hardcode_into_libs
=yes
8304 # ldd complains unless libraries are executable
8305 postinstall_cmds
='chmod +x $lib'
8310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8311 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8312 shlibpath_var
=LD_LIBRARY_PATH
8313 shlibpath_overrides_runpath
=yes
8314 if test "$with_gnu_ld" = yes; then
8320 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8323 soname_spec
='${libname}${release}${shared_ext}$major'
8324 shlibpath_var
=LD_LIBRARY_PATH
8325 case $host_vendor in
8327 shlibpath_overrides_runpath
=no
8329 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8330 runpath_var
=LD_RUN_PATH
8338 shlibpath_overrides_runpath
=no
8339 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8345 if test -d /usr
/nec
;then
8347 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8348 soname_spec
='$libname${shared_ext}.$major'
8349 shlibpath_var
=LD_LIBRARY_PATH
8355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8356 soname_spec
='${libname}${release}${shared_ext}$major'
8357 shlibpath_var
=LD_LIBRARY_PATH
8364 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8365 echo "${ECHO_T}$dynamic_linker" >&6; }
8366 test "$dynamic_linker" = no
&& can_build_shared
=no
8368 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8369 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8371 if test -n "$hardcode_libdir_flag_spec" || \
8372 test -n "$runpath_var " || \
8373 test "X$hardcode_automatic"="Xyes" ; then
8375 # We can hardcode non-existant directories.
8376 if test "$hardcode_direct" != no
&&
8377 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8378 # have to relink, otherwise we might link with an installed library
8379 # when we should be linking with a yet-to-be-installed one
8380 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8381 test "$hardcode_minus_L" != no
; then
8382 # Linking always hardcodes the temporary library directory.
8383 hardcode_action
=relink
8385 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8386 hardcode_action
=immediate
8389 # We cannot hardcode anything, or else we can only hardcode existing
8391 hardcode_action
=unsupported
8393 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
8394 echo "${ECHO_T}$hardcode_action" >&6; }
8396 if test "$hardcode_action" = relink
; then
8397 # Fast installation is not supported
8398 enable_fast_install
=no
8399 elif test "$shlibpath_overrides_runpath" = yes ||
8400 test "$enable_shared" = no
; then
8401 # Fast installation is not necessary
8402 enable_fast_install
=needless
8407 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8408 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8409 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8410 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8411 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8412 { echo "$as_me:$LINENO: result: yes" >&5
8413 echo "${ECHO_T}yes" >&6; }
8415 # FIXME - insert some real tests, host_os isn't really good enough
8418 if test -n "$STRIP" ; then
8419 striplib
="$STRIP -x"
8420 { echo "$as_me:$LINENO: result: yes" >&5
8421 echo "${ECHO_T}yes" >&6; }
8423 { echo "$as_me:$LINENO: result: no" >&5
8424 echo "${ECHO_T}no" >&6; }
8428 { echo "$as_me:$LINENO: result: no" >&5
8429 echo "${ECHO_T}no" >&6; }
8434 if test "x$enable_dlopen" != xyes
; then
8435 enable_dlopen
=unknown
8436 enable_dlopen_self
=unknown
8437 enable_dlopen_self_static
=unknown
8444 lt_cv_dlopen
="load_add_on"
8446 lt_cv_dlopen_self
=yes
8450 lt_cv_dlopen
="LoadLibrary"
8455 lt_cv_dlopen
="dlopen"
8460 # if libdl is installed we need to link against it
8461 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8462 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8463 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8464 echo $ECHO_N "(cached) $ECHO_C" >&6
8466 ac_check_lib_save_LIBS
=$LIBS
8468 cat >conftest.
$ac_ext <<_ACEOF
8471 cat confdefs.h
>>conftest.
$ac_ext
8472 cat >>conftest.
$ac_ext <<_ACEOF
8473 /* end confdefs.h. */
8475 /* Override any GCC internal prototype to avoid an error.
8476 Use char because int might match the return type of a GCC
8477 builtin and then its argument prototype would still apply. */
8490 rm -f conftest.
$ac_objext conftest
$ac_exeext
8491 if { (ac_try
="$ac_link"
8493 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8494 *) ac_try_echo=$ac_try;;
8496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8497 (eval "$ac_link") 2>conftest.er1
8499 grep -v '^ *+' conftest.er1 >conftest.err
8501 cat conftest.err >&5
8502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8503 (exit $ac_status); } && {
8504 test -z "$ac_c_werror_flag" ||
8505 test ! -s conftest.err
8506 } && test -s conftest$ac_exeext &&
8507 $as_test_x conftest$ac_exeext; then
8508 ac_cv_lib_dl_dlopen=yes
8510 echo "$as_me: failed program was:" >&5
8511 sed 's/^/| /' conftest.$ac_ext >&5
8513 ac_cv_lib_dl_dlopen=no
8516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8517 conftest$ac_exeext conftest.$ac_ext
8518 LIBS=$ac_check_lib_save_LIBS
8520 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8521 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8522 if test $ac_cv_lib_dl_dlopen = yes; then
8523 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8528 lt_cv_dlopen_self=yes
8535 { echo "$as_me:$LINENO: checking for shl_load" >&5
8536 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8537 if test "${ac_cv_func_shl_load+set}" = set; then
8538 echo $ECHO_N "(cached) $ECHO_C" >&6
8540 cat >conftest.$ac_ext <<_ACEOF
8543 cat confdefs.h >>conftest.$ac_ext
8544 cat >>conftest.$ac_ext <<_ACEOF
8545 /* end confdefs.h. */
8546 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8548 #define shl_load innocuous_shl_load
8550 /* System header to define __stub macros and hopefully few prototypes,
8551 which can conflict with char shl_load (); below.
8552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8553 <limits.h> exists even on freestanding compilers. */
8556 # include <limits.h>
8558 # include <assert.h>
8563 /* Override any GCC internal prototype to avoid an error.
8564 Use char because int might match the return type of a GCC
8565 builtin and then its argument prototype would still apply. */
8570 /* The GNU C library defines this for functions which it implements
8571 to always fail with ENOSYS. Some functions are actually named
8572 something starting with __ and the normal name is an alias. */
8573 #if defined __stub_shl_load || defined __stub___shl_load
8585 rm -f conftest.$ac_objext conftest$ac_exeext
8586 if { (ac_try="$ac_link"
8588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8589 *) ac_try_echo
=$ac_try;;
8591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8592 (eval "$ac_link") 2>conftest.er1
8594 grep -v '^ *+' conftest.er1
>conftest.err
8596 cat conftest.err
>&5
8597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8598 (exit $ac_status); } && {
8599 test -z "$ac_c_werror_flag" ||
8600 test ! -s conftest.err
8601 } && test -s conftest
$ac_exeext &&
8602 $as_test_x conftest
$ac_exeext; then
8603 ac_cv_func_shl_load
=yes
8605 echo "$as_me: failed program was:" >&5
8606 sed 's/^/| /' conftest.
$ac_ext >&5
8608 ac_cv_func_shl_load
=no
8611 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8612 conftest
$ac_exeext conftest.
$ac_ext
8614 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8615 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
8616 if test $ac_cv_func_shl_load = yes; then
8617 lt_cv_dlopen
="shl_load"
8619 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8620 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8621 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8622 echo $ECHO_N "(cached) $ECHO_C" >&6
8624 ac_check_lib_save_LIBS
=$LIBS
8626 cat >conftest.
$ac_ext <<_ACEOF
8629 cat confdefs.h
>>conftest.
$ac_ext
8630 cat >>conftest.
$ac_ext <<_ACEOF
8631 /* end confdefs.h. */
8633 /* Override any GCC internal prototype to avoid an error.
8634 Use char because int might match the return type of a GCC
8635 builtin and then its argument prototype would still apply. */
8648 rm -f conftest.
$ac_objext conftest
$ac_exeext
8649 if { (ac_try
="$ac_link"
8651 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8652 *) ac_try_echo=$ac_try;;
8654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8655 (eval "$ac_link") 2>conftest.er1
8657 grep -v '^ *+' conftest.er1 >conftest.err
8659 cat conftest.err >&5
8660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661 (exit $ac_status); } && {
8662 test -z "$ac_c_werror_flag" ||
8663 test ! -s conftest.err
8664 } && test -s conftest$ac_exeext &&
8665 $as_test_x conftest$ac_exeext; then
8666 ac_cv_lib_dld_shl_load=yes
8668 echo "$as_me: failed program was:" >&5
8669 sed 's/^/| /' conftest.$ac_ext >&5
8671 ac_cv_lib_dld_shl_load=no
8674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8675 conftest$ac_exeext conftest.$ac_ext
8676 LIBS=$ac_check_lib_save_LIBS
8678 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8679 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8680 if test $ac_cv_lib_dld_shl_load = yes; then
8681 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8683 { echo "$as_me:$LINENO: checking for dlopen" >&5
8684 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
8685 if test "${ac_cv_func_dlopen+set}" = set; then
8686 echo $ECHO_N "(cached) $ECHO_C" >&6
8688 cat >conftest.$ac_ext <<_ACEOF
8691 cat confdefs.h >>conftest.$ac_ext
8692 cat >>conftest.$ac_ext <<_ACEOF
8693 /* end confdefs.h. */
8694 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8696 #define dlopen innocuous_dlopen
8698 /* System header to define __stub macros and hopefully few prototypes,
8699 which can conflict with char dlopen (); below.
8700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8701 <limits.h> exists even on freestanding compilers. */
8704 # include <limits.h>
8706 # include <assert.h>
8711 /* Override any GCC internal prototype to avoid an error.
8712 Use char because int might match the return type of a GCC
8713 builtin and then its argument prototype would still apply. */
8718 /* The GNU C library defines this for functions which it implements
8719 to always fail with ENOSYS. Some functions are actually named
8720 something starting with __ and the normal name is an alias. */
8721 #if defined __stub_dlopen || defined __stub___dlopen
8733 rm -f conftest.$ac_objext conftest$ac_exeext
8734 if { (ac_try="$ac_link"
8736 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8737 *) ac_try_echo
=$ac_try;;
8739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8740 (eval "$ac_link") 2>conftest.er1
8742 grep -v '^ *+' conftest.er1
>conftest.err
8744 cat conftest.err
>&5
8745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8746 (exit $ac_status); } && {
8747 test -z "$ac_c_werror_flag" ||
8748 test ! -s conftest.err
8749 } && test -s conftest
$ac_exeext &&
8750 $as_test_x conftest
$ac_exeext; then
8751 ac_cv_func_dlopen
=yes
8753 echo "$as_me: failed program was:" >&5
8754 sed 's/^/| /' conftest.
$ac_ext >&5
8756 ac_cv_func_dlopen
=no
8759 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8760 conftest
$ac_exeext conftest.
$ac_ext
8762 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8763 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
8764 if test $ac_cv_func_dlopen = yes; then
8765 lt_cv_dlopen
="dlopen"
8767 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8768 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8769 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8770 echo $ECHO_N "(cached) $ECHO_C" >&6
8772 ac_check_lib_save_LIBS
=$LIBS
8774 cat >conftest.
$ac_ext <<_ACEOF
8777 cat confdefs.h
>>conftest.
$ac_ext
8778 cat >>conftest.
$ac_ext <<_ACEOF
8779 /* end confdefs.h. */
8781 /* Override any GCC internal prototype to avoid an error.
8782 Use char because int might match the return type of a GCC
8783 builtin and then its argument prototype would still apply. */
8796 rm -f conftest.
$ac_objext conftest
$ac_exeext
8797 if { (ac_try
="$ac_link"
8799 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8800 *) ac_try_echo=$ac_try;;
8802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8803 (eval "$ac_link") 2>conftest.er1
8805 grep -v '^ *+' conftest.er1 >conftest.err
8807 cat conftest.err >&5
8808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809 (exit $ac_status); } && {
8810 test -z "$ac_c_werror_flag" ||
8811 test ! -s conftest.err
8812 } && test -s conftest$ac_exeext &&
8813 $as_test_x conftest$ac_exeext; then
8814 ac_cv_lib_dl_dlopen=yes
8816 echo "$as_me: failed program was:" >&5
8817 sed 's/^/| /' conftest.$ac_ext >&5
8819 ac_cv_lib_dl_dlopen=no
8822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8823 conftest$ac_exeext conftest.$ac_ext
8824 LIBS=$ac_check_lib_save_LIBS
8826 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8827 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8828 if test $ac_cv_lib_dl_dlopen = yes; then
8829 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8831 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8832 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
8833 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8834 echo $ECHO_N "(cached) $ECHO_C" >&6
8836 ac_check_lib_save_LIBS=$LIBS
8838 cat >conftest.$ac_ext <<_ACEOF
8841 cat confdefs.h >>conftest.$ac_ext
8842 cat >>conftest.$ac_ext <<_ACEOF
8843 /* end confdefs.h. */
8845 /* Override any GCC internal prototype to avoid an error.
8846 Use char because int might match the return type of a GCC
8847 builtin and then its argument prototype would still apply. */
8860 rm -f conftest.$ac_objext conftest$ac_exeext
8861 if { (ac_try="$ac_link"
8863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8864 *) ac_try_echo
=$ac_try;;
8866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8867 (eval "$ac_link") 2>conftest.er1
8869 grep -v '^ *+' conftest.er1
>conftest.err
8871 cat conftest.err
>&5
8872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8873 (exit $ac_status); } && {
8874 test -z "$ac_c_werror_flag" ||
8875 test ! -s conftest.err
8876 } && test -s conftest
$ac_exeext &&
8877 $as_test_x conftest
$ac_exeext; then
8878 ac_cv_lib_svld_dlopen
=yes
8880 echo "$as_me: failed program was:" >&5
8881 sed 's/^/| /' conftest.
$ac_ext >&5
8883 ac_cv_lib_svld_dlopen
=no
8886 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8887 conftest
$ac_exeext conftest.
$ac_ext
8888 LIBS
=$ac_check_lib_save_LIBS
8890 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8891 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
8892 if test $ac_cv_lib_svld_dlopen = yes; then
8893 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
8895 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8896 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
8897 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8898 echo $ECHO_N "(cached) $ECHO_C" >&6
8900 ac_check_lib_save_LIBS
=$LIBS
8902 cat >conftest.
$ac_ext <<_ACEOF
8905 cat confdefs.h
>>conftest.
$ac_ext
8906 cat >>conftest.
$ac_ext <<_ACEOF
8907 /* end confdefs.h. */
8909 /* Override any GCC internal prototype to avoid an error.
8910 Use char because int might match the return type of a GCC
8911 builtin and then its argument prototype would still apply. */
8924 rm -f conftest.
$ac_objext conftest
$ac_exeext
8925 if { (ac_try
="$ac_link"
8927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8928 *) ac_try_echo=$ac_try;;
8930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8931 (eval "$ac_link") 2>conftest.er1
8933 grep -v '^ *+' conftest.er1 >conftest.err
8935 cat conftest.err >&5
8936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8937 (exit $ac_status); } && {
8938 test -z "$ac_c_werror_flag" ||
8939 test ! -s conftest.err
8940 } && test -s conftest$ac_exeext &&
8941 $as_test_x conftest$ac_exeext; then
8942 ac_cv_lib_dld_dld_link=yes
8944 echo "$as_me: failed program was:" >&5
8945 sed 's/^/| /' conftest.$ac_ext >&5
8947 ac_cv_lib_dld_dld_link=no
8950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8951 conftest$ac_exeext conftest.$ac_ext
8952 LIBS=$ac_check_lib_save_LIBS
8954 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8955 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
8956 if test $ac_cv_lib_dld_dld_link = yes; then
8957 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8978 if test "x$lt_cv_dlopen" != xno; then
8984 case $lt_cv_dlopen in
8986 save_CPPFLAGS="$CPPFLAGS"
8987 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8989 save_LDFLAGS="$LDFLAGS"
8990 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8993 LIBS="$lt_cv_dlopen_libs $LIBS"
8995 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8996 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
8997 if test "${lt_cv_dlopen_self+set}" = set; then
8998 echo $ECHO_N "(cached) $ECHO_C" >&6
9000 if test "$cross_compiling" = yes; then :
9001 lt_cv_dlopen_self=cross
9003 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9004 lt_status=$lt_dlunknown
9005 cat > conftest.$ac_ext <<EOF
9006 #line 9006 "configure"
9007 #include "confdefs.h"
9016 # define LT_DLGLOBAL RTLD_GLOBAL
9019 # define LT_DLGLOBAL DL_GLOBAL
9021 # define LT_DLGLOBAL 0
9025 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9026 find out it does not work in some platform. */
9027 #ifndef LT_DLLAZY_OR_NOW
9029 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9032 # define LT_DLLAZY_OR_NOW DL_LAZY
9035 # define LT_DLLAZY_OR_NOW RTLD_NOW
9038 # define LT_DLLAZY_OR_NOW DL_NOW
9040 # define LT_DLLAZY_OR_NOW 0
9048 extern "C" void exit (int);
9051 void fnord() { int i=42;}
9054 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9055 int status = $lt_dlunknown;
9059 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9060 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9061 /* dlclose (self); */
9067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9068 (eval $ac_link) 2>&5
9070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9071 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9072 (./conftest; exit; ) 2>/dev/null
9075 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9076 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9077 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
9080 # compilation failed
9081 lt_cv_dlopen_self=no
9088 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9089 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9091 if test "x$lt_cv_dlopen_self" = xyes; then
9092 LDFLAGS="$LDFLAGS $link_static_flag"
9093 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9094 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9095 if test "${lt_cv_dlopen_self_static+set}" = set; then
9096 echo $ECHO_N "(cached) $ECHO_C" >&6
9098 if test "$cross_compiling" = yes; then :
9099 lt_cv_dlopen_self_static=cross
9101 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9102 lt_status=$lt_dlunknown
9103 cat > conftest.$ac_ext <<EOF
9104 #line 9104 "configure"
9105 #include "confdefs.h"
9114 # define LT_DLGLOBAL RTLD_GLOBAL
9117 # define LT_DLGLOBAL DL_GLOBAL
9119 # define LT_DLGLOBAL 0
9123 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9124 find out it does not work in some platform. */
9125 #ifndef LT_DLLAZY_OR_NOW
9127 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9130 # define LT_DLLAZY_OR_NOW DL_LAZY
9133 # define LT_DLLAZY_OR_NOW RTLD_NOW
9136 # define LT_DLLAZY_OR_NOW DL_NOW
9138 # define LT_DLLAZY_OR_NOW 0
9146 extern "C" void exit (int);
9149 void fnord() { int i=42;}
9152 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9153 int status = $lt_dlunknown;
9157 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9158 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9159 /* dlclose (self); */
9165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9166 (eval $ac_link) 2>&5
9168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9169 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9170 (./conftest; exit; ) 2>/dev/null
9173 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9174 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9175 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
9178 # compilation failed
9179 lt_cv_dlopen_self_static=no
9186 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9187 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9190 CPPFLAGS="$save_CPPFLAGS"
9191 LDFLAGS="$save_LDFLAGS"
9196 case $lt_cv_dlopen_self in
9197 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
9198 *) enable_dlopen_self=unknown ;;
9201 case $lt_cv_dlopen_self_static in
9202 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
9203 *) enable_dlopen_self_static=unknown ;;
9208 # Report which librarie types wil actually be built
9209 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9210 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
9211 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
9212 echo "${ECHO_T}$can_build_shared" >&6; }
9214 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9215 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9216 test "$can_build_shared" = "no" && enable_shared=no
9218 # On AIX, shared libraries and static libraries use the same namespace, and
9219 # are all built from PIC.
9222 test "$enable_shared" = yes && enable_static=no
9223 if test -n "$RANLIB"; then
9224 archive_cmds="$archive_cmds~\$RANLIB \$lib"
9225 postinstall_cmds='$RANLIB $lib'
9230 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9231 test "$enable_shared" = yes && enable_static=no
9234 darwin* | rhapsody*)
9235 if test "$GCC" = yes; then
9236 archive_cmds_need_lc=no
9238 rhapsody* | darwin1.[012])
9239 allow_undefined_flag='-undefined suppress'
9242 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9243 allow_undefined_flag='-flat_namespace -undefined suppress'
9245 case ${MACOSX_DEPLOYMENT_TARGET} in
9247 allow_undefined_flag='-flat_namespace -undefined suppress'
9250 allow_undefined_flag='-undefined dynamic_lookup'
9256 output_verbose_link_cmd='echo'
9257 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
9258 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9259 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9260 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9261 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9263 hardcode_automatic=yes
9264 hardcode_shlibpath_var=unsupported
9265 whole_archive_flag_spec='-all_load $convenience'
9266 link_all_deplibs=yes
9272 { echo "$as_me:$LINENO: result: $enable_shared" >&5
9273 echo "${ECHO_T}$enable_shared" >&6; }
9275 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9276 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9277 # Make sure either enable_shared or enable_static is yes.
9278 test "$enable_shared" = yes || enable_static=yes
9279 { echo "$as_me:$LINENO: result: $enable_static" >&5
9280 echo "${ECHO_T}$enable_static" >&6; }
9282 # The else clause should only fire when bootstrapping the
9283 # libtool distribution, otherwise you forgot to ship ltmain.sh
9284 # with your package, and you will get complaints that there are
9285 # no rules to generate ltmain.sh.
9286 if test -f "$ltmain"; then
9287 # See if we are running on zsh, and set the options which allow our commands through
9288 # without removal of \ escapes.
9289 if test -n "${ZSH_VERSION+set}" ; then
9290 setopt NO_GLOB_SUBST
9292 # Now quote all the things that may contain metacharacters while being
9293 # careful not to overquote the AC_SUBSTed values. We take copies of the
9294 # variables and quote the copies for generation of the libtool script.
9295 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
9296 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9297 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9298 deplibs_check_method reload_flag reload_cmds need_locks \
9299 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9300 lt_cv_sys_global_symbol_to_c_name_address \
9301 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9302 old_postinstall_cmds old_postuninstall_cmds \
9306 lt_prog_compiler_wl \
9307 lt_prog_compiler_pic \
9308 lt_prog_compiler_static \
9309 lt_prog_compiler_no_builtin_flag \
9310 export_dynamic_flag_spec \
9311 thread_safe_flag_spec \
9312 whole_archive_flag_spec \
9313 enable_shared_with_static_runtimes \
9315 old_archive_from_new_cmds \
9320 compiler_lib_search_path \
9322 archive_expsym_cmds \
9324 postuninstall_cmds \
9325 old_archive_from_expsyms_cmds \
9326 allow_undefined_flag \
9328 export_symbols_cmds \
9329 hardcode_libdir_flag_spec \
9330 hardcode_libdir_flag_spec_ld \
9331 hardcode_libdir_separator \
9332 hardcode_automatic \
9334 module_expsym_cmds \
9335 lt_cv_prog_compiler_c_o \
9340 old_archive_cmds | \
9341 old_archive_from_new_cmds | \
9343 archive_expsym_cmds | \
9345 module_expsym_cmds | \
9346 old_archive_from_expsyms_cmds | \
9347 export_symbols_cmds | \
9348 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9349 postinstall_cmds | postuninstall_cmds | \
9350 old_postinstall_cmds | old_postuninstall_cmds | \
9351 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
9352 # Double-quote double-evaled strings.
9353 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
9356 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
9362 *'\$0 --fallback-echo"')
9363 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9368 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9370 { echo "$as_me:$LINENO: creating $ofile" >&5
9371 echo "$as_me: creating $ofile" >&6;}
9373 cat <<__EOF__ >> "$cfgfile"
9376 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
9377 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9378 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9380 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9381 # Free Software Foundation, Inc.
9383 # This file is part of GNU Libtool:
9384 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9386 # This program is free software; you can redistribute it and/or modify
9387 # it under the terms of the GNU General Public License as published by
9388 # the Free Software Foundation; either version 2 of the License, or
9389 # (at your option) any later version.
9391 # This program is distributed in the hope that it will be useful, but
9392 # WITHOUT ANY WARRANTY; without even the implied warranty of
9393 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9394 # General Public License for more details.
9396 # You should have received a copy of the GNU General Public License
9397 # along with this program; if not, write to the Free Software
9398 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
9400 # As a special exception to the GNU General Public License, if you
9401 # distribute this file as part of a program that contains a
9402 # configuration script generated by Autoconf, you may include it under
9403 # the same distribution terms that you use for the rest of that program.
9405 # A sed program that does not truncate output.
9408 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9409 Xsed="$SED -e s/^X//"
9411 # The HP-UX ksh and POSIX shell print the target directory to stdout
9413 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
9415 # The names of the tagged configurations supported by this script.
9418 # ### BEGIN LIBTOOL CONFIG
9420 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
9422 # Shell to use when invoking shell scripts.
9425 # Whether or not to build shared libraries.
9426 build_libtool_libs=$enable_shared
9428 # Whether or not to build static libraries.
9429 build_old_libs=$enable_static
9431 # Whether or not to add -lc for building shared libraries.
9432 build_libtool_need_lc=$archive_cmds_need_lc
9434 # Whether or not to disallow shared libs when runtime libs are static
9435 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9437 # Whether or not to optimize for fast installation.
9438 fast_install=$enable_fast_install
9441 host_alias=$host_alias
9444 # An echo program that does not interpret backslashes.
9449 AR_FLAGS=$lt_AR_FLAGS
9454 # A language-specific compiler.
9457 # Is the compiler the GNU C compiler?
9463 # The linker used to build libraries.
9466 # Whether we need hard or soft links.
9469 # A BSD-compatible nm program.
9472 # A symbol stripping program
9475 # Used to examine libraries when file_magic_cmd begins "file"
9476 MAGIC_CMD=$MAGIC_CMD
9478 # Used on cygwin: DLL creation program.
9481 # Used on cygwin: object dumper.
9484 # Used on cygwin: assembler.
9487 # The name of the directory that contains temporary libtool files.
9490 # How to create reloadable object files.
9491 reload_flag=$lt_reload_flag
9492 reload_cmds=$lt_reload_cmds
9494 # How to pass a linker flag through the compiler.
9495 wl=$lt_lt_prog_compiler_wl
9497 # Object file suffix (normally "o").
9500 # Old archive suffix (normally "a").
9503 # Shared library suffix (normally ".so").
9506 # Executable file suffix (normally "").
9509 # Additional compiler flags for building library objects.
9510 pic_flag=$lt_lt_prog_compiler_pic
9513 # What is the maximum length of a command?
9514 max_cmd_len=$lt_cv_sys_max_cmd_len
9516 # Does compiler simultaneously support -c and -o options?
9517 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9519 # Must we lock files when doing compilation ?
9520 need_locks=$lt_need_locks
9522 # Do we need the lib prefix for modules?
9523 need_lib_prefix=$need_lib_prefix
9525 # Do we need a version for libraries?
9526 need_version=$need_version
9528 # Whether dlopen is supported.
9529 dlopen_support=$enable_dlopen
9531 # Whether dlopen of programs is supported.
9532 dlopen_self=$enable_dlopen_self
9534 # Whether dlopen of statically linked programs is supported.
9535 dlopen_self_static=$enable_dlopen_self_static
9537 # Compiler flag to prevent dynamic linking.
9538 link_static_flag=$lt_lt_prog_compiler_static
9540 # Compiler flag to turn off builtin functions.
9541 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9543 # Compiler flag to allow reflexive dlopens.
9544 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9546 # Compiler flag to generate shared objects directly from archives.
9547 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9549 # Compiler flag to generate thread-safe objects.
9550 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9552 # Library versioning type.
9553 version_type=$version_type
9555 # Format of library name prefix.
9556 libname_spec=$lt_libname_spec
9558 # List of archive names. First name is the real one, the rest are links.
9559 # The last name is the one that the linker finds with -lNAME.
9560 library_names_spec=$lt_library_names_spec
9562 # The coded name of the library, if different from the real name.
9563 soname_spec=$lt_soname_spec
9565 # Commands used to build and install an old-style archive.
9567 old_archive_cmds=$lt_old_archive_cmds
9568 old_postinstall_cmds=$lt_old_postinstall_cmds
9569 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9571 # Create an old-style archive from a shared archive.
9572 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9574 # Create a temporary old-style archive to link instead of a shared archive.
9575 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9577 # Commands used to build and install a shared archive.
9578 archive_cmds=$lt_archive_cmds
9579 archive_expsym_cmds=$lt_archive_expsym_cmds
9580 postinstall_cmds=$lt_postinstall_cmds
9581 postuninstall_cmds=$lt_postuninstall_cmds
9583 # Commands used to build a loadable module (assumed same as above if empty)
9584 module_cmds=$lt_module_cmds
9585 module_expsym_cmds=$lt_module_expsym_cmds
9587 # Commands to strip libraries.
9588 old_striplib=$lt_old_striplib
9589 striplib=$lt_striplib
9591 # Dependencies to place before the objects being linked to create a
9593 predep_objects=$lt_predep_objects
9595 # Dependencies to place after the objects being linked to create a
9597 postdep_objects=$lt_postdep_objects
9599 # Dependencies to place before the objects being linked to create a
9603 # Dependencies to place after the objects being linked to create a
9605 postdeps=$lt_postdeps
9607 # The library search path used internally by the compiler when linking
9609 compiler_lib_search_path=$lt_compiler_lib_search_path
9611 # Method to check whether dependent libraries are shared objects.
9612 deplibs_check_method=$lt_deplibs_check_method
9614 # Command to use when deplibs_check_method == file_magic.
9615 file_magic_cmd=$lt_file_magic_cmd
9617 # Flag that allows shared libraries with undefined symbols to be built.
9618 allow_undefined_flag=$lt_allow_undefined_flag
9620 # Flag that forces no undefined symbols.
9621 no_undefined_flag=$lt_no_undefined_flag
9623 # Commands used to finish a libtool library installation in a directory.
9624 finish_cmds=$lt_finish_cmds
9626 # Same as above, but a single script fragment to be evaled but not shown.
9627 finish_eval=$lt_finish_eval
9629 # Take the output of nm and produce a listing of raw symbols and C names.
9630 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9632 # Transform the output of nm in a proper C declaration
9633 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9635 # Transform the output of nm in a C name address pair
9636 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9638 # This is the shared library runtime path variable.
9639 runpath_var=$runpath_var
9641 # This is the shared library path variable.
9642 shlibpath_var=$shlibpath_var
9644 # Is shlibpath searched before the hard-coded library search path?
9645 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9647 # How to hardcode a shared library path into an executable.
9648 hardcode_action=$hardcode_action
9650 # Whether we should hardcode library paths into libraries.
9651 hardcode_into_libs=$hardcode_into_libs
9653 # Flag to hardcode \$libdir into a binary during linking.
9654 # This must work even if \$libdir does not exist.
9655 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9657 # If ld is used when linking, flag to hardcode \$libdir into
9658 # a binary during linking. This must work even if \$libdir does
9660 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9662 # Whether we need a single -rpath flag with a separated argument.
9663 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9665 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9667 hardcode_direct=$hardcode_direct
9669 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9671 hardcode_minus_L=$hardcode_minus_L
9673 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9674 # the resulting binary.
9675 hardcode_shlibpath_var=$hardcode_shlibpath_var
9677 # Set to yes if building a shared library automatically hardcodes DIR into the library
9678 # and all subsequent libraries and executables linked against it.
9679 hardcode_automatic=$hardcode_automatic
9681 # Variables whose values should be saved in libtool wrapper scripts and
9682 # restored at relink time.
9683 variables_saved_for_relink="$variables_saved_for_relink"
9685 # Whether libtool must link a program against all its dependency libraries.
9686 link_all_deplibs=$link_all_deplibs
9688 # Compile-time system search path for libraries
9689 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9691 # Run-time system search path for libraries
9692 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9694 # Fix the shell variable \$srcfile for the compiler.
9695 fix_srcfile_path="$fix_srcfile_path"
9697 # Set to yes if exported symbols are required.
9698 always_export_symbols=$always_export_symbols
9700 # The commands to list exported symbols.
9701 export_symbols_cmds=$lt_export_symbols_cmds
9703 # The commands to extract the exported symbol list from a shared archive.
9704 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9706 # Symbols that should not be listed in the preloaded symbols.
9707 exclude_expsyms=$lt_exclude_expsyms
9709 # Symbols that must always be exported.
9710 include_expsyms=$lt_include_expsyms
9712 # ### END LIBTOOL CONFIG
9719 cat <<\EOF >> "$cfgfile"
9721 # AIX sometimes has problems with the GCC collect2 program. For some
9722 # reason, if we set the COLLECT_NAMES environment variable, the problems
9723 # vanish in a puff of smoke.
9724 if test "X${COLLECT_NAMES+set}" != Xset; then
9726 export COLLECT_NAMES
9732 # We use sed instead of cat because bash on DJGPP gets confused if
9733 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9734 # text mode, it properly converts lines to CR/LF. This bash problem
9735 # is reportedly fixed, but why not run on old versions too?
9736 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9738 mv -f "$cfgfile" "$ofile" || \
9739 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9743 # If there is no Makefile yet, we rely on a make rule to execute
9744 # `config.status
--recheck' to rerun these tests and create the
9745 # libtool script then.
9746 test -f Makefile && make "$ltmain"
9751 ac_cpp='$CPP $CPPFLAGS'
9752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
9753 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
9754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9759 # Check whether --with-tags was given.
9760 if test "${with_tags+set}" = set; then
9761 withval=$with_tags; tagnames="$withval"
9765 if test -f "$ltmain" && test -n "$tagnames"; then
9766 if test ! -f "${ofile}"; then
9767 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
9768 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
9771 if test -z "$LTCC"; then
9772 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
9773 if test -z "$LTCC"; then
9774 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9775 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
9777 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
9778 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
9782 # Extract list of available tagged configurations in $ofile.
9783 # Note that this assumes the entire list is on one line.
9784 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9786 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9787 for tagname in $tagnames; do
9789 # Check whether tagname contains only valid characters
9790 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9792 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9793 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9794 { (exit 1); exit 1; }; }
9798 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9800 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9801 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9802 { (exit 1); exit 1; }; }
9805 # Update the list of available tags.
9806 if test -n "$tagname"; then
9807 echo appending configuration tag \"$tagname\" to $ofile
9811 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9813 ac_cpp='$CXXCPP $CPPFLAGS'
9814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9821 archive_cmds_need_lc_CXX=no
9822 allow_undefined_flag_CXX=
9823 always_export_symbols_CXX=no
9824 archive_expsym_cmds_CXX=
9825 export_dynamic_flag_spec_CXX=
9826 hardcode_direct_CXX=no
9827 hardcode_libdir_flag_spec_CXX=
9828 hardcode_libdir_flag_spec_ld_CXX=
9829 hardcode_libdir_separator_CXX=
9830 hardcode_minus_L_CXX=no
9831 hardcode_automatic_CXX=no
9833 module_expsym_cmds_CXX=
9834 link_all_deplibs_CXX=unknown
9835 old_archive_cmds_CXX=$old_archive_cmds
9836 no_undefined_flag_CXX=
9837 whole_archive_flag_spec_CXX=
9838 enable_shared_with_static_runtimes_CXX=no
9840 # Dependencies to place before and after the object being linked:
9842 postdep_objects_CXX=
9845 compiler_lib_search_path_CXX=
9847 # Source file extension for C++ test sources.
9850 # Object file extension for compiled C++ test sources.
9854 # Code to be used in simple compile tests
9855 lt_simple_compile_test_code="int some_variable = 0;\n"
9857 # Code to be used in simple link tests
9858 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9860 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9862 # If no C compiler was specified, use CC.
9865 # Allow CC to be a program name with arguments.
9869 # Allow CC to be a program name with arguments.
9874 lt_save_with_gnu_ld=$with_gnu_ld
9875 lt_save_path_LD=$lt_cv_path_LD
9876 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9877 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9879 unset lt_cv_prog_gnu_ld
9881 if test -n "${lt_cv_path_LDCXX+set}"; then
9882 lt_cv_path_LD=$lt_cv_path_LDCXX
9886 test -z "${LDCXX+set}" || LD=$LDCXX
9890 cc_basename=`$echo X
"$compiler" |
$Xsed -e 's%^.*/%%'`
9892 # We don't want -fno-exception wen compiling C++ code, so set the
9893 # no_builtin_flag separately
9894 if test "$GXX" = yes; then
9895 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9897 lt_prog_compiler_no_builtin_flag_CXX=
9900 if test "$GXX" = yes; then
9901 # Set up default GNU C++ configuration
9904 # Check whether --with-gnu-ld was given.
9905 if test "${with_gnu_ld+set}" = set; then
9906 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
9912 if test "$GCC" = yes; then
9913 # Check if gcc -print-prog-name=ld gives a path.
9914 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9915 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
9918 # gcc leaves a trailing carriage return which upsets mingw
9919 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
9921 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
9924 # Accept absolute paths.
9926 re_direlt='/[^/][^/]*/\.\./'
9927 # Canonicalize the pathname of ld
9928 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
9929 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9930 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
9932 test -z "$LD" && LD="$ac_prog"
9935 # If it fails, then pretend we aren't using GCC.
9939 # If it is relative, then search for the first ld in PATH.
9943 elif test "$with_gnu_ld" = yes; then
9944 { echo "$as_me:$LINENO: checking for GNU ld" >&5
9945 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
9947 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9948 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
9950 if test "${lt_cv_path_LD+set}" = set; then
9951 echo $ECHO_N "(cached) $ECHO_C" >&6
9953 if test -z "$LD"; then
9954 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9955 for ac_dir in $PATH; do
9957 test -z "$ac_dir" && ac_dir=.
9958 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9959 lt_cv_path_LD="$ac_dir/$ac_prog"
9960 # Check to see if the program is GNU ld. I'd rather use --version,
9961 # but apparently some GNU ld's only accept -v.
9962 # Break only if it was the GNU/non-GNU ld that we prefer.
9963 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
9964 *GNU* | *'with BFD'*)
9965 test "$with_gnu_ld" != no && break
9968 test "$with_gnu_ld" != yes && break
9975 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9980 if test -n "$LD"; then
9981 { echo "$as_me:$LINENO: result: $LD" >&5
9982 echo "${ECHO_T}$LD" >&6; }
9984 { echo "$as_me:$LINENO: result: no" >&5
9985 echo "${ECHO_T}no" >&6; }
9987 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9988 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9989 { (exit 1); exit 1; }; }
9990 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9991 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
9992 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9993 echo $ECHO_N "(cached) $ECHO_C" >&6
9995 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9996 case `$LD -v 2>&1 </dev
/null
` in
9997 *GNU* | *'with BFD'*)
9998 lt_cv_prog_gnu_ld=yes
10001 lt_cv_prog_gnu_ld=no
10005 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10006 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10007 with_gnu_ld=$lt_cv_prog_gnu_ld
10011 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10012 # archiving commands below assume that GNU ld is being used.
10013 if test "$with_gnu_ld" = yes; then
10014 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10015 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10017 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10018 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10020 # If archive_cmds runs LD, not CC, wlarc should be empty
10021 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10022 # investigate it a little bit more. (MM)
10025 # ancient GNU ld didn't support --whole-archive et. al.
10026 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10027 grep 'no-whole-archive' > /dev/null; then
10028 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10030 whole_archive_flag_spec_CXX=
10036 # A generic and very simple default shared library creation
10037 # command for GNU C++ for the case where it uses the native
10038 # linker, instead of GNU ld. If possible, this setting should
10039 # overridden to take advantage of the native linker features on
10040 # the platform it is being used on.
10041 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10044 # Commands to make compiler produce verbose output that lists
10045 # what "hidden" libraries, object files and flags are used when
10046 # linking a shared library.
10047 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10055 # PORTME: fill in a description of your system's C++ link characteristics
10056 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10057 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10061 # FIXME: insert proper C++ library support
10065 if test "$host_cpu" = ia64; then
10066 # On IA64, the linker does run time linking by default, so we don't
10067 # have to do anything special.
10068 aix_use_runtimelinking=no
10069 exp_sym_flag='-Bexport'
10072 aix_use_runtimelinking=no
10074 # Test if we are trying to use run time linking or normal
10075 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10076 # need to do runtime linking.
10077 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10078 for ld_flag in $LDFLAGS; do
10081 aix_use_runtimelinking=yes
10088 exp_sym_flag='-bexport'
10089 no_entry_flag='-bnoentry'
10092 # When large executables or shared objects are built, AIX ld can
10093 # have problems creating the table of contents. If linking a library
10094 # or program results in "error TOC overflow" add -mminimal-toc to
10095 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10096 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10098 archive_cmds_CXX=''
10099 hardcode_direct_CXX=yes
10100 hardcode_libdir_separator_CXX=':'
10101 link_all_deplibs_CXX=yes
10103 if test "$GXX" = yes; then
10104 case $host_os in aix4.012|aix4.012.*)
10105 # We only want to do this on AIX 4.2 and lower, the check
10106 # below for broken collect2 doesn't work under 4.3+
10107 collect2name=`${CC} -print-prog-name=collect2
`
10108 if test -f "$collect2name" && \
10109 strings "$collect2name" | grep resolve_lib_name >/dev/null
10111 # We have reworked collect2
10112 hardcode_direct_CXX=yes
10114 # We have old collect2
10115 hardcode_direct_CXX=unsupported
10116 # It fails to find uninstalled libraries when the uninstalled
10117 # path is not listed in the libpath. Setting hardcode_minus_L
10118 # to unsupported forces relinking
10119 hardcode_minus_L_CXX=yes
10120 hardcode_libdir_flag_spec_CXX='-L$libdir'
10121 hardcode_libdir_separator_CXX=
10124 shared_flag='-shared'
10127 if test "$host_cpu" = ia64; then
10128 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10129 # chokes on -Wl,-G. The following line is correct:
10132 if test "$aix_use_runtimelinking" = yes; then
10133 shared_flag='${wl}-G'
10135 shared_flag='${wl}-bM:SRE'
10140 # It seems that -bexpall does not export symbols beginning with
10141 # underscore (_), so it is better to generate a list of symbols to export.
10142 always_export_symbols_CXX=yes
10143 if test "$aix_use_runtimelinking" = yes; then
10144 # Warning - without using the other runtime loading flags (-brtl),
10145 # -berok will link without error, but may produce a broken library.
10146 allow_undefined_flag_CXX='-berok'
10147 # Determine the default libpath from the value encoded in an empty executable.
10148 cat >conftest.$ac_ext <<_ACEOF
10151 cat confdefs.h >>conftest.$ac_ext
10152 cat >>conftest.$ac_ext <<_ACEOF
10153 /* end confdefs.h. */
10163 rm -f conftest.$ac_objext conftest$ac_exeext
10164 if { (ac_try="$ac_link"
10165 case "(($ac_try" in
10166 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10167 *) ac_try_echo
=$ac_try;;
10169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10170 (eval "$ac_link") 2>conftest.er1
10172 grep -v '^ *+' conftest.er1
>conftest.err
10174 cat conftest.err
>&5
10175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10176 (exit $ac_status); } && {
10177 test -z "$ac_cxx_werror_flag" ||
10178 test ! -s conftest.err
10179 } && test -s conftest
$ac_exeext &&
10180 $as_test_x conftest
$ac_exeext; then
10182 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10184 # Check for a 64-bit object if we didn't find anything.
10185 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10188 echo "$as_me: failed program was:" >&5
10189 sed 's/^/| /' conftest.
$ac_ext >&5
10194 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10195 conftest
$ac_exeext conftest.
$ac_ext
10196 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10198 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10200 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10202 if test "$host_cpu" = ia64; then
10203 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
10204 allow_undefined_flag_CXX="-z nodefs"
10205 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
10207 # Determine the default libpath from the value encoded in an empty executable.
10208 cat >conftest.$ac_ext <<_ACEOF
10211 cat confdefs.h >>conftest.$ac_ext
10212 cat >>conftest.$ac_ext <<_ACEOF
10213 /* end confdefs.h. */
10223 rm -f conftest.$ac_objext conftest$ac_exeext
10224 if { (ac_try="$ac_link"
10225 case "(($ac_try" in
10226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10227 *) ac_try_echo=$ac_try;;
10229 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10230 (eval "$ac_link") 2>conftest.er1
10232 grep -v '^ *+' conftest.er1 >conftest.err
10234 cat conftest.err >&5
10235 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10236 (exit $ac_status); } && {
10237 test -z "$ac_cxx_werror_flag" ||
10238 test ! -s conftest.err
10239 } && test -s conftest$ac_exeext &&
10240 $as_test_x conftest$ac_exeext; then
10242 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10244 # Check for a 64-bit object if we didn't find anything.
10245 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10248 echo "$as_me: failed program was
:" >&5
10249 sed 's/^/| /' conftest.$ac_ext >&5
10254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10255 conftest$ac_exeext conftest.$ac_ext
10256 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
10258 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10259 # Warning - without using the other run time loading flags,
10260 # -berok will link without error, but may produce a broken library.
10261 no_undefined_flag_CXX=' ${wl}-bernotok'
10262 allow_undefined_flag_CXX=' ${wl}-berok'
10263 # -bexpall does not export symbols beginning with underscore (_)
10264 always_export_symbols_CXX=yes
10265 # Exported symbols can be pulled into shared objects from archives
10266 whole_archive_flag_spec_CXX=' '
10267 archive_cmds_need_lc_CXX=yes
10268 # This is similar to how AIX traditionally builds it's shared libraries.
10269 archive_expsym_cmds_CXX="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10274 case $cc_basename in
10276 # FIXME: insert proper C++ library support
10282 cygwin* | mingw* | pw32*)
10283 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10284 # as there is no search path for DLLs.
10285 hardcode_libdir_flag_spec_CXX='-L$libdir'
10286 allow_undefined_flag_CXX=unsupported
10287 always_export_symbols_CXX=no
10288 enable_shared_with_static_runtimes_CXX=yes
10290 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10291 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10292 # If the export-symbols file already is a .def file (1st line
10293 # is EXPORTS), use it as is; otherwise, prepend...
10294 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
10295 cp $export_symbols $output_objdir/$soname.def;
10297 echo EXPORTS > $output_objdir/$soname.def;
10298 cat $export_symbols >> $output_objdir/$soname.def;
10300 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10306 darwin* | rhapsody*)
10307 if test "$GXX" = yes; then
10308 archive_cmds_need_lc_CXX=no
10310 rhapsody* | darwin1.[012])
10311 allow_undefined_flag_CXX='-undefined suppress'
10314 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10315 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10317 case ${MACOSX_DEPLOYMENT_TARGET} in
10319 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10322 allow_undefined_flag_CXX='-undefined dynamic_lookup'
10328 lt_int_apple_cc_single_mod=no
10329 output_verbose_link_cmd='echo'
10330 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10331 lt_int_apple_cc_single_mod=yes
10333 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10334 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10336 archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10338 module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10340 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10341 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10342 archive_expsym_cmds_CXX='sed -e "s
,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10344 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10346 module_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10347 hardcode_direct_CXX
=no
10348 hardcode_automatic_CXX
=yes
10349 hardcode_shlibpath_var_CXX
=unsupported
10350 whole_archive_flag_spec_CXX
='-all_load $convenience'
10351 link_all_deplibs_CXX
=yes
10358 case $cc_basename in
10360 # FIXME: insert proper C++ library support
10364 # Green Hills C++ Compiler
10365 # FIXME: insert proper C++ library support
10369 # FIXME: insert proper C++ library support
10375 # C++ shared libraries reported to be fairly broken before switch to ELF
10379 archive_cmds_need_lc_CXX
=no
10381 freebsd
* | kfreebsd
*-gnu)
10382 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10389 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10390 hardcode_libdir_separator_CXX
=:
10391 export_dynamic_flag_spec_CXX
='${wl}-E'
10392 hardcode_direct_CXX
=yes
10393 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10394 # but as the default
10395 # location of the library.
10397 case $cc_basename in
10399 # FIXME: insert proper C++ library support
10403 archive_cmds_CXX
='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10404 # Commands to make compiler produce verbose output that lists
10405 # what "hidden" libraries, object files and flags are used when
10406 # linking a shared library.
10408 # There doesn't appear to be a way to prevent this compiler from
10409 # explicitly linking system object files so we need to strip them
10410 # from the output so that they don't get included in the library
10412 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10415 if test "$GXX" = yes; then
10416 archive_cmds_CXX
='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10418 # FIXME: insert proper C++ library support
10425 if test $with_gnu_ld = no
; then
10426 case "$host_cpu" in
10428 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10429 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10430 hardcode_libdir_separator_CXX
=:
10433 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10436 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10437 hardcode_libdir_separator_CXX
=:
10438 export_dynamic_flag_spec_CXX
='${wl}-E'
10442 case "$host_cpu" in
10444 hardcode_direct_CXX
=no
10445 hardcode_shlibpath_var_CXX
=no
10448 hardcode_direct_CXX
=no
10449 hardcode_shlibpath_var_CXX
=no
10450 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10451 # but as the default
10452 # location of the library.
10455 hardcode_direct_CXX
=yes
10456 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10457 # but as the default
10458 # location of the library.
10462 case $cc_basename in
10464 # FIXME: insert proper C++ library support
10468 case "$host_cpu" in
10470 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10473 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10476 # Commands to make compiler produce verbose output that lists
10477 # what "hidden" libraries, object files and flags are used when
10478 # linking a shared library.
10480 # There doesn't appear to be a way to prevent this compiler from
10481 # explicitly linking system object files so we need to strip them
10482 # from the output so that they don't get included in the library
10484 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10487 if test "$GXX" = yes; then
10488 if test $with_gnu_ld = no
; then
10489 case "$host_cpu" in
10491 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10494 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10499 # FIXME: insert proper C++ library support
10506 case $cc_basename in
10509 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10511 # Archives containing C++ object files must be created using
10512 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10513 # necessary to make sure instantiated templates are included
10515 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10518 if test "$GXX" = yes; then
10519 if test "$with_gnu_ld" = no
; then
10520 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10522 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
10525 link_all_deplibs_CXX
=yes
10528 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10529 hardcode_libdir_separator_CXX
=:
10532 case $cc_basename in
10534 # Kuck and Associates, Inc. (KAI) C++ Compiler
10536 # KCC will only create a shared library if the output file
10537 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10538 # to its proper name (with version) after linking.
10539 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
10540 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
10541 # Commands to make compiler produce verbose output that lists
10542 # what "hidden" libraries, object files and flags are used when
10543 # linking a shared library.
10545 # There doesn't appear to be a way to prevent this compiler from
10546 # explicitly linking system object files so we need to strip them
10547 # from the output so that they don't get included in the library
10549 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10551 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10552 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10554 # Archives containing C++ object files must be created using
10555 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10556 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10561 archive_cmds_need_lc_CXX
=no
10562 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10563 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10564 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10565 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10566 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10570 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10571 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
10573 runpath_var
=LD_RUN_PATH
10574 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10575 hardcode_libdir_separator_CXX
=:
10577 # Commands to make compiler produce verbose output that lists
10578 # what "hidden" libraries, object files and flags are used when
10579 # linking a shared library.
10581 # There doesn't appear to be a way to prevent this compiler from
10582 # explicitly linking system object files so we need to strip them
10583 # from the output so that they don't get included in the library
10585 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10590 # FIXME: insert proper C++ library support
10594 # FIXME: insert proper C++ library support
10598 case $cc_basename in
10600 # FIXME: insert proper C++ library support
10604 # FIXME: insert proper C++ library support
10610 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10611 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10613 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10614 hardcode_direct_CXX
=yes
10615 hardcode_shlibpath_var_CXX
=no
10617 # Workaround some broken pre-1.5 toolchains
10618 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10621 case $cc_basename in
10623 # Kuck and Associates, Inc. (KAI) C++ Compiler
10625 # KCC will only create a shared library if the output file
10626 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10627 # to its proper name (with version) after linking.
10628 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
10630 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10631 hardcode_libdir_separator_CXX
=:
10633 # Archives containing C++ object files must be created using
10634 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10635 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10639 # Rational C++ 2.4.1
10640 # FIXME: insert proper C++ library support
10644 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10645 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10647 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10648 hardcode_libdir_separator_CXX
=:
10650 # Commands to make compiler produce verbose output that lists
10651 # what "hidden" libraries, object files and flags are used when
10652 # linking a shared library.
10654 # There doesn't appear to be a way to prevent this compiler from
10655 # explicitly linking system object files so we need to strip them
10656 # from the output so that they don't get included in the library
10658 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10661 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10662 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10663 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10665 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10666 hardcode_libdir_separator_CXX
=:
10668 # Commands to make compiler produce verbose output that lists
10669 # what "hidden" libraries, object files and flags are used when
10670 # linking a shared library.
10671 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10674 # FIXME: insert proper C++ library support
10681 case $cc_basename in
10683 # Kuck and Associates, Inc. (KAI) C++ Compiler
10685 # KCC will only create a shared library if the output file
10686 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10687 # to its proper name (with version) after linking.
10688 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
10690 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10691 hardcode_libdir_separator_CXX
=:
10693 # Archives containing C++ object files must be created using
10694 # the KAI C++ compiler.
10695 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
10698 # Rational C++ 2.4.1
10699 # FIXME: insert proper C++ library support
10703 allow_undefined_flag_CXX
=' -expect_unresolved \*'
10704 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10705 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10706 echo "-hidden">> $lib.exp~
10707 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
10710 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10711 hardcode_libdir_separator_CXX
=:
10713 # Commands to make compiler produce verbose output that lists
10714 # what "hidden" libraries, object files and flags are used when
10715 # linking a shared library.
10717 # There doesn't appear to be a way to prevent this compiler from
10718 # explicitly linking system object files so we need to strip them
10719 # from the output so that they don't get included in the library
10721 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10724 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10725 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10726 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10728 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10729 hardcode_libdir_separator_CXX
=:
10731 # Commands to make compiler produce verbose output that lists
10732 # what "hidden" libraries, object files and flags are used when
10733 # linking a shared library.
10734 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10737 # FIXME: insert proper C++ library support
10744 # FIXME: insert proper C++ library support
10748 archive_cmds_need_lc_CXX
=no
10749 case $cc_basename in
10751 # FIXME: insert proper C++ library support
10755 # FIXME: insert proper C++ library support
10761 case $cc_basename in
10764 # FIXME: insert proper C++ library support
10769 # FIXME: insert proper C++ library support
10773 # FIXME: insert proper C++ library support
10779 case $cc_basename in
10781 # Sun C++ 4.2, 5.x and Centerline C++
10782 no_undefined_flag_CXX
=' -zdefs'
10783 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10784 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10785 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10787 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10788 hardcode_shlibpath_var_CXX
=no
10790 solaris2.0
-5 | solaris2.0
-5.
*) ;;
10792 # The C++ compiler is used as linker so we must use $wl
10793 # flag to pass the commands to the underlying system
10795 # Supported since Solaris 2.6 (maybe 2.5.1?)
10796 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10799 link_all_deplibs_CXX
=yes
10801 # Commands to make compiler produce verbose output that lists
10802 # what "hidden" libraries, object files and flags are used when
10803 # linking a shared library.
10805 # There doesn't appear to be a way to prevent this compiler from
10806 # explicitly linking system object files so we need to strip them
10807 # from the output so that they don't get included in the library
10809 output_verbose_link_cmd
='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10811 # Archives containing C++ object files must be created using
10812 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10813 # necessary to make sure instantiated templates are included
10815 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
10818 # Green Hills C++ Compiler
10819 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10821 # The C++ compiler must be used to create the archive.
10822 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10825 # GNU C++ compiler with Solaris linker
10826 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10827 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
10828 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
10829 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10830 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10831 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10833 # Commands to make compiler produce verbose output that lists
10834 # what "hidden" libraries, object files and flags are used when
10835 # linking a shared library.
10836 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10838 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10840 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10841 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10842 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10844 # Commands to make compiler produce verbose output that lists
10845 # what "hidden" libraries, object files and flags are used when
10846 # linking a shared library.
10847 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10850 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
10855 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
10856 archive_cmds_need_lc_CXX
=no
10859 case $cc_basename in
10861 # NonStop-UX NCC 3.20
10862 # FIXME: insert proper C++ library support
10866 # FIXME: insert proper C++ library support
10872 # FIXME: insert proper C++ library support
10876 # FIXME: insert proper C++ library support
10880 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10881 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
10882 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
10888 ## There is no encapsulation within the following macros, do not change
10889 ## the running order or otherwise move them around unless you know exactly
10890 ## what you are doing...
10892 cat > conftest.
$ac_ext <<EOF
10896 Foo (void) { a = 0; }
10902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10903 (eval $ac_compile) 2>&5
10905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 (exit $ac_status); }; then
10907 # Parse the compiler output and extract the necessary
10908 # objects, libraries and library flags.
10910 # Sentinel used to keep track of whether or not we are before
10911 # the conftest object file.
10912 pre_test_object_deps_done
=no
10914 # The `*' in the case matches for architectures that use `case' in
10915 # $output_verbose_cmd can trigger glob expansion during the loop
10916 # eval without this substitution.
10917 output_verbose_link_cmd
="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10919 for p
in `eval $output_verbose_link_cmd`; do
10923 # Some compilers place space between "-{L,R}" and the path.
10924 # Remove the space.
10925 if test $p = "-L" \
10926 ||
test $p = "-R"; then
10933 if test "$pre_test_object_deps_done" = no
; then
10936 # Internal compiler library paths should come after those
10937 # provided the user. The postdeps already come after the
10938 # user supplied libs so there is no need to process them.
10939 if test -z "$compiler_lib_search_path_CXX"; then
10940 compiler_lib_search_path_CXX
="${prev}${p}"
10942 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
10945 # The "-l" case would never come before the object being
10946 # linked, so don't bother handling this case.
10949 if test -z "$postdeps_CXX"; then
10950 postdeps_CXX
="${prev}${p}"
10952 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
10958 # This assumes that the test object file only shows up
10959 # once in the compiler output.
10960 if test "$p" = "conftest.$objext"; then
10961 pre_test_object_deps_done
=yes
10965 if test "$pre_test_object_deps_done" = no
; then
10966 if test -z "$predep_objects_CXX"; then
10967 predep_objects_CXX
="$p"
10969 predep_objects_CXX
="$predep_objects_CXX $p"
10972 if test -z "$postdep_objects_CXX"; then
10973 postdep_objects_CXX
="$p"
10975 postdep_objects_CXX
="$postdep_objects_CXX $p"
10980 *) ;; # Ignore the rest.
10988 echo "libtool.m4: error: problem compiling CXX test program"
10991 $rm -f confest.
$objext
10993 case " $postdeps_CXX " in
10994 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
10997 lt_prog_compiler_wl_CXX
=
10998 lt_prog_compiler_pic_CXX
=
10999 lt_prog_compiler_static_CXX
=
11001 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11002 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11004 # C++ specific cases for pic, static, wl, etc.
11005 if test "$GXX" = yes; then
11006 lt_prog_compiler_wl_CXX
='-Wl,'
11007 lt_prog_compiler_static_CXX
='-static'
11011 # All AIX code is PIC.
11012 if test "$host_cpu" = ia64
; then
11013 # AIX 5 now supports IA64 processor
11014 lt_prog_compiler_static_CXX
='-Bstatic'
11018 # FIXME: we need at least 68020 code to build shared libraries, but
11019 # adding the `-m68020' flag to GCC prevents building anything better,
11021 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11023 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11024 # PIC is the default for these OSes.
11026 mingw
* | os2
* | pw32
*)
11027 # This hack is so that the source file can tell whether it is being
11028 # built for inclusion in a dll (and should export symbols for example).
11029 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11031 darwin
* | rhapsody
*)
11032 # PIC is the default on this platform
11033 # Common symbols not allowed in MH_DYLIB files
11034 lt_prog_compiler_pic_CXX
='-fno-common'
11037 # DJGPP does not support shared libraries at all
11038 lt_prog_compiler_pic_CXX
=
11041 if test -d /usr
/nec
; then
11042 lt_prog_compiler_pic_CXX
=-Kconform_pic
11046 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11047 # not for PA HP-UX.
11048 case "$host_cpu" in
11052 lt_prog_compiler_pic_CXX
='-fPIC'
11057 lt_prog_compiler_pic_CXX
='-fPIC'
11063 # All AIX code is PIC.
11064 if test "$host_cpu" = ia64
; then
11065 # AIX 5 now supports IA64 processor
11066 lt_prog_compiler_static_CXX
='-Bstatic'
11068 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11072 case $cc_basename in
11074 # Green Hills C++ Compiler
11075 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
11080 case $cc_basename in
11082 lt_prog_compiler_pic_CXX
='-KPIC'
11085 # Green Hills C++ Compiler
11086 lt_prog_compiler_pic_CXX
='-pic'
11092 freebsd
* | kfreebsd
*-gnu)
11093 # FreeBSD uses GNU C++
11095 hpux9
* | hpux10
* | hpux11
*)
11096 case $cc_basename in
11098 lt_prog_compiler_wl_CXX
='-Wl,'
11099 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11100 if test "$host_cpu" != ia64
; then
11101 lt_prog_compiler_pic_CXX
='+Z'
11105 lt_prog_compiler_wl_CXX
='-Wl,'
11106 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11107 case "$host_cpu" in
11112 lt_prog_compiler_pic_CXX
='+Z'
11120 irix5
* | irix6
* | nonstopux
*)
11121 case $cc_basename in
11123 lt_prog_compiler_wl_CXX
='-Wl,'
11124 lt_prog_compiler_static_CXX
='-non_shared'
11125 # CC pic flag -KPIC is the default.
11132 case $cc_basename in
11135 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11136 lt_prog_compiler_pic_CXX
='-fPIC'
11140 lt_prog_compiler_wl_CXX
='-Wl,'
11141 lt_prog_compiler_pic_CXX
='-KPIC'
11142 lt_prog_compiler_static_CXX
='-static'
11146 # Make sure the PIC flag is empty. It appears that all Alpha
11147 # Linux and Compaq Tru64 Unix objects are PIC.
11148 lt_prog_compiler_pic_CXX
=
11149 lt_prog_compiler_static_CXX
='-non_shared'
11160 case $cc_basename in
11162 lt_prog_compiler_pic_CXX
='-W c,exportall'
11170 osf3
* | osf4
* | osf5
*)
11171 case $cc_basename in
11173 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11176 # Rational C++ 2.4.1
11177 lt_prog_compiler_pic_CXX
='-pic'
11180 # Digital/Compaq C++
11181 lt_prog_compiler_wl_CXX
='-Wl,'
11182 # Make sure the PIC flag is empty. It appears that all Alpha
11183 # Linux and Compaq Tru64 Unix objects are PIC.
11184 lt_prog_compiler_pic_CXX
=
11185 lt_prog_compiler_static_CXX
='-non_shared'
11194 case $cc_basename in
11196 lt_prog_compiler_pic_CXX
='-fPIC'
11203 case $cc_basename in
11205 # Sun C++ 4.2, 5.x and Centerline C++
11206 lt_prog_compiler_pic_CXX
='-KPIC'
11207 lt_prog_compiler_static_CXX
='-Bstatic'
11208 lt_prog_compiler_wl_CXX
='-Qoption ld '
11211 # Green Hills C++ Compiler
11212 lt_prog_compiler_pic_CXX
='-PIC'
11219 case $cc_basename in
11222 lt_prog_compiler_pic_CXX
='-pic'
11223 lt_prog_compiler_static_CXX
='-Bstatic'
11227 lt_prog_compiler_pic_CXX
='-pic'
11234 case $cc_basename in
11236 # NonStop-UX NCC 3.20
11237 lt_prog_compiler_pic_CXX
='-KPIC'
11248 lt_prog_compiler_can_build_shared_CXX
=no
11253 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11254 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11257 # Check to make sure the PIC flag actually works.
11259 if test -n "$lt_prog_compiler_pic_CXX"; then
11261 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11262 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11263 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11264 echo $ECHO_N "(cached) $ECHO_C" >&6
11266 lt_prog_compiler_pic_works_CXX
=no
11267 ac_outfile
=conftest.
$ac_objext
11268 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11269 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11270 # Insert the option either (1) after the last *FLAGS variable, or
11271 # (2) before a word containing "conftest.", or (3) at the end.
11272 # Note that $ac_compile itself does not contain backslashes and begins
11273 # with a dollar sign (not a hyphen), so the echo should work correctly.
11274 # The option is referenced via a variable to avoid confusing sed.
11275 lt_compile
=`echo "$ac_compile" | $SED \
11276 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11277 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11278 -e 's:$: $lt_compiler_flag:'`
11279 (eval echo "\"\$as_me:11279: $lt_compile\"" >&5)
11280 (eval "$lt_compile" 2>conftest.err
)
11282 cat conftest.err
>&5
11283 echo "$as_me:11283: \$? = $ac_status" >&5
11284 if (exit $ac_status) && test -s "$ac_outfile"; then
11285 # The compiler can only warn and ignore the option if not recognized
11286 # So say no if there are warnings
11287 if test ! -s conftest.err
; then
11288 lt_prog_compiler_pic_works_CXX
=yes
11294 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11295 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11297 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11298 case $lt_prog_compiler_pic_CXX in
11300 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11303 lt_prog_compiler_pic_CXX
=
11304 lt_prog_compiler_can_build_shared_CXX
=no
11309 # For platforms which do not support PIC, -DPIC is meaningless:
11311 lt_prog_compiler_pic_CXX
=
11314 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11318 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11319 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11320 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11321 echo $ECHO_N "(cached) $ECHO_C" >&6
11323 lt_cv_prog_compiler_c_o_CXX
=no
11324 $rm -r conftest
2>/dev
/null
11328 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11330 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
11331 # that will create temporary files in the current directory regardless of
11332 # the output directory. Thus, making CWD read-only will cause this test
11333 # to fail, enabling locking or at least warning the user not to do parallel
11337 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11338 # Insert the option either (1) after the last *FLAGS variable, or
11339 # (2) before a word containing "conftest.", or (3) at the end.
11340 # Note that $ac_compile itself does not contain backslashes and begins
11341 # with a dollar sign (not a hyphen), so the echo should work correctly.
11342 lt_compile
=`echo "$ac_compile" | $SED \
11343 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11344 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11345 -e 's:$: $lt_compiler_flag:'`
11346 (eval echo "\"\$as_me:11346: $lt_compile\"" >&5)
11347 (eval "$lt_compile" 2>out
/conftest.err
)
11349 cat out
/conftest.err
>&5
11350 echo "$as_me:11350: \$? = $ac_status" >&5
11351 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11353 # The compiler can only warn and ignore the option if not recognized
11354 # So say no if there are warnings
11355 if test ! -s out
/conftest.err
; then
11356 lt_cv_prog_compiler_c_o_CXX
=yes
11361 # SGI C++ compiler will create directory out/ii_files/ for
11362 # template instantiation
11363 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11364 $rm out
/* && rmdir out
11370 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11371 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11374 hard_links
="nottested"
11375 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11376 # do not overwrite the value of need_locks provided by the user
11377 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11378 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11381 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11383 ln conftest.a conftest.b
2>&5 || hard_links
=no
11384 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11385 { echo "$as_me:$LINENO: result: $hard_links" >&5
11386 echo "${ECHO_T}$hard_links" >&6; }
11387 if test "$hard_links" = no
; then
11388 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11389 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11396 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11397 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11399 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11402 # If we're using GNU nm, then we don't want the "-C" option.
11403 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11404 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11405 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
11407 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
11411 export_symbols_cmds_CXX
="$ltdll_cmds"
11414 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11417 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11421 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11422 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11423 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11425 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11426 if test "$GCC" = yes; then
11427 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11431 # Do we need to explicitly link libc?
11433 case "x$archive_cmds_need_lc_CXX" in
11435 # Assume -lc should be added
11436 archive_cmds_need_lc_CXX
=yes
11438 if test "$enable_shared" = yes && test "$GCC" = yes; then
11439 case $archive_cmds_CXX in
11441 # FIXME: we may have to deal with multi-command sequences.
11444 # Test whether the compiler implicitly links with -lc since on some
11445 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11446 # to ld, don't add -lc before -lgcc.
11447 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11448 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11450 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11453 (eval $ac_compile) 2>&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); } 2>conftest.err
; then
11459 libobjs
=conftest.
$ac_objext
11461 wl
=$lt_prog_compiler_wl_CXX
11467 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11468 allow_undefined_flag_CXX
=
11469 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11470 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11473 (exit $ac_status); }
11475 archive_cmds_need_lc_CXX
=no
11477 archive_cmds_need_lc_CXX
=yes
11479 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11481 cat conftest.err
1>&5
11484 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11485 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11492 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11493 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11494 library_names_spec
=
11495 libname_spec
='lib$name'
11499 postuninstall_cmds
=
11503 shlibpath_overrides_runpath
=unknown
11505 dynamic_linker
="$host_os ld.so"
11506 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11507 if test "$GCC" = yes; then
11508 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11509 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11510 # if the path contains ";" then we assume it to be the separator
11511 # otherwise default to the standard path separator (i.e. ":") - it is
11512 # assumed that no part of a normal pathname contains ";" but that should
11513 # okay in the real world where ";" in dirpaths is itself problematic.
11514 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11516 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11519 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11521 need_lib_prefix
=unknown
11522 hardcode_into_libs
=no
11524 # when you set need_version to no, make sure it does not cause -set_version
11525 # flags to be left without arguments
11526 need_version
=unknown
11531 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11532 shlibpath_var
=LIBPATH
11534 # AIX 3 has no versioning support, so we append a major version to the name.
11535 soname_spec
='${libname}${release}${shared_ext}$major'
11542 hardcode_into_libs
=yes
11543 if test "$host_cpu" = ia64
; then
11544 # AIX 5 supports IA64
11545 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11546 shlibpath_var
=LD_LIBRARY_PATH
11548 # With GCC up to 2.95.x, collect2 would create an import file
11549 # for dependence libraries. The import file would start with
11550 # the line `#! .'. This would cause the generated library to
11551 # depend on `.', always an invalid library. This was fixed in
11552 # development snapshots of GCC prior to 3.0.
11554 aix4 | aix4.
[01] | aix4.
[01].
*)
11555 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11557 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11560 can_build_shared
=no
11564 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11565 # soname into executable. Probably we can add versioning support to
11566 # collect2, so additional links can be useful in future.
11567 if test "$aix_use_runtimelinking" = yes; then
11568 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11569 # instead of lib<name>.a to let people know that these are not
11570 # typical AIX shared libraries.
11571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11573 # We preserve .a as extension for shared libraries through AIX4.2
11574 # and later when we are not doing run time linking.
11575 library_names_spec
='${libname}${release}.a $libname.a'
11576 soname_spec
='${libname}${release}${shared_ext}$major'
11578 shlibpath_var
=LIBPATH
11583 library_names_spec
='$libname.ixlibrary $libname.a'
11584 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11585 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11589 library_names_spec
='${libname}${shared_ext}'
11590 dynamic_linker
="$host_os ld.so"
11591 shlibpath_var
=LIBRARY_PATH
11597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11598 soname_spec
='${libname}${release}${shared_ext}$major'
11599 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11600 shlibpath_var
=LD_LIBRARY_PATH
11601 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11602 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11603 # the default ld.so.conf also contains /usr/contrib/lib and
11604 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11605 # libtool to hard-code these into programs
11608 cygwin
* | mingw
* | pw32
*)
11609 version_type
=windows
11614 case $GCC,$host_os in
11615 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
11616 library_names_spec
='$libname.dll.a'
11617 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11618 postinstall_cmds
='base_file=`basename \${file}`~
11619 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11620 dldir=$destdir/`dirname \$dlpath`~
11621 test -d \$dldir || mkdir -p \$dldir~
11622 $install_prog $dir/$dlname \$dldir/$dlname'
11623 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11624 dlpath=$dir/\$dldll~
11626 shlibpath_overrides_runpath
=yes
11630 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11631 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11632 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
11635 # MinGW DLLs use traditional 'lib' prefix
11636 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11637 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11638 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
11639 # It is most probably a Windows format PATH printed by
11640 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11641 # path with ; separators, and with drive letters. We can handle the
11642 # drive letters (cygwin fileutils understands them), so leave them,
11643 # especially as we might pass files found there to a mingw objdump,
11644 # which wouldn't understand a cygwinified path. Ahh.
11645 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11647 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11651 # pw32 DLLs use 'pw' prefix rather than 'lib'
11652 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11658 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11661 dynamic_linker
='Win32 ld.exe'
11662 # FIXME: first we should search . and the directory the executable is in
11666 darwin
* | rhapsody
*)
11667 dynamic_linker
="$host_os dyld"
11668 version_type
=darwin
11671 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11672 soname_spec
='${libname}${release}${major}$shared_ext'
11673 shlibpath_overrides_runpath
=yes
11674 shlibpath_var
=DYLD_LIBRARY_PATH
11675 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
11676 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11677 if test "$GCC" = yes; then
11678 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
11680 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
11682 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11690 soname_spec
='${libname}${release}${shared_ext}$major'
11691 shlibpath_var
=LD_LIBRARY_PATH
11702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11703 soname_spec
='${libname}${release}${shared_ext}$major'
11704 shlibpath_var
=LD_LIBRARY_PATH
11705 shlibpath_overrides_runpath
=no
11706 hardcode_into_libs
=yes
11707 dynamic_linker
='GNU ld.so'
11711 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11712 version_type
=freebsd-
$objformat
11713 case $version_type in
11715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11720 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11724 shlibpath_var
=LD_LIBRARY_PATH
11727 shlibpath_overrides_runpath
=yes
11729 freebsd3.01
* | freebsdelf3.01
*)
11730 shlibpath_overrides_runpath
=yes
11731 hardcode_into_libs
=yes
11734 shlibpath_overrides_runpath
=no
11735 hardcode_into_libs
=yes
11744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11745 soname_spec
='${libname}${release}${shared_ext}$major'
11746 shlibpath_var
=LD_LIBRARY_PATH
11747 hardcode_into_libs
=yes
11750 hpux9
* | hpux10
* | hpux11
*)
11751 # Give a soname corresponding to the major version so that dld.sl refuses to
11752 # link against other versions.
11756 case "$host_cpu" in
11759 hardcode_into_libs
=yes
11760 dynamic_linker
="$host_os dld.so"
11761 shlibpath_var
=LD_LIBRARY_PATH
11762 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11764 soname_spec
='${libname}${release}${shared_ext}$major'
11765 if test "X$HPUX_IA64_MODE" = X32
; then
11766 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11768 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11770 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11774 hardcode_into_libs
=yes
11775 dynamic_linker
="$host_os dld.sl"
11776 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11777 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11779 soname_spec
='${libname}${release}${shared_ext}$major'
11780 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11781 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11785 dynamic_linker
="$host_os dld.sl"
11786 shlibpath_var
=SHLIB_PATH
11787 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11789 soname_spec
='${libname}${release}${shared_ext}$major'
11792 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11793 postinstall_cmds
='chmod 555 $lib'
11796 irix5
* | irix6
* | nonstopux
*)
11798 nonstopux
*) version_type
=nonstopux
;;
11800 if test "$lt_cv_prog_gnu_ld" = yes; then
11808 soname_spec
='${libname}${release}${shared_ext}$major'
11809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11811 irix5
* | nonstopux
*)
11812 libsuff
= shlibsuff
=
11815 case $LD in # libtool.m4 will add one of these switches to LD
11816 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11817 libsuff
= shlibsuff
= libmagic
=32-bit;;
11818 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11819 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11820 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11821 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11822 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11826 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11827 shlibpath_overrides_runpath
=no
11828 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11829 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11830 hardcode_into_libs
=yes
11833 # No shared lib support for Linux oldld, aout, or coff.
11834 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11838 # This must be Linux ELF.
11843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11844 soname_spec
='${libname}${release}${shared_ext}$major'
11845 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11846 shlibpath_var
=LD_LIBRARY_PATH
11847 shlibpath_overrides_runpath
=no
11848 # This implies no fast_install, which is unacceptable.
11849 # Some rework will be needed to allow for fast_install
11850 # before this can be enabled.
11851 hardcode_into_libs
=yes
11853 # We used to test for /lib/ld.so.1 and disable shared libraries on
11854 # powerpc, because MkLinux only supported shared libraries with the
11855 # GNU dynamic linker. Since this was broken with cross compilers,
11856 # most powerpc-linux boxes support dynamic linking these days and
11857 # people can always --disable-shared, the test was removed, and we
11858 # assume the GNU/Linux dynamic linker is in use.
11859 dynamic_linker
='GNU/Linux ld.so'
11866 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11867 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11868 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11869 dynamic_linker
='NetBSD (a.out) ld.so'
11871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11872 soname_spec
='${libname}${release}${shared_ext}$major'
11873 dynamic_linker
='NetBSD ld.elf_so'
11875 shlibpath_var
=LD_LIBRARY_PATH
11876 shlibpath_overrides_runpath
=yes
11877 hardcode_into_libs
=yes
11882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11883 shlibpath_var
=LD_LIBRARY_PATH
11884 shlibpath_overrides_runpath
=yes
11891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11892 soname_spec
='${libname}${release}${shared_ext}$major'
11893 shlibpath_var
=LD_LIBRARY_PATH
11894 shlibpath_overrides_runpath
=yes
11901 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11902 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11903 shlibpath_var
=LD_LIBRARY_PATH
11904 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11906 openbsd2.
[89] | openbsd2.
[89].
*)
11907 shlibpath_overrides_runpath
=no
11910 shlibpath_overrides_runpath
=yes
11914 shlibpath_overrides_runpath
=yes
11919 libname_spec
='$name'
11922 library_names_spec
='$libname${shared_ext} $libname.a'
11923 dynamic_linker
='OS/2 ld.exe'
11924 shlibpath_var
=LIBPATH
11927 osf3
* | osf4
* | osf5
*)
11931 soname_spec
='${libname}${release}${shared_ext}$major'
11932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11933 shlibpath_var
=LD_LIBRARY_PATH
11934 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11935 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11940 soname_spec
='${libname}${release}${shared_ext}$major'
11941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11942 shlibpath_var
=LD_LIBRARY_PATH
11949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11950 soname_spec
='${libname}${release}${shared_ext}$major'
11951 shlibpath_var
=LD_LIBRARY_PATH
11952 shlibpath_overrides_runpath
=yes
11953 hardcode_into_libs
=yes
11954 # ldd complains unless libraries are executable
11955 postinstall_cmds
='chmod +x $lib'
11960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11961 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11962 shlibpath_var
=LD_LIBRARY_PATH
11963 shlibpath_overrides_runpath
=yes
11964 if test "$with_gnu_ld" = yes; then
11970 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11972 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11973 soname_spec
='${libname}${release}${shared_ext}$major'
11974 shlibpath_var
=LD_LIBRARY_PATH
11975 case $host_vendor in
11977 shlibpath_overrides_runpath
=no
11979 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11980 runpath_var
=LD_RUN_PATH
11988 shlibpath_overrides_runpath
=no
11989 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11995 if test -d /usr
/nec
;then
11997 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11998 soname_spec
='$libname${shared_ext}.$major'
11999 shlibpath_var
=LD_LIBRARY_PATH
12005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12006 soname_spec
='${libname}${release}${shared_ext}$major'
12007 shlibpath_var
=LD_LIBRARY_PATH
12014 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12015 echo "${ECHO_T}$dynamic_linker" >&6; }
12016 test "$dynamic_linker" = no
&& can_build_shared
=no
12018 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12019 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12020 hardcode_action_CXX
=
12021 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12022 test -n "$runpath_var CXX" || \
12023 test "X$hardcode_automatic_CXX"="Xyes" ; then
12025 # We can hardcode non-existant directories.
12026 if test "$hardcode_direct_CXX" != no
&&
12027 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12028 # have to relink, otherwise we might link with an installed library
12029 # when we should be linking with a yet-to-be-installed one
12030 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12031 test "$hardcode_minus_L_CXX" != no
; then
12032 # Linking always hardcodes the temporary library directory.
12033 hardcode_action_CXX
=relink
12035 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12036 hardcode_action_CXX
=immediate
12039 # We cannot hardcode anything, or else we can only hardcode existing
12041 hardcode_action_CXX
=unsupported
12043 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12044 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12046 if test "$hardcode_action_CXX" = relink
; then
12047 # Fast installation is not supported
12048 enable_fast_install
=no
12049 elif test "$shlibpath_overrides_runpath" = yes ||
12050 test "$enable_shared" = no
; then
12051 # Fast installation is not necessary
12052 enable_fast_install
=needless
12057 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12058 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
12059 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
12060 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12061 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12062 { echo "$as_me:$LINENO: result: yes" >&5
12063 echo "${ECHO_T}yes" >&6; }
12065 # FIXME - insert some real tests, host_os isn't really good enough
12068 if test -n "$STRIP" ; then
12069 striplib
="$STRIP -x"
12070 { echo "$as_me:$LINENO: result: yes" >&5
12071 echo "${ECHO_T}yes" >&6; }
12073 { echo "$as_me:$LINENO: result: no" >&5
12074 echo "${ECHO_T}no" >&6; }
12078 { echo "$as_me:$LINENO: result: no" >&5
12079 echo "${ECHO_T}no" >&6; }
12084 if test "x$enable_dlopen" != xyes
; then
12085 enable_dlopen
=unknown
12086 enable_dlopen_self
=unknown
12087 enable_dlopen_self_static
=unknown
12094 lt_cv_dlopen
="load_add_on"
12096 lt_cv_dlopen_self
=yes
12100 lt_cv_dlopen
="LoadLibrary"
12105 lt_cv_dlopen
="dlopen"
12110 # if libdl is installed we need to link against it
12111 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12112 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12113 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12114 echo $ECHO_N "(cached) $ECHO_C" >&6
12116 ac_check_lib_save_LIBS
=$LIBS
12118 cat >conftest.
$ac_ext <<_ACEOF
12121 cat confdefs.h
>>conftest.
$ac_ext
12122 cat >>conftest.
$ac_ext <<_ACEOF
12123 /* end confdefs.h. */
12125 /* Override any GCC internal prototype to avoid an error.
12126 Use char because int might match the return type of a GCC
12127 builtin and then its argument prototype would still apply. */
12140 rm -f conftest.
$ac_objext conftest
$ac_exeext
12141 if { (ac_try
="$ac_link"
12142 case "(($ac_try" in
12143 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12144 *) ac_try_echo=$ac_try;;
12146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12147 (eval "$ac_link") 2>conftest.er1
12149 grep -v '^ *+' conftest.er1 >conftest.err
12151 cat conftest.err >&5
12152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12153 (exit $ac_status); } && {
12154 test -z "$ac_cxx_werror_flag" ||
12155 test ! -s conftest.err
12156 } && test -s conftest$ac_exeext &&
12157 $as_test_x conftest$ac_exeext; then
12158 ac_cv_lib_dl_dlopen=yes
12160 echo "$as_me: failed program was:" >&5
12161 sed 's/^/| /' conftest.$ac_ext >&5
12163 ac_cv_lib_dl_dlopen=no
12166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12167 conftest$ac_exeext conftest.$ac_ext
12168 LIBS=$ac_check_lib_save_LIBS
12170 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12171 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12172 if test $ac_cv_lib_dl_dlopen = yes; then
12173 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12176 lt_cv_dlopen="dyld"
12178 lt_cv_dlopen_self=yes
12185 { echo "$as_me:$LINENO: checking for shl_load" >&5
12186 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12187 if test "${ac_cv_func_shl_load+set}" = set; then
12188 echo $ECHO_N "(cached) $ECHO_C" >&6
12190 cat >conftest.$ac_ext <<_ACEOF
12193 cat confdefs.h >>conftest.$ac_ext
12194 cat >>conftest.$ac_ext <<_ACEOF
12195 /* end confdefs.h. */
12196 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12198 #define shl_load innocuous_shl_load
12200 /* System header to define __stub macros and hopefully few prototypes,
12201 which can conflict with char shl_load (); below.
12202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12203 <limits.h> exists even on freestanding compilers. */
12206 # include <limits.h>
12208 # include <assert.h>
12213 /* Override any GCC internal prototype to avoid an error.
12214 Use char because int might match the return type of a GCC
12215 builtin and then its argument prototype would still apply. */
12220 /* The GNU C library defines this for functions which it implements
12221 to always fail with ENOSYS. Some functions are actually named
12222 something starting with __ and the normal name is an alias. */
12223 #if defined __stub_shl_load || defined __stub___shl_load
12230 return shl_load ();
12235 rm -f conftest.$ac_objext conftest$ac_exeext
12236 if { (ac_try="$ac_link"
12237 case "(($ac_try" in
12238 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12239 *) ac_try_echo
=$ac_try;;
12241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12242 (eval "$ac_link") 2>conftest.er1
12244 grep -v '^ *+' conftest.er1
>conftest.err
12246 cat conftest.err
>&5
12247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12248 (exit $ac_status); } && {
12249 test -z "$ac_cxx_werror_flag" ||
12250 test ! -s conftest.err
12251 } && test -s conftest
$ac_exeext &&
12252 $as_test_x conftest
$ac_exeext; then
12253 ac_cv_func_shl_load
=yes
12255 echo "$as_me: failed program was:" >&5
12256 sed 's/^/| /' conftest.
$ac_ext >&5
12258 ac_cv_func_shl_load
=no
12261 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12262 conftest
$ac_exeext conftest.
$ac_ext
12264 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12265 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12266 if test $ac_cv_func_shl_load = yes; then
12267 lt_cv_dlopen
="shl_load"
12269 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12270 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12271 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12272 echo $ECHO_N "(cached) $ECHO_C" >&6
12274 ac_check_lib_save_LIBS
=$LIBS
12276 cat >conftest.
$ac_ext <<_ACEOF
12279 cat confdefs.h
>>conftest.
$ac_ext
12280 cat >>conftest.
$ac_ext <<_ACEOF
12281 /* end confdefs.h. */
12283 /* Override any GCC internal prototype to avoid an error.
12284 Use char because int might match the return type of a GCC
12285 builtin and then its argument prototype would still apply. */
12293 return shl_load ();
12298 rm -f conftest.
$ac_objext conftest
$ac_exeext
12299 if { (ac_try
="$ac_link"
12300 case "(($ac_try" in
12301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12302 *) ac_try_echo=$ac_try;;
12304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12305 (eval "$ac_link") 2>conftest.er1
12307 grep -v '^ *+' conftest.er1 >conftest.err
12309 cat conftest.err >&5
12310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); } && {
12312 test -z "$ac_cxx_werror_flag" ||
12313 test ! -s conftest.err
12314 } && test -s conftest$ac_exeext &&
12315 $as_test_x conftest$ac_exeext; then
12316 ac_cv_lib_dld_shl_load=yes
12318 echo "$as_me: failed program was:" >&5
12319 sed 's/^/| /' conftest.$ac_ext >&5
12321 ac_cv_lib_dld_shl_load=no
12324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12325 conftest$ac_exeext conftest.$ac_ext
12326 LIBS=$ac_check_lib_save_LIBS
12328 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12329 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12330 if test $ac_cv_lib_dld_shl_load = yes; then
12331 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12333 { echo "$as_me:$LINENO: checking for dlopen" >&5
12334 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12335 if test "${ac_cv_func_dlopen+set}" = set; then
12336 echo $ECHO_N "(cached) $ECHO_C" >&6
12338 cat >conftest.$ac_ext <<_ACEOF
12341 cat confdefs.h >>conftest.$ac_ext
12342 cat >>conftest.$ac_ext <<_ACEOF
12343 /* end confdefs.h. */
12344 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12346 #define dlopen innocuous_dlopen
12348 /* System header to define __stub macros and hopefully few prototypes,
12349 which can conflict with char dlopen (); below.
12350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12351 <limits.h> exists even on freestanding compilers. */
12354 # include <limits.h>
12356 # include <assert.h>
12361 /* Override any GCC internal prototype to avoid an error.
12362 Use char because int might match the return type of a GCC
12363 builtin and then its argument prototype would still apply. */
12368 /* The GNU C library defines this for functions which it implements
12369 to always fail with ENOSYS. Some functions are actually named
12370 something starting with __ and the normal name is an alias. */
12371 #if defined __stub_dlopen || defined __stub___dlopen
12383 rm -f conftest.$ac_objext conftest$ac_exeext
12384 if { (ac_try="$ac_link"
12385 case "(($ac_try" in
12386 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12387 *) ac_try_echo
=$ac_try;;
12389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12390 (eval "$ac_link") 2>conftest.er1
12392 grep -v '^ *+' conftest.er1
>conftest.err
12394 cat conftest.err
>&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); } && {
12397 test -z "$ac_cxx_werror_flag" ||
12398 test ! -s conftest.err
12399 } && test -s conftest
$ac_exeext &&
12400 $as_test_x conftest
$ac_exeext; then
12401 ac_cv_func_dlopen
=yes
12403 echo "$as_me: failed program was:" >&5
12404 sed 's/^/| /' conftest.
$ac_ext >&5
12406 ac_cv_func_dlopen
=no
12409 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12410 conftest
$ac_exeext conftest.
$ac_ext
12412 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12413 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12414 if test $ac_cv_func_dlopen = yes; then
12415 lt_cv_dlopen
="dlopen"
12417 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12418 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12419 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12420 echo $ECHO_N "(cached) $ECHO_C" >&6
12422 ac_check_lib_save_LIBS
=$LIBS
12424 cat >conftest.
$ac_ext <<_ACEOF
12427 cat confdefs.h
>>conftest.
$ac_ext
12428 cat >>conftest.
$ac_ext <<_ACEOF
12429 /* end confdefs.h. */
12431 /* Override any GCC internal prototype to avoid an error.
12432 Use char because int might match the return type of a GCC
12433 builtin and then its argument prototype would still apply. */
12446 rm -f conftest.
$ac_objext conftest
$ac_exeext
12447 if { (ac_try
="$ac_link"
12448 case "(($ac_try" in
12449 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12450 *) ac_try_echo=$ac_try;;
12452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12453 (eval "$ac_link") 2>conftest.er1
12455 grep -v '^ *+' conftest.er1 >conftest.err
12457 cat conftest.err >&5
12458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459 (exit $ac_status); } && {
12460 test -z "$ac_cxx_werror_flag" ||
12461 test ! -s conftest.err
12462 } && test -s conftest$ac_exeext &&
12463 $as_test_x conftest$ac_exeext; then
12464 ac_cv_lib_dl_dlopen=yes
12466 echo "$as_me: failed program was:" >&5
12467 sed 's/^/| /' conftest.$ac_ext >&5
12469 ac_cv_lib_dl_dlopen=no
12472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12473 conftest$ac_exeext conftest.$ac_ext
12474 LIBS=$ac_check_lib_save_LIBS
12476 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12477 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12478 if test $ac_cv_lib_dl_dlopen = yes; then
12479 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12481 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12482 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12483 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12484 echo $ECHO_N "(cached) $ECHO_C" >&6
12486 ac_check_lib_save_LIBS=$LIBS
12487 LIBS="-lsvld $LIBS"
12488 cat >conftest.$ac_ext <<_ACEOF
12491 cat confdefs.h >>conftest.$ac_ext
12492 cat >>conftest.$ac_ext <<_ACEOF
12493 /* end confdefs.h. */
12495 /* Override any GCC internal prototype to avoid an error.
12496 Use char because int might match the return type of a GCC
12497 builtin and then its argument prototype would still apply. */
12510 rm -f conftest.$ac_objext conftest$ac_exeext
12511 if { (ac_try="$ac_link"
12512 case "(($ac_try" in
12513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12514 *) ac_try_echo
=$ac_try;;
12516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12517 (eval "$ac_link") 2>conftest.er1
12519 grep -v '^ *+' conftest.er1
>conftest.err
12521 cat conftest.err
>&5
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); } && {
12524 test -z "$ac_cxx_werror_flag" ||
12525 test ! -s conftest.err
12526 } && test -s conftest
$ac_exeext &&
12527 $as_test_x conftest
$ac_exeext; then
12528 ac_cv_lib_svld_dlopen
=yes
12530 echo "$as_me: failed program was:" >&5
12531 sed 's/^/| /' conftest.
$ac_ext >&5
12533 ac_cv_lib_svld_dlopen
=no
12536 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12537 conftest
$ac_exeext conftest.
$ac_ext
12538 LIBS
=$ac_check_lib_save_LIBS
12540 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12541 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12542 if test $ac_cv_lib_svld_dlopen = yes; then
12543 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12545 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12546 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12547 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12548 echo $ECHO_N "(cached) $ECHO_C" >&6
12550 ac_check_lib_save_LIBS
=$LIBS
12552 cat >conftest.
$ac_ext <<_ACEOF
12555 cat confdefs.h
>>conftest.
$ac_ext
12556 cat >>conftest.
$ac_ext <<_ACEOF
12557 /* end confdefs.h. */
12559 /* Override any GCC internal prototype to avoid an error.
12560 Use char because int might match the return type of a GCC
12561 builtin and then its argument prototype would still apply. */
12569 return dld_link ();
12574 rm -f conftest.
$ac_objext conftest
$ac_exeext
12575 if { (ac_try
="$ac_link"
12576 case "(($ac_try" in
12577 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12578 *) ac_try_echo=$ac_try;;
12580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12581 (eval "$ac_link") 2>conftest.er1
12583 grep -v '^ *+' conftest.er1 >conftest.err
12585 cat conftest.err >&5
12586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12587 (exit $ac_status); } && {
12588 test -z "$ac_cxx_werror_flag" ||
12589 test ! -s conftest.err
12590 } && test -s conftest$ac_exeext &&
12591 $as_test_x conftest$ac_exeext; then
12592 ac_cv_lib_dld_dld_link=yes
12594 echo "$as_me: failed program was:" >&5
12595 sed 's/^/| /' conftest.$ac_ext >&5
12597 ac_cv_lib_dld_dld_link=no
12600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12601 conftest$ac_exeext conftest.$ac_ext
12602 LIBS=$ac_check_lib_save_LIBS
12604 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12605 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12606 if test $ac_cv_lib_dld_dld_link = yes; then
12607 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12628 if test "x$lt_cv_dlopen" != xno; then
12634 case $lt_cv_dlopen in
12636 save_CPPFLAGS="$CPPFLAGS"
12637 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12639 save_LDFLAGS="$LDFLAGS"
12640 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12643 LIBS="$lt_cv_dlopen_libs $LIBS"
12645 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12646 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12647 if test "${lt_cv_dlopen_self+set}" = set; then
12648 echo $ECHO_N "(cached) $ECHO_C" >&6
12650 if test "$cross_compiling" = yes; then :
12651 lt_cv_dlopen_self=cross
12653 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12654 lt_status=$lt_dlunknown
12655 cat > conftest.$ac_ext <<EOF
12656 #line 12656 "configure"
12657 #include "confdefs.h"
12666 # define LT_DLGLOBAL RTLD_GLOBAL
12669 # define LT_DLGLOBAL DL_GLOBAL
12671 # define LT_DLGLOBAL 0
12675 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12676 find out it does not work in some platform. */
12677 #ifndef LT_DLLAZY_OR_NOW
12679 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12682 # define LT_DLLAZY_OR_NOW DL_LAZY
12685 # define LT_DLLAZY_OR_NOW RTLD_NOW
12688 # define LT_DLLAZY_OR_NOW DL_NOW
12690 # define LT_DLLAZY_OR_NOW 0
12698 extern "C" void exit (int);
12701 void fnord() { int i=42;}
12704 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12705 int status = $lt_dlunknown;
12709 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12710 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12711 /* dlclose (self); */
12717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12718 (eval $ac_link) 2>&5
12720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12721 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12722 (./conftest; exit; ) 2>/dev/null
12724 case x$lt_status in
12725 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12726 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12727 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12730 # compilation failed
12731 lt_cv_dlopen_self=no
12738 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12739 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
12741 if test "x$lt_cv_dlopen_self" = xyes; then
12742 LDFLAGS="$LDFLAGS $link_static_flag"
12743 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12744 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12745 if test "${lt_cv_dlopen_self_static+set}" = set; then
12746 echo $ECHO_N "(cached) $ECHO_C" >&6
12748 if test "$cross_compiling" = yes; then :
12749 lt_cv_dlopen_self_static=cross
12751 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12752 lt_status=$lt_dlunknown
12753 cat > conftest.$ac_ext <<EOF
12754 #line 12754 "configure"
12755 #include "confdefs.h"
12764 # define LT_DLGLOBAL RTLD_GLOBAL
12767 # define LT_DLGLOBAL DL_GLOBAL
12769 # define LT_DLGLOBAL 0
12773 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12774 find out it does not work in some platform. */
12775 #ifndef LT_DLLAZY_OR_NOW
12777 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12780 # define LT_DLLAZY_OR_NOW DL_LAZY
12783 # define LT_DLLAZY_OR_NOW RTLD_NOW
12786 # define LT_DLLAZY_OR_NOW DL_NOW
12788 # define LT_DLLAZY_OR_NOW 0
12796 extern "C" void exit (int);
12799 void fnord() { int i=42;}
12802 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12803 int status = $lt_dlunknown;
12807 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12808 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12809 /* dlclose (self); */
12815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12816 (eval $ac_link) 2>&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12820 (./conftest; exit; ) 2>/dev/null
12822 case x$lt_status in
12823 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12824 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12825 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12828 # compilation failed
12829 lt_cv_dlopen_self_static=no
12836 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12837 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
12840 CPPFLAGS="$save_CPPFLAGS"
12841 LDFLAGS="$save_LDFLAGS"
12846 case $lt_cv_dlopen_self in
12847 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12848 *) enable_dlopen_self=unknown ;;
12851 case $lt_cv_dlopen_self_static in
12852 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12853 *) enable_dlopen_self_static=unknown ;;
12858 # The else clause should only fire when bootstrapping the
12859 # libtool distribution, otherwise you forgot to ship ltmain.sh
12860 # with your package, and you will get complaints that there are
12861 # no rules to generate ltmain.sh.
12862 if test -f "$ltmain"; then
12863 # See if we are running on zsh, and set the options which allow our commands through
12864 # without removal of \ escapes.
12865 if test -n "${ZSH_VERSION+set}" ; then
12866 setopt NO_GLOB_SUBST
12868 # Now quote all the things that may contain metacharacters while being
12869 # careful not to overquote the AC_SUBSTed values. We take copies of the
12870 # variables and quote the copies for generation of the libtool script.
12871 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12872 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12873 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12874 deplibs_check_method reload_flag reload_cmds need_locks \
12875 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12876 lt_cv_sys_global_symbol_to_c_name_address \
12877 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12878 old_postinstall_cmds old_postuninstall_cmds \
12882 lt_prog_compiler_wl_CXX \
12883 lt_prog_compiler_pic_CXX \
12884 lt_prog_compiler_static_CXX \
12885 lt_prog_compiler_no_builtin_flag_CXX \
12886 export_dynamic_flag_spec_CXX \
12887 thread_safe_flag_spec_CXX \
12888 whole_archive_flag_spec_CXX \
12889 enable_shared_with_static_runtimes_CXX \
12890 old_archive_cmds_CXX \
12891 old_archive_from_new_cmds_CXX \
12892 predep_objects_CXX \
12893 postdep_objects_CXX \
12896 compiler_lib_search_path_CXX \
12898 archive_expsym_cmds_CXX \
12899 postinstall_cmds_CXX \
12900 postuninstall_cmds_CXX \
12901 old_archive_from_expsyms_cmds_CXX \
12902 allow_undefined_flag_CXX \
12903 no_undefined_flag_CXX \
12904 export_symbols_cmds_CXX \
12905 hardcode_libdir_flag_spec_CXX \
12906 hardcode_libdir_flag_spec_ld_CXX \
12907 hardcode_libdir_separator_CXX \
12908 hardcode_automatic_CXX \
12910 module_expsym_cmds_CXX \
12911 lt_cv_prog_compiler_c_o_CXX \
12912 exclude_expsyms_CXX \
12913 include_expsyms_CXX; do
12916 old_archive_cmds_CXX | \
12917 old_archive_from_new_cmds_CXX | \
12918 archive_cmds_CXX | \
12919 archive_expsym_cmds_CXX | \
12920 module_cmds_CXX | \
12921 module_expsym_cmds_CXX | \
12922 old_archive_from_expsyms_cmds_CXX | \
12923 export_symbols_cmds_CXX | \
12924 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12925 postinstall_cmds | postuninstall_cmds | \
12926 old_postinstall_cmds | old_postuninstall_cmds | \
12927 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12928 # Double-quote double-evaled strings.
12929 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
12932 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
12938 *'\$0 --fallback-echo"')
12939 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12945 cat <<__EOF__ >> "$cfgfile"
12946 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12948 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
12950 # Shell to use when invoking shell scripts.
12953 # Whether or not to build shared libraries.
12954 build_libtool_libs=$enable_shared
12956 # Whether or not to build static libraries.
12957 build_old_libs=$enable_static
12959 # Whether or not to add -lc for building shared libraries.
12960 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12962 # Whether or not to disallow shared libs when runtime libs are static
12963 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12965 # Whether or not to optimize for fast installation.
12966 fast_install=$enable_fast_install
12969 host_alias=$host_alias
12972 # An echo program that does not interpret backslashes.
12977 AR_FLAGS=$lt_AR_FLAGS
12982 # A language-specific compiler.
12983 CC=$lt_compiler_CXX
12985 # Is the compiler the GNU C compiler?
12991 # The linker used to build libraries.
12994 # Whether we need hard or soft links.
12997 # A BSD-compatible nm program.
13000 # A symbol stripping program
13003 # Used to examine libraries when file_magic_cmd begins "file"
13004 MAGIC_CMD=$MAGIC_CMD
13006 # Used on cygwin: DLL creation program.
13009 # Used on cygwin: object dumper.
13012 # Used on cygwin: assembler.
13015 # The name of the directory that contains temporary libtool files.
13018 # How to create reloadable object files.
13019 reload_flag=$lt_reload_flag
13020 reload_cmds=$lt_reload_cmds
13022 # How to pass a linker flag through the compiler.
13023 wl=$lt_lt_prog_compiler_wl_CXX
13025 # Object file suffix (normally "o").
13026 objext="$ac_objext"
13028 # Old archive suffix (normally "a").
13031 # Shared library suffix (normally ".so").
13034 # Executable file suffix (normally "").
13037 # Additional compiler flags for building library objects.
13038 pic_flag=$lt_lt_prog_compiler_pic_CXX
13041 # What is the maximum length of a command?
13042 max_cmd_len=$lt_cv_sys_max_cmd_len
13044 # Does compiler simultaneously support -c and -o options?
13045 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13047 # Must we lock files when doing compilation ?
13048 need_locks=$lt_need_locks
13050 # Do we need the lib prefix for modules?
13051 need_lib_prefix=$need_lib_prefix
13053 # Do we need a version for libraries?
13054 need_version=$need_version
13056 # Whether dlopen is supported.
13057 dlopen_support=$enable_dlopen
13059 # Whether dlopen of programs is supported.
13060 dlopen_self=$enable_dlopen_self
13062 # Whether dlopen of statically linked programs is supported.
13063 dlopen_self_static=$enable_dlopen_self_static
13065 # Compiler flag to prevent dynamic linking.
13066 link_static_flag=$lt_lt_prog_compiler_static_CXX
13068 # Compiler flag to turn off builtin functions.
13069 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13071 # Compiler flag to allow reflexive dlopens.
13072 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13074 # Compiler flag to generate shared objects directly from archives.
13075 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13077 # Compiler flag to generate thread-safe objects.
13078 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13080 # Library versioning type.
13081 version_type=$version_type
13083 # Format of library name prefix.
13084 libname_spec=$lt_libname_spec
13086 # List of archive names. First name is the real one, the rest are links.
13087 # The last name is the one that the linker finds with -lNAME.
13088 library_names_spec=$lt_library_names_spec
13090 # The coded name of the library, if different from the real name.
13091 soname_spec=$lt_soname_spec
13093 # Commands used to build and install an old-style archive.
13095 old_archive_cmds=$lt_old_archive_cmds_CXX
13096 old_postinstall_cmds=$lt_old_postinstall_cmds
13097 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13099 # Create an old-style archive from a shared archive.
13100 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13102 # Create a temporary old-style archive to link instead of a shared archive.
13103 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13105 # Commands used to build and install a shared archive.
13106 archive_cmds=$lt_archive_cmds_CXX
13107 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13108 postinstall_cmds=$lt_postinstall_cmds
13109 postuninstall_cmds=$lt_postuninstall_cmds
13111 # Commands used to build a loadable module (assumed same as above if empty)
13112 module_cmds=$lt_module_cmds_CXX
13113 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13115 # Commands to strip libraries.
13116 old_striplib=$lt_old_striplib
13117 striplib=$lt_striplib
13119 # Dependencies to place before the objects being linked to create a
13121 predep_objects=$lt_predep_objects_CXX
13123 # Dependencies to place after the objects being linked to create a
13125 postdep_objects=$lt_postdep_objects_CXX
13127 # Dependencies to place before the objects being linked to create a
13129 predeps=$lt_predeps_CXX
13131 # Dependencies to place after the objects being linked to create a
13133 postdeps=$lt_postdeps_CXX
13135 # The library search path used internally by the compiler when linking
13136 # a shared library.
13137 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13139 # Method to check whether dependent libraries are shared objects.
13140 deplibs_check_method=$lt_deplibs_check_method
13142 # Command to use when deplibs_check_method == file_magic.
13143 file_magic_cmd=$lt_file_magic_cmd
13145 # Flag that allows shared libraries with undefined symbols to be built.
13146 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13148 # Flag that forces no undefined symbols.
13149 no_undefined_flag=$lt_no_undefined_flag_CXX
13151 # Commands used to finish a libtool library installation in a directory.
13152 finish_cmds=$lt_finish_cmds
13154 # Same as above, but a single script fragment to be evaled but not shown.
13155 finish_eval=$lt_finish_eval
13157 # Take the output of nm and produce a listing of raw symbols and C names.
13158 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13160 # Transform the output of nm in a proper C declaration
13161 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13163 # Transform the output of nm in a C name address pair
13164 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13166 # This is the shared library runtime path variable.
13167 runpath_var=$runpath_var
13169 # This is the shared library path variable.
13170 shlibpath_var=$shlibpath_var
13172 # Is shlibpath searched before the hard-coded library search path?
13173 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13175 # How to hardcode a shared library path into an executable.
13176 hardcode_action=$hardcode_action_CXX
13178 # Whether we should hardcode library paths into libraries.
13179 hardcode_into_libs=$hardcode_into_libs
13181 # Flag to hardcode \$libdir into a binary during linking.
13182 # This must work even if \$libdir does not exist.
13183 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13185 # If ld is used when linking, flag to hardcode \$libdir into
13186 # a binary during linking. This must work even if \$libdir does
13188 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13190 # Whether we need a single -rpath flag with a separated argument.
13191 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13193 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13194 # resulting binary.
13195 hardcode_direct=$hardcode_direct_CXX
13197 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13198 # resulting binary.
13199 hardcode_minus_L=$hardcode_minus_L_CXX
13201 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13202 # the resulting binary.
13203 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13205 # Set to yes if building a shared library automatically hardcodes DIR into the library
13206 # and all subsequent libraries and executables linked against it.
13207 hardcode_automatic=$hardcode_automatic_CXX
13209 # Variables whose values should be saved in libtool wrapper scripts and
13210 # restored at relink time.
13211 variables_saved_for_relink="$variables_saved_for_relink"
13213 # Whether libtool must link a program against all its dependency libraries.
13214 link_all_deplibs=$link_all_deplibs_CXX
13216 # Compile-time system search path for libraries
13217 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13219 # Run-time system search path for libraries
13220 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13222 # Fix the shell variable \$srcfile for the compiler.
13223 fix_srcfile_path="$fix_srcfile_path_CXX"
13225 # Set to yes if exported symbols are required.
13226 always_export_symbols=$always_export_symbols_CXX
13228 # The commands to list exported symbols.
13229 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13231 # The commands to extract the exported symbol list from a shared archive.
13232 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13234 # Symbols that should not be listed in the preloaded symbols.
13235 exclude_expsyms=$lt_exclude_expsyms_CXX
13237 # Symbols that must always be exported.
13238 include_expsyms=$lt_include_expsyms_CXX
13240 # ### END LIBTOOL TAG CONFIG: $tagname
13246 # If there is no Makefile yet, we rely on a make rule to execute
13247 # `config.status
--recheck' to rerun these tests and create the
13248 # libtool script then.
13249 test -f Makefile && make "$ltmain"
13254 ac_cpp='$CPP $CPPFLAGS'
13255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13256 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13263 with_gnu_ldcxx=$with_gnu_ld
13264 with_gnu_ld=$lt_save_with_gnu_ld
13265 lt_cv_path_LDCXX=$lt_cv_path_LD
13266 lt_cv_path_LD=$lt_save_path_LD
13267 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13268 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13276 if test -n "$F77" && test "X$F77" != "Xno"; then
13279 ac_compile='$F77 -c $FFLAGS conftest.
$ac_ext >&5'
13280 ac_link='$F77 -o conftest
$ac_exeext $FFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13281 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13284 archive_cmds_need_lc_F77=no
13285 allow_undefined_flag_F77=
13286 always_export_symbols_F77=no
13287 archive_expsym_cmds_F77=
13288 export_dynamic_flag_spec_F77=
13289 hardcode_direct_F77=no
13290 hardcode_libdir_flag_spec_F77=
13291 hardcode_libdir_flag_spec_ld_F77=
13292 hardcode_libdir_separator_F77=
13293 hardcode_minus_L_F77=no
13294 hardcode_automatic_F77=no
13296 module_expsym_cmds_F77=
13297 link_all_deplibs_F77=unknown
13298 old_archive_cmds_F77=$old_archive_cmds
13299 no_undefined_flag_F77=
13300 whole_archive_flag_spec_F77=
13301 enable_shared_with_static_runtimes_F77=no
13303 # Source file extension for f77 test sources.
13306 # Object file extension for compiled f77 test sources.
13310 # Code to be used in simple compile tests
13311 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
13313 # Code to be used in simple link tests
13314 lt_simple_link_test_code=" program t\n end\n"
13316 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13318 # If no C compiler was specified, use CC.
13321 # Allow CC to be a program name with arguments.
13325 # Allow CC to be a program name with arguments.
13330 cc_basename=`$echo X"$compiler" | $Xsed -e 's
%^.
*/%%'`
13332 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13333 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13334 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13335 echo "${ECHO_T}$can_build_shared" >&6; }
13337 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13338 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13339 test "$can_build_shared" = "no" && enable_shared=no
13341 # On AIX, shared libraries and static libraries use the same namespace, and
13342 # are all built from PIC.
13345 test "$enable_shared" = yes && enable_static=no
13346 if test -n "$RANLIB"; then
13347 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13348 postinstall_cmds='$RANLIB $lib'
13352 test "$enable_shared" = yes && enable_static=no
13355 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13356 echo "${ECHO_T}$enable_shared" >&6; }
13358 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13359 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13360 # Make sure either enable_shared or enable_static is yes.
13361 test "$enable_shared" = yes || enable_static=yes
13362 { echo "$as_me:$LINENO: result: $enable_static" >&5
13363 echo "${ECHO_T}$enable_static" >&6; }
13365 test "$ld_shlibs_F77" = no && can_build_shared=no
13370 lt_prog_compiler_wl_F77=
13371 lt_prog_compiler_pic_F77=
13372 lt_prog_compiler_static_F77=
13374 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13375 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13377 if test "$GCC" = yes; then
13378 lt_prog_compiler_wl_F77='-Wl,'
13379 lt_prog_compiler_static_F77='-static'
13383 # All AIX code is PIC.
13384 if test "$host_cpu" = ia64; then
13385 # AIX 5 now supports IA64 processor
13386 lt_prog_compiler_static_F77='-Bstatic'
13391 # FIXME: we need at least 68020 code to build shared libraries, but
13392 # adding the `-m68020' flag to GCC prevents building anything better
,
13394 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13397 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13398 # PIC is the default for these OSes.
13401 mingw
* | pw32
* | os2
*)
13402 # This hack is so that the source file can tell whether it is being
13403 # built for inclusion in a dll (and should export symbols for example).
13404 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13407 darwin
* | rhapsody
*)
13408 # PIC is the default on this platform
13409 # Common symbols not allowed in MH_DYLIB files
13410 lt_prog_compiler_pic_F77
='-fno-common'
13414 # Just because we use GCC doesn't mean we suddenly get shared libraries
13415 # on systems that don't support them.
13416 lt_prog_compiler_can_build_shared_F77
=no
13421 if test -d /usr
/nec
; then
13422 lt_prog_compiler_pic_F77
=-Kconform_pic
13427 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13428 # not for PA HP-UX.
13429 case "$host_cpu" in
13434 lt_prog_compiler_pic_F77
='-fPIC'
13440 lt_prog_compiler_pic_F77
='-fPIC'
13444 # PORTME Check for flag to pass linker flags through the system compiler.
13447 lt_prog_compiler_wl_F77
='-Wl,'
13448 if test "$host_cpu" = ia64
; then
13449 # AIX 5 now supports IA64 processor
13450 lt_prog_compiler_static_F77
='-Bstatic'
13452 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13456 mingw
* | pw32
* | os2
*)
13457 # This hack is so that the source file can tell whether it is being
13458 # built for inclusion in a dll (and should export symbols for example).
13459 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13462 hpux9
* | hpux10
* | hpux11
*)
13463 lt_prog_compiler_wl_F77
='-Wl,'
13464 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13465 # not for PA HP-UX.
13466 case "$host_cpu" in
13471 lt_prog_compiler_pic_F77
='+Z'
13474 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13475 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13478 irix5
* | irix6
* | nonstopux
*)
13479 lt_prog_compiler_wl_F77
='-Wl,'
13480 # PIC (with -KPIC) is the default.
13481 lt_prog_compiler_static_F77
='-non_shared'
13485 lt_prog_compiler_pic_F77
='-KPIC'
13486 lt_prog_compiler_static_F77
='-Bstatic'
13492 lt_prog_compiler_wl_F77
='-Wl,'
13493 lt_prog_compiler_pic_F77
='-KPIC'
13494 lt_prog_compiler_static_F77
='-static'
13497 lt_prog_compiler_wl_F77
='-Wl,'
13498 # All Alpha code is PIC.
13499 lt_prog_compiler_static_F77
='-non_shared'
13504 osf3
* | osf4
* | osf5
*)
13505 lt_prog_compiler_wl_F77
='-Wl,'
13506 # All OSF/1 code is PIC.
13507 lt_prog_compiler_static_F77
='-non_shared'
13511 lt_prog_compiler_pic_F77
='-Kpic'
13512 lt_prog_compiler_static_F77
='-dn'
13516 lt_prog_compiler_wl_F77
='-Wl,'
13517 lt_prog_compiler_pic_F77
='-KPIC'
13518 lt_prog_compiler_static_F77
='-Bstatic'
13522 lt_prog_compiler_wl_F77
='-Qoption ld '
13523 lt_prog_compiler_pic_F77
='-PIC'
13524 lt_prog_compiler_static_F77
='-Bstatic'
13527 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13528 lt_prog_compiler_wl_F77
='-Wl,'
13529 lt_prog_compiler_pic_F77
='-KPIC'
13530 lt_prog_compiler_static_F77
='-Bstatic'
13534 if test -d /usr
/nec
;then
13535 lt_prog_compiler_pic_F77
='-Kconform_pic'
13536 lt_prog_compiler_static_F77
='-Bstatic'
13541 lt_prog_compiler_pic_F77
='-pic'
13542 lt_prog_compiler_static_F77
='-Bstatic'
13546 lt_prog_compiler_can_build_shared_F77
=no
13551 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13552 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13555 # Check to make sure the PIC flag actually works.
13557 if test -n "$lt_prog_compiler_pic_F77"; then
13559 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13560 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13561 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13562 echo $ECHO_N "(cached) $ECHO_C" >&6
13564 lt_prog_compiler_pic_works_F77
=no
13565 ac_outfile
=conftest.
$ac_objext
13566 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13567 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13568 # Insert the option either (1) after the last *FLAGS variable, or
13569 # (2) before a word containing "conftest.", or (3) at the end.
13570 # Note that $ac_compile itself does not contain backslashes and begins
13571 # with a dollar sign (not a hyphen), so the echo should work correctly.
13572 # The option is referenced via a variable to avoid confusing sed.
13573 lt_compile
=`echo "$ac_compile" | $SED \
13574 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13575 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13576 -e 's:$: $lt_compiler_flag:'`
13577 (eval echo "\"\$as_me:13577: $lt_compile\"" >&5)
13578 (eval "$lt_compile" 2>conftest.err
)
13580 cat conftest.err
>&5
13581 echo "$as_me:13581: \$? = $ac_status" >&5
13582 if (exit $ac_status) && test -s "$ac_outfile"; then
13583 # The compiler can only warn and ignore the option if not recognized
13584 # So say no if there are warnings
13585 if test ! -s conftest.err
; then
13586 lt_prog_compiler_pic_works_F77
=yes
13592 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13593 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13595 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13596 case $lt_prog_compiler_pic_F77 in
13598 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13601 lt_prog_compiler_pic_F77
=
13602 lt_prog_compiler_can_build_shared_F77
=no
13607 # For platforms which do not support PIC, -DPIC is meaningless:
13609 lt_prog_compiler_pic_F77
=
13612 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13616 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13617 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13618 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13619 echo $ECHO_N "(cached) $ECHO_C" >&6
13621 lt_cv_prog_compiler_c_o_F77
=no
13622 $rm -r conftest
2>/dev
/null
13626 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13628 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13629 # that will create temporary files in the current directory regardless of
13630 # the output directory. Thus, making CWD read-only will cause this test
13631 # to fail, enabling locking or at least warning the user not to do parallel
13635 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13636 # Insert the option either (1) after the last *FLAGS variable, or
13637 # (2) before a word containing "conftest.", or (3) at the end.
13638 # Note that $ac_compile itself does not contain backslashes and begins
13639 # with a dollar sign (not a hyphen), so the echo should work correctly.
13640 lt_compile
=`echo "$ac_compile" | $SED \
13641 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13642 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13643 -e 's:$: $lt_compiler_flag:'`
13644 (eval echo "\"\$as_me:13644: $lt_compile\"" >&5)
13645 (eval "$lt_compile" 2>out
/conftest.err
)
13647 cat out
/conftest.err
>&5
13648 echo "$as_me:13648: \$? = $ac_status" >&5
13649 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13651 # The compiler can only warn and ignore the option if not recognized
13652 # So say no if there are warnings
13653 if test ! -s out
/conftest.err
; then
13654 lt_cv_prog_compiler_c_o_F77
=yes
13659 # SGI C++ compiler will create directory out/ii_files/ for
13660 # template instantiation
13661 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13662 $rm out
/* && rmdir out
13668 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13669 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13672 hard_links
="nottested"
13673 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13674 # do not overwrite the value of need_locks provided by the user
13675 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13676 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13679 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13681 ln conftest.a conftest.b
2>&5 || hard_links
=no
13682 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13683 { echo "$as_me:$LINENO: result: $hard_links" >&5
13684 echo "${ECHO_T}$hard_links" >&6; }
13685 if test "$hard_links" = no
; then
13686 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13687 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13694 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13695 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13698 allow_undefined_flag_F77
=
13699 enable_shared_with_static_runtimes_F77
=no
13701 archive_expsym_cmds_F77
=
13702 old_archive_From_new_cmds_F77
=
13703 old_archive_from_expsyms_cmds_F77
=
13704 export_dynamic_flag_spec_F77
=
13705 whole_archive_flag_spec_F77
=
13706 thread_safe_flag_spec_F77
=
13707 hardcode_libdir_flag_spec_F77
=
13708 hardcode_libdir_flag_spec_ld_F77
=
13709 hardcode_libdir_separator_F77
=
13710 hardcode_direct_F77
=no
13711 hardcode_minus_L_F77
=no
13712 hardcode_shlibpath_var_F77
=unsupported
13713 link_all_deplibs_F77
=unknown
13714 hardcode_automatic_F77
=no
13716 module_expsym_cmds_F77
=
13717 always_export_symbols_F77
=no
13718 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13719 # include_expsyms should be a list of space-separated symbols to be *always*
13720 # included in the symbol list
13721 include_expsyms_F77
=
13722 # exclude_expsyms can be an extended regexp of symbols to exclude
13723 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13724 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13725 # as well as any symbol that contains `d'.
13726 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13727 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13728 # platforms (ab)use it in PIC code, but their linkers get confused if
13729 # the symbol is explicitly referenced. Since portable code cannot
13730 # rely on this symbol name, it's probably fine to never include it in
13731 # preloaded symbol tables.
13732 extract_expsyms_cmds
=
13735 cygwin
* | mingw
* | pw32
*)
13736 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13737 # When not using gcc, we currently assume that we are using
13738 # Microsoft Visual C++.
13739 if test "$GCC" != yes; then
13749 if test "$with_gnu_ld" = yes; then
13750 # If archive_cmds runs LD, not CC, wlarc should be empty
13753 # See if GNU ld supports shared libraries.
13755 aix3
* | aix4
* | aix5
*)
13756 # On AIX/PPC, the GNU linker is very broken
13757 if test "$host_cpu" != ia64
; then
13761 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13762 *** to be unable to reliably create shared libraries on AIX.
13763 *** Therefore, libtool is disabling shared libraries support. If you
13764 *** really care for shared libraries, you may want to modify your PATH
13765 *** so that a non-GNU linker is found, and then restart.
13772 archive_cmds_F77
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
13773 hardcode_libdir_flag_spec_F77
='-L$libdir'
13774 hardcode_minus_L_F77
=yes
13776 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13777 # that the semantics of dynamic libraries on AmigaOS, at least up
13778 # to version 4, is to share data among multiple programs linked
13779 # with the same dynamic library. Since this doesn't match the
13780 # behavior of shared libraries on other platforms, we can't use
13786 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13787 allow_undefined_flag_F77
=unsupported
13788 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13789 # support --undefined. This deserves some investigation. FIXME
13790 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13796 cygwin
* | mingw
* | pw32
*)
13797 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13798 # as there is no search path for DLLs.
13799 hardcode_libdir_flag_spec_F77
='-L$libdir'
13800 allow_undefined_flag_F77
=unsupported
13801 always_export_symbols_F77
=no
13802 enable_shared_with_static_runtimes_F77
=yes
13803 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13805 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13806 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13807 # If the export-symbols file already is a .def file (1st line
13808 # is EXPORTS), use it as is; otherwise, prepend...
13809 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13810 cp $export_symbols $output_objdir/$soname.def;
13812 echo EXPORTS > $output_objdir/$soname.def;
13813 cat $export_symbols >> $output_objdir/$soname.def;
13815 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13822 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13823 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13826 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13827 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13832 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
13836 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13837 *** create shared libraries on Solaris systems. Therefore, libtool
13838 *** is disabling shared libraries support. We urge you to upgrade GNU
13839 *** binutils to release 2.9.1 or newer. Another option is to modify
13840 *** your PATH or compiler configuration so that the native linker is
13841 *** used, and then restart.
13844 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13845 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13846 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13853 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13855 hardcode_direct_F77
=yes
13856 hardcode_shlibpath_var_F77
=no
13860 if $LD --help 2>&1 |
egrep ': supported targets:.* elf' > /dev
/null
; then
13861 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13862 archive_cmds_F77
="$tmp_archive_cmds"
13863 supports_anon_versioning
=no
13864 case `$LD -v 2>/dev/null` in
13865 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13866 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13867 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13868 *\
2.11.
*) ;; # other 2.11 versions
13869 *) supports_anon_versioning
=yes ;;
13871 if test $supports_anon_versioning = yes; then
13872 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
13873 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13874 $echo "local: *; };" >> $output_objdir/$libname.ver~
13875 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13877 archive_expsym_cmds_F77
="$tmp_archive_cmds"
13885 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13886 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13887 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13894 if test "$ld_shlibs_F77" = yes; then
13895 runpath_var
=LD_RUN_PATH
13896 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13897 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13898 # ancient GNU ld didn't support --whole-archive et. al.
13899 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13900 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13902 whole_archive_flag_spec_F77
=
13906 # PORTME fill in a description of your system's linker (not GNU ld)
13909 allow_undefined_flag_F77
=unsupported
13910 always_export_symbols_F77
=yes
13911 archive_expsym_cmds_F77
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
13912 # Note: this linker hardcodes the directories in LIBPATH if there
13913 # are no directories specified by -L.
13914 hardcode_minus_L_F77
=yes
13915 if test "$GCC" = yes && test -z "$link_static_flag"; then
13916 # Neither direct hardcoding nor static linking is supported with a
13918 hardcode_direct_F77
=unsupported
13923 if test "$host_cpu" = ia64
; then
13924 # On IA64, the linker does run time linking by default, so we don't
13925 # have to do anything special.
13926 aix_use_runtimelinking
=no
13927 exp_sym_flag
='-Bexport'
13930 # If we're using GNU nm, then we don't want the "-C" option.
13931 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13932 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13933 export_symbols_cmds_F77
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13935 export_symbols_cmds_F77
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13937 aix_use_runtimelinking
=no
13939 # Test if we are trying to use run time linking or normal
13940 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13941 # need to do runtime linking.
13942 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
13943 for ld_flag
in $LDFLAGS; do
13944 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13945 aix_use_runtimelinking
=yes
13951 exp_sym_flag
='-bexport'
13952 no_entry_flag
='-bnoentry'
13955 # When large executables or shared objects are built, AIX ld can
13956 # have problems creating the table of contents. If linking a library
13957 # or program results in "error TOC overflow" add -mminimal-toc to
13958 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13959 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13961 archive_cmds_F77
=''
13962 hardcode_direct_F77
=yes
13963 hardcode_libdir_separator_F77
=':'
13964 link_all_deplibs_F77
=yes
13966 if test "$GCC" = yes; then
13967 case $host_os in aix4.012|aix4.012.
*)
13968 # We only want to do this on AIX 4.2 and lower, the check
13969 # below for broken collect2 doesn't work under 4.3+
13970 collect2name
=`${CC} -print-prog-name=collect2`
13971 if test -f "$collect2name" && \
13972 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
13974 # We have reworked collect2
13975 hardcode_direct_F77
=yes
13977 # We have old collect2
13978 hardcode_direct_F77
=unsupported
13979 # It fails to find uninstalled libraries when the uninstalled
13980 # path is not listed in the libpath. Setting hardcode_minus_L
13981 # to unsupported forces relinking
13982 hardcode_minus_L_F77
=yes
13983 hardcode_libdir_flag_spec_F77
='-L$libdir'
13984 hardcode_libdir_separator_F77
=
13987 shared_flag
='-shared'
13990 if test "$host_cpu" = ia64
; then
13991 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13992 # chokes on -Wl,-G. The following line is correct:
13995 if test "$aix_use_runtimelinking" = yes; then
13996 shared_flag
='${wl}-G'
13998 shared_flag
='${wl}-bM:SRE'
14003 # It seems that -bexpall does not export symbols beginning with
14004 # underscore (_), so it is better to generate a list of symbols to export.
14005 always_export_symbols_F77
=yes
14006 if test "$aix_use_runtimelinking" = yes; then
14007 # Warning - without using the other runtime loading flags (-brtl),
14008 # -berok will link without error, but may produce a broken library.
14009 allow_undefined_flag_F77
='-berok'
14010 # Determine the default libpath from the value encoded in an empty executable.
14011 cat >conftest.
$ac_ext <<_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;;
14022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14023 (eval "$ac_link") 2>conftest.er1
14025 grep -v '^ *+' conftest.er1 >conftest.err
14027 cat conftest.err >&5
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); } && {
14030 test -z "$ac_f77_werror_flag" ||
14031 test ! -s conftest.err
14032 } && test -s conftest$ac_exeext &&
14033 $as_test_x conftest$ac_exeext; then
14035 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14037 # Check for a 64-bit object if we didn't find anything.
14038 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14041 echo "$as_me: failed program was:" >&5
14042 sed 's/^/| /' conftest.$ac_ext >&5
14047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14048 conftest$ac_exeext conftest.$ac_ext
14049 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14051 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14052 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14054 if test "$host_cpu" = ia64
; then
14055 hardcode_libdir_flag_spec_F77
='${wl}-R $libdir:/usr/lib:/lib'
14056 allow_undefined_flag_F77
="-z nodefs"
14057 archive_expsym_cmds_F77
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
14059 # Determine the default libpath from the value encoded in an empty executable.
14060 cat >conftest.$ac_ext <<_ACEOF
14065 rm -f conftest.$ac_objext conftest$ac_exeext
14066 if { (ac_try="$ac_link"
14067 case "(($ac_try" in
14068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14069 *) ac_try_echo=$ac_try;;
14071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14072 (eval "$ac_link") 2>conftest.er1
14074 grep -v '^
*+' conftest.er1 >conftest.err
14076 cat conftest.err >&5
14077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14078 (exit $ac_status); } && {
14079 test -z "$ac_f77_werror_flag" ||
14080 test ! -s conftest.err
14081 } && test -s conftest$ac_exeext &&
14082 $as_test_x conftest$ac_exeext; then
14084 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings
/,/^$
/ { /^
0/ { s
/^
0 *\
(.
*\
)$
/\
1/; p
; }
14086 # Check for a 64-bit object if we didn't
find anything.
14087 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14090 echo "$as_me: failed program was:" >&5
14091 sed 's/^/| /' conftest.
$ac_ext >&5
14096 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14097 conftest
$ac_exeext conftest.
$ac_ext
14098 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14100 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14101 # Warning - without using the other run time loading flags,
14102 # -berok will link without error, but may produce a broken library.
14103 no_undefined_flag_F77
=' ${wl}-bernotok'
14104 allow_undefined_flag_F77
=' ${wl}-berok'
14105 # -bexpall does not export symbols beginning with underscore (_)
14106 always_export_symbols_F77
=yes
14107 # Exported symbols can be pulled into shared objects from archives
14108 whole_archive_flag_spec_F77
=' '
14109 archive_cmds_need_lc_F77
=yes
14110 # This is similar to how AIX traditionally builds it's shared libraries.
14111 archive_expsym_cmds_F77
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14117 archive_cmds_F77
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14118 hardcode_libdir_flag_spec_F77
='-L$libdir'
14119 hardcode_minus_L_F77
=yes
14120 # see comment about different semantics on the GNU ld section
14125 export_dynamic_flag_spec_F77
=-rdynamic
14128 cygwin
* | mingw
* | pw32
*)
14129 # When not using gcc, we currently assume that we are using
14130 # Microsoft Visual C++.
14131 # hardcode_libdir_flag_spec is actually meaningless, as there is
14132 # no search path for DLLs.
14133 hardcode_libdir_flag_spec_F77
=' '
14134 allow_undefined_flag_F77
=unsupported
14135 # Tell ltmain to make .lib files, not .a files.
14137 # Tell ltmain to make .dll files, not .so files.
14139 # FIXME: Setting linknames here is a bad hack.
14140 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14141 # The linker will automatically build a .lib file if we build a DLL.
14142 old_archive_From_new_cmds_F77
='true'
14143 # FIXME: Should let the user specify the lib program.
14144 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14145 fix_srcfile_path
='`cygpath -w "$srcfile"`'
14146 enable_shared_with_static_runtimes_F77
=yes
14149 darwin
* | rhapsody
*)
14150 if test "$GXX" = yes ; then
14151 archive_cmds_need_lc_F77
=no
14153 rhapsody
* | darwin1.
[012])
14154 allow_undefined_flag_F77
='-undefined suppress'
14157 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14158 allow_undefined_flag_F77
='-flat_namespace -undefined suppress'
14160 case ${MACOSX_DEPLOYMENT_TARGET} in
14162 allow_undefined_flag_F77
='-flat_namespace -undefined suppress'
14165 allow_undefined_flag_F77
='-undefined dynamic_lookup'
14171 lt_int_apple_cc_single_mod
=no
14172 output_verbose_link_cmd
='echo'
14173 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
14174 lt_int_apple_cc_single_mod
=yes
14176 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
14177 archive_cmds_F77
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14179 archive_cmds_F77
='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14181 module_cmds_F77
='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14182 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14183 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
14184 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14186 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14188 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14189 hardcode_direct_F77
=no
14190 hardcode_automatic_F77
=yes
14191 hardcode_shlibpath_var_F77
=unsupported
14192 whole_archive_flag_spec_F77
='-all_load $convenience'
14193 link_all_deplibs_F77
=yes
14200 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14201 hardcode_libdir_flag_spec_F77
='-L$libdir'
14202 hardcode_shlibpath_var_F77
=no
14209 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14210 # support. Future versions do this automatically, but an explicit c++rt0.o
14211 # does not break anything, and helps significantly (at the cost of a little
14214 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14215 hardcode_libdir_flag_spec_F77
='-R$libdir'
14216 hardcode_direct_F77
=yes
14217 hardcode_shlibpath_var_F77
=no
14220 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14222 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14223 hardcode_direct_F77
=yes
14224 hardcode_minus_L_F77
=yes
14225 hardcode_shlibpath_var_F77
=no
14228 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14229 freebsd
* | kfreebsd
*-gnu)
14230 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14231 hardcode_libdir_flag_spec_F77
='-R$libdir'
14232 hardcode_direct_F77
=yes
14233 hardcode_shlibpath_var_F77
=no
14237 if test "$GCC" = yes; then
14238 archive_cmds_F77
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14240 archive_cmds_F77
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14242 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14243 hardcode_libdir_separator_F77
=:
14244 hardcode_direct_F77
=yes
14246 # hardcode_minus_L: Not really in the search PATH,
14247 # but as the default location of the library.
14248 hardcode_minus_L_F77
=yes
14249 export_dynamic_flag_spec_F77
='${wl}-E'
14253 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14254 case "$host_cpu" in
14256 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14259 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14263 case "$host_cpu" in
14265 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
14268 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14272 if test "$with_gnu_ld" = no
; then
14273 case "$host_cpu" in
14275 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14276 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14277 hardcode_libdir_separator_F77
=:
14278 hardcode_direct_F77
=no
14279 hardcode_shlibpath_var_F77
=no
14282 hardcode_libdir_flag_spec_F77
='-L$libdir'
14283 hardcode_direct_F77
=no
14284 hardcode_shlibpath_var_F77
=no
14286 # hardcode_minus_L: Not really in the search PATH,
14287 # but as the default location of the library.
14288 hardcode_minus_L_F77
=yes
14291 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14292 hardcode_libdir_separator_F77
=:
14293 hardcode_direct_F77
=yes
14294 export_dynamic_flag_spec_F77
='${wl}-E'
14296 # hardcode_minus_L: Not really in the search PATH,
14297 # but as the default location of the library.
14298 hardcode_minus_L_F77
=yes
14304 irix5
* | irix6
* | nonstopux
*)
14305 if test "$GCC" = yes; then
14306 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14308 archive_cmds_F77
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14309 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14311 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14312 hardcode_libdir_separator_F77
=:
14313 link_all_deplibs_F77
=yes
14317 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14318 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14320 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14322 hardcode_libdir_flag_spec_F77
='-R$libdir'
14323 hardcode_direct_F77
=yes
14324 hardcode_shlibpath_var_F77
=no
14328 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14329 hardcode_direct_F77
=yes
14330 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14331 hardcode_libdir_separator_F77
=:
14332 hardcode_shlibpath_var_F77
=no
14336 hardcode_direct_F77
=yes
14337 hardcode_shlibpath_var_F77
=no
14338 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14339 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14340 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14341 export_dynamic_flag_spec_F77
='${wl}-E'
14344 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14345 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14346 hardcode_libdir_flag_spec_F77
='-R$libdir'
14349 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14350 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14357 hardcode_libdir_flag_spec_F77
='-L$libdir'
14358 hardcode_minus_L_F77
=yes
14359 allow_undefined_flag_F77
=unsupported
14360 archive_cmds_F77
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
14361 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14365 if test "$GCC" = yes; then
14366 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14367 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14369 allow_undefined_flag_F77
=' -expect_unresolved \*'
14370 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14372 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14373 hardcode_libdir_separator_F77
=:
14376 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14377 if test "$GCC" = yes; then
14378 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14379 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14380 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14382 allow_undefined_flag_F77
=' -expect_unresolved \*'
14383 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14384 archive_expsym_cmds_F77
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
14385 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
14387 # Both c and cxx compiler support -rpath directly
14388 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14390 hardcode_libdir_separator_F77
=:
14394 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14395 hardcode_shlibpath_var_F77
=no
14396 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14397 runpath_var
=LD_RUN_PATH
14398 hardcode_runpath_var
=yes
14402 no_undefined_flag_F77
=' -z text'
14403 if test "$GCC" = yes; then
14404 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14405 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14406 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14408 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14409 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14410 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14412 hardcode_libdir_flag_spec_F77
='-R$libdir'
14413 hardcode_shlibpath_var_F77
=no
14415 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14416 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
14417 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14419 link_all_deplibs_F77
=yes
14423 if test "x$host_vendor" = xsequent
; then
14424 # Use $CC to link under sequent, because it throws in some extra .o
14425 # files that make .init and .fini sections work.
14426 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14428 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14430 hardcode_libdir_flag_spec_F77
='-L$libdir'
14431 hardcode_direct_F77
=yes
14432 hardcode_minus_L_F77
=yes
14433 hardcode_shlibpath_var_F77
=no
14437 case $host_vendor in
14439 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14440 hardcode_direct_F77
=yes # is this really true???
14443 ## LD is ld it makes a PLAMLIB
14444 ## CC just makes a GrossModule.
14445 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14446 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14447 hardcode_direct_F77
=no
14450 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14451 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14454 runpath_var
='LD_RUN_PATH'
14455 hardcode_shlibpath_var_F77
=no
14459 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14460 hardcode_shlibpath_var_F77
=no
14461 export_dynamic_flag_spec_F77
='-Bexport'
14465 if test -d /usr
/nec
; then
14466 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14467 hardcode_shlibpath_var_F77
=no
14468 runpath_var
=LD_RUN_PATH
14469 hardcode_runpath_var
=yes
14475 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14476 hardcode_direct_F77
=yes
14477 hardcode_minus_L_F77
=no
14478 hardcode_shlibpath_var_F77
=no
14479 hardcode_runpath_var
=yes
14480 runpath_var
=LD_RUN_PATH
14483 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
14484 no_undefined_flag_F77
='${wl}-z ${wl}text'
14485 if test "$GCC" = yes; then
14486 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14488 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14490 runpath_var
='LD_RUN_PATH'
14491 hardcode_shlibpath_var_F77
=no
14495 no_undefined_flag_F77
=' -z text'
14496 # $CC -shared without GNU ld will not create a library from C++
14497 # object files and a static libstdc++, better avoid it by now
14498 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14499 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14500 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14501 hardcode_libdir_flag_spec_F77
=
14502 hardcode_shlibpath_var_F77
=no
14503 runpath_var
='LD_RUN_PATH'
14507 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14508 hardcode_libdir_flag_spec_F77
='-L$libdir'
14509 hardcode_shlibpath_var_F77
=no
14518 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14519 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14520 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14522 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14523 if test "$GCC" = yes; then
14524 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14528 # Do we need to explicitly link libc?
14530 case "x$archive_cmds_need_lc_F77" in
14532 # Assume -lc should be added
14533 archive_cmds_need_lc_F77
=yes
14535 if test "$enable_shared" = yes && test "$GCC" = yes; then
14536 case $archive_cmds_F77 in
14538 # FIXME: we may have to deal with multi-command sequences.
14541 # Test whether the compiler implicitly links with -lc since on some
14542 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14543 # to ld, don't add -lc before -lgcc.
14544 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14545 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14547 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14550 (eval $ac_compile) 2>&5
14552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14553 (exit $ac_status); } 2>conftest.err
; then
14556 libobjs
=conftest.
$ac_objext
14558 wl
=$lt_prog_compiler_wl_F77
14564 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14565 allow_undefined_flag_F77
=
14566 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14567 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); }
14572 archive_cmds_need_lc_F77
=no
14574 archive_cmds_need_lc_F77
=yes
14576 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14578 cat conftest.err
1>&5
14581 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14582 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14589 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14590 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14591 library_names_spec
=
14592 libname_spec
='lib$name'
14596 postuninstall_cmds
=
14600 shlibpath_overrides_runpath
=unknown
14602 dynamic_linker
="$host_os ld.so"
14603 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14604 if test "$GCC" = yes; then
14605 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14606 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14607 # if the path contains ";" then we assume it to be the separator
14608 # otherwise default to the standard path separator (i.e. ":") - it is
14609 # assumed that no part of a normal pathname contains ";" but that should
14610 # okay in the real world where ";" in dirpaths is itself problematic.
14611 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14613 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14616 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14618 need_lib_prefix
=unknown
14619 hardcode_into_libs
=no
14621 # when you set need_version to no, make sure it does not cause -set_version
14622 # flags to be left without arguments
14623 need_version
=unknown
14628 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14629 shlibpath_var
=LIBPATH
14631 # AIX 3 has no versioning support, so we append a major version to the name.
14632 soname_spec
='${libname}${release}${shared_ext}$major'
14639 hardcode_into_libs
=yes
14640 if test "$host_cpu" = ia64
; then
14641 # AIX 5 supports IA64
14642 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14643 shlibpath_var
=LD_LIBRARY_PATH
14645 # With GCC up to 2.95.x, collect2 would create an import file
14646 # for dependence libraries. The import file would start with
14647 # the line `#! .'. This would cause the generated library to
14648 # depend on `.', always an invalid library. This was fixed in
14649 # development snapshots of GCC prior to 3.0.
14651 aix4 | aix4.
[01] | aix4.
[01].
*)
14652 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14654 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14657 can_build_shared
=no
14661 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14662 # soname into executable. Probably we can add versioning support to
14663 # collect2, so additional links can be useful in future.
14664 if test "$aix_use_runtimelinking" = yes; then
14665 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14666 # instead of lib<name>.a to let people know that these are not
14667 # typical AIX shared libraries.
14668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14670 # We preserve .a as extension for shared libraries through AIX4.2
14671 # and later when we are not doing run time linking.
14672 library_names_spec
='${libname}${release}.a $libname.a'
14673 soname_spec
='${libname}${release}${shared_ext}$major'
14675 shlibpath_var
=LIBPATH
14680 library_names_spec
='$libname.ixlibrary $libname.a'
14681 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14682 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14686 library_names_spec
='${libname}${shared_ext}'
14687 dynamic_linker
="$host_os ld.so"
14688 shlibpath_var
=LIBRARY_PATH
14694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14695 soname_spec
='${libname}${release}${shared_ext}$major'
14696 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14697 shlibpath_var
=LD_LIBRARY_PATH
14698 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14699 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14700 # the default ld.so.conf also contains /usr/contrib/lib and
14701 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14702 # libtool to hard-code these into programs
14705 cygwin
* | mingw
* | pw32
*)
14706 version_type
=windows
14711 case $GCC,$host_os in
14712 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14713 library_names_spec
='$libname.dll.a'
14714 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14715 postinstall_cmds
='base_file=`basename \${file}`~
14716 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14717 dldir=$destdir/`dirname \$dlpath`~
14718 test -d \$dldir || mkdir -p \$dldir~
14719 $install_prog $dir/$dlname \$dldir/$dlname'
14720 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14721 dlpath=$dir/\$dldll~
14723 shlibpath_overrides_runpath
=yes
14727 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14728 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14729 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14732 # MinGW DLLs use traditional 'lib' prefix
14733 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14734 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14735 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14736 # It is most probably a Windows format PATH printed by
14737 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14738 # path with ; separators, and with drive letters. We can handle the
14739 # drive letters (cygwin fileutils understands them), so leave them,
14740 # especially as we might pass files found there to a mingw objdump,
14741 # which wouldn't understand a cygwinified path. Ahh.
14742 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14744 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14748 # pw32 DLLs use 'pw' prefix rather than 'lib'
14749 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14755 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14758 dynamic_linker
='Win32 ld.exe'
14759 # FIXME: first we should search . and the directory the executable is in
14763 darwin
* | rhapsody
*)
14764 dynamic_linker
="$host_os dyld"
14765 version_type
=darwin
14768 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14769 soname_spec
='${libname}${release}${major}$shared_ext'
14770 shlibpath_overrides_runpath
=yes
14771 shlibpath_var
=DYLD_LIBRARY_PATH
14772 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
14773 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14774 if test "$GCC" = yes; then
14775 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
14777 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
14779 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14787 soname_spec
='${libname}${release}${shared_ext}$major'
14788 shlibpath_var
=LD_LIBRARY_PATH
14799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14800 soname_spec
='${libname}${release}${shared_ext}$major'
14801 shlibpath_var
=LD_LIBRARY_PATH
14802 shlibpath_overrides_runpath
=no
14803 hardcode_into_libs
=yes
14804 dynamic_linker
='GNU ld.so'
14808 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14809 version_type
=freebsd-
$objformat
14810 case $version_type in
14812 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14817 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14821 shlibpath_var
=LD_LIBRARY_PATH
14824 shlibpath_overrides_runpath
=yes
14826 freebsd3.01
* | freebsdelf3.01
*)
14827 shlibpath_overrides_runpath
=yes
14828 hardcode_into_libs
=yes
14831 shlibpath_overrides_runpath
=no
14832 hardcode_into_libs
=yes
14841 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14842 soname_spec
='${libname}${release}${shared_ext}$major'
14843 shlibpath_var
=LD_LIBRARY_PATH
14844 hardcode_into_libs
=yes
14847 hpux9
* | hpux10
* | hpux11
*)
14848 # Give a soname corresponding to the major version so that dld.sl refuses to
14849 # link against other versions.
14853 case "$host_cpu" in
14856 hardcode_into_libs
=yes
14857 dynamic_linker
="$host_os dld.so"
14858 shlibpath_var
=LD_LIBRARY_PATH
14859 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14860 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14861 soname_spec
='${libname}${release}${shared_ext}$major'
14862 if test "X$HPUX_IA64_MODE" = X32
; then
14863 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14865 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14867 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14871 hardcode_into_libs
=yes
14872 dynamic_linker
="$host_os dld.sl"
14873 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14874 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14876 soname_spec
='${libname}${release}${shared_ext}$major'
14877 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14878 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14882 dynamic_linker
="$host_os dld.sl"
14883 shlibpath_var
=SHLIB_PATH
14884 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14885 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14886 soname_spec
='${libname}${release}${shared_ext}$major'
14889 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14890 postinstall_cmds
='chmod 555 $lib'
14893 irix5
* | irix6
* | nonstopux
*)
14895 nonstopux
*) version_type
=nonstopux
;;
14897 if test "$lt_cv_prog_gnu_ld" = yes; then
14905 soname_spec
='${libname}${release}${shared_ext}$major'
14906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14908 irix5
* | nonstopux
*)
14909 libsuff
= shlibsuff
=
14912 case $LD in # libtool.m4 will add one of these switches to LD
14913 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14914 libsuff
= shlibsuff
= libmagic
=32-bit;;
14915 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14916 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14917 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14918 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14919 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14923 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14924 shlibpath_overrides_runpath
=no
14925 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14926 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14927 hardcode_into_libs
=yes
14930 # No shared lib support for Linux oldld, aout, or coff.
14931 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14935 # This must be Linux ELF.
14940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14941 soname_spec
='${libname}${release}${shared_ext}$major'
14942 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14943 shlibpath_var
=LD_LIBRARY_PATH
14944 shlibpath_overrides_runpath
=no
14945 # This implies no fast_install, which is unacceptable.
14946 # Some rework will be needed to allow for fast_install
14947 # before this can be enabled.
14948 hardcode_into_libs
=yes
14950 # We used to test for /lib/ld.so.1 and disable shared libraries on
14951 # powerpc, because MkLinux only supported shared libraries with the
14952 # GNU dynamic linker. Since this was broken with cross compilers,
14953 # most powerpc-linux boxes support dynamic linking these days and
14954 # people can always --disable-shared, the test was removed, and we
14955 # assume the GNU/Linux dynamic linker is in use.
14956 dynamic_linker
='GNU/Linux ld.so'
14963 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14965 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14966 dynamic_linker
='NetBSD (a.out) ld.so'
14968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14969 soname_spec
='${libname}${release}${shared_ext}$major'
14970 dynamic_linker
='NetBSD ld.elf_so'
14972 shlibpath_var
=LD_LIBRARY_PATH
14973 shlibpath_overrides_runpath
=yes
14974 hardcode_into_libs
=yes
14979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14980 shlibpath_var
=LD_LIBRARY_PATH
14981 shlibpath_overrides_runpath
=yes
14988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14989 soname_spec
='${libname}${release}${shared_ext}$major'
14990 shlibpath_var
=LD_LIBRARY_PATH
14991 shlibpath_overrides_runpath
=yes
14998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14999 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15000 shlibpath_var
=LD_LIBRARY_PATH
15001 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15003 openbsd2.
[89] | openbsd2.
[89].
*)
15004 shlibpath_overrides_runpath
=no
15007 shlibpath_overrides_runpath
=yes
15011 shlibpath_overrides_runpath
=yes
15016 libname_spec
='$name'
15019 library_names_spec
='$libname${shared_ext} $libname.a'
15020 dynamic_linker
='OS/2 ld.exe'
15021 shlibpath_var
=LIBPATH
15024 osf3
* | osf4
* | osf5
*)
15028 soname_spec
='${libname}${release}${shared_ext}$major'
15029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15030 shlibpath_var
=LD_LIBRARY_PATH
15031 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15032 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15037 soname_spec
='${libname}${release}${shared_ext}$major'
15038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15039 shlibpath_var
=LD_LIBRARY_PATH
15046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15047 soname_spec
='${libname}${release}${shared_ext}$major'
15048 shlibpath_var
=LD_LIBRARY_PATH
15049 shlibpath_overrides_runpath
=yes
15050 hardcode_into_libs
=yes
15051 # ldd complains unless libraries are executable
15052 postinstall_cmds
='chmod +x $lib'
15057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15058 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15059 shlibpath_var
=LD_LIBRARY_PATH
15060 shlibpath_overrides_runpath
=yes
15061 if test "$with_gnu_ld" = yes; then
15067 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15070 soname_spec
='${libname}${release}${shared_ext}$major'
15071 shlibpath_var
=LD_LIBRARY_PATH
15072 case $host_vendor in
15074 shlibpath_overrides_runpath
=no
15076 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15077 runpath_var
=LD_RUN_PATH
15085 shlibpath_overrides_runpath
=no
15086 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15092 if test -d /usr
/nec
;then
15094 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15095 soname_spec
='$libname${shared_ext}.$major'
15096 shlibpath_var
=LD_LIBRARY_PATH
15102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15103 soname_spec
='${libname}${release}${shared_ext}$major'
15104 shlibpath_var
=LD_LIBRARY_PATH
15111 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15112 echo "${ECHO_T}$dynamic_linker" >&6; }
15113 test "$dynamic_linker" = no
&& can_build_shared
=no
15115 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15116 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15117 hardcode_action_F77
=
15118 if test -n "$hardcode_libdir_flag_spec_F77" || \
15119 test -n "$runpath_var F77" || \
15120 test "X$hardcode_automatic_F77"="Xyes" ; then
15122 # We can hardcode non-existant directories.
15123 if test "$hardcode_direct_F77" != no
&&
15124 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15125 # have to relink, otherwise we might link with an installed library
15126 # when we should be linking with a yet-to-be-installed one
15127 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15128 test "$hardcode_minus_L_F77" != no
; then
15129 # Linking always hardcodes the temporary library directory.
15130 hardcode_action_F77
=relink
15132 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15133 hardcode_action_F77
=immediate
15136 # We cannot hardcode anything, or else we can only hardcode existing
15138 hardcode_action_F77
=unsupported
15140 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15141 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15143 if test "$hardcode_action_F77" = relink
; then
15144 # Fast installation is not supported
15145 enable_fast_install
=no
15146 elif test "$shlibpath_overrides_runpath" = yes ||
15147 test "$enable_shared" = no
; then
15148 # Fast installation is not necessary
15149 enable_fast_install
=needless
15154 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15155 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
15156 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
15157 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
15158 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
15159 { echo "$as_me:$LINENO: result: yes" >&5
15160 echo "${ECHO_T}yes" >&6; }
15162 # FIXME - insert some real tests, host_os isn't really good enough
15165 if test -n "$STRIP" ; then
15166 striplib
="$STRIP -x"
15167 { echo "$as_me:$LINENO: result: yes" >&5
15168 echo "${ECHO_T}yes" >&6; }
15170 { echo "$as_me:$LINENO: result: no" >&5
15171 echo "${ECHO_T}no" >&6; }
15175 { echo "$as_me:$LINENO: result: no" >&5
15176 echo "${ECHO_T}no" >&6; }
15183 # The else clause should only fire when bootstrapping the
15184 # libtool distribution, otherwise you forgot to ship ltmain.sh
15185 # with your package, and you will get complaints that there are
15186 # no rules to generate ltmain.sh.
15187 if test -f "$ltmain"; then
15188 # See if we are running on zsh, and set the options which allow our commands through
15189 # without removal of \ escapes.
15190 if test -n "${ZSH_VERSION+set}" ; then
15191 setopt NO_GLOB_SUBST
15193 # Now quote all the things that may contain metacharacters while being
15194 # careful not to overquote the AC_SUBSTed values. We take copies of the
15195 # variables and quote the copies for generation of the libtool script.
15196 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
15197 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15198 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15199 deplibs_check_method reload_flag reload_cmds need_locks \
15200 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15201 lt_cv_sys_global_symbol_to_c_name_address \
15202 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15203 old_postinstall_cmds old_postuninstall_cmds \
15207 lt_prog_compiler_wl_F77 \
15208 lt_prog_compiler_pic_F77 \
15209 lt_prog_compiler_static_F77 \
15210 lt_prog_compiler_no_builtin_flag_F77 \
15211 export_dynamic_flag_spec_F77 \
15212 thread_safe_flag_spec_F77 \
15213 whole_archive_flag_spec_F77 \
15214 enable_shared_with_static_runtimes_F77 \
15215 old_archive_cmds_F77 \
15216 old_archive_from_new_cmds_F77 \
15217 predep_objects_F77 \
15218 postdep_objects_F77 \
15221 compiler_lib_search_path_F77 \
15223 archive_expsym_cmds_F77 \
15224 postinstall_cmds_F77 \
15225 postuninstall_cmds_F77 \
15226 old_archive_from_expsyms_cmds_F77 \
15227 allow_undefined_flag_F77 \
15228 no_undefined_flag_F77 \
15229 export_symbols_cmds_F77 \
15230 hardcode_libdir_flag_spec_F77 \
15231 hardcode_libdir_flag_spec_ld_F77 \
15232 hardcode_libdir_separator_F77 \
15233 hardcode_automatic_F77 \
15235 module_expsym_cmds_F77 \
15236 lt_cv_prog_compiler_c_o_F77 \
15237 exclude_expsyms_F77 \
15238 include_expsyms_F77
; do
15241 old_archive_cmds_F77 | \
15242 old_archive_from_new_cmds_F77 | \
15243 archive_cmds_F77 | \
15244 archive_expsym_cmds_F77 | \
15245 module_cmds_F77 | \
15246 module_expsym_cmds_F77 | \
15247 old_archive_from_expsyms_cmds_F77 | \
15248 export_symbols_cmds_F77 | \
15249 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15250 postinstall_cmds | postuninstall_cmds | \
15251 old_postinstall_cmds | old_postuninstall_cmds | \
15252 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15253 # Double-quote double-evaled strings.
15254 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15257 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15263 *'\$0 --fallback-echo"')
15264 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15270 cat <<__EOF__ >> "$cfgfile"
15271 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15273 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15275 # Shell to use when invoking shell scripts.
15278 # Whether or not to build shared libraries.
15279 build_libtool_libs=$enable_shared
15281 # Whether or not to build static libraries.
15282 build_old_libs=$enable_static
15284 # Whether or not to add -lc for building shared libraries.
15285 build_libtool_need_lc=$archive_cmds_need_lc_F77
15287 # Whether or not to disallow shared libs when runtime libs are static
15288 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15290 # Whether or not to optimize for fast installation.
15291 fast_install=$enable_fast_install
15294 host_alias=$host_alias
15297 # An echo program that does not interpret backslashes.
15302 AR_FLAGS=$lt_AR_FLAGS
15307 # A language-specific compiler.
15308 CC=$lt_compiler_F77
15310 # Is the compiler the GNU C compiler?
15316 # The linker used to build libraries.
15319 # Whether we need hard or soft links.
15322 # A BSD-compatible nm program.
15325 # A symbol stripping program
15328 # Used to examine libraries when file_magic_cmd begins "file"
15329 MAGIC_CMD=$MAGIC_CMD
15331 # Used on cygwin: DLL creation program.
15334 # Used on cygwin: object dumper.
15337 # Used on cygwin: assembler.
15340 # The name of the directory that contains temporary libtool files.
15343 # How to create reloadable object files.
15344 reload_flag=$lt_reload_flag
15345 reload_cmds=$lt_reload_cmds
15347 # How to pass a linker flag through the compiler.
15348 wl=$lt_lt_prog_compiler_wl_F77
15350 # Object file suffix (normally "o").
15351 objext="$ac_objext"
15353 # Old archive suffix (normally "a").
15356 # Shared library suffix (normally ".so").
15359 # Executable file suffix (normally "").
15362 # Additional compiler flags for building library objects.
15363 pic_flag=$lt_lt_prog_compiler_pic_F77
15366 # What is the maximum length of a command?
15367 max_cmd_len=$lt_cv_sys_max_cmd_len
15369 # Does compiler simultaneously support -c and -o options?
15370 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15372 # Must we lock files when doing compilation ?
15373 need_locks=$lt_need_locks
15375 # Do we need the lib prefix for modules?
15376 need_lib_prefix=$need_lib_prefix
15378 # Do we need a version for libraries?
15379 need_version=$need_version
15381 # Whether dlopen is supported.
15382 dlopen_support=$enable_dlopen
15384 # Whether dlopen of programs is supported.
15385 dlopen_self=$enable_dlopen_self
15387 # Whether dlopen of statically linked programs is supported.
15388 dlopen_self_static=$enable_dlopen_self_static
15390 # Compiler flag to prevent dynamic linking.
15391 link_static_flag=$lt_lt_prog_compiler_static_F77
15393 # Compiler flag to turn off builtin functions.
15394 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15396 # Compiler flag to allow reflexive dlopens.
15397 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15399 # Compiler flag to generate shared objects directly from archives.
15400 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15402 # Compiler flag to generate thread-safe objects.
15403 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15405 # Library versioning type.
15406 version_type=$version_type
15408 # Format of library name prefix.
15409 libname_spec=$lt_libname_spec
15411 # List of archive names. First name is the real one, the rest are links.
15412 # The last name is the one that the linker finds with -lNAME.
15413 library_names_spec=$lt_library_names_spec
15415 # The coded name of the library, if different from the real name.
15416 soname_spec=$lt_soname_spec
15418 # Commands used to build and install an old-style archive.
15420 old_archive_cmds=$lt_old_archive_cmds_F77
15421 old_postinstall_cmds=$lt_old_postinstall_cmds
15422 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15424 # Create an old-style archive from a shared archive.
15425 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15427 # Create a temporary old-style archive to link instead of a shared archive.
15428 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15430 # Commands used to build and install a shared archive.
15431 archive_cmds=$lt_archive_cmds_F77
15432 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15433 postinstall_cmds=$lt_postinstall_cmds
15434 postuninstall_cmds=$lt_postuninstall_cmds
15436 # Commands used to build a loadable module (assumed same as above if empty)
15437 module_cmds=$lt_module_cmds_F77
15438 module_expsym_cmds=$lt_module_expsym_cmds_F77
15440 # Commands to strip libraries.
15441 old_striplib=$lt_old_striplib
15442 striplib=$lt_striplib
15444 # Dependencies to place before the objects being linked to create a
15446 predep_objects=$lt_predep_objects_F77
15448 # Dependencies to place after the objects being linked to create a
15450 postdep_objects=$lt_postdep_objects_F77
15452 # Dependencies to place before the objects being linked to create a
15454 predeps=$lt_predeps_F77
15456 # Dependencies to place after the objects being linked to create a
15458 postdeps=$lt_postdeps_F77
15460 # The library search path used internally by the compiler when linking
15461 # a shared library.
15462 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15464 # Method to check whether dependent libraries are shared objects.
15465 deplibs_check_method=$lt_deplibs_check_method
15467 # Command to use when deplibs_check_method == file_magic.
15468 file_magic_cmd=$lt_file_magic_cmd
15470 # Flag that allows shared libraries with undefined symbols to be built.
15471 allow_undefined_flag=$lt_allow_undefined_flag_F77
15473 # Flag that forces no undefined symbols.
15474 no_undefined_flag=$lt_no_undefined_flag_F77
15476 # Commands used to finish a libtool library installation in a directory.
15477 finish_cmds=$lt_finish_cmds
15479 # Same as above, but a single script fragment to be evaled but not shown.
15480 finish_eval=$lt_finish_eval
15482 # Take the output of nm and produce a listing of raw symbols and C names.
15483 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15485 # Transform the output of nm in a proper C declaration
15486 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15488 # Transform the output of nm in a C name address pair
15489 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15491 # This is the shared library runtime path variable.
15492 runpath_var=$runpath_var
15494 # This is the shared library path variable.
15495 shlibpath_var=$shlibpath_var
15497 # Is shlibpath searched before the hard-coded library search path?
15498 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15500 # How to hardcode a shared library path into an executable.
15501 hardcode_action=$hardcode_action_F77
15503 # Whether we should hardcode library paths into libraries.
15504 hardcode_into_libs=$hardcode_into_libs
15506 # Flag to hardcode \$libdir into a binary during linking.
15507 # This must work even if \$libdir does not exist.
15508 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15510 # If ld is used when linking, flag to hardcode \$libdir into
15511 # a binary during linking. This must work even if \$libdir does
15513 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15515 # Whether we need a single -rpath flag with a separated argument.
15516 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15518 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15519 # resulting binary.
15520 hardcode_direct=$hardcode_direct_F77
15522 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15523 # resulting binary.
15524 hardcode_minus_L=$hardcode_minus_L_F77
15526 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15527 # the resulting binary.
15528 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15530 # Set to yes if building a shared library automatically hardcodes DIR into the library
15531 # and all subsequent libraries and executables linked against it.
15532 hardcode_automatic=$hardcode_automatic_F77
15534 # Variables whose values should be saved in libtool wrapper scripts and
15535 # restored at relink time.
15536 variables_saved_for_relink="$variables_saved_for_relink"
15538 # Whether libtool must link a program against all its dependency libraries.
15539 link_all_deplibs=$link_all_deplibs_F77
15541 # Compile-time system search path for libraries
15542 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15544 # Run-time system search path for libraries
15545 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15547 # Fix the shell variable \$srcfile for the compiler.
15548 fix_srcfile_path="$fix_srcfile_path_F77"
15550 # Set to yes if exported symbols are required.
15551 always_export_symbols=$always_export_symbols_F77
15553 # The commands to list exported symbols.
15554 export_symbols_cmds=$lt_export_symbols_cmds_F77
15556 # The commands to extract the exported symbol list from a shared archive.
15557 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15559 # Symbols that should not be listed in the preloaded symbols.
15560 exclude_expsyms=$lt_exclude_expsyms_F77
15562 # Symbols that must always be exported.
15563 include_expsyms=$lt_include_expsyms_F77
15565 # ### END LIBTOOL TAG CONFIG: $tagname
15571 # If there is no Makefile yet, we rely on a make rule to execute
15572 # `config.status --recheck' to rerun these tests and create the
15573 # libtool script then.
15574 test -f Makefile
&& make "$ltmain"
15579 ac_cpp
='$CPP $CPPFLAGS'
15580 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15581 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15582 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15592 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15595 # Source file extension for Java test sources.
15598 # Object file extension for compiled Java test sources.
15602 # Code to be used in simple compile tests
15603 lt_simple_compile_test_code
="class foo {}\n"
15605 # Code to be used in simple link tests
15606 lt_simple_link_test_code
='public class conftest { public static void main(String argv) {}; }\n'
15608 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15610 # If no C compiler was specified, use CC.
15613 # Allow CC to be a program name with arguments.
15617 # Allow CC to be a program name with arguments.
15623 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15624 archive_cmds_need_lc_GCJ
=no
15627 ## There is no encapsulation within the following macros, do not change
15628 ## the running order or otherwise move them around unless you know exactly
15629 ## what you are doing...
15631 lt_prog_compiler_no_builtin_flag_GCJ
=
15633 if test "$GCC" = yes; then
15634 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15637 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15638 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
15639 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15640 echo $ECHO_N "(cached) $ECHO_C" >&6
15642 lt_cv_prog_compiler_rtti_exceptions
=no
15643 ac_outfile
=conftest.
$ac_objext
15644 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15645 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15646 # Insert the option either (1) after the last *FLAGS variable, or
15647 # (2) before a word containing "conftest.", or (3) at the end.
15648 # Note that $ac_compile itself does not contain backslashes and begins
15649 # with a dollar sign (not a hyphen), so the echo should work correctly.
15650 # The option is referenced via a variable to avoid confusing sed.
15651 lt_compile
=`echo "$ac_compile" | $SED \
15652 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15653 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15654 -e 's:$: $lt_compiler_flag:'`
15655 (eval echo "\"\$as_me:15655: $lt_compile\"" >&5)
15656 (eval "$lt_compile" 2>conftest.err
)
15658 cat conftest.err
>&5
15659 echo "$as_me:15659: \$? = $ac_status" >&5
15660 if (exit $ac_status) && test -s "$ac_outfile"; then
15661 # The compiler can only warn and ignore the option if not recognized
15662 # So say no if there are warnings
15663 if test ! -s conftest.err
; then
15664 lt_cv_prog_compiler_rtti_exceptions
=yes
15670 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15671 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15673 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15674 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15681 lt_prog_compiler_wl_GCJ
=
15682 lt_prog_compiler_pic_GCJ
=
15683 lt_prog_compiler_static_GCJ
=
15685 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15686 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15688 if test "$GCC" = yes; then
15689 lt_prog_compiler_wl_GCJ
='-Wl,'
15690 lt_prog_compiler_static_GCJ
='-static'
15694 # All AIX code is PIC.
15695 if test "$host_cpu" = ia64
; then
15696 # AIX 5 now supports IA64 processor
15697 lt_prog_compiler_static_GCJ
='-Bstatic'
15702 # FIXME: we need at least 68020 code to build shared libraries, but
15703 # adding the `-m68020' flag to GCC prevents building anything better,
15705 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15708 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15709 # PIC is the default for these OSes.
15712 mingw
* | pw32
* | os2
*)
15713 # This hack is so that the source file can tell whether it is being
15714 # built for inclusion in a dll (and should export symbols for example).
15715 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15718 darwin
* | rhapsody
*)
15719 # PIC is the default on this platform
15720 # Common symbols not allowed in MH_DYLIB files
15721 lt_prog_compiler_pic_GCJ
='-fno-common'
15725 # Just because we use GCC doesn't mean we suddenly get shared libraries
15726 # on systems that don't support them.
15727 lt_prog_compiler_can_build_shared_GCJ
=no
15732 if test -d /usr
/nec
; then
15733 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15738 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15739 # not for PA HP-UX.
15740 case "$host_cpu" in
15745 lt_prog_compiler_pic_GCJ
='-fPIC'
15751 lt_prog_compiler_pic_GCJ
='-fPIC'
15755 # PORTME Check for flag to pass linker flags through the system compiler.
15758 lt_prog_compiler_wl_GCJ
='-Wl,'
15759 if test "$host_cpu" = ia64
; then
15760 # AIX 5 now supports IA64 processor
15761 lt_prog_compiler_static_GCJ
='-Bstatic'
15763 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15767 mingw
* | pw32
* | os2
*)
15768 # This hack is so that the source file can tell whether it is being
15769 # built for inclusion in a dll (and should export symbols for example).
15770 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15773 hpux9
* | hpux10
* | hpux11
*)
15774 lt_prog_compiler_wl_GCJ
='-Wl,'
15775 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15776 # not for PA HP-UX.
15777 case "$host_cpu" in
15782 lt_prog_compiler_pic_GCJ
='+Z'
15785 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15786 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15789 irix5
* | irix6
* | nonstopux
*)
15790 lt_prog_compiler_wl_GCJ
='-Wl,'
15791 # PIC (with -KPIC) is the default.
15792 lt_prog_compiler_static_GCJ
='-non_shared'
15796 lt_prog_compiler_pic_GCJ
='-KPIC'
15797 lt_prog_compiler_static_GCJ
='-Bstatic'
15803 lt_prog_compiler_wl_GCJ
='-Wl,'
15804 lt_prog_compiler_pic_GCJ
='-KPIC'
15805 lt_prog_compiler_static_GCJ
='-static'
15808 lt_prog_compiler_wl_GCJ
='-Wl,'
15809 # All Alpha code is PIC.
15810 lt_prog_compiler_static_GCJ
='-non_shared'
15815 osf3
* | osf4
* | osf5
*)
15816 lt_prog_compiler_wl_GCJ
='-Wl,'
15817 # All OSF/1 code is PIC.
15818 lt_prog_compiler_static_GCJ
='-non_shared'
15822 lt_prog_compiler_pic_GCJ
='-Kpic'
15823 lt_prog_compiler_static_GCJ
='-dn'
15827 lt_prog_compiler_wl_GCJ
='-Wl,'
15828 lt_prog_compiler_pic_GCJ
='-KPIC'
15829 lt_prog_compiler_static_GCJ
='-Bstatic'
15833 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15834 lt_prog_compiler_pic_GCJ
='-PIC'
15835 lt_prog_compiler_static_GCJ
='-Bstatic'
15838 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15839 lt_prog_compiler_wl_GCJ
='-Wl,'
15840 lt_prog_compiler_pic_GCJ
='-KPIC'
15841 lt_prog_compiler_static_GCJ
='-Bstatic'
15845 if test -d /usr
/nec
;then
15846 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15847 lt_prog_compiler_static_GCJ
='-Bstatic'
15852 lt_prog_compiler_pic_GCJ
='-pic'
15853 lt_prog_compiler_static_GCJ
='-Bstatic'
15857 lt_prog_compiler_can_build_shared_GCJ
=no
15862 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15863 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
15866 # Check to make sure the PIC flag actually works.
15868 if test -n "$lt_prog_compiler_pic_GCJ"; then
15870 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15871 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
15872 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15873 echo $ECHO_N "(cached) $ECHO_C" >&6
15875 lt_prog_compiler_pic_works_GCJ
=no
15876 ac_outfile
=conftest.
$ac_objext
15877 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15878 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
15879 # Insert the option either (1) after the last *FLAGS variable, or
15880 # (2) before a word containing "conftest.", or (3) at the end.
15881 # Note that $ac_compile itself does not contain backslashes and begins
15882 # with a dollar sign (not a hyphen), so the echo should work correctly.
15883 # The option is referenced via a variable to avoid confusing sed.
15884 lt_compile
=`echo "$ac_compile" | $SED \
15885 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15886 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15887 -e 's:$: $lt_compiler_flag:'`
15888 (eval echo "\"\$as_me:15888: $lt_compile\"" >&5)
15889 (eval "$lt_compile" 2>conftest.err
)
15891 cat conftest.err
>&5
15892 echo "$as_me:15892: \$? = $ac_status" >&5
15893 if (exit $ac_status) && test -s "$ac_outfile"; then
15894 # The compiler can only warn and ignore the option if not recognized
15895 # So say no if there are warnings
15896 if test ! -s conftest.err
; then
15897 lt_prog_compiler_pic_works_GCJ
=yes
15903 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15904 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
15906 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
15907 case $lt_prog_compiler_pic_GCJ in
15909 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
15912 lt_prog_compiler_pic_GCJ
=
15913 lt_prog_compiler_can_build_shared_GCJ
=no
15918 # For platforms which do not support PIC, -DPIC is meaningless:
15920 lt_prog_compiler_pic_GCJ
=
15923 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
15927 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15928 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15929 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15930 echo $ECHO_N "(cached) $ECHO_C" >&6
15932 lt_cv_prog_compiler_c_o_GCJ
=no
15933 $rm -r conftest
2>/dev
/null
15937 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15939 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15940 # that will create temporary files in the current directory regardless of
15941 # the output directory. Thus, making CWD read-only will cause this test
15942 # to fail, enabling locking or at least warning the user not to do parallel
15946 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15947 # Insert the option either (1) after the last *FLAGS variable, or
15948 # (2) before a word containing "conftest.", or (3) at the end.
15949 # Note that $ac_compile itself does not contain backslashes and begins
15950 # with a dollar sign (not a hyphen), so the echo should work correctly.
15951 lt_compile
=`echo "$ac_compile" | $SED \
15952 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15953 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15954 -e 's:$: $lt_compiler_flag:'`
15955 (eval echo "\"\$as_me:15955: $lt_compile\"" >&5)
15956 (eval "$lt_compile" 2>out
/conftest.err
)
15958 cat out
/conftest.err
>&5
15959 echo "$as_me:15959: \$? = $ac_status" >&5
15960 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15962 # The compiler can only warn and ignore the option if not recognized
15963 # So say no if there are warnings
15964 if test ! -s out
/conftest.err
; then
15965 lt_cv_prog_compiler_c_o_GCJ
=yes
15970 # SGI C++ compiler will create directory out/ii_files/ for
15971 # template instantiation
15972 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
15973 $rm out
/* && rmdir out
15979 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15980 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
15983 hard_links
="nottested"
15984 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
15985 # do not overwrite the value of need_locks provided by the user
15986 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15987 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15990 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15992 ln conftest.a conftest.b
2>&5 || hard_links
=no
15993 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15994 { echo "$as_me:$LINENO: result: $hard_links" >&5
15995 echo "${ECHO_T}$hard_links" >&6; }
15996 if test "$hard_links" = no
; then
15997 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15998 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16005 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16006 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16009 allow_undefined_flag_GCJ
=
16010 enable_shared_with_static_runtimes_GCJ
=no
16012 archive_expsym_cmds_GCJ
=
16013 old_archive_From_new_cmds_GCJ
=
16014 old_archive_from_expsyms_cmds_GCJ
=
16015 export_dynamic_flag_spec_GCJ
=
16016 whole_archive_flag_spec_GCJ
=
16017 thread_safe_flag_spec_GCJ
=
16018 hardcode_libdir_flag_spec_GCJ
=
16019 hardcode_libdir_flag_spec_ld_GCJ
=
16020 hardcode_libdir_separator_GCJ
=
16021 hardcode_direct_GCJ
=no
16022 hardcode_minus_L_GCJ
=no
16023 hardcode_shlibpath_var_GCJ
=unsupported
16024 link_all_deplibs_GCJ
=unknown
16025 hardcode_automatic_GCJ
=no
16027 module_expsym_cmds_GCJ
=
16028 always_export_symbols_GCJ
=no
16029 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16030 # include_expsyms should be a list of space-separated symbols to be *always*
16031 # included in the symbol list
16032 include_expsyms_GCJ
=
16033 # exclude_expsyms can be an extended regexp of symbols to exclude
16034 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16035 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16036 # as well as any symbol that contains `d'.
16037 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16038 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16039 # platforms (ab)use it in PIC code, but their linkers get confused if
16040 # the symbol is explicitly referenced. Since portable code cannot
16041 # rely on this symbol name, it's probably fine to never include it in
16042 # preloaded symbol tables.
16043 extract_expsyms_cmds
=
16046 cygwin
* | mingw
* | pw32
*)
16047 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16048 # When not using gcc, we currently assume that we are using
16049 # Microsoft Visual C++.
16050 if test "$GCC" != yes; then
16060 if test "$with_gnu_ld" = yes; then
16061 # If archive_cmds runs LD, not CC, wlarc should be empty
16064 # See if GNU ld supports shared libraries.
16066 aix3
* | aix4
* | aix5
*)
16067 # On AIX/PPC, the GNU linker is very broken
16068 if test "$host_cpu" != ia64
; then
16072 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16073 *** to be unable to reliably create shared libraries on AIX.
16074 *** Therefore, libtool is disabling shared libraries support. If you
16075 *** really care for shared libraries, you may want to modify your PATH
16076 *** so that a non-GNU linker is found, and then restart.
16083 archive_cmds_GCJ
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16084 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16085 hardcode_minus_L_GCJ
=yes
16087 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16088 # that the semantics of dynamic libraries on AmigaOS, at least up
16089 # to version 4, is to share data among multiple programs linked
16090 # with the same dynamic library. Since this doesn't match the
16091 # behavior of shared libraries on other platforms, we can't use
16097 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16098 allow_undefined_flag_GCJ
=unsupported
16099 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16100 # support --undefined. This deserves some investigation. FIXME
16101 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16107 cygwin
* | mingw
* | pw32
*)
16108 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16109 # as there is no search path for DLLs.
16110 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16111 allow_undefined_flag_GCJ
=unsupported
16112 always_export_symbols_GCJ
=no
16113 enable_shared_with_static_runtimes_GCJ
=yes
16114 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16116 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16117 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16118 # If the export-symbols file already is a .def file (1st line
16119 # is EXPORTS), use it as is; otherwise, prepend...
16120 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16121 cp $export_symbols $output_objdir/$soname.def;
16123 echo EXPORTS > $output_objdir/$soname.def;
16124 cat $export_symbols >> $output_objdir/$soname.def;
16126 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16133 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16134 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16137 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16138 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16143 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16147 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16148 *** create shared libraries on Solaris systems. Therefore, libtool
16149 *** is disabling shared libraries support. We urge you to upgrade GNU
16150 *** binutils to release 2.9.1 or newer. Another option is to modify
16151 *** your PATH or compiler configuration so that the native linker is
16152 *** used, and then restart.
16155 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16156 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16157 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16164 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16166 hardcode_direct_GCJ
=yes
16167 hardcode_shlibpath_var_GCJ
=no
16171 if $LD --help 2>&1 |
egrep ': supported targets:.* elf' > /dev
/null
; then
16172 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16173 archive_cmds_GCJ
="$tmp_archive_cmds"
16174 supports_anon_versioning
=no
16175 case `$LD -v 2>/dev/null` in
16176 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16177 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16178 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16179 *\
2.11.
*) ;; # other 2.11 versions
16180 *) supports_anon_versioning
=yes ;;
16182 if test $supports_anon_versioning = yes; then
16183 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16184 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16185 $echo "local: *; };" >> $output_objdir/$libname.ver~
16186 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16188 archive_expsym_cmds_GCJ
="$tmp_archive_cmds"
16196 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16197 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16198 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16205 if test "$ld_shlibs_GCJ" = yes; then
16206 runpath_var
=LD_RUN_PATH
16207 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16208 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16209 # ancient GNU ld didn't support --whole-archive et. al.
16210 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16211 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16213 whole_archive_flag_spec_GCJ
=
16217 # PORTME fill in a description of your system's linker (not GNU ld)
16220 allow_undefined_flag_GCJ
=unsupported
16221 always_export_symbols_GCJ
=yes
16222 archive_expsym_cmds_GCJ
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
16223 # Note: this linker hardcodes the directories in LIBPATH if there
16224 # are no directories specified by -L.
16225 hardcode_minus_L_GCJ
=yes
16226 if test "$GCC" = yes && test -z "$link_static_flag"; then
16227 # Neither direct hardcoding nor static linking is supported with a
16229 hardcode_direct_GCJ
=unsupported
16234 if test "$host_cpu" = ia64
; then
16235 # On IA64, the linker does run time linking by default, so we don't
16236 # have to do anything special.
16237 aix_use_runtimelinking
=no
16238 exp_sym_flag
='-Bexport'
16241 # If we're using GNU nm, then we don't want the "-C" option.
16242 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16243 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16244 export_symbols_cmds_GCJ
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16246 export_symbols_cmds_GCJ
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16248 aix_use_runtimelinking
=no
16250 # Test if we are trying to use run time linking or normal
16251 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16252 # need to do runtime linking.
16253 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16254 for ld_flag
in $LDFLAGS; do
16255 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16256 aix_use_runtimelinking
=yes
16262 exp_sym_flag
='-bexport'
16263 no_entry_flag
='-bnoentry'
16266 # When large executables or shared objects are built, AIX ld can
16267 # have problems creating the table of contents. If linking a library
16268 # or program results in "error TOC overflow" add -mminimal-toc to
16269 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16270 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16272 archive_cmds_GCJ
=''
16273 hardcode_direct_GCJ
=yes
16274 hardcode_libdir_separator_GCJ
=':'
16275 link_all_deplibs_GCJ
=yes
16277 if test "$GCC" = yes; then
16278 case $host_os in aix4.012|aix4.012.
*)
16279 # We only want to do this on AIX 4.2 and lower, the check
16280 # below for broken collect2 doesn't work under 4.3+
16281 collect2name
=`${CC} -print-prog-name=collect2`
16282 if test -f "$collect2name" && \
16283 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16285 # We have reworked collect2
16286 hardcode_direct_GCJ
=yes
16288 # We have old collect2
16289 hardcode_direct_GCJ
=unsupported
16290 # It fails to find uninstalled libraries when the uninstalled
16291 # path is not listed in the libpath. Setting hardcode_minus_L
16292 # to unsupported forces relinking
16293 hardcode_minus_L_GCJ
=yes
16294 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16295 hardcode_libdir_separator_GCJ
=
16298 shared_flag
='-shared'
16301 if test "$host_cpu" = ia64
; then
16302 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16303 # chokes on -Wl,-G. The following line is correct:
16306 if test "$aix_use_runtimelinking" = yes; then
16307 shared_flag
='${wl}-G'
16309 shared_flag
='${wl}-bM:SRE'
16314 # It seems that -bexpall does not export symbols beginning with
16315 # underscore (_), so it is better to generate a list of symbols to export.
16316 always_export_symbols_GCJ
=yes
16317 if test "$aix_use_runtimelinking" = yes; then
16318 # Warning - without using the other runtime loading flags (-brtl),
16319 # -berok will link without error, but may produce a broken library.
16320 allow_undefined_flag_GCJ
='-berok'
16321 # Determine the default libpath from the value encoded in an empty executable.
16322 cat >conftest.
$ac_ext <<_ACEOF
16325 cat confdefs.h
>>conftest.
$ac_ext
16326 cat >>conftest.
$ac_ext <<_ACEOF
16327 /* end confdefs.h. */
16337 rm -f conftest.
$ac_objext conftest
$ac_exeext
16338 if { (ac_try
="$ac_link"
16339 case "(($ac_try" in
16340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16341 *) ac_try_echo=$ac_try;;
16343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16344 (eval "$ac_link") 2>conftest.er1
16346 grep -v '^ *+' conftest.er1 >conftest.err
16348 cat conftest.err >&5
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); } && {
16351 test -z "$ac_c_werror_flag" ||
16352 test ! -s conftest.err
16353 } && test -s conftest$ac_exeext &&
16354 $as_test_x conftest$ac_exeext; then
16356 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16358 # Check for a 64-bit object if we didn't find anything.
16359 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16362 echo "$as_me: failed program was:" >&5
16363 sed 's/^/| /' conftest.$ac_ext >&5
16368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16369 conftest$ac_exeext conftest.$ac_ext
16370 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16372 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16373 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16375 if test "$host_cpu" = ia64
; then
16376 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16377 allow_undefined_flag_GCJ
="-z nodefs"
16378 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
16380 # Determine the default libpath from the value encoded in an empty executable.
16381 cat >conftest.$ac_ext <<_ACEOF
16384 cat confdefs.h >>conftest.$ac_ext
16385 cat >>conftest.$ac_ext <<_ACEOF
16386 /* end confdefs.h. */
16396 rm -f conftest.$ac_objext conftest$ac_exeext
16397 if { (ac_try="$ac_link"
16398 case "(($ac_try" in
16399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16400 *) ac_try_echo=$ac_try;;
16402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16403 (eval "$ac_link") 2>conftest.er1
16405 grep -v '^
*+' conftest.er1 >conftest.err
16407 cat conftest.err >&5
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); } && {
16410 test -z "$ac_c_werror_flag" ||
16411 test ! -s conftest.err
16412 } && test -s conftest$ac_exeext &&
16413 $as_test_x conftest$ac_exeext; then
16415 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings
/,/^$
/ { /^
0/ { s
/^
0 *\
(.
*\
)$
/\
1/; p
; }
16417 # Check for a 64-bit object if we didn't
find anything.
16418 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16421 echo "$as_me: failed program was:" >&5
16422 sed 's/^/| /' conftest.
$ac_ext >&5
16427 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16428 conftest
$ac_exeext conftest.
$ac_ext
16429 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16431 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16432 # Warning - without using the other run time loading flags,
16433 # -berok will link without error, but may produce a broken library.
16434 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16435 allow_undefined_flag_GCJ
=' ${wl}-berok'
16436 # -bexpall does not export symbols beginning with underscore (_)
16437 always_export_symbols_GCJ
=yes
16438 # Exported symbols can be pulled into shared objects from archives
16439 whole_archive_flag_spec_GCJ
=' '
16440 archive_cmds_need_lc_GCJ
=yes
16441 # This is similar to how AIX traditionally builds it's shared libraries.
16442 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16448 archive_cmds_GCJ
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16449 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16450 hardcode_minus_L_GCJ
=yes
16451 # see comment about different semantics on the GNU ld section
16456 export_dynamic_flag_spec_GCJ
=-rdynamic
16459 cygwin
* | mingw
* | pw32
*)
16460 # When not using gcc, we currently assume that we are using
16461 # Microsoft Visual C++.
16462 # hardcode_libdir_flag_spec is actually meaningless, as there is
16463 # no search path for DLLs.
16464 hardcode_libdir_flag_spec_GCJ
=' '
16465 allow_undefined_flag_GCJ
=unsupported
16466 # Tell ltmain to make .lib files, not .a files.
16468 # Tell ltmain to make .dll files, not .so files.
16470 # FIXME: Setting linknames here is a bad hack.
16471 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16472 # The linker will automatically build a .lib file if we build a DLL.
16473 old_archive_From_new_cmds_GCJ
='true'
16474 # FIXME: Should let the user specify the lib program.
16475 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16476 fix_srcfile_path
='`cygpath -w "$srcfile"`'
16477 enable_shared_with_static_runtimes_GCJ
=yes
16480 darwin
* | rhapsody
*)
16481 if test "$GXX" = yes ; then
16482 archive_cmds_need_lc_GCJ
=no
16484 rhapsody
* | darwin1.
[012])
16485 allow_undefined_flag_GCJ
='-undefined suppress'
16488 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16489 allow_undefined_flag_GCJ
='-flat_namespace -undefined suppress'
16491 case ${MACOSX_DEPLOYMENT_TARGET} in
16493 allow_undefined_flag_GCJ
='-flat_namespace -undefined suppress'
16496 allow_undefined_flag_GCJ
='-undefined dynamic_lookup'
16502 lt_int_apple_cc_single_mod
=no
16503 output_verbose_link_cmd
='echo'
16504 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
16505 lt_int_apple_cc_single_mod
=yes
16507 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
16508 archive_cmds_GCJ
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16510 archive_cmds_GCJ
='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16512 module_cmds_GCJ
='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16513 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16514 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
16515 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16517 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16519 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16520 hardcode_direct_GCJ
=no
16521 hardcode_automatic_GCJ
=yes
16522 hardcode_shlibpath_var_GCJ
=unsupported
16523 whole_archive_flag_spec_GCJ
='-all_load $convenience'
16524 link_all_deplibs_GCJ
=yes
16531 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16532 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16533 hardcode_shlibpath_var_GCJ
=no
16540 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16541 # support. Future versions do this automatically, but an explicit c++rt0.o
16542 # does not break anything, and helps significantly (at the cost of a little
16545 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16546 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16547 hardcode_direct_GCJ
=yes
16548 hardcode_shlibpath_var_GCJ
=no
16551 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16553 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16554 hardcode_direct_GCJ
=yes
16555 hardcode_minus_L_GCJ
=yes
16556 hardcode_shlibpath_var_GCJ
=no
16559 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16560 freebsd
* | kfreebsd
*-gnu)
16561 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16562 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16563 hardcode_direct_GCJ
=yes
16564 hardcode_shlibpath_var_GCJ
=no
16568 if test "$GCC" = yes; then
16569 archive_cmds_GCJ
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16571 archive_cmds_GCJ
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16573 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16574 hardcode_libdir_separator_GCJ
=:
16575 hardcode_direct_GCJ
=yes
16577 # hardcode_minus_L: Not really in the search PATH,
16578 # but as the default location of the library.
16579 hardcode_minus_L_GCJ
=yes
16580 export_dynamic_flag_spec_GCJ
='${wl}-E'
16584 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16585 case "$host_cpu" in
16587 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16590 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16594 case "$host_cpu" in
16596 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
16599 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16603 if test "$with_gnu_ld" = no
; then
16604 case "$host_cpu" in
16606 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16607 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16608 hardcode_libdir_separator_GCJ
=:
16609 hardcode_direct_GCJ
=no
16610 hardcode_shlibpath_var_GCJ
=no
16613 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16614 hardcode_direct_GCJ
=no
16615 hardcode_shlibpath_var_GCJ
=no
16617 # hardcode_minus_L: Not really in the search PATH,
16618 # but as the default location of the library.
16619 hardcode_minus_L_GCJ
=yes
16622 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16623 hardcode_libdir_separator_GCJ
=:
16624 hardcode_direct_GCJ
=yes
16625 export_dynamic_flag_spec_GCJ
='${wl}-E'
16627 # hardcode_minus_L: Not really in the search PATH,
16628 # but as the default location of the library.
16629 hardcode_minus_L_GCJ
=yes
16635 irix5
* | irix6
* | nonstopux
*)
16636 if test "$GCC" = yes; then
16637 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16639 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16640 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16642 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16643 hardcode_libdir_separator_GCJ
=:
16644 link_all_deplibs_GCJ
=yes
16648 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16649 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16651 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16653 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16654 hardcode_direct_GCJ
=yes
16655 hardcode_shlibpath_var_GCJ
=no
16659 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16660 hardcode_direct_GCJ
=yes
16661 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16662 hardcode_libdir_separator_GCJ
=:
16663 hardcode_shlibpath_var_GCJ
=no
16667 hardcode_direct_GCJ
=yes
16668 hardcode_shlibpath_var_GCJ
=no
16669 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16670 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16671 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16672 export_dynamic_flag_spec_GCJ
='${wl}-E'
16675 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16676 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16677 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16680 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16681 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16688 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16689 hardcode_minus_L_GCJ
=yes
16690 allow_undefined_flag_GCJ
=unsupported
16691 archive_cmds_GCJ
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
16692 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16696 if test "$GCC" = yes; then
16697 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16698 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16700 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16701 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16703 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16704 hardcode_libdir_separator_GCJ
=:
16707 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16708 if test "$GCC" = yes; then
16709 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16710 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16711 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16713 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16714 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16715 archive_expsym_cmds_GCJ
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16716 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
16718 # Both c and cxx compiler support -rpath directly
16719 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
16721 hardcode_libdir_separator_GCJ
=:
16725 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16726 hardcode_shlibpath_var_GCJ
=no
16727 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
16728 runpath_var
=LD_RUN_PATH
16729 hardcode_runpath_var
=yes
16733 no_undefined_flag_GCJ
=' -z text'
16734 if test "$GCC" = yes; then
16735 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16736 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16737 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16739 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16740 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16741 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16743 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16744 hardcode_shlibpath_var_GCJ
=no
16746 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16747 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16748 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
16750 link_all_deplibs_GCJ
=yes
16754 if test "x$host_vendor" = xsequent
; then
16755 # Use $CC to link under sequent, because it throws in some extra .o
16756 # files that make .init and .fini sections work.
16757 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16759 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16761 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16762 hardcode_direct_GCJ
=yes
16763 hardcode_minus_L_GCJ
=yes
16764 hardcode_shlibpath_var_GCJ
=no
16768 case $host_vendor in
16770 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16771 hardcode_direct_GCJ
=yes # is this really true???
16774 ## LD is ld it makes a PLAMLIB
16775 ## CC just makes a GrossModule.
16776 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16777 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
16778 hardcode_direct_GCJ
=no
16781 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16782 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
16785 runpath_var
='LD_RUN_PATH'
16786 hardcode_shlibpath_var_GCJ
=no
16790 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16791 hardcode_shlibpath_var_GCJ
=no
16792 export_dynamic_flag_spec_GCJ
='-Bexport'
16796 if test -d /usr
/nec
; then
16797 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16798 hardcode_shlibpath_var_GCJ
=no
16799 runpath_var
=LD_RUN_PATH
16800 hardcode_runpath_var
=yes
16806 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16807 hardcode_direct_GCJ
=yes
16808 hardcode_minus_L_GCJ
=no
16809 hardcode_shlibpath_var_GCJ
=no
16810 hardcode_runpath_var
=yes
16811 runpath_var
=LD_RUN_PATH
16814 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
16815 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
16816 if test "$GCC" = yes; then
16817 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16819 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16821 runpath_var
='LD_RUN_PATH'
16822 hardcode_shlibpath_var_GCJ
=no
16826 no_undefined_flag_GCJ
=' -z text'
16827 # $CC -shared without GNU ld will not create a library from C++
16828 # object files and a static libstdc++, better avoid it by now
16829 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16830 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16831 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16832 hardcode_libdir_flag_spec_GCJ
=
16833 hardcode_shlibpath_var_GCJ
=no
16834 runpath_var
='LD_RUN_PATH'
16838 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16839 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16840 hardcode_shlibpath_var_GCJ
=no
16849 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16850 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
16851 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
16853 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16854 if test "$GCC" = yes; then
16855 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16859 # Do we need to explicitly link libc?
16861 case "x$archive_cmds_need_lc_GCJ" in
16863 # Assume -lc should be added
16864 archive_cmds_need_lc_GCJ
=yes
16866 if test "$enable_shared" = yes && test "$GCC" = yes; then
16867 case $archive_cmds_GCJ in
16869 # FIXME: we may have to deal with multi-command sequences.
16872 # Test whether the compiler implicitly links with -lc since on some
16873 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16874 # to ld, don't add -lc before -lgcc.
16875 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16876 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16878 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16881 (eval $ac_compile) 2>&5
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); } 2>conftest.err
; then
16887 libobjs
=conftest.
$ac_objext
16889 wl
=$lt_prog_compiler_wl_GCJ
16895 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
16896 allow_undefined_flag_GCJ
=
16897 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16898 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901 (exit $ac_status); }
16903 archive_cmds_need_lc_GCJ
=no
16905 archive_cmds_need_lc_GCJ
=yes
16907 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
16909 cat conftest.err
1>&5
16912 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16913 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
16920 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16921 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16922 library_names_spec
=
16923 libname_spec
='lib$name'
16927 postuninstall_cmds
=
16931 shlibpath_overrides_runpath
=unknown
16933 dynamic_linker
="$host_os ld.so"
16934 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16935 if test "$GCC" = yes; then
16936 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16937 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
16938 # if the path contains ";" then we assume it to be the separator
16939 # otherwise default to the standard path separator (i.e. ":") - it is
16940 # assumed that no part of a normal pathname contains ";" but that should
16941 # okay in the real world where ";" in dirpaths is itself problematic.
16942 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16944 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16947 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16949 need_lib_prefix
=unknown
16950 hardcode_into_libs
=no
16952 # when you set need_version to no, make sure it does not cause -set_version
16953 # flags to be left without arguments
16954 need_version
=unknown
16959 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16960 shlibpath_var
=LIBPATH
16962 # AIX 3 has no versioning support, so we append a major version to the name.
16963 soname_spec
='${libname}${release}${shared_ext}$major'
16970 hardcode_into_libs
=yes
16971 if test "$host_cpu" = ia64
; then
16972 # AIX 5 supports IA64
16973 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16974 shlibpath_var
=LD_LIBRARY_PATH
16976 # With GCC up to 2.95.x, collect2 would create an import file
16977 # for dependence libraries. The import file would start with
16978 # the line `#! .'. This would cause the generated library to
16979 # depend on `.', always an invalid library. This was fixed in
16980 # development snapshots of GCC prior to 3.0.
16982 aix4 | aix4.
[01] | aix4.
[01].
*)
16983 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16985 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
16988 can_build_shared
=no
16992 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16993 # soname into executable. Probably we can add versioning support to
16994 # collect2, so additional links can be useful in future.
16995 if test "$aix_use_runtimelinking" = yes; then
16996 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16997 # instead of lib<name>.a to let people know that these are not
16998 # typical AIX shared libraries.
16999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17001 # We preserve .a as extension for shared libraries through AIX4.2
17002 # and later when we are not doing run time linking.
17003 library_names_spec
='${libname}${release}.a $libname.a'
17004 soname_spec
='${libname}${release}${shared_ext}$major'
17006 shlibpath_var
=LIBPATH
17011 library_names_spec
='$libname.ixlibrary $libname.a'
17012 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17013 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
17017 library_names_spec
='${libname}${shared_ext}'
17018 dynamic_linker
="$host_os ld.so"
17019 shlibpath_var
=LIBRARY_PATH
17025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17026 soname_spec
='${libname}${release}${shared_ext}$major'
17027 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17028 shlibpath_var
=LD_LIBRARY_PATH
17029 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17030 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17031 # the default ld.so.conf also contains /usr/contrib/lib and
17032 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17033 # libtool to hard-code these into programs
17036 cygwin
* | mingw
* | pw32
*)
17037 version_type
=windows
17042 case $GCC,$host_os in
17043 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17044 library_names_spec
='$libname.dll.a'
17045 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17046 postinstall_cmds
='base_file=`basename \${file}`~
17047 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17048 dldir=$destdir/`dirname \$dlpath`~
17049 test -d \$dldir || mkdir -p \$dldir~
17050 $install_prog $dir/$dlname \$dldir/$dlname'
17051 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17052 dlpath=$dir/\$dldll~
17054 shlibpath_overrides_runpath
=yes
17058 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17059 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17060 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17063 # MinGW DLLs use traditional 'lib' prefix
17064 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17065 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17066 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17067 # It is most probably a Windows format PATH printed by
17068 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17069 # path with ; separators, and with drive letters. We can handle the
17070 # drive letters (cygwin fileutils understands them), so leave them,
17071 # especially as we might pass files found there to a mingw objdump,
17072 # which wouldn't understand a cygwinified path. Ahh.
17073 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17075 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17079 # pw32 DLLs use 'pw' prefix rather than 'lib'
17080 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
17086 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17089 dynamic_linker
='Win32 ld.exe'
17090 # FIXME: first we should search . and the directory the executable is in
17094 darwin
* | rhapsody
*)
17095 dynamic_linker
="$host_os dyld"
17096 version_type
=darwin
17099 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17100 soname_spec
='${libname}${release}${major}$shared_ext'
17101 shlibpath_overrides_runpath
=yes
17102 shlibpath_var
=DYLD_LIBRARY_PATH
17103 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
17104 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17105 if test "$GCC" = yes; then
17106 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17108 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17110 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17118 soname_spec
='${libname}${release}${shared_ext}$major'
17119 shlibpath_var
=LD_LIBRARY_PATH
17130 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17131 soname_spec
='${libname}${release}${shared_ext}$major'
17132 shlibpath_var
=LD_LIBRARY_PATH
17133 shlibpath_overrides_runpath
=no
17134 hardcode_into_libs
=yes
17135 dynamic_linker
='GNU ld.so'
17139 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
17140 version_type
=freebsd-
$objformat
17141 case $version_type in
17143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17148 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17152 shlibpath_var
=LD_LIBRARY_PATH
17155 shlibpath_overrides_runpath
=yes
17157 freebsd3.01
* | freebsdelf3.01
*)
17158 shlibpath_overrides_runpath
=yes
17159 hardcode_into_libs
=yes
17162 shlibpath_overrides_runpath
=no
17163 hardcode_into_libs
=yes
17172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17173 soname_spec
='${libname}${release}${shared_ext}$major'
17174 shlibpath_var
=LD_LIBRARY_PATH
17175 hardcode_into_libs
=yes
17178 hpux9
* | hpux10
* | hpux11
*)
17179 # Give a soname corresponding to the major version so that dld.sl refuses to
17180 # link against other versions.
17184 case "$host_cpu" in
17187 hardcode_into_libs
=yes
17188 dynamic_linker
="$host_os dld.so"
17189 shlibpath_var
=LD_LIBRARY_PATH
17190 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17192 soname_spec
='${libname}${release}${shared_ext}$major'
17193 if test "X$HPUX_IA64_MODE" = X32
; then
17194 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17196 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17198 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17202 hardcode_into_libs
=yes
17203 dynamic_linker
="$host_os dld.sl"
17204 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17205 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17207 soname_spec
='${libname}${release}${shared_ext}$major'
17208 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17209 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17213 dynamic_linker
="$host_os dld.sl"
17214 shlibpath_var
=SHLIB_PATH
17215 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17217 soname_spec
='${libname}${release}${shared_ext}$major'
17220 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17221 postinstall_cmds
='chmod 555 $lib'
17224 irix5
* | irix6
* | nonstopux
*)
17226 nonstopux
*) version_type
=nonstopux
;;
17228 if test "$lt_cv_prog_gnu_ld" = yes; then
17236 soname_spec
='${libname}${release}${shared_ext}$major'
17237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17239 irix5
* | nonstopux
*)
17240 libsuff
= shlibsuff
=
17243 case $LD in # libtool.m4 will add one of these switches to LD
17244 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17245 libsuff
= shlibsuff
= libmagic
=32-bit;;
17246 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17247 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17248 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17249 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17250 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17254 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17255 shlibpath_overrides_runpath
=no
17256 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17257 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17258 hardcode_into_libs
=yes
17261 # No shared lib support for Linux oldld, aout, or coff.
17262 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17266 # This must be Linux ELF.
17271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17272 soname_spec
='${libname}${release}${shared_ext}$major'
17273 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17274 shlibpath_var
=LD_LIBRARY_PATH
17275 shlibpath_overrides_runpath
=no
17276 # This implies no fast_install, which is unacceptable.
17277 # Some rework will be needed to allow for fast_install
17278 # before this can be enabled.
17279 hardcode_into_libs
=yes
17281 # We used to test for /lib/ld.so.1 and disable shared libraries on
17282 # powerpc, because MkLinux only supported shared libraries with the
17283 # GNU dynamic linker. Since this was broken with cross compilers,
17284 # most powerpc-linux boxes support dynamic linking these days and
17285 # people can always --disable-shared, the test was removed, and we
17286 # assume the GNU/Linux dynamic linker is in use.
17287 dynamic_linker
='GNU/Linux ld.so'
17294 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17296 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17297 dynamic_linker
='NetBSD (a.out) ld.so'
17299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
17300 soname_spec
='${libname}${release}${shared_ext}$major'
17301 dynamic_linker
='NetBSD ld.elf_so'
17303 shlibpath_var
=LD_LIBRARY_PATH
17304 shlibpath_overrides_runpath
=yes
17305 hardcode_into_libs
=yes
17310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17311 shlibpath_var
=LD_LIBRARY_PATH
17312 shlibpath_overrides_runpath
=yes
17319 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17320 soname_spec
='${libname}${release}${shared_ext}$major'
17321 shlibpath_var
=LD_LIBRARY_PATH
17322 shlibpath_overrides_runpath
=yes
17329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17330 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17331 shlibpath_var
=LD_LIBRARY_PATH
17332 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17334 openbsd2.
[89] | openbsd2.
[89].
*)
17335 shlibpath_overrides_runpath
=no
17338 shlibpath_overrides_runpath
=yes
17342 shlibpath_overrides_runpath
=yes
17347 libname_spec
='$name'
17350 library_names_spec
='$libname${shared_ext} $libname.a'
17351 dynamic_linker
='OS/2 ld.exe'
17352 shlibpath_var
=LIBPATH
17355 osf3
* | osf4
* | osf5
*)
17359 soname_spec
='${libname}${release}${shared_ext}$major'
17360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17361 shlibpath_var
=LD_LIBRARY_PATH
17362 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17363 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17368 soname_spec
='${libname}${release}${shared_ext}$major'
17369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17370 shlibpath_var
=LD_LIBRARY_PATH
17377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17378 soname_spec
='${libname}${release}${shared_ext}$major'
17379 shlibpath_var
=LD_LIBRARY_PATH
17380 shlibpath_overrides_runpath
=yes
17381 hardcode_into_libs
=yes
17382 # ldd complains unless libraries are executable
17383 postinstall_cmds
='chmod +x $lib'
17388 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17389 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17390 shlibpath_var
=LD_LIBRARY_PATH
17391 shlibpath_overrides_runpath
=yes
17392 if test "$with_gnu_ld" = yes; then
17398 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17401 soname_spec
='${libname}${release}${shared_ext}$major'
17402 shlibpath_var
=LD_LIBRARY_PATH
17403 case $host_vendor in
17405 shlibpath_overrides_runpath
=no
17407 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17408 runpath_var
=LD_RUN_PATH
17416 shlibpath_overrides_runpath
=no
17417 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17423 if test -d /usr
/nec
;then
17425 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17426 soname_spec
='$libname${shared_ext}.$major'
17427 shlibpath_var
=LD_LIBRARY_PATH
17433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17434 soname_spec
='${libname}${release}${shared_ext}$major'
17435 shlibpath_var
=LD_LIBRARY_PATH
17442 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17443 echo "${ECHO_T}$dynamic_linker" >&6; }
17444 test "$dynamic_linker" = no
&& can_build_shared
=no
17446 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17447 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17448 hardcode_action_GCJ
=
17449 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17450 test -n "$runpath_var GCJ" || \
17451 test "X$hardcode_automatic_GCJ"="Xyes" ; then
17453 # We can hardcode non-existant directories.
17454 if test "$hardcode_direct_GCJ" != no
&&
17455 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17456 # have to relink, otherwise we might link with an installed library
17457 # when we should be linking with a yet-to-be-installed one
17458 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17459 test "$hardcode_minus_L_GCJ" != no
; then
17460 # Linking always hardcodes the temporary library directory.
17461 hardcode_action_GCJ
=relink
17463 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17464 hardcode_action_GCJ
=immediate
17467 # We cannot hardcode anything, or else we can only hardcode existing
17469 hardcode_action_GCJ
=unsupported
17471 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17472 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
17474 if test "$hardcode_action_GCJ" = relink
; then
17475 # Fast installation is not supported
17476 enable_fast_install
=no
17477 elif test "$shlibpath_overrides_runpath" = yes ||
17478 test "$enable_shared" = no
; then
17479 # Fast installation is not necessary
17480 enable_fast_install
=needless
17485 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17486 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
17487 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
17488 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
17489 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
17490 { echo "$as_me:$LINENO: result: yes" >&5
17491 echo "${ECHO_T}yes" >&6; }
17493 # FIXME - insert some real tests, host_os isn't really good enough
17496 if test -n "$STRIP" ; then
17497 striplib
="$STRIP -x"
17498 { echo "$as_me:$LINENO: result: yes" >&5
17499 echo "${ECHO_T}yes" >&6; }
17501 { echo "$as_me:$LINENO: result: no" >&5
17502 echo "${ECHO_T}no" >&6; }
17506 { echo "$as_me:$LINENO: result: no" >&5
17507 echo "${ECHO_T}no" >&6; }
17512 if test "x$enable_dlopen" != xyes
; then
17513 enable_dlopen
=unknown
17514 enable_dlopen_self
=unknown
17515 enable_dlopen_self_static
=unknown
17522 lt_cv_dlopen
="load_add_on"
17524 lt_cv_dlopen_self
=yes
17528 lt_cv_dlopen
="LoadLibrary"
17533 lt_cv_dlopen
="dlopen"
17538 # if libdl is installed we need to link against it
17539 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17540 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17541 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17542 echo $ECHO_N "(cached) $ECHO_C" >&6
17544 ac_check_lib_save_LIBS
=$LIBS
17546 cat >conftest.
$ac_ext <<_ACEOF
17549 cat confdefs.h
>>conftest.
$ac_ext
17550 cat >>conftest.
$ac_ext <<_ACEOF
17551 /* end confdefs.h. */
17553 /* Override any GCC internal prototype to avoid an error.
17554 Use char because int might match the return type of a GCC
17555 builtin and then its argument prototype would still apply. */
17568 rm -f conftest.
$ac_objext conftest
$ac_exeext
17569 if { (ac_try
="$ac_link"
17570 case "(($ac_try" in
17571 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17572 *) ac_try_echo=$ac_try;;
17574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17575 (eval "$ac_link") 2>conftest.er1
17577 grep -v '^ *+' conftest.er1 >conftest.err
17579 cat conftest.err >&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); } && {
17582 test -z "$ac_c_werror_flag" ||
17583 test ! -s conftest.err
17584 } && test -s conftest$ac_exeext &&
17585 $as_test_x conftest$ac_exeext; then
17586 ac_cv_lib_dl_dlopen=yes
17588 echo "$as_me: failed program was:" >&5
17589 sed 's/^/| /' conftest.$ac_ext >&5
17591 ac_cv_lib_dl_dlopen=no
17594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17595 conftest$ac_exeext conftest.$ac_ext
17596 LIBS=$ac_check_lib_save_LIBS
17598 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17599 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17600 if test $ac_cv_lib_dl_dlopen = yes; then
17601 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17604 lt_cv_dlopen="dyld"
17606 lt_cv_dlopen_self=yes
17613 { echo "$as_me:$LINENO: checking for shl_load" >&5
17614 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
17615 if test "${ac_cv_func_shl_load+set}" = set; then
17616 echo $ECHO_N "(cached) $ECHO_C" >&6
17618 cat >conftest.$ac_ext <<_ACEOF
17621 cat confdefs.h >>conftest.$ac_ext
17622 cat >>conftest.$ac_ext <<_ACEOF
17623 /* end confdefs.h. */
17624 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17626 #define shl_load innocuous_shl_load
17628 /* System header to define __stub macros and hopefully few prototypes,
17629 which can conflict with char shl_load (); below.
17630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17631 <limits.h> exists even on freestanding compilers. */
17634 # include <limits.h>
17636 # include <assert.h>
17641 /* Override any GCC internal prototype to avoid an error.
17642 Use char because int might match the return type of a GCC
17643 builtin and then its argument prototype would still apply. */
17648 /* The GNU C library defines this for functions which it implements
17649 to always fail with ENOSYS. Some functions are actually named
17650 something starting with __ and the normal name is an alias. */
17651 #if defined __stub_shl_load || defined __stub___shl_load
17658 return shl_load ();
17663 rm -f conftest.$ac_objext conftest$ac_exeext
17664 if { (ac_try="$ac_link"
17665 case "(($ac_try" in
17666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17667 *) ac_try_echo
=$ac_try;;
17669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17670 (eval "$ac_link") 2>conftest.er1
17672 grep -v '^ *+' conftest.er1
>conftest.err
17674 cat conftest.err
>&5
17675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17676 (exit $ac_status); } && {
17677 test -z "$ac_c_werror_flag" ||
17678 test ! -s conftest.err
17679 } && test -s conftest
$ac_exeext &&
17680 $as_test_x conftest
$ac_exeext; then
17681 ac_cv_func_shl_load
=yes
17683 echo "$as_me: failed program was:" >&5
17684 sed 's/^/| /' conftest.
$ac_ext >&5
17686 ac_cv_func_shl_load
=no
17689 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17690 conftest
$ac_exeext conftest.
$ac_ext
17692 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17693 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
17694 if test $ac_cv_func_shl_load = yes; then
17695 lt_cv_dlopen
="shl_load"
17697 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17698 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
17699 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17700 echo $ECHO_N "(cached) $ECHO_C" >&6
17702 ac_check_lib_save_LIBS
=$LIBS
17704 cat >conftest.
$ac_ext <<_ACEOF
17707 cat confdefs.h
>>conftest.
$ac_ext
17708 cat >>conftest.
$ac_ext <<_ACEOF
17709 /* end confdefs.h. */
17711 /* Override any GCC internal prototype to avoid an error.
17712 Use char because int might match the return type of a GCC
17713 builtin and then its argument prototype would still apply. */
17721 return shl_load ();
17726 rm -f conftest.
$ac_objext conftest
$ac_exeext
17727 if { (ac_try
="$ac_link"
17728 case "(($ac_try" in
17729 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17730 *) ac_try_echo=$ac_try;;
17732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17733 (eval "$ac_link") 2>conftest.er1
17735 grep -v '^ *+' conftest.er1 >conftest.err
17737 cat conftest.err >&5
17738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739 (exit $ac_status); } && {
17740 test -z "$ac_c_werror_flag" ||
17741 test ! -s conftest.err
17742 } && test -s conftest$ac_exeext &&
17743 $as_test_x conftest$ac_exeext; then
17744 ac_cv_lib_dld_shl_load=yes
17746 echo "$as_me: failed program was:" >&5
17747 sed 's/^/| /' conftest.$ac_ext >&5
17749 ac_cv_lib_dld_shl_load=no
17752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17753 conftest$ac_exeext conftest.$ac_ext
17754 LIBS=$ac_check_lib_save_LIBS
17756 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17757 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
17758 if test $ac_cv_lib_dld_shl_load = yes; then
17759 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17761 { echo "$as_me:$LINENO: checking for dlopen" >&5
17762 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
17763 if test "${ac_cv_func_dlopen+set}" = set; then
17764 echo $ECHO_N "(cached) $ECHO_C" >&6
17766 cat >conftest.$ac_ext <<_ACEOF
17769 cat confdefs.h >>conftest.$ac_ext
17770 cat >>conftest.$ac_ext <<_ACEOF
17771 /* end confdefs.h. */
17772 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17774 #define dlopen innocuous_dlopen
17776 /* System header to define __stub macros and hopefully few prototypes,
17777 which can conflict with char dlopen (); below.
17778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17779 <limits.h> exists even on freestanding compilers. */
17782 # include <limits.h>
17784 # include <assert.h>
17789 /* Override any GCC internal prototype to avoid an error.
17790 Use char because int might match the return type of a GCC
17791 builtin and then its argument prototype would still apply. */
17796 /* The GNU C library defines this for functions which it implements
17797 to always fail with ENOSYS. Some functions are actually named
17798 something starting with __ and the normal name is an alias. */
17799 #if defined __stub_dlopen || defined __stub___dlopen
17811 rm -f conftest.$ac_objext conftest$ac_exeext
17812 if { (ac_try="$ac_link"
17813 case "(($ac_try" in
17814 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17815 *) ac_try_echo
=$ac_try;;
17817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17818 (eval "$ac_link") 2>conftest.er1
17820 grep -v '^ *+' conftest.er1
>conftest.err
17822 cat conftest.err
>&5
17823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824 (exit $ac_status); } && {
17825 test -z "$ac_c_werror_flag" ||
17826 test ! -s conftest.err
17827 } && test -s conftest
$ac_exeext &&
17828 $as_test_x conftest
$ac_exeext; then
17829 ac_cv_func_dlopen
=yes
17831 echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.
$ac_ext >&5
17834 ac_cv_func_dlopen
=no
17837 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17838 conftest
$ac_exeext conftest.
$ac_ext
17840 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17841 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
17842 if test $ac_cv_func_dlopen = yes; then
17843 lt_cv_dlopen
="dlopen"
17845 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17846 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17847 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17848 echo $ECHO_N "(cached) $ECHO_C" >&6
17850 ac_check_lib_save_LIBS
=$LIBS
17852 cat >conftest.
$ac_ext <<_ACEOF
17855 cat confdefs.h
>>conftest.
$ac_ext
17856 cat >>conftest.
$ac_ext <<_ACEOF
17857 /* end confdefs.h. */
17859 /* Override any GCC internal prototype to avoid an error.
17860 Use char because int might match the return type of a GCC
17861 builtin and then its argument prototype would still apply. */
17874 rm -f conftest.
$ac_objext conftest
$ac_exeext
17875 if { (ac_try
="$ac_link"
17876 case "(($ac_try" in
17877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17878 *) ac_try_echo=$ac_try;;
17880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17881 (eval "$ac_link") 2>conftest.er1
17883 grep -v '^ *+' conftest.er1 >conftest.err
17885 cat conftest.err >&5
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); } && {
17888 test -z "$ac_c_werror_flag" ||
17889 test ! -s conftest.err
17890 } && test -s conftest$ac_exeext &&
17891 $as_test_x conftest$ac_exeext; then
17892 ac_cv_lib_dl_dlopen=yes
17894 echo "$as_me: failed program was:" >&5
17895 sed 's/^/| /' conftest.$ac_ext >&5
17897 ac_cv_lib_dl_dlopen=no
17900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17901 conftest$ac_exeext conftest.$ac_ext
17902 LIBS=$ac_check_lib_save_LIBS
17904 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17905 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17906 if test $ac_cv_lib_dl_dlopen = yes; then
17907 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17909 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17910 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
17911 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17912 echo $ECHO_N "(cached) $ECHO_C" >&6
17914 ac_check_lib_save_LIBS=$LIBS
17915 LIBS="-lsvld $LIBS"
17916 cat >conftest.$ac_ext <<_ACEOF
17919 cat confdefs.h >>conftest.$ac_ext
17920 cat >>conftest.$ac_ext <<_ACEOF
17921 /* end confdefs.h. */
17923 /* Override any GCC internal prototype to avoid an error.
17924 Use char because int might match the return type of a GCC
17925 builtin and then its argument prototype would still apply. */
17938 rm -f conftest.$ac_objext conftest$ac_exeext
17939 if { (ac_try="$ac_link"
17940 case "(($ac_try" in
17941 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17942 *) ac_try_echo
=$ac_try;;
17944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17945 (eval "$ac_link") 2>conftest.er1
17947 grep -v '^ *+' conftest.er1
>conftest.err
17949 cat conftest.err
>&5
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); } && {
17952 test -z "$ac_c_werror_flag" ||
17953 test ! -s conftest.err
17954 } && test -s conftest
$ac_exeext &&
17955 $as_test_x conftest
$ac_exeext; then
17956 ac_cv_lib_svld_dlopen
=yes
17958 echo "$as_me: failed program was:" >&5
17959 sed 's/^/| /' conftest.
$ac_ext >&5
17961 ac_cv_lib_svld_dlopen
=no
17964 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17965 conftest
$ac_exeext conftest.
$ac_ext
17966 LIBS
=$ac_check_lib_save_LIBS
17968 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17969 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
17970 if test $ac_cv_lib_svld_dlopen = yes; then
17971 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
17973 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17974 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
17975 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17976 echo $ECHO_N "(cached) $ECHO_C" >&6
17978 ac_check_lib_save_LIBS
=$LIBS
17980 cat >conftest.
$ac_ext <<_ACEOF
17983 cat confdefs.h
>>conftest.
$ac_ext
17984 cat >>conftest.
$ac_ext <<_ACEOF
17985 /* end confdefs.h. */
17987 /* Override any GCC internal prototype to avoid an error.
17988 Use char because int might match the return type of a GCC
17989 builtin and then its argument prototype would still apply. */
17997 return dld_link ();
18002 rm -f conftest.
$ac_objext conftest
$ac_exeext
18003 if { (ac_try
="$ac_link"
18004 case "(($ac_try" in
18005 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18006 *) ac_try_echo=$ac_try;;
18008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18009 (eval "$ac_link") 2>conftest.er1
18011 grep -v '^ *+' conftest.er1 >conftest.err
18013 cat conftest.err >&5
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); } && {
18016 test -z "$ac_c_werror_flag" ||
18017 test ! -s conftest.err
18018 } && test -s conftest$ac_exeext &&
18019 $as_test_x conftest$ac_exeext; then
18020 ac_cv_lib_dld_dld_link=yes
18022 echo "$as_me: failed program was:" >&5
18023 sed 's/^/| /' conftest.$ac_ext >&5
18025 ac_cv_lib_dld_dld_link=no
18028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18029 conftest$ac_exeext conftest.$ac_ext
18030 LIBS=$ac_check_lib_save_LIBS
18032 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18033 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
18034 if test $ac_cv_lib_dld_dld_link = yes; then
18035 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18056 if test "x$lt_cv_dlopen" != xno; then
18062 case $lt_cv_dlopen in
18064 save_CPPFLAGS="$CPPFLAGS"
18065 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18067 save_LDFLAGS="$LDFLAGS"
18068 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18071 LIBS="$lt_cv_dlopen_libs $LIBS"
18073 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18074 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
18075 if test "${lt_cv_dlopen_self+set}" = set; then
18076 echo $ECHO_N "(cached) $ECHO_C" >&6
18078 if test "$cross_compiling" = yes; then :
18079 lt_cv_dlopen_self=cross
18081 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18082 lt_status=$lt_dlunknown
18083 cat > conftest.$ac_ext <<EOF
18084 #line 18084 "configure"
18085 #include "confdefs.h"
18094 # define LT_DLGLOBAL RTLD_GLOBAL
18097 # define LT_DLGLOBAL DL_GLOBAL
18099 # define LT_DLGLOBAL 0
18103 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18104 find out it does not work in some platform. */
18105 #ifndef LT_DLLAZY_OR_NOW
18107 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18110 # define LT_DLLAZY_OR_NOW DL_LAZY
18113 # define LT_DLLAZY_OR_NOW RTLD_NOW
18116 # define LT_DLLAZY_OR_NOW DL_NOW
18118 # define LT_DLLAZY_OR_NOW 0
18126 extern "C" void exit (int);
18129 void fnord() { int i=42;}
18132 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18133 int status = $lt_dlunknown;
18137 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18138 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18139 /* dlclose (self); */
18145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18146 (eval $ac_link) 2>&5
18148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18150 (./conftest; exit; ) 2>/dev/null
18152 case x$lt_status in
18153 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18154 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
18155 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
18158 # compilation failed
18159 lt_cv_dlopen_self=no
18166 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18167 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
18169 if test "x$lt_cv_dlopen_self" = xyes; then
18170 LDFLAGS="$LDFLAGS $link_static_flag"
18171 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18172 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
18173 if test "${lt_cv_dlopen_self_static+set}" = set; then
18174 echo $ECHO_N "(cached) $ECHO_C" >&6
18176 if test "$cross_compiling" = yes; then :
18177 lt_cv_dlopen_self_static=cross
18179 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18180 lt_status=$lt_dlunknown
18181 cat > conftest.$ac_ext <<EOF
18182 #line 18182 "configure"
18183 #include "confdefs.h"
18192 # define LT_DLGLOBAL RTLD_GLOBAL
18195 # define LT_DLGLOBAL DL_GLOBAL
18197 # define LT_DLGLOBAL 0
18201 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18202 find out it does not work in some platform. */
18203 #ifndef LT_DLLAZY_OR_NOW
18205 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18208 # define LT_DLLAZY_OR_NOW DL_LAZY
18211 # define LT_DLLAZY_OR_NOW RTLD_NOW
18214 # define LT_DLLAZY_OR_NOW DL_NOW
18216 # define LT_DLLAZY_OR_NOW 0
18224 extern "C" void exit (int);
18227 void fnord() { int i=42;}
18230 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18231 int status = $lt_dlunknown;
18235 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18236 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18237 /* dlclose (self); */
18243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18244 (eval $ac_link) 2>&5
18246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18247 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18248 (./conftest; exit; ) 2>/dev/null
18250 case x$lt_status in
18251 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
18252 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
18253 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
18256 # compilation failed
18257 lt_cv_dlopen_self_static=no
18264 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18265 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
18268 CPPFLAGS="$save_CPPFLAGS"
18269 LDFLAGS="$save_LDFLAGS"
18274 case $lt_cv_dlopen_self in
18275 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
18276 *) enable_dlopen_self=unknown ;;
18279 case $lt_cv_dlopen_self_static in
18280 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
18281 *) enable_dlopen_self_static=unknown ;;
18286 # The else clause should only fire when bootstrapping the
18287 # libtool distribution, otherwise you forgot to ship ltmain.sh
18288 # with your package, and you will get complaints that there are
18289 # no rules to generate ltmain.sh.
18290 if test -f "$ltmain"; then
18291 # See if we are running on zsh, and set the options which allow our commands through
18292 # without removal of \ escapes.
18293 if test -n "${ZSH_VERSION+set}" ; then
18294 setopt NO_GLOB_SUBST
18296 # Now quote all the things that may contain metacharacters while being
18297 # careful not to overquote the AC_SUBSTed values. We take copies of the
18298 # variables and quote the copies for generation of the libtool script.
18299 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18300 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18301 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18302 deplibs_check_method reload_flag reload_cmds need_locks \
18303 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18304 lt_cv_sys_global_symbol_to_c_name_address \
18305 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18306 old_postinstall_cmds old_postuninstall_cmds \
18310 lt_prog_compiler_wl_GCJ \
18311 lt_prog_compiler_pic_GCJ \
18312 lt_prog_compiler_static_GCJ \
18313 lt_prog_compiler_no_builtin_flag_GCJ \
18314 export_dynamic_flag_spec_GCJ \
18315 thread_safe_flag_spec_GCJ \
18316 whole_archive_flag_spec_GCJ \
18317 enable_shared_with_static_runtimes_GCJ \
18318 old_archive_cmds_GCJ \
18319 old_archive_from_new_cmds_GCJ \
18320 predep_objects_GCJ \
18321 postdep_objects_GCJ \
18324 compiler_lib_search_path_GCJ \
18326 archive_expsym_cmds_GCJ \
18327 postinstall_cmds_GCJ \
18328 postuninstall_cmds_GCJ \
18329 old_archive_from_expsyms_cmds_GCJ \
18330 allow_undefined_flag_GCJ \
18331 no_undefined_flag_GCJ \
18332 export_symbols_cmds_GCJ \
18333 hardcode_libdir_flag_spec_GCJ \
18334 hardcode_libdir_flag_spec_ld_GCJ \
18335 hardcode_libdir_separator_GCJ \
18336 hardcode_automatic_GCJ \
18338 module_expsym_cmds_GCJ \
18339 lt_cv_prog_compiler_c_o_GCJ \
18340 exclude_expsyms_GCJ \
18341 include_expsyms_GCJ; do
18344 old_archive_cmds_GCJ | \
18345 old_archive_from_new_cmds_GCJ | \
18346 archive_cmds_GCJ | \
18347 archive_expsym_cmds_GCJ | \
18348 module_cmds_GCJ | \
18349 module_expsym_cmds_GCJ | \
18350 old_archive_from_expsyms_cmds_GCJ | \
18351 export_symbols_cmds_GCJ | \
18352 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18353 postinstall_cmds | postuninstall_cmds | \
18354 old_postinstall_cmds | old_postuninstall_cmds | \
18355 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18356 # Double-quote double-evaled strings.
18357 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
18360 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
18366 *'\$0 --fallback-echo"')
18367 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18373 cat <<__EOF__ >> "$cfgfile"
18374 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18376 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
18378 # Shell to use when invoking shell scripts.
18381 # Whether or not to build shared libraries.
18382 build_libtool_libs=$enable_shared
18384 # Whether or not to build static libraries.
18385 build_old_libs=$enable_static
18387 # Whether or not to add -lc for building shared libraries.
18388 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18390 # Whether or not to disallow shared libs when runtime libs are static
18391 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18393 # Whether or not to optimize for fast installation.
18394 fast_install=$enable_fast_install
18397 host_alias=$host_alias
18400 # An echo program that does not interpret backslashes.
18405 AR_FLAGS=$lt_AR_FLAGS
18410 # A language-specific compiler.
18411 CC=$lt_compiler_GCJ
18413 # Is the compiler the GNU C compiler?
18419 # The linker used to build libraries.
18422 # Whether we need hard or soft links.
18425 # A BSD-compatible nm program.
18428 # A symbol stripping program
18431 # Used to examine libraries when file_magic_cmd begins "file"
18432 MAGIC_CMD=$MAGIC_CMD
18434 # Used on cygwin: DLL creation program.
18437 # Used on cygwin: object dumper.
18440 # Used on cygwin: assembler.
18443 # The name of the directory that contains temporary libtool files.
18446 # How to create reloadable object files.
18447 reload_flag=$lt_reload_flag
18448 reload_cmds=$lt_reload_cmds
18450 # How to pass a linker flag through the compiler.
18451 wl=$lt_lt_prog_compiler_wl_GCJ
18453 # Object file suffix (normally "o").
18454 objext="$ac_objext"
18456 # Old archive suffix (normally "a").
18459 # Shared library suffix (normally ".so").
18462 # Executable file suffix (normally "").
18465 # Additional compiler flags for building library objects.
18466 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18469 # What is the maximum length of a command?
18470 max_cmd_len=$lt_cv_sys_max_cmd_len
18472 # Does compiler simultaneously support -c and -o options?
18473 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18475 # Must we lock files when doing compilation ?
18476 need_locks=$lt_need_locks
18478 # Do we need the lib prefix for modules?
18479 need_lib_prefix=$need_lib_prefix
18481 # Do we need a version for libraries?
18482 need_version=$need_version
18484 # Whether dlopen is supported.
18485 dlopen_support=$enable_dlopen
18487 # Whether dlopen of programs is supported.
18488 dlopen_self=$enable_dlopen_self
18490 # Whether dlopen of statically linked programs is supported.
18491 dlopen_self_static=$enable_dlopen_self_static
18493 # Compiler flag to prevent dynamic linking.
18494 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18496 # Compiler flag to turn off builtin functions.
18497 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18499 # Compiler flag to allow reflexive dlopens.
18500 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18502 # Compiler flag to generate shared objects directly from archives.
18503 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18505 # Compiler flag to generate thread-safe objects.
18506 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18508 # Library versioning type.
18509 version_type=$version_type
18511 # Format of library name prefix.
18512 libname_spec=$lt_libname_spec
18514 # List of archive names. First name is the real one, the rest are links.
18515 # The last name is the one that the linker finds with -lNAME.
18516 library_names_spec=$lt_library_names_spec
18518 # The coded name of the library, if different from the real name.
18519 soname_spec=$lt_soname_spec
18521 # Commands used to build and install an old-style archive.
18523 old_archive_cmds=$lt_old_archive_cmds_GCJ
18524 old_postinstall_cmds=$lt_old_postinstall_cmds
18525 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18527 # Create an old-style archive from a shared archive.
18528 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18530 # Create a temporary old-style archive to link instead of a shared archive.
18531 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18533 # Commands used to build and install a shared archive.
18534 archive_cmds=$lt_archive_cmds_GCJ
18535 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18536 postinstall_cmds=$lt_postinstall_cmds
18537 postuninstall_cmds=$lt_postuninstall_cmds
18539 # Commands used to build a loadable module (assumed same as above if empty)
18540 module_cmds=$lt_module_cmds_GCJ
18541 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18543 # Commands to strip libraries.
18544 old_striplib=$lt_old_striplib
18545 striplib=$lt_striplib
18547 # Dependencies to place before the objects being linked to create a
18549 predep_objects=$lt_predep_objects_GCJ
18551 # Dependencies to place after the objects being linked to create a
18553 postdep_objects=$lt_postdep_objects_GCJ
18555 # Dependencies to place before the objects being linked to create a
18557 predeps=$lt_predeps_GCJ
18559 # Dependencies to place after the objects being linked to create a
18561 postdeps=$lt_postdeps_GCJ
18563 # The library search path used internally by the compiler when linking
18564 # a shared library.
18565 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18567 # Method to check whether dependent libraries are shared objects.
18568 deplibs_check_method=$lt_deplibs_check_method
18570 # Command to use when deplibs_check_method == file_magic.
18571 file_magic_cmd=$lt_file_magic_cmd
18573 # Flag that allows shared libraries with undefined symbols to be built.
18574 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18576 # Flag that forces no undefined symbols.
18577 no_undefined_flag=$lt_no_undefined_flag_GCJ
18579 # Commands used to finish a libtool library installation in a directory.
18580 finish_cmds=$lt_finish_cmds
18582 # Same as above, but a single script fragment to be evaled but not shown.
18583 finish_eval=$lt_finish_eval
18585 # Take the output of nm and produce a listing of raw symbols and C names.
18586 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18588 # Transform the output of nm in a proper C declaration
18589 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18591 # Transform the output of nm in a C name address pair
18592 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18594 # This is the shared library runtime path variable.
18595 runpath_var=$runpath_var
18597 # This is the shared library path variable.
18598 shlibpath_var=$shlibpath_var
18600 # Is shlibpath searched before the hard-coded library search path?
18601 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18603 # How to hardcode a shared library path into an executable.
18604 hardcode_action=$hardcode_action_GCJ
18606 # Whether we should hardcode library paths into libraries.
18607 hardcode_into_libs=$hardcode_into_libs
18609 # Flag to hardcode \$libdir into a binary during linking.
18610 # This must work even if \$libdir does not exist.
18611 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18613 # If ld is used when linking, flag to hardcode \$libdir into
18614 # a binary during linking. This must work even if \$libdir does
18616 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18618 # Whether we need a single -rpath flag with a separated argument.
18619 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18621 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18622 # resulting binary.
18623 hardcode_direct=$hardcode_direct_GCJ
18625 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18626 # resulting binary.
18627 hardcode_minus_L=$hardcode_minus_L_GCJ
18629 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18630 # the resulting binary.
18631 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18633 # Set to yes if building a shared library automatically hardcodes DIR into the library
18634 # and all subsequent libraries and executables linked against it.
18635 hardcode_automatic=$hardcode_automatic_GCJ
18637 # Variables whose values should be saved in libtool wrapper scripts and
18638 # restored at relink time.
18639 variables_saved_for_relink="$variables_saved_for_relink"
18641 # Whether libtool must link a program against all its dependency libraries.
18642 link_all_deplibs=$link_all_deplibs_GCJ
18644 # Compile-time system search path for libraries
18645 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18647 # Run-time system search path for libraries
18648 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18650 # Fix the shell variable \$srcfile for the compiler.
18651 fix_srcfile_path="$fix_srcfile_path_GCJ"
18653 # Set to yes if exported symbols are required.
18654 always_export_symbols=$always_export_symbols_GCJ
18656 # The commands to list exported symbols.
18657 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18659 # The commands to extract the exported symbol list from a shared archive.
18660 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18662 # Symbols that should not be listed in the preloaded symbols.
18663 exclude_expsyms=$lt_exclude_expsyms_GCJ
18665 # Symbols that must always be exported.
18666 include_expsyms=$lt_include_expsyms_GCJ
18668 # ### END LIBTOOL TAG CONFIG: $tagname
18674 # If there is no Makefile yet, we rely on a make rule to execute
18675 # `config.status
--recheck' to rerun these tests and create the
18676 # libtool script then.
18677 test -f Makefile && make "$ltmain"
18682 ac_cpp='$CPP $CPPFLAGS'
18683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18684 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18697 # Source file extension for RC test sources.
18700 # Object file extension for compiled RC test sources.
18704 # Code to be used in simple compile tests
18705 lt_simple_compile_test_code='sample MENU
{ MENUITEM
"&Soup", 100, CHECKED
}\n'
18707 # Code to be used in simple link tests
18708 lt_simple_link_test_code="$lt_simple_compile_test_code"
18710 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18712 # If no C compiler was specified, use CC.
18715 # Allow CC to be a program name with arguments.
18719 # Allow CC to be a program name with arguments.
18724 lt_cv_prog_compiler_c_o_RC=yes
18726 # The else clause should only fire when bootstrapping the
18727 # libtool distribution, otherwise you forgot to ship ltmain.sh
18728 # with your package, and you will get complaints that there are
18729 # no rules to generate ltmain.sh.
18730 if test -f "$ltmain"; then
18731 # See if we are running on zsh, and set the options which allow our commands through
18732 # without removal of \ escapes.
18733 if test -n "${ZSH_VERSION+set}" ; then
18734 setopt NO_GLOB_SUBST
18736 # Now quote all the things that may contain metacharacters while being
18737 # careful not to overquote the AC_SUBSTed values. We take copies of the
18738 # variables and quote the copies for generation of the libtool script.
18739 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18740 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18741 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18742 deplibs_check_method reload_flag reload_cmds need_locks \
18743 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18744 lt_cv_sys_global_symbol_to_c_name_address \
18745 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18746 old_postinstall_cmds old_postuninstall_cmds \
18750 lt_prog_compiler_wl_RC \
18751 lt_prog_compiler_pic_RC \
18752 lt_prog_compiler_static_RC \
18753 lt_prog_compiler_no_builtin_flag_RC \
18754 export_dynamic_flag_spec_RC \
18755 thread_safe_flag_spec_RC \
18756 whole_archive_flag_spec_RC \
18757 enable_shared_with_static_runtimes_RC \
18758 old_archive_cmds_RC \
18759 old_archive_from_new_cmds_RC \
18760 predep_objects_RC \
18761 postdep_objects_RC \
18764 compiler_lib_search_path_RC \
18766 archive_expsym_cmds_RC \
18767 postinstall_cmds_RC \
18768 postuninstall_cmds_RC \
18769 old_archive_from_expsyms_cmds_RC \
18770 allow_undefined_flag_RC \
18771 no_undefined_flag_RC \
18772 export_symbols_cmds_RC \
18773 hardcode_libdir_flag_spec_RC \
18774 hardcode_libdir_flag_spec_ld_RC \
18775 hardcode_libdir_separator_RC \
18776 hardcode_automatic_RC \
18778 module_expsym_cmds_RC \
18779 lt_cv_prog_compiler_c_o_RC \
18780 exclude_expsyms_RC \
18781 include_expsyms_RC; do
18784 old_archive_cmds_RC | \
18785 old_archive_from_new_cmds_RC | \
18786 archive_cmds_RC | \
18787 archive_expsym_cmds_RC | \
18789 module_expsym_cmds_RC | \
18790 old_archive_from_expsyms_cmds_RC | \
18791 export_symbols_cmds_RC | \
18792 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18793 postinstall_cmds | postuninstall_cmds | \
18794 old_postinstall_cmds | old_postuninstall_cmds | \
18795 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18796 # Double-quote double-evaled strings.
18797 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18800 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18806 *'\
$0 --fallback-echo"')
18807 lt_echo=`$echo "X
$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$
/$0 --fallback-echo"/'`
18813 cat <<__EOF__ >> "$cfgfile"
18814 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18816 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18818 # Shell to use when invoking shell scripts.
18821 # Whether or not to build shared libraries.
18822 build_libtool_libs=$enable_shared
18824 # Whether or not to build static libraries.
18825 build_old_libs=$enable_static
18827 # Whether or not to add -lc for building shared libraries.
18828 build_libtool_need_lc=$archive_cmds_need_lc_RC
18830 # Whether or not to disallow shared libs when runtime libs are static
18831 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18833 # Whether or not to optimize for fast installation.
18834 fast_install=$enable_fast_install
18837 host_alias=$host_alias
18840 # An echo program that does not interpret backslashes.
18845 AR_FLAGS=$lt_AR_FLAGS
18850 # A language-specific compiler.
18853 # Is the compiler the GNU C compiler?
18859 # The linker used to build libraries.
18862 # Whether we need hard or soft links.
18865 # A BSD-compatible nm program.
18868 # A symbol stripping program
18871 # Used to examine libraries when file_magic_cmd begins "file"
18872 MAGIC_CMD=$MAGIC_CMD
18874 # Used on cygwin: DLL creation program.
18877 # Used on cygwin: object dumper.
18880 # Used on cygwin: assembler.
18883 # The name of the directory that contains temporary libtool files.
18886 # How to create reloadable object files.
18887 reload_flag=$lt_reload_flag
18888 reload_cmds=$lt_reload_cmds
18890 # How to pass a linker flag through the compiler.
18891 wl=$lt_lt_prog_compiler_wl_RC
18893 # Object file suffix (normally "o
").
18894 objext="$ac_objext"
18896 # Old archive suffix (normally "a
").
18899 # Shared library suffix (normally ".so
").
18902 # Executable file suffix (normally "").
18905 # Additional compiler flags for building library objects.
18906 pic_flag=$lt_lt_prog_compiler_pic_RC
18909 # What is the maximum length of a command?
18910 max_cmd_len=$lt_cv_sys_max_cmd_len
18912 # Does compiler simultaneously support -c and -o options?
18913 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18915 # Must we lock files when doing compilation ?
18916 need_locks=$lt_need_locks
18918 # Do we need the lib prefix for modules?
18919 need_lib_prefix=$need_lib_prefix
18921 # Do we need a version for libraries?
18922 need_version=$need_version
18924 # Whether dlopen is supported.
18925 dlopen_support=$enable_dlopen
18927 # Whether dlopen of programs is supported.
18928 dlopen_self=$enable_dlopen_self
18930 # Whether dlopen of statically linked programs is supported.
18931 dlopen_self_static=$enable_dlopen_self_static
18933 # Compiler flag to prevent dynamic linking.
18934 link_static_flag=$lt_lt_prog_compiler_static_RC
18936 # Compiler flag to turn off builtin functions.
18937 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18939 # Compiler flag to allow reflexive dlopens.
18940 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18942 # Compiler flag to generate shared objects directly from archives.
18943 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18945 # Compiler flag to generate thread-safe objects.
18946 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18948 # Library versioning type.
18949 version_type=$version_type
18951 # Format of library name prefix.
18952 libname_spec=$lt_libname_spec
18954 # List of archive names. First name is the real one, the rest are links.
18955 # The last name is the one that the linker finds with -lNAME.
18956 library_names_spec=$lt_library_names_spec
18958 # The coded name of the library, if different from the real name.
18959 soname_spec=$lt_soname_spec
18961 # Commands used to build and install an old-style archive.
18963 old_archive_cmds=$lt_old_archive_cmds_RC
18964 old_postinstall_cmds=$lt_old_postinstall_cmds
18965 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18967 # Create an old-style archive from a shared archive.
18968 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18970 # Create a temporary old-style archive to link instead of a shared archive.
18971 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18973 # Commands used to build and install a shared archive.
18974 archive_cmds=$lt_archive_cmds_RC
18975 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18976 postinstall_cmds=$lt_postinstall_cmds
18977 postuninstall_cmds=$lt_postuninstall_cmds
18979 # Commands used to build a loadable module (assumed same as above if empty)
18980 module_cmds=$lt_module_cmds_RC
18981 module_expsym_cmds=$lt_module_expsym_cmds_RC
18983 # Commands to strip libraries.
18984 old_striplib=$lt_old_striplib
18985 striplib=$lt_striplib
18987 # Dependencies to place before the objects being linked to create a
18989 predep_objects=$lt_predep_objects_RC
18991 # Dependencies to place after the objects being linked to create a
18993 postdep_objects=$lt_postdep_objects_RC
18995 # Dependencies to place before the objects being linked to create a
18997 predeps=$lt_predeps_RC
18999 # Dependencies to place after the objects being linked to create a
19001 postdeps=$lt_postdeps_RC
19003 # The library search path used internally by the compiler when linking
19004 # a shared library.
19005 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19007 # Method to check whether dependent libraries are shared objects.
19008 deplibs_check_method=$lt_deplibs_check_method
19010 # Command to use when deplibs_check_method == file_magic.
19011 file_magic_cmd=$lt_file_magic_cmd
19013 # Flag that allows shared libraries with undefined symbols to be built.
19014 allow_undefined_flag=$lt_allow_undefined_flag_RC
19016 # Flag that forces no undefined symbols.
19017 no_undefined_flag=$lt_no_undefined_flag_RC
19019 # Commands used to finish a libtool library installation in a directory.
19020 finish_cmds=$lt_finish_cmds
19022 # Same as above, but a single script fragment to be evaled but not shown.
19023 finish_eval=$lt_finish_eval
19025 # Take the output of nm and produce a listing of raw symbols and C names.
19026 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19028 # Transform the output of nm in a proper C declaration
19029 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19031 # Transform the output of nm in a C name address pair
19032 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19034 # This is the shared library runtime path variable.
19035 runpath_var=$runpath_var
19037 # This is the shared library path variable.
19038 shlibpath_var=$shlibpath_var
19040 # Is shlibpath searched before the hard-coded library search path?
19041 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19043 # How to hardcode a shared library path into an executable.
19044 hardcode_action=$hardcode_action_RC
19046 # Whether we should hardcode library paths into libraries.
19047 hardcode_into_libs=$hardcode_into_libs
19049 # Flag to hardcode \$libdir into a binary during linking.
19050 # This must work even if \$libdir does not exist.
19051 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19053 # If ld is used when linking, flag to hardcode \$libdir into
19054 # a binary during linking. This must work even if \$libdir does
19056 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19058 # Whether we need a single -rpath flag with a separated argument.
19059 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19061 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19062 # resulting binary.
19063 hardcode_direct=$hardcode_direct_RC
19065 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19066 # resulting binary.
19067 hardcode_minus_L=$hardcode_minus_L_RC
19069 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19070 # the resulting binary.
19071 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19073 # Set to yes if building a shared library automatically hardcodes DIR into the library
19074 # and all subsequent libraries and executables linked against it.
19075 hardcode_automatic=$hardcode_automatic_RC
19077 # Variables whose values should be saved in libtool wrapper scripts and
19078 # restored at relink time.
19079 variables_saved_for_relink="$variables_saved_for_relink"
19081 # Whether libtool must link a program against all its dependency libraries.
19082 link_all_deplibs=$link_all_deplibs_RC
19084 # Compile-time system search path for libraries
19085 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19087 # Run-time system search path for libraries
19088 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19090 # Fix the shell variable \$srcfile for the compiler.
19091 fix_srcfile_path="$fix_srcfile_path_RC"
19093 # Set to yes if exported symbols are required.
19094 always_export_symbols=$always_export_symbols_RC
19096 # The commands to list exported symbols.
19097 export_symbols_cmds=$lt_export_symbols_cmds_RC
19099 # The commands to extract the exported symbol list from a shared archive.
19100 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19102 # Symbols that should not be listed in the preloaded symbols.
19103 exclude_expsyms=$lt_exclude_expsyms_RC
19105 # Symbols that must always be exported.
19106 include_expsyms=$lt_include_expsyms_RC
19108 # ### END LIBTOOL TAG CONFIG: $tagname
19114 # If there is no Makefile yet, we rely on a make rule to execute
19115 # `config.status --recheck' to rerun these tests and create the
19116 # libtool script then.
19117 test -f Makefile && make "$ltmain"
19122 ac_cpp='$CPP $CPPFLAGS'
19123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19132 { { echo "$as_me:$LINENO: error
: Unsupported tag name
: $tagname" >&5
19133 echo "$as_me: error
: Unsupported tag name
: $tagname" >&2;}
19134 { (exit 1); exit 1; }; }
19138 # Append the new tag name to the list of available tags.
19139 if test -n "$tagname" ; then
19140 available_tags="$available_tags $tagname"
19146 # Now substitute the updated list of available tags.
19147 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T
\""; then
19148 mv "${ofile}T
" "$ofile"
19152 { { echo "$as_me:$LINENO: error
: unable to update list of available tagged configurations.
" >&5
19153 echo "$as_me: error
: unable to update list of available tagged configurations.
" >&2;}
19154 { (exit 1); exit 1; }; }
19160 # This can be used to rebuild libtool when needed
19161 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh
"
19163 # Always use our own libtool.
19164 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19166 # Prevent multiple expansion
19187 { echo "$as_me:$LINENO: checking
for an ANSI C-conforming const
" >&5
19188 echo $ECHO_N "checking
for an ANSI C-conforming const...
$ECHO_C" >&6; }
19189 if test "${ac_cv_c_const+set}" = set; then
19190 echo $ECHO_N "(cached
) $ECHO_C" >&6
19192 cat >conftest.$ac_ext <<_ACEOF
19195 cat confdefs.h >>conftest.$ac_ext
19196 cat >>conftest.$ac_ext <<_ACEOF
19197 /* end confdefs.h. */
19202 /* FIXME: Include the comments suggested by Paul. */
19203 #ifndef __cplusplus
19204 /* Ultrix mips cc rejects this. */
19205 typedef int charset[2];
19207 /* SunOS 4.1.1 cc rejects this. */
19208 char const *const *pcpcc;
19210 /* NEC SVR4.0.2 mips cc rejects this. */
19211 struct point {int x, y;};
19212 static struct point const zero = {0,0};
19213 /* AIX XL C 1.02.0.0 rejects this.
19214 It does not let you subtract one const X* pointer from another in
19215 an arm of an if-expression whose if-part is not a constant
19217 const char *g = "string
";
19218 pcpcc = &g + (g ? g-g : 0);
19219 /* HPUX 7.0 cc rejects these. */
19221 ppc = (char**) pcpcc;
19222 pcpcc = (char const *const *) ppc;
19223 { /* SCO 3.2v4 cc rejects this. */
19225 char const *s = 0 ? (char *) 0 : (char const *) 0;
19230 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19231 int x[] = {25, 17};
19232 const int *foo = &x[0];
19235 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19236 typedef const int *iptr;
19240 { /* AIX XL C 1.02.0.0 rejects this saying
19241 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19242 struct s { int j; const int *ap[3]; };
19243 struct s *b; b->j = 5;
19245 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19246 const int foo = 10;
19247 if (!foo) return 0;
19249 return !cs[0] && !zero.x;
19256 rm -f conftest.$ac_objext
19257 if { (ac_try="$ac_compile"
19258 case "(($ac_try" in
19259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19260 *) ac_try_echo=$ac_try;;
19262 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19263 (eval "$ac_compile") 2>conftest.er1
19265 grep -v '^ *+' conftest.er1 >conftest.err
19267 cat conftest.err >&5
19268 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19269 (exit $ac_status); } && {
19270 test -z "$ac_c_werror_flag" ||
19271 test ! -s conftest.err
19272 } && test -s conftest.$ac_objext; then
19275 echo "$as_me: failed program was
:" >&5
19276 sed 's/^/| /' conftest.$ac_ext >&5
19281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19283 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19284 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19285 if test $ac_cv_c_const = no; then
19287 cat >>confdefs.h <<\_ACEOF
19298 ac_header_dirent=no
19299 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
19300 as_ac_Header=`echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
19301 { echo "$as_me:$LINENO: checking
for $ac_hdr that defines DIR
" >&5
19302 echo $ECHO_N "checking
for $ac_hdr that defines DIR...
$ECHO_C" >&6; }
19303 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19304 echo $ECHO_N "(cached
) $ECHO_C" >&6
19306 cat >conftest.$ac_ext <<_ACEOF
19309 cat confdefs.h >>conftest.$ac_ext
19310 cat >>conftest.$ac_ext <<_ACEOF
19311 /* end confdefs.h. */
19312 #include <sys/types.h>
19324 rm -f conftest.$ac_objext
19325 if { (ac_try="$ac_compile"
19326 case "(($ac_try" in
19327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19328 *) ac_try_echo=$ac_try;;
19330 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19331 (eval "$ac_compile") 2>conftest.er1
19333 grep -v '^ *+' conftest.er1 >conftest.err
19335 cat conftest.err >&5
19336 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19337 (exit $ac_status); } && {
19338 test -z "$ac_c_werror_flag" ||
19339 test ! -s conftest.err
19340 } && test -s conftest.$ac_objext; then
19341 eval "$as_ac_Header=yes"
19343 echo "$as_me: failed program was
:" >&5
19344 sed 's/^/| /' conftest.$ac_ext >&5
19346 eval "$as_ac_Header=no
"
19349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19351 ac_res=`eval echo '${'$as_ac_Header'}'`
19352 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19353 echo "${ECHO_T}$ac_res" >&6; }
19354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19355 cat >>confdefs.h <<_ACEOF
19356 #define `echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
19359 ac_header_dirent=$ac_hdr; break
19363 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
19364 if test $ac_header_dirent = dirent.h; then
19365 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
19366 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
19367 if test "${ac_cv_search_opendir+set}" = set; then
19368 echo $ECHO_N "(cached
) $ECHO_C" >&6
19370 ac_func_search_save_LIBS=$LIBS
19371 cat >conftest.$ac_ext <<_ACEOF
19374 cat confdefs.h >>conftest.$ac_ext
19375 cat >>conftest.$ac_ext <<_ACEOF
19376 /* end confdefs.h. */
19378 /* Override any GCC internal prototype to avoid an error.
19379 Use char because int might match the return type of a GCC
19380 builtin and then its argument prototype would still apply. */
19393 for ac_lib in '' dir; do
19394 if test -z "$ac_lib"; then
19395 ac_res="none required
"
19398 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19400 rm -f conftest.$ac_objext conftest$ac_exeext
19401 if { (ac_try="$ac_link"
19402 case "(($ac_try" in
19403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19404 *) ac_try_echo=$ac_try;;
19406 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19407 (eval "$ac_link") 2>conftest.er1
19409 grep -v '^ *+' conftest.er1 >conftest.err
19411 cat conftest.err >&5
19412 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19413 (exit $ac_status); } && {
19414 test -z "$ac_c_werror_flag" ||
19415 test ! -s conftest.err
19416 } && test -s conftest$ac_exeext &&
19417 $as_test_x conftest$ac_exeext; then
19418 ac_cv_search_opendir=$ac_res
19420 echo "$as_me: failed program was
:" >&5
19421 sed 's/^/| /' conftest.$ac_ext >&5
19426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19428 if test "${ac_cv_search_opendir+set}" = set; then
19432 if test "${ac_cv_search_opendir+set}" = set; then
19435 ac_cv_search_opendir=no
19437 rm conftest.$ac_ext
19438 LIBS=$ac_func_search_save_LIBS
19440 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
19441 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
19442 ac_res=$ac_cv_search_opendir
19443 if test "$ac_res" != no; then
19444 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
19449 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
19450 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
19451 if test "${ac_cv_search_opendir+set}" = set; then
19452 echo $ECHO_N "(cached
) $ECHO_C" >&6
19454 ac_func_search_save_LIBS=$LIBS
19455 cat >conftest.$ac_ext <<_ACEOF
19458 cat confdefs.h >>conftest.$ac_ext
19459 cat >>conftest.$ac_ext <<_ACEOF
19460 /* end confdefs.h. */
19462 /* Override any GCC internal prototype to avoid an error.
19463 Use char because int might match the return type of a GCC
19464 builtin and then its argument prototype would still apply. */
19477 for ac_lib in '' x; do
19478 if test -z "$ac_lib"; then
19479 ac_res="none required
"
19482 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19484 rm -f conftest.$ac_objext conftest$ac_exeext
19485 if { (ac_try="$ac_link"
19486 case "(($ac_try" in
19487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19488 *) ac_try_echo=$ac_try;;
19490 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19491 (eval "$ac_link") 2>conftest.er1
19493 grep -v '^ *+' conftest.er1 >conftest.err
19495 cat conftest.err >&5
19496 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19497 (exit $ac_status); } && {
19498 test -z "$ac_c_werror_flag" ||
19499 test ! -s conftest.err
19500 } && test -s conftest$ac_exeext &&
19501 $as_test_x conftest$ac_exeext; then
19502 ac_cv_search_opendir=$ac_res
19504 echo "$as_me: failed program was
:" >&5
19505 sed 's/^/| /' conftest.$ac_ext >&5
19510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19512 if test "${ac_cv_search_opendir+set}" = set; then
19516 if test "${ac_cv_search_opendir+set}" = set; then
19519 ac_cv_search_opendir=no
19521 rm conftest.$ac_ext
19522 LIBS=$ac_func_search_save_LIBS
19524 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
19525 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
19526 ac_res=$ac_cv_search_opendir
19527 if test "$ac_res" != no; then
19528 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
19534 # Check whether --enable-ltdl-install was given.
19535 if test "${enable_ltdl_install+set}" = set; then
19536 enableval=$enable_ltdl_install;
19540 if test x"${enable_ltdl_install-no}" != xno; then
19541 cat >>confdefs.h <<\_ACEOF
19542 #define INSTALL_LTDL 1
19546 if test x"${enable_ltdl_convenience-no}" != xno; then
19547 cat >>confdefs.h <<\_ACEOF
19548 #define CONVENIENCE_LTDL 1
19554 { echo "$as_me:$LINENO: checking
which extension is used
for loadable modules
" >&5
19555 echo $ECHO_N "checking
which extension is used
for loadable modules...
$ECHO_C" >&6; }
19556 if test "${libltdl_cv_shlibext+set}" = set; then
19557 echo $ECHO_N "(cached
) $ECHO_C" >&6
19561 eval libltdl_cv_shlibext=$shrext
19564 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibext" >&5
19565 echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
19566 if test -n "$libltdl_cv_shlibext"; then
19568 cat >>confdefs.h <<_ACEOF
19569 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
19575 { echo "$as_me:$LINENO: checking
which variable specifies run-time library path
" >&5
19576 echo $ECHO_N "checking
which variable specifies run-time library path...
$ECHO_C" >&6; }
19577 if test "${libltdl_cv_shlibpath_var+set}" = set; then
19578 echo $ECHO_N "(cached
) $ECHO_C" >&6
19580 libltdl_cv_shlibpath_var="$shlibpath_var"
19582 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibpath_var" >&5
19583 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
19584 if test -n "$libltdl_cv_shlibpath_var"; then
19586 cat >>confdefs.h <<_ACEOF
19587 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
19593 { echo "$as_me:$LINENO: checking
for the default library search path
" >&5
19594 echo $ECHO_N "checking
for the default library search path...
$ECHO_C" >&6; }
19595 if test "${libltdl_cv_sys_search_path+set}" = set; then
19596 echo $ECHO_N "(cached
) $ECHO_C" >&6
19598 libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"
19600 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_search_path" >&5
19601 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6; }
19602 if test -n "$libltdl_cv_sys_search_path"; then
19604 for dir in $libltdl_cv_sys_search_path; do
19605 if test -z "$sys_search_path"; then
19606 sys_search_path="$dir"
19608 sys_search_path="$sys_search_path$PATH_SEPARATOR$dir"
19612 cat >>confdefs.h <<_ACEOF
19613 #define LTDL_SYSSEARCHPATH "$sys_search_path"
19618 { echo "$as_me:$LINENO: checking
for objdir
" >&5
19619 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6; }
19620 if test "${libltdl_cv_objdir+set}" = set; then
19621 echo $ECHO_N "(cached
) $ECHO_C" >&6
19623 libltdl_cv_objdir="$objdir"
19624 if test -n "$objdir"; then
19627 rm -f .libs 2>/dev/null
19628 mkdir .libs 2>/dev/null
19629 if test -d .libs; then
19630 libltdl_cv_objdir=.libs
19632 # MS-DOS does not allow filenames that begin with a dot.
19633 libltdl_cv_objdir=_libs
19635 rmdir .libs 2>/dev/null
19639 { echo "$as_me:$LINENO: result
: $libltdl_cv_objdir" >&5
19640 echo "${ECHO_T}$libltdl_cv_objdir" >&6; }
19642 cat >>confdefs.h <<_ACEOF
19643 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
19648 { echo "$as_me:$LINENO: checking whether libtool supports
-dlopen/-dlpreopen" >&5
19649 echo $ECHO_N "checking whether libtool supports
-dlopen/-dlpreopen...
$ECHO_C" >&6; }
19650 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
19651 echo $ECHO_N "(cached
) $ECHO_C" >&6
19653 if test -n "$lt_cv_sys_global_symbol_pipe"; then
19654 libltdl_cv_preloaded_symbols=yes
19656 libltdl_cv_preloaded_symbols=no
19660 { echo "$as_me:$LINENO: result
: $libltdl_cv_preloaded_symbols" >&5
19661 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
19662 if test x"$libltdl_cv_preloaded_symbols" = xyes; then
19664 cat >>confdefs.h <<\_ACEOF
19665 #define HAVE_PRELOADED_SYMBOLS 1
19673 ac_cpp='$CPP $CPPFLAGS'
19674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19679 { echo "$as_me:$LINENO: checking
for shl_load
" >&5
19680 echo $ECHO_N "checking
for shl_load...
$ECHO_C" >&6; }
19681 if test "${ac_cv_func_shl_load+set}" = set; then
19682 echo $ECHO_N "(cached
) $ECHO_C" >&6
19684 cat >conftest.$ac_ext <<_ACEOF
19687 cat confdefs.h >>conftest.$ac_ext
19688 cat >>conftest.$ac_ext <<_ACEOF
19689 /* end confdefs.h. */
19690 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
19691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19692 #define shl_load innocuous_shl_load
19694 /* System header to define __stub macros and hopefully few prototypes,
19695 which can conflict with char shl_load (); below.
19696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19697 <limits.h> exists even on freestanding compilers. */
19700 # include <limits.h>
19702 # include <assert.h>
19707 /* Override any GCC internal prototype to avoid an error.
19708 Use char because int might match the return type of a GCC
19709 builtin and then its argument prototype would still apply. */
19714 /* The GNU C library defines this for functions which it implements
19715 to always fail with ENOSYS. Some functions are actually named
19716 something starting with __ and the normal name is an alias. */
19717 #if defined __stub_shl_load || defined __stub___shl_load
19724 return shl_load ();
19729 rm -f conftest.$ac_objext conftest$ac_exeext
19730 if { (ac_try="$ac_link"
19731 case "(($ac_try" in
19732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19733 *) ac_try_echo=$ac_try;;
19735 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19736 (eval "$ac_link") 2>conftest.er1
19738 grep -v '^ *+' conftest.er1 >conftest.err
19740 cat conftest.err >&5
19741 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19742 (exit $ac_status); } && {
19743 test -z "$ac_c_werror_flag" ||
19744 test ! -s conftest.err
19745 } && test -s conftest$ac_exeext &&
19746 $as_test_x conftest$ac_exeext; then
19747 ac_cv_func_shl_load=yes
19749 echo "$as_me: failed program was
:" >&5
19750 sed 's/^/| /' conftest.$ac_ext >&5
19752 ac_cv_func_shl_load=no
19755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19756 conftest$ac_exeext conftest.$ac_ext
19758 { echo "$as_me:$LINENO: result
: $ac_cv_func_shl_load" >&5
19759 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
19760 if test $ac_cv_func_shl_load = yes; then
19762 cat >>confdefs.h <<\_ACEOF
19763 #define HAVE_SHL_LOAD 1
19767 { echo "$as_me:$LINENO: checking
for shl_load
in -ldld" >&5
19768 echo $ECHO_N "checking
for shl_load
in -ldld...
$ECHO_C" >&6; }
19769 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
19770 echo $ECHO_N "(cached
) $ECHO_C" >&6
19772 ac_check_lib_save_LIBS=$LIBS
19774 cat >conftest.$ac_ext <<_ACEOF
19777 cat confdefs.h >>conftest.$ac_ext
19778 cat >>conftest.$ac_ext <<_ACEOF
19779 /* end confdefs.h. */
19781 /* Override any GCC internal prototype to avoid an error.
19782 Use char because int might match the return type of a GCC
19783 builtin and then its argument prototype would still apply. */
19791 return shl_load ();
19796 rm -f conftest.$ac_objext conftest$ac_exeext
19797 if { (ac_try="$ac_link"
19798 case "(($ac_try" in
19799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19800 *) ac_try_echo=$ac_try;;
19802 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19803 (eval "$ac_link") 2>conftest.er1
19805 grep -v '^ *+' conftest.er1 >conftest.err
19807 cat conftest.err >&5
19808 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19809 (exit $ac_status); } && {
19810 test -z "$ac_c_werror_flag" ||
19811 test ! -s conftest.err
19812 } && test -s conftest$ac_exeext &&
19813 $as_test_x conftest$ac_exeext; then
19814 ac_cv_lib_dld_shl_load=yes
19816 echo "$as_me: failed program was
:" >&5
19817 sed 's/^/| /' conftest.$ac_ext >&5
19819 ac_cv_lib_dld_shl_load=no
19822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19823 conftest$ac_exeext conftest.$ac_ext
19824 LIBS=$ac_check_lib_save_LIBS
19826 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_shl_load" >&5
19827 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
19828 if test $ac_cv_lib_dld_shl_load = yes; then
19830 cat >>confdefs.h <<\_ACEOF
19831 #define HAVE_SHL_LOAD 1
19834 LIBADD_DL="$LIBADD_DL -ldld"
19836 { echo "$as_me:$LINENO: checking
for dlopen
in -ldl" >&5
19837 echo $ECHO_N "checking
for dlopen
in -ldl...
$ECHO_C" >&6; }
19838 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19839 echo $ECHO_N "(cached
) $ECHO_C" >&6
19841 ac_check_lib_save_LIBS=$LIBS
19843 cat >conftest.$ac_ext <<_ACEOF
19846 cat confdefs.h >>conftest.$ac_ext
19847 cat >>conftest.$ac_ext <<_ACEOF
19848 /* end confdefs.h. */
19850 /* Override any GCC internal prototype to avoid an error.
19851 Use char because int might match the return type of a GCC
19852 builtin and then its argument prototype would still apply. */
19865 rm -f conftest.$ac_objext conftest$ac_exeext
19866 if { (ac_try="$ac_link"
19867 case "(($ac_try" in
19868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19869 *) ac_try_echo=$ac_try;;
19871 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19872 (eval "$ac_link") 2>conftest.er1
19874 grep -v '^ *+' conftest.er1 >conftest.err
19876 cat conftest.err >&5
19877 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19878 (exit $ac_status); } && {
19879 test -z "$ac_c_werror_flag" ||
19880 test ! -s conftest.err
19881 } && test -s conftest$ac_exeext &&
19882 $as_test_x conftest$ac_exeext; then
19883 ac_cv_lib_dl_dlopen=yes
19885 echo "$as_me: failed program was
:" >&5
19886 sed 's/^/| /' conftest.$ac_ext >&5
19888 ac_cv_lib_dl_dlopen=no
19891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19892 conftest$ac_exeext conftest.$ac_ext
19893 LIBS=$ac_check_lib_save_LIBS
19895 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dl_dlopen" >&5
19896 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
19897 if test $ac_cv_lib_dl_dlopen = yes; then
19899 cat >>confdefs.h <<\_ACEOF
19900 #define HAVE_LIBDL 1
19903 LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"
19905 cat >conftest.$ac_ext <<_ACEOF
19908 cat confdefs.h >>conftest.$ac_ext
19909 cat >>conftest.$ac_ext <<_ACEOF
19910 /* end confdefs.h. */
19912 # include <dlfcn.h>
19923 rm -f conftest.$ac_objext conftest$ac_exeext
19924 if { (ac_try="$ac_link"
19925 case "(($ac_try" in
19926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19927 *) ac_try_echo=$ac_try;;
19929 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19930 (eval "$ac_link") 2>conftest.er1
19932 grep -v '^ *+' conftest.er1 >conftest.err
19934 cat conftest.err >&5
19935 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19936 (exit $ac_status); } && {
19937 test -z "$ac_c_werror_flag" ||
19938 test ! -s conftest.err
19939 } && test -s conftest$ac_exeext &&
19940 $as_test_x conftest$ac_exeext; then
19942 cat >>confdefs.h <<\_ACEOF
19943 #define HAVE_LIBDL 1
19945 libltdl_cv_func_dlopen="yes"
19947 echo "$as_me: failed program was
:" >&5
19948 sed 's/^/| /' conftest.$ac_ext >&5
19950 { echo "$as_me:$LINENO: checking
for dlopen
in -lsvld" >&5
19951 echo $ECHO_N "checking
for dlopen
in -lsvld...
$ECHO_C" >&6; }
19952 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
19953 echo $ECHO_N "(cached
) $ECHO_C" >&6
19955 ac_check_lib_save_LIBS=$LIBS
19956 LIBS="-lsvld $LIBS"
19957 cat >conftest.$ac_ext <<_ACEOF
19960 cat confdefs.h >>conftest.$ac_ext
19961 cat >>conftest.$ac_ext <<_ACEOF
19962 /* end confdefs.h. */
19964 /* Override any GCC internal prototype to avoid an error.
19965 Use char because int might match the return type of a GCC
19966 builtin and then its argument prototype would still apply. */
19979 rm -f conftest.$ac_objext conftest$ac_exeext
19980 if { (ac_try="$ac_link"
19981 case "(($ac_try" in
19982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19983 *) ac_try_echo=$ac_try;;
19985 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19986 (eval "$ac_link") 2>conftest.er1
19988 grep -v '^ *+' conftest.er1 >conftest.err
19990 cat conftest.err >&5
19991 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19992 (exit $ac_status); } && {
19993 test -z "$ac_c_werror_flag" ||
19994 test ! -s conftest.err
19995 } && test -s conftest$ac_exeext &&
19996 $as_test_x conftest$ac_exeext; then
19997 ac_cv_lib_svld_dlopen=yes
19999 echo "$as_me: failed program was
:" >&5
20000 sed 's/^/| /' conftest.$ac_ext >&5
20002 ac_cv_lib_svld_dlopen=no
20005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20006 conftest$ac_exeext conftest.$ac_ext
20007 LIBS=$ac_check_lib_save_LIBS
20009 { echo "$as_me:$LINENO: result
: $ac_cv_lib_svld_dlopen" >&5
20010 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
20011 if test $ac_cv_lib_svld_dlopen = yes; then
20013 cat >>confdefs.h <<\_ACEOF
20014 #define HAVE_LIBDL 1
20017 LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"
20019 { echo "$as_me:$LINENO: checking
for dld_link
in -ldld" >&5
20020 echo $ECHO_N "checking
for dld_link
in -ldld...
$ECHO_C" >&6; }
20021 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
20022 echo $ECHO_N "(cached
) $ECHO_C" >&6
20024 ac_check_lib_save_LIBS=$LIBS
20026 cat >conftest.$ac_ext <<_ACEOF
20029 cat confdefs.h >>conftest.$ac_ext
20030 cat >>conftest.$ac_ext <<_ACEOF
20031 /* end confdefs.h. */
20033 /* Override any GCC internal prototype to avoid an error.
20034 Use char because int might match the return type of a GCC
20035 builtin and then its argument prototype would still apply. */
20043 return dld_link ();
20048 rm -f conftest.$ac_objext conftest$ac_exeext
20049 if { (ac_try="$ac_link"
20050 case "(($ac_try" in
20051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20052 *) ac_try_echo=$ac_try;;
20054 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20055 (eval "$ac_link") 2>conftest.er1
20057 grep -v '^ *+' conftest.er1 >conftest.err
20059 cat conftest.err >&5
20060 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20061 (exit $ac_status); } && {
20062 test -z "$ac_c_werror_flag" ||
20063 test ! -s conftest.err
20064 } && test -s conftest$ac_exeext &&
20065 $as_test_x conftest$ac_exeext; then
20066 ac_cv_lib_dld_dld_link=yes
20068 echo "$as_me: failed program was
:" >&5
20069 sed 's/^/| /' conftest.$ac_ext >&5
20071 ac_cv_lib_dld_dld_link=no
20074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20075 conftest$ac_exeext conftest.$ac_ext
20076 LIBS=$ac_check_lib_save_LIBS
20078 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_dld_link" >&5
20079 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
20080 if test $ac_cv_lib_dld_dld_link = yes; then
20082 cat >>confdefs.h <<\_ACEOF
20086 LIBADD_DL="$LIBADD_DL -ldld"
20088 { echo "$as_me:$LINENO: checking
for _dyld_func_lookup
" >&5
20089 echo $ECHO_N "checking
for _dyld_func_lookup...
$ECHO_C" >&6; }
20090 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
20091 echo $ECHO_N "(cached
) $ECHO_C" >&6
20093 cat >conftest.$ac_ext <<_ACEOF
20096 cat confdefs.h >>conftest.$ac_ext
20097 cat >>conftest.$ac_ext <<_ACEOF
20098 /* end confdefs.h. */
20099 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
20100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20101 #define _dyld_func_lookup innocuous__dyld_func_lookup
20103 /* System header to define __stub macros and hopefully few prototypes,
20104 which can conflict with char _dyld_func_lookup (); below.
20105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20106 <limits.h> exists even on freestanding compilers. */
20109 # include <limits.h>
20111 # include <assert.h>
20114 #undef _dyld_func_lookup
20116 /* Override any GCC internal prototype to avoid an error.
20117 Use char because int might match the return type of a GCC
20118 builtin and then its argument prototype would still apply. */
20122 char _dyld_func_lookup ();
20123 /* The GNU C library defines this for functions which it implements
20124 to always fail with ENOSYS. Some functions are actually named
20125 something starting with __ and the normal name is an alias. */
20126 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
20133 return _dyld_func_lookup ();
20138 rm -f conftest.$ac_objext conftest$ac_exeext
20139 if { (ac_try="$ac_link"
20140 case "(($ac_try" in
20141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20142 *) ac_try_echo=$ac_try;;
20144 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20145 (eval "$ac_link") 2>conftest.er1
20147 grep -v '^ *+' conftest.er1 >conftest.err
20149 cat conftest.err >&5
20150 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20151 (exit $ac_status); } && {
20152 test -z "$ac_c_werror_flag" ||
20153 test ! -s conftest.err
20154 } && test -s conftest$ac_exeext &&
20155 $as_test_x conftest$ac_exeext; then
20156 ac_cv_func__dyld_func_lookup=yes
20158 echo "$as_me: failed program was
:" >&5
20159 sed 's/^/| /' conftest.$ac_ext >&5
20161 ac_cv_func__dyld_func_lookup=no
20164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20165 conftest$ac_exeext conftest.$ac_ext
20167 { echo "$as_me:$LINENO: result
: $ac_cv_func__dyld_func_lookup" >&5
20168 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
20169 if test $ac_cv_func__dyld_func_lookup = yes; then
20171 cat >>confdefs.h <<\_ACEOF
20172 #define HAVE_DYLD 1
20186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20187 conftest$ac_exeext conftest.$ac_ext
20198 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
20200 lt_save_LIBS="$LIBS"
20201 LIBS="$LIBS $LIBADD_DL"
20203 for ac_func in dlerror
20205 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
20206 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
20207 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
20208 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
20209 echo $ECHO_N "(cached
) $ECHO_C" >&6
20211 cat >conftest.$ac_ext <<_ACEOF
20214 cat confdefs.h >>conftest.$ac_ext
20215 cat >>conftest.$ac_ext <<_ACEOF
20216 /* end confdefs.h. */
20217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20219 #define $ac_func innocuous_$ac_func
20221 /* System header to define __stub macros and hopefully few prototypes,
20222 which can conflict with char $ac_func (); below.
20223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20224 <limits.h> exists even on freestanding compilers. */
20227 # include <limits.h>
20229 # include <assert.h>
20234 /* Override any GCC internal prototype to avoid an error.
20235 Use char because int might match the return type of a GCC
20236 builtin and then its argument prototype would still apply. */
20241 /* The GNU C library defines this for functions which it implements
20242 to always fail with ENOSYS. Some functions are actually named
20243 something starting with __ and the normal name is an alias. */
20244 #if defined __stub_$ac_func || defined __stub___$ac_func
20251 return $ac_func ();
20256 rm -f conftest.$ac_objext conftest$ac_exeext
20257 if { (ac_try="$ac_link"
20258 case "(($ac_try" in
20259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20260 *) ac_try_echo=$ac_try;;
20262 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20263 (eval "$ac_link") 2>conftest.er1
20265 grep -v '^ *+' conftest.er1 >conftest.err
20267 cat conftest.err >&5
20268 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20269 (exit $ac_status); } && {
20270 test -z "$ac_c_werror_flag" ||
20271 test ! -s conftest.err
20272 } && test -s conftest$ac_exeext &&
20273 $as_test_x conftest$ac_exeext; then
20274 eval "$as_ac_var=yes"
20276 echo "$as_me: failed program was
:" >&5
20277 sed 's/^/| /' conftest.$ac_ext >&5
20279 eval "$as_ac_var=no
"
20282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20283 conftest$ac_exeext conftest.$ac_ext
20285 ac_res=`eval echo '${'$as_ac_var'}'`
20286 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20287 echo "${ECHO_T}$ac_res" >&6; }
20288 if test `eval echo '${'$as_ac_var'}'` = yes; then
20289 cat >>confdefs.h <<_ACEOF
20290 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
20296 LIBS="$lt_save_LIBS"
20299 ac_cpp='$CPP $CPPFLAGS'
20300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20306 { echo "$as_me:$LINENO: checking
for _ prefix
in compiled symbols
" >&5
20307 echo $ECHO_N "checking
for _ prefix
in compiled symbols...
$ECHO_C" >&6; }
20308 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
20309 echo $ECHO_N "(cached
) $ECHO_C" >&6
20311 ac_cv_sys_symbol_underscore=no
20312 cat > conftest.$ac_ext <<EOF
20313 void nm_test_func(){}
20314 int main(){nm_test_func;return 0;}
20316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20317 (eval $ac_compile) 2>&5
20319 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20320 (exit $ac_status); }; then
20321 # Now try to grab the symbols.
20322 ac_nlist=conftest.nm
20323 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist\"") >&5
20324 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
20326 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20327 (exit $ac_status); } && test -s "$ac_nlist"; then
20328 # See whether the symbols have a leading underscore.
20329 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
20330 ac_cv_sys_symbol_underscore=yes
20332 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
20335 echo "configure
: cannot
find nm_test_func
in $ac_nlist" >&5
20339 echo "configure
: cannot run
$lt_cv_sys_global_symbol_pipe" >&5
20342 echo "configure
: failed program was
:" >&5
20348 { echo "$as_me:$LINENO: result
: $ac_cv_sys_symbol_underscore" >&5
20349 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
20352 if test x"$ac_cv_sys_symbol_underscore" = xyes; then
20353 if test x"$libltdl_cv_func_dlopen" = xyes ||
20354 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
20355 { echo "$as_me:$LINENO: checking whether we have to add an underscore
for dlsym
" >&5
20356 echo $ECHO_N "checking whether we have to add an underscore
for dlsym...
$ECHO_C" >&6; }
20357 if test "${libltdl_cv_need_uscore+set}" = set; then
20358 echo $ECHO_N "(cached
) $ECHO_C" >&6
20360 libltdl_cv_need_uscore=unknown
20362 LIBS="$LIBS $LIBADD_DL"
20363 if test "$cross_compiling" = yes; then :
20364 libltdl_cv_need_uscore=cross
20366 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20367 lt_status=$lt_dlunknown
20368 cat > conftest.$ac_ext <<EOF
20369 #line 20369 "configure
"
20370 #include "confdefs.h
"
20379 # define LT_DLGLOBAL RTLD_GLOBAL
20382 # define LT_DLGLOBAL DL_GLOBAL
20384 # define LT_DLGLOBAL 0
20388 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20389 find out it does not work in some platform. */
20390 #ifndef LT_DLLAZY_OR_NOW
20392 # define LT_DLLAZY_OR_NOW RTLD_LAZY
20395 # define LT_DLLAZY_OR_NOW DL_LAZY
20398 # define LT_DLLAZY_OR_NOW RTLD_NOW
20401 # define LT_DLLAZY_OR_NOW DL_NOW
20403 # define LT_DLLAZY_OR_NOW 0
20411 extern "C
" void exit (int);
20414 void fnord() { int i=42;}
20417 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20418 int status = $lt_dlunknown;
20422 if (dlsym (self,"fnord
")) status = $lt_dlno_uscore;
20423 else if (dlsym( self,"_fnord
")) status = $lt_dlneed_uscore;
20424 /* dlclose (self); */
20430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20431 (eval $ac_link) 2>&5
20433 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20434 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
20435 (./conftest; exit; ) 2>/dev/null
20437 case x$lt_status in
20438 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
20439 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
20440 x$lt_unknown|x*) ;;
20443 # compilation failed
20452 { echo "$as_me:$LINENO: result
: $libltdl_cv_need_uscore" >&5
20453 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
20457 if test x"$libltdl_cv_need_uscore" = xyes; then
20459 cat >>confdefs.h <<\_ACEOF
20460 #define NEED_USCORE 1
20466 { echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen
" >&5
20467 echo $ECHO_N "checking whether deplibs are loaded by dlopen...
$ECHO_C" >&6; }
20468 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
20469 echo $ECHO_N "(cached
) $ECHO_C" >&6
20471 # PORTME does your system automatically load deplibs for dlopen?
20472 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
20473 # For now, we just catch OSes we know something about -- in the
20474 # future, we'll try test this programmatically.
20475 libltdl_cv_sys_dlopen_deplibs=unknown
20477 aix3*|aix4.1.*|aix4.2.*)
20478 # Unknown whether this is true for these versions of AIX, but
20479 # we want this `case' here to explicitly catch those versions.
20480 libltdl_cv_sys_dlopen_deplibs=unknown
20483 libltdl_cv_sys_dlopen_deplibs=yes
20486 # Assuming the user has installed a libdl from somewhere, this is true
20487 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
20488 libltdl_cv_sys_dlopen_deplibs=yes
20491 libltdl_cv_sys_dlopen_deplibs=yes
20494 libltdl_cv_sys_dlopen_deplibs=yes
20497 libltdl_cv_sys_dlopen_deplibs=yes
20499 irix[12345]*|irix6.[01]*)
20500 # Catch all versions of IRIX before 6.2, and indicate that we don't
20501 # know how it worked for any of those versions.
20502 libltdl_cv_sys_dlopen_deplibs=unknown
20505 # The case above catches anything before 6.2, and it's known that
20506 # at 6.2 and later dlopen does load deplibs.
20507 libltdl_cv_sys_dlopen_deplibs=yes
20510 libltdl_cv_sys_dlopen_deplibs=yes
20513 libltdl_cv_sys_dlopen_deplibs=yes
20516 libltdl_cv_sys_dlopen_deplibs=yes
20519 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
20520 # it did *not* use an RPATH in a shared library to find objects the
20521 # library depends on, so we explictly say `no'.
20522 libltdl_cv_sys_dlopen_deplibs=no
20524 osf5.0|osf5.0a|osf5.1)
20525 # dlopen *does* load deplibs and with the right loader patch applied
20526 # it even uses RPATH in a shared library to search for shared objects
20527 # that the library depends on, but there's no easy way to know if that
20528 # patch is installed. Since this is the case, all we can really
20529 # say is unknown -- it depends on the patch being installed. If
20530 # it is, this changes to `yes'. Without it, it would be `no'.
20531 libltdl_cv_sys_dlopen_deplibs=unknown
20534 # the two cases above should catch all versions of osf <= 5.1. Read
20535 # the comments above for what we know about them.
20536 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
20537 # is used to find them so we can finally say `yes'.
20538 libltdl_cv_sys_dlopen_deplibs=yes
20541 libltdl_cv_sys_dlopen_deplibs=yes
20546 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_dlopen_deplibs" >&5
20547 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6; }
20548 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
20550 cat >>confdefs.h <<\_ACEOF
20551 #define LTDL_DLOPEN_DEPLIBS 1
20557 for ac_header in argz.h
20559 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20560 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20561 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20562 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20563 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20564 echo $ECHO_N "(cached
) $ECHO_C" >&6
20566 ac_res=`eval echo '${'$as_ac_Header'}'`
20567 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20568 echo "${ECHO_T}$ac_res" >&6; }
20570 # Is the header compilable?
20571 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
20572 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
20573 cat >conftest.$ac_ext <<_ACEOF
20576 cat confdefs.h >>conftest.$ac_ext
20577 cat >>conftest.$ac_ext <<_ACEOF
20578 /* end confdefs.h. */
20579 $ac_includes_default
20580 #include <$ac_header>
20582 rm -f conftest.$ac_objext
20583 if { (ac_try="$ac_compile"
20584 case "(($ac_try" in
20585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20586 *) ac_try_echo=$ac_try;;
20588 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20589 (eval "$ac_compile") 2>conftest.er1
20591 grep -v '^ *+' conftest.er1 >conftest.err
20593 cat conftest.err >&5
20594 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20595 (exit $ac_status); } && {
20596 test -z "$ac_c_werror_flag" ||
20597 test ! -s conftest.err
20598 } && test -s conftest.$ac_objext; then
20599 ac_header_compiler=yes
20601 echo "$as_me: failed program was
:" >&5
20602 sed 's/^/| /' conftest.$ac_ext >&5
20604 ac_header_compiler=no
20607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20608 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20609 echo "${ECHO_T}$ac_header_compiler" >&6; }
20611 # Is the header present?
20612 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
20613 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
20614 cat >conftest.$ac_ext <<_ACEOF
20617 cat confdefs.h >>conftest.$ac_ext
20618 cat >>conftest.$ac_ext <<_ACEOF
20619 /* end confdefs.h. */
20620 #include <$ac_header>
20622 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20623 case "(($ac_try" in
20624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20625 *) ac_try_echo=$ac_try;;
20627 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20628 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20630 grep -v '^ *+' conftest.er1 >conftest.err
20632 cat conftest.err >&5
20633 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20634 (exit $ac_status); } >/dev/null && {
20635 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20636 test ! -s conftest.err
20638 ac_header_preproc=yes
20640 echo "$as_me: failed program was
:" >&5
20641 sed 's/^/| /' conftest.$ac_ext >&5
20643 ac_header_preproc=no
20646 rm -f conftest.err conftest.$ac_ext
20647 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20648 echo "${ECHO_T}$ac_header_preproc" >&6; }
20650 # So? What about this header?
20651 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20653 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
20654 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20655 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
20656 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
20657 ac_header_preproc=yes
20660 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
20661 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
20662 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
20663 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
20664 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
20665 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
20666 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
20667 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
20668 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
20669 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
20670 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
20671 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
20675 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20676 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20677 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20678 echo $ECHO_N "(cached
) $ECHO_C" >&6
20680 eval "$as_ac_Header=\
$ac_header_preproc"
20682 ac_res=`eval echo '${'$as_ac_Header'}'`
20683 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20684 echo "${ECHO_T}$ac_res" >&6; }
20687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20688 cat >>confdefs.h <<_ACEOF
20689 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20697 { echo "$as_me:$LINENO: checking
for error_t
" >&5
20698 echo $ECHO_N "checking
for error_t...
$ECHO_C" >&6; }
20699 if test "${ac_cv_type_error_t+set}" = set; then
20700 echo $ECHO_N "(cached
) $ECHO_C" >&6
20702 cat >conftest.$ac_ext <<_ACEOF
20705 cat confdefs.h >>conftest.$ac_ext
20706 cat >>conftest.$ac_ext <<_ACEOF
20707 /* end confdefs.h. */
20712 typedef error_t ac__type_new_;
20716 if ((ac__type_new_ *) 0)
20718 if (sizeof (ac__type_new_))
20724 rm -f conftest.$ac_objext
20725 if { (ac_try="$ac_compile"
20726 case "(($ac_try" in
20727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20728 *) ac_try_echo=$ac_try;;
20730 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20731 (eval "$ac_compile") 2>conftest.er1
20733 grep -v '^ *+' conftest.er1 >conftest.err
20735 cat conftest.err >&5
20736 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20737 (exit $ac_status); } && {
20738 test -z "$ac_c_werror_flag" ||
20739 test ! -s conftest.err
20740 } && test -s conftest.$ac_objext; then
20741 ac_cv_type_error_t=yes
20743 echo "$as_me: failed program was
:" >&5
20744 sed 's/^/| /' conftest.$ac_ext >&5
20746 ac_cv_type_error_t=no
20749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20751 { echo "$as_me:$LINENO: result
: $ac_cv_type_error_t" >&5
20752 echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
20753 if test $ac_cv_type_error_t = yes; then
20755 cat >>confdefs.h <<_ACEOF
20756 #define HAVE_ERROR_T 1
20762 cat >>confdefs.h <<\_ACEOF
20763 #define error_t int
20774 for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
20776 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
20777 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
20778 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
20779 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
20780 echo $ECHO_N "(cached
) $ECHO_C" >&6
20782 cat >conftest.$ac_ext <<_ACEOF
20785 cat confdefs.h >>conftest.$ac_ext
20786 cat >>conftest.$ac_ext <<_ACEOF
20787 /* end confdefs.h. */
20788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20790 #define $ac_func innocuous_$ac_func
20792 /* System header to define __stub macros and hopefully few prototypes,
20793 which can conflict with char $ac_func (); below.
20794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20795 <limits.h> exists even on freestanding compilers. */
20798 # include <limits.h>
20800 # include <assert.h>
20805 /* Override any GCC internal prototype to avoid an error.
20806 Use char because int might match the return type of a GCC
20807 builtin and then its argument prototype would still apply. */
20812 /* The GNU C library defines this for functions which it implements
20813 to always fail with ENOSYS. Some functions are actually named
20814 something starting with __ and the normal name is an alias. */
20815 #if defined __stub_$ac_func || defined __stub___$ac_func
20822 return $ac_func ();
20827 rm -f conftest.$ac_objext conftest$ac_exeext
20828 if { (ac_try="$ac_link"
20829 case "(($ac_try" in
20830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20831 *) ac_try_echo=$ac_try;;
20833 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20834 (eval "$ac_link") 2>conftest.er1
20836 grep -v '^ *+' conftest.er1 >conftest.err
20838 cat conftest.err >&5
20839 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20840 (exit $ac_status); } && {
20841 test -z "$ac_c_werror_flag" ||
20842 test ! -s conftest.err
20843 } && test -s conftest$ac_exeext &&
20844 $as_test_x conftest$ac_exeext; then
20845 eval "$as_ac_var=yes"
20847 echo "$as_me: failed program was
:" >&5
20848 sed 's/^/| /' conftest.$ac_ext >&5
20850 eval "$as_ac_var=no
"
20853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20854 conftest$ac_exeext conftest.$ac_ext
20856 ac_res=`eval echo '${'$as_ac_var'}'`
20857 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20858 echo "${ECHO_T}$ac_res" >&6; }
20859 if test `eval echo '${'$as_ac_var'}'` = yes; then
20860 cat >>confdefs.h <<_ACEOF
20861 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
20894 for ac_header in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
20897 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20898 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20899 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20900 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20901 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20902 echo $ECHO_N "(cached
) $ECHO_C" >&6
20904 ac_res=`eval echo '${'$as_ac_Header'}'`
20905 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20906 echo "${ECHO_T}$ac_res" >&6; }
20908 # Is the header compilable?
20909 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
20910 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
20911 cat >conftest.$ac_ext <<_ACEOF
20914 cat confdefs.h >>conftest.$ac_ext
20915 cat >>conftest.$ac_ext <<_ACEOF
20916 /* end confdefs.h. */
20917 $ac_includes_default
20918 #include <$ac_header>
20920 rm -f conftest.$ac_objext
20921 if { (ac_try="$ac_compile"
20922 case "(($ac_try" in
20923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20924 *) ac_try_echo=$ac_try;;
20926 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20927 (eval "$ac_compile") 2>conftest.er1
20929 grep -v '^ *+' conftest.er1 >conftest.err
20931 cat conftest.err >&5
20932 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20933 (exit $ac_status); } && {
20934 test -z "$ac_c_werror_flag" ||
20935 test ! -s conftest.err
20936 } && test -s conftest.$ac_objext; then
20937 ac_header_compiler=yes
20939 echo "$as_me: failed program was
:" >&5
20940 sed 's/^/| /' conftest.$ac_ext >&5
20942 ac_header_compiler=no
20945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20946 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20947 echo "${ECHO_T}$ac_header_compiler" >&6; }
20949 # Is the header present?
20950 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
20951 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
20952 cat >conftest.$ac_ext <<_ACEOF
20955 cat confdefs.h >>conftest.$ac_ext
20956 cat >>conftest.$ac_ext <<_ACEOF
20957 /* end confdefs.h. */
20958 #include <$ac_header>
20960 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20961 case "(($ac_try" in
20962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20963 *) ac_try_echo=$ac_try;;
20965 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20966 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20968 grep -v '^ *+' conftest.er1 >conftest.err
20970 cat conftest.err >&5
20971 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20972 (exit $ac_status); } >/dev/null && {
20973 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20974 test ! -s conftest.err
20976 ac_header_preproc=yes
20978 echo "$as_me: failed program was
:" >&5
20979 sed 's/^/| /' conftest.$ac_ext >&5
20981 ac_header_preproc=no
20984 rm -f conftest.err conftest.$ac_ext
20985 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20986 echo "${ECHO_T}$ac_header_preproc" >&6; }
20988 # So? What about this header?
20989 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20991 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
20992 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20993 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
20994 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
20995 ac_header_preproc=yes
20998 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
20999 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
21000 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
21001 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
21002 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
21003 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
21004 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
21005 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
21006 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
21007 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
21008 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
21009 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
21013 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21014 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21015 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21016 echo $ECHO_N "(cached
) $ECHO_C" >&6
21018 eval "$as_ac_Header=\
$ac_header_preproc"
21020 ac_res=`eval echo '${'$as_ac_Header'}'`
21021 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21022 echo "${ECHO_T}$ac_res" >&6; }
21025 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21026 cat >>confdefs.h <<_ACEOF
21027 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21038 for ac_header in dl.h sys/dl.h dld.h mach-o/dyld.h
21040 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21041 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21042 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21043 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21044 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21045 echo $ECHO_N "(cached
) $ECHO_C" >&6
21047 ac_res=`eval echo '${'$as_ac_Header'}'`
21048 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21049 echo "${ECHO_T}$ac_res" >&6; }
21051 # Is the header compilable?
21052 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
21053 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
21054 cat >conftest.$ac_ext <<_ACEOF
21057 cat confdefs.h >>conftest.$ac_ext
21058 cat >>conftest.$ac_ext <<_ACEOF
21059 /* end confdefs.h. */
21060 $ac_includes_default
21061 #include <$ac_header>
21063 rm -f conftest.$ac_objext
21064 if { (ac_try="$ac_compile"
21065 case "(($ac_try" in
21066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21067 *) ac_try_echo=$ac_try;;
21069 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21070 (eval "$ac_compile") 2>conftest.er1
21072 grep -v '^ *+' conftest.er1 >conftest.err
21074 cat conftest.err >&5
21075 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21076 (exit $ac_status); } && {
21077 test -z "$ac_c_werror_flag" ||
21078 test ! -s conftest.err
21079 } && test -s conftest.$ac_objext; then
21080 ac_header_compiler=yes
21082 echo "$as_me: failed program was
:" >&5
21083 sed 's/^/| /' conftest.$ac_ext >&5
21085 ac_header_compiler=no
21088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21089 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21090 echo "${ECHO_T}$ac_header_compiler" >&6; }
21092 # Is the header present?
21093 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
21094 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
21095 cat >conftest.$ac_ext <<_ACEOF
21098 cat confdefs.h >>conftest.$ac_ext
21099 cat >>conftest.$ac_ext <<_ACEOF
21100 /* end confdefs.h. */
21101 #include <$ac_header>
21103 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21104 case "(($ac_try" in
21105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21106 *) ac_try_echo=$ac_try;;
21108 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21109 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21111 grep -v '^ *+' conftest.er1 >conftest.err
21113 cat conftest.err >&5
21114 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21115 (exit $ac_status); } >/dev/null && {
21116 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21117 test ! -s conftest.err
21119 ac_header_preproc=yes
21121 echo "$as_me: failed program was
:" >&5
21122 sed 's/^/| /' conftest.$ac_ext >&5
21124 ac_header_preproc=no
21127 rm -f conftest.err conftest.$ac_ext
21128 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21129 echo "${ECHO_T}$ac_header_preproc" >&6; }
21131 # So? What about this header?
21132 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21134 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
21135 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21136 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
21137 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
21138 ac_header_preproc=yes
21141 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
21142 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
21143 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
21144 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
21145 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
21146 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
21147 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
21148 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
21149 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
21150 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
21151 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
21152 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
21156 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21157 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21158 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21159 echo $ECHO_N "(cached
) $ECHO_C" >&6
21161 eval "$as_ac_Header=\
$ac_header_preproc"
21163 ac_res=`eval echo '${'$as_ac_Header'}'`
21164 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21165 echo "${ECHO_T}$ac_res" >&6; }
21168 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21169 cat >>confdefs.h <<_ACEOF
21170 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21179 for ac_header in string.h strings.h
21181 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21182 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21183 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21184 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21185 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21186 echo $ECHO_N "(cached
) $ECHO_C" >&6
21188 ac_res=`eval echo '${'$as_ac_Header'}'`
21189 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21190 echo "${ECHO_T}$ac_res" >&6; }
21192 # Is the header compilable?
21193 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
21194 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
21195 cat >conftest.$ac_ext <<_ACEOF
21198 cat confdefs.h >>conftest.$ac_ext
21199 cat >>conftest.$ac_ext <<_ACEOF
21200 /* end confdefs.h. */
21201 $ac_includes_default
21202 #include <$ac_header>
21204 rm -f conftest.$ac_objext
21205 if { (ac_try="$ac_compile"
21206 case "(($ac_try" in
21207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21208 *) ac_try_echo=$ac_try;;
21210 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21211 (eval "$ac_compile") 2>conftest.er1
21213 grep -v '^ *+' conftest.er1 >conftest.err
21215 cat conftest.err >&5
21216 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21217 (exit $ac_status); } && {
21218 test -z "$ac_c_werror_flag" ||
21219 test ! -s conftest.err
21220 } && test -s conftest.$ac_objext; then
21221 ac_header_compiler=yes
21223 echo "$as_me: failed program was
:" >&5
21224 sed 's/^/| /' conftest.$ac_ext >&5
21226 ac_header_compiler=no
21229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21230 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21231 echo "${ECHO_T}$ac_header_compiler" >&6; }
21233 # Is the header present?
21234 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
21235 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
21236 cat >conftest.$ac_ext <<_ACEOF
21239 cat confdefs.h >>conftest.$ac_ext
21240 cat >>conftest.$ac_ext <<_ACEOF
21241 /* end confdefs.h. */
21242 #include <$ac_header>
21244 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21245 case "(($ac_try" in
21246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21247 *) ac_try_echo=$ac_try;;
21249 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21250 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21252 grep -v '^ *+' conftest.er1 >conftest.err
21254 cat conftest.err >&5
21255 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21256 (exit $ac_status); } >/dev/null && {
21257 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21258 test ! -s conftest.err
21260 ac_header_preproc=yes
21262 echo "$as_me: failed program was
:" >&5
21263 sed 's/^/| /' conftest.$ac_ext >&5
21265 ac_header_preproc=no
21268 rm -f conftest.err conftest.$ac_ext
21269 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21270 echo "${ECHO_T}$ac_header_preproc" >&6; }
21272 # So? What about this header?
21273 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21275 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
21276 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21277 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
21278 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
21279 ac_header_preproc=yes
21282 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
21283 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
21284 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
21285 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
21286 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
21287 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
21288 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
21289 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
21290 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
21291 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
21292 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
21293 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
21297 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21298 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21299 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21300 echo $ECHO_N "(cached
) $ECHO_C" >&6
21302 eval "$as_ac_Header=\
$ac_header_preproc"
21304 ac_res=`eval echo '${'$as_ac_Header'}'`
21305 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21306 echo "${ECHO_T}$ac_res" >&6; }
21309 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21310 cat >>confdefs.h <<_ACEOF
21311 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21321 for ac_func in strchr index
21323 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
21324 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
21325 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
21326 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
21327 echo $ECHO_N "(cached
) $ECHO_C" >&6
21329 cat >conftest.$ac_ext <<_ACEOF
21332 cat confdefs.h >>conftest.$ac_ext
21333 cat >>conftest.$ac_ext <<_ACEOF
21334 /* end confdefs.h. */
21335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21337 #define $ac_func innocuous_$ac_func
21339 /* System header to define __stub macros and hopefully few prototypes,
21340 which can conflict with char $ac_func (); below.
21341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21342 <limits.h> exists even on freestanding compilers. */
21345 # include <limits.h>
21347 # include <assert.h>
21352 /* Override any GCC internal prototype to avoid an error.
21353 Use char because int might match the return type of a GCC
21354 builtin and then its argument prototype would still apply. */
21359 /* The GNU C library defines this for functions which it implements
21360 to always fail with ENOSYS. Some functions are actually named
21361 something starting with __ and the normal name is an alias. */
21362 #if defined __stub_$ac_func || defined __stub___$ac_func
21369 return $ac_func ();
21374 rm -f conftest.$ac_objext conftest$ac_exeext
21375 if { (ac_try="$ac_link"
21376 case "(($ac_try" in
21377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21378 *) ac_try_echo=$ac_try;;
21380 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21381 (eval "$ac_link") 2>conftest.er1
21383 grep -v '^ *+' conftest.er1 >conftest.err
21385 cat conftest.err >&5
21386 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21387 (exit $ac_status); } && {
21388 test -z "$ac_c_werror_flag" ||
21389 test ! -s conftest.err
21390 } && test -s conftest$ac_exeext &&
21391 $as_test_x conftest$ac_exeext; then
21392 eval "$as_ac_var=yes"
21394 echo "$as_me: failed program was
:" >&5
21395 sed 's/^/| /' conftest.$ac_ext >&5
21397 eval "$as_ac_var=no
"
21400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21401 conftest$ac_exeext conftest.$ac_ext
21403 ac_res=`eval echo '${'$as_ac_var'}'`
21404 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21405 echo "${ECHO_T}$ac_res" >&6; }
21406 if test `eval echo '${'$as_ac_var'}'` = yes; then
21407 cat >>confdefs.h <<_ACEOF
21408 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
21416 for ac_func in strrchr rindex
21418 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
21419 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
21420 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
21421 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
21422 echo $ECHO_N "(cached
) $ECHO_C" >&6
21424 cat >conftest.$ac_ext <<_ACEOF
21427 cat confdefs.h >>conftest.$ac_ext
21428 cat >>conftest.$ac_ext <<_ACEOF
21429 /* end confdefs.h. */
21430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21432 #define $ac_func innocuous_$ac_func
21434 /* System header to define __stub macros and hopefully few prototypes,
21435 which can conflict with char $ac_func (); below.
21436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21437 <limits.h> exists even on freestanding compilers. */
21440 # include <limits.h>
21442 # include <assert.h>
21447 /* Override any GCC internal prototype to avoid an error.
21448 Use char because int might match the return type of a GCC
21449 builtin and then its argument prototype would still apply. */
21454 /* The GNU C library defines this for functions which it implements
21455 to always fail with ENOSYS. Some functions are actually named
21456 something starting with __ and the normal name is an alias. */
21457 #if defined __stub_$ac_func || defined __stub___$ac_func
21464 return $ac_func ();
21469 rm -f conftest.$ac_objext conftest$ac_exeext
21470 if { (ac_try="$ac_link"
21471 case "(($ac_try" in
21472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21473 *) ac_try_echo=$ac_try;;
21475 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21476 (eval "$ac_link") 2>conftest.er1
21478 grep -v '^ *+' conftest.er1 >conftest.err
21480 cat conftest.err >&5
21481 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21482 (exit $ac_status); } && {
21483 test -z "$ac_c_werror_flag" ||
21484 test ! -s conftest.err
21485 } && test -s conftest$ac_exeext &&
21486 $as_test_x conftest$ac_exeext; then
21487 eval "$as_ac_var=yes"
21489 echo "$as_me: failed program was
:" >&5
21490 sed 's/^/| /' conftest.$ac_ext >&5
21492 eval "$as_ac_var=no
"
21495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21496 conftest$ac_exeext conftest.$ac_ext
21498 ac_res=`eval echo '${'$as_ac_var'}'`
21499 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21500 echo "${ECHO_T}$ac_res" >&6; }
21501 if test `eval echo '${'$as_ac_var'}'` = yes; then
21502 cat >>confdefs.h <<_ACEOF
21503 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
21511 for ac_func in memcpy bcopy
21513 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
21514 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
21515 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
21516 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
21517 echo $ECHO_N "(cached
) $ECHO_C" >&6
21519 cat >conftest.$ac_ext <<_ACEOF
21522 cat confdefs.h >>conftest.$ac_ext
21523 cat >>conftest.$ac_ext <<_ACEOF
21524 /* end confdefs.h. */
21525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21527 #define $ac_func innocuous_$ac_func
21529 /* System header to define __stub macros and hopefully few prototypes,
21530 which can conflict with char $ac_func (); below.
21531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21532 <limits.h> exists even on freestanding compilers. */
21535 # include <limits.h>
21537 # include <assert.h>
21542 /* Override any GCC internal prototype to avoid an error.
21543 Use char because int might match the return type of a GCC
21544 builtin and then its argument prototype would still apply. */
21549 /* The GNU C library defines this for functions which it implements
21550 to always fail with ENOSYS. Some functions are actually named
21551 something starting with __ and the normal name is an alias. */
21552 #if defined __stub_$ac_func || defined __stub___$ac_func
21559 return $ac_func ();
21564 rm -f conftest.$ac_objext conftest$ac_exeext
21565 if { (ac_try="$ac_link"
21566 case "(($ac_try" in
21567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21568 *) ac_try_echo=$ac_try;;
21570 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21571 (eval "$ac_link") 2>conftest.er1
21573 grep -v '^ *+' conftest.er1 >conftest.err
21575 cat conftest.err >&5
21576 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21577 (exit $ac_status); } && {
21578 test -z "$ac_c_werror_flag" ||
21579 test ! -s conftest.err
21580 } && test -s conftest$ac_exeext &&
21581 $as_test_x conftest$ac_exeext; then
21582 eval "$as_ac_var=yes"
21584 echo "$as_me: failed program was
:" >&5
21585 sed 's/^/| /' conftest.$ac_ext >&5
21587 eval "$as_ac_var=no
"
21590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21591 conftest$ac_exeext conftest.$ac_ext
21593 ac_res=`eval echo '${'$as_ac_var'}'`
21594 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21595 echo "${ECHO_T}$ac_res" >&6; }
21596 if test `eval echo '${'$as_ac_var'}'` = yes; then
21597 cat >>confdefs.h <<_ACEOF
21598 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
21606 for ac_func in memmove strcmp
21608 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
21609 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
21610 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
21611 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
21612 echo $ECHO_N "(cached
) $ECHO_C" >&6
21614 cat >conftest.$ac_ext <<_ACEOF
21617 cat confdefs.h >>conftest.$ac_ext
21618 cat >>conftest.$ac_ext <<_ACEOF
21619 /* end confdefs.h. */
21620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21622 #define $ac_func innocuous_$ac_func
21624 /* System header to define __stub macros and hopefully few prototypes,
21625 which can conflict with char $ac_func (); below.
21626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21627 <limits.h> exists even on freestanding compilers. */
21630 # include <limits.h>
21632 # include <assert.h>
21637 /* Override any GCC internal prototype to avoid an error.
21638 Use char because int might match the return type of a GCC
21639 builtin and then its argument prototype would still apply. */
21644 /* The GNU C library defines this for functions which it implements
21645 to always fail with ENOSYS. Some functions are actually named
21646 something starting with __ and the normal name is an alias. */
21647 #if defined __stub_$ac_func || defined __stub___$ac_func
21654 return $ac_func ();
21659 rm -f conftest.$ac_objext conftest$ac_exeext
21660 if { (ac_try="$ac_link"
21661 case "(($ac_try" in
21662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21663 *) ac_try_echo=$ac_try;;
21665 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21666 (eval "$ac_link") 2>conftest.er1
21668 grep -v '^ *+' conftest.er1 >conftest.err
21670 cat conftest.err >&5
21671 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21672 (exit $ac_status); } && {
21673 test -z "$ac_c_werror_flag" ||
21674 test ! -s conftest.err
21675 } && test -s conftest$ac_exeext &&
21676 $as_test_x conftest$ac_exeext; then
21677 eval "$as_ac_var=yes"
21679 echo "$as_me: failed program was
:" >&5
21680 sed 's/^/| /' conftest.$ac_ext >&5
21682 eval "$as_ac_var=no
"
21685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21686 conftest$ac_exeext conftest.$ac_ext
21688 ac_res=`eval echo '${'$as_ac_var'}'`
21689 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21690 echo "${ECHO_T}$ac_res" >&6; }
21691 if test `eval echo '${'$as_ac_var'}'` = yes; then
21692 cat >>confdefs.h <<_ACEOF
21693 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
21702 for ac_func in closedir opendir readdir
21704 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
21705 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
21706 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
21707 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
21708 echo $ECHO_N "(cached
) $ECHO_C" >&6
21710 cat >conftest.$ac_ext <<_ACEOF
21713 cat confdefs.h >>conftest.$ac_ext
21714 cat >>conftest.$ac_ext <<_ACEOF
21715 /* end confdefs.h. */
21716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21718 #define $ac_func innocuous_$ac_func
21720 /* System header to define __stub macros and hopefully few prototypes,
21721 which can conflict with char $ac_func (); below.
21722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21723 <limits.h> exists even on freestanding compilers. */
21726 # include <limits.h>
21728 # include <assert.h>
21733 /* Override any GCC internal prototype to avoid an error.
21734 Use char because int might match the return type of a GCC
21735 builtin and then its argument prototype would still apply. */
21740 /* The GNU C library defines this for functions which it implements
21741 to always fail with ENOSYS. Some functions are actually named
21742 something starting with __ and the normal name is an alias. */
21743 #if defined __stub_$ac_func || defined __stub___$ac_func
21750 return $ac_func ();
21755 rm -f conftest.$ac_objext conftest$ac_exeext
21756 if { (ac_try="$ac_link"
21757 case "(($ac_try" in
21758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21759 *) ac_try_echo=$ac_try;;
21761 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21762 (eval "$ac_link") 2>conftest.er1
21764 grep -v '^ *+' conftest.er1 >conftest.err
21766 cat conftest.err >&5
21767 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21768 (exit $ac_status); } && {
21769 test -z "$ac_c_werror_flag" ||
21770 test ! -s conftest.err
21771 } && test -s conftest$ac_exeext &&
21772 $as_test_x conftest$ac_exeext; then
21773 eval "$as_ac_var=yes"
21775 echo "$as_me: failed program was
:" >&5
21776 sed 's/^/| /' conftest.$ac_ext >&5
21778 eval "$as_ac_var=no
"
21781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21782 conftest$ac_exeext conftest.$ac_ext
21784 ac_res=`eval echo '${'$as_ac_var'}'`
21785 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21786 echo "${ECHO_T}$ac_res" >&6; }
21787 if test `eval echo '${'$as_ac_var'}'` = yes; then
21788 cat >>confdefs.h <<_ACEOF
21789 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
21797 { echo "$as_me:$LINENO: checking
for X
" >&5
21798 echo $ECHO_N "checking
for X...
$ECHO_C" >&6; }
21801 # Check whether --with-x was given.
21802 if test "${with_x+set}" = set; then
21806 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21807 if test "x
$with_x" = xno; then
21808 # The user explicitly disabled X.
21811 case $x_includes,$x_libraries in #(
21812 *\'*) { { echo "$as_me:$LINENO: error
: Cannot use X directory names containing
'" >&5
21813 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
21814 { (exit 1); exit 1; }; };; #(
21815 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
21816 echo $ECHO_N "(cached
) $ECHO_C" >&6
21818 # One or both of the vars are not set, and there is no cached value.
21819 ac_x_includes=no ac_x_libraries=no
21820 rm -f -r conftest.dir
21821 if mkdir conftest.dir; then
21823 cat >Imakefile <<'_ACEOF'
21825 @echo incroot='${INCROOT}'
21827 @echo usrlibdir='${USRLIBDIR}'
21829 @echo libdir='${LIBDIR}'
21831 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
21832 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
21833 for ac_var in incroot usrlibdir libdir; do
21834 eval "ac_im_
$ac_var=\
`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
21836 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21837 for ac_extension in a so sl; do
21838 if test ! -f "$ac_im_usrlibdir/libX11.
$ac_extension" &&
21839 test -f "$ac_im_libdir/libX11.
$ac_extension"; then
21840 ac_im_usrlibdir=$ac_im_libdir; break
21843 # Screen out bogus values from the imake configuration. They are
21844 # bogus both because they are the default anyway, and because
21845 # using them would break gcc on systems where it needs fixed includes.
21846 case $ac_im_incroot in
21847 /usr/include) ac_x_includes= ;;
21848 *) test -f "$ac_im_incroot/X11
/Xos.h
" && ac_x_includes=$ac_im_incroot;;
21850 case $ac_im_usrlibdir in
21851 /usr/lib | /lib) ;;
21852 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21856 rm -f -r conftest.dir
21859 # Standard set of common directories for X headers.
21860 # Check X11 before X11Rn because it is often a symlink to the current release.
21872 /usr/local/X11/include
21873 /usr/local/X11R6/include
21874 /usr/local/X11R5/include
21875 /usr/local/X11R4/include
21877 /usr/local/include/X11
21878 /usr/local/include/X11R6
21879 /usr/local/include/X11R5
21880 /usr/local/include/X11R4
21884 /usr/XFree86/include/X11
21888 /usr/unsupported/include
21889 /usr/athena/include
21890 /usr/local/x11r5/include
21891 /usr/lpp/Xamples/include
21893 /usr/openwin/include
21894 /usr/openwin/share/include'
21896 if test "$ac_x_includes" = no; then
21897 # Guess where to find include files, by looking for Xlib.h.
21898 # First, try using that file with no special directory specified.
21899 cat >conftest.$ac_ext <<_ACEOF
21902 cat confdefs.h >>conftest.$ac_ext
21903 cat >>conftest.$ac_ext <<_ACEOF
21904 /* end confdefs.h. */
21905 #include <X11/Xlib.h>
21907 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21908 case "(($ac_try" in
21909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21910 *) ac_try_echo=$ac_try;;
21912 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21913 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21915 grep -v '^ *+' conftest.er1 >conftest.err
21917 cat conftest.err >&5
21918 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21919 (exit $ac_status); } >/dev/null && {
21920 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21921 test ! -s conftest.err
21923 # We can compile using X headers with no special include directory.
21926 echo "$as_me: failed program was
:" >&5
21927 sed 's/^/| /' conftest.$ac_ext >&5
21929 for ac_dir in $ac_x_header_dirs; do
21930 if test -r "$ac_dir/X11
/Xlib.h
"; then
21931 ac_x_includes=$ac_dir
21937 rm -f conftest.err conftest.$ac_ext
21938 fi # $ac_x_includes = no
21940 if test "$ac_x_libraries" = no; then
21941 # Check for the libraries.
21942 # See if we find them without any special options.
21943 # Don't add to $LIBS permanently.
21946 cat >conftest.$ac_ext <<_ACEOF
21949 cat confdefs.h >>conftest.$ac_ext
21950 cat >>conftest.$ac_ext <<_ACEOF
21951 /* end confdefs.h. */
21952 #include <X11/Xlib.h>
21961 rm -f conftest.$ac_objext conftest$ac_exeext
21962 if { (ac_try="$ac_link"
21963 case "(($ac_try" in
21964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21965 *) ac_try_echo=$ac_try;;
21967 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21968 (eval "$ac_link") 2>conftest.er1
21970 grep -v '^ *+' conftest.er1 >conftest.err
21972 cat conftest.err >&5
21973 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21974 (exit $ac_status); } && {
21975 test -z "$ac_c_werror_flag" ||
21976 test ! -s conftest.err
21977 } && test -s conftest$ac_exeext &&
21978 $as_test_x conftest$ac_exeext; then
21980 # We can link X programs with no special library path.
21983 echo "$as_me: failed program was
:" >&5
21984 sed 's/^/| /' conftest.$ac_ext >&5
21987 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21989 # Don't even attempt the hair of trying to link an X program!
21990 for ac_extension in a so sl; do
21991 if test -r "$ac_dir/libX11.
$ac_extension"; then
21992 ac_x_libraries=$ac_dir
21999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22000 conftest$ac_exeext conftest.$ac_ext
22001 fi # $ac_x_libraries = no
22003 case $ac_x_includes,$ac_x_libraries in #(
22004 no,* | *,no | *\'*)
22005 # Didn't find X, or a directory has "'" in its name.
22006 ac_cv_have_x="have_x=no";; #(
22008 # Record where we found X for the cache.
22009 ac_cv_have_x="have_x=yes\
22010 ac_x_includes='$ac_x_includes'\
22011 ac_x_libraries='$ac_x_libraries'"
22017 eval "$ac_cv_have_x"
22020 if test "$have_x" != yes; then
22021 { echo "$as_me:$LINENO: result: $have_x" >&5
22022 echo "${ECHO_T}$have_x" >&6; }
22025 # If each of the values was on the command line, it overrides each guess.
22026 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
22027 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
22028 # Update the cache value to reflect the command line values.
22029 ac_cv_have_x="have_x=yes\
22030 ac_x_includes='$x_includes'\
22031 ac_x_libraries='$x_libraries'"
22032 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
22033 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
22036 if test "$no_x" = yes; then
22037 # Not all programs may use this symbol, but it does not hurt to define it.
22039 cat >>confdefs.h <<\_ACEOF
22040 #define X_DISPLAY_MISSING 1
22043 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22045 if test -n "$x_includes"; then
22046 X_CFLAGS="$X_CFLAGS -I$x_includes"
22049 # It would also be nice to do this for all -L options, not just this one.
22050 if test -n "$x_libraries"; then
22051 X_LIBS="$X_LIBS -L$x_libraries"
22052 # For Solaris; some versions of Sun CC require a space after -R and
22053 # others require no space. Words are not sufficient . . . .
22054 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22055 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
22056 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22057 ac_xsave_c_werror_flag=$ac_c_werror_flag
22058 ac_c_werror_flag=yes
22059 cat >conftest.$ac_ext <<_ACEOF
22062 cat confdefs.h >>conftest.$ac_ext
22063 cat >>conftest.$ac_ext <<_ACEOF
22064 /* end confdefs.h. */
22074 rm -f conftest.$ac_objext conftest$ac_exeext
22075 if { (ac_try="$ac_link"
22076 case "(($ac_try" in
22077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22078 *) ac_try_echo=$ac_try;;
22080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22081 (eval "$ac_link") 2>conftest.er1
22083 grep -v '^
*+' conftest.er1 >conftest.err
22085 cat conftest.err >&5
22086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22087 (exit $ac_status); } && {
22088 test -z "$ac_c_werror_flag" ||
22089 test ! -s conftest.err
22090 } && test -s conftest$ac_exeext &&
22091 $as_test_x conftest$ac_exeext; then
22092 { echo "$as_me:$LINENO: result: no" >&5
22093 echo "${ECHO_T}no" >&6; }
22094 X_LIBS="$X_LIBS -R$x_libraries"
22096 echo "$as_me: failed program was:" >&5
22097 sed 's
/^
/|
/' conftest.$ac_ext >&5
22099 LIBS="$ac_xsave_LIBS -R $x_libraries"
22100 cat >conftest.$ac_ext <<_ACEOF
22103 cat confdefs.h >>conftest.$ac_ext
22104 cat >>conftest.$ac_ext <<_ACEOF
22105 /* end confdefs.h. */
22115 rm -f conftest.$ac_objext conftest$ac_exeext
22116 if { (ac_try="$ac_link"
22117 case "(($ac_try" in
22118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22119 *) ac_try_echo=$ac_try;;
22121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22122 (eval "$ac_link") 2>conftest.er1
22124 grep -v '^
*+' conftest.er1 >conftest.err
22126 cat conftest.err >&5
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); } && {
22129 test -z "$ac_c_werror_flag" ||
22130 test ! -s conftest.err
22131 } && test -s conftest$ac_exeext &&
22132 $as_test_x conftest$ac_exeext; then
22133 { echo "$as_me:$LINENO: result: yes" >&5
22134 echo "${ECHO_T}yes" >&6; }
22135 X_LIBS="$X_LIBS -R $x_libraries"
22137 echo "$as_me: failed program was:" >&5
22138 sed 's
/^
/|
/' conftest.$ac_ext >&5
22140 { echo "$as_me:$LINENO: result: neither works" >&5
22141 echo "${ECHO_T}neither works" >&6; }
22144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22145 conftest$ac_exeext conftest.$ac_ext
22148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22149 conftest$ac_exeext conftest.$ac_ext
22150 ac_c_werror_flag=$ac_xsave_c_werror_flag
22151 LIBS=$ac_xsave_LIBS
22154 # Check for system-dependent libraries X programs must link with.
22155 # Do this before checking for the system-independent R6 libraries
22156 # (-lICE), since we may need -lsocket or whatever for X linking.
22158 if test "$ISC" = yes; then
22159 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22161 # Martyn Johnson says this is needed for Ultrix, if the X
22162 # libraries were built with DECnet support. And Karl Berry says
22163 # the Alpha needs dnet_stub (dnet does not exist).
22164 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22165 cat >conftest.$ac_ext <<_ACEOF
22168 cat confdefs.h >>conftest.$ac_ext
22169 cat >>conftest.$ac_ext <<_ACEOF
22170 /* end confdefs.h. */
22172 /* Override any GCC internal prototype to avoid an error.
22173 Use char because int might match the return type of a GCC
22174 builtin and then its argument prototype would still apply. */
22178 char XOpenDisplay ();
22182 return XOpenDisplay ();
22187 rm -f conftest.$ac_objext conftest$ac_exeext
22188 if { (ac_try="$ac_link"
22189 case "(($ac_try" in
22190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22191 *) ac_try_echo=$ac_try;;
22193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22194 (eval "$ac_link") 2>conftest.er1
22196 grep -v '^
*+' conftest.er1 >conftest.err
22198 cat conftest.err >&5
22199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22200 (exit $ac_status); } && {
22201 test -z "$ac_c_werror_flag" ||
22202 test ! -s conftest.err
22203 } && test -s conftest$ac_exeext &&
22204 $as_test_x conftest$ac_exeext; then
22207 echo "$as_me: failed program was:" >&5
22208 sed 's
/^
/|
/' conftest.$ac_ext >&5
22210 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22211 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
22212 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22213 echo $ECHO_N "(cached) $ECHO_C" >&6
22215 ac_check_lib_save_LIBS=$LIBS
22216 LIBS="-ldnet $LIBS"
22217 cat >conftest.$ac_ext <<_ACEOF
22220 cat confdefs.h >>conftest.$ac_ext
22221 cat >>conftest.$ac_ext <<_ACEOF
22222 /* end confdefs.h. */
22224 /* Override any GCC internal prototype to avoid an error.
22225 Use char because int might match the return type of a GCC
22226 builtin and then its argument prototype would still apply. */
22234 return dnet_ntoa ();
22239 rm -f conftest.$ac_objext conftest$ac_exeext
22240 if { (ac_try="$ac_link"
22241 case "(($ac_try" in
22242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22243 *) ac_try_echo=$ac_try;;
22245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22246 (eval "$ac_link") 2>conftest.er1
22248 grep -v '^
*+' conftest.er1 >conftest.err
22250 cat conftest.err >&5
22251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22252 (exit $ac_status); } && {
22253 test -z "$ac_c_werror_flag" ||
22254 test ! -s conftest.err
22255 } && test -s conftest$ac_exeext &&
22256 $as_test_x conftest$ac_exeext; then
22257 ac_cv_lib_dnet_dnet_ntoa=yes
22259 echo "$as_me: failed program was:" >&5
22260 sed 's
/^
/|
/' conftest.$ac_ext >&5
22262 ac_cv_lib_dnet_dnet_ntoa=no
22265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22266 conftest$ac_exeext conftest.$ac_ext
22267 LIBS=$ac_check_lib_save_LIBS
22269 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22270 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
22271 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22272 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22275 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22276 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22277 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
22278 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22279 echo $ECHO_N "(cached) $ECHO_C" >&6
22281 ac_check_lib_save_LIBS=$LIBS
22282 LIBS="-ldnet_stub $LIBS"
22283 cat >conftest.$ac_ext <<_ACEOF
22286 cat confdefs.h >>conftest.$ac_ext
22287 cat >>conftest.$ac_ext <<_ACEOF
22288 /* end confdefs.h. */
22290 /* Override any GCC internal prototype to avoid an error.
22291 Use char because int might match the return type of a GCC
22292 builtin and then its argument prototype would still apply. */
22300 return dnet_ntoa ();
22305 rm -f conftest.$ac_objext conftest$ac_exeext
22306 if { (ac_try="$ac_link"
22307 case "(($ac_try" in
22308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22309 *) ac_try_echo=$ac_try;;
22311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22312 (eval "$ac_link") 2>conftest.er1
22314 grep -v '^
*+' conftest.er1 >conftest.err
22316 cat conftest.err >&5
22317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318 (exit $ac_status); } && {
22319 test -z "$ac_c_werror_flag" ||
22320 test ! -s conftest.err
22321 } && test -s conftest$ac_exeext &&
22322 $as_test_x conftest$ac_exeext; then
22323 ac_cv_lib_dnet_stub_dnet_ntoa=yes
22325 echo "$as_me: failed program was:" >&5
22326 sed 's
/^
/|
/' conftest.$ac_ext >&5
22328 ac_cv_lib_dnet_stub_dnet_ntoa=no
22331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22332 conftest$ac_exeext conftest.$ac_ext
22333 LIBS=$ac_check_lib_save_LIBS
22335 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22336 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
22337 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22338 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22345 conftest$ac_exeext conftest.$ac_ext
22346 LIBS="$ac_xsave_LIBS"
22348 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22349 # to get the SysV transport functions.
22350 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22352 # The nsl library prevents programs from opening the X display
22353 # on Irix 5.2, according to T.E. Dickey.
22354 # The functions gethostbyname, getservbyname, and inet_addr are
22355 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22356 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
22357 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
22358 if test "${ac_cv_func_gethostbyname+set}" = set; then
22359 echo $ECHO_N "(cached) $ECHO_C" >&6
22361 cat >conftest.$ac_ext <<_ACEOF
22364 cat confdefs.h >>conftest.$ac_ext
22365 cat >>conftest.$ac_ext <<_ACEOF
22366 /* end confdefs.h. */
22367 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
22368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22369 #define gethostbyname innocuous_gethostbyname
22371 /* System header to define __stub macros and hopefully few prototypes,
22372 which can conflict with char gethostbyname (); below.
22373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22374 <limits.h> exists even on freestanding compilers. */
22377 # include <limits.h>
22379 # include <assert.h>
22382 #undef gethostbyname
22384 /* Override any GCC internal prototype to avoid an error.
22385 Use char because int might match the return type of a GCC
22386 builtin and then its argument prototype would still apply. */
22390 char gethostbyname ();
22391 /* The GNU C library defines this for functions which it implements
22392 to always fail with ENOSYS. Some functions are actually named
22393 something starting with __ and the normal name is an alias. */
22394 #if defined __stub_gethostbyname || defined __stub___gethostbyname
22401 return gethostbyname ();
22406 rm -f conftest.$ac_objext conftest$ac_exeext
22407 if { (ac_try="$ac_link"
22408 case "(($ac_try" in
22409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22410 *) ac_try_echo=$ac_try;;
22412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22413 (eval "$ac_link") 2>conftest.er1
22415 grep -v '^
*+' conftest.er1 >conftest.err
22417 cat conftest.err >&5
22418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22419 (exit $ac_status); } && {
22420 test -z "$ac_c_werror_flag" ||
22421 test ! -s conftest.err
22422 } && test -s conftest$ac_exeext &&
22423 $as_test_x conftest$ac_exeext; then
22424 ac_cv_func_gethostbyname=yes
22426 echo "$as_me: failed program was:" >&5
22427 sed 's
/^
/|
/' conftest.$ac_ext >&5
22429 ac_cv_func_gethostbyname=no
22432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22433 conftest$ac_exeext conftest.$ac_ext
22435 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22436 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
22438 if test $ac_cv_func_gethostbyname = no; then
22439 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22440 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
22441 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22442 echo $ECHO_N "(cached) $ECHO_C" >&6
22444 ac_check_lib_save_LIBS=$LIBS
22446 cat >conftest.$ac_ext <<_ACEOF
22449 cat confdefs.h >>conftest.$ac_ext
22450 cat >>conftest.$ac_ext <<_ACEOF
22451 /* end confdefs.h. */
22453 /* Override any GCC internal prototype to avoid an error.
22454 Use char because int might match the return type of a GCC
22455 builtin and then its argument prototype would still apply. */
22459 char gethostbyname ();
22463 return gethostbyname ();
22468 rm -f conftest.$ac_objext conftest$ac_exeext
22469 if { (ac_try="$ac_link"
22470 case "(($ac_try" in
22471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22472 *) ac_try_echo=$ac_try;;
22474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22475 (eval "$ac_link") 2>conftest.er1
22477 grep -v '^
*+' conftest.er1 >conftest.err
22479 cat conftest.err >&5
22480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22481 (exit $ac_status); } && {
22482 test -z "$ac_c_werror_flag" ||
22483 test ! -s conftest.err
22484 } && test -s conftest$ac_exeext &&
22485 $as_test_x conftest$ac_exeext; then
22486 ac_cv_lib_nsl_gethostbyname=yes
22488 echo "$as_me: failed program was:" >&5
22489 sed 's
/^
/|
/' conftest.$ac_ext >&5
22491 ac_cv_lib_nsl_gethostbyname=no
22494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22495 conftest$ac_exeext conftest.$ac_ext
22496 LIBS=$ac_check_lib_save_LIBS
22498 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22499 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
22500 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22501 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22504 if test $ac_cv_lib_nsl_gethostbyname = no; then
22505 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22506 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
22507 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22508 echo $ECHO_N "(cached) $ECHO_C" >&6
22510 ac_check_lib_save_LIBS=$LIBS
22512 cat >conftest.$ac_ext <<_ACEOF
22515 cat confdefs.h >>conftest.$ac_ext
22516 cat >>conftest.$ac_ext <<_ACEOF
22517 /* end confdefs.h. */
22519 /* Override any GCC internal prototype to avoid an error.
22520 Use char because int might match the return type of a GCC
22521 builtin and then its argument prototype would still apply. */
22525 char gethostbyname ();
22529 return gethostbyname ();
22534 rm -f conftest.$ac_objext conftest$ac_exeext
22535 if { (ac_try="$ac_link"
22536 case "(($ac_try" in
22537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22538 *) ac_try_echo=$ac_try;;
22540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22541 (eval "$ac_link") 2>conftest.er1
22543 grep -v '^
*+' conftest.er1 >conftest.err
22545 cat conftest.err >&5
22546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22547 (exit $ac_status); } && {
22548 test -z "$ac_c_werror_flag" ||
22549 test ! -s conftest.err
22550 } && test -s conftest$ac_exeext &&
22551 $as_test_x conftest$ac_exeext; then
22552 ac_cv_lib_bsd_gethostbyname=yes
22554 echo "$as_me: failed program was:" >&5
22555 sed 's
/^
/|
/' conftest.$ac_ext >&5
22557 ac_cv_lib_bsd_gethostbyname=no
22560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22561 conftest$ac_exeext conftest.$ac_ext
22562 LIBS=$ac_check_lib_save_LIBS
22564 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22565 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
22566 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22567 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22573 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22574 # socket/setsockopt and other routines are undefined under SCO ODT
22575 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22576 # on later versions), says Simon Leinen: it contains gethostby*
22577 # variants that don't use the name server
(or something
).
-lsocket
22578 # must be given before -lnsl if both are needed. We assume that
22579 # if connect needs -lnsl, so does gethostbyname.
22580 { echo "$as_me:$LINENO: checking for connect" >&5
22581 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
22582 if test "${ac_cv_func_connect+set}" = set; then
22583 echo $ECHO_N "(cached) $ECHO_C" >&6
22585 cat >conftest.
$ac_ext <<_ACEOF
22588 cat confdefs.h
>>conftest.
$ac_ext
22589 cat >>conftest.
$ac_ext <<_ACEOF
22590 /* end confdefs.h. */
22591 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
22592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22593 #define connect innocuous_connect
22595 /* System header to define __stub macros and hopefully few prototypes,
22596 which can conflict with char connect (); below.
22597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22598 <limits.h> exists even on freestanding compilers. */
22601 # include <limits.h>
22603 # include <assert.h>
22608 /* Override any GCC internal prototype to avoid an error.
22609 Use char because int might match the return type of a GCC
22610 builtin and then its argument prototype would still apply. */
22615 /* The GNU C library defines this for functions which it implements
22616 to always fail with ENOSYS. Some functions are actually named
22617 something starting with __ and the normal name is an alias. */
22618 #if defined __stub_connect || defined __stub___connect
22630 rm -f conftest.
$ac_objext conftest
$ac_exeext
22631 if { (ac_try
="$ac_link"
22632 case "(($ac_try" in
22633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22634 *) ac_try_echo=$ac_try;;
22636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22637 (eval "$ac_link") 2>conftest.er1
22639 grep -v '^ *+' conftest.er1 >conftest.err
22641 cat conftest.err >&5
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); } && {
22644 test -z "$ac_c_werror_flag" ||
22645 test ! -s conftest.err
22646 } && test -s conftest$ac_exeext &&
22647 $as_test_x conftest$ac_exeext; then
22648 ac_cv_func_connect=yes
22650 echo "$as_me: failed program was:" >&5
22651 sed 's/^/| /' conftest.$ac_ext >&5
22653 ac_cv_func_connect=no
22656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22657 conftest$ac_exeext conftest.$ac_ext
22659 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22660 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
22662 if test $ac_cv_func_connect = no; then
22663 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22664 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
22665 if test "${ac_cv_lib_socket_connect+set}" = set; then
22666 echo $ECHO_N "(cached) $ECHO_C" >&6
22668 ac_check_lib_save_LIBS=$LIBS
22669 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22670 cat >conftest.$ac_ext <<_ACEOF
22673 cat confdefs.h >>conftest.$ac_ext
22674 cat >>conftest.$ac_ext <<_ACEOF
22675 /* end confdefs.h. */
22677 /* Override any GCC internal prototype to avoid an error.
22678 Use char because int might match the return type of a GCC
22679 builtin and then its argument prototype would still apply. */
22692 rm -f conftest.$ac_objext conftest$ac_exeext
22693 if { (ac_try="$ac_link"
22694 case "(($ac_try" in
22695 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22696 *) ac_try_echo
=$ac_try;;
22698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22699 (eval "$ac_link") 2>conftest.er1
22701 grep -v '^ *+' conftest.er1
>conftest.err
22703 cat conftest.err
>&5
22704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705 (exit $ac_status); } && {
22706 test -z "$ac_c_werror_flag" ||
22707 test ! -s conftest.err
22708 } && test -s conftest
$ac_exeext &&
22709 $as_test_x conftest
$ac_exeext; then
22710 ac_cv_lib_socket_connect
=yes
22712 echo "$as_me: failed program was:" >&5
22713 sed 's/^/| /' conftest.
$ac_ext >&5
22715 ac_cv_lib_socket_connect
=no
22718 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22719 conftest
$ac_exeext conftest.
$ac_ext
22720 LIBS
=$ac_check_lib_save_LIBS
22722 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22723 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
22724 if test $ac_cv_lib_socket_connect = yes; then
22725 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
22730 # Guillermo Gomez says -lposix is necessary on A/UX.
22731 { echo "$as_me:$LINENO: checking for remove" >&5
22732 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
22733 if test "${ac_cv_func_remove+set}" = set; then
22734 echo $ECHO_N "(cached) $ECHO_C" >&6
22736 cat >conftest.
$ac_ext <<_ACEOF
22739 cat confdefs.h
>>conftest.
$ac_ext
22740 cat >>conftest.
$ac_ext <<_ACEOF
22741 /* end confdefs.h. */
22742 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
22743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22744 #define remove innocuous_remove
22746 /* System header to define __stub macros and hopefully few prototypes,
22747 which can conflict with char remove (); below.
22748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22749 <limits.h> exists even on freestanding compilers. */
22752 # include <limits.h>
22754 # include <assert.h>
22759 /* Override any GCC internal prototype to avoid an error.
22760 Use char because int might match the return type of a GCC
22761 builtin and then its argument prototype would still apply. */
22766 /* The GNU C library defines this for functions which it implements
22767 to always fail with ENOSYS. Some functions are actually named
22768 something starting with __ and the normal name is an alias. */
22769 #if defined __stub_remove || defined __stub___remove
22781 rm -f conftest.
$ac_objext conftest
$ac_exeext
22782 if { (ac_try
="$ac_link"
22783 case "(($ac_try" in
22784 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22785 *) ac_try_echo=$ac_try;;
22787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22788 (eval "$ac_link") 2>conftest.er1
22790 grep -v '^ *+' conftest.er1 >conftest.err
22792 cat conftest.err >&5
22793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794 (exit $ac_status); } && {
22795 test -z "$ac_c_werror_flag" ||
22796 test ! -s conftest.err
22797 } && test -s conftest$ac_exeext &&
22798 $as_test_x conftest$ac_exeext; then
22799 ac_cv_func_remove=yes
22801 echo "$as_me: failed program was:" >&5
22802 sed 's/^/| /' conftest.$ac_ext >&5
22804 ac_cv_func_remove=no
22807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22808 conftest$ac_exeext conftest.$ac_ext
22810 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22811 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
22813 if test $ac_cv_func_remove = no; then
22814 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22815 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
22816 if test "${ac_cv_lib_posix_remove+set}" = set; then
22817 echo $ECHO_N "(cached) $ECHO_C" >&6
22819 ac_check_lib_save_LIBS=$LIBS
22820 LIBS="-lposix $LIBS"
22821 cat >conftest.$ac_ext <<_ACEOF
22824 cat confdefs.h >>conftest.$ac_ext
22825 cat >>conftest.$ac_ext <<_ACEOF
22826 /* end confdefs.h. */
22828 /* Override any GCC internal prototype to avoid an error.
22829 Use char because int might match the return type of a GCC
22830 builtin and then its argument prototype would still apply. */
22843 rm -f conftest.$ac_objext conftest$ac_exeext
22844 if { (ac_try="$ac_link"
22845 case "(($ac_try" in
22846 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22847 *) ac_try_echo
=$ac_try;;
22849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22850 (eval "$ac_link") 2>conftest.er1
22852 grep -v '^ *+' conftest.er1
>conftest.err
22854 cat conftest.err
>&5
22855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22856 (exit $ac_status); } && {
22857 test -z "$ac_c_werror_flag" ||
22858 test ! -s conftest.err
22859 } && test -s conftest
$ac_exeext &&
22860 $as_test_x conftest
$ac_exeext; then
22861 ac_cv_lib_posix_remove
=yes
22863 echo "$as_me: failed program was:" >&5
22864 sed 's/^/| /' conftest.
$ac_ext >&5
22866 ac_cv_lib_posix_remove
=no
22869 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22870 conftest
$ac_exeext conftest.
$ac_ext
22871 LIBS
=$ac_check_lib_save_LIBS
22873 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22874 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
22875 if test $ac_cv_lib_posix_remove = yes; then
22876 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
22881 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22882 { echo "$as_me:$LINENO: checking for shmat" >&5
22883 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
22884 if test "${ac_cv_func_shmat+set}" = set; then
22885 echo $ECHO_N "(cached) $ECHO_C" >&6
22887 cat >conftest.
$ac_ext <<_ACEOF
22890 cat confdefs.h
>>conftest.
$ac_ext
22891 cat >>conftest.
$ac_ext <<_ACEOF
22892 /* end confdefs.h. */
22893 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
22894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22895 #define shmat innocuous_shmat
22897 /* System header to define __stub macros and hopefully few prototypes,
22898 which can conflict with char shmat (); below.
22899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22900 <limits.h> exists even on freestanding compilers. */
22903 # include <limits.h>
22905 # include <assert.h>
22910 /* Override any GCC internal prototype to avoid an error.
22911 Use char because int might match the return type of a GCC
22912 builtin and then its argument prototype would still apply. */
22917 /* The GNU C library defines this for functions which it implements
22918 to always fail with ENOSYS. Some functions are actually named
22919 something starting with __ and the normal name is an alias. */
22920 #if defined __stub_shmat || defined __stub___shmat
22932 rm -f conftest.
$ac_objext conftest
$ac_exeext
22933 if { (ac_try
="$ac_link"
22934 case "(($ac_try" in
22935 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22936 *) ac_try_echo=$ac_try;;
22938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22939 (eval "$ac_link") 2>conftest.er1
22941 grep -v '^ *+' conftest.er1 >conftest.err
22943 cat conftest.err >&5
22944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22945 (exit $ac_status); } && {
22946 test -z "$ac_c_werror_flag" ||
22947 test ! -s conftest.err
22948 } && test -s conftest$ac_exeext &&
22949 $as_test_x conftest$ac_exeext; then
22950 ac_cv_func_shmat=yes
22952 echo "$as_me: failed program was:" >&5
22953 sed 's/^/| /' conftest.$ac_ext >&5
22955 ac_cv_func_shmat=no
22958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22959 conftest$ac_exeext conftest.$ac_ext
22961 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22962 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
22964 if test $ac_cv_func_shmat = no; then
22965 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22966 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
22967 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22968 echo $ECHO_N "(cached) $ECHO_C" >&6
22970 ac_check_lib_save_LIBS=$LIBS
22972 cat >conftest.$ac_ext <<_ACEOF
22975 cat confdefs.h >>conftest.$ac_ext
22976 cat >>conftest.$ac_ext <<_ACEOF
22977 /* end confdefs.h. */
22979 /* Override any GCC internal prototype to avoid an error.
22980 Use char because int might match the return type of a GCC
22981 builtin and then its argument prototype would still apply. */
22994 rm -f conftest.$ac_objext conftest$ac_exeext
22995 if { (ac_try="$ac_link"
22996 case "(($ac_try" in
22997 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22998 *) ac_try_echo
=$ac_try;;
23000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23001 (eval "$ac_link") 2>conftest.er1
23003 grep -v '^ *+' conftest.er1
>conftest.err
23005 cat conftest.err
>&5
23006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23007 (exit $ac_status); } && {
23008 test -z "$ac_c_werror_flag" ||
23009 test ! -s conftest.err
23010 } && test -s conftest
$ac_exeext &&
23011 $as_test_x conftest
$ac_exeext; then
23012 ac_cv_lib_ipc_shmat
=yes
23014 echo "$as_me: failed program was:" >&5
23015 sed 's/^/| /' conftest.
$ac_ext >&5
23017 ac_cv_lib_ipc_shmat
=no
23020 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
23021 conftest
$ac_exeext conftest.
$ac_ext
23022 LIBS
=$ac_check_lib_save_LIBS
23024 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23025 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
23026 if test $ac_cv_lib_ipc_shmat = yes; then
23027 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23033 # Check for libraries that X11R6 Xt/Xaw programs need.
23034 ac_save_LDFLAGS
=$LDFLAGS
23035 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23036 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23037 # check for ICE first), but we must link in the order -lSM -lICE or
23038 # we get undefined symbols. So assume we have SM if we have ICE.
23039 # These have to be linked with before -lX11, unlike the other
23040 # libraries we check for below, so use a different variable.
23041 # John Interrante, Karl Berry
23042 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23043 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
23044 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23045 echo $ECHO_N "(cached) $ECHO_C" >&6
23047 ac_check_lib_save_LIBS
=$LIBS
23048 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23049 cat >conftest.
$ac_ext <<_ACEOF
23052 cat confdefs.h
>>conftest.
$ac_ext
23053 cat >>conftest.
$ac_ext <<_ACEOF
23054 /* end confdefs.h. */
23056 /* Override any GCC internal prototype to avoid an error.
23057 Use char because int might match the return type of a GCC
23058 builtin and then its argument prototype would still apply. */
23062 char IceConnectionNumber ();
23066 return IceConnectionNumber ();
23071 rm -f conftest.
$ac_objext conftest
$ac_exeext
23072 if { (ac_try
="$ac_link"
23073 case "(($ac_try" in
23074 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23075 *) ac_try_echo=$ac_try;;
23077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23078 (eval "$ac_link") 2>conftest.er1
23080 grep -v '^ *+' conftest.er1 >conftest.err
23082 cat conftest.err >&5
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); } && {
23085 test -z "$ac_c_werror_flag" ||
23086 test ! -s conftest.err
23087 } && test -s conftest$ac_exeext &&
23088 $as_test_x conftest$ac_exeext; then
23089 ac_cv_lib_ICE_IceConnectionNumber=yes
23091 echo "$as_me: failed program was:" >&5
23092 sed 's/^/| /' conftest.$ac_ext >&5
23094 ac_cv_lib_ICE_IceConnectionNumber=no
23097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23098 conftest$ac_exeext conftest.$ac_ext
23099 LIBS=$ac_check_lib_save_LIBS
23101 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23102 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
23103 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23104 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23107 LDFLAGS=$ac_save_LDFLAGS
23112 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23113 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23114 if test "${ac_cv_c_bigendian+set}" = set; then
23115 echo $ECHO_N "(cached) $ECHO_C" >&6
23117 # See if sys/param.h defines the BYTE_ORDER macro.
23118 cat >conftest.$ac_ext <<_ACEOF
23121 cat confdefs.h >>conftest.$ac_ext
23122 cat >>conftest.$ac_ext <<_ACEOF
23123 /* end confdefs.h. */
23124 #include <sys/types.h>
23125 #include <sys/param.h>
23130 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
23131 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
23132 bogus endian macros
23139 rm -f conftest.$ac_objext
23140 if { (ac_try="$ac_compile"
23141 case "(($ac_try" in
23142 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23143 *) ac_try_echo
=$ac_try;;
23145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23146 (eval "$ac_compile") 2>conftest.er1
23148 grep -v '^ *+' conftest.er1
>conftest.err
23150 cat conftest.err
>&5
23151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23152 (exit $ac_status); } && {
23153 test -z "$ac_c_werror_flag" ||
23154 test ! -s conftest.err
23155 } && test -s conftest.
$ac_objext; then
23156 # It does; now see whether it defined to BIG_ENDIAN or not.
23157 cat >conftest.
$ac_ext <<_ACEOF
23160 cat confdefs.h
>>conftest.
$ac_ext
23161 cat >>conftest.
$ac_ext <<_ACEOF
23162 /* end confdefs.h. */
23163 #include <sys/types.h>
23164 #include <sys/param.h>
23169 #if BYTE_ORDER != BIG_ENDIAN
23177 rm -f conftest.
$ac_objext
23178 if { (ac_try
="$ac_compile"
23179 case "(($ac_try" in
23180 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23181 *) ac_try_echo=$ac_try;;
23183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23184 (eval "$ac_compile") 2>conftest.er1
23186 grep -v '^ *+' conftest.er1 >conftest.err
23188 cat conftest.err >&5
23189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23190 (exit $ac_status); } && {
23191 test -z "$ac_c_werror_flag" ||
23192 test ! -s conftest.err
23193 } && test -s conftest.$ac_objext; then
23194 ac_cv_c_bigendian=yes
23196 echo "$as_me: failed program was:" >&5
23197 sed 's/^/| /' conftest.$ac_ext >&5
23199 ac_cv_c_bigendian=no
23202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23204 echo "$as_me: failed program was:" >&5
23205 sed 's/^/| /' conftest.$ac_ext >&5
23207 # It does not; compile a test program.
23208 if test "$cross_compiling" = yes; then
23209 # try to guess the endianness by grepping values into an object file
23210 ac_cv_c_bigendian=unknown
23211 cat >conftest.$ac_ext <<_ACEOF
23214 cat confdefs.h >>conftest.$ac_ext
23215 cat >>conftest.$ac_ext <<_ACEOF
23216 /* end confdefs.h. */
23217 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
23218 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
23219 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
23220 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
23221 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
23222 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
23226 _ascii (); _ebcdic ();
23231 rm -f conftest.$ac_objext
23232 if { (ac_try="$ac_compile"
23233 case "(($ac_try" in
23234 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23235 *) ac_try_echo
=$ac_try;;
23237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23238 (eval "$ac_compile") 2>conftest.er1
23240 grep -v '^ *+' conftest.er1
>conftest.err
23242 cat conftest.err
>&5
23243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23244 (exit $ac_status); } && {
23245 test -z "$ac_c_werror_flag" ||
23246 test ! -s conftest.err
23247 } && test -s conftest.
$ac_objext; then
23248 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
23249 ac_cv_c_bigendian
=yes
23251 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
23252 if test "$ac_cv_c_bigendian" = unknown
; then
23253 ac_cv_c_bigendian
=no
23255 # finding both strings is unlikely to happen, but who knows?
23256 ac_cv_c_bigendian
=unknown
23260 echo "$as_me: failed program was:" >&5
23261 sed 's/^/| /' conftest.
$ac_ext >&5
23266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23268 cat >conftest.
$ac_ext <<_ACEOF
23271 cat confdefs.h
>>conftest.
$ac_ext
23272 cat >>conftest.
$ac_ext <<_ACEOF
23273 /* end confdefs.h. */
23274 $ac_includes_default
23279 /* Are we little or big endian? From Harbison&Steele. */
23283 char c[sizeof (long int)];
23286 return u.c[sizeof (long int) - 1] == 1;
23292 rm -f conftest
$ac_exeext
23293 if { (ac_try
="$ac_link"
23294 case "(($ac_try" in
23295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23296 *) ac_try_echo=$ac_try;;
23298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23299 (eval "$ac_link") 2>&5
23301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23302 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23303 { (case "(($ac_try" in
23304 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23305 *) ac_try_echo
=$ac_try;;
23307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23308 (eval "$ac_try") 2>&5
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); }; }; then
23312 ac_cv_c_bigendian
=no
23314 echo "$as_me: program exited with status $ac_status" >&5
23315 echo "$as_me: failed program was:" >&5
23316 sed 's/^/| /' conftest.
$ac_ext >&5
23318 ( exit $ac_status )
23319 ac_cv_c_bigendian
=yes
23321 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23329 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23330 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23331 case $ac_cv_c_bigendian in
23334 cat >>confdefs.h
<<\_ACEOF
23335 #define WORDS_BIGENDIAN 1
23341 { { echo "$as_me:$LINENO: error: unknown endianness
23342 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
23343 echo "$as_me: error: unknown endianness
23344 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
23345 { (exit 1); exit 1; }; } ;;
23348 { echo "$as_me:$LINENO: checking for inline" >&5
23349 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
23350 if test "${ac_cv_c_inline+set}" = set; then
23351 echo $ECHO_N "(cached) $ECHO_C" >&6
23354 for ac_kw
in inline __inline__ __inline
; do
23355 cat >conftest.
$ac_ext <<_ACEOF
23358 cat confdefs.h
>>conftest.
$ac_ext
23359 cat >>conftest.
$ac_ext <<_ACEOF
23360 /* end confdefs.h. */
23361 #ifndef __cplusplus
23363 static $ac_kw foo_t static_foo () {return 0; }
23364 $ac_kw foo_t foo () {return 0; }
23368 rm -f conftest.
$ac_objext
23369 if { (ac_try
="$ac_compile"
23370 case "(($ac_try" in
23371 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23372 *) ac_try_echo=$ac_try;;
23374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23375 (eval "$ac_compile") 2>conftest.er1
23377 grep -v '^ *+' conftest.er1 >conftest.err
23379 cat conftest.err >&5
23380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23381 (exit $ac_status); } && {
23382 test -z "$ac_c_werror_flag" ||
23383 test ! -s conftest.err
23384 } && test -s conftest.$ac_objext; then
23385 ac_cv_c_inline=$ac_kw
23387 echo "$as_me: failed program was:" >&5
23388 sed 's/^/| /' conftest.$ac_ext >&5
23393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23394 test "$ac_cv_c_inline" != no && break
23398 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
23399 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
23402 case $ac_cv_c_inline in
23405 case $ac_cv_c_inline in
23407 *) ac_val=$ac_cv_c_inline;;
23409 cat >>confdefs.h <<_ACEOF
23410 #ifndef __cplusplus
23411 #define inline $ac_val
23417 { echo "$as_me:$LINENO: checking for unsigned char" >&5
23418 echo $ECHO_N "checking for unsigned char... $ECHO_C" >&6; }
23419 if test "${ac_cv_type_unsigned_char+set}" = set; then
23420 echo $ECHO_N "(cached) $ECHO_C" >&6
23422 cat >conftest.$ac_ext <<_ACEOF
23425 cat confdefs.h >>conftest.$ac_ext
23426 cat >>conftest.$ac_ext <<_ACEOF
23427 /* end confdefs.h. */
23428 $ac_includes_default
23429 typedef unsigned char ac__type_new_;
23433 if ((ac__type_new_ *) 0)
23435 if (sizeof (ac__type_new_))
23441 rm -f conftest.$ac_objext
23442 if { (ac_try="$ac_compile"
23443 case "(($ac_try" in
23444 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23445 *) ac_try_echo
=$ac_try;;
23447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23448 (eval "$ac_compile") 2>conftest.er1
23450 grep -v '^ *+' conftest.er1
>conftest.err
23452 cat conftest.err
>&5
23453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23454 (exit $ac_status); } && {
23455 test -z "$ac_c_werror_flag" ||
23456 test ! -s conftest.err
23457 } && test -s conftest.
$ac_objext; then
23458 ac_cv_type_unsigned_char
=yes
23460 echo "$as_me: failed program was:" >&5
23461 sed 's/^/| /' conftest.
$ac_ext >&5
23463 ac_cv_type_unsigned_char
=no
23466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23468 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char" >&5
23469 echo "${ECHO_T}$ac_cv_type_unsigned_char" >&6; }
23471 # The cast to long int works around a bug in the HP C Compiler
23472 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23473 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23474 # This bug is HP SR number 8606223364.
23475 { echo "$as_me:$LINENO: checking size of unsigned char" >&5
23476 echo $ECHO_N "checking size of unsigned char... $ECHO_C" >&6; }
23477 if test "${ac_cv_sizeof_unsigned_char+set}" = set; then
23478 echo $ECHO_N "(cached) $ECHO_C" >&6
23480 if test "$cross_compiling" = yes; then
23481 # Depending upon the size, compute the lo and hi bounds.
23482 cat >conftest.
$ac_ext <<_ACEOF
23485 cat confdefs.h
>>conftest.
$ac_ext
23486 cat >>conftest.
$ac_ext <<_ACEOF
23487 /* end confdefs.h. */
23488 $ac_includes_default
23489 typedef unsigned char ac__type_sizeof_;
23493 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23500 rm -f conftest.
$ac_objext
23501 if { (ac_try
="$ac_compile"
23502 case "(($ac_try" in
23503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23504 *) ac_try_echo=$ac_try;;
23506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23507 (eval "$ac_compile") 2>conftest.er1
23509 grep -v '^ *+' conftest.er1 >conftest.err
23511 cat conftest.err >&5
23512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23513 (exit $ac_status); } && {
23514 test -z "$ac_c_werror_flag" ||
23515 test ! -s conftest.err
23516 } && test -s conftest.$ac_objext; then
23519 cat >conftest.$ac_ext <<_ACEOF
23522 cat confdefs.h >>conftest.$ac_ext
23523 cat >>conftest.$ac_ext <<_ACEOF
23524 /* end confdefs.h. */
23525 $ac_includes_default
23526 typedef unsigned char ac__type_sizeof_;
23530 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23537 rm -f conftest.$ac_objext
23538 if { (ac_try="$ac_compile"
23539 case "(($ac_try" in
23540 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23541 *) ac_try_echo
=$ac_try;;
23543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23544 (eval "$ac_compile") 2>conftest.er1
23546 grep -v '^ *+' conftest.er1
>conftest.err
23548 cat conftest.err
>&5
23549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23550 (exit $ac_status); } && {
23551 test -z "$ac_c_werror_flag" ||
23552 test ! -s conftest.err
23553 } && test -s conftest.
$ac_objext; then
23554 ac_hi
=$ac_mid; break
23556 echo "$as_me: failed program was:" >&5
23557 sed 's/^/| /' conftest.
$ac_ext >&5
23559 ac_lo
=`expr $ac_mid + 1`
23560 if test $ac_lo -le $ac_mid; then
23564 ac_mid
=`expr 2 '*' $ac_mid + 1`
23567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23570 echo "$as_me: failed program was:" >&5
23571 sed 's/^/| /' conftest.
$ac_ext >&5
23573 cat >conftest.
$ac_ext <<_ACEOF
23576 cat confdefs.h
>>conftest.
$ac_ext
23577 cat >>conftest.
$ac_ext <<_ACEOF
23578 /* end confdefs.h. */
23579 $ac_includes_default
23580 typedef unsigned char ac__type_sizeof_;
23584 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23591 rm -f conftest.
$ac_objext
23592 if { (ac_try
="$ac_compile"
23593 case "(($ac_try" in
23594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23595 *) ac_try_echo=$ac_try;;
23597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23598 (eval "$ac_compile") 2>conftest.er1
23600 grep -v '^ *+' conftest.er1 >conftest.err
23602 cat conftest.err >&5
23603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604 (exit $ac_status); } && {
23605 test -z "$ac_c_werror_flag" ||
23606 test ! -s conftest.err
23607 } && test -s conftest.$ac_objext; then
23610 cat >conftest.$ac_ext <<_ACEOF
23613 cat confdefs.h >>conftest.$ac_ext
23614 cat >>conftest.$ac_ext <<_ACEOF
23615 /* end confdefs.h. */
23616 $ac_includes_default
23617 typedef unsigned char ac__type_sizeof_;
23621 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23628 rm -f conftest.$ac_objext
23629 if { (ac_try="$ac_compile"
23630 case "(($ac_try" in
23631 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23632 *) ac_try_echo
=$ac_try;;
23634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23635 (eval "$ac_compile") 2>conftest.er1
23637 grep -v '^ *+' conftest.er1
>conftest.err
23639 cat conftest.err
>&5
23640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23641 (exit $ac_status); } && {
23642 test -z "$ac_c_werror_flag" ||
23643 test ! -s conftest.err
23644 } && test -s conftest.
$ac_objext; then
23645 ac_lo
=$ac_mid; break
23647 echo "$as_me: failed program was:" >&5
23648 sed 's/^/| /' conftest.
$ac_ext >&5
23650 ac_hi
=`expr '(' $ac_mid ')' - 1`
23651 if test $ac_mid -le $ac_hi; then
23655 ac_mid
=`expr 2 '*' $ac_mid`
23658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23661 echo "$as_me: failed program was:" >&5
23662 sed 's/^/| /' conftest.
$ac_ext >&5
23667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23671 # Binary search between lo and hi bounds.
23672 while test "x$ac_lo" != "x$ac_hi"; do
23673 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23674 cat >conftest.
$ac_ext <<_ACEOF
23677 cat confdefs.h
>>conftest.
$ac_ext
23678 cat >>conftest.
$ac_ext <<_ACEOF
23679 /* end confdefs.h. */
23680 $ac_includes_default
23681 typedef unsigned char ac__type_sizeof_;
23685 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23692 rm -f conftest.
$ac_objext
23693 if { (ac_try
="$ac_compile"
23694 case "(($ac_try" in
23695 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23696 *) ac_try_echo=$ac_try;;
23698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23699 (eval "$ac_compile") 2>conftest.er1
23701 grep -v '^ *+' conftest.er1 >conftest.err
23703 cat conftest.err >&5
23704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23705 (exit $ac_status); } && {
23706 test -z "$ac_c_werror_flag" ||
23707 test ! -s conftest.err
23708 } && test -s conftest.$ac_objext; then
23711 echo "$as_me: failed program was:" >&5
23712 sed 's/^/| /' conftest.$ac_ext >&5
23714 ac_lo=`expr '(' $ac_mid ')' + 1`
23717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23720 ?*) ac_cv_sizeof_unsigned_char=$ac_lo;;
23721 '') if test "$ac_cv_type_unsigned_char" = yes; then
23722 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char)
23723 See \`config.log
' for more details." >&5
23724 echo "$as_me: error: cannot compute sizeof (unsigned char)
23725 See \`config.log' for more details.
" >&2;}
23726 { (exit 77); exit 77; }; }
23728 ac_cv_sizeof_unsigned_char=0
23732 cat >conftest.$ac_ext <<_ACEOF
23735 cat confdefs.h >>conftest.$ac_ext
23736 cat >>conftest.$ac_ext <<_ACEOF
23737 /* end confdefs.h. */
23738 $ac_includes_default
23739 typedef unsigned char ac__type_sizeof_;
23740 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23741 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23743 #include <stdlib.h>
23748 FILE *f = fopen ("conftest.val
", "w
");
23751 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23753 long int i = longval ();
23754 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23756 fprintf (f, "%ld
\n", i);
23760 unsigned long int i = ulongval ();
23761 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23763 fprintf (f, "%lu
\n", i);
23765 return ferror (f) || fclose (f) != 0;
23771 rm -f conftest$ac_exeext
23772 if { (ac_try="$ac_link"
23773 case "(($ac_try" in
23774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23775 *) ac_try_echo=$ac_try;;
23777 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23778 (eval "$ac_link") 2>&5
23780 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23781 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23782 { (case "(($ac_try" in
23783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23784 *) ac_try_echo=$ac_try;;
23786 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23787 (eval "$ac_try") 2>&5
23789 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23790 (exit $ac_status); }; }; then
23791 ac_cv_sizeof_unsigned_char=`cat conftest.val`
23793 echo "$as_me: program exited with status
$ac_status" >&5
23794 echo "$as_me: failed program was
:" >&5
23795 sed 's/^/| /' conftest.$ac_ext >&5
23797 ( exit $ac_status )
23798 if test "$ac_cv_type_unsigned_char" = yes; then
23799 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned char
)
23800 See \
`config.log' for more details." >&5
23801 echo "$as_me: error: cannot compute sizeof (unsigned char)
23802 See \`config.log
' for more details." >&2;}
23803 { (exit 77); exit 77; }; }
23805 ac_cv_sizeof_unsigned_char=0
23808 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23812 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char" >&5
23813 echo "${ECHO_T}$ac_cv_sizeof_unsigned_char" >&6; }
23817 cat >>confdefs.h <<_ACEOF
23818 #define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char
23822 { echo "$as_me:$LINENO: checking for unsigned short" >&5
23823 echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6; }
23824 if test "${ac_cv_type_unsigned_short+set}" = set; then
23825 echo $ECHO_N "(cached) $ECHO_C" >&6
23827 cat >conftest.$ac_ext <<_ACEOF
23830 cat confdefs.h >>conftest.$ac_ext
23831 cat >>conftest.$ac_ext <<_ACEOF
23832 /* end confdefs.h. */
23833 $ac_includes_default
23834 typedef unsigned short ac__type_new_;
23838 if ((ac__type_new_ *) 0)
23840 if (sizeof (ac__type_new_))
23846 rm -f conftest.$ac_objext
23847 if { (ac_try="$ac_compile"
23848 case "(($ac_try" in
23849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23850 *) ac_try_echo=$ac_try;;
23852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23853 (eval "$ac_compile") 2>conftest.er1
23855 grep -v '^
*+' conftest.er1 >conftest.err
23857 cat conftest.err >&5
23858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23859 (exit $ac_status); } && {
23860 test -z "$ac_c_werror_flag" ||
23861 test ! -s conftest.err
23862 } && test -s conftest.$ac_objext; then
23863 ac_cv_type_unsigned_short=yes
23865 echo "$as_me: failed program was:" >&5
23866 sed 's
/^
/|
/' conftest.$ac_ext >&5
23868 ac_cv_type_unsigned_short=no
23871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23873 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
23874 echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6; }
23876 # The cast to long int works around a bug in the HP C Compiler
23877 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23878 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23879 # This bug is HP SR number 8606223364.
23880 { echo "$as_me:$LINENO: checking size of unsigned short" >&5
23881 echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6; }
23882 if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
23883 echo $ECHO_N "(cached) $ECHO_C" >&6
23885 if test "$cross_compiling" = yes; then
23886 # Depending upon the size, compute the lo and hi bounds.
23887 cat >conftest.
$ac_ext <<_ACEOF
23890 cat confdefs.h
>>conftest.
$ac_ext
23891 cat >>conftest.
$ac_ext <<_ACEOF
23892 /* end confdefs.h. */
23893 $ac_includes_default
23894 typedef unsigned short ac__type_sizeof_;
23898 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23905 rm -f conftest.
$ac_objext
23906 if { (ac_try
="$ac_compile"
23907 case "(($ac_try" in
23908 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23909 *) ac_try_echo=$ac_try;;
23911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23912 (eval "$ac_compile") 2>conftest.er1
23914 grep -v '^ *+' conftest.er1 >conftest.err
23916 cat conftest.err >&5
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); } && {
23919 test -z "$ac_c_werror_flag" ||
23920 test ! -s conftest.err
23921 } && test -s conftest.$ac_objext; then
23924 cat >conftest.$ac_ext <<_ACEOF
23927 cat confdefs.h >>conftest.$ac_ext
23928 cat >>conftest.$ac_ext <<_ACEOF
23929 /* end confdefs.h. */
23930 $ac_includes_default
23931 typedef unsigned short ac__type_sizeof_;
23935 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23942 rm -f conftest.$ac_objext
23943 if { (ac_try="$ac_compile"
23944 case "(($ac_try" in
23945 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23946 *) ac_try_echo
=$ac_try;;
23948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23949 (eval "$ac_compile") 2>conftest.er1
23951 grep -v '^ *+' conftest.er1
>conftest.err
23953 cat conftest.err
>&5
23954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23955 (exit $ac_status); } && {
23956 test -z "$ac_c_werror_flag" ||
23957 test ! -s conftest.err
23958 } && test -s conftest.
$ac_objext; then
23959 ac_hi
=$ac_mid; break
23961 echo "$as_me: failed program was:" >&5
23962 sed 's/^/| /' conftest.
$ac_ext >&5
23964 ac_lo
=`expr $ac_mid + 1`
23965 if test $ac_lo -le $ac_mid; then
23969 ac_mid
=`expr 2 '*' $ac_mid + 1`
23972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23975 echo "$as_me: failed program was:" >&5
23976 sed 's/^/| /' conftest.
$ac_ext >&5
23978 cat >conftest.
$ac_ext <<_ACEOF
23981 cat confdefs.h
>>conftest.
$ac_ext
23982 cat >>conftest.
$ac_ext <<_ACEOF
23983 /* end confdefs.h. */
23984 $ac_includes_default
23985 typedef unsigned short ac__type_sizeof_;
23989 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23996 rm -f conftest.
$ac_objext
23997 if { (ac_try
="$ac_compile"
23998 case "(($ac_try" in
23999 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24000 *) ac_try_echo=$ac_try;;
24002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24003 (eval "$ac_compile") 2>conftest.er1
24005 grep -v '^ *+' conftest.er1 >conftest.err
24007 cat conftest.err >&5
24008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24009 (exit $ac_status); } && {
24010 test -z "$ac_c_werror_flag" ||
24011 test ! -s conftest.err
24012 } && test -s conftest.$ac_objext; then
24015 cat >conftest.$ac_ext <<_ACEOF
24018 cat confdefs.h >>conftest.$ac_ext
24019 cat >>conftest.$ac_ext <<_ACEOF
24020 /* end confdefs.h. */
24021 $ac_includes_default
24022 typedef unsigned short ac__type_sizeof_;
24026 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24033 rm -f conftest.$ac_objext
24034 if { (ac_try="$ac_compile"
24035 case "(($ac_try" in
24036 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24037 *) ac_try_echo
=$ac_try;;
24039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24040 (eval "$ac_compile") 2>conftest.er1
24042 grep -v '^ *+' conftest.er1
>conftest.err
24044 cat conftest.err
>&5
24045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24046 (exit $ac_status); } && {
24047 test -z "$ac_c_werror_flag" ||
24048 test ! -s conftest.err
24049 } && test -s conftest.
$ac_objext; then
24050 ac_lo
=$ac_mid; break
24052 echo "$as_me: failed program was:" >&5
24053 sed 's/^/| /' conftest.
$ac_ext >&5
24055 ac_hi
=`expr '(' $ac_mid ')' - 1`
24056 if test $ac_mid -le $ac_hi; then
24060 ac_mid
=`expr 2 '*' $ac_mid`
24063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24066 echo "$as_me: failed program was:" >&5
24067 sed 's/^/| /' conftest.
$ac_ext >&5
24072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24076 # Binary search between lo and hi bounds.
24077 while test "x$ac_lo" != "x$ac_hi"; do
24078 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24079 cat >conftest.
$ac_ext <<_ACEOF
24082 cat confdefs.h
>>conftest.
$ac_ext
24083 cat >>conftest.
$ac_ext <<_ACEOF
24084 /* end confdefs.h. */
24085 $ac_includes_default
24086 typedef unsigned short ac__type_sizeof_;
24090 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24097 rm -f conftest.
$ac_objext
24098 if { (ac_try
="$ac_compile"
24099 case "(($ac_try" in
24100 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24101 *) ac_try_echo=$ac_try;;
24103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24104 (eval "$ac_compile") 2>conftest.er1
24106 grep -v '^ *+' conftest.er1 >conftest.err
24108 cat conftest.err >&5
24109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24110 (exit $ac_status); } && {
24111 test -z "$ac_c_werror_flag" ||
24112 test ! -s conftest.err
24113 } && test -s conftest.$ac_objext; then
24116 echo "$as_me: failed program was:" >&5
24117 sed 's/^/| /' conftest.$ac_ext >&5
24119 ac_lo=`expr '(' $ac_mid ')' + 1`
24122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24125 ?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
24126 '') if test "$ac_cv_type_unsigned_short" = yes; then
24127 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
24128 See \`config.log
' for more details." >&5
24129 echo "$as_me: error: cannot compute sizeof (unsigned short)
24130 See \`config.log' for more details.
" >&2;}
24131 { (exit 77); exit 77; }; }
24133 ac_cv_sizeof_unsigned_short=0
24137 cat >conftest.$ac_ext <<_ACEOF
24140 cat confdefs.h >>conftest.$ac_ext
24141 cat >>conftest.$ac_ext <<_ACEOF
24142 /* end confdefs.h. */
24143 $ac_includes_default
24144 typedef unsigned short ac__type_sizeof_;
24145 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24146 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24148 #include <stdlib.h>
24153 FILE *f = fopen ("conftest.val
", "w
");
24156 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24158 long int i = longval ();
24159 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24161 fprintf (f, "%ld
\n", i);
24165 unsigned long int i = ulongval ();
24166 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24168 fprintf (f, "%lu
\n", i);
24170 return ferror (f) || fclose (f) != 0;
24176 rm -f conftest$ac_exeext
24177 if { (ac_try="$ac_link"
24178 case "(($ac_try" in
24179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24180 *) ac_try_echo=$ac_try;;
24182 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24183 (eval "$ac_link") 2>&5
24185 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24186 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24187 { (case "(($ac_try" in
24188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24189 *) ac_try_echo=$ac_try;;
24191 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24192 (eval "$ac_try") 2>&5
24194 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24195 (exit $ac_status); }; }; then
24196 ac_cv_sizeof_unsigned_short=`cat conftest.val`
24198 echo "$as_me: program exited with status
$ac_status" >&5
24199 echo "$as_me: failed program was
:" >&5
24200 sed 's/^/| /' conftest.$ac_ext >&5
24202 ( exit $ac_status )
24203 if test "$ac_cv_type_unsigned_short" = yes; then
24204 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned short
)
24205 See \
`config.log' for more details." >&5
24206 echo "$as_me: error: cannot compute sizeof (unsigned short)
24207 See \`config.log
' for more details." >&2;}
24208 { (exit 77); exit 77; }; }
24210 ac_cv_sizeof_unsigned_short=0
24213 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24217 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
24218 echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6; }
24222 cat >>confdefs.h <<_ACEOF
24223 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
24227 { echo "$as_me:$LINENO: checking for unsigned int" >&5
24228 echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6; }
24229 if test "${ac_cv_type_unsigned_int+set}" = set; then
24230 echo $ECHO_N "(cached) $ECHO_C" >&6
24232 cat >conftest.$ac_ext <<_ACEOF
24235 cat confdefs.h >>conftest.$ac_ext
24236 cat >>conftest.$ac_ext <<_ACEOF
24237 /* end confdefs.h. */
24238 $ac_includes_default
24239 typedef unsigned int ac__type_new_;
24243 if ((ac__type_new_ *) 0)
24245 if (sizeof (ac__type_new_))
24251 rm -f conftest.$ac_objext
24252 if { (ac_try="$ac_compile"
24253 case "(($ac_try" in
24254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24255 *) ac_try_echo=$ac_try;;
24257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24258 (eval "$ac_compile") 2>conftest.er1
24260 grep -v '^
*+' conftest.er1 >conftest.err
24262 cat conftest.err >&5
24263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24264 (exit $ac_status); } && {
24265 test -z "$ac_c_werror_flag" ||
24266 test ! -s conftest.err
24267 } && test -s conftest.$ac_objext; then
24268 ac_cv_type_unsigned_int=yes
24270 echo "$as_me: failed program was:" >&5
24271 sed 's
/^
/|
/' conftest.$ac_ext >&5
24273 ac_cv_type_unsigned_int=no
24276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24278 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
24279 echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6; }
24281 # The cast to long int works around a bug in the HP C Compiler
24282 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24283 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24284 # This bug is HP SR number 8606223364.
24285 { echo "$as_me:$LINENO: checking size of unsigned int" >&5
24286 echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6; }
24287 if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
24288 echo $ECHO_N "(cached) $ECHO_C" >&6
24290 if test "$cross_compiling" = yes; then
24291 # Depending upon the size, compute the lo and hi bounds.
24292 cat >conftest.
$ac_ext <<_ACEOF
24295 cat confdefs.h
>>conftest.
$ac_ext
24296 cat >>conftest.
$ac_ext <<_ACEOF
24297 /* end confdefs.h. */
24298 $ac_includes_default
24299 typedef unsigned int ac__type_sizeof_;
24303 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24310 rm -f conftest.
$ac_objext
24311 if { (ac_try
="$ac_compile"
24312 case "(($ac_try" in
24313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24314 *) ac_try_echo=$ac_try;;
24316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24317 (eval "$ac_compile") 2>conftest.er1
24319 grep -v '^ *+' conftest.er1 >conftest.err
24321 cat conftest.err >&5
24322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24323 (exit $ac_status); } && {
24324 test -z "$ac_c_werror_flag" ||
24325 test ! -s conftest.err
24326 } && test -s conftest.$ac_objext; then
24329 cat >conftest.$ac_ext <<_ACEOF
24332 cat confdefs.h >>conftest.$ac_ext
24333 cat >>conftest.$ac_ext <<_ACEOF
24334 /* end confdefs.h. */
24335 $ac_includes_default
24336 typedef unsigned int ac__type_sizeof_;
24340 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24347 rm -f conftest.$ac_objext
24348 if { (ac_try="$ac_compile"
24349 case "(($ac_try" in
24350 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24351 *) ac_try_echo
=$ac_try;;
24353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24354 (eval "$ac_compile") 2>conftest.er1
24356 grep -v '^ *+' conftest.er1
>conftest.err
24358 cat conftest.err
>&5
24359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24360 (exit $ac_status); } && {
24361 test -z "$ac_c_werror_flag" ||
24362 test ! -s conftest.err
24363 } && test -s conftest.
$ac_objext; then
24364 ac_hi
=$ac_mid; break
24366 echo "$as_me: failed program was:" >&5
24367 sed 's/^/| /' conftest.
$ac_ext >&5
24369 ac_lo
=`expr $ac_mid + 1`
24370 if test $ac_lo -le $ac_mid; then
24374 ac_mid
=`expr 2 '*' $ac_mid + 1`
24377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24380 echo "$as_me: failed program was:" >&5
24381 sed 's/^/| /' conftest.
$ac_ext >&5
24383 cat >conftest.
$ac_ext <<_ACEOF
24386 cat confdefs.h
>>conftest.
$ac_ext
24387 cat >>conftest.
$ac_ext <<_ACEOF
24388 /* end confdefs.h. */
24389 $ac_includes_default
24390 typedef unsigned int ac__type_sizeof_;
24394 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24401 rm -f conftest.
$ac_objext
24402 if { (ac_try
="$ac_compile"
24403 case "(($ac_try" in
24404 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24405 *) ac_try_echo=$ac_try;;
24407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24408 (eval "$ac_compile") 2>conftest.er1
24410 grep -v '^ *+' conftest.er1 >conftest.err
24412 cat conftest.err >&5
24413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24414 (exit $ac_status); } && {
24415 test -z "$ac_c_werror_flag" ||
24416 test ! -s conftest.err
24417 } && test -s conftest.$ac_objext; then
24420 cat >conftest.$ac_ext <<_ACEOF
24423 cat confdefs.h >>conftest.$ac_ext
24424 cat >>conftest.$ac_ext <<_ACEOF
24425 /* end confdefs.h. */
24426 $ac_includes_default
24427 typedef unsigned int ac__type_sizeof_;
24431 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24438 rm -f conftest.$ac_objext
24439 if { (ac_try="$ac_compile"
24440 case "(($ac_try" in
24441 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24442 *) ac_try_echo
=$ac_try;;
24444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24445 (eval "$ac_compile") 2>conftest.er1
24447 grep -v '^ *+' conftest.er1
>conftest.err
24449 cat conftest.err
>&5
24450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451 (exit $ac_status); } && {
24452 test -z "$ac_c_werror_flag" ||
24453 test ! -s conftest.err
24454 } && test -s conftest.
$ac_objext; then
24455 ac_lo
=$ac_mid; break
24457 echo "$as_me: failed program was:" >&5
24458 sed 's/^/| /' conftest.
$ac_ext >&5
24460 ac_hi
=`expr '(' $ac_mid ')' - 1`
24461 if test $ac_mid -le $ac_hi; then
24465 ac_mid
=`expr 2 '*' $ac_mid`
24468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24471 echo "$as_me: failed program was:" >&5
24472 sed 's/^/| /' conftest.
$ac_ext >&5
24477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24481 # Binary search between lo and hi bounds.
24482 while test "x$ac_lo" != "x$ac_hi"; do
24483 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24484 cat >conftest.
$ac_ext <<_ACEOF
24487 cat confdefs.h
>>conftest.
$ac_ext
24488 cat >>conftest.
$ac_ext <<_ACEOF
24489 /* end confdefs.h. */
24490 $ac_includes_default
24491 typedef unsigned int ac__type_sizeof_;
24495 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24502 rm -f conftest.
$ac_objext
24503 if { (ac_try
="$ac_compile"
24504 case "(($ac_try" in
24505 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24506 *) ac_try_echo=$ac_try;;
24508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24509 (eval "$ac_compile") 2>conftest.er1
24511 grep -v '^ *+' conftest.er1 >conftest.err
24513 cat conftest.err >&5
24514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24515 (exit $ac_status); } && {
24516 test -z "$ac_c_werror_flag" ||
24517 test ! -s conftest.err
24518 } && test -s conftest.$ac_objext; then
24521 echo "$as_me: failed program was:" >&5
24522 sed 's/^/| /' conftest.$ac_ext >&5
24524 ac_lo=`expr '(' $ac_mid ')' + 1`
24527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24530 ?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
24531 '') if test "$ac_cv_type_unsigned_int" = yes; then
24532 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
24533 See \`config.log
' for more details." >&5
24534 echo "$as_me: error: cannot compute sizeof (unsigned int)
24535 See \`config.log' for more details.
" >&2;}
24536 { (exit 77); exit 77; }; }
24538 ac_cv_sizeof_unsigned_int=0
24542 cat >conftest.$ac_ext <<_ACEOF
24545 cat confdefs.h >>conftest.$ac_ext
24546 cat >>conftest.$ac_ext <<_ACEOF
24547 /* end confdefs.h. */
24548 $ac_includes_default
24549 typedef unsigned int ac__type_sizeof_;
24550 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24551 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24553 #include <stdlib.h>
24558 FILE *f = fopen ("conftest.val
", "w
");
24561 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24563 long int i = longval ();
24564 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24566 fprintf (f, "%ld
\n", i);
24570 unsigned long int i = ulongval ();
24571 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24573 fprintf (f, "%lu
\n", i);
24575 return ferror (f) || fclose (f) != 0;
24581 rm -f conftest$ac_exeext
24582 if { (ac_try="$ac_link"
24583 case "(($ac_try" in
24584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24585 *) ac_try_echo=$ac_try;;
24587 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24588 (eval "$ac_link") 2>&5
24590 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24591 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24592 { (case "(($ac_try" in
24593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24594 *) ac_try_echo=$ac_try;;
24596 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24597 (eval "$ac_try") 2>&5
24599 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24600 (exit $ac_status); }; }; then
24601 ac_cv_sizeof_unsigned_int=`cat conftest.val`
24603 echo "$as_me: program exited with status
$ac_status" >&5
24604 echo "$as_me: failed program was
:" >&5
24605 sed 's/^/| /' conftest.$ac_ext >&5
24607 ( exit $ac_status )
24608 if test "$ac_cv_type_unsigned_int" = yes; then
24609 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned int
)
24610 See \
`config.log' for more details." >&5
24611 echo "$as_me: error: cannot compute sizeof (unsigned int)
24612 See \`config.log
' for more details." >&2;}
24613 { (exit 77); exit 77; }; }
24615 ac_cv_sizeof_unsigned_int=0
24618 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24622 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
24623 echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6; }
24627 cat >>confdefs.h <<_ACEOF
24628 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
24632 { echo "$as_me:$LINENO: checking for unsigned long" >&5
24633 echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
24634 if test "${ac_cv_type_unsigned_long+set}" = set; then
24635 echo $ECHO_N "(cached) $ECHO_C" >&6
24637 cat >conftest.$ac_ext <<_ACEOF
24640 cat confdefs.h >>conftest.$ac_ext
24641 cat >>conftest.$ac_ext <<_ACEOF
24642 /* end confdefs.h. */
24643 $ac_includes_default
24644 typedef unsigned long ac__type_new_;
24648 if ((ac__type_new_ *) 0)
24650 if (sizeof (ac__type_new_))
24656 rm -f conftest.$ac_objext
24657 if { (ac_try="$ac_compile"
24658 case "(($ac_try" in
24659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24660 *) ac_try_echo=$ac_try;;
24662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24663 (eval "$ac_compile") 2>conftest.er1
24665 grep -v '^
*+' conftest.er1 >conftest.err
24667 cat conftest.err >&5
24668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24669 (exit $ac_status); } && {
24670 test -z "$ac_c_werror_flag" ||
24671 test ! -s conftest.err
24672 } && test -s conftest.$ac_objext; then
24673 ac_cv_type_unsigned_long=yes
24675 echo "$as_me: failed program was:" >&5
24676 sed 's
/^
/|
/' conftest.$ac_ext >&5
24678 ac_cv_type_unsigned_long=no
24681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24683 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
24684 echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
24686 # The cast to long int works around a bug in the HP C Compiler
24687 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24688 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24689 # This bug is HP SR number 8606223364.
24690 { echo "$as_me:$LINENO: checking size of unsigned long" >&5
24691 echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
24692 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
24693 echo $ECHO_N "(cached) $ECHO_C" >&6
24695 if test "$cross_compiling" = yes; then
24696 # Depending upon the size, compute the lo and hi bounds.
24697 cat >conftest.
$ac_ext <<_ACEOF
24700 cat confdefs.h
>>conftest.
$ac_ext
24701 cat >>conftest.
$ac_ext <<_ACEOF
24702 /* end confdefs.h. */
24703 $ac_includes_default
24704 typedef unsigned long ac__type_sizeof_;
24708 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24715 rm -f conftest.
$ac_objext
24716 if { (ac_try
="$ac_compile"
24717 case "(($ac_try" in
24718 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24719 *) ac_try_echo=$ac_try;;
24721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24722 (eval "$ac_compile") 2>conftest.er1
24724 grep -v '^ *+' conftest.er1 >conftest.err
24726 cat conftest.err >&5
24727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24728 (exit $ac_status); } && {
24729 test -z "$ac_c_werror_flag" ||
24730 test ! -s conftest.err
24731 } && test -s conftest.$ac_objext; then
24734 cat >conftest.$ac_ext <<_ACEOF
24737 cat confdefs.h >>conftest.$ac_ext
24738 cat >>conftest.$ac_ext <<_ACEOF
24739 /* end confdefs.h. */
24740 $ac_includes_default
24741 typedef unsigned long ac__type_sizeof_;
24745 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24752 rm -f conftest.$ac_objext
24753 if { (ac_try="$ac_compile"
24754 case "(($ac_try" in
24755 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24756 *) ac_try_echo
=$ac_try;;
24758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24759 (eval "$ac_compile") 2>conftest.er1
24761 grep -v '^ *+' conftest.er1
>conftest.err
24763 cat conftest.err
>&5
24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24765 (exit $ac_status); } && {
24766 test -z "$ac_c_werror_flag" ||
24767 test ! -s conftest.err
24768 } && test -s conftest.
$ac_objext; then
24769 ac_hi
=$ac_mid; break
24771 echo "$as_me: failed program was:" >&5
24772 sed 's/^/| /' conftest.
$ac_ext >&5
24774 ac_lo
=`expr $ac_mid + 1`
24775 if test $ac_lo -le $ac_mid; then
24779 ac_mid
=`expr 2 '*' $ac_mid + 1`
24782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24785 echo "$as_me: failed program was:" >&5
24786 sed 's/^/| /' conftest.
$ac_ext >&5
24788 cat >conftest.
$ac_ext <<_ACEOF
24791 cat confdefs.h
>>conftest.
$ac_ext
24792 cat >>conftest.
$ac_ext <<_ACEOF
24793 /* end confdefs.h. */
24794 $ac_includes_default
24795 typedef unsigned long ac__type_sizeof_;
24799 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24806 rm -f conftest.
$ac_objext
24807 if { (ac_try
="$ac_compile"
24808 case "(($ac_try" in
24809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24810 *) ac_try_echo=$ac_try;;
24812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24813 (eval "$ac_compile") 2>conftest.er1
24815 grep -v '^ *+' conftest.er1 >conftest.err
24817 cat conftest.err >&5
24818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24819 (exit $ac_status); } && {
24820 test -z "$ac_c_werror_flag" ||
24821 test ! -s conftest.err
24822 } && test -s conftest.$ac_objext; then
24825 cat >conftest.$ac_ext <<_ACEOF
24828 cat confdefs.h >>conftest.$ac_ext
24829 cat >>conftest.$ac_ext <<_ACEOF
24830 /* end confdefs.h. */
24831 $ac_includes_default
24832 typedef unsigned long ac__type_sizeof_;
24836 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24843 rm -f conftest.$ac_objext
24844 if { (ac_try="$ac_compile"
24845 case "(($ac_try" in
24846 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24847 *) ac_try_echo
=$ac_try;;
24849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24850 (eval "$ac_compile") 2>conftest.er1
24852 grep -v '^ *+' conftest.er1
>conftest.err
24854 cat conftest.err
>&5
24855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856 (exit $ac_status); } && {
24857 test -z "$ac_c_werror_flag" ||
24858 test ! -s conftest.err
24859 } && test -s conftest.
$ac_objext; then
24860 ac_lo
=$ac_mid; break
24862 echo "$as_me: failed program was:" >&5
24863 sed 's/^/| /' conftest.
$ac_ext >&5
24865 ac_hi
=`expr '(' $ac_mid ')' - 1`
24866 if test $ac_mid -le $ac_hi; then
24870 ac_mid
=`expr 2 '*' $ac_mid`
24873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24876 echo "$as_me: failed program was:" >&5
24877 sed 's/^/| /' conftest.
$ac_ext >&5
24882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24886 # Binary search between lo and hi bounds.
24887 while test "x$ac_lo" != "x$ac_hi"; do
24888 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24889 cat >conftest.
$ac_ext <<_ACEOF
24892 cat confdefs.h
>>conftest.
$ac_ext
24893 cat >>conftest.
$ac_ext <<_ACEOF
24894 /* end confdefs.h. */
24895 $ac_includes_default
24896 typedef unsigned long ac__type_sizeof_;
24900 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24907 rm -f conftest.
$ac_objext
24908 if { (ac_try
="$ac_compile"
24909 case "(($ac_try" in
24910 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24911 *) ac_try_echo=$ac_try;;
24913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24914 (eval "$ac_compile") 2>conftest.er1
24916 grep -v '^ *+' conftest.er1 >conftest.err
24918 cat conftest.err >&5
24919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24920 (exit $ac_status); } && {
24921 test -z "$ac_c_werror_flag" ||
24922 test ! -s conftest.err
24923 } && test -s conftest.$ac_objext; then
24926 echo "$as_me: failed program was:" >&5
24927 sed 's/^/| /' conftest.$ac_ext >&5
24929 ac_lo=`expr '(' $ac_mid ')' + 1`
24932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24935 ?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
24936 '') if test "$ac_cv_type_unsigned_long" = yes; then
24937 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
24938 See \`config.log
' for more details." >&5
24939 echo "$as_me: error: cannot compute sizeof (unsigned long)
24940 See \`config.log' for more details.
" >&2;}
24941 { (exit 77); exit 77; }; }
24943 ac_cv_sizeof_unsigned_long=0
24947 cat >conftest.$ac_ext <<_ACEOF
24950 cat confdefs.h >>conftest.$ac_ext
24951 cat >>conftest.$ac_ext <<_ACEOF
24952 /* end confdefs.h. */
24953 $ac_includes_default
24954 typedef unsigned long ac__type_sizeof_;
24955 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24956 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24958 #include <stdlib.h>
24963 FILE *f = fopen ("conftest.val
", "w
");
24966 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24968 long int i = longval ();
24969 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24971 fprintf (f, "%ld
\n", i);
24975 unsigned long int i = ulongval ();
24976 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24978 fprintf (f, "%lu
\n", i);
24980 return ferror (f) || fclose (f) != 0;
24986 rm -f conftest$ac_exeext
24987 if { (ac_try="$ac_link"
24988 case "(($ac_try" in
24989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24990 *) ac_try_echo=$ac_try;;
24992 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24993 (eval "$ac_link") 2>&5
24995 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24996 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24997 { (case "(($ac_try" in
24998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24999 *) ac_try_echo=$ac_try;;
25001 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25002 (eval "$ac_try") 2>&5
25004 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25005 (exit $ac_status); }; }; then
25006 ac_cv_sizeof_unsigned_long=`cat conftest.val`
25008 echo "$as_me: program exited with status
$ac_status" >&5
25009 echo "$as_me: failed program was
:" >&5
25010 sed 's/^/| /' conftest.$ac_ext >&5
25012 ( exit $ac_status )
25013 if test "$ac_cv_type_unsigned_long" = yes; then
25014 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned long
)
25015 See \
`config.log' for more details." >&5
25016 echo "$as_me: error: cannot compute sizeof (unsigned long)
25017 See \`config.log
' for more details." >&2;}
25018 { (exit 77); exit 77; }; }
25020 ac_cv_sizeof_unsigned_long=0
25023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25027 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
25028 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
25032 cat >>confdefs.h <<_ACEOF
25033 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
25037 { echo "$as_me:$LINENO: checking for unsigned long long" >&5
25038 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; }
25039 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
25040 echo $ECHO_N "(cached) $ECHO_C" >&6
25042 cat >conftest.$ac_ext <<_ACEOF
25045 cat confdefs.h >>conftest.$ac_ext
25046 cat >>conftest.$ac_ext <<_ACEOF
25047 /* end confdefs.h. */
25048 $ac_includes_default
25049 typedef unsigned long long ac__type_new_;
25053 if ((ac__type_new_ *) 0)
25055 if (sizeof (ac__type_new_))
25061 rm -f conftest.$ac_objext
25062 if { (ac_try="$ac_compile"
25063 case "(($ac_try" in
25064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25065 *) ac_try_echo=$ac_try;;
25067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25068 (eval "$ac_compile") 2>conftest.er1
25070 grep -v '^
*+' conftest.er1 >conftest.err
25072 cat conftest.err >&5
25073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25074 (exit $ac_status); } && {
25075 test -z "$ac_c_werror_flag" ||
25076 test ! -s conftest.err
25077 } && test -s conftest.$ac_objext; then
25078 ac_cv_type_unsigned_long_long=yes
25080 echo "$as_me: failed program was:" >&5
25081 sed 's
/^
/|
/' conftest.$ac_ext >&5
25083 ac_cv_type_unsigned_long_long=no
25086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25088 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
25089 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; }
25091 # The cast to long int works around a bug in the HP C Compiler
25092 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25093 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25094 # This bug is HP SR number 8606223364.
25095 { echo "$as_me:$LINENO: checking size of unsigned long long" >&5
25096 echo $ECHO_N "checking size of unsigned long long... $ECHO_C" >&6; }
25097 if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then
25098 echo $ECHO_N "(cached) $ECHO_C" >&6
25100 if test "$cross_compiling" = yes; then
25101 # Depending upon the size, compute the lo and hi bounds.
25102 cat >conftest.
$ac_ext <<_ACEOF
25105 cat confdefs.h
>>conftest.
$ac_ext
25106 cat >>conftest.
$ac_ext <<_ACEOF
25107 /* end confdefs.h. */
25108 $ac_includes_default
25109 typedef unsigned long long ac__type_sizeof_;
25113 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25120 rm -f conftest.
$ac_objext
25121 if { (ac_try
="$ac_compile"
25122 case "(($ac_try" in
25123 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25124 *) ac_try_echo=$ac_try;;
25126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25127 (eval "$ac_compile") 2>conftest.er1
25129 grep -v '^ *+' conftest.er1 >conftest.err
25131 cat conftest.err >&5
25132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25133 (exit $ac_status); } && {
25134 test -z "$ac_c_werror_flag" ||
25135 test ! -s conftest.err
25136 } && test -s conftest.$ac_objext; then
25139 cat >conftest.$ac_ext <<_ACEOF
25142 cat confdefs.h >>conftest.$ac_ext
25143 cat >>conftest.$ac_ext <<_ACEOF
25144 /* end confdefs.h. */
25145 $ac_includes_default
25146 typedef unsigned long long ac__type_sizeof_;
25150 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25157 rm -f conftest.$ac_objext
25158 if { (ac_try="$ac_compile"
25159 case "(($ac_try" in
25160 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25161 *) ac_try_echo
=$ac_try;;
25163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25164 (eval "$ac_compile") 2>conftest.er1
25166 grep -v '^ *+' conftest.er1
>conftest.err
25168 cat conftest.err
>&5
25169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25170 (exit $ac_status); } && {
25171 test -z "$ac_c_werror_flag" ||
25172 test ! -s conftest.err
25173 } && test -s conftest.
$ac_objext; then
25174 ac_hi
=$ac_mid; break
25176 echo "$as_me: failed program was:" >&5
25177 sed 's/^/| /' conftest.
$ac_ext >&5
25179 ac_lo
=`expr $ac_mid + 1`
25180 if test $ac_lo -le $ac_mid; then
25184 ac_mid
=`expr 2 '*' $ac_mid + 1`
25187 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25190 echo "$as_me: failed program was:" >&5
25191 sed 's/^/| /' conftest.
$ac_ext >&5
25193 cat >conftest.
$ac_ext <<_ACEOF
25196 cat confdefs.h
>>conftest.
$ac_ext
25197 cat >>conftest.
$ac_ext <<_ACEOF
25198 /* end confdefs.h. */
25199 $ac_includes_default
25200 typedef unsigned long long ac__type_sizeof_;
25204 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25211 rm -f conftest.
$ac_objext
25212 if { (ac_try
="$ac_compile"
25213 case "(($ac_try" in
25214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25215 *) ac_try_echo=$ac_try;;
25217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25218 (eval "$ac_compile") 2>conftest.er1
25220 grep -v '^ *+' conftest.er1 >conftest.err
25222 cat conftest.err >&5
25223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25224 (exit $ac_status); } && {
25225 test -z "$ac_c_werror_flag" ||
25226 test ! -s conftest.err
25227 } && test -s conftest.$ac_objext; then
25230 cat >conftest.$ac_ext <<_ACEOF
25233 cat confdefs.h >>conftest.$ac_ext
25234 cat >>conftest.$ac_ext <<_ACEOF
25235 /* end confdefs.h. */
25236 $ac_includes_default
25237 typedef unsigned long long ac__type_sizeof_;
25241 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25248 rm -f conftest.$ac_objext
25249 if { (ac_try="$ac_compile"
25250 case "(($ac_try" in
25251 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25252 *) ac_try_echo
=$ac_try;;
25254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25255 (eval "$ac_compile") 2>conftest.er1
25257 grep -v '^ *+' conftest.er1
>conftest.err
25259 cat conftest.err
>&5
25260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25261 (exit $ac_status); } && {
25262 test -z "$ac_c_werror_flag" ||
25263 test ! -s conftest.err
25264 } && test -s conftest.
$ac_objext; then
25265 ac_lo
=$ac_mid; break
25267 echo "$as_me: failed program was:" >&5
25268 sed 's/^/| /' conftest.
$ac_ext >&5
25270 ac_hi
=`expr '(' $ac_mid ')' - 1`
25271 if test $ac_mid -le $ac_hi; then
25275 ac_mid
=`expr 2 '*' $ac_mid`
25278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25281 echo "$as_me: failed program was:" >&5
25282 sed 's/^/| /' conftest.
$ac_ext >&5
25287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25291 # Binary search between lo and hi bounds.
25292 while test "x$ac_lo" != "x$ac_hi"; do
25293 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25294 cat >conftest.
$ac_ext <<_ACEOF
25297 cat confdefs.h
>>conftest.
$ac_ext
25298 cat >>conftest.
$ac_ext <<_ACEOF
25299 /* end confdefs.h. */
25300 $ac_includes_default
25301 typedef unsigned long long ac__type_sizeof_;
25305 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25312 rm -f conftest.
$ac_objext
25313 if { (ac_try
="$ac_compile"
25314 case "(($ac_try" in
25315 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25316 *) ac_try_echo=$ac_try;;
25318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25319 (eval "$ac_compile") 2>conftest.er1
25321 grep -v '^ *+' conftest.er1 >conftest.err
25323 cat conftest.err >&5
25324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25325 (exit $ac_status); } && {
25326 test -z "$ac_c_werror_flag" ||
25327 test ! -s conftest.err
25328 } && test -s conftest.$ac_objext; then
25331 echo "$as_me: failed program was:" >&5
25332 sed 's/^/| /' conftest.$ac_ext >&5
25334 ac_lo=`expr '(' $ac_mid ')' + 1`
25337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25340 ?*) ac_cv_sizeof_unsigned_long_long=$ac_lo;;
25341 '') if test "$ac_cv_type_unsigned_long_long" = yes; then
25342 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long)
25343 See \`config.log
' for more details." >&5
25344 echo "$as_me: error: cannot compute sizeof (unsigned long long)
25345 See \`config.log' for more details.
" >&2;}
25346 { (exit 77); exit 77; }; }
25348 ac_cv_sizeof_unsigned_long_long=0
25352 cat >conftest.$ac_ext <<_ACEOF
25355 cat confdefs.h >>conftest.$ac_ext
25356 cat >>conftest.$ac_ext <<_ACEOF
25357 /* end confdefs.h. */
25358 $ac_includes_default
25359 typedef unsigned long long ac__type_sizeof_;
25360 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25361 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25363 #include <stdlib.h>
25368 FILE *f = fopen ("conftest.val
", "w
");
25371 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25373 long int i = longval ();
25374 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25376 fprintf (f, "%ld
\n", i);
25380 unsigned long int i = ulongval ();
25381 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25383 fprintf (f, "%lu
\n", i);
25385 return ferror (f) || fclose (f) != 0;
25391 rm -f conftest$ac_exeext
25392 if { (ac_try="$ac_link"
25393 case "(($ac_try" in
25394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25395 *) ac_try_echo=$ac_try;;
25397 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25398 (eval "$ac_link") 2>&5
25400 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25401 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25402 { (case "(($ac_try" in
25403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25404 *) ac_try_echo=$ac_try;;
25406 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25407 (eval "$ac_try") 2>&5
25409 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25410 (exit $ac_status); }; }; then
25411 ac_cv_sizeof_unsigned_long_long=`cat conftest.val`
25413 echo "$as_me: program exited with status
$ac_status" >&5
25414 echo "$as_me: failed program was
:" >&5
25415 sed 's/^/| /' conftest.$ac_ext >&5
25417 ( exit $ac_status )
25418 if test "$ac_cv_type_unsigned_long_long" = yes; then
25419 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned long long
)
25420 See \
`config.log' for more details." >&5
25421 echo "$as_me: error: cannot compute sizeof (unsigned long long)
25422 See \`config.log
' for more details." >&2;}
25423 { (exit 77); exit 77; }; }
25425 ac_cv_sizeof_unsigned_long_long=0
25428 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25432 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long" >&5
25433 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long" >&6; }
25437 cat >>confdefs.h <<_ACEOF
25438 #define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
25442 { echo "$as_me:$LINENO: checking for int *" >&5
25443 echo $ECHO_N "checking for int *... $ECHO_C" >&6; }
25444 if test "${ac_cv_type_int_p+set}" = set; then
25445 echo $ECHO_N "(cached) $ECHO_C" >&6
25447 cat >conftest.$ac_ext <<_ACEOF
25450 cat confdefs.h >>conftest.$ac_ext
25451 cat >>conftest.$ac_ext <<_ACEOF
25452 /* end confdefs.h. */
25453 $ac_includes_default
25454 typedef int * ac__type_new_;
25458 if ((ac__type_new_ *) 0)
25460 if (sizeof (ac__type_new_))
25466 rm -f conftest.$ac_objext
25467 if { (ac_try="$ac_compile"
25468 case "(($ac_try" in
25469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25470 *) ac_try_echo=$ac_try;;
25472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25473 (eval "$ac_compile") 2>conftest.er1
25475 grep -v '^
*+' conftest.er1 >conftest.err
25477 cat conftest.err >&5
25478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25479 (exit $ac_status); } && {
25480 test -z "$ac_c_werror_flag" ||
25481 test ! -s conftest.err
25482 } && test -s conftest.$ac_objext; then
25483 ac_cv_type_int_p=yes
25485 echo "$as_me: failed program was:" >&5
25486 sed 's
/^
/|
/' conftest.$ac_ext >&5
25488 ac_cv_type_int_p=no
25491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25493 { echo "$as_me:$LINENO: result: $ac_cv_type_int_p" >&5
25494 echo "${ECHO_T}$ac_cv_type_int_p" >&6; }
25496 # The cast to long int works around a bug in the HP C Compiler
25497 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25498 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25499 # This bug is HP SR number 8606223364.
25500 { echo "$as_me:$LINENO: checking size of int *" >&5
25501 echo $ECHO_N "checking size of int *... $ECHO_C" >&6; }
25502 if test "${ac_cv_sizeof_int_p+set}" = set; then
25503 echo $ECHO_N "(cached) $ECHO_C" >&6
25505 if test "$cross_compiling" = yes; then
25506 # Depending upon the size, compute the lo and hi bounds.
25507 cat >conftest.
$ac_ext <<_ACEOF
25510 cat confdefs.h
>>conftest.
$ac_ext
25511 cat >>conftest.
$ac_ext <<_ACEOF
25512 /* end confdefs.h. */
25513 $ac_includes_default
25514 typedef int * ac__type_sizeof_;
25518 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25525 rm -f conftest.
$ac_objext
25526 if { (ac_try
="$ac_compile"
25527 case "(($ac_try" in
25528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25529 *) ac_try_echo=$ac_try;;
25531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25532 (eval "$ac_compile") 2>conftest.er1
25534 grep -v '^ *+' conftest.er1 >conftest.err
25536 cat conftest.err >&5
25537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25538 (exit $ac_status); } && {
25539 test -z "$ac_c_werror_flag" ||
25540 test ! -s conftest.err
25541 } && test -s conftest.$ac_objext; then
25544 cat >conftest.$ac_ext <<_ACEOF
25547 cat confdefs.h >>conftest.$ac_ext
25548 cat >>conftest.$ac_ext <<_ACEOF
25549 /* end confdefs.h. */
25550 $ac_includes_default
25551 typedef int * ac__type_sizeof_;
25555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25562 rm -f conftest.$ac_objext
25563 if { (ac_try="$ac_compile"
25564 case "(($ac_try" in
25565 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25566 *) ac_try_echo
=$ac_try;;
25568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25569 (eval "$ac_compile") 2>conftest.er1
25571 grep -v '^ *+' conftest.er1
>conftest.err
25573 cat conftest.err
>&5
25574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25575 (exit $ac_status); } && {
25576 test -z "$ac_c_werror_flag" ||
25577 test ! -s conftest.err
25578 } && test -s conftest.
$ac_objext; then
25579 ac_hi
=$ac_mid; break
25581 echo "$as_me: failed program was:" >&5
25582 sed 's/^/| /' conftest.
$ac_ext >&5
25584 ac_lo
=`expr $ac_mid + 1`
25585 if test $ac_lo -le $ac_mid; then
25589 ac_mid
=`expr 2 '*' $ac_mid + 1`
25592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25595 echo "$as_me: failed program was:" >&5
25596 sed 's/^/| /' conftest.
$ac_ext >&5
25598 cat >conftest.
$ac_ext <<_ACEOF
25601 cat confdefs.h
>>conftest.
$ac_ext
25602 cat >>conftest.
$ac_ext <<_ACEOF
25603 /* end confdefs.h. */
25604 $ac_includes_default
25605 typedef int * ac__type_sizeof_;
25609 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25616 rm -f conftest.
$ac_objext
25617 if { (ac_try
="$ac_compile"
25618 case "(($ac_try" in
25619 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25620 *) ac_try_echo=$ac_try;;
25622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25623 (eval "$ac_compile") 2>conftest.er1
25625 grep -v '^ *+' conftest.er1 >conftest.err
25627 cat conftest.err >&5
25628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25629 (exit $ac_status); } && {
25630 test -z "$ac_c_werror_flag" ||
25631 test ! -s conftest.err
25632 } && test -s conftest.$ac_objext; then
25635 cat >conftest.$ac_ext <<_ACEOF
25638 cat confdefs.h >>conftest.$ac_ext
25639 cat >>conftest.$ac_ext <<_ACEOF
25640 /* end confdefs.h. */
25641 $ac_includes_default
25642 typedef int * ac__type_sizeof_;
25646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25653 rm -f conftest.$ac_objext
25654 if { (ac_try="$ac_compile"
25655 case "(($ac_try" in
25656 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25657 *) ac_try_echo
=$ac_try;;
25659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25660 (eval "$ac_compile") 2>conftest.er1
25662 grep -v '^ *+' conftest.er1
>conftest.err
25664 cat conftest.err
>&5
25665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25666 (exit $ac_status); } && {
25667 test -z "$ac_c_werror_flag" ||
25668 test ! -s conftest.err
25669 } && test -s conftest.
$ac_objext; then
25670 ac_lo
=$ac_mid; break
25672 echo "$as_me: failed program was:" >&5
25673 sed 's/^/| /' conftest.
$ac_ext >&5
25675 ac_hi
=`expr '(' $ac_mid ')' - 1`
25676 if test $ac_mid -le $ac_hi; then
25680 ac_mid
=`expr 2 '*' $ac_mid`
25683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25686 echo "$as_me: failed program was:" >&5
25687 sed 's/^/| /' conftest.
$ac_ext >&5
25692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25696 # Binary search between lo and hi bounds.
25697 while test "x$ac_lo" != "x$ac_hi"; do
25698 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25699 cat >conftest.
$ac_ext <<_ACEOF
25702 cat confdefs.h
>>conftest.
$ac_ext
25703 cat >>conftest.
$ac_ext <<_ACEOF
25704 /* end confdefs.h. */
25705 $ac_includes_default
25706 typedef int * ac__type_sizeof_;
25710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25717 rm -f conftest.
$ac_objext
25718 if { (ac_try
="$ac_compile"
25719 case "(($ac_try" in
25720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25721 *) ac_try_echo=$ac_try;;
25723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25724 (eval "$ac_compile") 2>conftest.er1
25726 grep -v '^ *+' conftest.er1 >conftest.err
25728 cat conftest.err >&5
25729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25730 (exit $ac_status); } && {
25731 test -z "$ac_c_werror_flag" ||
25732 test ! -s conftest.err
25733 } && test -s conftest.$ac_objext; then
25736 echo "$as_me: failed program was:" >&5
25737 sed 's/^/| /' conftest.$ac_ext >&5
25739 ac_lo=`expr '(' $ac_mid ')' + 1`
25742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25745 ?*) ac_cv_sizeof_int_p=$ac_lo;;
25746 '') if test "$ac_cv_type_int_p" = yes; then
25747 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *)
25748 See \`config.log
' for more details." >&5
25749 echo "$as_me: error: cannot compute sizeof (int *)
25750 See \`config.log' for more details.
" >&2;}
25751 { (exit 77); exit 77; }; }
25753 ac_cv_sizeof_int_p=0
25757 cat >conftest.$ac_ext <<_ACEOF
25760 cat confdefs.h >>conftest.$ac_ext
25761 cat >>conftest.$ac_ext <<_ACEOF
25762 /* end confdefs.h. */
25763 $ac_includes_default
25764 typedef int * ac__type_sizeof_;
25765 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25766 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25768 #include <stdlib.h>
25773 FILE *f = fopen ("conftest.val
", "w
");
25776 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25778 long int i = longval ();
25779 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25781 fprintf (f, "%ld
\n", i);
25785 unsigned long int i = ulongval ();
25786 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25788 fprintf (f, "%lu
\n", i);
25790 return ferror (f) || fclose (f) != 0;
25796 rm -f conftest$ac_exeext
25797 if { (ac_try="$ac_link"
25798 case "(($ac_try" in
25799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25800 *) ac_try_echo=$ac_try;;
25802 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25803 (eval "$ac_link") 2>&5
25805 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25806 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25807 { (case "(($ac_try" in
25808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25809 *) ac_try_echo=$ac_try;;
25811 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25812 (eval "$ac_try") 2>&5
25814 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25815 (exit $ac_status); }; }; then
25816 ac_cv_sizeof_int_p=`cat conftest.val`
25818 echo "$as_me: program exited with status
$ac_status" >&5
25819 echo "$as_me: failed program was
:" >&5
25820 sed 's/^/| /' conftest.$ac_ext >&5
25822 ( exit $ac_status )
25823 if test "$ac_cv_type_int_p" = yes; then
25824 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
*)
25825 See \
`config.log' for more details." >&5
25826 echo "$as_me: error: cannot compute sizeof (int *)
25827 See \`config.log
' for more details." >&2;}
25828 { (exit 77); exit 77; }; }
25830 ac_cv_sizeof_int_p=0
25833 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25837 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int_p" >&5
25838 echo "${ECHO_T}$ac_cv_sizeof_int_p" >&6; }
25842 cat >>confdefs.h <<_ACEOF
25843 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
25848 for ac_func in getenv
25850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25851 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25853 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25854 echo $ECHO_N "(cached) $ECHO_C" >&6
25856 cat >conftest.$ac_ext <<_ACEOF
25859 cat confdefs.h >>conftest.$ac_ext
25860 cat >>conftest.$ac_ext <<_ACEOF
25861 /* end confdefs.h. */
25862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25864 #define $ac_func innocuous_$ac_func
25866 /* System header to define __stub macros and hopefully few prototypes,
25867 which can conflict with char $ac_func (); below.
25868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25869 <limits.h> exists even on freestanding compilers. */
25872 # include <limits.h>
25874 # include <assert.h>
25879 /* Override any GCC internal prototype to avoid an error.
25880 Use char because int might match the return type of a GCC
25881 builtin and then its argument prototype would still apply. */
25886 /* The GNU C library defines this for functions which it implements
25887 to always fail with ENOSYS. Some functions are actually named
25888 something starting with __ and the normal name is an alias. */
25889 #if defined __stub_$ac_func || defined __stub___$ac_func
25896 return $ac_func ();
25901 rm -f conftest.$ac_objext conftest$ac_exeext
25902 if { (ac_try="$ac_link"
25903 case "(($ac_try" in
25904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25905 *) ac_try_echo=$ac_try;;
25907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25908 (eval "$ac_link") 2>conftest.er1
25910 grep -v '^
*+' conftest.er1 >conftest.err
25912 cat conftest.err >&5
25913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25914 (exit $ac_status); } && {
25915 test -z "$ac_c_werror_flag" ||
25916 test ! -s conftest.err
25917 } && test -s conftest$ac_exeext &&
25918 $as_test_x conftest$ac_exeext; then
25919 eval "$as_ac_var=yes"
25921 echo "$as_me: failed program was:" >&5
25922 sed 's
/^
/|
/' conftest.$ac_ext >&5
25924 eval "$as_ac_var=no"
25927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25928 conftest$ac_exeext conftest.$ac_ext
25930 ac_res=`eval echo '${'$as_ac_var'}'`
25931 { echo "$as_me:$LINENO: result: $ac_res" >&5
25932 echo "${ECHO_T}$ac_res" >&6; }
25933 if test `eval echo '${'$as_ac_var'}'` = yes; then
25934 cat >>confdefs.h <<_ACEOF
25935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25937 cat >>confdefs.h <<\_ACEOF
25938 #define BX_HAVE_GETENV 1
25945 for ac_func in setenv
25947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25948 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25950 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25951 echo $ECHO_N "(cached) $ECHO_C" >&6
25953 cat >conftest.$ac_ext <<_ACEOF
25956 cat confdefs.h >>conftest.$ac_ext
25957 cat >>conftest.$ac_ext <<_ACEOF
25958 /* end confdefs.h. */
25959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25961 #define $ac_func innocuous_$ac_func
25963 /* System header to define __stub macros and hopefully few prototypes,
25964 which can conflict with char $ac_func (); below.
25965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25966 <limits.h> exists even on freestanding compilers. */
25969 # include <limits.h>
25971 # include <assert.h>
25976 /* Override any GCC internal prototype to avoid an error.
25977 Use char because int might match the return type of a GCC
25978 builtin and then its argument prototype would still apply. */
25983 /* The GNU C library defines this for functions which it implements
25984 to always fail with ENOSYS. Some functions are actually named
25985 something starting with __ and the normal name is an alias. */
25986 #if defined __stub_$ac_func || defined __stub___$ac_func
25993 return $ac_func ();
25998 rm -f conftest.$ac_objext conftest$ac_exeext
25999 if { (ac_try="$ac_link"
26000 case "(($ac_try" in
26001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26002 *) ac_try_echo=$ac_try;;
26004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26005 (eval "$ac_link") 2>conftest.er1
26007 grep -v '^
*+' conftest.er1 >conftest.err
26009 cat conftest.err >&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); } && {
26012 test -z "$ac_c_werror_flag" ||
26013 test ! -s conftest.err
26014 } && test -s conftest$ac_exeext &&
26015 $as_test_x conftest$ac_exeext; then
26016 eval "$as_ac_var=yes"
26018 echo "$as_me: failed program was:" >&5
26019 sed 's
/^
/|
/' conftest.$ac_ext >&5
26021 eval "$as_ac_var=no"
26024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26025 conftest$ac_exeext conftest.$ac_ext
26027 ac_res=`eval echo '${'$as_ac_var'}'`
26028 { echo "$as_me:$LINENO: result: $ac_res" >&5
26029 echo "${ECHO_T}$ac_res" >&6; }
26030 if test `eval echo '${'$as_ac_var'}'` = yes; then
26031 cat >>confdefs.h <<_ACEOF
26032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26034 cat >>confdefs.h <<\_ACEOF
26035 #define BX_HAVE_SETENV 1
26042 for ac_func in select
26044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26045 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26047 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26048 echo $ECHO_N "(cached) $ECHO_C" >&6
26050 cat >conftest.$ac_ext <<_ACEOF
26053 cat confdefs.h >>conftest.$ac_ext
26054 cat >>conftest.$ac_ext <<_ACEOF
26055 /* end confdefs.h. */
26056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26058 #define $ac_func innocuous_$ac_func
26060 /* System header to define __stub macros and hopefully few prototypes,
26061 which can conflict with char $ac_func (); below.
26062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26063 <limits.h> exists even on freestanding compilers. */
26066 # include <limits.h>
26068 # include <assert.h>
26073 /* Override any GCC internal prototype to avoid an error.
26074 Use char because int might match the return type of a GCC
26075 builtin and then its argument prototype would still apply. */
26080 /* The GNU C library defines this for functions which it implements
26081 to always fail with ENOSYS. Some functions are actually named
26082 something starting with __ and the normal name is an alias. */
26083 #if defined __stub_$ac_func || defined __stub___$ac_func
26090 return $ac_func ();
26095 rm -f conftest.$ac_objext conftest$ac_exeext
26096 if { (ac_try="$ac_link"
26097 case "(($ac_try" in
26098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26099 *) ac_try_echo=$ac_try;;
26101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26102 (eval "$ac_link") 2>conftest.er1
26104 grep -v '^
*+' conftest.er1 >conftest.err
26106 cat conftest.err >&5
26107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26108 (exit $ac_status); } && {
26109 test -z "$ac_c_werror_flag" ||
26110 test ! -s conftest.err
26111 } && test -s conftest$ac_exeext &&
26112 $as_test_x conftest$ac_exeext; then
26113 eval "$as_ac_var=yes"
26115 echo "$as_me: failed program was:" >&5
26116 sed 's
/^
/|
/' conftest.$ac_ext >&5
26118 eval "$as_ac_var=no"
26121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26122 conftest$ac_exeext conftest.$ac_ext
26124 ac_res=`eval echo '${'$as_ac_var'}'`
26125 { echo "$as_me:$LINENO: result: $ac_res" >&5
26126 echo "${ECHO_T}$ac_res" >&6; }
26127 if test `eval echo '${'$as_ac_var'}'` = yes; then
26128 cat >>confdefs.h <<_ACEOF
26129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26131 cat >>confdefs.h <<\_ACEOF
26132 #define BX_HAVE_SELECT 1
26139 for ac_func in snprintf
26141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26142 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26144 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26145 echo $ECHO_N "(cached) $ECHO_C" >&6
26147 cat >conftest.$ac_ext <<_ACEOF
26150 cat confdefs.h >>conftest.$ac_ext
26151 cat >>conftest.$ac_ext <<_ACEOF
26152 /* end confdefs.h. */
26153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26155 #define $ac_func innocuous_$ac_func
26157 /* System header to define __stub macros and hopefully few prototypes,
26158 which can conflict with char $ac_func (); below.
26159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26160 <limits.h> exists even on freestanding compilers. */
26163 # include <limits.h>
26165 # include <assert.h>
26170 /* Override any GCC internal prototype to avoid an error.
26171 Use char because int might match the return type of a GCC
26172 builtin and then its argument prototype would still apply. */
26177 /* The GNU C library defines this for functions which it implements
26178 to always fail with ENOSYS. Some functions are actually named
26179 something starting with __ and the normal name is an alias. */
26180 #if defined __stub_$ac_func || defined __stub___$ac_func
26187 return $ac_func ();
26192 rm -f conftest.$ac_objext conftest$ac_exeext
26193 if { (ac_try="$ac_link"
26194 case "(($ac_try" in
26195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26196 *) ac_try_echo=$ac_try;;
26198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26199 (eval "$ac_link") 2>conftest.er1
26201 grep -v '^
*+' conftest.er1 >conftest.err
26203 cat conftest.err >&5
26204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26205 (exit $ac_status); } && {
26206 test -z "$ac_c_werror_flag" ||
26207 test ! -s conftest.err
26208 } && test -s conftest$ac_exeext &&
26209 $as_test_x conftest$ac_exeext; then
26210 eval "$as_ac_var=yes"
26212 echo "$as_me: failed program was:" >&5
26213 sed 's
/^
/|
/' conftest.$ac_ext >&5
26215 eval "$as_ac_var=no"
26218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26219 conftest$ac_exeext conftest.$ac_ext
26221 ac_res=`eval echo '${'$as_ac_var'}'`
26222 { echo "$as_me:$LINENO: result: $ac_res" >&5
26223 echo "${ECHO_T}$ac_res" >&6; }
26224 if test `eval echo '${'$as_ac_var'}'` = yes; then
26225 cat >>confdefs.h <<_ACEOF
26226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26228 cat >>confdefs.h <<\_ACEOF
26229 #define BX_HAVE_SNPRINTF 1
26236 for ac_func in vsnprintf
26238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26239 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26241 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26242 echo $ECHO_N "(cached) $ECHO_C" >&6
26244 cat >conftest.$ac_ext <<_ACEOF
26247 cat confdefs.h >>conftest.$ac_ext
26248 cat >>conftest.$ac_ext <<_ACEOF
26249 /* end confdefs.h. */
26250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26252 #define $ac_func innocuous_$ac_func
26254 /* System header to define __stub macros and hopefully few prototypes,
26255 which can conflict with char $ac_func (); below.
26256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26257 <limits.h> exists even on freestanding compilers. */
26260 # include <limits.h>
26262 # include <assert.h>
26267 /* Override any GCC internal prototype to avoid an error.
26268 Use char because int might match the return type of a GCC
26269 builtin and then its argument prototype would still apply. */
26274 /* The GNU C library defines this for functions which it implements
26275 to always fail with ENOSYS. Some functions are actually named
26276 something starting with __ and the normal name is an alias. */
26277 #if defined __stub_$ac_func || defined __stub___$ac_func
26284 return $ac_func ();
26289 rm -f conftest.$ac_objext conftest$ac_exeext
26290 if { (ac_try="$ac_link"
26291 case "(($ac_try" in
26292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26293 *) ac_try_echo=$ac_try;;
26295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26296 (eval "$ac_link") 2>conftest.er1
26298 grep -v '^
*+' conftest.er1 >conftest.err
26300 cat conftest.err >&5
26301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26302 (exit $ac_status); } && {
26303 test -z "$ac_c_werror_flag" ||
26304 test ! -s conftest.err
26305 } && test -s conftest$ac_exeext &&
26306 $as_test_x conftest$ac_exeext; then
26307 eval "$as_ac_var=yes"
26309 echo "$as_me: failed program was:" >&5
26310 sed 's
/^
/|
/' conftest.$ac_ext >&5
26312 eval "$as_ac_var=no"
26315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26316 conftest$ac_exeext conftest.$ac_ext
26318 ac_res=`eval echo '${'$as_ac_var'}'`
26319 { echo "$as_me:$LINENO: result: $ac_res" >&5
26320 echo "${ECHO_T}$ac_res" >&6; }
26321 if test `eval echo '${'$as_ac_var'}'` = yes; then
26322 cat >>confdefs.h <<_ACEOF
26323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26325 cat >>confdefs.h <<\_ACEOF
26326 #define BX_HAVE_VSNPRINTF 1
26333 for ac_func in strtoull
26335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26336 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26338 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26339 echo $ECHO_N "(cached) $ECHO_C" >&6
26341 cat >conftest.$ac_ext <<_ACEOF
26344 cat confdefs.h >>conftest.$ac_ext
26345 cat >>conftest.$ac_ext <<_ACEOF
26346 /* end confdefs.h. */
26347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26349 #define $ac_func innocuous_$ac_func
26351 /* System header to define __stub macros and hopefully few prototypes,
26352 which can conflict with char $ac_func (); below.
26353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26354 <limits.h> exists even on freestanding compilers. */
26357 # include <limits.h>
26359 # include <assert.h>
26364 /* Override any GCC internal prototype to avoid an error.
26365 Use char because int might match the return type of a GCC
26366 builtin and then its argument prototype would still apply. */
26371 /* The GNU C library defines this for functions which it implements
26372 to always fail with ENOSYS. Some functions are actually named
26373 something starting with __ and the normal name is an alias. */
26374 #if defined __stub_$ac_func || defined __stub___$ac_func
26381 return $ac_func ();
26386 rm -f conftest.$ac_objext conftest$ac_exeext
26387 if { (ac_try="$ac_link"
26388 case "(($ac_try" in
26389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26390 *) ac_try_echo=$ac_try;;
26392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26393 (eval "$ac_link") 2>conftest.er1
26395 grep -v '^
*+' conftest.er1 >conftest.err
26397 cat conftest.err >&5
26398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26399 (exit $ac_status); } && {
26400 test -z "$ac_c_werror_flag" ||
26401 test ! -s conftest.err
26402 } && test -s conftest$ac_exeext &&
26403 $as_test_x conftest$ac_exeext; then
26404 eval "$as_ac_var=yes"
26406 echo "$as_me: failed program was:" >&5
26407 sed 's
/^
/|
/' conftest.$ac_ext >&5
26409 eval "$as_ac_var=no"
26412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26413 conftest$ac_exeext conftest.$ac_ext
26415 ac_res=`eval echo '${'$as_ac_var'}'`
26416 { echo "$as_me:$LINENO: result: $ac_res" >&5
26417 echo "${ECHO_T}$ac_res" >&6; }
26418 if test `eval echo '${'$as_ac_var'}'` = yes; then
26419 cat >>confdefs.h <<_ACEOF
26420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26422 cat >>confdefs.h <<\_ACEOF
26423 #define BX_HAVE_STRTOULL 1
26430 for ac_func in strtouq
26432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26433 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26435 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26436 echo $ECHO_N "(cached) $ECHO_C" >&6
26438 cat >conftest.$ac_ext <<_ACEOF
26441 cat confdefs.h >>conftest.$ac_ext
26442 cat >>conftest.$ac_ext <<_ACEOF
26443 /* end confdefs.h. */
26444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26446 #define $ac_func innocuous_$ac_func
26448 /* System header to define __stub macros and hopefully few prototypes,
26449 which can conflict with char $ac_func (); below.
26450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26451 <limits.h> exists even on freestanding compilers. */
26454 # include <limits.h>
26456 # include <assert.h>
26461 /* Override any GCC internal prototype to avoid an error.
26462 Use char because int might match the return type of a GCC
26463 builtin and then its argument prototype would still apply. */
26468 /* The GNU C library defines this for functions which it implements
26469 to always fail with ENOSYS. Some functions are actually named
26470 something starting with __ and the normal name is an alias. */
26471 #if defined __stub_$ac_func || defined __stub___$ac_func
26478 return $ac_func ();
26483 rm -f conftest.$ac_objext conftest$ac_exeext
26484 if { (ac_try="$ac_link"
26485 case "(($ac_try" in
26486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26487 *) ac_try_echo=$ac_try;;
26489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26490 (eval "$ac_link") 2>conftest.er1
26492 grep -v '^
*+' conftest.er1 >conftest.err
26494 cat conftest.err >&5
26495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26496 (exit $ac_status); } && {
26497 test -z "$ac_c_werror_flag" ||
26498 test ! -s conftest.err
26499 } && test -s conftest$ac_exeext &&
26500 $as_test_x conftest$ac_exeext; then
26501 eval "$as_ac_var=yes"
26503 echo "$as_me: failed program was:" >&5
26504 sed 's
/^
/|
/' conftest.$ac_ext >&5
26506 eval "$as_ac_var=no"
26509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26510 conftest$ac_exeext conftest.$ac_ext
26512 ac_res=`eval echo '${'$as_ac_var'}'`
26513 { echo "$as_me:$LINENO: result: $ac_res" >&5
26514 echo "${ECHO_T}$ac_res" >&6; }
26515 if test `eval echo '${'$as_ac_var'}'` = yes; then
26516 cat >>confdefs.h <<_ACEOF
26517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26519 cat >>confdefs.h <<\_ACEOF
26520 #define BX_HAVE_STRTOUQ 1
26527 for ac_func in strdup
26529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26530 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26532 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26533 echo $ECHO_N "(cached) $ECHO_C" >&6
26535 cat >conftest.$ac_ext <<_ACEOF
26538 cat confdefs.h >>conftest.$ac_ext
26539 cat >>conftest.$ac_ext <<_ACEOF
26540 /* end confdefs.h. */
26541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26543 #define $ac_func innocuous_$ac_func
26545 /* System header to define __stub macros and hopefully few prototypes,
26546 which can conflict with char $ac_func (); below.
26547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26548 <limits.h> exists even on freestanding compilers. */
26551 # include <limits.h>
26553 # include <assert.h>
26558 /* Override any GCC internal prototype to avoid an error.
26559 Use char because int might match the return type of a GCC
26560 builtin and then its argument prototype would still apply. */
26565 /* The GNU C library defines this for functions which it implements
26566 to always fail with ENOSYS. Some functions are actually named
26567 something starting with __ and the normal name is an alias. */
26568 #if defined __stub_$ac_func || defined __stub___$ac_func
26575 return $ac_func ();
26580 rm -f conftest.$ac_objext conftest$ac_exeext
26581 if { (ac_try="$ac_link"
26582 case "(($ac_try" in
26583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26584 *) ac_try_echo=$ac_try;;
26586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26587 (eval "$ac_link") 2>conftest.er1
26589 grep -v '^
*+' conftest.er1 >conftest.err
26591 cat conftest.err >&5
26592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26593 (exit $ac_status); } && {
26594 test -z "$ac_c_werror_flag" ||
26595 test ! -s conftest.err
26596 } && test -s conftest$ac_exeext &&
26597 $as_test_x conftest$ac_exeext; then
26598 eval "$as_ac_var=yes"
26600 echo "$as_me: failed program was:" >&5
26601 sed 's
/^
/|
/' conftest.$ac_ext >&5
26603 eval "$as_ac_var=no"
26606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26607 conftest$ac_exeext conftest.$ac_ext
26609 ac_res=`eval echo '${'$as_ac_var'}'`
26610 { echo "$as_me:$LINENO: result: $ac_res" >&5
26611 echo "${ECHO_T}$ac_res" >&6; }
26612 if test `eval echo '${'$as_ac_var'}'` = yes; then
26613 cat >>confdefs.h <<_ACEOF
26614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26616 cat >>confdefs.h <<\_ACEOF
26617 #define BX_HAVE_STRDUP 1
26624 for ac_func in strrev
26626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26627 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26629 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26630 echo $ECHO_N "(cached) $ECHO_C" >&6
26632 cat >conftest.$ac_ext <<_ACEOF
26635 cat confdefs.h >>conftest.$ac_ext
26636 cat >>conftest.$ac_ext <<_ACEOF
26637 /* end confdefs.h. */
26638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26640 #define $ac_func innocuous_$ac_func
26642 /* System header to define __stub macros and hopefully few prototypes,
26643 which can conflict with char $ac_func (); below.
26644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26645 <limits.h> exists even on freestanding compilers. */
26648 # include <limits.h>
26650 # include <assert.h>
26655 /* Override any GCC internal prototype to avoid an error.
26656 Use char because int might match the return type of a GCC
26657 builtin and then its argument prototype would still apply. */
26662 /* The GNU C library defines this for functions which it implements
26663 to always fail with ENOSYS. Some functions are actually named
26664 something starting with __ and the normal name is an alias. */
26665 #if defined __stub_$ac_func || defined __stub___$ac_func
26672 return $ac_func ();
26677 rm -f conftest.$ac_objext conftest$ac_exeext
26678 if { (ac_try="$ac_link"
26679 case "(($ac_try" in
26680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26681 *) ac_try_echo=$ac_try;;
26683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26684 (eval "$ac_link") 2>conftest.er1
26686 grep -v '^
*+' conftest.er1 >conftest.err
26688 cat conftest.err >&5
26689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26690 (exit $ac_status); } && {
26691 test -z "$ac_c_werror_flag" ||
26692 test ! -s conftest.err
26693 } && test -s conftest$ac_exeext &&
26694 $as_test_x conftest$ac_exeext; then
26695 eval "$as_ac_var=yes"
26697 echo "$as_me: failed program was:" >&5
26698 sed 's
/^
/|
/' conftest.$ac_ext >&5
26700 eval "$as_ac_var=no"
26703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26704 conftest$ac_exeext conftest.$ac_ext
26706 ac_res=`eval echo '${'$as_ac_var'}'`
26707 { echo "$as_me:$LINENO: result: $ac_res" >&5
26708 echo "${ECHO_T}$ac_res" >&6; }
26709 if test `eval echo '${'$as_ac_var'}'` = yes; then
26710 cat >>confdefs.h <<_ACEOF
26711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26713 cat >>confdefs.h <<\_ACEOF
26714 #define BX_HAVE_STRREV 1
26721 for ac_func in sleep
26723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26724 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26726 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26727 echo $ECHO_N "(cached) $ECHO_C" >&6
26729 cat >conftest.$ac_ext <<_ACEOF
26732 cat confdefs.h >>conftest.$ac_ext
26733 cat >>conftest.$ac_ext <<_ACEOF
26734 /* end confdefs.h. */
26735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26737 #define $ac_func innocuous_$ac_func
26739 /* System header to define __stub macros and hopefully few prototypes,
26740 which can conflict with char $ac_func (); below.
26741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26742 <limits.h> exists even on freestanding compilers. */
26745 # include <limits.h>
26747 # include <assert.h>
26752 /* Override any GCC internal prototype to avoid an error.
26753 Use char because int might match the return type of a GCC
26754 builtin and then its argument prototype would still apply. */
26759 /* The GNU C library defines this for functions which it implements
26760 to always fail with ENOSYS. Some functions are actually named
26761 something starting with __ and the normal name is an alias. */
26762 #if defined __stub_$ac_func || defined __stub___$ac_func
26769 return $ac_func ();
26774 rm -f conftest.$ac_objext conftest$ac_exeext
26775 if { (ac_try="$ac_link"
26776 case "(($ac_try" in
26777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26778 *) ac_try_echo=$ac_try;;
26780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26781 (eval "$ac_link") 2>conftest.er1
26783 grep -v '^
*+' conftest.er1 >conftest.err
26785 cat conftest.err >&5
26786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26787 (exit $ac_status); } && {
26788 test -z "$ac_c_werror_flag" ||
26789 test ! -s conftest.err
26790 } && test -s conftest$ac_exeext &&
26791 $as_test_x conftest$ac_exeext; then
26792 eval "$as_ac_var=yes"
26794 echo "$as_me: failed program was:" >&5
26795 sed 's
/^
/|
/' conftest.$ac_ext >&5
26797 eval "$as_ac_var=no"
26800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26801 conftest$ac_exeext conftest.$ac_ext
26803 ac_res=`eval echo '${'$as_ac_var'}'`
26804 { echo "$as_me:$LINENO: result: $ac_res" >&5
26805 echo "${ECHO_T}$ac_res" >&6; }
26806 if test `eval echo '${'$as_ac_var'}'` = yes; then
26807 cat >>confdefs.h <<_ACEOF
26808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26810 cat >>confdefs.h <<\_ACEOF
26811 #define BX_HAVE_SLEEP 1
26818 for ac_func in usleep
26820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26821 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26823 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26824 echo $ECHO_N "(cached) $ECHO_C" >&6
26826 cat >conftest.$ac_ext <<_ACEOF
26829 cat confdefs.h >>conftest.$ac_ext
26830 cat >>conftest.$ac_ext <<_ACEOF
26831 /* end confdefs.h. */
26832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26834 #define $ac_func innocuous_$ac_func
26836 /* System header to define __stub macros and hopefully few prototypes,
26837 which can conflict with char $ac_func (); below.
26838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26839 <limits.h> exists even on freestanding compilers. */
26842 # include <limits.h>
26844 # include <assert.h>
26849 /* Override any GCC internal prototype to avoid an error.
26850 Use char because int might match the return type of a GCC
26851 builtin and then its argument prototype would still apply. */
26856 /* The GNU C library defines this for functions which it implements
26857 to always fail with ENOSYS. Some functions are actually named
26858 something starting with __ and the normal name is an alias. */
26859 #if defined __stub_$ac_func || defined __stub___$ac_func
26866 return $ac_func ();
26871 rm -f conftest.$ac_objext conftest$ac_exeext
26872 if { (ac_try="$ac_link"
26873 case "(($ac_try" in
26874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26875 *) ac_try_echo=$ac_try;;
26877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26878 (eval "$ac_link") 2>conftest.er1
26880 grep -v '^
*+' conftest.er1 >conftest.err
26882 cat conftest.err >&5
26883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26884 (exit $ac_status); } && {
26885 test -z "$ac_c_werror_flag" ||
26886 test ! -s conftest.err
26887 } && test -s conftest$ac_exeext &&
26888 $as_test_x conftest$ac_exeext; then
26889 eval "$as_ac_var=yes"
26891 echo "$as_me: failed program was:" >&5
26892 sed 's
/^
/|
/' conftest.$ac_ext >&5
26894 eval "$as_ac_var=no"
26897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26898 conftest$ac_exeext conftest.$ac_ext
26900 ac_res=`eval echo '${'$as_ac_var'}'`
26901 { echo "$as_me:$LINENO: result: $ac_res" >&5
26902 echo "${ECHO_T}$ac_res" >&6; }
26903 if test `eval echo '${'$as_ac_var'}'` = yes; then
26904 cat >>confdefs.h <<_ACEOF
26905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26907 cat >>confdefs.h <<\_ACEOF
26908 #define BX_HAVE_USLEEP 1
26915 for ac_func in nanosleep
26917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26918 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26920 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26921 echo $ECHO_N "(cached) $ECHO_C" >&6
26923 cat >conftest.$ac_ext <<_ACEOF
26926 cat confdefs.h >>conftest.$ac_ext
26927 cat >>conftest.$ac_ext <<_ACEOF
26928 /* end confdefs.h. */
26929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26931 #define $ac_func innocuous_$ac_func
26933 /* System header to define __stub macros and hopefully few prototypes,
26934 which can conflict with char $ac_func (); below.
26935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26936 <limits.h> exists even on freestanding compilers. */
26939 # include <limits.h>
26941 # include <assert.h>
26946 /* Override any GCC internal prototype to avoid an error.
26947 Use char because int might match the return type of a GCC
26948 builtin and then its argument prototype would still apply. */
26953 /* The GNU C library defines this for functions which it implements
26954 to always fail with ENOSYS. Some functions are actually named
26955 something starting with __ and the normal name is an alias. */
26956 #if defined __stub_$ac_func || defined __stub___$ac_func
26963 return $ac_func ();
26968 rm -f conftest.$ac_objext conftest$ac_exeext
26969 if { (ac_try="$ac_link"
26970 case "(($ac_try" in
26971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26972 *) ac_try_echo=$ac_try;;
26974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26975 (eval "$ac_link") 2>conftest.er1
26977 grep -v '^
*+' conftest.er1 >conftest.err
26979 cat conftest.err >&5
26980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26981 (exit $ac_status); } && {
26982 test -z "$ac_c_werror_flag" ||
26983 test ! -s conftest.err
26984 } && test -s conftest$ac_exeext &&
26985 $as_test_x conftest$ac_exeext; then
26986 eval "$as_ac_var=yes"
26988 echo "$as_me: failed program was:" >&5
26989 sed 's
/^
/|
/' conftest.$ac_ext >&5
26991 eval "$as_ac_var=no"
26994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26995 conftest$ac_exeext conftest.$ac_ext
26997 ac_res=`eval echo '${'$as_ac_var'}'`
26998 { echo "$as_me:$LINENO: result: $ac_res" >&5
26999 echo "${ECHO_T}$ac_res" >&6; }
27000 if test `eval echo '${'$as_ac_var'}'` = yes; then
27001 cat >>confdefs.h <<_ACEOF
27002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27004 cat >>confdefs.h <<\_ACEOF
27005 #define BX_HAVE_NANOSLEEP 1
27012 for ac_func in abort
27014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27015 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27017 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27018 echo $ECHO_N "(cached) $ECHO_C" >&6
27020 cat >conftest.$ac_ext <<_ACEOF
27023 cat confdefs.h >>conftest.$ac_ext
27024 cat >>conftest.$ac_ext <<_ACEOF
27025 /* end confdefs.h. */
27026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27028 #define $ac_func innocuous_$ac_func
27030 /* System header to define __stub macros and hopefully few prototypes,
27031 which can conflict with char $ac_func (); below.
27032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27033 <limits.h> exists even on freestanding compilers. */
27036 # include <limits.h>
27038 # include <assert.h>
27043 /* Override any GCC internal prototype to avoid an error.
27044 Use char because int might match the return type of a GCC
27045 builtin and then its argument prototype would still apply. */
27050 /* The GNU C library defines this for functions which it implements
27051 to always fail with ENOSYS. Some functions are actually named
27052 something starting with __ and the normal name is an alias. */
27053 #if defined __stub_$ac_func || defined __stub___$ac_func
27060 return $ac_func ();
27065 rm -f conftest.$ac_objext conftest$ac_exeext
27066 if { (ac_try="$ac_link"
27067 case "(($ac_try" in
27068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27069 *) ac_try_echo=$ac_try;;
27071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27072 (eval "$ac_link") 2>conftest.er1
27074 grep -v '^
*+' conftest.er1 >conftest.err
27076 cat conftest.err >&5
27077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27078 (exit $ac_status); } && {
27079 test -z "$ac_c_werror_flag" ||
27080 test ! -s conftest.err
27081 } && test -s conftest$ac_exeext &&
27082 $as_test_x conftest$ac_exeext; then
27083 eval "$as_ac_var=yes"
27085 echo "$as_me: failed program was:" >&5
27086 sed 's
/^
/|
/' conftest.$ac_ext >&5
27088 eval "$as_ac_var=no"
27091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27092 conftest$ac_exeext conftest.$ac_ext
27094 ac_res=`eval echo '${'$as_ac_var'}'`
27095 { echo "$as_me:$LINENO: result: $ac_res" >&5
27096 echo "${ECHO_T}$ac_res" >&6; }
27097 if test `eval echo '${'$as_ac_var'}'` = yes; then
27098 cat >>confdefs.h <<_ACEOF
27099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27101 cat >>confdefs.h <<\_ACEOF
27102 #define BX_HAVE_ABORT 1
27109 for ac_func in gettimeofday
27111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27112 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27114 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27115 echo $ECHO_N "(cached) $ECHO_C" >&6
27117 cat >conftest.$ac_ext <<_ACEOF
27120 cat confdefs.h >>conftest.$ac_ext
27121 cat >>conftest.$ac_ext <<_ACEOF
27122 /* end confdefs.h. */
27123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27125 #define $ac_func innocuous_$ac_func
27127 /* System header to define __stub macros and hopefully few prototypes,
27128 which can conflict with char $ac_func (); below.
27129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27130 <limits.h> exists even on freestanding compilers. */
27133 # include <limits.h>
27135 # include <assert.h>
27140 /* Override any GCC internal prototype to avoid an error.
27141 Use char because int might match the return type of a GCC
27142 builtin and then its argument prototype would still apply. */
27147 /* The GNU C library defines this for functions which it implements
27148 to always fail with ENOSYS. Some functions are actually named
27149 something starting with __ and the normal name is an alias. */
27150 #if defined __stub_$ac_func || defined __stub___$ac_func
27157 return $ac_func ();
27162 rm -f conftest.$ac_objext conftest$ac_exeext
27163 if { (ac_try="$ac_link"
27164 case "(($ac_try" in
27165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27166 *) ac_try_echo=$ac_try;;
27168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27169 (eval "$ac_link") 2>conftest.er1
27171 grep -v '^
*+' conftest.er1 >conftest.err
27173 cat conftest.err >&5
27174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27175 (exit $ac_status); } && {
27176 test -z "$ac_c_werror_flag" ||
27177 test ! -s conftest.err
27178 } && test -s conftest$ac_exeext &&
27179 $as_test_x conftest$ac_exeext; then
27180 eval "$as_ac_var=yes"
27182 echo "$as_me: failed program was:" >&5
27183 sed 's
/^
/|
/' conftest.$ac_ext >&5
27185 eval "$as_ac_var=no"
27188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27189 conftest$ac_exeext conftest.$ac_ext
27191 ac_res=`eval echo '${'$as_ac_var'}'`
27192 { echo "$as_me:$LINENO: result: $ac_res" >&5
27193 echo "${ECHO_T}$ac_res" >&6; }
27194 if test `eval echo '${'$as_ac_var'}'` = yes; then
27195 cat >>confdefs.h <<_ACEOF
27196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27198 cat >>confdefs.h <<\_ACEOF
27199 #define BX_HAVE_GETTIMEOFDAY 1
27205 { echo "$as_me:$LINENO: checking for socklen_t" >&5
27206 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
27207 if test "${ac_cv_type_socklen_t+set}" = set; then
27208 echo $ECHO_N "(cached) $ECHO_C" >&6
27210 cat >conftest.$ac_ext <<_ACEOF
27213 cat confdefs.h >>conftest.$ac_ext
27214 cat >>conftest.$ac_ext <<_ACEOF
27215 /* end confdefs.h. */
27216 #include <sys/types.h>
27217 #include <sys/socket.h>
27219 typedef socklen_t ac__type_new_;
27223 if ((ac__type_new_ *) 0)
27225 if (sizeof (ac__type_new_))
27231 rm -f conftest.$ac_objext
27232 if { (ac_try="$ac_compile"
27233 case "(($ac_try" in
27234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27235 *) ac_try_echo=$ac_try;;
27237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27238 (eval "$ac_compile") 2>conftest.er1
27240 grep -v '^
*+' conftest.er1 >conftest.err
27242 cat conftest.err >&5
27243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27244 (exit $ac_status); } && {
27245 test -z "$ac_c_werror_flag" ||
27246 test ! -s conftest.err
27247 } && test -s conftest.$ac_objext; then
27248 ac_cv_type_socklen_t=yes
27250 echo "$as_me: failed program was:" >&5
27251 sed 's
/^
/|
/' conftest.$ac_ext >&5
27253 ac_cv_type_socklen_t=no
27256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27258 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
27259 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
27260 if test $ac_cv_type_socklen_t = yes; then
27261 cat >>confdefs.h <<\_ACEOF
27262 #define BX_HAVE_SOCKLEN_T 1
27267 { echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
27268 echo $ECHO_N "checking for struct sockaddr_in.sin_len... $ECHO_C" >&6; }
27269 if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then
27270 echo $ECHO_N "(cached) $ECHO_C" >&6
27272 cat >conftest.$ac_ext <<_ACEOF
27275 cat confdefs.h >>conftest.$ac_ext
27276 cat >>conftest.$ac_ext <<_ACEOF
27277 /* end confdefs.h. */
27278 #include <sys/socket.h>
27279 #include <netinet/in.h>
27284 static struct sockaddr_in ac_aggr;
27285 if (ac_aggr.sin_len)
27291 rm -f conftest.$ac_objext
27292 if { (ac_try="$ac_compile"
27293 case "(($ac_try" in
27294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27295 *) ac_try_echo=$ac_try;;
27297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27298 (eval "$ac_compile") 2>conftest.er1
27300 grep -v '^
*+' conftest.er1 >conftest.err
27302 cat conftest.err >&5
27303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27304 (exit $ac_status); } && {
27305 test -z "$ac_c_werror_flag" ||
27306 test ! -s conftest.err
27307 } && test -s conftest.$ac_objext; then
27308 ac_cv_member_struct_sockaddr_in_sin_len=yes
27310 echo "$as_me: failed program was:" >&5
27311 sed 's
/^
/|
/' conftest.$ac_ext >&5
27313 cat >conftest.$ac_ext <<_ACEOF
27316 cat confdefs.h >>conftest.$ac_ext
27317 cat >>conftest.$ac_ext <<_ACEOF
27318 /* end confdefs.h. */
27319 #include <sys/socket.h>
27320 #include <netinet/in.h>
27325 static struct sockaddr_in ac_aggr;
27326 if (sizeof ac_aggr.sin_len)
27332 rm -f conftest.$ac_objext
27333 if { (ac_try="$ac_compile"
27334 case "(($ac_try" in
27335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27336 *) ac_try_echo=$ac_try;;
27338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27339 (eval "$ac_compile") 2>conftest.er1
27341 grep -v '^
*+' conftest.er1 >conftest.err
27343 cat conftest.err >&5
27344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27345 (exit $ac_status); } && {
27346 test -z "$ac_c_werror_flag" ||
27347 test ! -s conftest.err
27348 } && test -s conftest.$ac_objext; then
27349 ac_cv_member_struct_sockaddr_in_sin_len=yes
27351 echo "$as_me: failed program was:" >&5
27352 sed 's
/^
/|
/' conftest.$ac_ext >&5
27354 ac_cv_member_struct_sockaddr_in_sin_len=no
27357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27362 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
27363 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in_sin_len" >&6; }
27364 if test $ac_cv_member_struct_sockaddr_in_sin_len = yes; then
27365 cat >>confdefs.h <<\_ACEOF
27366 #define BX_HAVE_SOCKADDR_IN_SIN_LEN 1
27372 for ac_func in mkstemp
27374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27375 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27377 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27378 echo $ECHO_N "(cached) $ECHO_C" >&6
27380 cat >conftest.$ac_ext <<_ACEOF
27383 cat confdefs.h >>conftest.$ac_ext
27384 cat >>conftest.$ac_ext <<_ACEOF
27385 /* end confdefs.h. */
27386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27388 #define $ac_func innocuous_$ac_func
27390 /* System header to define __stub macros and hopefully few prototypes,
27391 which can conflict with char $ac_func (); below.
27392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27393 <limits.h> exists even on freestanding compilers. */
27396 # include <limits.h>
27398 # include <assert.h>
27403 /* Override any GCC internal prototype to avoid an error.
27404 Use char because int might match the return type of a GCC
27405 builtin and then its argument prototype would still apply. */
27410 /* The GNU C library defines this for functions which it implements
27411 to always fail with ENOSYS. Some functions are actually named
27412 something starting with __ and the normal name is an alias. */
27413 #if defined __stub_$ac_func || defined __stub___$ac_func
27420 return $ac_func ();
27425 rm -f conftest.$ac_objext conftest$ac_exeext
27426 if { (ac_try="$ac_link"
27427 case "(($ac_try" in
27428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27429 *) ac_try_echo=$ac_try;;
27431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27432 (eval "$ac_link") 2>conftest.er1
27434 grep -v '^
*+' conftest.er1 >conftest.err
27436 cat conftest.err >&5
27437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27438 (exit $ac_status); } && {
27439 test -z "$ac_c_werror_flag" ||
27440 test ! -s conftest.err
27441 } && test -s conftest$ac_exeext &&
27442 $as_test_x conftest$ac_exeext; then
27443 eval "$as_ac_var=yes"
27445 echo "$as_me: failed program was:" >&5
27446 sed 's
/^
/|
/' conftest.$ac_ext >&5
27448 eval "$as_ac_var=no"
27451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27452 conftest$ac_exeext conftest.$ac_ext
27454 ac_res=`eval echo '${'$as_ac_var'}'`
27455 { echo "$as_me:$LINENO: result: $ac_res" >&5
27456 echo "${ECHO_T}$ac_res" >&6; }
27457 if test `eval echo '${'$as_ac_var'}'` = yes; then
27458 cat >>confdefs.h <<_ACEOF
27459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27461 cat >>confdefs.h <<\_ACEOF
27462 #define BX_HAVE_MKSTEMP 1
27468 if test "${ac_cv_header_sys_mman_h+set}" = set; then
27469 { echo "$as_me:$LINENO: checking for sys/mman.h" >&5
27470 echo $ECHO_N "checking for sys/mman.h... $ECHO_C" >&6; }
27471 if test "${ac_cv_header_sys_mman_h+set}" = set; then
27472 echo $ECHO_N "(cached) $ECHO_C" >&6
27474 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
27475 echo "${ECHO_T}$ac_cv_header_sys_mman_h" >&6; }
27477 # Is the header compilable?
27478 { echo "$as_me:$LINENO: checking sys/mman.h usability" >&5
27479 echo $ECHO_N "checking sys/mman.h usability... $ECHO_C" >&6; }
27480 cat >conftest.$ac_ext <<_ACEOF
27483 cat confdefs.h >>conftest.$ac_ext
27484 cat >>conftest.$ac_ext <<_ACEOF
27485 /* end confdefs.h. */
27486 $ac_includes_default
27487 #include <sys/mman.h>
27489 rm -f conftest.$ac_objext
27490 if { (ac_try="$ac_compile"
27491 case "(($ac_try" in
27492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27493 *) ac_try_echo=$ac_try;;
27495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27496 (eval "$ac_compile") 2>conftest.er1
27498 grep -v '^
*+' conftest.er1 >conftest.err
27500 cat conftest.err >&5
27501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27502 (exit $ac_status); } && {
27503 test -z "$ac_c_werror_flag" ||
27504 test ! -s conftest.err
27505 } && test -s conftest.$ac_objext; then
27506 ac_header_compiler=yes
27508 echo "$as_me: failed program was:" >&5
27509 sed 's
/^
/|
/' conftest.$ac_ext >&5
27511 ac_header_compiler=no
27514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27515 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27516 echo "${ECHO_T}$ac_header_compiler" >&6; }
27518 # Is the header present?
27519 { echo "$as_me:$LINENO: checking sys/mman.h presence" >&5
27520 echo $ECHO_N "checking sys/mman.h presence... $ECHO_C" >&6; }
27521 cat >conftest.$ac_ext <<_ACEOF
27524 cat confdefs.h >>conftest.$ac_ext
27525 cat >>conftest.$ac_ext <<_ACEOF
27526 /* end confdefs.h. */
27527 #include <sys/mman.h>
27529 if { (ac_try="$ac_cpp conftest.$ac_ext"
27530 case "(($ac_try" in
27531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27532 *) ac_try_echo=$ac_try;;
27534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27535 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27537 grep -v '^
*+' conftest.er1 >conftest.err
27539 cat conftest.err >&5
27540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27541 (exit $ac_status); } >/dev/null && {
27542 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27543 test ! -s conftest.err
27545 ac_header_preproc=yes
27547 echo "$as_me: failed program was:" >&5
27548 sed 's
/^
/|
/' conftest.$ac_ext >&5
27550 ac_header_preproc=no
27553 rm -f conftest.err conftest.$ac_ext
27554 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27555 echo "${ECHO_T}$ac_header_preproc" >&6; }
27557 # So? What about this header?
27558 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27560 { echo "$as_me:$LINENO: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&5
27561 echo "$as_me: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27562 { echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the compiler's result
" >&5
27563 echo "$as_me: WARNING
: sys
/mman.h
: proceeding with the compiler
's result" >&2;}
27564 ac_header_preproc=yes
27567 { echo "$as_me:$LINENO: WARNING: sys/mman.h: present but cannot be compiled" >&5
27568 echo "$as_me: WARNING: sys/mman.h: present but cannot be compiled" >&2;}
27569 { echo "$as_me:$LINENO: WARNING: sys/mman.h: check for missing prerequisite headers?" >&5
27570 echo "$as_me: WARNING: sys/mman.h: check for missing prerequisite headers?" >&2;}
27571 { echo "$as_me:$LINENO: WARNING: sys/mman.h: see the Autoconf documentation" >&5
27572 echo "$as_me: WARNING: sys/mman.h: see the Autoconf documentation" >&2;}
27573 { echo "$as_me:$LINENO: WARNING: sys/mman.h: section \"Present But Cannot Be Compiled\"" >&5
27574 echo "$as_me: WARNING: sys/mman.h: section \"Present But Cannot Be Compiled\"" >&2;}
27575 { echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the preprocessor's result
" >&5
27576 echo "$as_me: WARNING
: sys
/mman.h
: proceeding with the preprocessor
's result" >&2;}
27577 { echo "$as_me:$LINENO: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&5
27578 echo "$as_me: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&2;}
27582 { echo "$as_me:$LINENO: checking for sys/mman.h" >&5
27583 echo $ECHO_N "checking for sys/mman.h... $ECHO_C" >&6; }
27584 if test "${ac_cv_header_sys_mman_h+set}" = set; then
27585 echo $ECHO_N "(cached) $ECHO_C" >&6
27587 ac_cv_header_sys_mman_h=$ac_header_preproc
27589 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
27590 echo "${ECHO_T}$ac_cv_header_sys_mman_h" >&6; }
27593 if test $ac_cv_header_sys_mman_h = yes; then
27594 cat >>confdefs.h <<\_ACEOF
27595 #define BX_HAVE_SYS_MMAN_H 1
27602 for ac_func in timelocal
27604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27605 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27607 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27608 echo $ECHO_N "(cached) $ECHO_C" >&6
27610 cat >conftest.$ac_ext <<_ACEOF
27613 cat confdefs.h >>conftest.$ac_ext
27614 cat >>conftest.$ac_ext <<_ACEOF
27615 /* end confdefs.h. */
27616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27618 #define $ac_func innocuous_$ac_func
27620 /* System header to define __stub macros and hopefully few prototypes,
27621 which can conflict with char $ac_func (); below.
27622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27623 <limits.h> exists even on freestanding compilers. */
27626 # include <limits.h>
27628 # include <assert.h>
27633 /* Override any GCC internal prototype to avoid an error.
27634 Use char because int might match the return type of a GCC
27635 builtin and then its argument prototype would still apply. */
27640 /* The GNU C library defines this for functions which it implements
27641 to always fail with ENOSYS. Some functions are actually named
27642 something starting with __ and the normal name is an alias. */
27643 #if defined __stub_$ac_func || defined __stub___$ac_func
27650 return $ac_func ();
27655 rm -f conftest.$ac_objext conftest$ac_exeext
27656 if { (ac_try="$ac_link"
27657 case "(($ac_try" in
27658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27659 *) ac_try_echo=$ac_try;;
27661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27662 (eval "$ac_link") 2>conftest.er1
27664 grep -v '^
*+' conftest.er1 >conftest.err
27666 cat conftest.err >&5
27667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27668 (exit $ac_status); } && {
27669 test -z "$ac_c_werror_flag" ||
27670 test ! -s conftest.err
27671 } && test -s conftest$ac_exeext &&
27672 $as_test_x conftest$ac_exeext; then
27673 eval "$as_ac_var=yes"
27675 echo "$as_me: failed program was:" >&5
27676 sed 's
/^
/|
/' conftest.$ac_ext >&5
27678 eval "$as_ac_var=no"
27681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27682 conftest$ac_exeext conftest.$ac_ext
27684 ac_res=`eval echo '${'$as_ac_var'}'`
27685 { echo "$as_me:$LINENO: result: $ac_res" >&5
27686 echo "${ECHO_T}$ac_res" >&6; }
27687 if test `eval echo '${'$as_ac_var'}'` = yes; then
27688 cat >>confdefs.h <<_ACEOF
27689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27691 cat >>confdefs.h <<\_ACEOF
27692 #define BX_HAVE_TIMELOCAL 1
27699 for ac_func in gmtime
27701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27702 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27704 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27705 echo $ECHO_N "(cached) $ECHO_C" >&6
27707 cat >conftest.$ac_ext <<_ACEOF
27710 cat confdefs.h >>conftest.$ac_ext
27711 cat >>conftest.$ac_ext <<_ACEOF
27712 /* end confdefs.h. */
27713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27715 #define $ac_func innocuous_$ac_func
27717 /* System header to define __stub macros and hopefully few prototypes,
27718 which can conflict with char $ac_func (); below.
27719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27720 <limits.h> exists even on freestanding compilers. */
27723 # include <limits.h>
27725 # include <assert.h>
27730 /* Override any GCC internal prototype to avoid an error.
27731 Use char because int might match the return type of a GCC
27732 builtin and then its argument prototype would still apply. */
27737 /* The GNU C library defines this for functions which it implements
27738 to always fail with ENOSYS. Some functions are actually named
27739 something starting with __ and the normal name is an alias. */
27740 #if defined __stub_$ac_func || defined __stub___$ac_func
27747 return $ac_func ();
27752 rm -f conftest.$ac_objext conftest$ac_exeext
27753 if { (ac_try="$ac_link"
27754 case "(($ac_try" in
27755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27756 *) ac_try_echo=$ac_try;;
27758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27759 (eval "$ac_link") 2>conftest.er1
27761 grep -v '^
*+' conftest.er1 >conftest.err
27763 cat conftest.err >&5
27764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27765 (exit $ac_status); } && {
27766 test -z "$ac_c_werror_flag" ||
27767 test ! -s conftest.err
27768 } && test -s conftest$ac_exeext &&
27769 $as_test_x conftest$ac_exeext; then
27770 eval "$as_ac_var=yes"
27772 echo "$as_me: failed program was:" >&5
27773 sed 's
/^
/|
/' conftest.$ac_ext >&5
27775 eval "$as_ac_var=no"
27778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27779 conftest$ac_exeext conftest.$ac_ext
27781 ac_res=`eval echo '${'$as_ac_var'}'`
27782 { echo "$as_me:$LINENO: result: $ac_res" >&5
27783 echo "${ECHO_T}$ac_res" >&6; }
27784 if test `eval echo '${'$as_ac_var'}'` = yes; then
27785 cat >>confdefs.h <<_ACEOF
27786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27788 cat >>confdefs.h <<\_ACEOF
27789 #define BX_HAVE_GMTIME 1
27796 for ac_func in mktime
27798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27799 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27801 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27802 echo $ECHO_N "(cached) $ECHO_C" >&6
27804 cat >conftest.$ac_ext <<_ACEOF
27807 cat confdefs.h >>conftest.$ac_ext
27808 cat >>conftest.$ac_ext <<_ACEOF
27809 /* end confdefs.h. */
27810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27812 #define $ac_func innocuous_$ac_func
27814 /* System header to define __stub macros and hopefully few prototypes,
27815 which can conflict with char $ac_func (); below.
27816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27817 <limits.h> exists even on freestanding compilers. */
27820 # include <limits.h>
27822 # include <assert.h>
27827 /* Override any GCC internal prototype to avoid an error.
27828 Use char because int might match the return type of a GCC
27829 builtin and then its argument prototype would still apply. */
27834 /* The GNU C library defines this for functions which it implements
27835 to always fail with ENOSYS. Some functions are actually named
27836 something starting with __ and the normal name is an alias. */
27837 #if defined __stub_$ac_func || defined __stub___$ac_func
27844 return $ac_func ();
27849 rm -f conftest.$ac_objext conftest$ac_exeext
27850 if { (ac_try="$ac_link"
27851 case "(($ac_try" in
27852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27853 *) ac_try_echo=$ac_try;;
27855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27856 (eval "$ac_link") 2>conftest.er1
27858 grep -v '^
*+' conftest.er1 >conftest.err
27860 cat conftest.err >&5
27861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27862 (exit $ac_status); } && {
27863 test -z "$ac_c_werror_flag" ||
27864 test ! -s conftest.err
27865 } && test -s conftest$ac_exeext &&
27866 $as_test_x conftest$ac_exeext; then
27867 eval "$as_ac_var=yes"
27869 echo "$as_me: failed program was:" >&5
27870 sed 's
/^
/|
/' conftest.$ac_ext >&5
27872 eval "$as_ac_var=no"
27875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27876 conftest$ac_exeext conftest.$ac_ext
27878 ac_res=`eval echo '${'$as_ac_var'}'`
27879 { echo "$as_me:$LINENO: result: $ac_res" >&5
27880 echo "${ECHO_T}$ac_res" >&6; }
27881 if test `eval echo '${'$as_ac_var'}'` = yes; then
27882 cat >>confdefs.h <<_ACEOF
27883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27885 cat >>confdefs.h <<\_ACEOF
27886 #define BX_HAVE_MKTIME 1
27893 # Check whether --enable-largefile was given.
27894 if test "${enable_largefile+set}" = set; then
27895 enableval=$enable_largefile;
27898 if test "$enable_largefile" != no; then
27901 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
27902 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
27903 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
27904 echo $ECHO_N "(cached) $ECHO_C" >&6
27907 cat >conftest.$ac_ext <<_ACEOF
27910 cat confdefs.h >>conftest.$ac_ext
27911 cat >>conftest.$ac_ext <<_ACEOF
27912 /* end confdefs.h. */
27913 #define _FILE_OFFSET_BITS 64
27914 #include <sys/types.h>
27919 unsigned int field: sizeof(off_t) == 8;
27926 rm -f conftest.$ac_objext
27927 if { (ac_try="$ac_compile"
27928 case "(($ac_try" in
27929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27930 *) ac_try_echo=$ac_try;;
27932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27933 (eval "$ac_compile") 2>conftest.er1
27935 grep -v '^
*+' conftest.er1 >conftest.err
27937 cat conftest.err >&5
27938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27939 (exit $ac_status); } && {
27940 test -z "$ac_c_werror_flag" ||
27941 test ! -s conftest.err
27942 } && test -s conftest.$ac_objext; then
27943 ac_cv_sys_file_offset_bits=64
27945 echo "$as_me: failed program was:" >&5
27946 sed 's
/^
/|
/' conftest.$ac_ext >&5
27948 ac_cv_sys_file_offset_bits=no
27951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27955 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
27956 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
27958 if test "$ac_cv_sys_file_offset_bits" != no; then
27960 cat >>confdefs.h <<_ACEOF
27961 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
27966 if test "x$wx_largefile" != "xyes"; then
27968 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
27969 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
27970 if test "${ac_cv_sys_large_files+set}" = set; then
27971 echo $ECHO_N "(cached) $ECHO_C" >&6
27974 cat >conftest.$ac_ext <<_ACEOF
27977 cat confdefs.h >>conftest.$ac_ext
27978 cat >>conftest.$ac_ext <<_ACEOF
27979 /* end confdefs.h. */
27980 #define _LARGE_FILES 1
27981 #include <sys/types.h>
27986 unsigned int field: sizeof(off_t) == 8;
27993 rm -f conftest.$ac_objext
27994 if { (ac_try="$ac_compile"
27995 case "(($ac_try" in
27996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27997 *) ac_try_echo=$ac_try;;
27999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28000 (eval "$ac_compile") 2>conftest.er1
28002 grep -v '^
*+' conftest.er1 >conftest.err
28004 cat conftest.err >&5
28005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28006 (exit $ac_status); } && {
28007 test -z "$ac_c_werror_flag" ||
28008 test ! -s conftest.err
28009 } && test -s conftest.$ac_objext; then
28010 ac_cv_sys_large_files=1
28012 echo "$as_me: failed program was:" >&5
28013 sed 's
/^
/|
/' conftest.$ac_ext >&5
28015 ac_cv_sys_large_files=no
28018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28022 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
28023 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
28025 if test "$ac_cv_sys_large_files" != no; then
28027 cat >>confdefs.h <<_ACEOF
28028 #define _LARGE_FILES $ac_cv_sys_large_files
28035 { echo "$as_me:$LINENO: checking if large file support is available" >&5
28036 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
28037 if test "x$wx_largefile" = "xyes"; then
28038 cat >>confdefs.h <<\_ACEOF
28039 #define HAVE_LARGEFILE_SUPPORT 1
28043 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
28044 echo "${ECHO_T}$wx_largefile" >&6; }
28048 if test "x$wx_largefile" = "xyes"; then
28049 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
28050 BX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
28052 BX_LARGEFILE_FLAGS="-D_LARGE_FILES"
28054 CPPFLAGS="$CPPFLAGS $BX_LARGEFILE_FLAGS"
28055 CFLAGS="$CFLAGS $BX_LARGEFILE_FLAGS"
28056 CXXFLAGS="$CXXFLAGS $BX_LARGEFILE_FLAGS"
28064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28065 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28067 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28068 echo $ECHO_N "(cached) $ECHO_C" >&6
28070 cat >conftest.$ac_ext <<_ACEOF
28073 cat confdefs.h >>conftest.$ac_ext
28074 cat >>conftest.$ac_ext <<_ACEOF
28075 /* end confdefs.h. */
28076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28078 #define $ac_func innocuous_$ac_func
28080 /* System header to define __stub macros and hopefully few prototypes,
28081 which can conflict with char $ac_func (); below.
28082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28083 <limits.h> exists even on freestanding compilers. */
28086 # include <limits.h>
28088 # include <assert.h>
28093 /* Override any GCC internal prototype to avoid an error.
28094 Use char because int might match the return type of a GCC
28095 builtin and then its argument prototype would still apply. */
28100 /* The GNU C library defines this for functions which it implements
28101 to always fail with ENOSYS. Some functions are actually named
28102 something starting with __ and the normal name is an alias. */
28103 #if defined __stub_$ac_func || defined __stub___$ac_func
28110 return $ac_func ();
28115 rm -f conftest.$ac_objext conftest$ac_exeext
28116 if { (ac_try="$ac_link"
28117 case "(($ac_try" in
28118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28119 *) ac_try_echo=$ac_try;;
28121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28122 (eval "$ac_link") 2>conftest.er1
28124 grep -v '^
*+' conftest.er1 >conftest.err
28126 cat conftest.err >&5
28127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28128 (exit $ac_status); } && {
28129 test -z "$ac_c_werror_flag" ||
28130 test ! -s conftest.err
28131 } && test -s conftest$ac_exeext &&
28132 $as_test_x conftest$ac_exeext; then
28133 eval "$as_ac_var=yes"
28135 echo "$as_me: failed program was:" >&5
28136 sed 's
/^
/|
/' conftest.$ac_ext >&5
28138 eval "$as_ac_var=no"
28141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28142 conftest$ac_exeext conftest.$ac_ext
28144 ac_res=`eval echo '${'$as_ac_var'}'`
28145 { echo "$as_me:$LINENO: result: $ac_res" >&5
28146 echo "${ECHO_T}$ac_res" >&6; }
28147 if test `eval echo '${'$as_ac_var'}'` = yes; then
28148 cat >>confdefs.h <<_ACEOF
28149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28156 for ac_func in floor
28158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28159 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28161 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28162 echo $ECHO_N "(cached) $ECHO_C" >&6
28164 cat >conftest.$ac_ext <<_ACEOF
28167 cat confdefs.h >>conftest.$ac_ext
28168 cat >>conftest.$ac_ext <<_ACEOF
28169 /* end confdefs.h. */
28170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28172 #define $ac_func innocuous_$ac_func
28174 /* System header to define __stub macros and hopefully few prototypes,
28175 which can conflict with char $ac_func (); below.
28176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28177 <limits.h> exists even on freestanding compilers. */
28180 # include <limits.h>
28182 # include <assert.h>
28187 /* Override any GCC internal prototype to avoid an error.
28188 Use char because int might match the return type of a GCC
28189 builtin and then its argument prototype would still apply. */
28194 /* The GNU C library defines this for functions which it implements
28195 to always fail with ENOSYS. Some functions are actually named
28196 something starting with __ and the normal name is an alias. */
28197 #if defined __stub_$ac_func || defined __stub___$ac_func
28204 return $ac_func ();
28209 rm -f conftest.$ac_objext conftest$ac_exeext
28210 if { (ac_try="$ac_link"
28211 case "(($ac_try" in
28212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28213 *) ac_try_echo=$ac_try;;
28215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28216 (eval "$ac_link") 2>conftest.er1
28218 grep -v '^
*+' conftest.er1 >conftest.err
28220 cat conftest.err >&5
28221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28222 (exit $ac_status); } && {
28223 test -z "$ac_c_werror_flag" ||
28224 test ! -s conftest.err
28225 } && test -s conftest$ac_exeext &&
28226 $as_test_x conftest$ac_exeext; then
28227 eval "$as_ac_var=yes"
28229 echo "$as_me: failed program was:" >&5
28230 sed 's
/^
/|
/' conftest.$ac_ext >&5
28232 eval "$as_ac_var=no"
28235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28236 conftest$ac_exeext conftest.$ac_ext
28238 ac_res=`eval echo '${'$as_ac_var'}'`
28239 { echo "$as_me:$LINENO: result: $ac_res" >&5
28240 echo "${ECHO_T}$ac_res" >&6; }
28241 if test `eval echo '${'$as_ac_var'}'` = yes; then
28242 cat >>confdefs.h <<_ACEOF
28243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28249 { echo "$as_me:$LINENO: checking if math functions link without -lm" >&5
28250 echo $ECHO_N "checking if math functions link without -lm... $ECHO_C" >&6; }
28251 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28252 { echo "$as_me:$LINENO: result: yes" >&5
28253 echo "${ECHO_T}yes" >&6; }
28255 { echo "$as_me:$LINENO: result: no" >&5
28256 echo "${ECHO_T}no" >&6; }
28258 # use different functions to bypass configure caching
28264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28265 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28267 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28268 echo $ECHO_N "(cached) $ECHO_C" >&6
28270 cat >conftest.$ac_ext <<_ACEOF
28273 cat confdefs.h >>conftest.$ac_ext
28274 cat >>conftest.$ac_ext <<_ACEOF
28275 /* end confdefs.h. */
28276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28278 #define $ac_func innocuous_$ac_func
28280 /* System header to define __stub macros and hopefully few prototypes,
28281 which can conflict with char $ac_func (); below.
28282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28283 <limits.h> exists even on freestanding compilers. */
28286 # include <limits.h>
28288 # include <assert.h>
28293 /* Override any GCC internal prototype to avoid an error.
28294 Use char because int might match the return type of a GCC
28295 builtin and then its argument prototype would still apply. */
28300 /* The GNU C library defines this for functions which it implements
28301 to always fail with ENOSYS. Some functions are actually named
28302 something starting with __ and the normal name is an alias. */
28303 #if defined __stub_$ac_func || defined __stub___$ac_func
28310 return $ac_func ();
28315 rm -f conftest.$ac_objext conftest$ac_exeext
28316 if { (ac_try="$ac_link"
28317 case "(($ac_try" in
28318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28319 *) ac_try_echo=$ac_try;;
28321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28322 (eval "$ac_link") 2>conftest.er1
28324 grep -v '^
*+' conftest.er1 >conftest.err
28326 cat conftest.err >&5
28327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28328 (exit $ac_status); } && {
28329 test -z "$ac_c_werror_flag" ||
28330 test ! -s conftest.err
28331 } && test -s conftest$ac_exeext &&
28332 $as_test_x conftest$ac_exeext; then
28333 eval "$as_ac_var=yes"
28335 echo "$as_me: failed program was:" >&5
28336 sed 's
/^
/|
/' conftest.$ac_ext >&5
28338 eval "$as_ac_var=no"
28341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28342 conftest$ac_exeext conftest.$ac_ext
28344 ac_res=`eval echo '${'$as_ac_var'}'`
28345 { echo "$as_me:$LINENO: result: $ac_res" >&5
28346 echo "${ECHO_T}$ac_res" >&6; }
28347 if test `eval echo '${'$as_ac_var'}'` = yes; then
28348 cat >>confdefs.h <<_ACEOF
28349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28356 for ac_func in ceil
28358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28359 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28361 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28362 echo $ECHO_N "(cached) $ECHO_C" >&6
28364 cat >conftest.$ac_ext <<_ACEOF
28367 cat confdefs.h >>conftest.$ac_ext
28368 cat >>conftest.$ac_ext <<_ACEOF
28369 /* end confdefs.h. */
28370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28372 #define $ac_func innocuous_$ac_func
28374 /* System header to define __stub macros and hopefully few prototypes,
28375 which can conflict with char $ac_func (); below.
28376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28377 <limits.h> exists even on freestanding compilers. */
28380 # include <limits.h>
28382 # include <assert.h>
28387 /* Override any GCC internal prototype to avoid an error.
28388 Use char because int might match the return type of a GCC
28389 builtin and then its argument prototype would still apply. */
28394 /* The GNU C library defines this for functions which it implements
28395 to always fail with ENOSYS. Some functions are actually named
28396 something starting with __ and the normal name is an alias. */
28397 #if defined __stub_$ac_func || defined __stub___$ac_func
28404 return $ac_func ();
28409 rm -f conftest.$ac_objext conftest$ac_exeext
28410 if { (ac_try="$ac_link"
28411 case "(($ac_try" in
28412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28413 *) ac_try_echo=$ac_try;;
28415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28416 (eval "$ac_link") 2>conftest.er1
28418 grep -v '^
*+' conftest.er1 >conftest.err
28420 cat conftest.err >&5
28421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28422 (exit $ac_status); } && {
28423 test -z "$ac_c_werror_flag" ||
28424 test ! -s conftest.err
28425 } && test -s conftest$ac_exeext &&
28426 $as_test_x conftest$ac_exeext; then
28427 eval "$as_ac_var=yes"
28429 echo "$as_me: failed program was:" >&5
28430 sed 's
/^
/|
/' conftest.$ac_ext >&5
28432 eval "$as_ac_var=no"
28435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28436 conftest$ac_exeext conftest.$ac_ext
28438 ac_res=`eval echo '${'$as_ac_var'}'`
28439 { echo "$as_me:$LINENO: result: $ac_res" >&5
28440 echo "${ECHO_T}$ac_res" >&6; }
28441 if test `eval echo '${'$as_ac_var'}'` = yes; then
28442 cat >>confdefs.h <<_ACEOF
28443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28449 { echo "$as_me:$LINENO: checking if math functions link with -lm" >&5
28450 echo $ECHO_N "checking if math functions link with -lm... $ECHO_C" >&6; }
28451 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28452 { echo "$as_me:$LINENO: result: yes" >&5
28453 echo "${ECHO_T}yes" >&6; }
28455 { echo "$as_me:$LINENO: result: no" >&5
28456 echo "${ECHO_T}no" >&6; }
28457 # not sure we should warn the user, crash, etc.
28458 # expect link failure
28462 { echo "$as_me:$LINENO: checking for struct timeval" >&5
28463 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6; }
28464 cat >conftest.$ac_ext <<_ACEOF
28467 cat confdefs.h >>conftest.$ac_ext
28468 cat >>conftest.$ac_ext <<_ACEOF
28469 /* end confdefs.h. */
28470 #include <sys/time.h>
28479 rm -f conftest.$ac_objext
28480 if { (ac_try="$ac_compile"
28481 case "(($ac_try" in
28482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28483 *) ac_try_echo=$ac_try;;
28485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28486 (eval "$ac_compile") 2>conftest.er1
28488 grep -v '^
*+' conftest.er1 >conftest.err
28490 cat conftest.err >&5
28491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28492 (exit $ac_status); } && {
28493 test -z "$ac_c_werror_flag" ||
28494 test ! -s conftest.err
28495 } && test -s conftest.$ac_objext; then
28497 { echo "$as_me:$LINENO: result: yes" >&5
28498 echo "${ECHO_T}yes" >&6; }
28499 cat >>confdefs.h <<\_ACEOF
28500 #define BX_HAVE_STRUCT_TIMEVAL 1
28505 echo "$as_me: failed program was:" >&5
28506 sed 's
/^
/|
/' conftest.$ac_ext >&5
28508 { echo "$as_me:$LINENO: result: no" >&5
28509 echo "${ECHO_T}no" >&6; }
28512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28514 { echo "$as_me:$LINENO: checking if compiler allows empty structs" >&5
28515 echo $ECHO_N "checking if compiler allows empty structs... $ECHO_C" >&6; }
28516 cat >conftest.$ac_ext <<_ACEOF
28519 cat confdefs.h >>conftest.$ac_ext
28520 cat >>conftest.$ac_ext <<_ACEOF
28521 /* end confdefs.h. */
28526 typedef struct { } junk;
28531 rm -f conftest.$ac_objext
28532 if { (ac_try="$ac_compile"
28533 case "(($ac_try" in
28534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28535 *) ac_try_echo=$ac_try;;
28537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28538 (eval "$ac_compile") 2>conftest.er1
28540 grep -v '^
*+' conftest.er1 >conftest.err
28542 cat conftest.err >&5
28543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28544 (exit $ac_status); } && {
28545 test -z "$ac_c_werror_flag" ||
28546 test ! -s conftest.err
28547 } && test -s conftest.$ac_objext; then
28548 { echo "$as_me:$LINENO: result: yes" >&5
28549 echo "${ECHO_T}yes" >&6; }
28551 echo "$as_me: failed program was:" >&5
28552 sed 's
/^
/|
/' conftest.$ac_ext >&5
28555 cat >>confdefs.h <<\_ACEOF
28556 #define BX_NO_EMPTY_STRUCTS 1
28559 { echo "$as_me:$LINENO: result: no" >&5
28560 echo "${ECHO_T}no" >&6; }
28564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28566 { echo "$as_me:$LINENO: checking if compiler allows __attribute__" >&5
28567 echo $ECHO_N "checking if compiler allows __attribute__... $ECHO_C" >&6; }
28568 cat >conftest.$ac_ext <<_ACEOF
28571 cat confdefs.h >>conftest.$ac_ext
28572 cat >>conftest.$ac_ext <<_ACEOF
28573 /* end confdefs.h. */
28578 typedef struct { } __attribute__ ((packed)) junk;
28583 rm -f conftest.$ac_objext
28584 if { (ac_try="$ac_compile"
28585 case "(($ac_try" in
28586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28587 *) ac_try_echo=$ac_try;;
28589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28590 (eval "$ac_compile") 2>conftest.er1
28592 grep -v '^
*+' conftest.er1 >conftest.err
28594 cat conftest.err >&5
28595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28596 (exit $ac_status); } && {
28597 test -z "$ac_c_werror_flag" ||
28598 test ! -s conftest.err
28599 } && test -s conftest.$ac_objext; then
28600 { echo "$as_me:$LINENO: result: yes" >&5
28601 echo "${ECHO_T}yes" >&6; }
28603 echo "$as_me: failed program was:" >&5
28604 sed 's
/^
/|
/' conftest.$ac_ext >&5
28607 { echo "$as_me:$LINENO: result: no" >&5
28608 echo "${ECHO_T}no" >&6; }
28609 cat >>confdefs.h <<\_ACEOF
28610 #define BX_NO_ATTRIBUTES 1
28616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28620 ac_cpp='$CXXCPP $CPPFLAGS'
28621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
28622 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
28623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28625 { echo "$as_me:$LINENO: checking for hash_map" >&5
28626 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
28627 cat >conftest.$ac_ext <<_ACEOF
28630 cat confdefs.h >>conftest.$ac_ext
28631 cat >>conftest.$ac_ext <<_ACEOF
28632 /* end confdefs.h. */
28633 #include <hash_map>
28642 rm -f conftest.$ac_objext
28643 if { (ac_try="$ac_compile"
28644 case "(($ac_try" in
28645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28646 *) ac_try_echo=$ac_try;;
28648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28649 (eval "$ac_compile") 2>conftest.er1
28651 grep -v '^
*+' conftest.er1 >conftest.err
28653 cat conftest.err >&5
28654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28655 (exit $ac_status); } && {
28656 test -z "$ac_cxx_werror_flag" ||
28657 test ! -s conftest.err
28658 } && test -s conftest.$ac_objext; then
28660 { echo "$as_me:$LINENO: result: yes" >&5
28661 echo "${ECHO_T}yes" >&6; }
28662 cat >>confdefs.h <<\_ACEOF
28663 #define BX_HAVE_HASH_MAP 1
28668 echo "$as_me: failed program was:" >&5
28669 sed 's
/^
/|
/' conftest.$ac_ext >&5
28671 { echo "$as_me:$LINENO: result: no" >&5
28672 echo "${ECHO_T}no" >&6; }
28675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28676 { echo "$as_me:$LINENO: checking for hash_map.h" >&5
28677 echo $ECHO_N "checking for hash_map.h... $ECHO_C" >&6; }
28678 cat >conftest.$ac_ext <<_ACEOF
28681 cat confdefs.h >>conftest.$ac_ext
28682 cat >>conftest.$ac_ext <<_ACEOF
28683 /* end confdefs.h. */
28684 #include <hash_map.h>
28693 rm -f conftest.$ac_objext
28694 if { (ac_try="$ac_compile"
28695 case "(($ac_try" in
28696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28697 *) ac_try_echo=$ac_try;;
28699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28700 (eval "$ac_compile") 2>conftest.er1
28702 grep -v '^
*+' conftest.er1 >conftest.err
28704 cat conftest.err >&5
28705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28706 (exit $ac_status); } && {
28707 test -z "$ac_cxx_werror_flag" ||
28708 test ! -s conftest.err
28709 } && test -s conftest.$ac_objext; then
28711 { echo "$as_me:$LINENO: result: yes" >&5
28712 echo "${ECHO_T}yes" >&6; }
28713 cat >>confdefs.h <<\_ACEOF
28714 #define BX_HAVE_HASH_MAP_H 1
28719 echo "$as_me: failed program was:" >&5
28720 sed 's
/^
/|
/' conftest.$ac_ext >&5
28722 { echo "$as_me:$LINENO: result: no" >&5
28723 echo "${ECHO_T}no" >&6; }
28726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28727 { echo "$as_me:$LINENO: checking for set" >&5
28728 echo $ECHO_N "checking for set... $ECHO_C" >&6; }
28729 cat >conftest.$ac_ext <<_ACEOF
28732 cat confdefs.h >>conftest.$ac_ext
28733 cat >>conftest.$ac_ext <<_ACEOF
28734 /* end confdefs.h. */
28744 rm -f conftest.$ac_objext
28745 if { (ac_try="$ac_compile"
28746 case "(($ac_try" in
28747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28748 *) ac_try_echo=$ac_try;;
28750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28751 (eval "$ac_compile") 2>conftest.er1
28753 grep -v '^
*+' conftest.er1 >conftest.err
28755 cat conftest.err >&5
28756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28757 (exit $ac_status); } && {
28758 test -z "$ac_cxx_werror_flag" ||
28759 test ! -s conftest.err
28760 } && test -s conftest.$ac_objext; then
28762 { echo "$as_me:$LINENO: result: yes" >&5
28763 echo "${ECHO_T}yes" >&6; }
28764 cat >>confdefs.h <<\_ACEOF
28765 #define BX_HAVE_SET 1
28770 echo "$as_me: failed program was:" >&5
28771 sed 's
/^
/|
/' conftest.$ac_ext >&5
28773 { echo "$as_me:$LINENO: result: no" >&5
28774 echo "${ECHO_T}no" >&6; }
28777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28778 { echo "$as_me:$LINENO: checking for set.h" >&5
28779 echo $ECHO_N "checking for set.h... $ECHO_C" >&6; }
28780 cat >conftest.$ac_ext <<_ACEOF
28783 cat confdefs.h >>conftest.$ac_ext
28784 cat >>conftest.$ac_ext <<_ACEOF
28785 /* end confdefs.h. */
28795 rm -f conftest.$ac_objext
28796 if { (ac_try="$ac_compile"
28797 case "(($ac_try" in
28798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28799 *) ac_try_echo=$ac_try;;
28801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28802 (eval "$ac_compile") 2>conftest.er1
28804 grep -v '^
*+' conftest.er1 >conftest.err
28806 cat conftest.err >&5
28807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28808 (exit $ac_status); } && {
28809 test -z "$ac_cxx_werror_flag" ||
28810 test ! -s conftest.err
28811 } && test -s conftest.$ac_objext; then
28813 { echo "$as_me:$LINENO: result: yes" >&5
28814 echo "${ECHO_T}yes" >&6; }
28815 cat >>confdefs.h <<\_ACEOF
28816 #define BX_HAVE_SET_H 1
28821 echo "$as_me: failed program was:" >&5
28822 sed 's
/^
/|
/' conftest.$ac_ext >&5
28824 { echo "$as_me:$LINENO: result: no" >&5
28825 echo "${ECHO_T}no" >&6; }
28828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28830 ac_cpp='$CPP $CPPFLAGS'
28831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
28832 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
28833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28836 if test "$with_all_libs" = yes; then
28837 if test "$cross_configure" = 1; then
28838 { echo "$as_me:$LINENO: WARNING: Using --with-all-libs while cross configuring is very unlikely to be what you want. You should specify the --with-* args yourself." >&5
28839 echo "$as_me: WARNING: Using --with-all-libs while cross configuring is very unlikely to be what you want. You should specify the --with-* args yourself." >&2;}
28841 if test "$with_beos" != yes; then
28843 if test "${ac_cv_header_app_Application_h+set}" = set; then
28844 { echo "$as_me:$LINENO: checking for app/Application.h" >&5
28845 echo $ECHO_N "checking for app/Application.h... $ECHO_C" >&6; }
28846 if test "${ac_cv_header_app_Application_h+set}" = set; then
28847 echo $ECHO_N "(cached) $ECHO_C" >&6
28849 { echo "$as_me:$LINENO: result: $ac_cv_header_app_Application_h" >&5
28850 echo "${ECHO_T}$ac_cv_header_app_Application_h" >&6; }
28852 # Is the header compilable?
28853 { echo "$as_me:$LINENO: checking app/Application.h usability" >&5
28854 echo $ECHO_N "checking app/Application.h usability... $ECHO_C" >&6; }
28855 cat >conftest.$ac_ext <<_ACEOF
28858 cat confdefs.h >>conftest.$ac_ext
28859 cat >>conftest.$ac_ext <<_ACEOF
28860 /* end confdefs.h. */
28861 $ac_includes_default
28862 #include <app/Application.h>
28864 rm -f conftest.$ac_objext
28865 if { (ac_try="$ac_compile"
28866 case "(($ac_try" in
28867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28868 *) ac_try_echo=$ac_try;;
28870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28871 (eval "$ac_compile") 2>conftest.er1
28873 grep -v '^
*+' conftest.er1 >conftest.err
28875 cat conftest.err >&5
28876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28877 (exit $ac_status); } && {
28878 test -z "$ac_c_werror_flag" ||
28879 test ! -s conftest.err
28880 } && test -s conftest.$ac_objext; then
28881 ac_header_compiler=yes
28883 echo "$as_me: failed program was:" >&5
28884 sed 's
/^
/|
/' conftest.$ac_ext >&5
28886 ac_header_compiler=no
28889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28890 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28891 echo "${ECHO_T}$ac_header_compiler" >&6; }
28893 # Is the header present?
28894 { echo "$as_me:$LINENO: checking app/Application.h presence" >&5
28895 echo $ECHO_N "checking app/Application.h presence... $ECHO_C" >&6; }
28896 cat >conftest.$ac_ext <<_ACEOF
28899 cat confdefs.h >>conftest.$ac_ext
28900 cat >>conftest.$ac_ext <<_ACEOF
28901 /* end confdefs.h. */
28902 #include <app/Application.h>
28904 if { (ac_try="$ac_cpp conftest.$ac_ext"
28905 case "(($ac_try" in
28906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28907 *) ac_try_echo=$ac_try;;
28909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28910 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28912 grep -v '^
*+' conftest.er1 >conftest.err
28914 cat conftest.err >&5
28915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28916 (exit $ac_status); } >/dev/null && {
28917 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28918 test ! -s conftest.err
28920 ac_header_preproc=yes
28922 echo "$as_me: failed program was:" >&5
28923 sed 's
/^
/|
/' conftest.$ac_ext >&5
28925 ac_header_preproc=no
28928 rm -f conftest.err conftest.$ac_ext
28929 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28930 echo "${ECHO_T}$ac_header_preproc" >&6; }
28932 # So? What about this header?
28933 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28935 { echo "$as_me:$LINENO: WARNING: app/Application.h: accepted by the compiler, rejected by the preprocessor!" >&5
28936 echo "$as_me: WARNING: app/Application.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28937 { echo "$as_me:$LINENO: WARNING: app/Application.h: proceeding with the compiler's result
" >&5
28938 echo "$as_me: WARNING
: app
/Application.h
: proceeding with the compiler
's result" >&2;}
28939 ac_header_preproc=yes
28942 { echo "$as_me:$LINENO: WARNING: app/Application.h: present but cannot be compiled" >&5
28943 echo "$as_me: WARNING: app/Application.h: present but cannot be compiled" >&2;}
28944 { echo "$as_me:$LINENO: WARNING: app/Application.h: check for missing prerequisite headers?" >&5
28945 echo "$as_me: WARNING: app/Application.h: check for missing prerequisite headers?" >&2;}
28946 { echo "$as_me:$LINENO: WARNING: app/Application.h: see the Autoconf documentation" >&5
28947 echo "$as_me: WARNING: app/Application.h: see the Autoconf documentation" >&2;}
28948 { echo "$as_me:$LINENO: WARNING: app/Application.h: section \"Present But Cannot Be Compiled\"" >&5
28949 echo "$as_me: WARNING: app/Application.h: section \"Present But Cannot Be Compiled\"" >&2;}
28950 { echo "$as_me:$LINENO: WARNING: app/Application.h: proceeding with the preprocessor's result
" >&5
28951 echo "$as_me: WARNING
: app
/Application.h
: proceeding with the preprocessor
's result" >&2;}
28952 { echo "$as_me:$LINENO: WARNING: app/Application.h: in the future, the compiler will take precedence" >&5
28953 echo "$as_me: WARNING: app/Application.h: in the future, the compiler will take precedence" >&2;}
28957 { echo "$as_me:$LINENO: checking for app/Application.h" >&5
28958 echo $ECHO_N "checking for app/Application.h... $ECHO_C" >&6; }
28959 if test "${ac_cv_header_app_Application_h+set}" = set; then
28960 echo $ECHO_N "(cached) $ECHO_C" >&6
28962 ac_cv_header_app_Application_h=$ac_header_preproc
28964 { echo "$as_me:$LINENO: result: $ac_cv_header_app_Application_h" >&5
28965 echo "${ECHO_T}$ac_cv_header_app_Application_h" >&6; }
28968 if test $ac_cv_header_app_Application_h = yes; then
28975 if test "${ac_cv_header_interface_Window_h+set}" = set; then
28976 { echo "$as_me:$LINENO: checking for interface/Window.h" >&5
28977 echo $ECHO_N "checking for interface/Window.h... $ECHO_C" >&6; }
28978 if test "${ac_cv_header_interface_Window_h+set}" = set; then
28979 echo $ECHO_N "(cached) $ECHO_C" >&6
28981 { echo "$as_me:$LINENO: result: $ac_cv_header_interface_Window_h" >&5
28982 echo "${ECHO_T}$ac_cv_header_interface_Window_h" >&6; }
28984 # Is the header compilable?
28985 { echo "$as_me:$LINENO: checking interface/Window.h usability" >&5
28986 echo $ECHO_N "checking interface/Window.h usability... $ECHO_C" >&6; }
28987 cat >conftest.$ac_ext <<_ACEOF
28990 cat confdefs.h >>conftest.$ac_ext
28991 cat >>conftest.$ac_ext <<_ACEOF
28992 /* end confdefs.h. */
28993 $ac_includes_default
28994 #include <interface/Window.h>
28996 rm -f conftest.$ac_objext
28997 if { (ac_try="$ac_compile"
28998 case "(($ac_try" in
28999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29000 *) ac_try_echo=$ac_try;;
29002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29003 (eval "$ac_compile") 2>conftest.er1
29005 grep -v '^
*+' conftest.er1 >conftest.err
29007 cat conftest.err >&5
29008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29009 (exit $ac_status); } && {
29010 test -z "$ac_c_werror_flag" ||
29011 test ! -s conftest.err
29012 } && test -s conftest.$ac_objext; then
29013 ac_header_compiler=yes
29015 echo "$as_me: failed program was:" >&5
29016 sed 's
/^
/|
/' conftest.$ac_ext >&5
29018 ac_header_compiler=no
29021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29022 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29023 echo "${ECHO_T}$ac_header_compiler" >&6; }
29025 # Is the header present?
29026 { echo "$as_me:$LINENO: checking interface/Window.h presence" >&5
29027 echo $ECHO_N "checking interface/Window.h presence... $ECHO_C" >&6; }
29028 cat >conftest.$ac_ext <<_ACEOF
29031 cat confdefs.h >>conftest.$ac_ext
29032 cat >>conftest.$ac_ext <<_ACEOF
29033 /* end confdefs.h. */
29034 #include <interface/Window.h>
29036 if { (ac_try="$ac_cpp conftest.$ac_ext"
29037 case "(($ac_try" in
29038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29039 *) ac_try_echo=$ac_try;;
29041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29042 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29044 grep -v '^
*+' conftest.er1 >conftest.err
29046 cat conftest.err >&5
29047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29048 (exit $ac_status); } >/dev/null && {
29049 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29050 test ! -s conftest.err
29052 ac_header_preproc=yes
29054 echo "$as_me: failed program was:" >&5
29055 sed 's
/^
/|
/' conftest.$ac_ext >&5
29057 ac_header_preproc=no
29060 rm -f conftest.err conftest.$ac_ext
29061 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29062 echo "${ECHO_T}$ac_header_preproc" >&6; }
29064 # So? What about this header?
29065 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29067 { echo "$as_me:$LINENO: WARNING: interface/Window.h: accepted by the compiler, rejected by the preprocessor!" >&5
29068 echo "$as_me: WARNING: interface/Window.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29069 { echo "$as_me:$LINENO: WARNING: interface/Window.h: proceeding with the compiler's result
" >&5
29070 echo "$as_me: WARNING
: interface
/Window.h
: proceeding with the compiler
's result" >&2;}
29071 ac_header_preproc=yes
29074 { echo "$as_me:$LINENO: WARNING: interface/Window.h: present but cannot be compiled" >&5
29075 echo "$as_me: WARNING: interface/Window.h: present but cannot be compiled" >&2;}
29076 { echo "$as_me:$LINENO: WARNING: interface/Window.h: check for missing prerequisite headers?" >&5
29077 echo "$as_me: WARNING: interface/Window.h: check for missing prerequisite headers?" >&2;}
29078 { echo "$as_me:$LINENO: WARNING: interface/Window.h: see the Autoconf documentation" >&5
29079 echo "$as_me: WARNING: interface/Window.h: see the Autoconf documentation" >&2;}
29080 { echo "$as_me:$LINENO: WARNING: interface/Window.h: section \"Present But Cannot Be Compiled\"" >&5
29081 echo "$as_me: WARNING: interface/Window.h: section \"Present But Cannot Be Compiled\"" >&2;}
29082 { echo "$as_me:$LINENO: WARNING: interface/Window.h: proceeding with the preprocessor's result
" >&5
29083 echo "$as_me: WARNING
: interface
/Window.h
: proceeding with the preprocessor
's result" >&2;}
29084 { echo "$as_me:$LINENO: WARNING: interface/Window.h: in the future, the compiler will take precedence" >&5
29085 echo "$as_me: WARNING: interface/Window.h: in the future, the compiler will take precedence" >&2;}
29089 { echo "$as_me:$LINENO: checking for interface/Window.h" >&5
29090 echo $ECHO_N "checking for interface/Window.h... $ECHO_C" >&6; }
29091 if test "${ac_cv_header_interface_Window_h+set}" = set; then
29092 echo $ECHO_N "(cached) $ECHO_C" >&6
29094 ac_cv_header_interface_Window_h=$ac_header_preproc
29096 { echo "$as_me:$LINENO: result: $ac_cv_header_interface_Window_h" >&5
29097 echo "${ECHO_T}$ac_cv_header_interface_Window_h" >&6; }
29100 if test $ac_cv_header_interface_Window_h = yes; then
29107 if test "${ac_cv_header_interface_View_h+set}" = set; then
29108 { echo "$as_me:$LINENO: checking for interface/View.h" >&5
29109 echo $ECHO_N "checking for interface/View.h... $ECHO_C" >&6; }
29110 if test "${ac_cv_header_interface_View_h+set}" = set; then
29111 echo $ECHO_N "(cached) $ECHO_C" >&6
29113 { echo "$as_me:$LINENO: result: $ac_cv_header_interface_View_h" >&5
29114 echo "${ECHO_T}$ac_cv_header_interface_View_h" >&6; }
29116 # Is the header compilable?
29117 { echo "$as_me:$LINENO: checking interface/View.h usability" >&5
29118 echo $ECHO_N "checking interface/View.h usability... $ECHO_C" >&6; }
29119 cat >conftest.$ac_ext <<_ACEOF
29122 cat confdefs.h >>conftest.$ac_ext
29123 cat >>conftest.$ac_ext <<_ACEOF
29124 /* end confdefs.h. */
29125 $ac_includes_default
29126 #include <interface/View.h>
29128 rm -f conftest.$ac_objext
29129 if { (ac_try="$ac_compile"
29130 case "(($ac_try" in
29131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29132 *) ac_try_echo=$ac_try;;
29134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29135 (eval "$ac_compile") 2>conftest.er1
29137 grep -v '^
*+' conftest.er1 >conftest.err
29139 cat conftest.err >&5
29140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29141 (exit $ac_status); } && {
29142 test -z "$ac_c_werror_flag" ||
29143 test ! -s conftest.err
29144 } && test -s conftest.$ac_objext; then
29145 ac_header_compiler=yes
29147 echo "$as_me: failed program was:" >&5
29148 sed 's
/^
/|
/' conftest.$ac_ext >&5
29150 ac_header_compiler=no
29153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29154 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29155 echo "${ECHO_T}$ac_header_compiler" >&6; }
29157 # Is the header present?
29158 { echo "$as_me:$LINENO: checking interface/View.h presence" >&5
29159 echo $ECHO_N "checking interface/View.h presence... $ECHO_C" >&6; }
29160 cat >conftest.$ac_ext <<_ACEOF
29163 cat confdefs.h >>conftest.$ac_ext
29164 cat >>conftest.$ac_ext <<_ACEOF
29165 /* end confdefs.h. */
29166 #include <interface/View.h>
29168 if { (ac_try="$ac_cpp conftest.$ac_ext"
29169 case "(($ac_try" in
29170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29171 *) ac_try_echo=$ac_try;;
29173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29174 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29176 grep -v '^
*+' conftest.er1 >conftest.err
29178 cat conftest.err >&5
29179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29180 (exit $ac_status); } >/dev/null && {
29181 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29182 test ! -s conftest.err
29184 ac_header_preproc=yes
29186 echo "$as_me: failed program was:" >&5
29187 sed 's
/^
/|
/' conftest.$ac_ext >&5
29189 ac_header_preproc=no
29192 rm -f conftest.err conftest.$ac_ext
29193 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29194 echo "${ECHO_T}$ac_header_preproc" >&6; }
29196 # So? What about this header?
29197 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29199 { echo "$as_me:$LINENO: WARNING: interface/View.h: accepted by the compiler, rejected by the preprocessor!" >&5
29200 echo "$as_me: WARNING: interface/View.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29201 { echo "$as_me:$LINENO: WARNING: interface/View.h: proceeding with the compiler's result
" >&5
29202 echo "$as_me: WARNING
: interface
/View.h
: proceeding with the compiler
's result" >&2;}
29203 ac_header_preproc=yes
29206 { echo "$as_me:$LINENO: WARNING: interface/View.h: present but cannot be compiled" >&5
29207 echo "$as_me: WARNING: interface/View.h: present but cannot be compiled" >&2;}
29208 { echo "$as_me:$LINENO: WARNING: interface/View.h: check for missing prerequisite headers?" >&5
29209 echo "$as_me: WARNING: interface/View.h: check for missing prerequisite headers?" >&2;}
29210 { echo "$as_me:$LINENO: WARNING: interface/View.h: see the Autoconf documentation" >&5
29211 echo "$as_me: WARNING: interface/View.h: see the Autoconf documentation" >&2;}
29212 { echo "$as_me:$LINENO: WARNING: interface/View.h: section \"Present But Cannot Be Compiled\"" >&5
29213 echo "$as_me: WARNING: interface/View.h: section \"Present But Cannot Be Compiled\"" >&2;}
29214 { echo "$as_me:$LINENO: WARNING: interface/View.h: proceeding with the preprocessor's result
" >&5
29215 echo "$as_me: WARNING
: interface
/View.h
: proceeding with the preprocessor
's result" >&2;}
29216 { echo "$as_me:$LINENO: WARNING: interface/View.h: in the future, the compiler will take precedence" >&5
29217 echo "$as_me: WARNING: interface/View.h: in the future, the compiler will take precedence" >&2;}
29221 { echo "$as_me:$LINENO: checking for interface/View.h" >&5
29222 echo $ECHO_N "checking for interface/View.h... $ECHO_C" >&6; }
29223 if test "${ac_cv_header_interface_View_h+set}" = set; then
29224 echo $ECHO_N "(cached) $ECHO_C" >&6
29226 ac_cv_header_interface_View_h=$ac_header_preproc
29228 { echo "$as_me:$LINENO: result: $ac_cv_header_interface_View_h" >&5
29229 echo "${ECHO_T}$ac_cv_header_interface_View_h" >&6; }
29232 if test $ac_cv_header_interface_View_h = yes; then
29239 if test $can_compile_beos = 1; then
29244 if test "$with_amigaos" != yes; then
29245 can_compile_amigaos=1
29246 if test "${ac_cv_header_proto_intuition_h+set}" = set; then
29247 { echo "$as_me:$LINENO: checking for proto/intuition.h" >&5
29248 echo $ECHO_N "checking for proto/intuition.h... $ECHO_C" >&6; }
29249 if test "${ac_cv_header_proto_intuition_h+set}" = set; then
29250 echo $ECHO_N "(cached) $ECHO_C" >&6
29252 { echo "$as_me:$LINENO: result: $ac_cv_header_proto_intuition_h" >&5
29253 echo "${ECHO_T}$ac_cv_header_proto_intuition_h" >&6; }
29255 # Is the header compilable?
29256 { echo "$as_me:$LINENO: checking proto/intuition.h usability" >&5
29257 echo $ECHO_N "checking proto/intuition.h usability... $ECHO_C" >&6; }
29258 cat >conftest.$ac_ext <<_ACEOF
29261 cat confdefs.h >>conftest.$ac_ext
29262 cat >>conftest.$ac_ext <<_ACEOF
29263 /* end confdefs.h. */
29264 $ac_includes_default
29265 #include <proto/intuition.h>
29267 rm -f conftest.$ac_objext
29268 if { (ac_try="$ac_compile"
29269 case "(($ac_try" in
29270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29271 *) ac_try_echo=$ac_try;;
29273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29274 (eval "$ac_compile") 2>conftest.er1
29276 grep -v '^
*+' conftest.er1 >conftest.err
29278 cat conftest.err >&5
29279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29280 (exit $ac_status); } && {
29281 test -z "$ac_c_werror_flag" ||
29282 test ! -s conftest.err
29283 } && test -s conftest.$ac_objext; then
29284 ac_header_compiler=yes
29286 echo "$as_me: failed program was:" >&5
29287 sed 's
/^
/|
/' conftest.$ac_ext >&5
29289 ac_header_compiler=no
29292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29293 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29294 echo "${ECHO_T}$ac_header_compiler" >&6; }
29296 # Is the header present?
29297 { echo "$as_me:$LINENO: checking proto/intuition.h presence" >&5
29298 echo $ECHO_N "checking proto/intuition.h presence... $ECHO_C" >&6; }
29299 cat >conftest.$ac_ext <<_ACEOF
29302 cat confdefs.h >>conftest.$ac_ext
29303 cat >>conftest.$ac_ext <<_ACEOF
29304 /* end confdefs.h. */
29305 #include <proto/intuition.h>
29307 if { (ac_try="$ac_cpp conftest.$ac_ext"
29308 case "(($ac_try" in
29309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29310 *) ac_try_echo=$ac_try;;
29312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29313 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29315 grep -v '^
*+' conftest.er1 >conftest.err
29317 cat conftest.err >&5
29318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29319 (exit $ac_status); } >/dev/null && {
29320 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29321 test ! -s conftest.err
29323 ac_header_preproc=yes
29325 echo "$as_me: failed program was:" >&5
29326 sed 's
/^
/|
/' conftest.$ac_ext >&5
29328 ac_header_preproc=no
29331 rm -f conftest.err conftest.$ac_ext
29332 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29333 echo "${ECHO_T}$ac_header_preproc" >&6; }
29335 # So? What about this header?
29336 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29338 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: accepted by the compiler, rejected by the preprocessor!" >&5
29339 echo "$as_me: WARNING: proto/intuition.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29340 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: proceeding with the compiler's result
" >&5
29341 echo "$as_me: WARNING
: proto
/intuition.h
: proceeding with the compiler
's result" >&2;}
29342 ac_header_preproc=yes
29345 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: present but cannot be compiled" >&5
29346 echo "$as_me: WARNING: proto/intuition.h: present but cannot be compiled" >&2;}
29347 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: check for missing prerequisite headers?" >&5
29348 echo "$as_me: WARNING: proto/intuition.h: check for missing prerequisite headers?" >&2;}
29349 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: see the Autoconf documentation" >&5
29350 echo "$as_me: WARNING: proto/intuition.h: see the Autoconf documentation" >&2;}
29351 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: section \"Present But Cannot Be Compiled\"" >&5
29352 echo "$as_me: WARNING: proto/intuition.h: section \"Present But Cannot Be Compiled\"" >&2;}
29353 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: proceeding with the preprocessor's result
" >&5
29354 echo "$as_me: WARNING
: proto
/intuition.h
: proceeding with the preprocessor
's result" >&2;}
29355 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: in the future, the compiler will take precedence" >&5
29356 echo "$as_me: WARNING: proto/intuition.h: in the future, the compiler will take precedence" >&2;}
29360 { echo "$as_me:$LINENO: checking for proto/intuition.h" >&5
29361 echo $ECHO_N "checking for proto/intuition.h... $ECHO_C" >&6; }
29362 if test "${ac_cv_header_proto_intuition_h+set}" = set; then
29363 echo $ECHO_N "(cached) $ECHO_C" >&6
29365 ac_cv_header_proto_intuition_h=$ac_header_preproc
29367 { echo "$as_me:$LINENO: result: $ac_cv_header_proto_intuition_h" >&5
29368 echo "${ECHO_T}$ac_cv_header_proto_intuition_h" >&6; }
29371 if test $ac_cv_header_proto_intuition_h = yes; then
29374 can_compile_amigaos=0
29378 if test "${ac_cv_header_intuition_intuitionbase_h+set}" = set; then
29379 { echo "$as_me:$LINENO: checking for intuition/intuitionbase.h" >&5
29380 echo $ECHO_N "checking for intuition/intuitionbase.h... $ECHO_C" >&6; }
29381 if test "${ac_cv_header_intuition_intuitionbase_h+set}" = set; then
29382 echo $ECHO_N "(cached) $ECHO_C" >&6
29384 { echo "$as_me:$LINENO: result: $ac_cv_header_intuition_intuitionbase_h" >&5
29385 echo "${ECHO_T}$ac_cv_header_intuition_intuitionbase_h" >&6; }
29387 # Is the header compilable?
29388 { echo "$as_me:$LINENO: checking intuition/intuitionbase.h usability" >&5
29389 echo $ECHO_N "checking intuition/intuitionbase.h usability... $ECHO_C" >&6; }
29390 cat >conftest.$ac_ext <<_ACEOF
29393 cat confdefs.h >>conftest.$ac_ext
29394 cat >>conftest.$ac_ext <<_ACEOF
29395 /* end confdefs.h. */
29396 $ac_includes_default
29397 #include <intuition/intuitionbase.h>
29399 rm -f conftest.$ac_objext
29400 if { (ac_try="$ac_compile"
29401 case "(($ac_try" in
29402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29403 *) ac_try_echo=$ac_try;;
29405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29406 (eval "$ac_compile") 2>conftest.er1
29408 grep -v '^
*+' conftest.er1 >conftest.err
29410 cat conftest.err >&5
29411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29412 (exit $ac_status); } && {
29413 test -z "$ac_c_werror_flag" ||
29414 test ! -s conftest.err
29415 } && test -s conftest.$ac_objext; then
29416 ac_header_compiler=yes
29418 echo "$as_me: failed program was:" >&5
29419 sed 's
/^
/|
/' conftest.$ac_ext >&5
29421 ac_header_compiler=no
29424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29425 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29426 echo "${ECHO_T}$ac_header_compiler" >&6; }
29428 # Is the header present?
29429 { echo "$as_me:$LINENO: checking intuition/intuitionbase.h presence" >&5
29430 echo $ECHO_N "checking intuition/intuitionbase.h presence... $ECHO_C" >&6; }
29431 cat >conftest.$ac_ext <<_ACEOF
29434 cat confdefs.h >>conftest.$ac_ext
29435 cat >>conftest.$ac_ext <<_ACEOF
29436 /* end confdefs.h. */
29437 #include <intuition/intuitionbase.h>
29439 if { (ac_try="$ac_cpp conftest.$ac_ext"
29440 case "(($ac_try" in
29441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29442 *) ac_try_echo=$ac_try;;
29444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29445 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29447 grep -v '^
*+' conftest.er1 >conftest.err
29449 cat conftest.err >&5
29450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29451 (exit $ac_status); } >/dev/null && {
29452 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29453 test ! -s conftest.err
29455 ac_header_preproc=yes
29457 echo "$as_me: failed program was:" >&5
29458 sed 's
/^
/|
/' conftest.$ac_ext >&5
29460 ac_header_preproc=no
29463 rm -f conftest.err conftest.$ac_ext
29464 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29465 echo "${ECHO_T}$ac_header_preproc" >&6; }
29467 # So? What about this header?
29468 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29470 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: accepted by the compiler, rejected by the preprocessor!" >&5
29471 echo "$as_me: WARNING: intuition/intuitionbase.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29472 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: proceeding with the compiler's result
" >&5
29473 echo "$as_me: WARNING
: intuition
/intuitionbase.h
: proceeding with the compiler
's result" >&2;}
29474 ac_header_preproc=yes
29477 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: present but cannot be compiled" >&5
29478 echo "$as_me: WARNING: intuition/intuitionbase.h: present but cannot be compiled" >&2;}
29479 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: check for missing prerequisite headers?" >&5
29480 echo "$as_me: WARNING: intuition/intuitionbase.h: check for missing prerequisite headers?" >&2;}
29481 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: see the Autoconf documentation" >&5
29482 echo "$as_me: WARNING: intuition/intuitionbase.h: see the Autoconf documentation" >&2;}
29483 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: section \"Present But Cannot Be Compiled\"" >&5
29484 echo "$as_me: WARNING: intuition/intuitionbase.h: section \"Present But Cannot Be Compiled\"" >&2;}
29485 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: proceeding with the preprocessor's result
" >&5
29486 echo "$as_me: WARNING
: intuition
/intuitionbase.h
: proceeding with the preprocessor
's result" >&2;}
29487 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: in the future, the compiler will take precedence" >&5
29488 echo "$as_me: WARNING: intuition/intuitionbase.h: in the future, the compiler will take precedence" >&2;}
29492 { echo "$as_me:$LINENO: checking for intuition/intuitionbase.h" >&5
29493 echo $ECHO_N "checking for intuition/intuitionbase.h... $ECHO_C" >&6; }
29494 if test "${ac_cv_header_intuition_intuitionbase_h+set}" = set; then
29495 echo $ECHO_N "(cached) $ECHO_C" >&6
29497 ac_cv_header_intuition_intuitionbase_h=$ac_header_preproc
29499 { echo "$as_me:$LINENO: result: $ac_cv_header_intuition_intuitionbase_h" >&5
29500 echo "${ECHO_T}$ac_cv_header_intuition_intuitionbase_h" >&6; }
29503 if test $ac_cv_header_intuition_intuitionbase_h = yes; then
29506 can_compile_amigaos=0
29510 if test "${ac_cv_header_cybergraphx_cybergraphics_h+set}" = set; then
29511 { echo "$as_me:$LINENO: checking for cybergraphx/cybergraphics.h" >&5
29512 echo $ECHO_N "checking for cybergraphx/cybergraphics.h... $ECHO_C" >&6; }
29513 if test "${ac_cv_header_cybergraphx_cybergraphics_h+set}" = set; then
29514 echo $ECHO_N "(cached) $ECHO_C" >&6
29516 { echo "$as_me:$LINENO: result: $ac_cv_header_cybergraphx_cybergraphics_h" >&5
29517 echo "${ECHO_T}$ac_cv_header_cybergraphx_cybergraphics_h" >&6; }
29519 # Is the header compilable?
29520 { echo "$as_me:$LINENO: checking cybergraphx/cybergraphics.h usability" >&5
29521 echo $ECHO_N "checking cybergraphx/cybergraphics.h usability... $ECHO_C" >&6; }
29522 cat >conftest.$ac_ext <<_ACEOF
29525 cat confdefs.h >>conftest.$ac_ext
29526 cat >>conftest.$ac_ext <<_ACEOF
29527 /* end confdefs.h. */
29528 $ac_includes_default
29529 #include <cybergraphx/cybergraphics.h>
29531 rm -f conftest.$ac_objext
29532 if { (ac_try="$ac_compile"
29533 case "(($ac_try" in
29534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29535 *) ac_try_echo=$ac_try;;
29537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29538 (eval "$ac_compile") 2>conftest.er1
29540 grep -v '^
*+' conftest.er1 >conftest.err
29542 cat conftest.err >&5
29543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29544 (exit $ac_status); } && {
29545 test -z "$ac_c_werror_flag" ||
29546 test ! -s conftest.err
29547 } && test -s conftest.$ac_objext; then
29548 ac_header_compiler=yes
29550 echo "$as_me: failed program was:" >&5
29551 sed 's
/^
/|
/' conftest.$ac_ext >&5
29553 ac_header_compiler=no
29556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29557 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29558 echo "${ECHO_T}$ac_header_compiler" >&6; }
29560 # Is the header present?
29561 { echo "$as_me:$LINENO: checking cybergraphx/cybergraphics.h presence" >&5
29562 echo $ECHO_N "checking cybergraphx/cybergraphics.h presence... $ECHO_C" >&6; }
29563 cat >conftest.$ac_ext <<_ACEOF
29566 cat confdefs.h >>conftest.$ac_ext
29567 cat >>conftest.$ac_ext <<_ACEOF
29568 /* end confdefs.h. */
29569 #include <cybergraphx/cybergraphics.h>
29571 if { (ac_try="$ac_cpp conftest.$ac_ext"
29572 case "(($ac_try" in
29573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29574 *) ac_try_echo=$ac_try;;
29576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29577 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29579 grep -v '^
*+' conftest.er1 >conftest.err
29581 cat conftest.err >&5
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); } >/dev/null && {
29584 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29585 test ! -s conftest.err
29587 ac_header_preproc=yes
29589 echo "$as_me: failed program was:" >&5
29590 sed 's
/^
/|
/' conftest.$ac_ext >&5
29592 ac_header_preproc=no
29595 rm -f conftest.err conftest.$ac_ext
29596 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29597 echo "${ECHO_T}$ac_header_preproc" >&6; }
29599 # So? What about this header?
29600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29602 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: accepted by the compiler, rejected by the preprocessor!" >&5
29603 echo "$as_me: WARNING: cybergraphx/cybergraphics.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29604 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: proceeding with the compiler's result
" >&5
29605 echo "$as_me: WARNING
: cybergraphx
/cybergraphics.h
: proceeding with the compiler
's result" >&2;}
29606 ac_header_preproc=yes
29609 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: present but cannot be compiled" >&5
29610 echo "$as_me: WARNING: cybergraphx/cybergraphics.h: present but cannot be compiled" >&2;}
29611 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: check for missing prerequisite headers?" >&5
29612 echo "$as_me: WARNING: cybergraphx/cybergraphics.h: check for missing prerequisite headers?" >&2;}
29613 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: see the Autoconf documentation" >&5
29614 echo "$as_me: WARNING: cybergraphx/cybergraphics.h: see the Autoconf documentation" >&2;}
29615 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: section \"Present But Cannot Be Compiled\"" >&5
29616 echo "$as_me: WARNING: cybergraphx/cybergraphics.h: section \"Present But Cannot Be Compiled\"" >&2;}
29617 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: proceeding with the preprocessor's result
" >&5
29618 echo "$as_me: WARNING
: cybergraphx
/cybergraphics.h
: proceeding with the preprocessor
's result" >&2;}
29619 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: in the future, the compiler will take precedence" >&5
29620 echo "$as_me: WARNING: cybergraphx/cybergraphics.h: in the future, the compiler will take precedence" >&2;}
29624 { echo "$as_me:$LINENO: checking for cybergraphx/cybergraphics.h" >&5
29625 echo $ECHO_N "checking for cybergraphx/cybergraphics.h... $ECHO_C" >&6; }
29626 if test "${ac_cv_header_cybergraphx_cybergraphics_h+set}" = set; then
29627 echo $ECHO_N "(cached) $ECHO_C" >&6
29629 ac_cv_header_cybergraphx_cybergraphics_h=$ac_header_preproc
29631 { echo "$as_me:$LINENO: result: $ac_cv_header_cybergraphx_cybergraphics_h" >&5
29632 echo "${ECHO_T}$ac_cv_header_cybergraphx_cybergraphics_h" >&6; }
29635 if test $ac_cv_header_cybergraphx_cybergraphics_h = yes; then
29638 can_compile_amigaos=0
29642 if test "${ac_cv_header_devices_trackdisk_h+set}" = set; then
29643 { echo "$as_me:$LINENO: checking for devices/trackdisk.h" >&5
29644 echo $ECHO_N "checking for devices/trackdisk.h... $ECHO_C" >&6; }
29645 if test "${ac_cv_header_devices_trackdisk_h+set}" = set; then
29646 echo $ECHO_N "(cached) $ECHO_C" >&6
29648 { echo "$as_me:$LINENO: result: $ac_cv_header_devices_trackdisk_h" >&5
29649 echo "${ECHO_T}$ac_cv_header_devices_trackdisk_h" >&6; }
29651 # Is the header compilable?
29652 { echo "$as_me:$LINENO: checking devices/trackdisk.h usability" >&5
29653 echo $ECHO_N "checking devices/trackdisk.h usability... $ECHO_C" >&6; }
29654 cat >conftest.$ac_ext <<_ACEOF
29657 cat confdefs.h >>conftest.$ac_ext
29658 cat >>conftest.$ac_ext <<_ACEOF
29659 /* end confdefs.h. */
29660 $ac_includes_default
29661 #include <devices/trackdisk.h>
29663 rm -f conftest.$ac_objext
29664 if { (ac_try="$ac_compile"
29665 case "(($ac_try" in
29666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29667 *) ac_try_echo=$ac_try;;
29669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29670 (eval "$ac_compile") 2>conftest.er1
29672 grep -v '^
*+' conftest.er1 >conftest.err
29674 cat conftest.err >&5
29675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29676 (exit $ac_status); } && {
29677 test -z "$ac_c_werror_flag" ||
29678 test ! -s conftest.err
29679 } && test -s conftest.$ac_objext; then
29680 ac_header_compiler=yes
29682 echo "$as_me: failed program was:" >&5
29683 sed 's
/^
/|
/' conftest.$ac_ext >&5
29685 ac_header_compiler=no
29688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29689 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29690 echo "${ECHO_T}$ac_header_compiler" >&6; }
29692 # Is the header present?
29693 { echo "$as_me:$LINENO: checking devices/trackdisk.h presence" >&5
29694 echo $ECHO_N "checking devices/trackdisk.h presence... $ECHO_C" >&6; }
29695 cat >conftest.$ac_ext <<_ACEOF
29698 cat confdefs.h >>conftest.$ac_ext
29699 cat >>conftest.$ac_ext <<_ACEOF
29700 /* end confdefs.h. */
29701 #include <devices/trackdisk.h>
29703 if { (ac_try="$ac_cpp conftest.$ac_ext"
29704 case "(($ac_try" in
29705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29706 *) ac_try_echo=$ac_try;;
29708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29709 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29711 grep -v '^
*+' conftest.er1 >conftest.err
29713 cat conftest.err >&5
29714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29715 (exit $ac_status); } >/dev/null && {
29716 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29717 test ! -s conftest.err
29719 ac_header_preproc=yes
29721 echo "$as_me: failed program was:" >&5
29722 sed 's
/^
/|
/' conftest.$ac_ext >&5
29724 ac_header_preproc=no
29727 rm -f conftest.err conftest.$ac_ext
29728 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29729 echo "${ECHO_T}$ac_header_preproc" >&6; }
29731 # So? What about this header?
29732 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29734 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: accepted by the compiler, rejected by the preprocessor!" >&5
29735 echo "$as_me: WARNING: devices/trackdisk.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29736 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: proceeding with the compiler's result
" >&5
29737 echo "$as_me: WARNING
: devices
/trackdisk.h
: proceeding with the compiler
's result" >&2;}
29738 ac_header_preproc=yes
29741 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: present but cannot be compiled" >&5
29742 echo "$as_me: WARNING: devices/trackdisk.h: present but cannot be compiled" >&2;}
29743 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: check for missing prerequisite headers?" >&5
29744 echo "$as_me: WARNING: devices/trackdisk.h: check for missing prerequisite headers?" >&2;}
29745 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: see the Autoconf documentation" >&5
29746 echo "$as_me: WARNING: devices/trackdisk.h: see the Autoconf documentation" >&2;}
29747 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: section \"Present But Cannot Be Compiled\"" >&5
29748 echo "$as_me: WARNING: devices/trackdisk.h: section \"Present But Cannot Be Compiled\"" >&2;}
29749 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: proceeding with the preprocessor's result
" >&5
29750 echo "$as_me: WARNING
: devices
/trackdisk.h
: proceeding with the preprocessor
's result" >&2;}
29751 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: in the future, the compiler will take precedence" >&5
29752 echo "$as_me: WARNING: devices/trackdisk.h: in the future, the compiler will take precedence" >&2;}
29756 { echo "$as_me:$LINENO: checking for devices/trackdisk.h" >&5
29757 echo $ECHO_N "checking for devices/trackdisk.h... $ECHO_C" >&6; }
29758 if test "${ac_cv_header_devices_trackdisk_h+set}" = set; then
29759 echo $ECHO_N "(cached) $ECHO_C" >&6
29761 ac_cv_header_devices_trackdisk_h=$ac_header_preproc
29763 { echo "$as_me:$LINENO: result: $ac_cv_header_devices_trackdisk_h" >&5
29764 echo "${ECHO_T}$ac_cv_header_devices_trackdisk_h" >&6; }
29767 if test $ac_cv_header_devices_trackdisk_h = yes; then
29770 can_compile_amigaos=0
29774 if test $can_compile_amigaos = 1; then
29779 if test "$with_macos" != yes; then
29780 can_compile_macos=1
29781 if test "${ac_cv_header_Quickdraw_h+set}" = set; then
29782 { echo "$as_me:$LINENO: checking for Quickdraw.h" >&5
29783 echo $ECHO_N "checking for Quickdraw.h... $ECHO_C" >&6; }
29784 if test "${ac_cv_header_Quickdraw_h+set}" = set; then
29785 echo $ECHO_N "(cached) $ECHO_C" >&6
29787 { echo "$as_me:$LINENO: result: $ac_cv_header_Quickdraw_h" >&5
29788 echo "${ECHO_T}$ac_cv_header_Quickdraw_h" >&6; }
29790 # Is the header compilable?
29791 { echo "$as_me:$LINENO: checking Quickdraw.h usability" >&5
29792 echo $ECHO_N "checking Quickdraw.h usability... $ECHO_C" >&6; }
29793 cat >conftest.$ac_ext <<_ACEOF
29796 cat confdefs.h >>conftest.$ac_ext
29797 cat >>conftest.$ac_ext <<_ACEOF
29798 /* end confdefs.h. */
29799 $ac_includes_default
29800 #include <Quickdraw.h>
29802 rm -f conftest.$ac_objext
29803 if { (ac_try="$ac_compile"
29804 case "(($ac_try" in
29805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29806 *) ac_try_echo=$ac_try;;
29808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29809 (eval "$ac_compile") 2>conftest.er1
29811 grep -v '^
*+' conftest.er1 >conftest.err
29813 cat conftest.err >&5
29814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29815 (exit $ac_status); } && {
29816 test -z "$ac_c_werror_flag" ||
29817 test ! -s conftest.err
29818 } && test -s conftest.$ac_objext; then
29819 ac_header_compiler=yes
29821 echo "$as_me: failed program was:" >&5
29822 sed 's
/^
/|
/' conftest.$ac_ext >&5
29824 ac_header_compiler=no
29827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29828 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29829 echo "${ECHO_T}$ac_header_compiler" >&6; }
29831 # Is the header present?
29832 { echo "$as_me:$LINENO: checking Quickdraw.h presence" >&5
29833 echo $ECHO_N "checking Quickdraw.h presence... $ECHO_C" >&6; }
29834 cat >conftest.$ac_ext <<_ACEOF
29837 cat confdefs.h >>conftest.$ac_ext
29838 cat >>conftest.$ac_ext <<_ACEOF
29839 /* end confdefs.h. */
29840 #include <Quickdraw.h>
29842 if { (ac_try="$ac_cpp conftest.$ac_ext"
29843 case "(($ac_try" in
29844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29845 *) ac_try_echo=$ac_try;;
29847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29848 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29850 grep -v '^
*+' conftest.er1 >conftest.err
29852 cat conftest.err >&5
29853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29854 (exit $ac_status); } >/dev/null && {
29855 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29856 test ! -s conftest.err
29858 ac_header_preproc=yes
29860 echo "$as_me: failed program was:" >&5
29861 sed 's
/^
/|
/' conftest.$ac_ext >&5
29863 ac_header_preproc=no
29866 rm -f conftest.err conftest.$ac_ext
29867 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29868 echo "${ECHO_T}$ac_header_preproc" >&6; }
29870 # So? What about this header?
29871 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29873 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: accepted by the compiler, rejected by the preprocessor!" >&5
29874 echo "$as_me: WARNING: Quickdraw.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29875 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: proceeding with the compiler's result
" >&5
29876 echo "$as_me: WARNING
: Quickdraw.h
: proceeding with the compiler
's result" >&2;}
29877 ac_header_preproc=yes
29880 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: present but cannot be compiled" >&5
29881 echo "$as_me: WARNING: Quickdraw.h: present but cannot be compiled" >&2;}
29882 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: check for missing prerequisite headers?" >&5
29883 echo "$as_me: WARNING: Quickdraw.h: check for missing prerequisite headers?" >&2;}
29884 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: see the Autoconf documentation" >&5
29885 echo "$as_me: WARNING: Quickdraw.h: see the Autoconf documentation" >&2;}
29886 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: section \"Present But Cannot Be Compiled\"" >&5
29887 echo "$as_me: WARNING: Quickdraw.h: section \"Present But Cannot Be Compiled\"" >&2;}
29888 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: proceeding with the preprocessor's result
" >&5
29889 echo "$as_me: WARNING
: Quickdraw.h
: proceeding with the preprocessor
's result" >&2;}
29890 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: in the future, the compiler will take precedence" >&5
29891 echo "$as_me: WARNING: Quickdraw.h: in the future, the compiler will take precedence" >&2;}
29895 { echo "$as_me:$LINENO: checking for Quickdraw.h" >&5
29896 echo $ECHO_N "checking for Quickdraw.h... $ECHO_C" >&6; }
29897 if test "${ac_cv_header_Quickdraw_h+set}" = set; then
29898 echo $ECHO_N "(cached) $ECHO_C" >&6
29900 ac_cv_header_Quickdraw_h=$ac_header_preproc
29902 { echo "$as_me:$LINENO: result: $ac_cv_header_Quickdraw_h" >&5
29903 echo "${ECHO_T}$ac_cv_header_Quickdraw_h" >&6; }
29906 if test $ac_cv_header_Quickdraw_h = yes; then
29909 can_compile_macos=0
29913 if test "${ac_cv_header_Dialogs_h+set}" = set; then
29914 { echo "$as_me:$LINENO: checking for Dialogs.h" >&5
29915 echo $ECHO_N "checking for Dialogs.h... $ECHO_C" >&6; }
29916 if test "${ac_cv_header_Dialogs_h+set}" = set; then
29917 echo $ECHO_N "(cached) $ECHO_C" >&6
29919 { echo "$as_me:$LINENO: result: $ac_cv_header_Dialogs_h" >&5
29920 echo "${ECHO_T}$ac_cv_header_Dialogs_h" >&6; }
29922 # Is the header compilable?
29923 { echo "$as_me:$LINENO: checking Dialogs.h usability" >&5
29924 echo $ECHO_N "checking Dialogs.h usability... $ECHO_C" >&6; }
29925 cat >conftest.$ac_ext <<_ACEOF
29928 cat confdefs.h >>conftest.$ac_ext
29929 cat >>conftest.$ac_ext <<_ACEOF
29930 /* end confdefs.h. */
29931 $ac_includes_default
29932 #include <Dialogs.h>
29934 rm -f conftest.$ac_objext
29935 if { (ac_try="$ac_compile"
29936 case "(($ac_try" in
29937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29938 *) ac_try_echo=$ac_try;;
29940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29941 (eval "$ac_compile") 2>conftest.er1
29943 grep -v '^
*+' conftest.er1 >conftest.err
29945 cat conftest.err >&5
29946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29947 (exit $ac_status); } && {
29948 test -z "$ac_c_werror_flag" ||
29949 test ! -s conftest.err
29950 } && test -s conftest.$ac_objext; then
29951 ac_header_compiler=yes
29953 echo "$as_me: failed program was:" >&5
29954 sed 's
/^
/|
/' conftest.$ac_ext >&5
29956 ac_header_compiler=no
29959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29960 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29961 echo "${ECHO_T}$ac_header_compiler" >&6; }
29963 # Is the header present?
29964 { echo "$as_me:$LINENO: checking Dialogs.h presence" >&5
29965 echo $ECHO_N "checking Dialogs.h presence... $ECHO_C" >&6; }
29966 cat >conftest.$ac_ext <<_ACEOF
29969 cat confdefs.h >>conftest.$ac_ext
29970 cat >>conftest.$ac_ext <<_ACEOF
29971 /* end confdefs.h. */
29972 #include <Dialogs.h>
29974 if { (ac_try="$ac_cpp conftest.$ac_ext"
29975 case "(($ac_try" in
29976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29977 *) ac_try_echo=$ac_try;;
29979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29980 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29982 grep -v '^
*+' conftest.er1 >conftest.err
29984 cat conftest.err >&5
29985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29986 (exit $ac_status); } >/dev/null && {
29987 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29988 test ! -s conftest.err
29990 ac_header_preproc=yes
29992 echo "$as_me: failed program was:" >&5
29993 sed 's
/^
/|
/' conftest.$ac_ext >&5
29995 ac_header_preproc=no
29998 rm -f conftest.err conftest.$ac_ext
29999 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30000 echo "${ECHO_T}$ac_header_preproc" >&6; }
30002 # So? What about this header?
30003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30005 { echo "$as_me:$LINENO: WARNING: Dialogs.h: accepted by the compiler, rejected by the preprocessor!" >&5
30006 echo "$as_me: WARNING: Dialogs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30007 { echo "$as_me:$LINENO: WARNING: Dialogs.h: proceeding with the compiler's result
" >&5
30008 echo "$as_me: WARNING
: Dialogs.h
: proceeding with the compiler
's result" >&2;}
30009 ac_header_preproc=yes
30012 { echo "$as_me:$LINENO: WARNING: Dialogs.h: present but cannot be compiled" >&5
30013 echo "$as_me: WARNING: Dialogs.h: present but cannot be compiled" >&2;}
30014 { echo "$as_me:$LINENO: WARNING: Dialogs.h: check for missing prerequisite headers?" >&5
30015 echo "$as_me: WARNING: Dialogs.h: check for missing prerequisite headers?" >&2;}
30016 { echo "$as_me:$LINENO: WARNING: Dialogs.h: see the Autoconf documentation" >&5
30017 echo "$as_me: WARNING: Dialogs.h: see the Autoconf documentation" >&2;}
30018 { echo "$as_me:$LINENO: WARNING: Dialogs.h: section \"Present But Cannot Be Compiled\"" >&5
30019 echo "$as_me: WARNING: Dialogs.h: section \"Present But Cannot Be Compiled\"" >&2;}
30020 { echo "$as_me:$LINENO: WARNING: Dialogs.h: proceeding with the preprocessor's result
" >&5
30021 echo "$as_me: WARNING
: Dialogs.h
: proceeding with the preprocessor
's result" >&2;}
30022 { echo "$as_me:$LINENO: WARNING: Dialogs.h: in the future, the compiler will take precedence" >&5
30023 echo "$as_me: WARNING: Dialogs.h: in the future, the compiler will take precedence" >&2;}
30027 { echo "$as_me:$LINENO: checking for Dialogs.h" >&5
30028 echo $ECHO_N "checking for Dialogs.h... $ECHO_C" >&6; }
30029 if test "${ac_cv_header_Dialogs_h+set}" = set; then
30030 echo $ECHO_N "(cached) $ECHO_C" >&6
30032 ac_cv_header_Dialogs_h=$ac_header_preproc
30034 { echo "$as_me:$LINENO: result: $ac_cv_header_Dialogs_h" >&5
30035 echo "${ECHO_T}$ac_cv_header_Dialogs_h" >&6; }
30038 if test $ac_cv_header_Dialogs_h = yes; then
30041 can_compile_macos=0
30045 if test $can_compile_macos = 1; then
30050 if test "$with_carbon" != yes; then
30051 can_compile_carbon=1
30052 if test "${ac_cv_header_Carbon_h+set}" = set; then
30053 { echo "$as_me:$LINENO: checking for Carbon.h" >&5
30054 echo $ECHO_N "checking for Carbon.h... $ECHO_C" >&6; }
30055 if test "${ac_cv_header_Carbon_h+set}" = set; then
30056 echo $ECHO_N "(cached) $ECHO_C" >&6
30058 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_h" >&5
30059 echo "${ECHO_T}$ac_cv_header_Carbon_h" >&6; }
30061 # Is the header compilable?
30062 { echo "$as_me:$LINENO: checking Carbon.h usability" >&5
30063 echo $ECHO_N "checking Carbon.h usability... $ECHO_C" >&6; }
30064 cat >conftest.$ac_ext <<_ACEOF
30067 cat confdefs.h >>conftest.$ac_ext
30068 cat >>conftest.$ac_ext <<_ACEOF
30069 /* end confdefs.h. */
30070 $ac_includes_default
30071 #include <Carbon.h>
30073 rm -f conftest.$ac_objext
30074 if { (ac_try="$ac_compile"
30075 case "(($ac_try" in
30076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30077 *) ac_try_echo=$ac_try;;
30079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30080 (eval "$ac_compile") 2>conftest.er1
30082 grep -v '^
*+' conftest.er1 >conftest.err
30084 cat conftest.err >&5
30085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30086 (exit $ac_status); } && {
30087 test -z "$ac_c_werror_flag" ||
30088 test ! -s conftest.err
30089 } && test -s conftest.$ac_objext; then
30090 ac_header_compiler=yes
30092 echo "$as_me: failed program was:" >&5
30093 sed 's
/^
/|
/' conftest.$ac_ext >&5
30095 ac_header_compiler=no
30098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30099 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30100 echo "${ECHO_T}$ac_header_compiler" >&6; }
30102 # Is the header present?
30103 { echo "$as_me:$LINENO: checking Carbon.h presence" >&5
30104 echo $ECHO_N "checking Carbon.h presence... $ECHO_C" >&6; }
30105 cat >conftest.$ac_ext <<_ACEOF
30108 cat confdefs.h >>conftest.$ac_ext
30109 cat >>conftest.$ac_ext <<_ACEOF
30110 /* end confdefs.h. */
30111 #include <Carbon.h>
30113 if { (ac_try="$ac_cpp conftest.$ac_ext"
30114 case "(($ac_try" in
30115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30116 *) ac_try_echo=$ac_try;;
30118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30119 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30121 grep -v '^
*+' conftest.er1 >conftest.err
30123 cat conftest.err >&5
30124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30125 (exit $ac_status); } >/dev/null && {
30126 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30127 test ! -s conftest.err
30129 ac_header_preproc=yes
30131 echo "$as_me: failed program was:" >&5
30132 sed 's
/^
/|
/' conftest.$ac_ext >&5
30134 ac_header_preproc=no
30137 rm -f conftest.err conftest.$ac_ext
30138 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30139 echo "${ECHO_T}$ac_header_preproc" >&6; }
30141 # So? What about this header?
30142 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30144 { echo "$as_me:$LINENO: WARNING: Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
30145 echo "$as_me: WARNING: Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30146 { echo "$as_me:$LINENO: WARNING: Carbon.h: proceeding with the compiler's result
" >&5
30147 echo "$as_me: WARNING
: Carbon.h
: proceeding with the compiler
's result" >&2;}
30148 ac_header_preproc=yes
30151 { echo "$as_me:$LINENO: WARNING: Carbon.h: present but cannot be compiled" >&5
30152 echo "$as_me: WARNING: Carbon.h: present but cannot be compiled" >&2;}
30153 { echo "$as_me:$LINENO: WARNING: Carbon.h: check for missing prerequisite headers?" >&5
30154 echo "$as_me: WARNING: Carbon.h: check for missing prerequisite headers?" >&2;}
30155 { echo "$as_me:$LINENO: WARNING: Carbon.h: see the Autoconf documentation" >&5
30156 echo "$as_me: WARNING: Carbon.h: see the Autoconf documentation" >&2;}
30157 { echo "$as_me:$LINENO: WARNING: Carbon.h: section \"Present But Cannot Be Compiled\"" >&5
30158 echo "$as_me: WARNING: Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;}
30159 { echo "$as_me:$LINENO: WARNING: Carbon.h: proceeding with the preprocessor's result
" >&5
30160 echo "$as_me: WARNING
: Carbon.h
: proceeding with the preprocessor
's result" >&2;}
30161 { echo "$as_me:$LINENO: WARNING: Carbon.h: in the future, the compiler will take precedence" >&5
30162 echo "$as_me: WARNING: Carbon.h: in the future, the compiler will take precedence" >&2;}
30166 { echo "$as_me:$LINENO: checking for Carbon.h" >&5
30167 echo $ECHO_N "checking for Carbon.h... $ECHO_C" >&6; }
30168 if test "${ac_cv_header_Carbon_h+set}" = set; then
30169 echo $ECHO_N "(cached) $ECHO_C" >&6
30171 ac_cv_header_Carbon_h=$ac_header_preproc
30173 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_h" >&5
30174 echo "${ECHO_T}$ac_cv_header_Carbon_h" >&6; }
30177 if test $ac_cv_header_Carbon_h = yes; then
30180 can_compile_carbon=0
30184 if test "${ac_cv_header_ApplicationServices_ApplicationServices_h+set}" = set; then
30185 { echo "$as_me:$LINENO: checking for ApplicationServices/ApplicationServices.h" >&5
30186 echo $ECHO_N "checking for ApplicationServices/ApplicationServices.h... $ECHO_C" >&6; }
30187 if test "${ac_cv_header_ApplicationServices_ApplicationServices_h+set}" = set; then
30188 echo $ECHO_N "(cached) $ECHO_C" >&6
30190 { echo "$as_me:$LINENO: result: $ac_cv_header_ApplicationServices_ApplicationServices_h" >&5
30191 echo "${ECHO_T}$ac_cv_header_ApplicationServices_ApplicationServices_h" >&6; }
30193 # Is the header compilable?
30194 { echo "$as_me:$LINENO: checking ApplicationServices/ApplicationServices.h usability" >&5
30195 echo $ECHO_N "checking ApplicationServices/ApplicationServices.h usability... $ECHO_C" >&6; }
30196 cat >conftest.$ac_ext <<_ACEOF
30199 cat confdefs.h >>conftest.$ac_ext
30200 cat >>conftest.$ac_ext <<_ACEOF
30201 /* end confdefs.h. */
30202 $ac_includes_default
30203 #include <ApplicationServices/ApplicationServices.h>
30205 rm -f conftest.$ac_objext
30206 if { (ac_try="$ac_compile"
30207 case "(($ac_try" in
30208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30209 *) ac_try_echo=$ac_try;;
30211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30212 (eval "$ac_compile") 2>conftest.er1
30214 grep -v '^
*+' conftest.er1 >conftest.err
30216 cat conftest.err >&5
30217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30218 (exit $ac_status); } && {
30219 test -z "$ac_c_werror_flag" ||
30220 test ! -s conftest.err
30221 } && test -s conftest.$ac_objext; then
30222 ac_header_compiler=yes
30224 echo "$as_me: failed program was:" >&5
30225 sed 's
/^
/|
/' conftest.$ac_ext >&5
30227 ac_header_compiler=no
30230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30231 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30232 echo "${ECHO_T}$ac_header_compiler" >&6; }
30234 # Is the header present?
30235 { echo "$as_me:$LINENO: checking ApplicationServices/ApplicationServices.h presence" >&5
30236 echo $ECHO_N "checking ApplicationServices/ApplicationServices.h presence... $ECHO_C" >&6; }
30237 cat >conftest.$ac_ext <<_ACEOF
30240 cat confdefs.h >>conftest.$ac_ext
30241 cat >>conftest.$ac_ext <<_ACEOF
30242 /* end confdefs.h. */
30243 #include <ApplicationServices/ApplicationServices.h>
30245 if { (ac_try="$ac_cpp conftest.$ac_ext"
30246 case "(($ac_try" in
30247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30248 *) ac_try_echo=$ac_try;;
30250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30251 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30253 grep -v '^
*+' conftest.er1 >conftest.err
30255 cat conftest.err >&5
30256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30257 (exit $ac_status); } >/dev/null && {
30258 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30259 test ! -s conftest.err
30261 ac_header_preproc=yes
30263 echo "$as_me: failed program was:" >&5
30264 sed 's
/^
/|
/' conftest.$ac_ext >&5
30266 ac_header_preproc=no
30269 rm -f conftest.err conftest.$ac_ext
30270 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30271 echo "${ECHO_T}$ac_header_preproc" >&6; }
30273 # So? What about this header?
30274 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30276 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: accepted by the compiler, rejected by the preprocessor!" >&5
30277 echo "$as_me: WARNING: ApplicationServices/ApplicationServices.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30278 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: proceeding with the compiler's result
" >&5
30279 echo "$as_me: WARNING
: ApplicationServices
/ApplicationServices.h
: proceeding with the compiler
's result" >&2;}
30280 ac_header_preproc=yes
30283 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: present but cannot be compiled" >&5
30284 echo "$as_me: WARNING: ApplicationServices/ApplicationServices.h: present but cannot be compiled" >&2;}
30285 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: check for missing prerequisite headers?" >&5
30286 echo "$as_me: WARNING: ApplicationServices/ApplicationServices.h: check for missing prerequisite headers?" >&2;}
30287 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: see the Autoconf documentation" >&5
30288 echo "$as_me: WARNING: ApplicationServices/ApplicationServices.h: see the Autoconf documentation" >&2;}
30289 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: section \"Present But Cannot Be Compiled\"" >&5
30290 echo "$as_me: WARNING: ApplicationServices/ApplicationServices.h: section \"Present But Cannot Be Compiled\"" >&2;}
30291 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: proceeding with the preprocessor's result
" >&5
30292 echo "$as_me: WARNING
: ApplicationServices
/ApplicationServices.h
: proceeding with the preprocessor
's result" >&2;}
30293 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: in the future, the compiler will take precedence" >&5
30294 echo "$as_me: WARNING: ApplicationServices/ApplicationServices.h: in the future, the compiler will take precedence" >&2;}
30298 { echo "$as_me:$LINENO: checking for ApplicationServices/ApplicationServices.h" >&5
30299 echo $ECHO_N "checking for ApplicationServices/ApplicationServices.h... $ECHO_C" >&6; }
30300 if test "${ac_cv_header_ApplicationServices_ApplicationServices_h+set}" = set; then
30301 echo $ECHO_N "(cached) $ECHO_C" >&6
30303 ac_cv_header_ApplicationServices_ApplicationServices_h=$ac_header_preproc
30305 { echo "$as_me:$LINENO: result: $ac_cv_header_ApplicationServices_ApplicationServices_h" >&5
30306 echo "${ECHO_T}$ac_cv_header_ApplicationServices_ApplicationServices_h" >&6; }
30309 if test $ac_cv_header_ApplicationServices_ApplicationServices_h = yes; then
30312 can_compile_carbon=0
30316 if test $can_compile_carbon = 1; then
30321 if test "$with_win32" != yes; then
30322 can_compile_win32=1
30323 if test "${ac_cv_header_windows_h+set}" = set; then
30324 { echo "$as_me:$LINENO: checking for windows.h" >&5
30325 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30326 if test "${ac_cv_header_windows_h+set}" = set; then
30327 echo $ECHO_N "(cached) $ECHO_C" >&6
30329 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30330 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30332 # Is the header compilable?
30333 { echo "$as_me:$LINENO: checking windows.h usability" >&5
30334 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6; }
30335 cat >conftest.$ac_ext <<_ACEOF
30338 cat confdefs.h >>conftest.$ac_ext
30339 cat >>conftest.$ac_ext <<_ACEOF
30340 /* end confdefs.h. */
30341 $ac_includes_default
30342 #include <windows.h>
30344 rm -f conftest.$ac_objext
30345 if { (ac_try="$ac_compile"
30346 case "(($ac_try" in
30347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30348 *) ac_try_echo=$ac_try;;
30350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30351 (eval "$ac_compile") 2>conftest.er1
30353 grep -v '^
*+' conftest.er1 >conftest.err
30355 cat conftest.err >&5
30356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30357 (exit $ac_status); } && {
30358 test -z "$ac_c_werror_flag" ||
30359 test ! -s conftest.err
30360 } && test -s conftest.$ac_objext; then
30361 ac_header_compiler=yes
30363 echo "$as_me: failed program was:" >&5
30364 sed 's
/^
/|
/' conftest.$ac_ext >&5
30366 ac_header_compiler=no
30369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30370 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30371 echo "${ECHO_T}$ac_header_compiler" >&6; }
30373 # Is the header present?
30374 { echo "$as_me:$LINENO: checking windows.h presence" >&5
30375 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6; }
30376 cat >conftest.$ac_ext <<_ACEOF
30379 cat confdefs.h >>conftest.$ac_ext
30380 cat >>conftest.$ac_ext <<_ACEOF
30381 /* end confdefs.h. */
30382 #include <windows.h>
30384 if { (ac_try="$ac_cpp conftest.$ac_ext"
30385 case "(($ac_try" in
30386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30387 *) ac_try_echo=$ac_try;;
30389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30390 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30392 grep -v '^
*+' conftest.er1 >conftest.err
30394 cat conftest.err >&5
30395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30396 (exit $ac_status); } >/dev/null && {
30397 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30398 test ! -s conftest.err
30400 ac_header_preproc=yes
30402 echo "$as_me: failed program was:" >&5
30403 sed 's
/^
/|
/' conftest.$ac_ext >&5
30405 ac_header_preproc=no
30408 rm -f conftest.err conftest.$ac_ext
30409 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30410 echo "${ECHO_T}$ac_header_preproc" >&6; }
30412 # So? What about this header?
30413 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30415 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
30416 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30417 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result
" >&5
30418 echo "$as_me: WARNING
: windows.h
: proceeding with the compiler
's result" >&2;}
30419 ac_header_preproc=yes
30422 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
30423 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
30424 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
30425 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
30426 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
30427 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
30428 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
30429 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
30430 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result
" >&5
30431 echo "$as_me: WARNING
: windows.h
: proceeding with the preprocessor
's result" >&2;}
30432 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
30433 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
30437 { echo "$as_me:$LINENO: checking for windows.h" >&5
30438 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30439 if test "${ac_cv_header_windows_h+set}" = set; then
30440 echo $ECHO_N "(cached) $ECHO_C" >&6
30442 ac_cv_header_windows_h=$ac_header_preproc
30444 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30445 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30448 if test $ac_cv_header_windows_h = yes; then
30451 can_compile_win32=0
30455 if test "${ac_cv_header_commctrl_h+set}" = set; then
30456 { echo "$as_me:$LINENO: checking for commctrl.h" >&5
30457 echo $ECHO_N "checking for commctrl.h... $ECHO_C" >&6; }
30458 if test "${ac_cv_header_commctrl_h+set}" = set; then
30459 echo $ECHO_N "(cached) $ECHO_C" >&6
30461 { echo "$as_me:$LINENO: result: $ac_cv_header_commctrl_h" >&5
30462 echo "${ECHO_T}$ac_cv_header_commctrl_h" >&6; }
30464 # Is the header compilable?
30465 { echo "$as_me:$LINENO: checking commctrl.h usability" >&5
30466 echo $ECHO_N "checking commctrl.h usability... $ECHO_C" >&6; }
30467 cat >conftest.$ac_ext <<_ACEOF
30470 cat confdefs.h >>conftest.$ac_ext
30471 cat >>conftest.$ac_ext <<_ACEOF
30472 /* end confdefs.h. */
30473 $ac_includes_default
30474 #include <commctrl.h>
30476 rm -f conftest.$ac_objext
30477 if { (ac_try="$ac_compile"
30478 case "(($ac_try" in
30479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30480 *) ac_try_echo=$ac_try;;
30482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30483 (eval "$ac_compile") 2>conftest.er1
30485 grep -v '^
*+' conftest.er1 >conftest.err
30487 cat conftest.err >&5
30488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30489 (exit $ac_status); } && {
30490 test -z "$ac_c_werror_flag" ||
30491 test ! -s conftest.err
30492 } && test -s conftest.$ac_objext; then
30493 ac_header_compiler=yes
30495 echo "$as_me: failed program was:" >&5
30496 sed 's
/^
/|
/' conftest.$ac_ext >&5
30498 ac_header_compiler=no
30501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30502 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30503 echo "${ECHO_T}$ac_header_compiler" >&6; }
30505 # Is the header present?
30506 { echo "$as_me:$LINENO: checking commctrl.h presence" >&5
30507 echo $ECHO_N "checking commctrl.h presence... $ECHO_C" >&6; }
30508 cat >conftest.$ac_ext <<_ACEOF
30511 cat confdefs.h >>conftest.$ac_ext
30512 cat >>conftest.$ac_ext <<_ACEOF
30513 /* end confdefs.h. */
30514 #include <commctrl.h>
30516 if { (ac_try="$ac_cpp conftest.$ac_ext"
30517 case "(($ac_try" in
30518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30519 *) ac_try_echo=$ac_try;;
30521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30522 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30524 grep -v '^
*+' conftest.er1 >conftest.err
30526 cat conftest.err >&5
30527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30528 (exit $ac_status); } >/dev/null && {
30529 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30530 test ! -s conftest.err
30532 ac_header_preproc=yes
30534 echo "$as_me: failed program was:" >&5
30535 sed 's
/^
/|
/' conftest.$ac_ext >&5
30537 ac_header_preproc=no
30540 rm -f conftest.err conftest.$ac_ext
30541 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30542 echo "${ECHO_T}$ac_header_preproc" >&6; }
30544 # So? What about this header?
30545 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30547 { echo "$as_me:$LINENO: WARNING: commctrl.h: accepted by the compiler, rejected by the preprocessor!" >&5
30548 echo "$as_me: WARNING: commctrl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30549 { echo "$as_me:$LINENO: WARNING: commctrl.h: proceeding with the compiler's result
" >&5
30550 echo "$as_me: WARNING
: commctrl.h
: proceeding with the compiler
's result" >&2;}
30551 ac_header_preproc=yes
30554 { echo "$as_me:$LINENO: WARNING: commctrl.h: present but cannot be compiled" >&5
30555 echo "$as_me: WARNING: commctrl.h: present but cannot be compiled" >&2;}
30556 { echo "$as_me:$LINENO: WARNING: commctrl.h: check for missing prerequisite headers?" >&5
30557 echo "$as_me: WARNING: commctrl.h: check for missing prerequisite headers?" >&2;}
30558 { echo "$as_me:$LINENO: WARNING: commctrl.h: see the Autoconf documentation" >&5
30559 echo "$as_me: WARNING: commctrl.h: see the Autoconf documentation" >&2;}
30560 { echo "$as_me:$LINENO: WARNING: commctrl.h: section \"Present But Cannot Be Compiled\"" >&5
30561 echo "$as_me: WARNING: commctrl.h: section \"Present But Cannot Be Compiled\"" >&2;}
30562 { echo "$as_me:$LINENO: WARNING: commctrl.h: proceeding with the preprocessor's result
" >&5
30563 echo "$as_me: WARNING
: commctrl.h
: proceeding with the preprocessor
's result" >&2;}
30564 { echo "$as_me:$LINENO: WARNING: commctrl.h: in the future, the compiler will take precedence" >&5
30565 echo "$as_me: WARNING: commctrl.h: in the future, the compiler will take precedence" >&2;}
30569 { echo "$as_me:$LINENO: checking for commctrl.h" >&5
30570 echo $ECHO_N "checking for commctrl.h... $ECHO_C" >&6; }
30571 if test "${ac_cv_header_commctrl_h+set}" = set; then
30572 echo $ECHO_N "(cached) $ECHO_C" >&6
30574 ac_cv_header_commctrl_h=$ac_header_preproc
30576 { echo "$as_me:$LINENO: result: $ac_cv_header_commctrl_h" >&5
30577 echo "${ECHO_T}$ac_cv_header_commctrl_h" >&6; }
30580 if test $ac_cv_header_commctrl_h = yes; then
30583 can_compile_win32=0
30587 if test $can_compile_win32 = 1; then
30592 if test "$with_sdl" != yes; then
30594 if test "${ac_cv_header_SDL_SDL_h+set}" = set; then
30595 { echo "$as_me:$LINENO: checking for SDL/SDL.h" >&5
30596 echo $ECHO_N "checking for SDL/SDL.h... $ECHO_C" >&6; }
30597 if test "${ac_cv_header_SDL_SDL_h+set}" = set; then
30598 echo $ECHO_N "(cached) $ECHO_C" >&6
30600 { echo "$as_me:$LINENO: result: $ac_cv_header_SDL_SDL_h" >&5
30601 echo "${ECHO_T}$ac_cv_header_SDL_SDL_h" >&6; }
30603 # Is the header compilable?
30604 { echo "$as_me:$LINENO: checking SDL/SDL.h usability" >&5
30605 echo $ECHO_N "checking SDL/SDL.h usability... $ECHO_C" >&6; }
30606 cat >conftest.$ac_ext <<_ACEOF
30609 cat confdefs.h >>conftest.$ac_ext
30610 cat >>conftest.$ac_ext <<_ACEOF
30611 /* end confdefs.h. */
30612 $ac_includes_default
30613 #include <SDL/SDL.h>
30615 rm -f conftest.$ac_objext
30616 if { (ac_try="$ac_compile"
30617 case "(($ac_try" in
30618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30619 *) ac_try_echo=$ac_try;;
30621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30622 (eval "$ac_compile") 2>conftest.er1
30624 grep -v '^
*+' conftest.er1 >conftest.err
30626 cat conftest.err >&5
30627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30628 (exit $ac_status); } && {
30629 test -z "$ac_c_werror_flag" ||
30630 test ! -s conftest.err
30631 } && test -s conftest.$ac_objext; then
30632 ac_header_compiler=yes
30634 echo "$as_me: failed program was:" >&5
30635 sed 's
/^
/|
/' conftest.$ac_ext >&5
30637 ac_header_compiler=no
30640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30641 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30642 echo "${ECHO_T}$ac_header_compiler" >&6; }
30644 # Is the header present?
30645 { echo "$as_me:$LINENO: checking SDL/SDL.h presence" >&5
30646 echo $ECHO_N "checking SDL/SDL.h presence... $ECHO_C" >&6; }
30647 cat >conftest.$ac_ext <<_ACEOF
30650 cat confdefs.h >>conftest.$ac_ext
30651 cat >>conftest.$ac_ext <<_ACEOF
30652 /* end confdefs.h. */
30653 #include <SDL/SDL.h>
30655 if { (ac_try="$ac_cpp conftest.$ac_ext"
30656 case "(($ac_try" in
30657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30658 *) ac_try_echo=$ac_try;;
30660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30661 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30663 grep -v '^
*+' conftest.er1 >conftest.err
30665 cat conftest.err >&5
30666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667 (exit $ac_status); } >/dev/null && {
30668 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30669 test ! -s conftest.err
30671 ac_header_preproc=yes
30673 echo "$as_me: failed program was:" >&5
30674 sed 's
/^
/|
/' conftest.$ac_ext >&5
30676 ac_header_preproc=no
30679 rm -f conftest.err conftest.$ac_ext
30680 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30681 echo "${ECHO_T}$ac_header_preproc" >&6; }
30683 # So? What about this header?
30684 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30686 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: accepted by the compiler, rejected by the preprocessor!" >&5
30687 echo "$as_me: WARNING: SDL/SDL.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30688 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: proceeding with the compiler's result
" >&5
30689 echo "$as_me: WARNING
: SDL
/SDL.h
: proceeding with the compiler
's result" >&2;}
30690 ac_header_preproc=yes
30693 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: present but cannot be compiled" >&5
30694 echo "$as_me: WARNING: SDL/SDL.h: present but cannot be compiled" >&2;}
30695 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: check for missing prerequisite headers?" >&5
30696 echo "$as_me: WARNING: SDL/SDL.h: check for missing prerequisite headers?" >&2;}
30697 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: see the Autoconf documentation" >&5
30698 echo "$as_me: WARNING: SDL/SDL.h: see the Autoconf documentation" >&2;}
30699 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: section \"Present But Cannot Be Compiled\"" >&5
30700 echo "$as_me: WARNING: SDL/SDL.h: section \"Present But Cannot Be Compiled\"" >&2;}
30701 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: proceeding with the preprocessor's result
" >&5
30702 echo "$as_me: WARNING
: SDL
/SDL.h
: proceeding with the preprocessor
's result" >&2;}
30703 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: in the future, the compiler will take precedence" >&5
30704 echo "$as_me: WARNING: SDL/SDL.h: in the future, the compiler will take precedence" >&2;}
30708 { echo "$as_me:$LINENO: checking for SDL/SDL.h" >&5
30709 echo $ECHO_N "checking for SDL/SDL.h... $ECHO_C" >&6; }
30710 if test "${ac_cv_header_SDL_SDL_h+set}" = set; then
30711 echo $ECHO_N "(cached) $ECHO_C" >&6
30713 ac_cv_header_SDL_SDL_h=$ac_header_preproc
30715 { echo "$as_me:$LINENO: result: $ac_cv_header_SDL_SDL_h" >&5
30716 echo "${ECHO_T}$ac_cv_header_SDL_SDL_h" >&6; }
30719 if test $ac_cv_header_SDL_SDL_h = yes; then
30726 if test "${ac_cv_header_SDL_SDL_main_h+set}" = set; then
30727 { echo "$as_me:$LINENO: checking for SDL/SDL_main.h" >&5
30728 echo $ECHO_N "checking for SDL/SDL_main.h... $ECHO_C" >&6; }
30729 if test "${ac_cv_header_SDL_SDL_main_h+set}" = set; then
30730 echo $ECHO_N "(cached) $ECHO_C" >&6
30732 { echo "$as_me:$LINENO: result: $ac_cv_header_SDL_SDL_main_h" >&5
30733 echo "${ECHO_T}$ac_cv_header_SDL_SDL_main_h" >&6; }
30735 # Is the header compilable?
30736 { echo "$as_me:$LINENO: checking SDL/SDL_main.h usability" >&5
30737 echo $ECHO_N "checking SDL/SDL_main.h usability... $ECHO_C" >&6; }
30738 cat >conftest.$ac_ext <<_ACEOF
30741 cat confdefs.h >>conftest.$ac_ext
30742 cat >>conftest.$ac_ext <<_ACEOF
30743 /* end confdefs.h. */
30744 $ac_includes_default
30745 #include <SDL/SDL_main.h>
30747 rm -f conftest.$ac_objext
30748 if { (ac_try="$ac_compile"
30749 case "(($ac_try" in
30750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30751 *) ac_try_echo=$ac_try;;
30753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30754 (eval "$ac_compile") 2>conftest.er1
30756 grep -v '^
*+' conftest.er1 >conftest.err
30758 cat conftest.err >&5
30759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30760 (exit $ac_status); } && {
30761 test -z "$ac_c_werror_flag" ||
30762 test ! -s conftest.err
30763 } && test -s conftest.$ac_objext; then
30764 ac_header_compiler=yes
30766 echo "$as_me: failed program was:" >&5
30767 sed 's
/^
/|
/' conftest.$ac_ext >&5
30769 ac_header_compiler=no
30772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30773 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30774 echo "${ECHO_T}$ac_header_compiler" >&6; }
30776 # Is the header present?
30777 { echo "$as_me:$LINENO: checking SDL/SDL_main.h presence" >&5
30778 echo $ECHO_N "checking SDL/SDL_main.h presence... $ECHO_C" >&6; }
30779 cat >conftest.$ac_ext <<_ACEOF
30782 cat confdefs.h >>conftest.$ac_ext
30783 cat >>conftest.$ac_ext <<_ACEOF
30784 /* end confdefs.h. */
30785 #include <SDL/SDL_main.h>
30787 if { (ac_try="$ac_cpp conftest.$ac_ext"
30788 case "(($ac_try" in
30789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30790 *) ac_try_echo=$ac_try;;
30792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30793 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30795 grep -v '^
*+' conftest.er1 >conftest.err
30797 cat conftest.err >&5
30798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30799 (exit $ac_status); } >/dev/null && {
30800 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30801 test ! -s conftest.err
30803 ac_header_preproc=yes
30805 echo "$as_me: failed program was:" >&5
30806 sed 's
/^
/|
/' conftest.$ac_ext >&5
30808 ac_header_preproc=no
30811 rm -f conftest.err conftest.$ac_ext
30812 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30813 echo "${ECHO_T}$ac_header_preproc" >&6; }
30815 # So? What about this header?
30816 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30818 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: accepted by the compiler, rejected by the preprocessor!" >&5
30819 echo "$as_me: WARNING: SDL/SDL_main.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30820 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: proceeding with the compiler's result
" >&5
30821 echo "$as_me: WARNING
: SDL
/SDL_main.h
: proceeding with the compiler
's result" >&2;}
30822 ac_header_preproc=yes
30825 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: present but cannot be compiled" >&5
30826 echo "$as_me: WARNING: SDL/SDL_main.h: present but cannot be compiled" >&2;}
30827 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: check for missing prerequisite headers?" >&5
30828 echo "$as_me: WARNING: SDL/SDL_main.h: check for missing prerequisite headers?" >&2;}
30829 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: see the Autoconf documentation" >&5
30830 echo "$as_me: WARNING: SDL/SDL_main.h: see the Autoconf documentation" >&2;}
30831 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: section \"Present But Cannot Be Compiled\"" >&5
30832 echo "$as_me: WARNING: SDL/SDL_main.h: section \"Present But Cannot Be Compiled\"" >&2;}
30833 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: proceeding with the preprocessor's result
" >&5
30834 echo "$as_me: WARNING
: SDL
/SDL_main.h
: proceeding with the preprocessor
's result" >&2;}
30835 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: in the future, the compiler will take precedence" >&5
30836 echo "$as_me: WARNING: SDL/SDL_main.h: in the future, the compiler will take precedence" >&2;}
30840 { echo "$as_me:$LINENO: checking for SDL/SDL_main.h" >&5
30841 echo $ECHO_N "checking for SDL/SDL_main.h... $ECHO_C" >&6; }
30842 if test "${ac_cv_header_SDL_SDL_main_h+set}" = set; then
30843 echo $ECHO_N "(cached) $ECHO_C" >&6
30845 ac_cv_header_SDL_SDL_main_h=$ac_header_preproc
30847 { echo "$as_me:$LINENO: result: $ac_cv_header_SDL_SDL_main_h" >&5
30848 echo "${ECHO_T}$ac_cv_header_SDL_SDL_main_h" >&6; }
30851 if test $ac_cv_header_SDL_SDL_main_h = yes; then
30858 if test $can_compile_sdl = 1; then
30863 if test "$with_svga" != yes; then
30865 if test "${ac_cv_header_vga_h+set}" = set; then
30866 { echo "$as_me:$LINENO: checking for vga.h" >&5
30867 echo $ECHO_N "checking for vga.h... $ECHO_C" >&6; }
30868 if test "${ac_cv_header_vga_h+set}" = set; then
30869 echo $ECHO_N "(cached) $ECHO_C" >&6
30871 { echo "$as_me:$LINENO: result: $ac_cv_header_vga_h" >&5
30872 echo "${ECHO_T}$ac_cv_header_vga_h" >&6; }
30874 # Is the header compilable?
30875 { echo "$as_me:$LINENO: checking vga.h usability" >&5
30876 echo $ECHO_N "checking vga.h usability... $ECHO_C" >&6; }
30877 cat >conftest.$ac_ext <<_ACEOF
30880 cat confdefs.h >>conftest.$ac_ext
30881 cat >>conftest.$ac_ext <<_ACEOF
30882 /* end confdefs.h. */
30883 $ac_includes_default
30886 rm -f conftest.$ac_objext
30887 if { (ac_try="$ac_compile"
30888 case "(($ac_try" in
30889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30890 *) ac_try_echo=$ac_try;;
30892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30893 (eval "$ac_compile") 2>conftest.er1
30895 grep -v '^
*+' conftest.er1 >conftest.err
30897 cat conftest.err >&5
30898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30899 (exit $ac_status); } && {
30900 test -z "$ac_c_werror_flag" ||
30901 test ! -s conftest.err
30902 } && test -s conftest.$ac_objext; then
30903 ac_header_compiler=yes
30905 echo "$as_me: failed program was:" >&5
30906 sed 's
/^
/|
/' conftest.$ac_ext >&5
30908 ac_header_compiler=no
30911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30912 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30913 echo "${ECHO_T}$ac_header_compiler" >&6; }
30915 # Is the header present?
30916 { echo "$as_me:$LINENO: checking vga.h presence" >&5
30917 echo $ECHO_N "checking vga.h presence... $ECHO_C" >&6; }
30918 cat >conftest.$ac_ext <<_ACEOF
30921 cat confdefs.h >>conftest.$ac_ext
30922 cat >>conftest.$ac_ext <<_ACEOF
30923 /* end confdefs.h. */
30926 if { (ac_try="$ac_cpp conftest.$ac_ext"
30927 case "(($ac_try" in
30928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30929 *) ac_try_echo=$ac_try;;
30931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30932 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30934 grep -v '^
*+' conftest.er1 >conftest.err
30936 cat conftest.err >&5
30937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938 (exit $ac_status); } >/dev/null && {
30939 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30940 test ! -s conftest.err
30942 ac_header_preproc=yes
30944 echo "$as_me: failed program was:" >&5
30945 sed 's
/^
/|
/' conftest.$ac_ext >&5
30947 ac_header_preproc=no
30950 rm -f conftest.err conftest.$ac_ext
30951 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30952 echo "${ECHO_T}$ac_header_preproc" >&6; }
30954 # So? What about this header?
30955 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30957 { echo "$as_me:$LINENO: WARNING: vga.h: accepted by the compiler, rejected by the preprocessor!" >&5
30958 echo "$as_me: WARNING: vga.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30959 { echo "$as_me:$LINENO: WARNING: vga.h: proceeding with the compiler's result
" >&5
30960 echo "$as_me: WARNING
: vga.h
: proceeding with the compiler
's result" >&2;}
30961 ac_header_preproc=yes
30964 { echo "$as_me:$LINENO: WARNING: vga.h: present but cannot be compiled" >&5
30965 echo "$as_me: WARNING: vga.h: present but cannot be compiled" >&2;}
30966 { echo "$as_me:$LINENO: WARNING: vga.h: check for missing prerequisite headers?" >&5
30967 echo "$as_me: WARNING: vga.h: check for missing prerequisite headers?" >&2;}
30968 { echo "$as_me:$LINENO: WARNING: vga.h: see the Autoconf documentation" >&5
30969 echo "$as_me: WARNING: vga.h: see the Autoconf documentation" >&2;}
30970 { echo "$as_me:$LINENO: WARNING: vga.h: section \"Present But Cannot Be Compiled\"" >&5
30971 echo "$as_me: WARNING: vga.h: section \"Present But Cannot Be Compiled\"" >&2;}
30972 { echo "$as_me:$LINENO: WARNING: vga.h: proceeding with the preprocessor's result
" >&5
30973 echo "$as_me: WARNING
: vga.h
: proceeding with the preprocessor
's result" >&2;}
30974 { echo "$as_me:$LINENO: WARNING: vga.h: in the future, the compiler will take precedence" >&5
30975 echo "$as_me: WARNING: vga.h: in the future, the compiler will take precedence" >&2;}
30979 { echo "$as_me:$LINENO: checking for vga.h" >&5
30980 echo $ECHO_N "checking for vga.h... $ECHO_C" >&6; }
30981 if test "${ac_cv_header_vga_h+set}" = set; then
30982 echo $ECHO_N "(cached) $ECHO_C" >&6
30984 ac_cv_header_vga_h=$ac_header_preproc
30986 { echo "$as_me:$LINENO: result: $ac_cv_header_vga_h" >&5
30987 echo "${ECHO_T}$ac_cv_header_vga_h" >&6; }
30990 if test $ac_cv_header_vga_h = yes; then
30997 if test "${ac_cv_header_vgagl_h+set}" = set; then
30998 { echo "$as_me:$LINENO: checking for vgagl.h" >&5
30999 echo $ECHO_N "checking for vgagl.h... $ECHO_C" >&6; }
31000 if test "${ac_cv_header_vgagl_h+set}" = set; then
31001 echo $ECHO_N "(cached) $ECHO_C" >&6
31003 { echo "$as_me:$LINENO: result: $ac_cv_header_vgagl_h" >&5
31004 echo "${ECHO_T}$ac_cv_header_vgagl_h" >&6; }
31006 # Is the header compilable?
31007 { echo "$as_me:$LINENO: checking vgagl.h usability" >&5
31008 echo $ECHO_N "checking vgagl.h usability... $ECHO_C" >&6; }
31009 cat >conftest.$ac_ext <<_ACEOF
31012 cat confdefs.h >>conftest.$ac_ext
31013 cat >>conftest.$ac_ext <<_ACEOF
31014 /* end confdefs.h. */
31015 $ac_includes_default
31018 rm -f conftest.$ac_objext
31019 if { (ac_try="$ac_compile"
31020 case "(($ac_try" in
31021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31022 *) ac_try_echo=$ac_try;;
31024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31025 (eval "$ac_compile") 2>conftest.er1
31027 grep -v '^
*+' conftest.er1 >conftest.err
31029 cat conftest.err >&5
31030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31031 (exit $ac_status); } && {
31032 test -z "$ac_c_werror_flag" ||
31033 test ! -s conftest.err
31034 } && test -s conftest.$ac_objext; then
31035 ac_header_compiler=yes
31037 echo "$as_me: failed program was:" >&5
31038 sed 's
/^
/|
/' conftest.$ac_ext >&5
31040 ac_header_compiler=no
31043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31044 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31045 echo "${ECHO_T}$ac_header_compiler" >&6; }
31047 # Is the header present?
31048 { echo "$as_me:$LINENO: checking vgagl.h presence" >&5
31049 echo $ECHO_N "checking vgagl.h presence... $ECHO_C" >&6; }
31050 cat >conftest.$ac_ext <<_ACEOF
31053 cat confdefs.h >>conftest.$ac_ext
31054 cat >>conftest.$ac_ext <<_ACEOF
31055 /* end confdefs.h. */
31058 if { (ac_try="$ac_cpp conftest.$ac_ext"
31059 case "(($ac_try" in
31060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31061 *) ac_try_echo=$ac_try;;
31063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31064 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31066 grep -v '^
*+' conftest.er1 >conftest.err
31068 cat conftest.err >&5
31069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31070 (exit $ac_status); } >/dev/null && {
31071 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31072 test ! -s conftest.err
31074 ac_header_preproc=yes
31076 echo "$as_me: failed program was:" >&5
31077 sed 's
/^
/|
/' conftest.$ac_ext >&5
31079 ac_header_preproc=no
31082 rm -f conftest.err conftest.$ac_ext
31083 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31084 echo "${ECHO_T}$ac_header_preproc" >&6; }
31086 # So? What about this header?
31087 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31089 { echo "$as_me:$LINENO: WARNING: vgagl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31090 echo "$as_me: WARNING: vgagl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31091 { echo "$as_me:$LINENO: WARNING: vgagl.h: proceeding with the compiler's result
" >&5
31092 echo "$as_me: WARNING
: vgagl.h
: proceeding with the compiler
's result" >&2;}
31093 ac_header_preproc=yes
31096 { echo "$as_me:$LINENO: WARNING: vgagl.h: present but cannot be compiled" >&5
31097 echo "$as_me: WARNING: vgagl.h: present but cannot be compiled" >&2;}
31098 { echo "$as_me:$LINENO: WARNING: vgagl.h: check for missing prerequisite headers?" >&5
31099 echo "$as_me: WARNING: vgagl.h: check for missing prerequisite headers?" >&2;}
31100 { echo "$as_me:$LINENO: WARNING: vgagl.h: see the Autoconf documentation" >&5
31101 echo "$as_me: WARNING: vgagl.h: see the Autoconf documentation" >&2;}
31102 { echo "$as_me:$LINENO: WARNING: vgagl.h: section \"Present But Cannot Be Compiled\"" >&5
31103 echo "$as_me: WARNING: vgagl.h: section \"Present But Cannot Be Compiled\"" >&2;}
31104 { echo "$as_me:$LINENO: WARNING: vgagl.h: proceeding with the preprocessor's result
" >&5
31105 echo "$as_me: WARNING
: vgagl.h
: proceeding with the preprocessor
's result" >&2;}
31106 { echo "$as_me:$LINENO: WARNING: vgagl.h: in the future, the compiler will take precedence" >&5
31107 echo "$as_me: WARNING: vgagl.h: in the future, the compiler will take precedence" >&2;}
31111 { echo "$as_me:$LINENO: checking for vgagl.h" >&5
31112 echo $ECHO_N "checking for vgagl.h... $ECHO_C" >&6; }
31113 if test "${ac_cv_header_vgagl_h+set}" = set; then
31114 echo $ECHO_N "(cached) $ECHO_C" >&6
31116 ac_cv_header_vgagl_h=$ac_header_preproc
31118 { echo "$as_me:$LINENO: result: $ac_cv_header_vgagl_h" >&5
31119 echo "${ECHO_T}$ac_cv_header_vgagl_h" >&6; }
31122 if test $ac_cv_header_vgagl_h = yes; then
31129 if test $can_compile_svga = 1; then
31134 if test "$with_x11" != yes; then
31136 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31137 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31138 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31139 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31140 echo $ECHO_N "(cached) $ECHO_C" >&6
31142 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31143 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31145 # Is the header compilable?
31146 { echo "$as_me:$LINENO: checking X11/Xlib.h usability" >&5
31147 echo $ECHO_N "checking X11/Xlib.h usability... $ECHO_C" >&6; }
31148 cat >conftest.$ac_ext <<_ACEOF
31151 cat confdefs.h >>conftest.$ac_ext
31152 cat >>conftest.$ac_ext <<_ACEOF
31153 /* end confdefs.h. */
31154 $ac_includes_default
31155 #include <X11/Xlib.h>
31157 rm -f conftest.$ac_objext
31158 if { (ac_try="$ac_compile"
31159 case "(($ac_try" in
31160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31161 *) ac_try_echo=$ac_try;;
31163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31164 (eval "$ac_compile") 2>conftest.er1
31166 grep -v '^
*+' conftest.er1 >conftest.err
31168 cat conftest.err >&5
31169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31170 (exit $ac_status); } && {
31171 test -z "$ac_c_werror_flag" ||
31172 test ! -s conftest.err
31173 } && test -s conftest.$ac_objext; then
31174 ac_header_compiler=yes
31176 echo "$as_me: failed program was:" >&5
31177 sed 's
/^
/|
/' conftest.$ac_ext >&5
31179 ac_header_compiler=no
31182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31183 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31184 echo "${ECHO_T}$ac_header_compiler" >&6; }
31186 # Is the header present?
31187 { echo "$as_me:$LINENO: checking X11/Xlib.h presence" >&5
31188 echo $ECHO_N "checking X11/Xlib.h presence... $ECHO_C" >&6; }
31189 cat >conftest.$ac_ext <<_ACEOF
31192 cat confdefs.h >>conftest.$ac_ext
31193 cat >>conftest.$ac_ext <<_ACEOF
31194 /* end confdefs.h. */
31195 #include <X11/Xlib.h>
31197 if { (ac_try="$ac_cpp conftest.$ac_ext"
31198 case "(($ac_try" in
31199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31200 *) ac_try_echo=$ac_try;;
31202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31203 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31205 grep -v '^
*+' conftest.er1 >conftest.err
31207 cat conftest.err >&5
31208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31209 (exit $ac_status); } >/dev/null && {
31210 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31211 test ! -s conftest.err
31213 ac_header_preproc=yes
31215 echo "$as_me: failed program was:" >&5
31216 sed 's
/^
/|
/' conftest.$ac_ext >&5
31218 ac_header_preproc=no
31221 rm -f conftest.err conftest.$ac_ext
31222 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31223 echo "${ECHO_T}$ac_header_preproc" >&6; }
31225 # So? What about this header?
31226 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31228 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
31229 echo "$as_me: WARNING: X11/Xlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31230 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: proceeding with the compiler's result
" >&5
31231 echo "$as_me: WARNING
: X11
/Xlib.h
: proceeding with the compiler
's result" >&2;}
31232 ac_header_preproc=yes
31235 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: present but cannot be compiled" >&5
31236 echo "$as_me: WARNING: X11/Xlib.h: present but cannot be compiled" >&2;}
31237 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: check for missing prerequisite headers?" >&5
31238 echo "$as_me: WARNING: X11/Xlib.h: check for missing prerequisite headers?" >&2;}
31239 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: see the Autoconf documentation" >&5
31240 echo "$as_me: WARNING: X11/Xlib.h: see the Autoconf documentation" >&2;}
31241 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: section \"Present But Cannot Be Compiled\"" >&5
31242 echo "$as_me: WARNING: X11/Xlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
31243 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: proceeding with the preprocessor's result
" >&5
31244 echo "$as_me: WARNING
: X11
/Xlib.h
: proceeding with the preprocessor
's result" >&2;}
31245 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: in the future, the compiler will take precedence" >&5
31246 echo "$as_me: WARNING: X11/Xlib.h: in the future, the compiler will take precedence" >&2;}
31250 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31251 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31252 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31253 echo $ECHO_N "(cached) $ECHO_C" >&6
31255 ac_cv_header_X11_Xlib_h=$ac_header_preproc
31257 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31258 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31261 if test $ac_cv_header_X11_Xlib_h = yes; then
31268 if test "${ac_cv_header_X11_Xutil_h+set}" = set; then
31269 { echo "$as_me:$LINENO: checking for X11/Xutil.h" >&5
31270 echo $ECHO_N "checking for X11/Xutil.h... $ECHO_C" >&6; }
31271 if test "${ac_cv_header_X11_Xutil_h+set}" = set; then
31272 echo $ECHO_N "(cached) $ECHO_C" >&6
31274 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xutil_h" >&5
31275 echo "${ECHO_T}$ac_cv_header_X11_Xutil_h" >&6; }
31277 # Is the header compilable?
31278 { echo "$as_me:$LINENO: checking X11/Xutil.h usability" >&5
31279 echo $ECHO_N "checking X11/Xutil.h usability... $ECHO_C" >&6; }
31280 cat >conftest.$ac_ext <<_ACEOF
31283 cat confdefs.h >>conftest.$ac_ext
31284 cat >>conftest.$ac_ext <<_ACEOF
31285 /* end confdefs.h. */
31286 $ac_includes_default
31287 #include <X11/Xutil.h>
31289 rm -f conftest.$ac_objext
31290 if { (ac_try="$ac_compile"
31291 case "(($ac_try" in
31292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31293 *) ac_try_echo=$ac_try;;
31295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31296 (eval "$ac_compile") 2>conftest.er1
31298 grep -v '^
*+' conftest.er1 >conftest.err
31300 cat conftest.err >&5
31301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31302 (exit $ac_status); } && {
31303 test -z "$ac_c_werror_flag" ||
31304 test ! -s conftest.err
31305 } && test -s conftest.$ac_objext; then
31306 ac_header_compiler=yes
31308 echo "$as_me: failed program was:" >&5
31309 sed 's
/^
/|
/' conftest.$ac_ext >&5
31311 ac_header_compiler=no
31314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31315 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31316 echo "${ECHO_T}$ac_header_compiler" >&6; }
31318 # Is the header present?
31319 { echo "$as_me:$LINENO: checking X11/Xutil.h presence" >&5
31320 echo $ECHO_N "checking X11/Xutil.h presence... $ECHO_C" >&6; }
31321 cat >conftest.$ac_ext <<_ACEOF
31324 cat confdefs.h >>conftest.$ac_ext
31325 cat >>conftest.$ac_ext <<_ACEOF
31326 /* end confdefs.h. */
31327 #include <X11/Xutil.h>
31329 if { (ac_try="$ac_cpp conftest.$ac_ext"
31330 case "(($ac_try" in
31331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31332 *) ac_try_echo=$ac_try;;
31334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31335 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31337 grep -v '^
*+' conftest.er1 >conftest.err
31339 cat conftest.err >&5
31340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31341 (exit $ac_status); } >/dev/null && {
31342 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31343 test ! -s conftest.err
31345 ac_header_preproc=yes
31347 echo "$as_me: failed program was:" >&5
31348 sed 's
/^
/|
/' conftest.$ac_ext >&5
31350 ac_header_preproc=no
31353 rm -f conftest.err conftest.$ac_ext
31354 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31355 echo "${ECHO_T}$ac_header_preproc" >&6; }
31357 # So? What about this header?
31358 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31360 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: accepted by the compiler, rejected by the preprocessor!" >&5
31361 echo "$as_me: WARNING: X11/Xutil.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31362 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: proceeding with the compiler's result
" >&5
31363 echo "$as_me: WARNING
: X11
/Xutil.h
: proceeding with the compiler
's result" >&2;}
31364 ac_header_preproc=yes
31367 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: present but cannot be compiled" >&5
31368 echo "$as_me: WARNING: X11/Xutil.h: present but cannot be compiled" >&2;}
31369 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: check for missing prerequisite headers?" >&5
31370 echo "$as_me: WARNING: X11/Xutil.h: check for missing prerequisite headers?" >&2;}
31371 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: see the Autoconf documentation" >&5
31372 echo "$as_me: WARNING: X11/Xutil.h: see the Autoconf documentation" >&2;}
31373 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: section \"Present But Cannot Be Compiled\"" >&5
31374 echo "$as_me: WARNING: X11/Xutil.h: section \"Present But Cannot Be Compiled\"" >&2;}
31375 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: proceeding with the preprocessor's result
" >&5
31376 echo "$as_me: WARNING
: X11
/Xutil.h
: proceeding with the preprocessor
's result" >&2;}
31377 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: in the future, the compiler will take precedence" >&5
31378 echo "$as_me: WARNING: X11/Xutil.h: in the future, the compiler will take precedence" >&2;}
31382 { echo "$as_me:$LINENO: checking for X11/Xutil.h" >&5
31383 echo $ECHO_N "checking for X11/Xutil.h... $ECHO_C" >&6; }
31384 if test "${ac_cv_header_X11_Xutil_h+set}" = set; then
31385 echo $ECHO_N "(cached) $ECHO_C" >&6
31387 ac_cv_header_X11_Xutil_h=$ac_header_preproc
31389 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xutil_h" >&5
31390 echo "${ECHO_T}$ac_cv_header_X11_Xutil_h" >&6; }
31393 if test $ac_cv_header_X11_Xutil_h = yes; then
31400 if test $can_compile_x11 = 1; then
31405 if test "$with_rfb" != yes; then
31408 *-pc-windows* | *-pc-winnt* | *-pc-cygwin* | *-pc-mingw32*)
31409 if test "${ac_cv_header_winsock_h+set}" = set; then
31410 { echo "$as_me:$LINENO: checking for winsock.h" >&5
31411 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; }
31412 if test "${ac_cv_header_winsock_h+set}" = set; then
31413 echo $ECHO_N "(cached) $ECHO_C" >&6
31415 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5
31416 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; }
31418 # Is the header compilable?
31419 { echo "$as_me:$LINENO: checking winsock.h usability" >&5
31420 echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6; }
31421 cat >conftest.$ac_ext <<_ACEOF
31424 cat confdefs.h >>conftest.$ac_ext
31425 cat >>conftest.$ac_ext <<_ACEOF
31426 /* end confdefs.h. */
31427 $ac_includes_default
31428 #include <winsock.h>
31430 rm -f conftest.$ac_objext
31431 if { (ac_try="$ac_compile"
31432 case "(($ac_try" in
31433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31434 *) ac_try_echo=$ac_try;;
31436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31437 (eval "$ac_compile") 2>conftest.er1
31439 grep -v '^
*+' conftest.er1 >conftest.err
31441 cat conftest.err >&5
31442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31443 (exit $ac_status); } && {
31444 test -z "$ac_c_werror_flag" ||
31445 test ! -s conftest.err
31446 } && test -s conftest.$ac_objext; then
31447 ac_header_compiler=yes
31449 echo "$as_me: failed program was:" >&5
31450 sed 's
/^
/|
/' conftest.$ac_ext >&5
31452 ac_header_compiler=no
31455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31456 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31457 echo "${ECHO_T}$ac_header_compiler" >&6; }
31459 # Is the header present?
31460 { echo "$as_me:$LINENO: checking winsock.h presence" >&5
31461 echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6; }
31462 cat >conftest.$ac_ext <<_ACEOF
31465 cat confdefs.h >>conftest.$ac_ext
31466 cat >>conftest.$ac_ext <<_ACEOF
31467 /* end confdefs.h. */
31468 #include <winsock.h>
31470 if { (ac_try="$ac_cpp conftest.$ac_ext"
31471 case "(($ac_try" in
31472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31473 *) ac_try_echo=$ac_try;;
31475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31476 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31478 grep -v '^
*+' conftest.er1 >conftest.err
31480 cat conftest.err >&5
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); } >/dev/null && {
31483 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31484 test ! -s conftest.err
31486 ac_header_preproc=yes
31488 echo "$as_me: failed program was:" >&5
31489 sed 's
/^
/|
/' conftest.$ac_ext >&5
31491 ac_header_preproc=no
31494 rm -f conftest.err conftest.$ac_ext
31495 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31496 echo "${ECHO_T}$ac_header_preproc" >&6; }
31498 # So? What about this header?
31499 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31501 { echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5
31502 echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31503 { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the compiler's result
" >&5
31504 echo "$as_me: WARNING
: winsock.h
: proceeding with the compiler
's result" >&2;}
31505 ac_header_preproc=yes
31508 { echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5
31509 echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;}
31510 { echo "$as_me:$LINENO: WARNING: winsock.h: check for missing prerequisite headers?" >&5
31511 echo "$as_me: WARNING: winsock.h: check for missing prerequisite headers?" >&2;}
31512 { echo "$as_me:$LINENO: WARNING: winsock.h: see the Autoconf documentation" >&5
31513 echo "$as_me: WARNING: winsock.h: see the Autoconf documentation" >&2;}
31514 { echo "$as_me:$LINENO: WARNING: winsock.h: section \"Present But Cannot Be Compiled\"" >&5
31515 echo "$as_me: WARNING: winsock.h: section \"Present But Cannot Be Compiled\"" >&2;}
31516 { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result
" >&5
31517 echo "$as_me: WARNING
: winsock.h
: proceeding with the preprocessor
's result" >&2;}
31518 { echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5
31519 echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;}
31523 { echo "$as_me:$LINENO: checking for winsock.h" >&5
31524 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; }
31525 if test "${ac_cv_header_winsock_h+set}" = set; then
31526 echo $ECHO_N "(cached) $ECHO_C" >&6
31528 ac_cv_header_winsock_h=$ac_header_preproc
31530 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5
31531 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; }
31534 if test $ac_cv_header_winsock_h = yes; then
31541 if test "${ac_cv_header_process_h+set}" = set; then
31542 { echo "$as_me:$LINENO: checking for process.h" >&5
31543 echo $ECHO_N "checking for process.h... $ECHO_C" >&6; }
31544 if test "${ac_cv_header_process_h+set}" = set; then
31545 echo $ECHO_N "(cached) $ECHO_C" >&6
31547 { echo "$as_me:$LINENO: result: $ac_cv_header_process_h" >&5
31548 echo "${ECHO_T}$ac_cv_header_process_h" >&6; }
31550 # Is the header compilable?
31551 { echo "$as_me:$LINENO: checking process.h usability" >&5
31552 echo $ECHO_N "checking process.h usability... $ECHO_C" >&6; }
31553 cat >conftest.$ac_ext <<_ACEOF
31556 cat confdefs.h >>conftest.$ac_ext
31557 cat >>conftest.$ac_ext <<_ACEOF
31558 /* end confdefs.h. */
31559 $ac_includes_default
31560 #include <process.h>
31562 rm -f conftest.$ac_objext
31563 if { (ac_try="$ac_compile"
31564 case "(($ac_try" in
31565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31566 *) ac_try_echo=$ac_try;;
31568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31569 (eval "$ac_compile") 2>conftest.er1
31571 grep -v '^
*+' conftest.er1 >conftest.err
31573 cat conftest.err >&5
31574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31575 (exit $ac_status); } && {
31576 test -z "$ac_c_werror_flag" ||
31577 test ! -s conftest.err
31578 } && test -s conftest.$ac_objext; then
31579 ac_header_compiler=yes
31581 echo "$as_me: failed program was:" >&5
31582 sed 's
/^
/|
/' conftest.$ac_ext >&5
31584 ac_header_compiler=no
31587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31588 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31589 echo "${ECHO_T}$ac_header_compiler" >&6; }
31591 # Is the header present?
31592 { echo "$as_me:$LINENO: checking process.h presence" >&5
31593 echo $ECHO_N "checking process.h presence... $ECHO_C" >&6; }
31594 cat >conftest.$ac_ext <<_ACEOF
31597 cat confdefs.h >>conftest.$ac_ext
31598 cat >>conftest.$ac_ext <<_ACEOF
31599 /* end confdefs.h. */
31600 #include <process.h>
31602 if { (ac_try="$ac_cpp conftest.$ac_ext"
31603 case "(($ac_try" in
31604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31605 *) ac_try_echo=$ac_try;;
31607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31608 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31610 grep -v '^
*+' conftest.er1 >conftest.err
31612 cat conftest.err >&5
31613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31614 (exit $ac_status); } >/dev/null && {
31615 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31616 test ! -s conftest.err
31618 ac_header_preproc=yes
31620 echo "$as_me: failed program was:" >&5
31621 sed 's
/^
/|
/' conftest.$ac_ext >&5
31623 ac_header_preproc=no
31626 rm -f conftest.err conftest.$ac_ext
31627 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31628 echo "${ECHO_T}$ac_header_preproc" >&6; }
31630 # So? What about this header?
31631 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31633 { echo "$as_me:$LINENO: WARNING: process.h: accepted by the compiler, rejected by the preprocessor!" >&5
31634 echo "$as_me: WARNING: process.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31635 { echo "$as_me:$LINENO: WARNING: process.h: proceeding with the compiler's result
" >&5
31636 echo "$as_me: WARNING
: process.h
: proceeding with the compiler
's result" >&2;}
31637 ac_header_preproc=yes
31640 { echo "$as_me:$LINENO: WARNING: process.h: present but cannot be compiled" >&5
31641 echo "$as_me: WARNING: process.h: present but cannot be compiled" >&2;}
31642 { echo "$as_me:$LINENO: WARNING: process.h: check for missing prerequisite headers?" >&5
31643 echo "$as_me: WARNING: process.h: check for missing prerequisite headers?" >&2;}
31644 { echo "$as_me:$LINENO: WARNING: process.h: see the Autoconf documentation" >&5
31645 echo "$as_me: WARNING: process.h: see the Autoconf documentation" >&2;}
31646 { echo "$as_me:$LINENO: WARNING: process.h: section \"Present But Cannot Be Compiled\"" >&5
31647 echo "$as_me: WARNING: process.h: section \"Present But Cannot Be Compiled\"" >&2;}
31648 { echo "$as_me:$LINENO: WARNING: process.h: proceeding with the preprocessor's result
" >&5
31649 echo "$as_me: WARNING
: process.h
: proceeding with the preprocessor
's result" >&2;}
31650 { echo "$as_me:$LINENO: WARNING: process.h: in the future, the compiler will take precedence" >&5
31651 echo "$as_me: WARNING: process.h: in the future, the compiler will take precedence" >&2;}
31655 { echo "$as_me:$LINENO: checking for process.h" >&5
31656 echo $ECHO_N "checking for process.h... $ECHO_C" >&6; }
31657 if test "${ac_cv_header_process_h+set}" = set; then
31658 echo $ECHO_N "(cached) $ECHO_C" >&6
31660 ac_cv_header_process_h=$ac_header_preproc
31662 { echo "$as_me:$LINENO: result: $ac_cv_header_process_h" >&5
31663 echo "${ECHO_T}$ac_cv_header_process_h" >&6; }
31666 if test $ac_cv_header_process_h = yes; then
31675 if test "${ac_cv_header_sys_socket_h+set}" = set; then
31676 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5
31677 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; }
31678 if test "${ac_cv_header_sys_socket_h+set}" = set; then
31679 echo $ECHO_N "(cached) $ECHO_C" >&6
31681 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5
31682 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; }
31684 # Is the header compilable?
31685 { echo "$as_me:$LINENO: checking sys/socket.h usability" >&5
31686 echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6; }
31687 cat >conftest.$ac_ext <<_ACEOF
31690 cat confdefs.h >>conftest.$ac_ext
31691 cat >>conftest.$ac_ext <<_ACEOF
31692 /* end confdefs.h. */
31693 $ac_includes_default
31694 #include <sys/socket.h>
31696 rm -f conftest.$ac_objext
31697 if { (ac_try="$ac_compile"
31698 case "(($ac_try" in
31699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31700 *) ac_try_echo=$ac_try;;
31702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31703 (eval "$ac_compile") 2>conftest.er1
31705 grep -v '^
*+' conftest.er1 >conftest.err
31707 cat conftest.err >&5
31708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709 (exit $ac_status); } && {
31710 test -z "$ac_c_werror_flag" ||
31711 test ! -s conftest.err
31712 } && test -s conftest.$ac_objext; then
31713 ac_header_compiler=yes
31715 echo "$as_me: failed program was:" >&5
31716 sed 's
/^
/|
/' conftest.$ac_ext >&5
31718 ac_header_compiler=no
31721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31722 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31723 echo "${ECHO_T}$ac_header_compiler" >&6; }
31725 # Is the header present?
31726 { echo "$as_me:$LINENO: checking sys/socket.h presence" >&5
31727 echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6; }
31728 cat >conftest.$ac_ext <<_ACEOF
31731 cat confdefs.h >>conftest.$ac_ext
31732 cat >>conftest.$ac_ext <<_ACEOF
31733 /* end confdefs.h. */
31734 #include <sys/socket.h>
31736 if { (ac_try="$ac_cpp conftest.$ac_ext"
31737 case "(($ac_try" in
31738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31739 *) ac_try_echo=$ac_try;;
31741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31742 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31744 grep -v '^
*+' conftest.er1 >conftest.err
31746 cat conftest.err >&5
31747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31748 (exit $ac_status); } >/dev/null && {
31749 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31750 test ! -s conftest.err
31752 ac_header_preproc=yes
31754 echo "$as_me: failed program was:" >&5
31755 sed 's
/^
/|
/' conftest.$ac_ext >&5
31757 ac_header_preproc=no
31760 rm -f conftest.err conftest.$ac_ext
31761 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31762 echo "${ECHO_T}$ac_header_preproc" >&6; }
31764 # So? What about this header?
31765 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31767 { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5
31768 echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31769 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result
" >&5
31770 echo "$as_me: WARNING
: sys
/socket.h
: proceeding with the compiler
's result" >&2;}
31771 ac_header_preproc=yes
31774 { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5
31775 echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;}
31776 { echo "$as_me:$LINENO: WARNING: sys/socket.h: check for missing prerequisite headers?" >&5
31777 echo "$as_me: WARNING: sys/socket.h: check for missing prerequisite headers?" >&2;}
31778 { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5
31779 echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;}
31780 { echo "$as_me:$LINENO: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&5
31781 echo "$as_me: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&2;}
31782 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result
" >&5
31783 echo "$as_me: WARNING
: sys
/socket.h
: proceeding with the preprocessor
's result" >&2;}
31784 { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5
31785 echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;}
31789 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5
31790 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; }
31791 if test "${ac_cv_header_sys_socket_h+set}" = set; then
31792 echo $ECHO_N "(cached) $ECHO_C" >&6
31794 ac_cv_header_sys_socket_h=$ac_header_preproc
31796 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5
31797 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; }
31800 if test $ac_cv_header_sys_socket_h = yes; then
31807 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then
31808 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5
31809 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; }
31810 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then
31811 echo $ECHO_N "(cached) $ECHO_C" >&6
31813 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5
31814 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; }
31816 # Is the header compilable?
31817 { echo "$as_me:$LINENO: checking netinet/tcp.h usability" >&5
31818 echo $ECHO_N "checking netinet/tcp.h usability... $ECHO_C" >&6; }
31819 cat >conftest.$ac_ext <<_ACEOF
31822 cat confdefs.h >>conftest.$ac_ext
31823 cat >>conftest.$ac_ext <<_ACEOF
31824 /* end confdefs.h. */
31825 $ac_includes_default
31826 #include <netinet/tcp.h>
31828 rm -f conftest.$ac_objext
31829 if { (ac_try="$ac_compile"
31830 case "(($ac_try" in
31831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31832 *) ac_try_echo=$ac_try;;
31834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31835 (eval "$ac_compile") 2>conftest.er1
31837 grep -v '^
*+' conftest.er1 >conftest.err
31839 cat conftest.err >&5
31840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31841 (exit $ac_status); } && {
31842 test -z "$ac_c_werror_flag" ||
31843 test ! -s conftest.err
31844 } && test -s conftest.$ac_objext; then
31845 ac_header_compiler=yes
31847 echo "$as_me: failed program was:" >&5
31848 sed 's
/^
/|
/' conftest.$ac_ext >&5
31850 ac_header_compiler=no
31853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31854 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31855 echo "${ECHO_T}$ac_header_compiler" >&6; }
31857 # Is the header present?
31858 { echo "$as_me:$LINENO: checking netinet/tcp.h presence" >&5
31859 echo $ECHO_N "checking netinet/tcp.h presence... $ECHO_C" >&6; }
31860 cat >conftest.$ac_ext <<_ACEOF
31863 cat confdefs.h >>conftest.$ac_ext
31864 cat >>conftest.$ac_ext <<_ACEOF
31865 /* end confdefs.h. */
31866 #include <netinet/tcp.h>
31868 if { (ac_try="$ac_cpp conftest.$ac_ext"
31869 case "(($ac_try" in
31870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31871 *) ac_try_echo=$ac_try;;
31873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31874 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31876 grep -v '^
*+' conftest.er1 >conftest.err
31878 cat conftest.err >&5
31879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31880 (exit $ac_status); } >/dev/null && {
31881 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31882 test ! -s conftest.err
31884 ac_header_preproc=yes
31886 echo "$as_me: failed program was:" >&5
31887 sed 's
/^
/|
/' conftest.$ac_ext >&5
31889 ac_header_preproc=no
31892 rm -f conftest.err conftest.$ac_ext
31893 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31894 echo "${ECHO_T}$ac_header_preproc" >&6; }
31896 # So? What about this header?
31897 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31899 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&5
31900 echo "$as_me: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31901 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the compiler's result
" >&5
31902 echo "$as_me: WARNING
: netinet
/tcp.h
: proceeding with the compiler
's result" >&2;}
31903 ac_header_preproc=yes
31906 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: present but cannot be compiled" >&5
31907 echo "$as_me: WARNING: netinet/tcp.h: present but cannot be compiled" >&2;}
31908 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: check for missing prerequisite headers?" >&5
31909 echo "$as_me: WARNING: netinet/tcp.h: check for missing prerequisite headers?" >&2;}
31910 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: see the Autoconf documentation" >&5
31911 echo "$as_me: WARNING: netinet/tcp.h: see the Autoconf documentation" >&2;}
31912 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: section \"Present But Cannot Be Compiled\"" >&5
31913 echo "$as_me: WARNING: netinet/tcp.h: section \"Present But Cannot Be Compiled\"" >&2;}
31914 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the preprocessor's result
" >&5
31915 echo "$as_me: WARNING
: netinet
/tcp.h
: proceeding with the preprocessor
's result" >&2;}
31916 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&5
31917 echo "$as_me: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&2;}
31921 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5
31922 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; }
31923 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then
31924 echo $ECHO_N "(cached) $ECHO_C" >&6
31926 ac_cv_header_netinet_tcp_h=$ac_header_preproc
31928 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5
31929 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; }
31932 if test $ac_cv_header_netinet_tcp_h = yes; then
31939 if test "${ac_cv_header_pthread_h+set}" = set; then
31940 { echo "$as_me:$LINENO: checking for pthread.h" >&5
31941 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
31942 if test "${ac_cv_header_pthread_h+set}" = set; then
31943 echo $ECHO_N "(cached) $ECHO_C" >&6
31945 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
31946 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
31948 # Is the header compilable?
31949 { echo "$as_me:$LINENO: checking pthread.h usability" >&5
31950 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; }
31951 cat >conftest.$ac_ext <<_ACEOF
31954 cat confdefs.h >>conftest.$ac_ext
31955 cat >>conftest.$ac_ext <<_ACEOF
31956 /* end confdefs.h. */
31957 $ac_includes_default
31958 #include <pthread.h>
31960 rm -f conftest.$ac_objext
31961 if { (ac_try="$ac_compile"
31962 case "(($ac_try" in
31963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31964 *) ac_try_echo=$ac_try;;
31966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31967 (eval "$ac_compile") 2>conftest.er1
31969 grep -v '^
*+' conftest.er1 >conftest.err
31971 cat conftest.err >&5
31972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31973 (exit $ac_status); } && {
31974 test -z "$ac_c_werror_flag" ||
31975 test ! -s conftest.err
31976 } && test -s conftest.$ac_objext; then
31977 ac_header_compiler=yes
31979 echo "$as_me: failed program was:" >&5
31980 sed 's
/^
/|
/' conftest.$ac_ext >&5
31982 ac_header_compiler=no
31985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31986 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31987 echo "${ECHO_T}$ac_header_compiler" >&6; }
31989 # Is the header present?
31990 { echo "$as_me:$LINENO: checking pthread.h presence" >&5
31991 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6; }
31992 cat >conftest.$ac_ext <<_ACEOF
31995 cat confdefs.h >>conftest.$ac_ext
31996 cat >>conftest.$ac_ext <<_ACEOF
31997 /* end confdefs.h. */
31998 #include <pthread.h>
32000 if { (ac_try="$ac_cpp conftest.$ac_ext"
32001 case "(($ac_try" in
32002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32003 *) ac_try_echo=$ac_try;;
32005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32008 grep -v '^
*+' conftest.er1 >conftest.err
32010 cat conftest.err >&5
32011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32012 (exit $ac_status); } >/dev/null && {
32013 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32014 test ! -s conftest.err
32016 ac_header_preproc=yes
32018 echo "$as_me: failed program was:" >&5
32019 sed 's
/^
/|
/' conftest.$ac_ext >&5
32021 ac_header_preproc=no
32024 rm -f conftest.err conftest.$ac_ext
32025 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32026 echo "${ECHO_T}$ac_header_preproc" >&6; }
32028 # So? What about this header?
32029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32031 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
32032 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32033 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result
" >&5
32034 echo "$as_me: WARNING
: pthread.h
: proceeding with the compiler
's result" >&2;}
32035 ac_header_preproc=yes
32038 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
32039 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
32040 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
32041 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
32042 { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
32043 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
32044 { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
32045 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
32046 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result
" >&5
32047 echo "$as_me: WARNING
: pthread.h
: proceeding with the preprocessor
's result" >&2;}
32048 { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
32049 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
32053 { echo "$as_me:$LINENO: checking for pthread.h" >&5
32054 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
32055 if test "${ac_cv_header_pthread_h+set}" = set; then
32056 echo $ECHO_N "(cached) $ECHO_C" >&6
32058 ac_cv_header_pthread_h=$ac_header_preproc
32060 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
32061 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
32064 if test $ac_cv_header_pthread_h = yes; then
32073 if test $can_compile_rfb = 1; then
32078 if test "$with_term" != yes; then
32080 if test "${ac_cv_header_curses_h+set}" = set; then
32081 { echo "$as_me:$LINENO: checking for curses.h" >&5
32082 echo $ECHO_N "checking for curses.h... $ECHO_C" >&6; }
32083 if test "${ac_cv_header_curses_h+set}" = set; then
32084 echo $ECHO_N "(cached) $ECHO_C" >&6
32086 { echo "$as_me:$LINENO: result: $ac_cv_header_curses_h" >&5
32087 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
32089 # Is the header compilable?
32090 { echo "$as_me:$LINENO: checking curses.h usability" >&5
32091 echo $ECHO_N "checking curses.h usability... $ECHO_C" >&6; }
32092 cat >conftest.$ac_ext <<_ACEOF
32095 cat confdefs.h >>conftest.$ac_ext
32096 cat >>conftest.$ac_ext <<_ACEOF
32097 /* end confdefs.h. */
32098 $ac_includes_default
32099 #include <curses.h>
32101 rm -f conftest.$ac_objext
32102 if { (ac_try="$ac_compile"
32103 case "(($ac_try" in
32104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32105 *) ac_try_echo=$ac_try;;
32107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32108 (eval "$ac_compile") 2>conftest.er1
32110 grep -v '^
*+' conftest.er1 >conftest.err
32112 cat conftest.err >&5
32113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32114 (exit $ac_status); } && {
32115 test -z "$ac_c_werror_flag" ||
32116 test ! -s conftest.err
32117 } && test -s conftest.$ac_objext; then
32118 ac_header_compiler=yes
32120 echo "$as_me: failed program was:" >&5
32121 sed 's
/^
/|
/' conftest.$ac_ext >&5
32123 ac_header_compiler=no
32126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32127 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32128 echo "${ECHO_T}$ac_header_compiler" >&6; }
32130 # Is the header present?
32131 { echo "$as_me:$LINENO: checking curses.h presence" >&5
32132 echo $ECHO_N "checking curses.h presence... $ECHO_C" >&6; }
32133 cat >conftest.$ac_ext <<_ACEOF
32136 cat confdefs.h >>conftest.$ac_ext
32137 cat >>conftest.$ac_ext <<_ACEOF
32138 /* end confdefs.h. */
32139 #include <curses.h>
32141 if { (ac_try="$ac_cpp conftest.$ac_ext"
32142 case "(($ac_try" in
32143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32144 *) ac_try_echo=$ac_try;;
32146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32147 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32149 grep -v '^
*+' conftest.er1 >conftest.err
32151 cat conftest.err >&5
32152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32153 (exit $ac_status); } >/dev/null && {
32154 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32155 test ! -s conftest.err
32157 ac_header_preproc=yes
32159 echo "$as_me: failed program was:" >&5
32160 sed 's
/^
/|
/' conftest.$ac_ext >&5
32162 ac_header_preproc=no
32165 rm -f conftest.err conftest.$ac_ext
32166 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32167 echo "${ECHO_T}$ac_header_preproc" >&6; }
32169 # So? What about this header?
32170 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32172 { echo "$as_me:$LINENO: WARNING: curses.h: accepted by the compiler, rejected by the preprocessor!" >&5
32173 echo "$as_me: WARNING: curses.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32174 { echo "$as_me:$LINENO: WARNING: curses.h: proceeding with the compiler's result
" >&5
32175 echo "$as_me: WARNING
: curses.h
: proceeding with the compiler
's result" >&2;}
32176 ac_header_preproc=yes
32179 { echo "$as_me:$LINENO: WARNING: curses.h: present but cannot be compiled" >&5
32180 echo "$as_me: WARNING: curses.h: present but cannot be compiled" >&2;}
32181 { echo "$as_me:$LINENO: WARNING: curses.h: check for missing prerequisite headers?" >&5
32182 echo "$as_me: WARNING: curses.h: check for missing prerequisite headers?" >&2;}
32183 { echo "$as_me:$LINENO: WARNING: curses.h: see the Autoconf documentation" >&5
32184 echo "$as_me: WARNING: curses.h: see the Autoconf documentation" >&2;}
32185 { echo "$as_me:$LINENO: WARNING: curses.h: section \"Present But Cannot Be Compiled\"" >&5
32186 echo "$as_me: WARNING: curses.h: section \"Present But Cannot Be Compiled\"" >&2;}
32187 { echo "$as_me:$LINENO: WARNING: curses.h: proceeding with the preprocessor's result
" >&5
32188 echo "$as_me: WARNING
: curses.h
: proceeding with the preprocessor
's result" >&2;}
32189 { echo "$as_me:$LINENO: WARNING: curses.h: in the future, the compiler will take precedence" >&5
32190 echo "$as_me: WARNING: curses.h: in the future, the compiler will take precedence" >&2;}
32194 { echo "$as_me:$LINENO: checking for curses.h" >&5
32195 echo $ECHO_N "checking for curses.h... $ECHO_C" >&6; }
32196 if test "${ac_cv_header_curses_h+set}" = set; then
32197 echo $ECHO_N "(cached) $ECHO_C" >&6
32199 ac_cv_header_curses_h=$ac_header_preproc
32201 { echo "$as_me:$LINENO: result: $ac_cv_header_curses_h" >&5
32202 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
32205 if test $ac_cv_header_curses_h = yes; then
32212 if test "${ac_cv_header_signal_h+set}" = set; then
32213 { echo "$as_me:$LINENO: checking for signal.h" >&5
32214 echo $ECHO_N "checking for signal.h... $ECHO_C" >&6; }
32215 if test "${ac_cv_header_signal_h+set}" = set; then
32216 echo $ECHO_N "(cached) $ECHO_C" >&6
32218 { echo "$as_me:$LINENO: result: $ac_cv_header_signal_h" >&5
32219 echo "${ECHO_T}$ac_cv_header_signal_h" >&6; }
32221 # Is the header compilable?
32222 { echo "$as_me:$LINENO: checking signal.h usability" >&5
32223 echo $ECHO_N "checking signal.h usability... $ECHO_C" >&6; }
32224 cat >conftest.$ac_ext <<_ACEOF
32227 cat confdefs.h >>conftest.$ac_ext
32228 cat >>conftest.$ac_ext <<_ACEOF
32229 /* end confdefs.h. */
32230 $ac_includes_default
32231 #include <signal.h>
32233 rm -f conftest.$ac_objext
32234 if { (ac_try="$ac_compile"
32235 case "(($ac_try" in
32236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32237 *) ac_try_echo=$ac_try;;
32239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32240 (eval "$ac_compile") 2>conftest.er1
32242 grep -v '^
*+' conftest.er1 >conftest.err
32244 cat conftest.err >&5
32245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32246 (exit $ac_status); } && {
32247 test -z "$ac_c_werror_flag" ||
32248 test ! -s conftest.err
32249 } && test -s conftest.$ac_objext; then
32250 ac_header_compiler=yes
32252 echo "$as_me: failed program was:" >&5
32253 sed 's
/^
/|
/' conftest.$ac_ext >&5
32255 ac_header_compiler=no
32258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32259 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32260 echo "${ECHO_T}$ac_header_compiler" >&6; }
32262 # Is the header present?
32263 { echo "$as_me:$LINENO: checking signal.h presence" >&5
32264 echo $ECHO_N "checking signal.h presence... $ECHO_C" >&6; }
32265 cat >conftest.$ac_ext <<_ACEOF
32268 cat confdefs.h >>conftest.$ac_ext
32269 cat >>conftest.$ac_ext <<_ACEOF
32270 /* end confdefs.h. */
32271 #include <signal.h>
32273 if { (ac_try="$ac_cpp conftest.$ac_ext"
32274 case "(($ac_try" in
32275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32276 *) ac_try_echo=$ac_try;;
32278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32279 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32281 grep -v '^
*+' conftest.er1 >conftest.err
32283 cat conftest.err >&5
32284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32285 (exit $ac_status); } >/dev/null && {
32286 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32287 test ! -s conftest.err
32289 ac_header_preproc=yes
32291 echo "$as_me: failed program was:" >&5
32292 sed 's
/^
/|
/' conftest.$ac_ext >&5
32294 ac_header_preproc=no
32297 rm -f conftest.err conftest.$ac_ext
32298 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32299 echo "${ECHO_T}$ac_header_preproc" >&6; }
32301 # So? What about this header?
32302 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32304 { echo "$as_me:$LINENO: WARNING: signal.h: accepted by the compiler, rejected by the preprocessor!" >&5
32305 echo "$as_me: WARNING: signal.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32306 { echo "$as_me:$LINENO: WARNING: signal.h: proceeding with the compiler's result
" >&5
32307 echo "$as_me: WARNING
: signal.h
: proceeding with the compiler
's result" >&2;}
32308 ac_header_preproc=yes
32311 { echo "$as_me:$LINENO: WARNING: signal.h: present but cannot be compiled" >&5
32312 echo "$as_me: WARNING: signal.h: present but cannot be compiled" >&2;}
32313 { echo "$as_me:$LINENO: WARNING: signal.h: check for missing prerequisite headers?" >&5
32314 echo "$as_me: WARNING: signal.h: check for missing prerequisite headers?" >&2;}
32315 { echo "$as_me:$LINENO: WARNING: signal.h: see the Autoconf documentation" >&5
32316 echo "$as_me: WARNING: signal.h: see the Autoconf documentation" >&2;}
32317 { echo "$as_me:$LINENO: WARNING: signal.h: section \"Present But Cannot Be Compiled\"" >&5
32318 echo "$as_me: WARNING: signal.h: section \"Present But Cannot Be Compiled\"" >&2;}
32319 { echo "$as_me:$LINENO: WARNING: signal.h: proceeding with the preprocessor's result
" >&5
32320 echo "$as_me: WARNING
: signal.h
: proceeding with the preprocessor
's result" >&2;}
32321 { echo "$as_me:$LINENO: WARNING: signal.h: in the future, the compiler will take precedence" >&5
32322 echo "$as_me: WARNING: signal.h: in the future, the compiler will take precedence" >&2;}
32326 { echo "$as_me:$LINENO: checking for signal.h" >&5
32327 echo $ECHO_N "checking for signal.h... $ECHO_C" >&6; }
32328 if test "${ac_cv_header_signal_h+set}" = set; then
32329 echo $ECHO_N "(cached) $ECHO_C" >&6
32331 ac_cv_header_signal_h=$ac_header_preproc
32333 { echo "$as_me:$LINENO: result: $ac_cv_header_signal_h" >&5
32334 echo "${ECHO_T}$ac_cv_header_signal_h" >&6; }
32337 if test $ac_cv_header_signal_h = yes; then
32344 if test $can_compile_term = 1; then
32349 if test "$with_nogui" != yes; then
32352 fi # end of if $with_all_libs = yes
32354 { echo "$as_me:$LINENO: checking for idle hack" >&5
32355 echo $ECHO_N "checking for idle hack... $ECHO_C" >&6; }
32356 # Check whether --enable-idle-hack was given.
32357 if test "${enable_idle_hack+set}" = set; then
32358 enableval=$enable_idle_hack; if test "$enableval" = yes; then
32359 { echo "$as_me:$LINENO: result: yes" >&5
32360 echo "${ECHO_T}yes" >&6; }
32361 cat >>confdefs.h <<\_ACEOF
32362 #define BX_USE_IDLE_HACK 1
32366 { echo "$as_me:$LINENO: result: no" >&5
32367 echo "${ECHO_T}no" >&6; }
32368 cat >>confdefs.h <<\_ACEOF
32369 #define BX_USE_IDLE_HACK 0
32375 { echo "$as_me:$LINENO: result: no" >&5
32376 echo "${ECHO_T}no" >&6; }
32377 cat >>confdefs.h <<\_ACEOF
32378 #define BX_USE_IDLE_HACK 0
32387 if test "${ac_cv_header_dlfcn_h+set}" = set; then
32388 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5
32389 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
32390 if test "${ac_cv_header_dlfcn_h+set}" = set; then
32391 echo $ECHO_N "(cached) $ECHO_C" >&6
32393 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
32394 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
32396 # Is the header compilable?
32397 { echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
32398 echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; }
32399 cat >conftest.$ac_ext <<_ACEOF
32402 cat confdefs.h >>conftest.$ac_ext
32403 cat >>conftest.$ac_ext <<_ACEOF
32404 /* end confdefs.h. */
32405 $ac_includes_default
32408 rm -f conftest.$ac_objext
32409 if { (ac_try="$ac_compile"
32410 case "(($ac_try" in
32411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32412 *) ac_try_echo=$ac_try;;
32414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32415 (eval "$ac_compile") 2>conftest.er1
32417 grep -v '^
*+' conftest.er1 >conftest.err
32419 cat conftest.err >&5
32420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32421 (exit $ac_status); } && {
32422 test -z "$ac_c_werror_flag" ||
32423 test ! -s conftest.err
32424 } && test -s conftest.$ac_objext; then
32425 ac_header_compiler=yes
32427 echo "$as_me: failed program was:" >&5
32428 sed 's
/^
/|
/' conftest.$ac_ext >&5
32430 ac_header_compiler=no
32433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32434 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32435 echo "${ECHO_T}$ac_header_compiler" >&6; }
32437 # Is the header present?
32438 { echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
32439 echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; }
32440 cat >conftest.$ac_ext <<_ACEOF
32443 cat confdefs.h >>conftest.$ac_ext
32444 cat >>conftest.$ac_ext <<_ACEOF
32445 /* end confdefs.h. */
32448 if { (ac_try="$ac_cpp conftest.$ac_ext"
32449 case "(($ac_try" in
32450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32451 *) ac_try_echo=$ac_try;;
32453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32454 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32456 grep -v '^
*+' conftest.er1 >conftest.err
32458 cat conftest.err >&5
32459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32460 (exit $ac_status); } >/dev/null && {
32461 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32462 test ! -s conftest.err
32464 ac_header_preproc=yes
32466 echo "$as_me: failed program was:" >&5
32467 sed 's
/^
/|
/' conftest.$ac_ext >&5
32469 ac_header_preproc=no
32472 rm -f conftest.err conftest.$ac_ext
32473 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32474 echo "${ECHO_T}$ac_header_preproc" >&6; }
32476 # So? What about this header?
32477 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32479 { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
32480 echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32481 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result
" >&5
32482 echo "$as_me: WARNING
: dlfcn.h
: proceeding with the compiler
's result" >&2;}
32483 ac_header_preproc=yes
32486 { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
32487 echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
32488 { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5
32489 echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;}
32490 { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
32491 echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
32492 { echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5
32493 echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;}
32494 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result
" >&5
32495 echo "$as_me: WARNING
: dlfcn.h
: proceeding with the preprocessor
's result" >&2;}
32496 { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
32497 echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
32501 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5
32502 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
32503 if test "${ac_cv_header_dlfcn_h+set}" = set; then
32504 echo $ECHO_N "(cached) $ECHO_C" >&6
32506 ac_cv_header_dlfcn_h=$ac_header_preproc
32508 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
32509 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
32512 if test $ac_cv_header_dlfcn_h = yes; then
32513 cat >>confdefs.h <<\_ACEOF
32514 #define BX_HAVE_DLFCN_H 1
32520 if test "${ac_cv_header_assert_h+set}" = set; then
32521 { echo "$as_me:$LINENO: checking for assert.h" >&5
32522 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; }
32523 if test "${ac_cv_header_assert_h+set}" = set; then
32524 echo $ECHO_N "(cached) $ECHO_C" >&6
32526 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5
32527 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; }
32529 # Is the header compilable?
32530 { echo "$as_me:$LINENO: checking assert.h usability" >&5
32531 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; }
32532 cat >conftest.$ac_ext <<_ACEOF
32535 cat confdefs.h >>conftest.$ac_ext
32536 cat >>conftest.$ac_ext <<_ACEOF
32537 /* end confdefs.h. */
32538 $ac_includes_default
32539 #include <assert.h>
32541 rm -f conftest.$ac_objext
32542 if { (ac_try="$ac_compile"
32543 case "(($ac_try" in
32544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32545 *) ac_try_echo=$ac_try;;
32547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32548 (eval "$ac_compile") 2>conftest.er1
32550 grep -v '^
*+' conftest.er1 >conftest.err
32552 cat conftest.err >&5
32553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32554 (exit $ac_status); } && {
32555 test -z "$ac_c_werror_flag" ||
32556 test ! -s conftest.err
32557 } && test -s conftest.$ac_objext; then
32558 ac_header_compiler=yes
32560 echo "$as_me: failed program was:" >&5
32561 sed 's
/^
/|
/' conftest.$ac_ext >&5
32563 ac_header_compiler=no
32566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32567 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32568 echo "${ECHO_T}$ac_header_compiler" >&6; }
32570 # Is the header present?
32571 { echo "$as_me:$LINENO: checking assert.h presence" >&5
32572 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; }
32573 cat >conftest.$ac_ext <<_ACEOF
32576 cat confdefs.h >>conftest.$ac_ext
32577 cat >>conftest.$ac_ext <<_ACEOF
32578 /* end confdefs.h. */
32579 #include <assert.h>
32581 if { (ac_try="$ac_cpp conftest.$ac_ext"
32582 case "(($ac_try" in
32583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32584 *) ac_try_echo=$ac_try;;
32586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32589 grep -v '^
*+' conftest.er1 >conftest.err
32591 cat conftest.err >&5
32592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32593 (exit $ac_status); } >/dev/null && {
32594 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32595 test ! -s conftest.err
32597 ac_header_preproc=yes
32599 echo "$as_me: failed program was:" >&5
32600 sed 's
/^
/|
/' conftest.$ac_ext >&5
32602 ac_header_preproc=no
32605 rm -f conftest.err conftest.$ac_ext
32606 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32607 echo "${ECHO_T}$ac_header_preproc" >&6; }
32609 # So? What about this header?
32610 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32612 { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5
32613 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32614 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result
" >&5
32615 echo "$as_me: WARNING
: assert.h
: proceeding with the compiler
's result" >&2;}
32616 ac_header_preproc=yes
32619 { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5
32620 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;}
32621 { echo "$as_me:$LINENO: WARNING: assert.h: check for missing prerequisite headers?" >&5
32622 echo "$as_me: WARNING: assert.h: check for missing prerequisite headers?" >&2;}
32623 { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5
32624 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;}
32625 { echo "$as_me:$LINENO: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&5
32626 echo "$as_me: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&2;}
32627 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result
" >&5
32628 echo "$as_me: WARNING
: assert.h
: proceeding with the preprocessor
's result" >&2;}
32629 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5
32630 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;}
32634 { echo "$as_me:$LINENO: checking for assert.h" >&5
32635 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; }
32636 if test "${ac_cv_header_assert_h+set}" = set; then
32637 echo $ECHO_N "(cached) $ECHO_C" >&6
32639 ac_cv_header_assert_h=$ac_header_preproc
32641 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5
32642 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; }
32645 if test $ac_cv_header_assert_h = yes; then
32646 cat >>confdefs.h <<\_ACEOF
32647 #define HAVE_ASSERT_H 1
32654 { echo "$as_me:$LINENO: checking for plugins support" >&5
32655 echo $ECHO_N "checking for plugins support... $ECHO_C" >&6; }
32656 # Check whether --enable-plugins was given.
32657 if test "${enable_plugins+set}" = set; then
32658 enableval=$enable_plugins; if test "$enableval" = yes; then
32671 if test "$bx_plugins" = 1; then
32672 { echo "$as_me:$LINENO: result: yes" >&5
32673 echo "${ECHO_T}yes" >&6; }
32674 cat >>confdefs.h <<\_ACEOF
32675 #define BX_PLUGINS 1
32678 GUI_NON_PLUGIN_OBJS='$
(OBJS_THAT_CANNOT_BE_PLUGINS
)'
32679 GUI_PLUGIN_OBJS='$
(OBJS_THAT_CAN_BE_PLUGINS
)'
32680 DEFINE_PLUGIN_PATH='-DBX_PLUGIN_PATH="\"${plugdir}\""'
32681 # and the $(OBJS_THAT_SUPPORT_OTHER_PLUGINS) will be built and linked
32682 # by special link rules for the plugins that they support.
32683 LIBS="$LIBS $LIBADD_DL"
32684 PLUGIN_VAR='ltdl.o
'
32685 PLUGIN_TARGET=bochs_plugins
32686 INSTALL_PLUGINS_VAR=install_libtool_plugins
32687 NONPLUGIN_GUI_LINK_OPTS=''
32689 { echo "$as_me:$LINENO: result: no" >&5
32690 echo "${ECHO_T}no" >&6; }
32692 cat >>confdefs.h <<\_ACEOF
32693 #define BX_PLUGINS 0
32696 GUI_NON_PLUGIN_OBJS='$
(OBJS_THAT_CANNOT_BE_PLUGINS
) $
(OBJS_THAT_CAN_BE_PLUGINS
) $
(OBJS_THAT_SUPPORT_OTHER_PLUGINS
)'
32698 NONPLUGIN_GUI_LINK_OPTS='$
(GUI_LINK_OPTS
)'
32703 # copy gui variables into iodev variables. Later, we will add to the gui
32704 # objs list, according to which display libraries are enabled.
32705 IODEV_NON_PLUGIN_OBJS=$GUI_NON_PLUGIN_OBJS
32706 IODEV_PLUGIN_OBJS=$GUI_PLUGIN_OBJS
32708 # on MacOSX if they enabled plugins, make sure that dlopen() was found.
32709 # It is provided by a library called dlcompat.
32710 if test "$bx_plugins" = 1 -a "$need_dlcompat_for_plugins" = 1; then
32712 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
32713 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
32714 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
32715 echo $ECHO_N "(cached) $ECHO_C" >&6
32717 ac_check_lib_save_LIBS=$LIBS
32719 cat >conftest.$ac_ext <<_ACEOF
32722 cat confdefs.h >>conftest.$ac_ext
32723 cat >>conftest.$ac_ext <<_ACEOF
32724 /* end confdefs.h. */
32726 /* Override any GCC internal prototype to avoid an error.
32727 Use char because int might match the return type of a GCC
32728 builtin and then its argument prototype would still apply. */
32741 rm -f conftest.$ac_objext conftest$ac_exeext
32742 if { (ac_try="$ac_link"
32743 case "(($ac_try" in
32744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32745 *) ac_try_echo=$ac_try;;
32747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32748 (eval "$ac_link") 2>conftest.er1
32750 grep -v '^
*+' conftest.er1 >conftest.err
32752 cat conftest.err >&5
32753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32754 (exit $ac_status); } && {
32755 test -z "$ac_c_werror_flag" ||
32756 test ! -s conftest.err
32757 } && test -s conftest$ac_exeext &&
32758 $as_test_x conftest$ac_exeext; then
32759 ac_cv_lib_dl_dlopen=yes
32761 echo "$as_me: failed program was:" >&5
32762 sed 's
/^
/|
/' conftest.$ac_ext >&5
32764 ac_cv_lib_dl_dlopen=no
32767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32768 conftest$ac_exeext conftest.$ac_ext
32769 LIBS=$ac_check_lib_save_LIBS
32771 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
32772 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
32773 if test $ac_cv_lib_dl_dlopen = yes; then
32777 { echo "$as_me:$LINENO: checking if you have dlcompat" >&5
32778 echo $ECHO_N "checking if you have dlcompat... $ECHO_C" >&6; }
32779 if test "$have_dlopen" = 0; then
32780 { echo "$as_me:$LINENO: result: no" >&5
32781 echo "${ECHO_T}no" >&6; }
32782 { { echo "$as_me:$LINENO: error: To use plugins on MacOSX you must use a library called dlcompat. The configure script was not able to find dlcompat. If it is already installed then you must set up your environment variables to point to it, as is done in .conf.macosx. If you cannot resolve this, you should turn off plugins." >&5
32783 echo "$as_me: error: To use plugins on MacOSX you must use a library called dlcompat. The configure script was not able to find dlcompat. If it is already installed then you must set up your environment variables to point to it, as is done in .conf.macosx. If you cannot resolve this, you should turn off plugins." >&2;}
32784 { (exit 1); exit 1; }; }
32786 { echo "$as_me:$LINENO: result: yes" >&5
32787 echo "${ECHO_T}yes" >&6; }
32791 { echo "$as_me:$LINENO: checking if compiler allows blank labels" >&5
32792 echo $ECHO_N "checking if compiler allows blank labels... $ECHO_C" >&6; }
32793 cat >conftest.$ac_ext <<_ACEOF
32796 cat confdefs.h >>conftest.$ac_ext
32797 cat >>conftest.$ac_ext <<_ACEOF
32798 /* end confdefs.h. */
32808 rm -f conftest.$ac_objext
32809 if { (ac_try="$ac_compile"
32810 case "(($ac_try" in
32811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32812 *) ac_try_echo=$ac_try;;
32814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32815 (eval "$ac_compile") 2>conftest.er1
32817 grep -v '^
*+' conftest.er1 >conftest.err
32819 cat conftest.err >&5
32820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32821 (exit $ac_status); } && {
32822 test -z "$ac_c_werror_flag" ||
32823 test ! -s conftest.err
32824 } && test -s conftest.$ac_objext; then
32825 { echo "$as_me:$LINENO: result: yes" >&5
32826 echo "${ECHO_T}yes" >&6; }
32828 echo "$as_me: failed program was:" >&5
32829 sed 's
/^
/|
/' conftest.$ac_ext >&5
32832 { echo "$as_me:$LINENO: result: no" >&5
32833 echo "${ECHO_T}no" >&6; }
32834 cat >>confdefs.h <<\_ACEOF
32835 #define BX_NO_BLANK_LABELS 1
32841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32843 { echo "$as_me:$LINENO: checking if compiler allows LL for 64-bit constants" >&5
32844 echo $ECHO_N "checking if compiler allows LL for 64-bit constants... $ECHO_C" >&6; }
32845 cat >conftest.$ac_ext <<_ACEOF
32848 cat confdefs.h >>conftest.$ac_ext
32849 cat >>conftest.$ac_ext <<_ACEOF
32850 /* end confdefs.h. */
32860 rm -f conftest.$ac_objext
32861 if { (ac_try="$ac_compile"
32862 case "(($ac_try" in
32863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32864 *) ac_try_echo=$ac_try;;
32866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32867 (eval "$ac_compile") 2>conftest.er1
32869 grep -v '^
*+' conftest.er1 >conftest.err
32871 cat conftest.err >&5
32872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32873 (exit $ac_status); } && {
32874 test -z "$ac_c_werror_flag" ||
32875 test ! -s conftest.err
32876 } && test -s conftest.$ac_objext; then
32877 { echo "$as_me:$LINENO: result: yes" >&5
32878 echo "${ECHO_T}yes" >&6; }
32880 echo "$as_me: failed program was:" >&5
32881 sed 's
/^
/|
/' conftest.$ac_ext >&5
32884 { echo "$as_me:$LINENO: result: no" >&5
32885 echo "${ECHO_T}no" >&6; }
32886 cat >>confdefs.h <<\_ACEOF
32887 #define BX_64BIT_CONSTANTS_USE_LL 0
32893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32896 { echo "$as_me:$LINENO: checking for x86-64 support" >&5
32897 echo $ECHO_N "checking for x86-64 support... $ECHO_C" >&6; }
32898 # Check whether --enable-x86-64 was given.
32899 if test "${enable_x86_64+set}" = set; then
32900 enableval=$enable_x86_64; if test "$enableval" = yes; then
32901 { echo "$as_me:$LINENO: result: yes" >&5
32902 echo "${ECHO_T}yes" >&6; }
32904 cat >>confdefs.h <<\_ACEOF
32905 #define BX_SUPPORT_X86_64 1
32910 { echo "$as_me:$LINENO: result: no" >&5
32911 echo "${ECHO_T}no" >&6; }
32913 cat >>confdefs.h <<\_ACEOF
32914 #define BX_SUPPORT_X86_64 0
32921 { echo "$as_me:$LINENO: result: no" >&5
32922 echo "${ECHO_T}no" >&6; }
32924 cat >>confdefs.h <<\_ACEOF
32925 #define BX_SUPPORT_X86_64 0
32935 { echo "$as_me:$LINENO: checking for SMP support" >&5
32936 echo $ECHO_N "checking for SMP support... $ECHO_C" >&6; }
32937 # Check whether --enable-smp was given.
32938 if test "${enable_smp+set}" = set; then
32939 enableval=$enable_smp; if test "$enableval" = yes; then
32940 { echo "$as_me:$LINENO: result: yes" >&5
32941 echo "${ECHO_T}yes" >&6; }
32942 cat >>confdefs.h <<\_ACEOF
32943 #define BX_SUPPORT_SMP 1
32946 cat >>confdefs.h <<\_ACEOF
32947 #define BX_USE_CPU_SMF 0
32952 { echo "$as_me:$LINENO: result: no" >&5
32953 echo "${ECHO_T}no" >&6; }
32954 cat >>confdefs.h <<\_ACEOF
32955 #define BX_SUPPORT_SMP 0
32962 { echo "$as_me:$LINENO: result: no" >&5
32963 echo "${ECHO_T}no" >&6; }
32964 cat >>confdefs.h <<\_ACEOF
32965 #define BX_SUPPORT_SMP 0
32973 { echo "$as_me:$LINENO: checking for cpu level" >&5
32974 echo $ECHO_N "checking for cpu level... $ECHO_C" >&6; }
32975 # Check whether --enable-cpu-level was given.
32976 if test "${enable_cpu_level+set}" = set; then
32977 enableval=$enable_cpu_level; case "$enableval" in
32979 { echo "$as_me:$LINENO: result: 3" >&5
32980 echo "${ECHO_T}3" >&6; }
32981 cat >>confdefs.h <<\_ACEOF
32982 #define BX_CPU_LEVEL 3
32985 cat >>confdefs.h <<\_ACEOF
32986 #define BX_CPU_LEVEL_HACKED 3
32991 { echo "$as_me:$LINENO: result: 4" >&5
32992 echo "${ECHO_T}4" >&6; }
32993 cat >>confdefs.h <<\_ACEOF
32994 #define BX_CPU_LEVEL 4
32997 cat >>confdefs.h <<\_ACEOF
32998 #define BX_CPU_LEVEL_HACKED 4
33003 { echo "$as_me:$LINENO: result: 5" >&5
33004 echo "${ECHO_T}5" >&6; }
33005 cat >>confdefs.h <<\_ACEOF
33006 #define BX_CPU_LEVEL 5
33009 cat >>confdefs.h <<\_ACEOF
33010 #define BX_CPU_LEVEL_HACKED 5
33015 { echo "$as_me:$LINENO: result: 6" >&5
33016 echo "${ECHO_T}6" >&6; }
33017 cat >>confdefs.h <<\_ACEOF
33018 #define BX_CPU_LEVEL 6
33021 cat >>confdefs.h <<\_ACEOF
33022 #define BX_CPU_LEVEL_HACKED 6
33028 echo "ERROR: you must supply a valid CPU level to --enable-cpu-level"
33032 bx_cpu_level=$enableval
33033 if test "$use_smp" = 1 -a "$enableval" -lt 6; then
33034 echo "ERROR: with >1 processor, use --enable-cpu-level=6"
33040 # for multiprocessors or x86-64, cpu level must be 6
33041 if test "$use_smp" = 1 -o "$use_x86_64" = 1; then
33042 { echo "$as_me:$LINENO: result: 6" >&5
33043 echo "${ECHO_T}6" >&6; }
33044 cat >>confdefs.h <<\_ACEOF
33045 #define BX_CPU_LEVEL 6
33048 cat >>confdefs.h <<\_ACEOF
33049 #define BX_CPU_LEVEL_HACKED 6
33054 { echo "$as_me:$LINENO: result: 5" >&5
33055 echo "${ECHO_T}5" >&6; }
33056 cat >>confdefs.h <<\_ACEOF
33057 #define BX_CPU_LEVEL 5
33060 cat >>confdefs.h <<\_ACEOF
33061 #define BX_CPU_LEVEL_HACKED 5
33072 { echo "$as_me:$LINENO: checking for APIC support" >&5
33073 echo $ECHO_N "checking for APIC support... $ECHO_C" >&6; }
33074 # Check whether --enable-apic was given.
33075 if test "${enable_apic+set}" = set; then
33076 enableval=$enable_apic; if test "$enableval" = yes; then
33077 { echo "$as_me:$LINENO: result: yes" >&5
33078 echo "${ECHO_T}yes" >&6; }
33079 cat >>confdefs.h <<\_ACEOF
33080 #define BX_SUPPORT_APIC 1
33083 IOAPIC_OBJS='ioapic.o
'
33085 { echo "$as_me:$LINENO: result: no" >&5
33086 echo "${ECHO_T}no" >&6; }
33087 if test "$use_smp" = 1; then
33088 echo "ERROR: With SMP configuration you must use --enable-apic"
33091 cat >>confdefs.h <<\_ACEOF
33092 #define BX_SUPPORT_APIC 0
33100 if test "$use_smp" = 1 -o "$bx_cpu_level" -gt 5; then
33101 # enable APIC by default, if SMP configuration or if cpulevel>5
33102 { echo "$as_me:$LINENO: result: yes" >&5
33103 echo "${ECHO_T}yes" >&6; }
33104 cat >>confdefs.h <<\_ACEOF
33105 #define BX_SUPPORT_APIC 1
33108 IOAPIC_OBJS='ioapic.o
'
33110 { echo "$as_me:$LINENO: result: no" >&5
33111 echo "${ECHO_T}no" >&6; }
33112 cat >>confdefs.h <<\_ACEOF
33113 #define BX_SUPPORT_APIC 0
33124 if test "${ac_cv_header_zlib_h+set}" = set; then
33125 { echo "$as_me:$LINENO: checking for zlib.h" >&5
33126 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
33127 if test "${ac_cv_header_zlib_h+set}" = set; then
33128 echo $ECHO_N "(cached) $ECHO_C" >&6
33130 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
33131 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
33133 # Is the header compilable?
33134 { echo "$as_me:$LINENO: checking zlib.h usability" >&5
33135 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
33136 cat >conftest.$ac_ext <<_ACEOF
33139 cat confdefs.h >>conftest.$ac_ext
33140 cat >>conftest.$ac_ext <<_ACEOF
33141 /* end confdefs.h. */
33142 $ac_includes_default
33145 rm -f conftest.$ac_objext
33146 if { (ac_try="$ac_compile"
33147 case "(($ac_try" in
33148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33149 *) ac_try_echo=$ac_try;;
33151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33152 (eval "$ac_compile") 2>conftest.er1
33154 grep -v '^
*+' conftest.er1 >conftest.err
33156 cat conftest.err >&5
33157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33158 (exit $ac_status); } && {
33159 test -z "$ac_c_werror_flag" ||
33160 test ! -s conftest.err
33161 } && test -s conftest.$ac_objext; then
33162 ac_header_compiler=yes
33164 echo "$as_me: failed program was:" >&5
33165 sed 's
/^
/|
/' conftest.$ac_ext >&5
33167 ac_header_compiler=no
33170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33171 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33172 echo "${ECHO_T}$ac_header_compiler" >&6; }
33174 # Is the header present?
33175 { echo "$as_me:$LINENO: checking zlib.h presence" >&5
33176 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
33177 cat >conftest.$ac_ext <<_ACEOF
33180 cat confdefs.h >>conftest.$ac_ext
33181 cat >>conftest.$ac_ext <<_ACEOF
33182 /* end confdefs.h. */
33185 if { (ac_try="$ac_cpp conftest.$ac_ext"
33186 case "(($ac_try" in
33187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33188 *) ac_try_echo=$ac_try;;
33190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33191 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33193 grep -v '^
*+' conftest.er1 >conftest.err
33195 cat conftest.err >&5
33196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33197 (exit $ac_status); } >/dev/null && {
33198 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33199 test ! -s conftest.err
33201 ac_header_preproc=yes
33203 echo "$as_me: failed program was:" >&5
33204 sed 's
/^
/|
/' conftest.$ac_ext >&5
33206 ac_header_preproc=no
33209 rm -f conftest.err conftest.$ac_ext
33210 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33211 echo "${ECHO_T}$ac_header_preproc" >&6; }
33213 # So? What about this header?
33214 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33216 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
33217 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33218 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result
" >&5
33219 echo "$as_me: WARNING
: zlib.h
: proceeding with the compiler
's result" >&2;}
33220 ac_header_preproc=yes
33223 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
33224 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
33225 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
33226 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
33227 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
33228 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
33229 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
33230 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
33231 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result
" >&5
33232 echo "$as_me: WARNING
: zlib.h
: proceeding with the preprocessor
's result" >&2;}
33233 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
33234 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
33238 { echo "$as_me:$LINENO: checking for zlib.h" >&5
33239 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
33240 if test "${ac_cv_header_zlib_h+set}" = set; then
33241 echo $ECHO_N "(cached) $ECHO_C" >&6
33243 ac_cv_header_zlib_h=$ac_header_preproc
33245 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
33246 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
33249 if test $ac_cv_header_zlib_h = yes; then
33250 { echo "$as_me:$LINENO: checking for gzopen in -lz" >&5
33251 echo $ECHO_N "checking for gzopen in -lz... $ECHO_C" >&6; }
33252 if test "${ac_cv_lib_z_gzopen+set}" = set; then
33253 echo $ECHO_N "(cached) $ECHO_C" >&6
33255 ac_check_lib_save_LIBS=$LIBS
33257 cat >conftest.$ac_ext <<_ACEOF
33260 cat confdefs.h >>conftest.$ac_ext
33261 cat >>conftest.$ac_ext <<_ACEOF
33262 /* end confdefs.h. */
33264 /* Override any GCC internal prototype to avoid an error.
33265 Use char because int might match the return type of a GCC
33266 builtin and then its argument prototype would still apply. */
33279 rm -f conftest.$ac_objext conftest$ac_exeext
33280 if { (ac_try="$ac_link"
33281 case "(($ac_try" in
33282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33283 *) ac_try_echo=$ac_try;;
33285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33286 (eval "$ac_link") 2>conftest.er1
33288 grep -v '^
*+' conftest.er1 >conftest.err
33290 cat conftest.err >&5
33291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33292 (exit $ac_status); } && {
33293 test -z "$ac_c_werror_flag" ||
33294 test ! -s conftest.err
33295 } && test -s conftest$ac_exeext &&
33296 $as_test_x conftest$ac_exeext; then
33297 ac_cv_lib_z_gzopen=yes
33299 echo "$as_me: failed program was:" >&5
33300 sed 's
/^
/|
/' conftest.$ac_ext >&5
33302 ac_cv_lib_z_gzopen=no
33305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33306 conftest$ac_exeext conftest.$ac_ext
33307 LIBS=$ac_check_lib_save_LIBS
33309 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzopen" >&5
33310 echo "${ECHO_T}$ac_cv_lib_z_gzopen" >&6; }
33311 if test $ac_cv_lib_z_gzopen = yes; then
33312 cat >>confdefs.h <<\_ACEOF
33313 #define BX_HAVE_ZLIB 1
33322 { echo "$as_me:$LINENO: checking for compressed hard disk image support" >&5
33323 echo $ECHO_N "checking for compressed hard disk image support... $ECHO_C" >&6; }
33324 # Check whether --enable-compressed-hd was given.
33325 if test "${enable_compressed_hd+set}" = set; then
33326 enableval=$enable_compressed_hd; if test "$enableval" = yes; then
33327 { echo "$as_me:$LINENO: result: yes" >&5
33328 echo "${ECHO_T}yes" >&6; }
33329 cat >>confdefs.h <<\_ACEOF
33330 #define BX_COMPRESSED_HD_SUPPORT 1
33335 { echo "$as_me:$LINENO: result: no" >&5
33336 echo "${ECHO_T}no" >&6; }
33337 cat >>confdefs.h <<\_ACEOF
33338 #define BX_COMPRESSED_HD_SUPPORT 0
33344 { echo "$as_me:$LINENO: result: no" >&5
33345 echo "${ECHO_T}no" >&6; }
33346 cat >>confdefs.h <<\_ACEOF
33347 #define BX_COMPRESSED_HD_SUPPORT 0
33356 { echo "$as_me:$LINENO: checking for NE2000 support" >&5
33357 echo $ECHO_N "checking for NE2000 support... $ECHO_C" >&6; }
33358 # Check whether --enable-ne2000 was given.
33359 if test "${enable_ne2000+set}" = set; then
33360 enableval=$enable_ne2000; if test "$enableval" = yes; then
33361 { echo "$as_me:$LINENO: result: yes" >&5
33362 echo "${ECHO_T}yes" >&6; }
33363 cat >>confdefs.h <<\_ACEOF
33364 #define BX_SUPPORT_NE2K 1
33370 { echo "$as_me:$LINENO: result: no" >&5
33371 echo "${ECHO_T}no" >&6; }
33372 cat >>confdefs.h <<\_ACEOF
33373 #define BX_SUPPORT_NE2K 0
33381 { echo "$as_me:$LINENO: result: no" >&5
33382 echo "${ECHO_T}no" >&6; }
33383 cat >>confdefs.h <<\_ACEOF
33384 #define BX_SUPPORT_NE2K 0
33395 { echo "$as_me:$LINENO: checking for ACPI support" >&5
33396 echo $ECHO_N "checking for ACPI support... $ECHO_C" >&6; }
33397 # Check whether --enable-acpi was given.
33398 if test "${enable_acpi+set}" = set; then
33399 enableval=$enable_acpi; if test "$enableval" = yes; then
33400 { echo "$as_me:$LINENO: result: yes" >&5
33401 echo "${ECHO_T}yes" >&6; }
33402 cat >>confdefs.h <<\_ACEOF
33403 #define BX_SUPPORT_ACPI 1
33407 { echo "$as_me:$LINENO: result: no" >&5
33408 echo "${ECHO_T}no" >&6; }
33409 cat >>confdefs.h <<\_ACEOF
33410 #define BX_SUPPORT_ACPI 0
33416 { echo "$as_me:$LINENO: result: no" >&5
33417 echo "${ECHO_T}no" >&6; }
33418 cat >>confdefs.h <<\_ACEOF
33419 #define BX_SUPPORT_ACPI 0
33428 { echo "$as_me:$LINENO: checking for i440FX PCI support" >&5
33429 echo $ECHO_N "checking for i440FX PCI support... $ECHO_C" >&6; }
33430 # Check whether --enable-pci was given.
33431 if test "${enable_pci+set}" = set; then
33432 enableval=$enable_pci; if test "$enableval" = yes; then
33433 { echo "$as_me:$LINENO: result: yes" >&5
33434 echo "${ECHO_T}yes" >&6; }
33435 cat >>confdefs.h <<\_ACEOF
33436 #define BX_SUPPORT_PCI 1
33440 PCI_OBJ='pci.o pci2isa.o pci_ide.o pcivga.o acpi.o
'
33442 { echo "$as_me:$LINENO: result: no" >&5
33443 echo "${ECHO_T}no" >&6; }
33444 cat >>confdefs.h <<\_ACEOF
33445 #define BX_SUPPORT_PCI 0
33453 { echo "$as_me:$LINENO: result: no" >&5
33454 echo "${ECHO_T}no" >&6; }
33455 cat >>confdefs.h <<\_ACEOF
33456 #define BX_SUPPORT_PCI 0
33468 # PCI host device support
33470 { echo "$as_me:$LINENO: checking for PCI host device mapping support" >&5
33471 echo $ECHO_N "checking for PCI host device mapping support... $ECHO_C" >&6; }
33472 # Check whether --enable-pcidev was given.
33473 if test "${enable_pcidev+set}" = set; then
33474 enableval=$enable_pcidev;
33475 if test "$enableval" = "yes"; then
33476 { echo "$as_me:$LINENO: result: yes" >&5
33477 echo "${ECHO_T}yes" >&6; }
33478 if test "$pci" != "1"; then
33479 { { echo "$as_me:$LINENO: error: PCI host device mapping requires PCI support" >&5
33480 echo "$as_me: error: PCI host device mapping requires PCI support" >&2;}
33481 { (exit 1); exit 1; }; }
33485 { echo "$as_me:$LINENO: Linux detected as host for PCI host device mapping" >&5
33486 echo "$as_me: Linux detected as host for PCI host device mapping" >&6;}
33487 linux_version=`uname -r`
33488 case "$linux_version" in
33490 PCIDEV_MODULE_MAKE_ALL="all-kernel24"
33491 KERNEL_MODULE_SUFFIX="o"
33494 PCIDEV_MODULE_MAKE_ALL="all-kernel26"
33495 KERNEL_MODULE_SUFFIX="ko"
33498 { { echo "$as_me:$LINENO: error: Linux kernel 2.4 or 2.6 is required" >&5
33499 echo "$as_me: error: Linux kernel 2.4 or 2.6 is required" >&2;}
33500 { (exit 1); exit 1; }; }
33503 KERNELDIR="/lib/modules/$linux_version/build"
33517 { { echo "$as_me:$LINENO: error: PCI host device mapping requires Linux as host" >&5
33518 echo "$as_me: error: PCI host device mapping requires Linux as host" >&2;}
33519 { (exit 1); exit 1; }; }
33522 cat >>confdefs.h <<\_ACEOF
33523 #define BX_SUPPORT_PCIDEV 1
33526 PCI_OBJ="$PCI_OBJ pcidev.o"
33528 { echo "$as_me:$LINENO: result: no" >&5
33529 echo "${ECHO_T}no" >&6; }
33530 cat >>confdefs.h <<\_ACEOF
33531 #define BX_SUPPORT_PCIDEV 0
33538 { echo "$as_me:$LINENO: result: no" >&5
33539 echo "${ECHO_T}no" >&6; }
33540 cat >>confdefs.h <<\_ACEOF
33541 #define BX_SUPPORT_PCIDEV 0
33551 { echo "$as_me:$LINENO: checking for limited USB support" >&5
33552 echo $ECHO_N "checking for limited USB support... $ECHO_C" >&6; }
33553 # Check whether --enable-usb was given.
33554 if test "${enable_usb+set}" = set; then
33555 enableval=$enable_usb; if test "$enableval" = yes; then
33556 { echo "$as_me:$LINENO: result: yes" >&5
33557 echo "${ECHO_T}yes" >&6; }
33558 cat >>confdefs.h <<\_ACEOF
33559 #define BX_SUPPORT_PCIUSB 1
33562 PCI_OBJ="$PCI_OBJ pciusb.o"
33563 USBDEV_OBJS="usb_hid.o usb_msd.o"
33564 SCSI_OBJS="scsi_device.o"
33566 { echo "$as_me:$LINENO: result: no" >&5
33567 echo "${ECHO_T}no" >&6; }
33568 cat >>confdefs.h <<\_ACEOF
33569 #define BX_SUPPORT_PCIUSB 0
33575 { echo "$as_me:$LINENO: result: no" >&5
33576 echo "${ECHO_T}no" >&6; }
33577 cat >>confdefs.h <<\_ACEOF
33578 #define BX_SUPPORT_PCIUSB 0
33589 { echo "$as_me:$LINENO: checking for PCI pseudo NIC support" >&5
33590 echo $ECHO_N "checking for PCI pseudo NIC support... $ECHO_C" >&6; }
33591 # Check whether --enable-pnic was given.
33592 if test "${enable_pnic+set}" = set; then
33593 enableval=$enable_pnic; if test "$enableval" = yes; then
33594 { echo "$as_me:$LINENO: result: yes" >&5
33595 echo "${ECHO_T}yes" >&6; }
33596 cat >>confdefs.h <<\_ACEOF
33597 #define BX_SUPPORT_PCIPNIC 1
33600 PCI_OBJ="$PCI_OBJ pcipnic.o"
33603 { echo "$as_me:$LINENO: result: no" >&5
33604 echo "${ECHO_T}no" >&6; }
33605 cat >>confdefs.h <<\_ACEOF
33606 #define BX_SUPPORT_PCIPNIC 0
33612 { echo "$as_me:$LINENO: result: no" >&5
33613 echo "${ECHO_T}no" >&6; }
33614 cat >>confdefs.h <<\_ACEOF
33615 #define BX_SUPPORT_PCIPNIC 0
33624 if test "$networking" = yes; then
33625 NETLOW_OBJS='eth.o eth_null.o eth_vnet.o
'
33626 if test "${ac_cv_header_net_bpf_h+set}" = set; then
33627 { echo "$as_me:$LINENO: checking for net/bpf.h" >&5
33628 echo $ECHO_N "checking for net/bpf.h... $ECHO_C" >&6; }
33629 if test "${ac_cv_header_net_bpf_h+set}" = set; then
33630 echo $ECHO_N "(cached) $ECHO_C" >&6
33632 { echo "$as_me:$LINENO: result: $ac_cv_header_net_bpf_h" >&5
33633 echo "${ECHO_T}$ac_cv_header_net_bpf_h" >&6; }
33635 # Is the header compilable?
33636 { echo "$as_me:$LINENO: checking net/bpf.h usability" >&5
33637 echo $ECHO_N "checking net/bpf.h usability... $ECHO_C" >&6; }
33638 cat >conftest.$ac_ext <<_ACEOF
33641 cat confdefs.h >>conftest.$ac_ext
33642 cat >>conftest.$ac_ext <<_ACEOF
33643 /* end confdefs.h. */
33644 $ac_includes_default
33645 #include <net/bpf.h>
33647 rm -f conftest.$ac_objext
33648 if { (ac_try="$ac_compile"
33649 case "(($ac_try" in
33650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33651 *) ac_try_echo=$ac_try;;
33653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33654 (eval "$ac_compile") 2>conftest.er1
33656 grep -v '^
*+' conftest.er1 >conftest.err
33658 cat conftest.err >&5
33659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33660 (exit $ac_status); } && {
33661 test -z "$ac_c_werror_flag" ||
33662 test ! -s conftest.err
33663 } && test -s conftest.$ac_objext; then
33664 ac_header_compiler=yes
33666 echo "$as_me: failed program was:" >&5
33667 sed 's
/^
/|
/' conftest.$ac_ext >&5
33669 ac_header_compiler=no
33672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33673 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33674 echo "${ECHO_T}$ac_header_compiler" >&6; }
33676 # Is the header present?
33677 { echo "$as_me:$LINENO: checking net/bpf.h presence" >&5
33678 echo $ECHO_N "checking net/bpf.h presence... $ECHO_C" >&6; }
33679 cat >conftest.$ac_ext <<_ACEOF
33682 cat confdefs.h >>conftest.$ac_ext
33683 cat >>conftest.$ac_ext <<_ACEOF
33684 /* end confdefs.h. */
33685 #include <net/bpf.h>
33687 if { (ac_try="$ac_cpp conftest.$ac_ext"
33688 case "(($ac_try" in
33689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33690 *) ac_try_echo=$ac_try;;
33692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33693 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33695 grep -v '^
*+' conftest.er1 >conftest.err
33697 cat conftest.err >&5
33698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33699 (exit $ac_status); } >/dev/null && {
33700 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33701 test ! -s conftest.err
33703 ac_header_preproc=yes
33705 echo "$as_me: failed program was:" >&5
33706 sed 's
/^
/|
/' conftest.$ac_ext >&5
33708 ac_header_preproc=no
33711 rm -f conftest.err conftest.$ac_ext
33712 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33713 echo "${ECHO_T}$ac_header_preproc" >&6; }
33715 # So? What about this header?
33716 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33718 { echo "$as_me:$LINENO: WARNING: net/bpf.h: accepted by the compiler, rejected by the preprocessor!" >&5
33719 echo "$as_me: WARNING: net/bpf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33720 { echo "$as_me:$LINENO: WARNING: net/bpf.h: proceeding with the compiler's result
" >&5
33721 echo "$as_me: WARNING
: net
/bpf.h
: proceeding with the compiler
's result" >&2;}
33722 ac_header_preproc=yes
33725 { echo "$as_me:$LINENO: WARNING: net/bpf.h: present but cannot be compiled" >&5
33726 echo "$as_me: WARNING: net/bpf.h: present but cannot be compiled" >&2;}
33727 { echo "$as_me:$LINENO: WARNING: net/bpf.h: check for missing prerequisite headers?" >&5
33728 echo "$as_me: WARNING: net/bpf.h: check for missing prerequisite headers?" >&2;}
33729 { echo "$as_me:$LINENO: WARNING: net/bpf.h: see the Autoconf documentation" >&5
33730 echo "$as_me: WARNING: net/bpf.h: see the Autoconf documentation" >&2;}
33731 { echo "$as_me:$LINENO: WARNING: net/bpf.h: section \"Present But Cannot Be Compiled\"" >&5
33732 echo "$as_me: WARNING: net/bpf.h: section \"Present But Cannot Be Compiled\"" >&2;}
33733 { echo "$as_me:$LINENO: WARNING: net/bpf.h: proceeding with the preprocessor's result
" >&5
33734 echo "$as_me: WARNING
: net
/bpf.h
: proceeding with the preprocessor
's result" >&2;}
33735 { echo "$as_me:$LINENO: WARNING: net/bpf.h: in the future, the compiler will take precedence" >&5
33736 echo "$as_me: WARNING: net/bpf.h: in the future, the compiler will take precedence" >&2;}
33740 { echo "$as_me:$LINENO: checking for net/bpf.h" >&5
33741 echo $ECHO_N "checking for net/bpf.h... $ECHO_C" >&6; }
33742 if test "${ac_cv_header_net_bpf_h+set}" = set; then
33743 echo $ECHO_N "(cached) $ECHO_C" >&6
33745 ac_cv_header_net_bpf_h=$ac_header_preproc
33747 { echo "$as_me:$LINENO: result: $ac_cv_header_net_bpf_h" >&5
33748 echo "${ECHO_T}$ac_cv_header_net_bpf_h" >&6; }
33751 if test $ac_cv_header_net_bpf_h = yes; then
33752 NETLOW_OBJS="$NETLOW_OBJS eth_fbsd.o"
33756 if test "${ac_cv_header_netpacket_packet_h+set}" = set; then
33757 { echo "$as_me:$LINENO: checking for netpacket/packet.h" >&5
33758 echo $ECHO_N "checking for netpacket/packet.h... $ECHO_C" >&6; }
33759 if test "${ac_cv_header_netpacket_packet_h+set}" = set; then
33760 echo $ECHO_N "(cached) $ECHO_C" >&6
33762 { echo "$as_me:$LINENO: result: $ac_cv_header_netpacket_packet_h" >&5
33763 echo "${ECHO_T}$ac_cv_header_netpacket_packet_h" >&6; }
33765 # Is the header compilable?
33766 { echo "$as_me:$LINENO: checking netpacket/packet.h usability" >&5
33767 echo $ECHO_N "checking netpacket/packet.h usability... $ECHO_C" >&6; }
33768 cat >conftest.$ac_ext <<_ACEOF
33771 cat confdefs.h >>conftest.$ac_ext
33772 cat >>conftest.$ac_ext <<_ACEOF
33773 /* end confdefs.h. */
33774 $ac_includes_default
33775 #include <netpacket/packet.h>
33777 rm -f conftest.$ac_objext
33778 if { (ac_try="$ac_compile"
33779 case "(($ac_try" in
33780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33781 *) ac_try_echo=$ac_try;;
33783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33784 (eval "$ac_compile") 2>conftest.er1
33786 grep -v '^
*+' conftest.er1 >conftest.err
33788 cat conftest.err >&5
33789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33790 (exit $ac_status); } && {
33791 test -z "$ac_c_werror_flag" ||
33792 test ! -s conftest.err
33793 } && test -s conftest.$ac_objext; then
33794 ac_header_compiler=yes
33796 echo "$as_me: failed program was:" >&5
33797 sed 's
/^
/|
/' conftest.$ac_ext >&5
33799 ac_header_compiler=no
33802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33803 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33804 echo "${ECHO_T}$ac_header_compiler" >&6; }
33806 # Is the header present?
33807 { echo "$as_me:$LINENO: checking netpacket/packet.h presence" >&5
33808 echo $ECHO_N "checking netpacket/packet.h presence... $ECHO_C" >&6; }
33809 cat >conftest.$ac_ext <<_ACEOF
33812 cat confdefs.h >>conftest.$ac_ext
33813 cat >>conftest.$ac_ext <<_ACEOF
33814 /* end confdefs.h. */
33815 #include <netpacket/packet.h>
33817 if { (ac_try="$ac_cpp conftest.$ac_ext"
33818 case "(($ac_try" in
33819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33820 *) ac_try_echo=$ac_try;;
33822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33823 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33825 grep -v '^
*+' conftest.er1 >conftest.err
33827 cat conftest.err >&5
33828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33829 (exit $ac_status); } >/dev/null && {
33830 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33831 test ! -s conftest.err
33833 ac_header_preproc=yes
33835 echo "$as_me: failed program was:" >&5
33836 sed 's
/^
/|
/' conftest.$ac_ext >&5
33838 ac_header_preproc=no
33841 rm -f conftest.err conftest.$ac_ext
33842 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33843 echo "${ECHO_T}$ac_header_preproc" >&6; }
33845 # So? What about this header?
33846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33848 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: accepted by the compiler, rejected by the preprocessor!" >&5
33849 echo "$as_me: WARNING: netpacket/packet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33850 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: proceeding with the compiler's result
" >&5
33851 echo "$as_me: WARNING
: netpacket
/packet.h
: proceeding with the compiler
's result" >&2;}
33852 ac_header_preproc=yes
33855 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: present but cannot be compiled" >&5
33856 echo "$as_me: WARNING: netpacket/packet.h: present but cannot be compiled" >&2;}
33857 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: check for missing prerequisite headers?" >&5
33858 echo "$as_me: WARNING: netpacket/packet.h: check for missing prerequisite headers?" >&2;}
33859 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: see the Autoconf documentation" >&5
33860 echo "$as_me: WARNING: netpacket/packet.h: see the Autoconf documentation" >&2;}
33861 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: section \"Present But Cannot Be Compiled\"" >&5
33862 echo "$as_me: WARNING: netpacket/packet.h: section \"Present But Cannot Be Compiled\"" >&2;}
33863 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: proceeding with the preprocessor's result
" >&5
33864 echo "$as_me: WARNING
: netpacket
/packet.h
: proceeding with the preprocessor
's result" >&2;}
33865 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: in the future, the compiler will take precedence" >&5
33866 echo "$as_me: WARNING: netpacket/packet.h: in the future, the compiler will take precedence" >&2;}
33870 { echo "$as_me:$LINENO: checking for netpacket/packet.h" >&5
33871 echo $ECHO_N "checking for netpacket/packet.h... $ECHO_C" >&6; }
33872 if test "${ac_cv_header_netpacket_packet_h+set}" = set; then
33873 echo $ECHO_N "(cached) $ECHO_C" >&6
33875 ac_cv_header_netpacket_packet_h=$ac_header_preproc
33877 { echo "$as_me:$LINENO: result: $ac_cv_header_netpacket_packet_h" >&5
33878 echo "${ECHO_T}$ac_cv_header_netpacket_packet_h" >&6; }
33881 if test $ac_cv_header_netpacket_packet_h = yes; then
33882 NETLOW_OBJS="$NETLOW_OBJS eth_linux.o"
33887 *-pc-windows* | *-pc-winnt* | *-pc-cygwin* | *-pc-mingw32*)
33888 NETLOW_OBJS="$NETLOW_OBJS eth_win32.o"
33890 *-macosx* | *-darwin*)
33891 NETLOW_OBJS="$NETLOW_OBJS eth_tuntap.o"
33892 cat >>confdefs.h <<\_ACEOF
33893 #define HAVE_TUNTAP 1
33898 { echo "$as_me:$LINENO: checking for net/if.h" >&5
33899 echo $ECHO_N "checking for net/if.h... $ECHO_C" >&6; }
33900 if test "${ac_cv_header_net_if_h+set}" = set; then
33901 echo $ECHO_N "(cached) $ECHO_C" >&6
33903 cat >conftest.$ac_ext <<_ACEOF
33906 cat confdefs.h >>conftest.$ac_ext
33907 cat >>conftest.$ac_ext <<_ACEOF
33908 /* end confdefs.h. */
33910 #include <sys/types.h>
33911 #include <sys/socket.h>
33914 #include <net/if.h>
33916 rm -f conftest.$ac_objext
33917 if { (ac_try="$ac_compile"
33918 case "(($ac_try" in
33919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33920 *) ac_try_echo=$ac_try;;
33922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33923 (eval "$ac_compile") 2>conftest.er1
33925 grep -v '^
*+' conftest.er1 >conftest.err
33927 cat conftest.err >&5
33928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33929 (exit $ac_status); } && {
33930 test -z "$ac_c_werror_flag" ||
33931 test ! -s conftest.err
33932 } && test -s conftest.$ac_objext; then
33933 ac_cv_header_net_if_h=yes
33935 echo "$as_me: failed program was:" >&5
33936 sed 's
/^
/|
/' conftest.$ac_ext >&5
33938 ac_cv_header_net_if_h=no
33941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33943 { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_h" >&5
33944 echo "${ECHO_T}$ac_cv_header_net_if_h" >&6; }
33945 if test $ac_cv_header_net_if_h = yes; then
33948 cat >>confdefs.h <<\_ACEOF
33949 #define BX_HAVE_NET_IF_H 1
33956 { echo "$as_me:$LINENO: checking for linux/netlink.h" >&5
33957 echo $ECHO_N "checking for linux/netlink.h... $ECHO_C" >&6; }
33958 if test "${ac_cv_header_linux_netlink_h+set}" = set; then
33959 echo $ECHO_N "(cached) $ECHO_C" >&6
33961 cat >conftest.$ac_ext <<_ACEOF
33964 cat confdefs.h >>conftest.$ac_ext
33965 cat >>conftest.$ac_ext <<_ACEOF
33966 /* end confdefs.h. */
33968 #include <asm/types.h>
33969 #include <sys/socket.h>
33972 #include <linux/netlink.h>
33974 rm -f conftest.$ac_objext
33975 if { (ac_try="$ac_compile"
33976 case "(($ac_try" in
33977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33978 *) ac_try_echo=$ac_try;;
33980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33981 (eval "$ac_compile") 2>conftest.er1
33983 grep -v '^
*+' conftest.er1 >conftest.err
33985 cat conftest.err >&5
33986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33987 (exit $ac_status); } && {
33988 test -z "$ac_c_werror_flag" ||
33989 test ! -s conftest.err
33990 } && test -s conftest.$ac_objext; then
33991 ac_cv_header_linux_netlink_h=yes
33993 echo "$as_me: failed program was:" >&5
33994 sed 's
/^
/|
/' conftest.$ac_ext >&5
33996 ac_cv_header_linux_netlink_h=no
33999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34001 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_netlink_h" >&5
34002 echo "${ECHO_T}$ac_cv_header_linux_netlink_h" >&6; }
34003 if test $ac_cv_header_linux_netlink_h = yes; then
34011 if test "$use_ethertap" = yes; then
34012 NETLOW_OBJS="$NETLOW_OBJS eth_tap.o eth_vde.o"
34013 cat >>confdefs.h <<\_ACEOF
34014 #define HAVE_ETHERTAP 1
34017 cat >>confdefs.h <<\_ACEOF
34023 { echo "$as_me:$LINENO: checking for net/if_tun.h" >&5
34024 echo $ECHO_N "checking for net/if_tun.h... $ECHO_C" >&6; }
34025 if test "${ac_cv_header_net_if_tun_h+set}" = set; then
34026 echo $ECHO_N "(cached) $ECHO_C" >&6
34028 cat >conftest.$ac_ext <<_ACEOF
34031 cat confdefs.h >>conftest.$ac_ext
34032 cat >>conftest.$ac_ext <<_ACEOF
34033 /* end confdefs.h. */
34035 #include <sys/types.h>
34036 #include <sys/socket.h>
34037 #include <net/if.h>
34040 #include <net/if_tun.h>
34042 rm -f conftest.$ac_objext
34043 if { (ac_try="$ac_compile"
34044 case "(($ac_try" in
34045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34046 *) ac_try_echo=$ac_try;;
34048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34049 (eval "$ac_compile") 2>conftest.er1
34051 grep -v '^
*+' conftest.er1 >conftest.err
34053 cat conftest.err >&5
34054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34055 (exit $ac_status); } && {
34056 test -z "$ac_c_werror_flag" ||
34057 test ! -s conftest.err
34058 } && test -s conftest.$ac_objext; then
34059 ac_cv_header_net_if_tun_h=yes
34061 echo "$as_me: failed program was:" >&5
34062 sed 's
/^
/|
/' conftest.$ac_ext >&5
34064 ac_cv_header_net_if_tun_h=no
34067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34069 { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tun_h" >&5
34070 echo "${ECHO_T}$ac_cv_header_net_if_tun_h" >&6; }
34071 if test $ac_cv_header_net_if_tun_h = yes; then
34078 { echo "$as_me:$LINENO: checking for linux/if_tun.h" >&5
34079 echo $ECHO_N "checking for linux/if_tun.h... $ECHO_C" >&6; }
34080 if test "${ac_cv_header_linux_if_tun_h+set}" = set; then
34081 echo $ECHO_N "(cached) $ECHO_C" >&6
34083 cat >conftest.$ac_ext <<_ACEOF
34086 cat confdefs.h >>conftest.$ac_ext
34087 cat >>conftest.$ac_ext <<_ACEOF
34088 /* end confdefs.h. */
34090 #include <asm/types.h>
34091 #include <sys/socket.h>
34094 #include <linux/if_tun.h>
34096 rm -f conftest.$ac_objext
34097 if { (ac_try="$ac_compile"
34098 case "(($ac_try" in
34099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34100 *) ac_try_echo=$ac_try;;
34102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34103 (eval "$ac_compile") 2>conftest.er1
34105 grep -v '^
*+' conftest.er1 >conftest.err
34107 cat conftest.err >&5
34108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34109 (exit $ac_status); } && {
34110 test -z "$ac_c_werror_flag" ||
34111 test ! -s conftest.err
34112 } && test -s conftest.$ac_objext; then
34113 ac_cv_header_linux_if_tun_h=yes
34115 echo "$as_me: failed program was:" >&5
34116 sed 's
/^
/|
/' conftest.$ac_ext >&5
34118 ac_cv_header_linux_if_tun_h=no
34121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34123 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_if_tun_h" >&5
34124 echo "${ECHO_T}$ac_cv_header_linux_if_tun_h" >&6; }
34125 if test $ac_cv_header_linux_if_tun_h = yes; then
34132 if test "$use_tuntap" = yes; then
34133 NETLOW_OBJS="$NETLOW_OBJS eth_tuntap.o"
34134 cat >>confdefs.h <<\_ACEOF
34135 #define HAVE_TUNTAP 1
34142 cat >>confdefs.h <<\_ACEOF
34143 #define BX_NETWORKING 1
34147 cat >>confdefs.h <<\_ACEOF
34148 #define BX_NETWORKING 0
34156 { echo "$as_me:$LINENO: checking for large pages support" >&5
34157 echo $ECHO_N "checking for large pages support... $ECHO_C" >&6; }
34158 # Check whether --enable-large-pages was given.
34159 if test "${enable_large_pages+set}" = set; then
34160 enableval=$enable_large_pages; if test "$enableval" = yes; then
34161 { echo "$as_me:$LINENO: result: yes" >&5
34162 echo "${ECHO_T}yes" >&6; }
34163 cat >>confdefs.h <<\_ACEOF
34164 #define BX_SUPPORT_LARGE_PAGES 1
34167 support_large_pages=1
34169 { echo "$as_me:$LINENO: result: no" >&5
34170 echo "${ECHO_T}no" >&6; }
34171 cat >>confdefs.h <<\_ACEOF
34172 #define BX_SUPPORT_LARGE_PAGES 0
34175 support_large_pages=0
34179 if test "$bx_cpu_level" -gt 4; then
34180 { echo "$as_me:$LINENO: result: yes" >&5
34181 echo "${ECHO_T}yes" >&6; }
34182 cat >>confdefs.h <<\_ACEOF
34183 #define BX_SUPPORT_LARGE_PAGES 1
34186 support_large_pages=1
34188 { echo "$as_me:$LINENO: result: no" >&5
34189 echo "${ECHO_T}no" >&6; }
34190 cat >>confdefs.h <<\_ACEOF
34191 #define BX_SUPPORT_LARGE_PAGES 0
34194 support_large_pages=0
34202 { echo "$as_me:$LINENO: checking for PAE support" >&5
34203 echo $ECHO_N "checking for PAE support... $ECHO_C" >&6; }
34204 # Check whether --enable-pae was given.
34205 if test "${enable_pae+set}" = set; then
34206 enableval=$enable_pae; if test "$enableval" = yes; then
34207 { echo "$as_me:$LINENO: result: yes" >&5
34208 echo "${ECHO_T}yes" >&6; }
34209 cat >>confdefs.h <<\_ACEOF
34210 #define BX_SUPPORT_PAE 1
34215 { echo "$as_me:$LINENO: result: no" >&5
34216 echo "${ECHO_T}no" >&6; }
34217 cat >>confdefs.h <<\_ACEOF
34218 #define BX_SUPPORT_PAE 0
34225 if test "$bx_cpu_level" -gt 5; then
34226 { echo "$as_me:$LINENO: result: yes" >&5
34227 echo "${ECHO_T}yes" >&6; }
34228 cat >>confdefs.h <<\_ACEOF
34229 #define BX_SUPPORT_PAE 1
34234 { echo "$as_me:$LINENO: result: no" >&5
34235 echo "${ECHO_T}no" >&6; }
34236 cat >>confdefs.h <<\_ACEOF
34237 #define BX_SUPPORT_PAE 0
34247 { echo "$as_me:$LINENO: checking for global pages support" >&5
34248 echo $ECHO_N "checking for global pages support... $ECHO_C" >&6; }
34249 # Check whether --enable-global-pages was given.
34250 if test "${enable_global_pages+set}" = set; then
34251 enableval=$enable_global_pages; if test "$enableval" = yes; then
34252 { echo "$as_me:$LINENO: result: yes" >&5
34253 echo "${ECHO_T}yes" >&6; }
34254 cat >>confdefs.h <<\_ACEOF
34255 #define BX_SUPPORT_GLOBAL_PAGES 1
34258 support_global_pages=1
34260 { echo "$as_me:$LINENO: result: no" >&5
34261 echo "${ECHO_T}no" >&6; }
34262 cat >>confdefs.h <<\_ACEOF
34263 #define BX_SUPPORT_GLOBAL_PAGES 0
34266 support_global_pages=0
34270 if test "$bx_cpu_level" -gt 5; then
34271 # enable by default
34272 { echo "$as_me:$LINENO: result: yes" >&5
34273 echo "${ECHO_T}yes" >&6; }
34274 cat >>confdefs.h <<\_ACEOF
34275 #define BX_SUPPORT_GLOBAL_PAGES 1
34278 support_global_pages=1
34280 { echo "$as_me:$LINENO: result: no" >&5
34281 echo "${ECHO_T}no" >&6; }
34282 cat >>confdefs.h <<\_ACEOF
34283 #define BX_SUPPORT_GLOBAL_PAGES 0
34286 support_global_pages=0
34293 if test "$bx_cpu_level" -lt 4 -a "$support_large_pages" = 1; then
34294 { { echo "$as_me:$LINENO: error: for large paging support the CPU level must be >= 4" >&5
34295 echo "$as_me: error: for large paging support the CPU level must be >= 4" >&2;}
34296 { (exit 1); exit 1; }; }
34299 if test "$bx_cpu_level" -lt 5 -a "$support_pae" = 1; then
34300 { { echo "$as_me:$LINENO: error: for PAE support the CPU level must be >= 5" >&5
34301 echo "$as_me: error: for PAE support the CPU level must be >= 5" >&2;}
34302 { (exit 1); exit 1; }; }
34305 if test "$bx_cpu_level" -lt 5 -a "$support_global_pages" = 1; then
34306 { { echo "$as_me:$LINENO: error: for Global Pages support the CPU level must be >= 5" >&5
34307 echo "$as_me: error: for Global Pages support the CPU level must be >= 5" >&2;}
34308 { (exit 1); exit 1; }; }
34311 { echo "$as_me:$LINENO: checking for MTRRs support" >&5
34312 echo $ECHO_N "checking for MTRRs support... $ECHO_C" >&6; }
34313 # Check whether --enable-mtrr was given.
34314 if test "${enable_mtrr+set}" = set; then
34315 enableval=$enable_mtrr; if test "$enableval" = yes; then
34316 { echo "$as_me:$LINENO: result: yes" >&5
34317 echo "${ECHO_T}yes" >&6; }
34318 cat >>confdefs.h <<\_ACEOF
34319 #define BX_SUPPORT_MTRR 1
34323 { echo "$as_me:$LINENO: result: no" >&5
34324 echo "${ECHO_T}no" >&6; }
34325 cat >>confdefs.h <<\_ACEOF
34326 #define BX_SUPPORT_MTRR 0
34332 if test "$bx_cpu_level" -gt 5; then
34333 # enable by default
34334 { echo "$as_me:$LINENO: result: yes" >&5
34335 echo "${ECHO_T}yes" >&6; }
34336 cat >>confdefs.h <<\_ACEOF
34337 #define BX_SUPPORT_MTRR 1
34341 { echo "$as_me:$LINENO: result: no" >&5
34342 echo "${ECHO_T}no" >&6; }
34343 cat >>confdefs.h <<\_ACEOF
34344 #define BX_SUPPORT_MTRR 0
34353 { echo "$as_me:$LINENO: checking for guest to host TLB support" >&5
34354 echo $ECHO_N "checking for guest to host TLB support... $ECHO_C" >&6; }
34355 # Check whether --enable-guest2host-tlb was given.
34356 if test "${enable_guest2host_tlb+set}" = set; then
34357 enableval=$enable_guest2host_tlb; if test "$enableval" = yes; then
34358 { echo "$as_me:$LINENO: result: yes" >&5
34359 echo "${ECHO_T}yes" >&6; }
34360 speedup_guest2host_tlb=1
34362 { echo "$as_me:$LINENO: result: no" >&5
34363 echo "${ECHO_T}no" >&6; }
34364 speedup_guest2host_tlb=0
34368 { echo "$as_me:$LINENO: result: no" >&5
34369 echo "${ECHO_T}no" >&6; }
34370 speedup_guest2host_tlb=0
34376 { echo "$as_me:$LINENO: checking for repeated IO and mem copy speedups" >&5
34377 echo $ECHO_N "checking for repeated IO and mem copy speedups... $ECHO_C" >&6; }
34378 # Check whether --enable-repeat-speedups was given.
34379 if test "${enable_repeat_speedups+set}" = set; then
34380 enableval=$enable_repeat_speedups; if test "$enableval" = yes; then
34381 { echo "$as_me:$LINENO: result: yes" >&5
34382 echo "${ECHO_T}yes" >&6; }
34385 { echo "$as_me:$LINENO: result: no" >&5
34386 echo "${ECHO_T}no" >&6; }
34391 { echo "$as_me:$LINENO: result: no" >&5
34392 echo "${ECHO_T}no" >&6; }
34399 { echo "$as_me:$LINENO: checking for instruction trace cache support" >&5
34400 echo $ECHO_N "checking for instruction trace cache support... $ECHO_C" >&6; }
34401 # Check whether --enable-trace-cache was given.
34402 if test "${enable_trace_cache+set}" = set; then
34403 enableval=$enable_trace_cache; if test "$enableval" = yes; then
34404 { echo "$as_me:$LINENO: result: yes" >&5
34405 echo "${ECHO_T}yes" >&6; }
34406 speedup_TraceCache=1
34408 { echo "$as_me:$LINENO: result: no" >&5
34409 echo "${ECHO_T}no" >&6; }
34410 speedup_TraceCache=0
34414 if test "$speedup_TraceCache " = 1; then
34415 { echo "$as_me:$LINENO: result: yes" >&5
34416 echo "${ECHO_T}yes" >&6; }
34417 speedup_TraceCache=1
34419 { echo "$as_me:$LINENO: result: no" >&5
34420 echo "${ECHO_T}no" >&6; }
34421 speedup_TraceCache=0
34428 { echo "$as_me:$LINENO: checking for instruction cache support" >&5
34429 echo $ECHO_N "checking for instruction cache support... $ECHO_C" >&6; }
34430 # Check whether --enable-icache was given.
34431 if test "${enable_icache+set}" = set; then
34432 enableval=$enable_icache; if test "$enableval" = yes; then
34433 { echo "$as_me:$LINENO: result: yes" >&5
34434 echo "${ECHO_T}yes" >&6; }
34437 { echo "$as_me:$LINENO: result: no" >&5
34438 echo "${ECHO_T}no" >&6; }
34443 { echo "$as_me:$LINENO: result: no" >&5
34444 echo "${ECHO_T}no" >&6; }
34451 { echo "$as_me:$LINENO: checking for gcc fast function calls optimization" >&5
34452 echo $ECHO_N "checking for gcc fast function calls optimization... $ECHO_C" >&6; }
34453 # Check whether --enable-fast-function-calls was given.
34454 if test "${enable_fast_function_calls+set}" = set; then
34455 enableval=$enable_fast_function_calls; if test "$enableval" = yes; then
34456 { echo "$as_me:$LINENO: result: yes" >&5
34457 echo "${ECHO_T}yes" >&6; }
34460 { echo "$as_me:$LINENO: result: no" >&5
34461 echo "${ECHO_T}no" >&6; }
34466 { echo "$as_me:$LINENO: result: no" >&5
34467 echo "${ECHO_T}no" >&6; }
34474 { echo "$as_me:$LINENO: checking for host specific inline assembly accelerations" >&5
34475 echo $ECHO_N "checking for host specific inline assembly accelerations... $ECHO_C" >&6; }
34476 # Check whether --enable-host-specific-asms was given.
34477 if test "${enable_host_specific_asms+set}" = set; then
34478 enableval=$enable_host_specific_asms; if test "$enableval" = yes; then
34479 { echo "$as_me:$LINENO: result: yes" >&5
34480 echo "${ECHO_T}yes" >&6; }
34481 speedup_host_specific_asms=1
34483 { echo "$as_me:$LINENO: result: no" >&5
34484 echo "${ECHO_T}no" >&6; }
34485 speedup_host_specific_asms=0
34489 { echo "$as_me:$LINENO: result: no" >&5
34490 echo "${ECHO_T}no" >&6; }
34491 speedup_host_specific_asms=0
34497 { echo "$as_me:$LINENO: checking whether to ignore bad MSR references" >&5
34498 echo $ECHO_N "checking whether to ignore bad MSR references... $ECHO_C" >&6; }
34499 # Check whether --enable-ignore-bad-msr was given.
34500 if test "${enable_ignore_bad_msr+set}" = set; then
34501 enableval=$enable_ignore_bad_msr; if test "$enableval" = yes; then
34502 { echo "$as_me:$LINENO: result: yes" >&5
34503 echo "${ECHO_T}yes" >&6; }
34504 cat >>confdefs.h <<\_ACEOF
34505 #define BX_IGNORE_BAD_MSR 1
34509 { echo "$as_me:$LINENO: result: no" >&5
34510 echo "${ECHO_T}no" >&6; }
34511 cat >>confdefs.h <<\_ACEOF
34512 #define BX_IGNORE_BAD_MSR 0
34518 { echo "$as_me:$LINENO: result: yes" >&5
34519 echo "${ECHO_T}yes" >&6; }
34520 cat >>confdefs.h <<\_ACEOF
34521 #define BX_IGNORE_BAD_MSR 1
34529 { echo "$as_me:$LINENO: checking for port e9 hack" >&5
34530 echo $ECHO_N "checking for port e9 hack... $ECHO_C" >&6; }
34531 # Check whether --enable-port-e9-hack was given.
34532 if test "${enable_port_e9_hack+set}" = set; then
34533 enableval=$enable_port_e9_hack; if test "$enableval" = yes; then
34534 { echo "$as_me:$LINENO: result: yes" >&5
34535 echo "${ECHO_T}yes" >&6; }
34536 cat >>confdefs.h <<\_ACEOF
34537 #define BX_PORT_E9_HACK 1
34541 { echo "$as_me:$LINENO: result: no" >&5
34542 echo "${ECHO_T}no" >&6; }
34543 cat >>confdefs.h <<\_ACEOF
34544 #define BX_PORT_E9_HACK 0
34550 { echo "$as_me:$LINENO: result: yes" >&5
34551 echo "${ECHO_T}yes" >&6; }
34552 cat >>confdefs.h <<\_ACEOF
34553 #define BX_PORT_E9_HACK 1
34561 { echo "$as_me:$LINENO: checking show IPS" >&5
34562 echo $ECHO_N "checking show IPS... $ECHO_C" >&6; }
34563 # Check whether --enable-show-ips was given.
34564 if test "${enable_show_ips+set}" = set; then
34565 enableval=$enable_show_ips; if test "$enableval" = yes; then
34566 { echo "$as_me:$LINENO: result: yes" >&5
34567 echo "${ECHO_T}yes" >&6; }
34568 cat >>confdefs.h <<\_ACEOF
34569 #define BX_SHOW_IPS 1
34573 { echo "$as_me:$LINENO: result: no" >&5
34574 echo "${ECHO_T}no" >&6; }
34575 cat >>confdefs.h <<\_ACEOF
34576 #define BX_SHOW_IPS 0
34582 { echo "$as_me:$LINENO: result: no" >&5
34583 echo "${ECHO_T}no" >&6; }
34584 cat >>confdefs.h <<\_ACEOF
34585 #define BX_SHOW_IPS 0
34593 { echo "$as_me:$LINENO: checking for use of .cpp as suffix" >&5
34594 echo $ECHO_N "checking for use of .cpp as suffix... $ECHO_C" >&6; }
34595 # Check whether --enable-cpp was given.
34596 if test "${enable_cpp+set}" = set; then
34597 enableval=$enable_cpp; if test "$enableval" = yes; then
34598 { echo "$as_me:$LINENO: result: yes" >&5
34599 echo "${ECHO_T}yes" >&6; }
34600 SUFFIX_LINE='.SUFFIXES
: .cpp
'
34603 { echo "$as_me:$LINENO: result: no" >&5
34604 echo "${ECHO_T}no" >&6; }
34605 SUFFIX_LINE='.SUFFIXES
: .cc
'
34610 { echo "$as_me:$LINENO: result: no" >&5
34611 echo "${ECHO_T}no" >&6; }
34612 SUFFIX_LINE='.SUFFIXES
: .cc
'
34621 if test "$enable_cpp" = yes; then
34622 echo "moving .cc source files to .cpp"
34623 sourcefiles=`find . -name "*.cc" -print`
34624 if test "$sourcefiles" != ""; then
34625 for ccname in $sourcefiles
34627 cppname=`echo $ccname | sed -e "s/\.cc$/.cpp/"`
34628 echo "mv $ccname $cppname"
34629 mv $ccname $cppname
34632 echo "no more .cc source files to rename"
34638 { echo "$as_me:$LINENO: checking for Bochs internal debugger support" >&5
34639 echo $ECHO_N "checking for Bochs internal debugger support... $ECHO_C" >&6; }
34640 # Check whether --enable-debugger was given.
34641 if test "${enable_debugger+set}" = set; then
34642 enableval=$enable_debugger; if test "$enableval" = yes; then
34643 { echo "$as_me:$LINENO: result: yes" >&5
34644 echo "${ECHO_T}yes" >&6; }
34645 cat >>confdefs.h <<\_ACEOF
34646 #define BX_DEBUGGER 1
34649 DEBUGGER_VAR='$
(DEBUGGER_LIB
)'
34652 { echo "$as_me:$LINENO: result: no" >&5
34653 echo "${ECHO_T}no" >&6; }
34654 cat >>confdefs.h <<\_ACEOF
34655 #define BX_DEBUGGER 0
34664 { echo "$as_me:$LINENO: result: no" >&5
34665 echo "${ECHO_T}no" >&6; }
34666 cat >>confdefs.h <<\_ACEOF
34667 #define BX_DEBUGGER 0
34678 { echo "$as_me:$LINENO: checking for external debugger" >&5
34679 echo $ECHO_N "checking for external debugger... $ECHO_C" >&6; }
34681 # Check whether --enable-external-debugger was given.
34682 if test "${enable_external_debugger+set}" = set; then
34683 enableval=$enable_external_debugger; if test "$enableval" = yes; then
34685 *-pc-windows* | *-cygwin* | *-mingw32*)
34686 { echo "$as_me:$LINENO: result: yes" >&5
34687 echo "${ECHO_T}yes" >&6; }
34688 cat >>confdefs.h <<\_ACEOF
34689 #define BX_EXTERNAL_DEBUGGER 1
34692 EXT_DEBUG_OBJS=extdb.o
34695 echo "ERROR: external debugger is currently supported on win32 only"
34700 { echo "$as_me:$LINENO: result: no" >&5
34701 echo "${ECHO_T}no" >&6; }
34705 { echo "$as_me:$LINENO: result: no" >&5
34706 echo "${ECHO_T}no" >&6; }
34712 { echo "$as_me:$LINENO: checking for disassembler support" >&5
34713 echo $ECHO_N "checking for disassembler support... $ECHO_C" >&6; }
34714 # Check whether --enable-disasm was given.
34715 if test "${enable_disasm+set}" = set; then
34716 enableval=$enable_disasm; if test "$enableval" = yes; then
34717 { echo "$as_me:$LINENO: result: yes" >&5
34718 echo "${ECHO_T}yes" >&6; }
34719 cat >>confdefs.h <<\_ACEOF
34720 #define BX_DISASM 1
34723 DISASM_VAR='$
(DISASM_LIB
)'
34725 { echo "$as_me:$LINENO: result: no" >&5
34726 echo "${ECHO_T}no" >&6; }
34727 if test "$bx_debugger" = 1; then
34728 echo "ERROR: debugger is enabled, so --enable-disasm is required"
34731 cat >>confdefs.h <<\_ACEOF
34732 #define BX_DISASM 0
34739 { echo "$as_me:$LINENO: result: yes" >&5
34740 echo "${ECHO_T}yes" >&6; }
34741 cat >>confdefs.h <<\_ACEOF
34742 #define BX_DISASM 1
34745 DISASM_VAR='$
(DISASM_LIB
)'
34751 { echo "$as_me:$LINENO: checking for ALL optimizations enabled" >&5
34752 echo $ECHO_N "checking for ALL optimizations enabled... $ECHO_C" >&6; }
34753 # Check whether --enable-all-optimizations was given.
34754 if test "${enable_all_optimizations+set}" = set; then
34755 enableval=$enable_all_optimizations; if test "$enableval" = yes; then
34756 { echo "$as_me:$LINENO: result: yes" >&5
34757 echo "${ECHO_T}yes" >&6; }
34760 { echo "$as_me:$LINENO: result: no" >&5
34761 echo "${ECHO_T}no" >&6; }
34767 { echo "$as_me:$LINENO: result: no" >&5
34768 echo "${ECHO_T}no" >&6; }
34776 # Optimizations section. Decide what the status of various optimizations
34777 # should be based on configure choices and other factors.
34780 if test "$speedups_all" = 1; then
34781 # Configure requested to force all options enabled.
34782 speedup_guest2host_tlb=1
34785 speedup_TraceCache=1
34789 if test "$speedup_iCache" = 0 -a "$speedup_TraceCache" = 1; then
34790 { { echo "$as_me:$LINENO: error: iCache is required to compile with trace cache optimization" >&5
34791 echo "$as_me: error: iCache is required to compile with trace cache optimization" >&2;}
34792 { (exit 1); exit 1; }; }
34795 if test "$speedup_guest2host_tlb" = 1; then
34796 cat >>confdefs.h <<\_ACEOF
34797 #define BX_SupportGuest2HostTLB 1
34801 cat >>confdefs.h <<\_ACEOF
34802 #define BX_SupportGuest2HostTLB 0
34807 if test "$speedup_repeat" = 1; then
34808 cat >>confdefs.h <<\_ACEOF
34809 #define BX_SupportRepeatSpeedups 1
34813 cat >>confdefs.h <<\_ACEOF
34814 #define BX_SupportRepeatSpeedups 0
34819 if test "$speedup_iCache" = 1; then
34820 cat >>confdefs.h <<\_ACEOF
34821 #define BX_SUPPORT_ICACHE 1
34825 cat >>confdefs.h <<\_ACEOF
34826 #define BX_SUPPORT_ICACHE 0
34831 if test "$speedup_host_specific_asms" = 1; then
34832 cat >>confdefs.h <<\_ACEOF
34833 #define BX_SupportHostAsms 1
34837 cat >>confdefs.h <<\_ACEOF
34838 #define BX_SupportHostAsms 0
34843 if test "$speedup_fastcall" = 1; then
34844 cat >>confdefs.h <<\_ACEOF
34845 #define BX_FAST_FUNC_CALL 1
34849 cat >>confdefs.h <<\_ACEOF
34850 #define BX_FAST_FUNC_CALL 0
34855 if test "$speedup_TraceCache" = 1; then
34856 cat >>confdefs.h <<\_ACEOF
34857 #define BX_SUPPORT_TRACE_CACHE 1
34861 cat >>confdefs.h <<\_ACEOF
34862 #define BX_SUPPORT_TRACE_CACHE 0
34869 rl_without_curses_ok=no
34870 rl_with_curses_ok=no
34872 { echo "$as_me:$LINENO: checking whether user wants readline" >&5
34873 echo $ECHO_N "checking whether user wants readline... $ECHO_C" >&6; }
34874 # Check whether --enable-readline was given.
34875 if test "${enable_readline+set}" = set; then
34876 enableval=$enable_readline; if test "$enableval" = yes; then
34877 { echo "$as_me:$LINENO: result: yes" >&5
34878 echo "${ECHO_T}yes" >&6; }
34881 { echo "$as_me:$LINENO: result: no" >&5
34882 echo "${ECHO_T}no" >&6; }
34887 { echo "$as_me:$LINENO: result: yes" >&5
34888 echo "${ECHO_T}yes" >&6; }
34896 { echo "$as_me:$LINENO: checking whether to use readline" >&5
34897 echo $ECHO_N "checking whether to use readline... $ECHO_C" >&6; }
34898 if test "$want_readline" = yes; then
34899 if test "$bx_debugger" = 1; then
34901 { echo "$as_me:$LINENO: checking if readline works without -lcurses" >&5
34902 echo $ECHO_N "checking if readline works without -lcurses... $ECHO_C" >&6; }
34904 LIBS="$LIBS -lreadline"
34905 if test "$cross_compiling" = yes; then
34906 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
34907 See \`config.log' for more details.
" >&5
34908 echo "$as_me: error
: cannot run
test program
while cross compiling
34909 See \
`config.log' for more details." >&2;}
34910 { (exit 1); exit 1; }; }
34912 cat >conftest.$ac_ext <<_ACEOF
34915 cat confdefs.h >>conftest.$ac_ext
34916 cat >>conftest.$ac_ext <<_ACEOF
34917 /* end confdefs.h. */
34920 #include <readline/readline.h>
34921 int main() { rl_initialize(); exit(0); }
34924 rm -f conftest$ac_exeext
34925 if { (ac_try="$ac_link"
34926 case "(($ac_try" in
34927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34928 *) ac_try_echo
=$ac_try;;
34930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34931 (eval "$ac_link") 2>&5
34933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34934 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34935 { (case "(($ac_try" in
34936 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34937 *) ac_try_echo=$ac_try;;
34939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34940 (eval "$ac_try") 2>&5
34942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34943 (exit $ac_status); }; }; then
34944 { echo "$as_me:$LINENO: result: yes" >&5
34945 echo "${ECHO_T}yes" >&6; }
34946 rl_without_curses_ok=yes
34948 echo "$as_me: program exited with status $ac_status" >&5
34949 echo "$as_me: failed program was:" >&5
34950 sed 's/^/| /' conftest.$ac_ext >&5
34952 ( exit $ac_status )
34953 { echo "$as_me:$LINENO: result: no" >&5
34954 echo "${ECHO_T}no" >&6; }
34957 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34961 { echo "$as_me:$LINENO: checking if readline works with -lcurses" >&5
34962 echo $ECHO_N "checking if readline works with -lcurses... $ECHO_C" >&6; }
34963 LIBS="$LIBS -lcurses"
34964 if test "$cross_compiling" = yes; then
34965 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
34966 See \`config.log
' for more details." >&5
34967 echo "$as_me: error: cannot run test program while cross compiling
34968 See \`config.log' for more details.
" >&2;}
34969 { (exit 1); exit 1; }; }
34971 cat >conftest.$ac_ext <<_ACEOF
34974 cat confdefs.h >>conftest.$ac_ext
34975 cat >>conftest.$ac_ext <<_ACEOF
34976 /* end confdefs.h. */
34979 #include <readline/readline.h>
34980 int main() { rl_initialize(); exit(0); }
34983 rm -f conftest$ac_exeext
34984 if { (ac_try="$ac_link"
34985 case "(($ac_try" in
34986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34987 *) ac_try_echo=$ac_try;;
34989 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
34990 (eval "$ac_link") 2>&5
34992 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
34993 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34994 { (case "(($ac_try" in
34995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34996 *) ac_try_echo=$ac_try;;
34998 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
34999 (eval "$ac_try") 2>&5
35001 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
35002 (exit $ac_status); }; }; then
35003 { echo "$as_me:$LINENO: result
: yes" >&5
35004 echo "${ECHO_T}yes" >&6; }
35005 rl_with_curses_ok=yes
35007 echo "$as_me: program exited with status
$ac_status" >&5
35008 echo "$as_me: failed program was
:" >&5
35009 sed 's/^/| /' conftest.$ac_ext >&5
35011 ( exit $ac_status )
35012 { echo "$as_me:$LINENO: result
: no
" >&5
35013 echo "${ECHO_T}no
" >&6; }
35016 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35022 if test "$rl_without_curses_ok" = yes; then
35023 { echo "$as_me:$LINENO: result
: yes" >&5
35024 echo "${ECHO_T}yes" >&6; }
35025 cat >>confdefs.h <<\_ACEOF
35026 #define HAVE_LIBREADLINE 1
35029 READLINE_LIB="-lreadline"
35031 elif test "$rl_with_curses_ok" = yes; then
35032 { echo "$as_me:$LINENO: result
: yes" >&5
35033 echo "${ECHO_T}yes" >&6; }
35034 cat >>confdefs.h <<\_ACEOF
35035 #define HAVE_LIBREADLINE 1
35038 READLINE_LIB="-lreadline -lcurses"
35041 { echo "$as_me:$LINENO: result
: no
" >&5
35042 echo "${ECHO_T}no
" >&6; }
35043 echo WARNING: The readline library was disabled because it was not found.
35046 { echo "$as_me:$LINENO: result
: no
" >&5
35047 echo "${ECHO_T}no
" >&6; }
35050 { echo "$as_me:$LINENO: result
: no
" >&5
35051 echo "${ECHO_T}no
" >&6; }
35055 if test "${ac_cv_header_readline_history_h+set}" = set; then
35056 { echo "$as_me:$LINENO: checking
for readline
/history.h
" >&5
35057 echo $ECHO_N "checking
for readline
/history.h...
$ECHO_C" >&6; }
35058 if test "${ac_cv_header_readline_history_h+set}" = set; then
35059 echo $ECHO_N "(cached
) $ECHO_C" >&6
35061 { echo "$as_me:$LINENO: result
: $ac_cv_header_readline_history_h" >&5
35062 echo "${ECHO_T}$ac_cv_header_readline_history_h" >&6; }
35064 # Is the header compilable?
35065 { echo "$as_me:$LINENO: checking readline
/history.h usability
" >&5
35066 echo $ECHO_N "checking readline
/history.h usability...
$ECHO_C" >&6; }
35067 cat >conftest.$ac_ext <<_ACEOF
35070 cat confdefs.h >>conftest.$ac_ext
35071 cat >>conftest.$ac_ext <<_ACEOF
35072 /* end confdefs.h. */
35073 $ac_includes_default
35074 #include <readline/history.h>
35076 rm -f conftest.$ac_objext
35077 if { (ac_try="$ac_compile"
35078 case "(($ac_try" in
35079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35080 *) ac_try_echo=$ac_try;;
35082 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
35083 (eval "$ac_compile") 2>conftest.er1
35085 grep -v '^ *+' conftest.er1 >conftest.err
35087 cat conftest.err >&5
35088 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
35089 (exit $ac_status); } && {
35090 test -z "$ac_c_werror_flag" ||
35091 test ! -s conftest.err
35092 } && test -s conftest.$ac_objext; then
35093 ac_header_compiler=yes
35095 echo "$as_me: failed program was
:" >&5
35096 sed 's/^/| /' conftest.$ac_ext >&5
35098 ac_header_compiler=no
35101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35102 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
35103 echo "${ECHO_T}$ac_header_compiler" >&6; }
35105 # Is the header present?
35106 { echo "$as_me:$LINENO: checking readline
/history.h presence
" >&5
35107 echo $ECHO_N "checking readline
/history.h presence...
$ECHO_C" >&6; }
35108 cat >conftest.$ac_ext <<_ACEOF
35111 cat confdefs.h >>conftest.$ac_ext
35112 cat >>conftest.$ac_ext <<_ACEOF
35113 /* end confdefs.h. */
35114 #include <readline/history.h>
35116 if { (ac_try="$ac_cpp conftest.
$ac_ext"
35117 case "(($ac_try" in
35118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35119 *) ac_try_echo=$ac_try;;
35121 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
35122 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
35124 grep -v '^ *+' conftest.er1 >conftest.err
35126 cat conftest.err >&5
35127 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
35128 (exit $ac_status); } >/dev/null && {
35129 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35130 test ! -s conftest.err
35132 ac_header_preproc=yes
35134 echo "$as_me: failed program was
:" >&5
35135 sed 's/^/| /' conftest.$ac_ext >&5
35137 ac_header_preproc=no
35140 rm -f conftest.err conftest.$ac_ext
35141 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
35142 echo "${ECHO_T}$ac_header_preproc" >&6; }
35144 # So? What about this header?
35145 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35147 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
35148 echo "$as_me: WARNING
: readline
/history.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
35149 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: proceeding with the compiler
's result" >&5
35150 echo "$as_me: WARNING: readline/history.h: proceeding with the compiler's result
" >&2;}
35151 ac_header_preproc=yes
35154 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: present but cannot be compiled
" >&5
35155 echo "$as_me: WARNING
: readline
/history.h
: present but cannot be compiled
" >&2;}
35156 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: check
for missing prerequisite headers?
" >&5
35157 echo "$as_me: WARNING
: readline
/history.h
: check
for missing prerequisite headers?
" >&2;}
35158 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: see the Autoconf documentation
" >&5
35159 echo "$as_me: WARNING
: readline
/history.h
: see the Autoconf documentation
" >&2;}
35160 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: section
\"Present But Cannot Be Compiled
\"" >&5
35161 echo "$as_me: WARNING
: readline
/history.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
35162 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: proceeding with the preprocessor
's result" >&5
35163 echo "$as_me: WARNING: readline/history.h: proceeding with the preprocessor's result
" >&2;}
35164 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: in the future
, the compiler will take precedence
" >&5
35165 echo "$as_me: WARNING
: readline
/history.h
: in the future
, the compiler will take precedence
" >&2;}
35169 { echo "$as_me:$LINENO: checking
for readline
/history.h
" >&5
35170 echo $ECHO_N "checking
for readline
/history.h...
$ECHO_C" >&6; }
35171 if test "${ac_cv_header_readline_history_h+set}" = set; then
35172 echo $ECHO_N "(cached
) $ECHO_C" >&6
35174 ac_cv_header_readline_history_h=$ac_header_preproc
35176 { echo "$as_me:$LINENO: result
: $ac_cv_header_readline_history_h" >&5
35177 echo "${ECHO_T}$ac_cv_header_readline_history_h" >&6; }
35180 if test $ac_cv_header_readline_history_h = yes; then
35181 cat >>confdefs.h <<\_ACEOF
35182 #define HAVE_READLINE_HISTORY_H 1
35190 INSTRUMENT_DIR='instrument/stubs'
35192 { echo "$as_me:$LINENO: checking
for instrumentation support
" >&5
35193 echo $ECHO_N "checking
for instrumentation support...
$ECHO_C" >&6; }
35194 # Check whether --enable-instrumentation was given.
35195 if test "${enable_instrumentation+set}" = set; then
35196 enableval=$enable_instrumentation; if test "$enableval" = yes; then
35197 { echo "$as_me:$LINENO: result
: yes" >&5
35198 echo "${ECHO_T}yes" >&6; }
35199 cat >>confdefs.h <<\_ACEOF
35200 #define BX_INSTRUMENTATION 1
35203 INSTRUMENT_VAR='$(INSTRUMENT_LIB)'
35204 elif test "$enableval" = no; then
35205 { echo "$as_me:$LINENO: result
: no
" >&5
35206 echo "${ECHO_T}no
" >&6; }
35207 cat >>confdefs.h <<\_ACEOF
35208 #define BX_INSTRUMENTATION 0
35213 { echo "$as_me:$LINENO: result
: yes" >&5
35214 echo "${ECHO_T}yes" >&6; }
35215 cat >>confdefs.h <<\_ACEOF
35216 #define BX_INSTRUMENTATION 1
35219 INSTRUMENT_DIR=$enableval
35220 INSTRUMENT_VAR='$(INSTRUMENT_LIB)'
35224 { echo "$as_me:$LINENO: result
: no
" >&5
35225 echo "${ECHO_T}no
" >&6; }
35226 cat >>confdefs.h <<\_ACEOF
35227 #define BX_INSTRUMENTATION 0
35238 if test "$bx_plugins" = 0; then
35241 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS wsock32.lib
"
35243 *-cygwin* | *-mingw32*)
35244 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -lwsock32"
35249 { echo "$as_me:$LINENO: checking
enable logging
" >&5
35250 echo $ECHO_N "checking
enable logging...
$ECHO_C" >&6; }
35251 # Check whether --enable-logging was given.
35252 if test "${enable_logging+set}" = set; then
35253 enableval=$enable_logging; if test "$enableval" = yes; then
35254 { echo "$as_me:$LINENO: result
: yes" >&5
35255 echo "${ECHO_T}yes" >&6; }
35256 cat >>confdefs.h <<\_ACEOF
35257 #define BX_NO_LOGGING 0
35261 { echo "$as_me:$LINENO: result
: no
" >&5
35262 echo "${ECHO_T}no
" >&6; }
35263 cat >>confdefs.h <<\_ACEOF
35264 #define BX_NO_LOGGING 1
35270 { echo "$as_me:$LINENO: result
: yes" >&5
35271 echo "${ECHO_T}yes" >&6; }
35272 cat >>confdefs.h <<\_ACEOF
35273 #define BX_NO_LOGGING 0
35281 { echo "$as_me:$LINENO: checking
enable assert checks
" >&5
35282 echo $ECHO_N "checking
enable assert checks...
$ECHO_C" >&6; }
35283 # Check whether --enable-assert-checks was given.
35284 if test "${enable_assert_checks+set}" = set; then
35285 enableval=$enable_assert_checks; if test "$enableval" = yes; then
35286 { echo "$as_me:$LINENO: result
: yes" >&5
35287 echo "${ECHO_T}yes" >&6; }
35288 cat >>confdefs.h <<\_ACEOF
35289 #define BX_ASSERT_ENABLE 1
35293 { echo "$as_me:$LINENO: result
: no
" >&5
35294 echo "${ECHO_T}no
" >&6; }
35295 cat >>confdefs.h <<\_ACEOF
35296 #define BX_ASSERT_ENABLE 0
35302 if test "$bx_debugger" = 1; then
35303 { echo "$as_me:$LINENO: result
: yes" >&5
35304 echo "${ECHO_T}yes" >&6; }
35305 cat >>confdefs.h <<\_ACEOF
35306 #define BX_ASSERT_ENABLE 1
35310 { echo "$as_me:$LINENO: result
: no
" >&5
35311 echo "${ECHO_T}no
" >&6; }
35312 cat >>confdefs.h <<\_ACEOF
35313 #define BX_ASSERT_ENABLE 0
35322 { echo "$as_me:$LINENO: checking
for raw serial support
" >&5
35323 echo $ECHO_N "checking
for raw serial support...
$ECHO_C" >&6; }
35324 # Check whether --enable-raw-serial was given.
35325 if test "${enable_raw_serial+set}" = set; then
35326 enableval=$enable_raw_serial; if test "$enableval" = yes; then
35327 { echo "$as_me:$LINENO: result
: yes" >&5
35328 echo "${ECHO_T}yes" >&6; }
35329 cat >>confdefs.h <<\_ACEOF
35330 #define USE_RAW_SERIAL 1
35334 { echo "$as_me:$LINENO: result
: no
" >&5
35335 echo "${ECHO_T}no
" >&6; }
35336 cat >>confdefs.h <<\_ACEOF
35337 #define USE_RAW_SERIAL 0
35343 { echo "$as_me:$LINENO: result
: no
" >&5
35344 echo "${ECHO_T}no
" >&6; }
35345 cat >>confdefs.h <<\_ACEOF
35346 #define USE_RAW_SERIAL 0
35354 { echo "$as_me:$LINENO: checking
for VESA BIOS extensions
" >&5
35355 echo $ECHO_N "checking
for VESA BIOS extensions...
$ECHO_C" >&6; }
35356 # Check whether --enable-vbe was given.
35357 if test "${enable_vbe+set}" = set; then
35358 enableval=$enable_vbe; if test "$enableval" = yes; then
35359 { echo "$as_me:$LINENO: result
: yes" >&5
35360 echo "${ECHO_T}yes" >&6; }
35361 cat >>confdefs.h <<\_ACEOF
35362 #define BX_SUPPORT_VBE 1
35365 if test "$pci" = 1; then
35366 cat >>confdefs.h <<\_ACEOF
35367 #define BX_SUPPORT_PCIVGA 1
35372 { echo "$as_me:$LINENO: result
: no
" >&5
35373 echo "${ECHO_T}no
" >&6; }
35374 cat >>confdefs.h <<\_ACEOF
35375 #define BX_SUPPORT_VBE 0
35381 { echo "$as_me:$LINENO: result
: yes" >&5
35382 echo "${ECHO_T}yes" >&6; }
35383 cat >>confdefs.h <<\_ACEOF
35384 #define BX_SUPPORT_VBE 1
35387 if test "$pci" = 1; then
35388 cat >>confdefs.h <<\_ACEOF
35389 #define BX_SUPPORT_PCIVGA 1
35398 { echo "$as_me:$LINENO: checking
for CLGD54XX emulation
" >&5
35399 echo $ECHO_N "checking
for CLGD54XX emulation...
$ECHO_C" >&6; }
35400 # Check whether --enable-clgd54xx was given.
35401 if test "${enable_clgd54xx+set}" = set; then
35402 enableval=$enable_clgd54xx; if test "$enableval" = yes; then
35403 { echo "$as_me:$LINENO: result
: yes" >&5
35404 echo "${ECHO_T}yes" >&6; }
35405 cat >>confdefs.h <<\_ACEOF
35406 #define BX_SUPPORT_CLGD54XX 1
35410 { echo "$as_me:$LINENO: result
: no
" >&5
35411 echo "${ECHO_T}no
" >&6; }
35412 cat >>confdefs.h <<\_ACEOF
35413 #define BX_SUPPORT_CLGD54XX 0
35419 { echo "$as_me:$LINENO: result
: no
" >&5
35420 echo "${ECHO_T}no
" >&6; }
35421 cat >>confdefs.h <<\_ACEOF
35422 #define BX_SUPPORT_CLGD54XX 0
35431 { echo "$as_me:$LINENO: checking
for FPU emulation
" >&5
35432 echo $ECHO_N "checking
for FPU emulation...
$ECHO_C" >&6; }
35434 # Check whether --enable-fpu was given.
35435 if test "${enable_fpu+set}" = set; then
35436 enableval=$enable_fpu; if test "$enableval" = yes; then
35437 { echo "$as_me:$LINENO: result
: yes" >&5
35438 echo "${ECHO_T}yes" >&6; }
35439 cat >>confdefs.h <<\_ACEOF
35440 #define BX_SUPPORT_FPU 1
35443 FPU_VAR='$(FPU_LIB)'
35444 elif test "$enableval" = no; then
35445 { echo "$as_me:$LINENO: result
: no
" >&5
35446 echo "${ECHO_T}no
" >&6; }
35447 cat >>confdefs.h <<\_ACEOF
35448 #define BX_SUPPORT_FPU 0
35454 echo "ERROR
: --enable-fpu does not accept a path
"
35460 { echo "$as_me:$LINENO: result
: yes" >&5
35461 echo "${ECHO_T}yes" >&6; }
35462 cat >>confdefs.h <<\_ACEOF
35463 #define BX_SUPPORT_FPU 1
35466 FPU_VAR='$(FPU_LIB)'
35473 { echo "$as_me:$LINENO: checking
for VME support
" >&5
35474 echo $ECHO_N "checking
for VME support...
$ECHO_C" >&6; }
35475 # Check whether --enable-vme was given.
35476 if test "${enable_vme+set}" = set; then
35477 enableval=$enable_vme; if test "$enableval" = yes; then
35478 { echo "$as_me:$LINENO: result
: yes" >&5
35479 echo "${ECHO_T}yes" >&6; }
35480 cat >>confdefs.h <<\_ACEOF
35481 #define BX_SUPPORT_VME 1
35484 elif test "$enableval" = no; then
35485 { echo "$as_me:$LINENO: result
: no
" >&5
35486 echo "${ECHO_T}no
" >&6; }
35487 cat >>confdefs.h <<\_ACEOF
35488 #define BX_SUPPORT_VME 0
35495 if test "$bx_cpu_level" -ge 5; then
35496 { echo "$as_me:$LINENO: result
: yes" >&5
35497 echo "${ECHO_T}yes" >&6; }
35498 cat >>confdefs.h <<\_ACEOF
35499 #define BX_SUPPORT_VME 1
35503 { echo "$as_me:$LINENO: result
: no
" >&5
35504 echo "${ECHO_T}no
" >&6; }
35505 cat >>confdefs.h <<\_ACEOF
35506 #define BX_SUPPORT_VME 0
35516 { echo "$as_me:$LINENO: checking
for MMX support
" >&5
35517 echo $ECHO_N "checking
for MMX support...
$ECHO_C" >&6; }
35518 # Check whether --enable-mmx was given.
35519 if test "${enable_mmx+set}" = set; then
35520 enableval=$enable_mmx; if test "$enableval" = yes; then
35521 { echo "$as_me:$LINENO: result
: yes" >&5
35522 echo "${ECHO_T}yes" >&6; }
35523 cat >>confdefs.h <<\_ACEOF
35524 #define BX_SUPPORT_MMX 1
35527 elif test "$enableval" = no; then
35528 { echo "$as_me:$LINENO: result
: no
" >&5
35529 echo "${ECHO_T}no
" >&6; }
35530 cat >>confdefs.h <<\_ACEOF
35531 #define BX_SUPPORT_MMX 0
35539 if test "$bx_cpu_level" -ge 5; then
35540 { echo "$as_me:$LINENO: result
: yes" >&5
35541 echo "${ECHO_T}yes" >&6; }
35542 cat >>confdefs.h <<\_ACEOF
35543 #define BX_SUPPORT_MMX 1
35547 { echo "$as_me:$LINENO: result
: no
" >&5
35548 echo "${ECHO_T}no
" >&6; }
35549 cat >>confdefs.h <<\_ACEOF
35550 #define BX_SUPPORT_MMX 0
35559 { echo "$as_me:$LINENO: checking
for 3DNow
! support
" >&5
35560 echo $ECHO_N "checking
for 3DNow
! support...
$ECHO_C" >&6; }
35561 # Check whether --enable-3dnow was given.
35562 if test "${enable_3dnow+set}" = set; then
35563 enableval=$enable_3dnow; if test "$enableval" = yes; then
35564 { echo "$as_me:$LINENO: result
: yes" >&5
35565 echo "${ECHO_T}yes" >&6; }
35566 cat >>confdefs.h <<\_ACEOF
35567 #define BX_SUPPORT_3DNOW 1
35570 elif test "$enableval" = no; then
35571 { echo "$as_me:$LINENO: result
: no
" >&5
35572 echo "${ECHO_T}no
" >&6; }
35573 cat >>confdefs.h <<\_ACEOF
35574 #define BX_SUPPORT_3DNOW 0
35581 { echo "$as_me:$LINENO: result
: no
" >&5
35582 echo "${ECHO_T}no
" >&6; }
35583 cat >>confdefs.h <<\_ACEOF
35584 #define BX_SUPPORT_3DNOW 0
35593 { echo "$as_me:$LINENO: checking
for SSE support
" >&5
35594 echo $ECHO_N "checking
for SSE support...
$ECHO_C" >&6; }
35595 # Check whether --enable-sse was given.
35596 if test "${enable_sse+set}" = set; then
35597 enableval=$enable_sse; case "$enableval" in
35600 { echo "$as_me:$LINENO: result
: no
" >&5
35601 echo "${ECHO_T}no
" >&6; }
35605 { echo "$as_me:$LINENO: result
: SSE1
" >&5
35606 echo "${ECHO_T}SSE1
" >&6; }
35610 { echo "$as_me:$LINENO: result
: SSE2
" >&5
35611 echo "${ECHO_T}SSE2
" >&6; }
35615 { echo "$as_me:$LINENO: result
: SSE3
" >&5
35616 echo "${ECHO_T}SSE3
" >&6; }
35620 { echo "$as_me:$LINENO: result
: SSE4
" >&5
35621 echo "${ECHO_T}SSE4
" >&6; }
35624 echo "ERROR
: --enable-sse=$enableval not understood. Use
--enable-sse=no|
1|
2|
3|
4"
35631 if test "$use_x86_64" = 1; then
35633 { echo "$as_me:$LINENO: result
: SSE2
" >&5
35634 echo "${ECHO_T}SSE2
" >&6; }
35636 { echo "$as_me:$LINENO: result
: no
" >&5
35637 echo "${ECHO_T}no
" >&6; }
35644 if test "$support_sse" -gt 0 -a "$bx_cpu_level" -lt 6; then
35645 { { echo "$as_me:$LINENO: error
: for SSE support the CPU level must be
set to
6" >&5
35646 echo "$as_me: error
: for SSE support the CPU level must be
set to
6" >&2;}
35647 { (exit 1); exit 1; }; }
35650 if test "$support_sse" -lt 2 -a "$use_x86_64" = 1; then
35651 { { echo "$as_me:$LINENO: error
: x86-64 needs SSE2 support
" >&5
35652 echo "$as_me: error
: x86-64 needs SSE2 support
" >&2;}
35653 { (exit 1); exit 1; }; }
35656 if test "$support_sse" = 4; then
35657 cat >>confdefs.h <<\_ACEOF
35658 #define BX_SUPPORT_SSE 4
35661 elif test "$support_sse" = 3; then
35662 cat >>confdefs.h <<\_ACEOF
35663 #define BX_SUPPORT_SSE 3
35666 elif test "$support_sse" = 2; then
35667 cat >>confdefs.h <<\_ACEOF
35668 #define BX_SUPPORT_SSE 2
35671 elif test "$support_sse" = 1; then
35672 cat >>confdefs.h <<\_ACEOF
35673 #define BX_SUPPORT_SSE 1
35677 cat >>confdefs.h <<\_ACEOF
35678 #define BX_SUPPORT_SSE 0
35683 support_sse_extensions=0
35684 { echo "$as_me:$LINENO: checking
for SSE extensions support
" >&5
35685 echo $ECHO_N "checking
for SSE extensions support...
$ECHO_C" >&6; }
35686 # Check whether --enable-sse-extension was given.
35687 if test "${enable_sse_extension+set}" = set; then
35688 enableval=$enable_sse_extension; if test "$enableval" = yes; then
35689 { echo "$as_me:$LINENO: result
: yes" >&5
35690 echo "${ECHO_T}yes" >&6; }
35691 cat >>confdefs.h <<\_ACEOF
35692 #define BX_SUPPORT_SSE_EXTENSION 1
35695 support_sse_extensions=1
35696 elif test "$enableval" = no; then
35697 { echo "$as_me:$LINENO: result
: no
" >&5
35698 echo "${ECHO_T}no
" >&6; }
35699 cat >>confdefs.h <<\_ACEOF
35700 #define BX_SUPPORT_SSE_EXTENSION 0
35707 { echo "$as_me:$LINENO: result
: no
" >&5
35708 echo "${ECHO_T}no
" >&6; }
35709 cat >>confdefs.h <<\_ACEOF
35710 #define BX_SUPPORT_SSE_EXTENSION 0
35718 { echo "$as_me:$LINENO: checking
for DAZ support
" >&5
35719 echo $ECHO_N "checking
for DAZ support...
$ECHO_C" >&6; }
35720 # Check whether --enable-daz was given.
35721 if test "${enable_daz+set}" = set; then
35722 enableval=$enable_daz; if test "$enableval" = yes; then
35723 { echo "$as_me:$LINENO: result
: yes" >&5
35724 echo "${ECHO_T}yes" >&6; }
35725 cat >>confdefs.h <<\_ACEOF
35726 #define BX_SUPPORT_DAZ 1
35729 elif test "$enableval" = no; then
35730 { echo "$as_me:$LINENO: result
: no
" >&5
35731 echo "${ECHO_T}no
" >&6; }
35732 cat >>confdefs.h <<\_ACEOF
35733 #define BX_SUPPORT_DAZ 0
35740 if test "$support_sse" -ge 2; then
35741 { echo "$as_me:$LINENO: result
: yes" >&5
35742 echo "${ECHO_T}yes" >&6; }
35743 cat >>confdefs.h <<\_ACEOF
35744 #define BX_SUPPORT_DAZ 1
35748 { echo "$as_me:$LINENO: result
: no
" >&5
35749 echo "${ECHO_T}no
" >&6; }
35750 cat >>confdefs.h <<\_ACEOF
35751 #define BX_SUPPORT_DAZ 0
35761 { echo "$as_me:$LINENO: checking
for XSAVE
/XRSTOR support
" >&5
35762 echo $ECHO_N "checking
for XSAVE
/XRSTOR support...
$ECHO_C" >&6; }
35763 # Check whether --enable-xsave was given.
35764 if test "${enable_xsave+set}" = set; then
35765 enableval=$enable_xsave; if test "$enableval" = yes; then
35766 { echo "$as_me:$LINENO: result
: yes" >&5
35767 echo "${ECHO_T}yes" >&6; }
35768 cat >>confdefs.h <<\_ACEOF
35769 #define BX_SUPPORT_XSAVE 1
35773 elif test "$enableval" = no; then
35774 { echo "$as_me:$LINENO: result
: no
" >&5
35775 echo "${ECHO_T}no
" >&6; }
35776 cat >>confdefs.h <<\_ACEOF
35777 #define BX_SUPPORT_XSAVE 0
35784 { echo "$as_me:$LINENO: result
: no
" >&5
35785 echo "${ECHO_T}no
" >&6; }
35786 cat >>confdefs.h <<\_ACEOF
35787 #define BX_SUPPORT_XSAVE 0
35795 if test "$support_sse" -lt 1 -a "$use_xsave" = 1; then
35796 { { echo "$as_me:$LINENO: error
: XSAVE requires SSE support
!" >&5
35797 echo "$as_me: error
: XSAVE requires SSE support
!" >&2;}
35798 { (exit 1); exit 1; }; }
35802 { echo "$as_me:$LINENO: checking
for AES instructions support
" >&5
35803 echo $ECHO_N "checking
for AES instructions support...
$ECHO_C" >&6; }
35804 # Check whether --enable-aes was given.
35805 if test "${enable_aes+set}" = set; then
35806 enableval=$enable_aes; if test "$enableval" = yes; then
35807 { echo "$as_me:$LINENO: result
: yes" >&5
35808 echo "${ECHO_T}yes" >&6; }
35809 cat >>confdefs.h <<\_ACEOF
35810 #define BX_SUPPORT_AES 1
35814 elif test "$enableval" = no; then
35815 { echo "$as_me:$LINENO: result
: no
" >&5
35816 echo "${ECHO_T}no
" >&6; }
35817 cat >>confdefs.h <<\_ACEOF
35818 #define BX_SUPPORT_AES 0
35825 { echo "$as_me:$LINENO: result
: no
" >&5
35826 echo "${ECHO_T}no
" >&6; }
35827 cat >>confdefs.h <<\_ACEOF
35828 #define BX_SUPPORT_AES 0
35836 if test "$support_sse" -lt 1 -a "$use_aes" = 1; then
35837 { { echo "$as_me:$LINENO: error
: AES requires SSE support
!" >&5
35838 echo "$as_me: error
: AES requires SSE support
!" >&2;}
35839 { (exit 1); exit 1; }; }
35842 { echo "$as_me:$LINENO: checking
for alignment check support
" >&5
35843 echo $ECHO_N "checking
for alignment check support...
$ECHO_C" >&6; }
35844 # Check whether --enable-alignment-check was given.
35845 if test "${enable_alignment_check+set}" = set; then
35846 enableval=$enable_alignment_check; if test "$enableval" = yes; then
35847 { echo "$as_me:$LINENO: result
: yes" >&5
35848 echo "${ECHO_T}yes" >&6; }
35849 cat >>confdefs.h <<\_ACEOF
35850 #define BX_SUPPORT_ALIGNMENT_CHECK 1
35853 elif test "$enableval" = no; then
35854 { echo "$as_me:$LINENO: result
: no
" >&5
35855 echo "${ECHO_T}no
" >&6; }
35856 cat >>confdefs.h <<\_ACEOF
35857 #define BX_SUPPORT_ALIGNMENT_CHECK 0
35864 if test "$bx_cpu_level" -gt 3; then
35865 { echo "$as_me:$LINENO: result
: yes" >&5
35866 echo "${ECHO_T}yes" >&6; }
35867 cat >>confdefs.h <<\_ACEOF
35868 #define BX_SUPPORT_ALIGNMENT_CHECK 1
35872 { echo "$as_me:$LINENO: result
: no
" >&5
35873 echo "${ECHO_T}no
" >&6; }
35874 cat >>confdefs.h <<\_ACEOF
35875 #define BX_SUPPORT_ALIGNMENT_CHECK 0
35884 { echo "$as_me:$LINENO: checking
for misaligned SSE support
" >&5
35885 echo $ECHO_N "checking
for misaligned SSE support...
$ECHO_C" >&6; }
35886 # Check whether --enable-misaligned-sse was given.
35887 if test "${enable_misaligned_sse+set}" = set; then
35888 enableval=$enable_misaligned_sse; if test "$enableval" = yes; then
35889 { echo "$as_me:$LINENO: result
: yes" >&5
35890 echo "${ECHO_T}yes" >&6; }
35891 cat >>confdefs.h <<\_ACEOF
35892 #define BX_SUPPORT_MISALIGNED_SSE 1
35895 elif test "$enableval" = no; then
35896 { echo "$as_me:$LINENO: result
: no
" >&5
35897 echo "${ECHO_T}no
" >&6; }
35898 cat >>confdefs.h <<\_ACEOF
35899 #define BX_SUPPORT_MISALIGNED_SSE 0
35906 { echo "$as_me:$LINENO: result
: no
" >&5
35907 echo "${ECHO_T}no
" >&6; }
35908 cat >>confdefs.h <<\_ACEOF
35909 #define BX_SUPPORT_MISALIGNED_SSE 0
35917 { echo "$as_me:$LINENO: checking
for SEP support
" >&5
35918 echo $ECHO_N "checking
for SEP support...
$ECHO_C" >&6; }
35919 # Check whether --enable-sep was given.
35920 if test "${enable_sep+set}" = set; then
35921 enableval=$enable_sep; if test "$enableval" = yes; then
35922 { echo "$as_me:$LINENO: result
: yes" >&5
35923 echo "${ECHO_T}yes" >&6; }
35924 cat >>confdefs.h <<\_ACEOF
35925 #define BX_SUPPORT_SEP 1
35928 elif test "$enableval" = no; then
35929 { echo "$as_me:$LINENO: result
: no
" >&5
35930 echo "${ECHO_T}no
" >&6; }
35931 cat >>confdefs.h <<\_ACEOF
35932 #define BX_SUPPORT_SEP 0
35939 if test "$bx_cpu_level" -ge 6 -a "$support_mmx" = 1; then
35940 { echo "$as_me:$LINENO: result
: yes" >&5
35941 echo "${ECHO_T}yes" >&6; }
35942 cat >>confdefs.h <<\_ACEOF
35943 #define BX_SUPPORT_SEP 1
35947 { echo "$as_me:$LINENO: result
: no
" >&5
35948 echo "${ECHO_T}no
" >&6; }
35949 cat >>confdefs.h <<\_ACEOF
35950 #define BX_SUPPORT_SEP 0
35959 { echo "$as_me:$LINENO: checking
for POPCNT instruction support
" >&5
35960 echo $ECHO_N "checking
for POPCNT instruction support...
$ECHO_C" >&6; }
35961 # Check whether --enable-popcnt was given.
35962 if test "${enable_popcnt+set}" = set; then
35963 enableval=$enable_popcnt; if test "$enableval" = yes; then
35964 { echo "$as_me:$LINENO: result
: yes" >&5
35965 echo "${ECHO_T}yes" >&6; }
35966 cat >>confdefs.h <<\_ACEOF
35967 #define BX_SUPPORT_POPCNT 1
35970 elif test "$enableval" = no; then
35971 { echo "$as_me:$LINENO: result
: no
" >&5
35972 echo "${ECHO_T}no
" >&6; }
35973 cat >>confdefs.h <<\_ACEOF
35974 #define BX_SUPPORT_POPCNT 0
35981 if test "$support_sse" -ge 4 -a "$support_sse_extensions" = 1; then
35982 { echo "$as_me:$LINENO: result
: yes" >&5
35983 echo "${ECHO_T}yes" >&6; }
35984 cat >>confdefs.h <<\_ACEOF
35985 #define BX_SUPPORT_POPCNT 1
35989 { echo "$as_me:$LINENO: result
: no
" >&5
35990 echo "${ECHO_T}no
" >&6; }
35991 cat >>confdefs.h <<\_ACEOF
35992 #define BX_SUPPORT_POPCNT 0
36001 { echo "$as_me:$LINENO: checking
for MONITOR
/MWAIT instructions support
(experimental
)" >&5
36002 echo $ECHO_N "checking
for MONITOR
/MWAIT instructions support
(experimental
)...
$ECHO_C" >&6; }
36003 # Check whether --enable-monitor_mwait was given.
36004 if test "${enable_monitor_mwait+set}" = set; then
36005 enableval=$enable_monitor_mwait; if test "$enableval" = yes; then
36006 { echo "$as_me:$LINENO: result
: yes" >&5
36007 echo "${ECHO_T}yes" >&6; }
36008 cat >>confdefs.h <<\_ACEOF
36009 #define BX_SUPPORT_MONITOR_MWAIT 1
36012 elif test "$enableval" = no; then
36013 { echo "$as_me:$LINENO: result
: no
" >&5
36014 echo "${ECHO_T}no
" >&6; }
36015 cat >>confdefs.h <<\_ACEOF
36016 #define BX_SUPPORT_MONITOR_MWAIT 0
36023 { echo "$as_me:$LINENO: result
: no
" >&5
36024 echo "${ECHO_T}no
" >&6; }
36025 cat >>confdefs.h <<\_ACEOF
36026 #define BX_SUPPORT_MONITOR_MWAIT 0
36034 { echo "$as_me:$LINENO: checking
for x86 debugger support
" >&5
36035 echo $ECHO_N "checking
for x86 debugger support...
$ECHO_C" >&6; }
36036 # Check whether --enable-x86-debugger was given.
36037 if test "${enable_x86_debugger+set}" = set; then
36038 enableval=$enable_x86_debugger; if test "$enableval" = yes; then
36039 { echo "$as_me:$LINENO: result
: yes" >&5
36040 echo "${ECHO_T}yes" >&6; }
36041 cat >>confdefs.h <<\_ACEOF
36042 #define BX_X86_DEBUGGER 1
36045 elif test "$enableval" = no; then
36046 { echo "$as_me:$LINENO: result
: no
" >&5
36047 echo "${ECHO_T}no
" >&6; }
36048 cat >>confdefs.h <<\_ACEOF
36049 #define BX_X86_DEBUGGER 0
36056 { echo "$as_me:$LINENO: result
: no
" >&5
36057 echo "${ECHO_T}no
" >&6; }
36058 cat >>confdefs.h <<\_ACEOF
36059 #define BX_X86_DEBUGGER 0
36067 if test "${ac_cv_header_IOKit_storage_IOCDMedia_h+set}" = set; then
36068 { echo "$as_me:$LINENO: checking
for IOKit
/storage
/IOCDMedia.h
" >&5
36069 echo $ECHO_N "checking
for IOKit
/storage
/IOCDMedia.h...
$ECHO_C" >&6; }
36070 if test "${ac_cv_header_IOKit_storage_IOCDMedia_h+set}" = set; then
36071 echo $ECHO_N "(cached
) $ECHO_C" >&6
36073 { echo "$as_me:$LINENO: result
: $ac_cv_header_IOKit_storage_IOCDMedia_h" >&5
36074 echo "${ECHO_T}$ac_cv_header_IOKit_storage_IOCDMedia_h" >&6; }
36076 # Is the header compilable?
36077 { echo "$as_me:$LINENO: checking IOKit
/storage
/IOCDMedia.h usability
" >&5
36078 echo $ECHO_N "checking IOKit
/storage
/IOCDMedia.h usability...
$ECHO_C" >&6; }
36079 cat >conftest.$ac_ext <<_ACEOF
36082 cat confdefs.h >>conftest.$ac_ext
36083 cat >>conftest.$ac_ext <<_ACEOF
36084 /* end confdefs.h. */
36085 $ac_includes_default
36086 #include <IOKit/storage/IOCDMedia.h>
36088 rm -f conftest.$ac_objext
36089 if { (ac_try="$ac_compile"
36090 case "(($ac_try" in
36091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36092 *) ac_try_echo=$ac_try;;
36094 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36095 (eval "$ac_compile") 2>conftest.er1
36097 grep -v '^ *+' conftest.er1 >conftest.err
36099 cat conftest.err >&5
36100 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36101 (exit $ac_status); } && {
36102 test -z "$ac_c_werror_flag" ||
36103 test ! -s conftest.err
36104 } && test -s conftest.$ac_objext; then
36105 ac_header_compiler=yes
36107 echo "$as_me: failed program was
:" >&5
36108 sed 's/^/| /' conftest.$ac_ext >&5
36110 ac_header_compiler=no
36113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36114 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
36115 echo "${ECHO_T}$ac_header_compiler" >&6; }
36117 # Is the header present?
36118 { echo "$as_me:$LINENO: checking IOKit
/storage
/IOCDMedia.h presence
" >&5
36119 echo $ECHO_N "checking IOKit
/storage
/IOCDMedia.h presence...
$ECHO_C" >&6; }
36120 cat >conftest.$ac_ext <<_ACEOF
36123 cat confdefs.h >>conftest.$ac_ext
36124 cat >>conftest.$ac_ext <<_ACEOF
36125 /* end confdefs.h. */
36126 #include <IOKit/storage/IOCDMedia.h>
36128 if { (ac_try="$ac_cpp conftest.
$ac_ext"
36129 case "(($ac_try" in
36130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36131 *) ac_try_echo=$ac_try;;
36133 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36134 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
36136 grep -v '^ *+' conftest.er1 >conftest.err
36138 cat conftest.err >&5
36139 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36140 (exit $ac_status); } >/dev/null && {
36141 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36142 test ! -s conftest.err
36144 ac_header_preproc=yes
36146 echo "$as_me: failed program was
:" >&5
36147 sed 's/^/| /' conftest.$ac_ext >&5
36149 ac_header_preproc=no
36152 rm -f conftest.err conftest.$ac_ext
36153 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
36154 echo "${ECHO_T}$ac_header_preproc" >&6; }
36156 # So? What about this header?
36157 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36159 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
36160 echo "$as_me: WARNING
: IOKit
/storage
/IOCDMedia.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
36161 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: proceeding with the compiler
's result" >&5
36162 echo "$as_me: WARNING: IOKit/storage/IOCDMedia.h: proceeding with the compiler's result
" >&2;}
36163 ac_header_preproc=yes
36166 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: present but cannot be compiled
" >&5
36167 echo "$as_me: WARNING
: IOKit
/storage
/IOCDMedia.h
: present but cannot be compiled
" >&2;}
36168 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: check
for missing prerequisite headers?
" >&5
36169 echo "$as_me: WARNING
: IOKit
/storage
/IOCDMedia.h
: check
for missing prerequisite headers?
" >&2;}
36170 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: see the Autoconf documentation
" >&5
36171 echo "$as_me: WARNING
: IOKit
/storage
/IOCDMedia.h
: see the Autoconf documentation
" >&2;}
36172 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: section
\"Present But Cannot Be Compiled
\"" >&5
36173 echo "$as_me: WARNING
: IOKit
/storage
/IOCDMedia.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
36174 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: proceeding with the preprocessor
's result" >&5
36175 echo "$as_me: WARNING: IOKit/storage/IOCDMedia.h: proceeding with the preprocessor's result
" >&2;}
36176 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: in the future
, the compiler will take precedence
" >&5
36177 echo "$as_me: WARNING
: IOKit
/storage
/IOCDMedia.h
: in the future
, the compiler will take precedence
" >&2;}
36181 { echo "$as_me:$LINENO: checking
for IOKit
/storage
/IOCDMedia.h
" >&5
36182 echo $ECHO_N "checking
for IOKit
/storage
/IOCDMedia.h...
$ECHO_C" >&6; }
36183 if test "${ac_cv_header_IOKit_storage_IOCDMedia_h+set}" = set; then
36184 echo $ECHO_N "(cached
) $ECHO_C" >&6
36186 ac_cv_header_IOKit_storage_IOCDMedia_h=$ac_header_preproc
36188 { echo "$as_me:$LINENO: result
: $ac_cv_header_IOKit_storage_IOCDMedia_h" >&5
36189 echo "${ECHO_T}$ac_cv_header_IOKit_storage_IOCDMedia_h" >&6; }
36192 if test $ac_cv_header_IOKit_storage_IOCDMedia_h = yes; then
36193 can_use_osx_cdrom=yes
36199 { echo "$as_me:$LINENO: checking
for CDROM support
" >&5
36200 echo $ECHO_N "checking
for CDROM support...
$ECHO_C" >&6; }
36201 # Check whether --enable-cdrom was given.
36202 if test "${enable_cdrom+set}" = set; then
36203 enableval=$enable_cdrom; if test "$enableval" = no; then
36214 if test "$bx_cdrom" = 1; then
36215 { echo "$as_me:$LINENO: result
: yes" >&5
36216 echo "${ECHO_T}yes" >&6; }
36217 CDROM_OBJS='cdrom.o'
36218 if test "$with_amigaos" = yes; then
36219 # use the amiga cdrom file instead.
36220 CDROM_OBJS="cdrom_amigaos.o
"
36221 elif test "$can_use_osx_cdrom" = yes; then
36223 { echo "$as_me:$LINENO: result
: Using OSX IOKit CD Interface
" >&5
36224 echo "${ECHO_T}Using OSX IOKit CD Interface
" >&6; }
36225 CDROM_OBJS="cdrom.o
"
36226 EXTRA_LINK_OPTS="${EXTRA_LINK_OPTS} -framework IOKit
-framework CoreFoundation
"'$(GUI_LINK_OPTS)'
36230 # use the beos cdrom file instead
36231 CDROM_OBJS="$CDROM_OBJS cdrom_beos.o
"
36233 cat >>confdefs.h <<\_ACEOF
36234 #define BX_SUPPORT_CDROM 1
36238 { echo "$as_me:$LINENO: result
: no
" >&5
36239 echo "${ECHO_T}no
" >&6; }
36241 cat >>confdefs.h <<\_ACEOF
36242 #define BX_SUPPORT_CDROM 0
36250 { echo "$as_me:$LINENO: checking
for Sound Blaster
16 support
" >&5
36251 echo $ECHO_N "checking
for Sound Blaster
16 support...
$ECHO_C" >&6; }
36256 # Check whether --enable-sb16 was given.
36257 if test "${enable_sb16+set}" = set; then
36258 enableval=$enable_sb16; if test "$enableval" = no; then
36259 { echo "$as_me:$LINENO: result
: no
" >&5
36260 echo "${ECHO_T}no
" >&6; }
36261 cat >>confdefs.h <<\_ACEOF
36262 #define BX_SUPPORT_SB16 0
36266 case "$enableval" in
36269 cat >>confdefs.h <<\_ACEOF
36270 #define BX_SOUND_OUTPUT_C bx_sound_output_c
36273 { echo "$as_me:$LINENO: result
: dummy
" >&5
36274 echo "${ECHO_T}dummy
" >&6; }
36277 SOUNDLOW_OBJS='soundlnx.o'
36278 cat >>confdefs.h <<\_ACEOF
36279 #define BX_SOUND_OUTPUT_C bx_sound_linux_c
36282 { echo "$as_me:$LINENO: result
: linux
" >&5
36283 echo "${ECHO_T}linux
" >&6; }
36286 SOUNDLOW_OBJS='soundwin.o'
36287 cat >>confdefs.h <<\_ACEOF
36288 #define BX_SOUND_OUTPUT_C bx_sound_windows_c
36291 { echo "$as_me:$LINENO: result
: win
" >&5
36292 echo "${ECHO_T}win
" >&6; }
36295 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS winmm.lib
"
36298 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -lwinmm"
36303 SOUNDLOW_OBJS='soundosx.o'
36304 cat >>confdefs.h <<\_ACEOF
36305 #define BX_SOUND_OUTPUT_C bx_sound_osx_c
36308 { echo "$as_me:$LINENO: result
: osx
" >&5
36309 echo "${ECHO_T}osx
" >&6; }
36310 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -framework AudioUnit
-framework AudioToolbox
"
36314 *-linux* | *-freebsd*)
36315 SOUNDLOW_OBJS='soundlnx.o'
36316 cat >>confdefs.h <<\_ACEOF
36317 #define BX_SOUND_OUTPUT_C bx_sound_linux_c
36320 { echo "$as_me:$LINENO: result
: linux
" >&5
36321 echo "${ECHO_T}linux
" >&6; }
36324 SOUNDLOW_OBJS='soundwin.o'
36325 cat >>confdefs.h <<\_ACEOF
36326 #define BX_SOUND_OUTPUT_C bx_sound_windows_c
36329 { echo "$as_me:$LINENO: result
: win
" >&5
36330 echo "${ECHO_T}win
" >&6; }
36331 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS winmm.lib
"
36333 *-cygwin* | *-mingw32*)
36334 SOUNDLOW_OBJS='soundwin.o'
36335 cat >>confdefs.h <<\_ACEOF
36336 #define BX_SOUND_OUTPUT_C bx_sound_windows_c
36339 { echo "$as_me:$LINENO: result
: win
" >&5
36340 echo "${ECHO_T}win
" >&6; }
36341 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -lwinmm"
36343 *-macosx* | *-macos*)
36344 SOUNDLOW_OBJS='soundosx.o'
36345 cat >>confdefs.h <<\_ACEOF
36346 #define BX_SOUND_OUTPUT_C bx_sound_osx_c
36349 { echo "$as_me:$LINENO: result
: osx
" >&5
36350 echo "${ECHO_T}osx
" >&6; }
36351 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -framework AudioUnit
-framework AudioToolbox
"
36355 cat >>confdefs.h <<\_ACEOF
36356 #define BX_SOUND_OUTPUT_C bx_sound_output_c
36359 { echo "$as_me:$LINENO: result
: dummy
" >&5
36360 echo "${ECHO_T}dummy
" >&6; }
36366 echo \!\!\!Error\!\!\!
36367 echo "You must pass one of dummy
, linux
, win
, freebsd
, osx to
--enable-sb16"
36371 cat >>confdefs.h <<\_ACEOF
36372 #define BX_SUPPORT_SB16 1
36375 GAME_OBJS='gameport.o'
36380 { echo "$as_me:$LINENO: result
: no
" >&5
36381 echo "${ECHO_T}no
" >&6; }
36382 cat >>confdefs.h <<\_ACEOF
36383 #define BX_SUPPORT_SB16 0
36394 { echo "$as_me:$LINENO: checking
for standard PC gameport support
" >&5
36395 echo $ECHO_N "checking
for standard PC gameport support...
$ECHO_C" >&6; }
36396 # Check whether --enable-gameport was given.
36397 if test "${enable_gameport+set}" = set; then
36398 enableval=$enable_gameport; if test "$enableval" = yes; then
36399 { echo "$as_me:$LINENO: result
: yes" >&5
36400 echo "${ECHO_T}yes" >&6; }
36401 cat >>confdefs.h <<\_ACEOF
36402 #define BX_SUPPORT_GAMEPORT 1
36405 if test "$gameport_present" = 0; then
36406 GAME_OBJS='gameport.o'
36408 *-cygwin* | *-mingw32*)
36409 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -lwinmm"
36414 { echo "$as_me:$LINENO: result
: no
" >&5
36415 echo "${ECHO_T}no
" >&6; }
36417 cat >>confdefs.h <<\_ACEOF
36418 #define BX_SUPPORT_GAMEPORT 0
36424 if test "$gameport_present" = 1; then
36425 cat >>confdefs.h <<\_ACEOF
36426 #define BX_SUPPORT_GAMEPORT 1
36429 { echo "$as_me:$LINENO: result
: yes" >&5
36430 echo "${ECHO_T}yes" >&6; }
36432 cat >>confdefs.h <<\_ACEOF
36433 #define BX_SUPPORT_GAMEPORT 0
36436 { echo "$as_me:$LINENO: result
: no
" >&5
36437 echo "${ECHO_T}no
" >&6; }
36445 { echo "$as_me:$LINENO: checking
for gdb stub
enable" >&5
36446 echo $ECHO_N "checking
for gdb stub
enable...
$ECHO_C" >&6; }
36447 # Check whether --enable-gdb-stub was given.
36448 if test "${enable_gdb_stub+set}" = set; then
36449 enableval=$enable_gdb_stub; if test "$enableval" = yes; then
36450 { echo "$as_me:$LINENO: result
: yes" >&5
36451 echo "${ECHO_T}yes" >&6; }
36452 cat >>confdefs.h <<\_ACEOF
36453 #define BX_GDBSTUB 1
36456 GDBSTUB_VAR='$(GDBSTUB_OBJS)'
36457 if test "$bx_debugger" = 1; then
36458 { { echo "$as_me:$LINENO: error
: --enable-debugger and
--enable-gdb-stub are mutually exclusive
" >&5
36459 echo "$as_me: error
: --enable-debugger and
--enable-gdb-stub are mutually exclusive
" >&2;}
36460 { (exit 1); exit 1; }; }
36463 { echo "$as_me:$LINENO: result
: no
" >&5
36464 echo "${ECHO_T}no
" >&6; }
36465 cat >>confdefs.h <<\_ACEOF
36466 #define BX_GDBSTUB 0
36473 { echo "$as_me:$LINENO: result
: no
" >&5
36474 echo "${ECHO_T}no
" >&6; }
36475 cat >>confdefs.h <<\_ACEOF
36476 #define BX_GDBSTUB 0
36487 { echo "$as_me:$LINENO: checking
for I
/O Interface to the debugger
" >&5
36488 echo $ECHO_N "checking
for I
/O Interface to the debugger...
$ECHO_C" >&6; }
36490 # Check whether --enable-iodebug was given.
36491 if test "${enable_iodebug+set}" = set; then
36492 enableval=$enable_iodebug; if test "$enableval" = yes; then
36493 { echo "$as_me:$LINENO: result
: yes" >&5
36494 echo "${ECHO_T}yes" >&6; }
36495 cat >>confdefs.h <<\_ACEOF
36496 #define BX_SUPPORT_IODEBUG 1
36499 IODEBUG_OBJS='iodebug.o'
36501 { echo "$as_me:$LINENO: result
: no
" >&5
36502 echo "${ECHO_T}no
" >&6; }
36503 cat >>confdefs.h <<\_ACEOF
36504 #define BX_SUPPORT_IODEBUG 0
36511 if test "" = 1; then
36512 # enable by default if debugger is on
36513 { echo "$as_me:$LINENO: result
: yes" >&5
36514 echo "${ECHO_T}yes" >&6; }
36515 cat >>confdefs.h <<\_ACEOF
36516 #define BX_SUPPORT_IODEBUG 1
36519 IODEBUG_OBJS='iodebug.o'
36521 { echo "$as_me:$LINENO: result
: no
" >&5
36522 echo "${ECHO_T}no
" >&6; }
36531 # Extract the first word of "docbook2html
", so it can be a program name with args.
36532 set dummy docbook2html; ac_word=$2
36533 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
36534 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
36535 if test "${ac_cv_path_DOCBOOK2HTML+set}" = set; then
36536 echo $ECHO_N "(cached
) $ECHO_C" >&6
36538 case $DOCBOOK2HTML in
36540 ac_cv_path_DOCBOOK2HTML="$DOCBOOK2HTML" # Let the user override the test with a path.
36543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36544 for as_dir in $PATH
36547 test -z "$as_dir" && as_dir=.
36548 for ac_exec_ext in '' $ac_executable_extensions; do
36549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36550 ac_cv_path_DOCBOOK2HTML="$as_dir/$ac_word$ac_exec_ext"
36551 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
36558 test -z "$ac_cv_path_DOCBOOK2HTML" && ac_cv_path_DOCBOOK2HTML="not_found
"
36562 DOCBOOK2HTML=$ac_cv_path_DOCBOOK2HTML
36563 if test -n "$DOCBOOK2HTML"; then
36564 { echo "$as_me:$LINENO: result
: $DOCBOOK2HTML" >&5
36565 echo "${ECHO_T}$DOCBOOK2HTML" >&6; }
36567 { echo "$as_me:$LINENO: result
: no
" >&5
36568 echo "${ECHO_T}no
" >&6; }
36572 { echo "$as_me:$LINENO: checking whether to build docbook documentation
" >&5
36573 echo $ECHO_N "checking whether to build docbook documentation...
$ECHO_C" >&6; }
36575 # Check whether --enable-docbook was given.
36576 if test "${enable_docbook+set}" = set; then
36577 enableval=$enable_docbook;
36578 if test "$enableval" = yes; then build_docbook=1; fi
36582 if test "$DOCBOOK2HTML" != not_found; then build_docbook=1; fi
36588 if test $build_docbook = 1; then
36589 { echo "$as_me:$LINENO: result
: yes" >&5
36590 echo "${ECHO_T}yes" >&6; }
36591 BUILD_DOCBOOK_VAR=build_docbook
36592 INSTALL_DOCBOOK_VAR=install_docbook
36593 if test "$DOCBOOK2HTML" = not_found; then
36594 echo "ERROR
: docbook2html must be installed to build the documentation
"
36598 { echo "$as_me:$LINENO: result
: no
" >&5
36599 echo "${ECHO_T}no
" >&6; }
36605 PRIMARY_TARGET='bochs'
36606 PLUGIN_LIBNAME_TRANSFORMATION='%.o=libbx_%.la'
36608 cat >>confdefs.h <<\_ACEOF
36609 #define BX_PROVIDE_DEVICE_MODELS 1
36612 IODEV_LIB_VAR='iodev/libiodev.a'
36613 cat >>confdefs.h <<\_ACEOF
36614 #define BX_PROVIDE_CPU_MEMORY 1
36617 NONINLINE_VAR='$(NONINLINE_OBJS)'
36629 # Check whether --with-x11 was given.
36630 if test "${with_x11+set}" = set; then
36636 # Check whether --with-beos was given.
36637 if test "${with_beos+set}" = set; then
36638 withval=$with_beos;
36643 # Check whether --with-win32 was given.
36644 if test "${with_win32+set}" = set; then
36645 withval=$with_win32;
36650 # Check whether --with-macos was given.
36651 if test "${with_macos+set}" = set; then
36652 withval=$with_macos;
36657 # Check whether --with-carbon was given.
36658 if test "${with_carbon+set}" = set; then
36659 withval=$with_carbon;
36664 # Check whether --with-nogui was given.
36665 if test "${with_nogui+set}" = set; then
36666 withval=$with_nogui;
36671 # Check whether --with-term was given.
36672 if test "${with_term+set}" = set; then
36673 withval=$with_term;
36678 # Check whether --with-rfb was given.
36679 if test "${with_rfb+set}" = set; then
36685 # Check whether --with-amigaos was given.
36686 if test "${with_amigaos+set}" = set; then
36687 withval=$with_amigaos;
36692 # Check whether --with-sdl was given.
36693 if test "${with_sdl+set}" = set; then
36699 # Check whether --with-svga was given.
36700 if test "${with_svga+set}" = set; then
36701 withval=$with_svga;
36706 # Check whether --with-wx was given.
36707 if test "${with_wx+set}" = set; then
36713 # Check whether --with-all-libs was given.
36714 if test "${with_all_libs+set}" = set; then
36715 withval=$with_all_libs;
36724 MAKELIB="ar rv \$@
"
36726 # first define link variables without libtool
36727 LINK="\$
(CXX
) -o \$@ \$
(CXXFLAGS
) \$
(LDFLAGS
)"
36728 LINK_CONSOLE="\$
(CXX
) -o \$@ \$
(CXXFLAGS_CONSOLE
) \$
(LDFLAGS
)"
36729 # unless NO_LT is set, add libtool to the front of the link command
36730 if test "$NO_LT" != 1; then
36731 LINK="\$
(LIBTOOL
) --mode=link
$LINK"
36732 LINK_CONSOLE="\$
(LIBTOOL
) --mode=link
$LINK_CONSOLE"
36735 COMMAND_SEPARATOR="&& \\"
36736 CD_UP_ONE="echo done"
36737 CD_UP_TWO="echo done"
36738 CD_UP_THREE="echo done"
36740 INSTALL_TARGET=install_unix
36741 INSTALL_LIST_FOR_PLATFORM=
36743 # check for existence of and usable version of wxWidgets. This comes
36744 # early so that it could affect which one gets chosen.
36745 if test x$WX_CONFIG = x; then
36746 # Extract the first word of " wx-config
--version ", so it can be a program name with args.
36747 set dummy wx-config --version ; ac_word=$2
36748 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
36749 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
36750 if test "${ac_cv_prog_WX_CONFIG+set}" = set; then
36751 echo $ECHO_N "(cached
) $ECHO_C" >&6
36753 if test -n "$WX_CONFIG"; then
36754 ac_cv_prog_WX_CONFIG="$WX_CONFIG" # Let the user override the test.
36756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36757 for as_dir in $PATH
36760 test -z "$as_dir" && as_dir=.
36761 for ac_exec_ext in '' $ac_executable_extensions; do
36762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36763 ac_cv_prog_WX_CONFIG="wx-config
"
36764 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
36771 test -z "$ac_cv_prog_WX_CONFIG" && ac_cv_prog_WX_CONFIG="not_found
"
36774 WX_CONFIG=$ac_cv_prog_WX_CONFIG
36775 if test -n "$WX_CONFIG"; then
36776 { echo "$as_me:$LINENO: result
: $WX_CONFIG" >&5
36777 echo "${ECHO_T}$WX_CONFIG" >&6; }
36779 { echo "$as_me:$LINENO: result
: no
" >&5
36780 echo "${ECHO_T}no
" >&6; }
36785 { echo "$as_me:$LINENO: checking
for wxWidgets configuration
script" >&5
36786 echo $ECHO_N "checking
for wxWidgets configuration
script...
$ECHO_C" >&6; }
36787 { echo "$as_me:$LINENO: result
: $WX_CONFIG" >&5
36788 echo "${ECHO_T}$WX_CONFIG" >&6; }
36793 { echo "$as_me:$LINENO: checking
for wxWidgets library version
" >&5
36794 echo $ECHO_N "checking
for wxWidgets library version...
$ECHO_C" >&6; }
36795 if test x$WX_CONFIG != xnot_found; then
36796 WX_VERSION=`$WX_CONFIG --version`
36797 WX_BASENAME=`$WX_CONFIG --basename`
36799 # test that version >= 2.3.2. Anybody have a better way to do this? Yuck.
36800 case x$WX_VERSION in
36801 x2.[012]*) ;; # less than version 2.3.x
36802 x2.3.[01]) ;; # less than version 2.3.2
36803 x2.3.[2-4]*) ok_wx_version=1 ;; # 2.3.2 or greater
36804 x2.[4-5]*) ok_wx_version=1 ;; # version 2.4 / 2.5
36805 x2.[6-9]*) # version 2.6 or greater
36808 case x$WX_BASENAME in
36809 xwx_gtk2|xwx_gtk2u) wx_needs_gtk2=1 ;;
36813 x[3-9]*) ok_wx_version=1 ;; # version 3 or greater
36818 { echo "$as_me:$LINENO: result
: $WX_VERSION" >&5
36819 echo "${ECHO_T}$WX_VERSION" >&6; }
36820 if test "$cross_configure" = 0; then
36821 if test "$ok_wx_version" = 1; then
36822 # detected a usable version
36823 if test "$with_all_libs" = yes; then
36827 if test "$with_wx" = yes; then
36828 { echo "$as_me:$LINENO: WARNING
: Bochs
for wxWidgets cannot be compiled here
, disabling it
" >&5
36829 echo "$as_me: WARNING
: Bochs
for wxWidgets cannot be compiled here
, disabling it
" >&2;}
36835 { echo "$as_me:$LINENO: checking
for default gui on this platform
" >&5
36836 echo $ECHO_N "checking
for default gui on this platform...
$ECHO_C" >&6; }
36837 { echo "$as_me:$LINENO: result
: $DEFAULT_GUI" >&5
36838 echo "${ECHO_T}$DEFAULT_GUI" >&6; }
36842 # the $with_* variable tells the gui library to use, but does NOT necessarily
36843 # indicate the platform. Settings that depend on the platform should be
36847 if test "$with_x11" = yes; then
36848 display_libs="$display_libs X11
"
36849 if test "$no_x" = yes; then
36850 echo ERROR: X windows gui was selected, but X windows libraries were not found.
36853 cat >>confdefs.h <<\_ACEOF
36854 #define BX_WITH_X11 1
36857 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_X11
)"
36858 GUI_CFLAGS="$GUI_CFLAGS \$
(X_CFLAGS
)"
36859 GUI_CXXFLAGS="$GUI_CXXFLAGS \$
(X_CFLAGS
)"
36860 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_X
)"
36862 { echo "$as_me:$LINENO: checking whether user wants XPM support
" >&5
36863 echo $ECHO_N "checking whether user wants XPM support...
$ECHO_C" >&6; }
36864 # Check whether --enable-xpm was given.
36865 if test "${enable_xpm+set}" = set; then
36866 enableval=$enable_xpm; if test "$enableval" = yes; then
36868 { echo "$as_me:$LINENO: result
: yes" >&5
36869 echo "${ECHO_T}yes" >&6; }
36872 { echo "$as_me:$LINENO: result
: no
" >&5
36873 echo "${ECHO_T}no
" >&6; }
36878 { echo "$as_me:$LINENO: result
: yes" >&5
36879 echo "${ECHO_T}yes" >&6; }
36885 if test $check_xpm = 1; then
36886 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
36887 { echo "$as_me:$LINENO: checking
for X11
/xpm.h
" >&5
36888 echo $ECHO_N "checking
for X11
/xpm.h...
$ECHO_C" >&6; }
36889 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
36890 echo $ECHO_N "(cached
) $ECHO_C" >&6
36892 { echo "$as_me:$LINENO: result
: $ac_cv_header_X11_xpm_h" >&5
36893 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6; }
36895 # Is the header compilable?
36896 { echo "$as_me:$LINENO: checking X11
/xpm.h usability
" >&5
36897 echo $ECHO_N "checking X11
/xpm.h usability...
$ECHO_C" >&6; }
36898 cat >conftest.$ac_ext <<_ACEOF
36901 cat confdefs.h >>conftest.$ac_ext
36902 cat >>conftest.$ac_ext <<_ACEOF
36903 /* end confdefs.h. */
36904 $ac_includes_default
36905 #include <X11/xpm.h>
36907 rm -f conftest.$ac_objext
36908 if { (ac_try="$ac_compile"
36909 case "(($ac_try" in
36910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36911 *) ac_try_echo=$ac_try;;
36913 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36914 (eval "$ac_compile") 2>conftest.er1
36916 grep -v '^ *+' conftest.er1 >conftest.err
36918 cat conftest.err >&5
36919 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36920 (exit $ac_status); } && {
36921 test -z "$ac_c_werror_flag" ||
36922 test ! -s conftest.err
36923 } && test -s conftest.$ac_objext; then
36924 ac_header_compiler=yes
36926 echo "$as_me: failed program was
:" >&5
36927 sed 's/^/| /' conftest.$ac_ext >&5
36929 ac_header_compiler=no
36932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36933 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
36934 echo "${ECHO_T}$ac_header_compiler" >&6; }
36936 # Is the header present?
36937 { echo "$as_me:$LINENO: checking X11
/xpm.h presence
" >&5
36938 echo $ECHO_N "checking X11
/xpm.h presence...
$ECHO_C" >&6; }
36939 cat >conftest.$ac_ext <<_ACEOF
36942 cat confdefs.h >>conftest.$ac_ext
36943 cat >>conftest.$ac_ext <<_ACEOF
36944 /* end confdefs.h. */
36945 #include <X11/xpm.h>
36947 if { (ac_try="$ac_cpp conftest.
$ac_ext"
36948 case "(($ac_try" in
36949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36950 *) ac_try_echo=$ac_try;;
36952 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36953 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
36955 grep -v '^ *+' conftest.er1 >conftest.err
36957 cat conftest.err >&5
36958 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36959 (exit $ac_status); } >/dev/null && {
36960 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36961 test ! -s conftest.err
36963 ac_header_preproc=yes
36965 echo "$as_me: failed program was
:" >&5
36966 sed 's/^/| /' conftest.$ac_ext >&5
36968 ac_header_preproc=no
36971 rm -f conftest.err conftest.$ac_ext
36972 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
36973 echo "${ECHO_T}$ac_header_preproc" >&6; }
36975 # So? What about this header?
36976 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36978 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
36979 echo "$as_me: WARNING
: X11
/xpm.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
36980 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: proceeding with the compiler
's result" >&5
36981 echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result
" >&2;}
36982 ac_header_preproc=yes
36985 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: present but cannot be compiled
" >&5
36986 echo "$as_me: WARNING
: X11
/xpm.h
: present but cannot be compiled
" >&2;}
36987 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: check
for missing prerequisite headers?
" >&5
36988 echo "$as_me: WARNING
: X11
/xpm.h
: check
for missing prerequisite headers?
" >&2;}
36989 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: see the Autoconf documentation
" >&5
36990 echo "$as_me: WARNING
: X11
/xpm.h
: see the Autoconf documentation
" >&2;}
36991 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: section
\"Present But Cannot Be Compiled
\"" >&5
36992 echo "$as_me: WARNING
: X11
/xpm.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
36993 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: proceeding with the preprocessor
's result" >&5
36994 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result
" >&2;}
36995 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: in the future
, the compiler will take precedence
" >&5
36996 echo "$as_me: WARNING
: X11
/xpm.h
: in the future
, the compiler will take precedence
" >&2;}
37000 { echo "$as_me:$LINENO: checking
for X11
/xpm.h
" >&5
37001 echo $ECHO_N "checking
for X11
/xpm.h...
$ECHO_C" >&6; }
37002 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
37003 echo $ECHO_N "(cached
) $ECHO_C" >&6
37005 ac_cv_header_X11_xpm_h=$ac_header_preproc
37007 { echo "$as_me:$LINENO: result
: $ac_cv_header_X11_xpm_h" >&5
37008 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6; }
37011 if test $ac_cv_header_X11_xpm_h = yes; then
37013 cat >>confdefs.h <<\_ACEOF
37014 #define BX_HAVE_XPM_H 1
37026 if test "$with_beos" = yes; then
37027 display_libs="$display_libs beos
"
37028 cat >>confdefs.h <<\_ACEOF
37029 #define BX_WITH_BEOS 1
37032 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_BEOS
)"
37033 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_BEOS
)"
37036 if test "$with_sdl" = yes; then
37037 display_libs="$display_libs sdl
"
37038 cat >>confdefs.h <<\_ACEOF
37039 #define BX_WITH_SDL 1
37042 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_SDL
)"
37043 # GUI_*FLAGS are added to the compilation of every bochs file, not just
37044 # the files in gui/*.cc.
37045 SDL_CFLAGS=`sdl-config --cflags`
37046 GUI_CFLAGS="$GUI_CFLAGS $SDL_CFLAGS"
37047 GUI_CXXFLAGS="$GUI_CXXFLAGS $SDL_CFLAGS"
37048 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_SDL
)"
37049 if test "$with_win32" != yes -a "$with_wx" != yes; then
37053 EXTRA_BX_OBJS="$EXTRA_BX_OBJS win32res.o
"
37055 *-cygwin* | *-mingw32*)
37056 RC_CMD="windres
-o "
37057 EXTRA_BX_OBJS="$EXTRA_BX_OBJS win32res.o
"
37063 if test "$with_svga" = yes; then
37064 display_libs="$display_libs svga
"
37065 cat >>confdefs.h <<\_ACEOF
37066 #define BX_WITH_SVGA 1
37069 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_SVGA
)"
37070 # GUI_*FLAGS are added to the compilation of every bochs file, not just
37071 # the files in gui/*.cc.
37072 GUI_CFLAGS="$GUI_CFLAGS"
37073 GUI_CXXFLAGS="$GUI_CXXFLAGS"
37074 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_SVGA
)"
37077 if test "$with_rfb" = yes; then
37078 display_libs="$display_libs rfb
"
37079 cat >>confdefs.h <<\_ACEOF
37080 #define BX_WITH_RFB 1
37083 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_RFB
)"
37084 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_RFB
)"
37087 if test "$with_amigaos" = yes; then
37088 display_libs="$display_libs amigaos
"
37089 cat >>confdefs.h <<\_ACEOF
37090 #define BX_WITH_AMIGAOS 1
37093 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_AMIGAOS
)"
37094 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_AMIGAOS
)"
37097 if test "$with_win32" = yes; then
37098 display_libs="$display_libs win32
"
37099 cat >>confdefs.h <<\_ACEOF
37100 #define BX_WITH_WIN32 1
37103 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_WIN32
)"
37106 if test "$with_wx" != yes; then
37108 EXTRA_BX_OBJS="$EXTRA_BX_OBJS win32res.o
"
37110 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_WIN32_VCPP
)"
37112 *-cygwin* | *-mingw32*)
37113 if test "$with_wx" != yes; then
37114 RC_CMD="windres
-o "
37115 EXTRA_BX_OBJS="$EXTRA_BX_OBJS win32res.o
"
37117 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_WIN32
)"
37119 *) echo Unsupported compile setup: GUI library is win32, but target is neither windows nor cygwin.
37124 if test "$with_macos" = yes; then
37125 display_libs="$display_libs macos
"
37126 cat >>confdefs.h <<\_ACEOF
37127 #define BX_WITH_MACOS 1
37130 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_MACOS
)"
37131 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_MACOS
)"
37134 if test "$with_carbon" = yes; then
37135 display_libs="$display_libs carbon
"
37136 cat >>confdefs.h <<\_ACEOF
37137 #define BX_WITH_CARBON 1
37140 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_CARBON
)"
37141 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_CARBON
)"
37142 if test "$bx_plugins" = 1; then
37143 PRIMARY_TARGET=bochs.app/.build_plugins # only for carbon application
37145 PRIMARY_TARGET=bochs.app/.build # only for carbon application
37147 INSTALL_TARGET='install_macosx'
37150 if test "$with_term" = yes; then
37151 display_libs="$display_libs term
"
37152 cat >>confdefs.h <<\_ACEOF
37153 #define BX_WITH_TERM 1
37156 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_TERM
)"
37157 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_TERM
)"
37161 if test "$with_wx" = yes; then
37162 display_libs="$display_libs wxWidgets
"
37163 if test "$cross_configure" = 1; then
37164 true # do not insist, if configuring for another machine
37166 if test x$ok_wx_version != x1; then
37167 echo ERROR: A usable version of wxWidgets was not found.
37168 echo Upgrade the library or choose another gui.
37172 cat >>confdefs.h <<\_ACEOF
37173 #define BX_WITH_WX 1
37176 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_WX
)"
37177 SPECIFIC_GUI_SUPPORT_OBJS="$SPECIFIC_GUI_SUPPORT_OBJS \$
(GUI_OBJS_WX_SUPPORT
)"
37178 WX_CFLAGS="`$WX_CONFIG --cflags`"
37179 WX_CXXFLAGS="`$WX_CONFIG --cxxflags`"
37180 if test "$wx_multi_lib" = 1; then
37181 GUI_LINK_OPTS_WX="`$WX_CONFIG --libs core,base`"
37183 GUI_LINK_OPTS_WX="`$WX_CONFIG --libs`"
37185 if test "$wx_needs_gtk2" = 1; then
37188 if test "x
$ac_cv_env_PKG_CONFIG_set" != "xset
"; then
37189 if test -n "$ac_tool_prefix"; then
37190 # Extract the first word of "${ac_tool_prefix}pkg-config
", so it can be a program name with args.
37191 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
37192 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
37193 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
37194 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
37195 echo $ECHO_N "(cached
) $ECHO_C" >&6
37197 case $PKG_CONFIG in
37199 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
37202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37203 for as_dir in $PATH
37206 test -z "$as_dir" && as_dir=.
37207 for ac_exec_ext in '' $ac_executable_extensions; do
37208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37209 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37210 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
37220 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
37221 if test -n "$PKG_CONFIG"; then
37222 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
37223 echo "${ECHO_T}$PKG_CONFIG" >&6; }
37225 { echo "$as_me:$LINENO: result
: no
" >&5
37226 echo "${ECHO_T}no
" >&6; }
37231 if test -z "$ac_cv_path_PKG_CONFIG"; then
37232 ac_pt_PKG_CONFIG=$PKG_CONFIG
37233 # Extract the first word of "pkg-config
", so it can be a program name with args.
37234 set dummy pkg-config; ac_word=$2
37235 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
37236 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
37237 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
37238 echo $ECHO_N "(cached
) $ECHO_C" >&6
37240 case $ac_pt_PKG_CONFIG in
37242 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
37245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37246 for as_dir in $PATH
37249 test -z "$as_dir" && as_dir=.
37250 for ac_exec_ext in '' $ac_executable_extensions; do
37251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37252 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37253 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
37263 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
37264 if test -n "$ac_pt_PKG_CONFIG"; then
37265 { echo "$as_me:$LINENO: result
: $ac_pt_PKG_CONFIG" >&5
37266 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
37268 { echo "$as_me:$LINENO: result
: no
" >&5
37269 echo "${ECHO_T}no
" >&6; }
37272 if test "x
$ac_pt_PKG_CONFIG" = x; then
37275 case $cross_compiling:$ac_tool_warned in
37277 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
37278 whose name does not start with the
host triplet. If you think this
37279 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
37280 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
37281 whose name does not start with the
host triplet. If you think this
37282 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
37283 ac_tool_warned=yes ;;
37285 PKG_CONFIG=$ac_pt_PKG_CONFIG
37288 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
37292 if test -n "$PKG_CONFIG"; then
37293 _pkg_min_version=0.9.0
37294 { echo "$as_me:$LINENO: checking pkg-config is
at least version
$_pkg_min_version" >&5
37295 echo $ECHO_N "checking pkg-config is
at least version
$_pkg_min_version...
$ECHO_C" >&6; }
37296 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
37297 { echo "$as_me:$LINENO: result
: yes" >&5
37298 echo "${ECHO_T}yes" >&6; }
37300 { echo "$as_me:$LINENO: result
: no
" >&5
37301 echo "${ECHO_T}no
" >&6; }
37308 { echo "$as_me:$LINENO: checking
for GTK
" >&5
37309 echo $ECHO_N "checking
for GTK...
$ECHO_C" >&6; }
37311 if test -n "$PKG_CONFIG"; then
37312 if test -n "$GTK_CFLAGS"; then
37313 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
37315 if test -n "$PKG_CONFIG" && \
37316 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"gtk
+-2.0
\"") >&5
37317 ($PKG_CONFIG --exists --print-errors "gtk
+-2.0
") 2>&5
37319 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37320 (exit $ac_status); }; then
37321 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk
+-2.0
" 2>/dev/null`
37329 if test -n "$PKG_CONFIG"; then
37330 if test -n "$GTK_LIBS"; then
37331 pkg_cv_GTK_LIBS="$GTK_LIBS"
37333 if test -n "$PKG_CONFIG" && \
37334 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"gtk
+-2.0
\"") >&5
37335 ($PKG_CONFIG --exists --print-errors "gtk
+-2.0
") 2>&5
37337 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37338 (exit $ac_status); }; then
37339 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk
+-2.0
" 2>/dev/null`
37350 if test $pkg_failed = yes; then
37352 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37353 _pkg_short_errors_supported=yes
37355 _pkg_short_errors_supported=no
37357 if test $_pkg_short_errors_supported = yes; then
37358 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk
+-2.0
"`
37360 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk
+-2.0
"`
37362 # Put the nasty error message in config.log where it belongs
37363 echo "$GTK_PKG_ERRORS" >&5
37365 { { echo "$as_me:$LINENO: error
: Package requirements
(gtk
+-2.0
) were not met
:
37369 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
37370 installed software
in a non-standard prefix.
37372 Alternatively
, you may
set the environment variables GTK_CFLAGS
37373 and GTK_LIBS to avoid the need to call pkg-config.
37374 See the pkg-config man page
for more details.
37376 echo "$as_me: error
: Package requirements
(gtk
+-2.0
) were not met
:
37380 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
37381 installed software
in a non-standard prefix.
37383 Alternatively
, you may
set the environment variables GTK_CFLAGS
37384 and GTK_LIBS to avoid the need to call pkg-config.
37385 See the pkg-config man page
for more details.
37387 { (exit 1); exit 1; }; }
37388 elif test $pkg_failed = untried; then
37389 { { echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
37390 is
in your PATH or
set the PKG_CONFIG environment variable to the full
37391 path to pkg-config.
37393 Alternatively
, you may
set the environment variables GTK_CFLAGS
37394 and GTK_LIBS to avoid the need to call pkg-config.
37395 See the pkg-config man page
for more details.
37397 To get pkg-config
, see
<http
://www.freedesktop.org
/software
/pkgconfig
>.
37398 See \
`config.log' for more details." >&5
37399 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
37400 is in your PATH or set the PKG_CONFIG environment variable to the full
37401 path to pkg-config.
37403 Alternatively, you may set the environment variables GTK_CFLAGS
37404 and GTK_LIBS to avoid the need to call pkg-config.
37405 See the pkg-config man page for more details.
37407 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
37408 See \`config.log
' for more details." >&2;}
37409 { (exit 1); exit 1; }; }
37411 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
37412 GTK_LIBS=$pkg_cv_GTK_LIBS
37413 { echo "$as_me:$LINENO: result: yes" >&5
37414 echo "${ECHO_T}yes" >&6; }
37416 WX_CFLAGS="$WX_CFLAGS $GTK_CFLAGS"
37417 WX_CXXFLAGS="$WX_CXXFLAGS $GTK_CFLAGS"
37421 # if gtk-config exists, then add it to the cflags.
37422 gtkconf=`gtk-config --cflags`
37423 if test $? = 0; then
37424 # gtk-config was found and returned 0, so it must return valid output
37425 WX_CFLAGS="$WX_CFLAGS $gtkconf"
37426 WX_CXXFLAGS="$WX_CXXFLAGS $gtkconf"
37429 # GUI_C*FLAGS are added to the compilation of every bochs file, not just
37430 # the files in gui/*.cc. They are not used when building other things
37432 GUI_CFLAGS="$GUI_CFLAGS $WX_CFLAGS"
37433 GUI_CXXFLAGS="$GUI_CXXFLAGS $WX_CXXFLAGS"
37434 GUI_LINK_OPTS="$GUI_LINK_OPTS \$(GUI_LINK_OPTS_WX)"
37435 # using debugger with readline is failing due to thread/signal handler
37438 *-pc-windows* | *-cygwin* | *-mingw32*)
37439 EXTRA_BX_OBJS="$EXTRA_BX_OBJS wxbochs_resources.o"
37440 GUI_LINK_OPTS_WX="$GUI_LINK_OPTS_WX --subsystem,windows -mwindows"
37445 if test "$with_nogui" = yes; then
37446 display_libs="$display_libs nogui"
37447 cat >>confdefs.h <<\_ACEOF
37448 #define BX_WITH_NOGUI 1
37451 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$(GUI_OBJS_NOGUI)"
37454 { echo "$as_me:$LINENO: checking for display libraries" >&5
37455 echo $ECHO_N "checking for display libraries... $ECHO_C" >&6; }
37456 { echo "$as_me:$LINENO: result: $display_libs" >&5
37457 echo "${ECHO_T}$display_libs" >&6; }
37459 if test "$display_libs" = ""; then
37460 echo "No display libraries were selected. Use --with-* options to enable"
37461 echo "individual display libraries, or --with-all-libs to detect the ones"
37462 echo "that Bochs supports."
37466 if test "$display_libs" = " wxWidgets"; then
37467 { echo "$as_me:$LINENO: checking for default configuration interface" >&5
37468 echo $ECHO_N "checking for default configuration interface... $ECHO_C" >&6; }
37469 { echo "$as_me:$LINENO: result: wxWidgets" >&5
37470 echo "${ECHO_T}wxWidgets" >&6; }
37471 { echo "$as_me:$LINENO: checking for default display library" >&5
37472 echo $ECHO_N "checking for default display library... $ECHO_C" >&6; }
37473 { echo "$as_me:$LINENO: result: wxWidgets" >&5
37474 echo "${ECHO_T}wxWidgets" >&6; }
37475 cat >>confdefs.h <<\_ACEOF
37476 #define BX_DEFAULT_CONFIG_INTERFACE "wx"
37479 cat >>confdefs.h <<\_ACEOF
37480 #define BX_DEFAULT_DISPLAY_LIBRARY "wx"
37483 cat >>confdefs.h <<\_ACEOF
37484 #define BX_USE_TEXTCONFIG 0
37488 cat >>confdefs.h <<\_ACEOF
37489 #define BX_USE_TEXTCONFIG 1
37494 if test "$bx_plugins" = 1; then
37495 # every item in this list will be compiled as a plugin. Do not include
37496 # support objs; they will be mentioned in plugin-specific makefile rules.
37497 GUI_PLUGIN_OBJS="$GUI_PLUGIN_OBJS $SPECIFIC_GUI_OBJS"
37499 # include support objs
37500 GUI_NON_PLUGIN_OBJS="$GUI_NON_PLUGIN_OBJS $SPECIFIC_GUI_OBJS $SPECIFIC_GUI_SUPPORT_OBJS"
37509 for ac_prog in wget curl fetch
37511 # Extract the first word of "$ac_prog", so it can be a program name with args.
37512 set dummy $ac_prog; ac_word=$2
37513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
37514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
37515 if test "${ac_cv_prog_WGET+set}" = set; then
37516 echo $ECHO_N "(cached) $ECHO_C" >&6
37518 if test -n "$WGET"; then
37519 ac_cv_prog_WGET="$WGET" # Let the user override the test.
37521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37522 for as_dir in $PATH
37525 test -z "$as_dir" && as_dir=.
37526 for ac_exec_ext in '' $ac_executable_extensions; do
37527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37528 ac_cv_prog_WGET="$ac_prog"
37529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37538 WGET=$ac_cv_prog_WGET
37539 if test -n "$WGET"; then
37540 { echo "$as_me:$LINENO: result: $WGET" >&5
37541 echo "${ECHO_T}$WGET" >&6; }
37543 { echo "$as_me:$LINENO: result: no" >&5
37544 echo "${ECHO_T}no" >&6; }
37548 test -n "$WGET" && break
37550 test -n "$WGET" || WGET="not_found"
37552 if test "$WGET" = not_found; then
37553 { echo "$as_me:$LINENO: WARNING: cannot find wget (or equivalent) command" >&5
37554 echo "$as_me: WARNING: cannot find wget (or equivalent) command" >&2;}
37556 # everybody has to re-invent the wheel. differently.
37557 test "${WGET}" = "curl" && WGET="curl -O"
37559 # modify settings based on target platform
37562 cat >>confdefs.h <<\_ACEOF
37563 #define BX_HAVE_STRDUP 0
37568 cat >>confdefs.h <<\_ACEOF
37569 #define BX_HAVE_STRDUP 0
37572 cat >>confdefs.h <<\_ACEOF
37573 #define BX_PLUGINS 0
37576 cat >>confdefs.h <<\_ACEOF
37577 #define BX_HAVE_DLFCN_H 0
37580 cat >>confdefs.h <<\_ACEOF
37581 #define BX_HAVE_SOCKLEN_T 0
37584 cat >>confdefs.h <<\_ACEOF
37585 #define BX_HAVE_SELECT 0
37588 cat >>confdefs.h <<\_ACEOF
37589 #define BX_HAVE_GETTIMEOFDAY 0
37592 cat >>confdefs.h <<\_ACEOF
37593 #define BX_NO_ATTRIBUTES 1
37596 cat >>confdefs.h <<\_ACEOF
37597 #define HAVE_TUNTAP 0
37600 cat >>confdefs.h <<\_ACEOF
37601 #define HAVE_ETHERTAP 0
37604 cat >>confdefs.h <<\_ACEOF
37605 #define BX_HAVE_HASH_MAP 0
37610 INSTALL_TARGET='install_win32
'
37613 #C_OPT="/Zi" # for debugging
37614 C_OPT="/Ox" # optimize for speed
37615 CFLAGS="/nologo /G6 /MT /W3 /GX- /DNDEBUG /DWIN32 /D_WINDOWS $C_OPT"
37623 MAKELIB="lib /nologo /subsystem:console /verbose /out:\$@"
37626 #L_OPT="/debug" # for debugging
37627 L_OPT="" # no debug info
37628 LINK="link $L_OPT /nologo /subsystem:console /incremental:no /out:\$@ "
37631 PRIMARY_TARGET="bochs.exe"
37632 BXIMAGE_LINK_OPTS="user32.lib"
37633 # also compile niclist if networking is on
37634 if test "$networking" = yes; then
37635 PRIMARY_TARGET="$PRIMARY_TARGET niclist.exe"
37637 COMMAND_SEPARATOR=""
37639 CD_UP_TWO="cd ..\.."
37640 CD_UP_THREE="cd ..\..\.."
37641 have_gettimeofday=0 # even though it may exist in build environment
37642 cat >>confdefs.h <<\_ACEOF
37643 #define BX_64BIT_CONSTANTS_USE_LL 0
37646 cat >>confdefs.h <<\_ACEOF
37647 #define inline __inline
37650 cat >>confdefs.h <<\_ACEOF
37651 #define BX_NO_EMPTY_STRUCTS 1
37654 cat >>confdefs.h <<\_ACEOF
37655 #define BX_NO_ATTRIBUTES 1
37658 cat >>confdefs.h <<\_ACEOF
37659 #define BX_HAVE_HASH_MAP 0
37662 cat >>confdefs.h <<\_ACEOF
37663 #define BX_HAVE_HASH_MAP_H 0
37666 cat >>confdefs.h <<\_ACEOF
37667 #define BX_HAVE_STRTOULL 0
37670 cat >>confdefs.h <<\_ACEOF
37671 #define BX_HAVE_STRTOUQ 0
37674 cat >>confdefs.h <<\_ACEOF
37675 #define HAVE_LIBREADLINE 0
37678 cat >>confdefs.h <<\_ACEOF
37679 #define BX_HAVE_GETTIMEOFDAY 0
37682 cat >>confdefs.h <<\_ACEOF
37683 #define BX_HAVE_DLFCN_H 0
37686 cat >>confdefs.h <<\_ACEOF
37687 #define BX_HAVE_MKSTEMP 0
37690 cat >>confdefs.h <<\_ACEOF
37691 #define BX_HAVE_SYS_MMAN_H 0
37694 cat >>confdefs.h <<\_ACEOF
37695 #define BX_HAVE_USLEEP 0
37698 cat >>confdefs.h <<\_ACEOF
37699 #define HAVE_ETHERTAP 0
37702 cat >>confdefs.h <<\_ACEOF
37703 #define BX_HAVE_SELECT 1
37706 cat >>confdefs.h <<\_ACEOF
37707 #define BX_HAVE_SOCKLEN_T 0
37713 PRIMARY_TARGET="bochs.exe"
37714 BXIMAGE_LINK_OPTS="-luser32"
37715 if test "$networking" = yes; then
37716 PRIMARY_TARGET="$PRIMARY_TARGET niclist.exe"
37718 cat >>confdefs.h <<\_ACEOF
37719 #define BX_HAVE_SELECT 1
37724 BXIMAGE_LINK_OPTS="-luser32"
37725 if test "$networking" = yes; then
37726 PRIMARY_TARGET="$PRIMARY_TARGET niclist"
37728 cat >>confdefs.h <<\_ACEOF
37729 #define BX_HAVE_SELECT 1
37734 PRIMARY_TARGET=.bochs_beos_target
37739 EXPORT_DYNAMIC="-export-dynamic"
37741 *-pc-windows* | *-pc-winnt* | *-cygwin* | *-mingw*)
37742 if test "$bx_plugins" = 1; then
37743 { echo "$as_me:$LINENO: checking for opendir in -lmingwex" >&5
37744 echo $ECHO_N "checking for opendir in -lmingwex... $ECHO_C" >&6; }
37745 if test "${ac_cv_lib_mingwex_opendir+set}" = set; then
37746 echo $ECHO_N "(cached) $ECHO_C" >&6
37748 ac_check_lib_save_LIBS=$LIBS
37749 LIBS="-lmingwex $LIBS"
37750 cat >conftest.$ac_ext <<_ACEOF
37753 cat confdefs.h >>conftest.$ac_ext
37754 cat >>conftest.$ac_ext <<_ACEOF
37755 /* end confdefs.h. */
37757 /* Override any GCC internal prototype to avoid an error.
37758 Use char because int might match the return type of a GCC
37759 builtin and then its argument prototype would still apply. */
37772 rm -f conftest.$ac_objext conftest$ac_exeext
37773 if { (ac_try="$ac_link"
37774 case "(($ac_try" in
37775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37776 *) ac_try_echo=$ac_try;;
37778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37779 (eval "$ac_link") 2>conftest.er1
37781 grep -v '^
*+' conftest.er1 >conftest.err
37783 cat conftest.err >&5
37784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37785 (exit $ac_status); } && {
37786 test -z "$ac_c_werror_flag" ||
37787 test ! -s conftest.err
37788 } && test -s conftest$ac_exeext &&
37789 $as_test_x conftest$ac_exeext; then
37790 ac_cv_lib_mingwex_opendir=yes
37792 echo "$as_me: failed program was:" >&5
37793 sed 's
/^
/|
/' conftest.$ac_ext >&5
37795 ac_cv_lib_mingwex_opendir=no
37798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37799 conftest$ac_exeext conftest.$ac_ext
37800 LIBS=$ac_check_lib_save_LIBS
37802 { echo "$as_me:$LINENO: result: $ac_cv_lib_mingwex_opendir" >&5
37803 echo "${ECHO_T}$ac_cv_lib_mingwex_opendir" >&6; }
37804 if test $ac_cv_lib_mingwex_opendir = yes; then
37805 LIBS="$LIBS -lmingwex"
37808 # set variables for building DLL plugins
37809 PRIMARY_TARGET=".win32_dll_plugin_target"
37810 PLUGIN_LIBNAME_TRANSFORMATION='%.o
=bx_
%.dll
'
37811 INSTALL_PLUGINS_VAR=install_dll_plugins
37813 if test "$with_win32" != yes; then
37814 LIBS="$LIBS -lcomctl32"
37817 DIALOG_OBJS="win32dialog.o"
37824 if test "$use_curses" = yes -a "$cross_configure" = 0; then
37825 { echo "$as_me:$LINENO: checking for mvaddch in -lcurses" >&5
37826 echo $ECHO_N "checking for mvaddch in -lcurses... $ECHO_C" >&6; }
37827 if test "${ac_cv_lib_curses_mvaddch+set}" = set; then
37828 echo $ECHO_N "(cached) $ECHO_C" >&6
37830 ac_check_lib_save_LIBS=$LIBS
37831 LIBS="-lcurses $LIBS"
37832 cat >conftest.$ac_ext <<_ACEOF
37835 cat confdefs.h >>conftest.$ac_ext
37836 cat >>conftest.$ac_ext <<_ACEOF
37837 /* end confdefs.h. */
37839 /* Override any GCC internal prototype to avoid an error.
37840 Use char because int might match the return type of a GCC
37841 builtin and then its argument prototype would still apply. */
37854 rm -f conftest.$ac_objext conftest$ac_exeext
37855 if { (ac_try="$ac_link"
37856 case "(($ac_try" in
37857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37858 *) ac_try_echo=$ac_try;;
37860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37861 (eval "$ac_link") 2>conftest.er1
37863 grep -v '^
*+' conftest.er1 >conftest.err
37865 cat conftest.err >&5
37866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37867 (exit $ac_status); } && {
37868 test -z "$ac_c_werror_flag" ||
37869 test ! -s conftest.err
37870 } && test -s conftest$ac_exeext &&
37871 $as_test_x conftest$ac_exeext; then
37872 ac_cv_lib_curses_mvaddch=yes
37874 echo "$as_me: failed program was:" >&5
37875 sed 's
/^
/|
/' conftest.$ac_ext >&5
37877 ac_cv_lib_curses_mvaddch=no
37880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37881 conftest$ac_exeext conftest.$ac_ext
37882 LIBS=$ac_check_lib_save_LIBS
37884 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_mvaddch" >&5
37885 echo "${ECHO_T}$ac_cv_lib_curses_mvaddch" >&6; }
37886 if test $ac_cv_lib_curses_mvaddch = yes; then
37887 GUI_LINK_OPTS_TERM='-lcurses'
37890 { echo "$as_me:$LINENO: checking for mvaddch in -lncurses" >&5
37891 echo $ECHO_N "checking for mvaddch in -lncurses... $ECHO_C" >&6; }
37892 if test "${ac_cv_lib_ncurses_mvaddch+set}" = set; then
37893 echo $ECHO_N "(cached) $ECHO_C" >&6
37895 ac_check_lib_save_LIBS=$LIBS
37896 LIBS="-lncurses $LIBS"
37897 cat >conftest.$ac_ext <<_ACEOF
37900 cat confdefs.h >>conftest.$ac_ext
37901 cat >>conftest.$ac_ext <<_ACEOF
37902 /* end confdefs.h. */
37904 /* Override any GCC internal prototype to avoid an error.
37905 Use char because int might match the return type of a GCC
37906 builtin and then its argument prototype would still apply. */
37919 rm -f conftest.$ac_objext conftest$ac_exeext
37920 if { (ac_try="$ac_link"
37921 case "(($ac_try" in
37922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37923 *) ac_try_echo=$ac_try;;
37925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37926 (eval "$ac_link") 2>conftest.er1
37928 grep -v '^
*+' conftest.er1 >conftest.err
37930 cat conftest.err >&5
37931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37932 (exit $ac_status); } && {
37933 test -z "$ac_c_werror_flag" ||
37934 test ! -s conftest.err
37935 } && test -s conftest$ac_exeext &&
37936 $as_test_x conftest$ac_exeext; then
37937 ac_cv_lib_ncurses_mvaddch=yes
37939 echo "$as_me: failed program was:" >&5
37940 sed 's
/^
/|
/' conftest.$ac_ext >&5
37942 ac_cv_lib_ncurses_mvaddch=no
37945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37946 conftest$ac_exeext conftest.$ac_ext
37947 LIBS=$ac_check_lib_save_LIBS
37949 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_mvaddch" >&5
37950 echo "${ECHO_T}$ac_cv_lib_ncurses_mvaddch" >&6; }
37951 if test $ac_cv_lib_ncurses_mvaddch = yes; then
37952 GUI_LINK_OPTS_TERM='-lncurses'
37955 { echo "$as_me:$LINENO: checking for mvaddch in -ltermlib" >&5
37956 echo $ECHO_N "checking for mvaddch in -ltermlib... $ECHO_C" >&6; }
37957 if test "${ac_cv_lib_termlib_mvaddch+set}" = set; then
37958 echo $ECHO_N "(cached) $ECHO_C" >&6
37960 ac_check_lib_save_LIBS=$LIBS
37961 LIBS="-ltermlib $LIBS"
37962 cat >conftest.$ac_ext <<_ACEOF
37965 cat confdefs.h >>conftest.$ac_ext
37966 cat >>conftest.$ac_ext <<_ACEOF
37967 /* end confdefs.h. */
37969 /* Override any GCC internal prototype to avoid an error.
37970 Use char because int might match the return type of a GCC
37971 builtin and then its argument prototype would still apply. */
37984 rm -f conftest.$ac_objext conftest$ac_exeext
37985 if { (ac_try="$ac_link"
37986 case "(($ac_try" in
37987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37988 *) ac_try_echo=$ac_try;;
37990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37991 (eval "$ac_link") 2>conftest.er1
37993 grep -v '^
*+' conftest.er1 >conftest.err
37995 cat conftest.err >&5
37996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37997 (exit $ac_status); } && {
37998 test -z "$ac_c_werror_flag" ||
37999 test ! -s conftest.err
38000 } && test -s conftest$ac_exeext &&
38001 $as_test_x conftest$ac_exeext; then
38002 ac_cv_lib_termlib_mvaddch=yes
38004 echo "$as_me: failed program was:" >&5
38005 sed 's
/^
/|
/' conftest.$ac_ext >&5
38007 ac_cv_lib_termlib_mvaddch=no
38010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38011 conftest$ac_exeext conftest.$ac_ext
38012 LIBS=$ac_check_lib_save_LIBS
38014 { echo "$as_me:$LINENO: result: $ac_cv_lib_termlib_mvaddch" >&5
38015 echo "${ECHO_T}$ac_cv_lib_termlib_mvaddch" >&6; }
38016 if test $ac_cv_lib_termlib_mvaddch = yes; then
38017 GUI_LINK_OPTS_TERM='-ltermlib'
38020 { echo "$as_me:$LINENO: checking for mvaddch in -lpdcurses" >&5
38021 echo $ECHO_N "checking for mvaddch in -lpdcurses... $ECHO_C" >&6; }
38022 if test "${ac_cv_lib_pdcurses_mvaddch+set}" = set; then
38023 echo $ECHO_N "(cached) $ECHO_C" >&6
38025 ac_check_lib_save_LIBS=$LIBS
38026 LIBS="-lpdcurses $LIBS"
38027 cat >conftest.$ac_ext <<_ACEOF
38030 cat confdefs.h >>conftest.$ac_ext
38031 cat >>conftest.$ac_ext <<_ACEOF
38032 /* end confdefs.h. */
38034 /* Override any GCC internal prototype to avoid an error.
38035 Use char because int might match the return type of a GCC
38036 builtin and then its argument prototype would still apply. */
38049 rm -f conftest.$ac_objext conftest$ac_exeext
38050 if { (ac_try="$ac_link"
38051 case "(($ac_try" in
38052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38053 *) ac_try_echo=$ac_try;;
38055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38056 (eval "$ac_link") 2>conftest.er1
38058 grep -v '^
*+' conftest.er1 >conftest.err
38060 cat conftest.err >&5
38061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38062 (exit $ac_status); } && {
38063 test -z "$ac_c_werror_flag" ||
38064 test ! -s conftest.err
38065 } && test -s conftest$ac_exeext &&
38066 $as_test_x conftest$ac_exeext; then
38067 ac_cv_lib_pdcurses_mvaddch=yes
38069 echo "$as_me: failed program was:" >&5
38070 sed 's
/^
/|
/' conftest.$ac_ext >&5
38072 ac_cv_lib_pdcurses_mvaddch=no
38075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38076 conftest$ac_exeext conftest.$ac_ext
38077 LIBS=$ac_check_lib_save_LIBS
38079 { echo "$as_me:$LINENO: result: $ac_cv_lib_pdcurses_mvaddch" >&5
38080 echo "${ECHO_T}$ac_cv_lib_pdcurses_mvaddch" >&6; }
38081 if test $ac_cv_lib_pdcurses_mvaddch = yes; then
38082 GUI_LINK_OPTS_TERM='-lpdcurses'
38085 if test "$GUI_LINK_OPTS_TERM" = ""; then
38086 echo Curses library not found: tried curses, ncurses, termlib and pdcurses.
38091 if test "$with_term" = yes; then
38093 LIBS="$LIBS $GUI_LINK_OPTS_TERM"
38095 for ac_func in color_set
38097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38098 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38100 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38101 echo $ECHO_N "(cached) $ECHO_C" >&6
38103 cat >conftest.$ac_ext <<_ACEOF
38106 cat confdefs.h >>conftest.$ac_ext
38107 cat >>conftest.$ac_ext <<_ACEOF
38108 /* end confdefs.h. */
38109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38111 #define $ac_func innocuous_$ac_func
38113 /* System header to define __stub macros and hopefully few prototypes,
38114 which can conflict with char $ac_func (); below.
38115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38116 <limits.h> exists even on freestanding compilers. */
38119 # include <limits.h>
38121 # include <assert.h>
38126 /* Override any GCC internal prototype to avoid an error.
38127 Use char because int might match the return type of a GCC
38128 builtin and then its argument prototype would still apply. */
38133 /* The GNU C library defines this for functions which it implements
38134 to always fail with ENOSYS. Some functions are actually named
38135 something starting with __ and the normal name is an alias. */
38136 #if defined __stub_$ac_func || defined __stub___$ac_func
38143 return $ac_func ();
38148 rm -f conftest.$ac_objext conftest$ac_exeext
38149 if { (ac_try="$ac_link"
38150 case "(($ac_try" in
38151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38152 *) ac_try_echo=$ac_try;;
38154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38155 (eval "$ac_link") 2>conftest.er1
38157 grep -v '^
*+' conftest.er1 >conftest.err
38159 cat conftest.err >&5
38160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38161 (exit $ac_status); } && {
38162 test -z "$ac_c_werror_flag" ||
38163 test ! -s conftest.err
38164 } && test -s conftest$ac_exeext &&
38165 $as_test_x conftest$ac_exeext; then
38166 eval "$as_ac_var=yes"
38168 echo "$as_me: failed program was:" >&5
38169 sed 's
/^
/|
/' conftest.$ac_ext >&5
38171 eval "$as_ac_var=no"
38174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38175 conftest$ac_exeext conftest.$ac_ext
38177 ac_res=`eval echo '${'$as_ac_var'}'`
38178 { echo "$as_me:$LINENO: result: $ac_res" >&5
38179 echo "${ECHO_T}$ac_res" >&6; }
38180 if test `eval echo '${'$as_ac_var'}'` = yes; then
38181 cat >>confdefs.h <<_ACEOF
38182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38184 cat >>confdefs.h <<\_ACEOF
38185 #define BX_HAVE_COLOR_SET 1
38192 for ac_func in mvhline
38194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38195 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38197 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38198 echo $ECHO_N "(cached) $ECHO_C" >&6
38200 cat >conftest.$ac_ext <<_ACEOF
38203 cat confdefs.h >>conftest.$ac_ext
38204 cat >>conftest.$ac_ext <<_ACEOF
38205 /* end confdefs.h. */
38206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38208 #define $ac_func innocuous_$ac_func
38210 /* System header to define __stub macros and hopefully few prototypes,
38211 which can conflict with char $ac_func (); below.
38212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38213 <limits.h> exists even on freestanding compilers. */
38216 # include <limits.h>
38218 # include <assert.h>
38223 /* Override any GCC internal prototype to avoid an error.
38224 Use char because int might match the return type of a GCC
38225 builtin and then its argument prototype would still apply. */
38230 /* The GNU C library defines this for functions which it implements
38231 to always fail with ENOSYS. Some functions are actually named
38232 something starting with __ and the normal name is an alias. */
38233 #if defined __stub_$ac_func || defined __stub___$ac_func
38240 return $ac_func ();
38245 rm -f conftest.$ac_objext conftest$ac_exeext
38246 if { (ac_try="$ac_link"
38247 case "(($ac_try" in
38248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38249 *) ac_try_echo=$ac_try;;
38251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38252 (eval "$ac_link") 2>conftest.er1
38254 grep -v '^
*+' conftest.er1 >conftest.err
38256 cat conftest.err >&5
38257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38258 (exit $ac_status); } && {
38259 test -z "$ac_c_werror_flag" ||
38260 test ! -s conftest.err
38261 } && test -s conftest$ac_exeext &&
38262 $as_test_x conftest$ac_exeext; then
38263 eval "$as_ac_var=yes"
38265 echo "$as_me: failed program was:" >&5
38266 sed 's
/^
/|
/' conftest.$ac_ext >&5
38268 eval "$as_ac_var=no"
38271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38272 conftest$ac_exeext conftest.$ac_ext
38274 ac_res=`eval echo '${'$as_ac_var'}'`
38275 { echo "$as_me:$LINENO: result: $ac_res" >&5
38276 echo "${ECHO_T}$ac_res" >&6; }
38277 if test `eval echo '${'$as_ac_var'}'` = yes; then
38278 cat >>confdefs.h <<_ACEOF
38279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38281 cat >>confdefs.h <<\_ACEOF
38282 #define BX_HAVE_MVHLINE 1
38289 for ac_func in mvvline
38291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38292 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38294 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38295 echo $ECHO_N "(cached) $ECHO_C" >&6
38297 cat >conftest.$ac_ext <<_ACEOF
38300 cat confdefs.h >>conftest.$ac_ext
38301 cat >>conftest.$ac_ext <<_ACEOF
38302 /* end confdefs.h. */
38303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38305 #define $ac_func innocuous_$ac_func
38307 /* System header to define __stub macros and hopefully few prototypes,
38308 which can conflict with char $ac_func (); below.
38309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38310 <limits.h> exists even on freestanding compilers. */
38313 # include <limits.h>
38315 # include <assert.h>
38320 /* Override any GCC internal prototype to avoid an error.
38321 Use char because int might match the return type of a GCC
38322 builtin and then its argument prototype would still apply. */
38327 /* The GNU C library defines this for functions which it implements
38328 to always fail with ENOSYS. Some functions are actually named
38329 something starting with __ and the normal name is an alias. */
38330 #if defined __stub_$ac_func || defined __stub___$ac_func
38337 return $ac_func ();
38342 rm -f conftest.$ac_objext conftest$ac_exeext
38343 if { (ac_try="$ac_link"
38344 case "(($ac_try" in
38345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38346 *) ac_try_echo=$ac_try;;
38348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38349 (eval "$ac_link") 2>conftest.er1
38351 grep -v '^
*+' conftest.er1 >conftest.err
38353 cat conftest.err >&5
38354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38355 (exit $ac_status); } && {
38356 test -z "$ac_c_werror_flag" ||
38357 test ! -s conftest.err
38358 } && test -s conftest$ac_exeext &&
38359 $as_test_x conftest$ac_exeext; then
38360 eval "$as_ac_var=yes"
38362 echo "$as_me: failed program was:" >&5
38363 sed 's
/^
/|
/' conftest.$ac_ext >&5
38365 eval "$as_ac_var=no"
38368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38369 conftest$ac_exeext conftest.$ac_ext
38371 ac_res=`eval echo '${'$as_ac_var'}'`
38372 { echo "$as_me:$LINENO: result: $ac_res" >&5
38373 echo "${ECHO_T}$ac_res" >&6; }
38374 if test `eval echo '${'$as_ac_var'}'` = yes; then
38375 cat >>confdefs.h <<_ACEOF
38376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38378 cat >>confdefs.h <<\_ACEOF
38379 #define BX_HAVE_MVVLINE 1
38388 if test "$with_rfb" = yes; then
38389 # we need the socket function
38392 # is this okay without a check ?
38393 RFB_LIBS="$RFB_LIBS wsock32.lib"
38396 *-pc-winnt* | *-pc-cygwin* | *-pc-mingw32*)
38397 # is this okay without a check ?
38398 RFB_LIBS="$RFB_LIBS -lwsock32"
38403 for ac_func in socket
38405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38406 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38408 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38409 echo $ECHO_N "(cached) $ECHO_C" >&6
38411 cat >conftest.$ac_ext <<_ACEOF
38414 cat confdefs.h >>conftest.$ac_ext
38415 cat >>conftest.$ac_ext <<_ACEOF
38416 /* end confdefs.h. */
38417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38419 #define $ac_func innocuous_$ac_func
38421 /* System header to define __stub macros and hopefully few prototypes,
38422 which can conflict with char $ac_func (); below.
38423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38424 <limits.h> exists even on freestanding compilers. */
38427 # include <limits.h>
38429 # include <assert.h>
38434 /* Override any GCC internal prototype to avoid an error.
38435 Use char because int might match the return type of a GCC
38436 builtin and then its argument prototype would still apply. */
38441 /* The GNU C library defines this for functions which it implements
38442 to always fail with ENOSYS. Some functions are actually named
38443 something starting with __ and the normal name is an alias. */
38444 #if defined __stub_$ac_func || defined __stub___$ac_func
38451 return $ac_func ();
38456 rm -f conftest.$ac_objext conftest$ac_exeext
38457 if { (ac_try="$ac_link"
38458 case "(($ac_try" in
38459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38460 *) ac_try_echo=$ac_try;;
38462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38463 (eval "$ac_link") 2>conftest.er1
38465 grep -v '^
*+' conftest.er1 >conftest.err
38467 cat conftest.err >&5
38468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38469 (exit $ac_status); } && {
38470 test -z "$ac_c_werror_flag" ||
38471 test ! -s conftest.err
38472 } && test -s conftest$ac_exeext &&
38473 $as_test_x conftest$ac_exeext; then
38474 eval "$as_ac_var=yes"
38476 echo "$as_me: failed program was:" >&5
38477 sed 's
/^
/|
/' conftest.$ac_ext >&5
38479 eval "$as_ac_var=no"
38482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38483 conftest$ac_exeext conftest.$ac_ext
38485 ac_res=`eval echo '${'$as_ac_var'}'`
38486 { echo "$as_me:$LINENO: result: $ac_res" >&5
38487 echo "${ECHO_T}$ac_res" >&6; }
38488 if test `eval echo '${'$as_ac_var'}'` = yes; then
38489 cat >>confdefs.h <<_ACEOF
38490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38496 if test "$have_socket" != yes; then
38497 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
38498 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
38499 if test "${ac_cv_lib_socket_socket+set}" = set; then
38500 echo $ECHO_N "(cached) $ECHO_C" >&6
38502 ac_check_lib_save_LIBS=$LIBS
38503 LIBS="-lsocket $LIBS"
38504 cat >conftest.$ac_ext <<_ACEOF
38507 cat confdefs.h >>conftest.$ac_ext
38508 cat >>conftest.$ac_ext <<_ACEOF
38509 /* end confdefs.h. */
38511 /* Override any GCC internal prototype to avoid an error.
38512 Use char because int might match the return type of a GCC
38513 builtin and then its argument prototype would still apply. */
38526 rm -f conftest.$ac_objext conftest$ac_exeext
38527 if { (ac_try="$ac_link"
38528 case "(($ac_try" in
38529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38530 *) ac_try_echo=$ac_try;;
38532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38533 (eval "$ac_link") 2>conftest.er1
38535 grep -v '^
*+' conftest.er1 >conftest.err
38537 cat conftest.err >&5
38538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38539 (exit $ac_status); } && {
38540 test -z "$ac_c_werror_flag" ||
38541 test ! -s conftest.err
38542 } && test -s conftest$ac_exeext &&
38543 $as_test_x conftest$ac_exeext; then
38544 ac_cv_lib_socket_socket=yes
38546 echo "$as_me: failed program was:" >&5
38547 sed 's
/^
/|
/' conftest.$ac_ext >&5
38549 ac_cv_lib_socket_socket=no
38552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38553 conftest$ac_exeext conftest.$ac_ext
38554 LIBS=$ac_check_lib_save_LIBS
38556 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
38557 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
38558 if test $ac_cv_lib_socket_socket = yes; then
38560 RFB_LIBS="$RFB_LIBS -lsocket"
38568 if test "$have_socket" != yes; then
38569 echo 'ERROR
: socket
function required
for RFB compile
'
38574 # The ACX_PTHREAD function was written by
38575 # Steven G. Johnson <stevenj@alum.mit.edu> and
38576 # Alejandro Forero Cuervo <bachue@bachue.com>
38577 # I found it in the ac-archive project on Source Forge.
38585 # First, check if the POSIX threads header, pthread.h, is available.
38586 # If it isn't
, don
't bother looking for the threads libraries.
38587 if test "${ac_cv_header_pthread_h+set}" = set; then
38588 { echo "$as_me:$LINENO: checking for pthread.h" >&5
38589 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
38590 if test "${ac_cv_header_pthread_h+set}" = set; then
38591 echo $ECHO_N "(cached) $ECHO_C" >&6
38593 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
38594 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
38596 # Is the header compilable?
38597 { echo "$as_me:$LINENO: checking pthread.h usability" >&5
38598 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; }
38599 cat >conftest.$ac_ext <<_ACEOF
38602 cat confdefs.h >>conftest.$ac_ext
38603 cat >>conftest.$ac_ext <<_ACEOF
38604 /* end confdefs.h. */
38605 $ac_includes_default
38606 #include <pthread.h>
38608 rm -f conftest.$ac_objext
38609 if { (ac_try="$ac_compile"
38610 case "(($ac_try" in
38611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38612 *) ac_try_echo=$ac_try;;
38614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38615 (eval "$ac_compile") 2>conftest.er1
38617 grep -v '^
*+' conftest.er1 >conftest.err
38619 cat conftest.err >&5
38620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38621 (exit $ac_status); } && {
38622 test -z "$ac_c_werror_flag" ||
38623 test ! -s conftest.err
38624 } && test -s conftest.$ac_objext; then
38625 ac_header_compiler=yes
38627 echo "$as_me: failed program was:" >&5
38628 sed 's
/^
/|
/' conftest.$ac_ext >&5
38630 ac_header_compiler=no
38633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38634 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38635 echo "${ECHO_T}$ac_header_compiler" >&6; }
38637 # Is the header present?
38638 { echo "$as_me:$LINENO: checking pthread.h presence" >&5
38639 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6; }
38640 cat >conftest.$ac_ext <<_ACEOF
38643 cat confdefs.h >>conftest.$ac_ext
38644 cat >>conftest.$ac_ext <<_ACEOF
38645 /* end confdefs.h. */
38646 #include <pthread.h>
38648 if { (ac_try="$ac_cpp conftest.$ac_ext"
38649 case "(($ac_try" in
38650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38651 *) ac_try_echo=$ac_try;;
38653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
38656 grep -v '^
*+' conftest.er1 >conftest.err
38658 cat conftest.err >&5
38659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38660 (exit $ac_status); } >/dev/null && {
38661 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
38662 test ! -s conftest.err
38664 ac_header_preproc=yes
38666 echo "$as_me: failed program was:" >&5
38667 sed 's
/^
/|
/' conftest.$ac_ext >&5
38669 ac_header_preproc=no
38672 rm -f conftest.err conftest.$ac_ext
38673 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38674 echo "${ECHO_T}$ac_header_preproc" >&6; }
38676 # So? What about this header?
38677 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38679 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
38680 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
38681 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result
" >&5
38682 echo "$as_me: WARNING
: pthread.h
: proceeding with the compiler
's result" >&2;}
38683 ac_header_preproc=yes
38686 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
38687 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
38688 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
38689 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
38690 { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
38691 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
38692 { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
38693 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
38694 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result
" >&5
38695 echo "$as_me: WARNING
: pthread.h
: proceeding with the preprocessor
's result" >&2;}
38696 { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
38697 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
38701 { echo "$as_me:$LINENO: checking for pthread.h" >&5
38702 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
38703 if test "${ac_cv_header_pthread_h+set}" = set; then
38704 echo $ECHO_N "(cached) $ECHO_C" >&6
38706 ac_cv_header_pthread_h=$ac_header_preproc
38708 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
38709 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
38712 if test $ac_cv_header_pthread_h = yes; then
38715 acx_pthread_ok=noheader
38720 # We must check for the threads library under a number of different
38721 # names; the ordering is very important because some systems
38722 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
38723 # libraries is broken (non-POSIX).
38725 # First of all, check if the user has set any of the PTHREAD_LIBS,
38726 # etcetera environment variables, and if threads linking works using
38728 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
38729 save_CFLAGS="$CFLAGS"
38730 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
38731 CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
38733 LIBS="$PTHREAD_LIBS $LIBS"
38734 { echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
38735 echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6; }
38736 cat >conftest.$ac_ext <<_ACEOF
38739 cat confdefs.h >>conftest.$ac_ext
38740 cat >>conftest.$ac_ext <<_ACEOF
38741 /* end confdefs.h. */
38743 /* Override any GCC internal prototype to avoid an error.
38744 Use char because int might match the return type of a GCC
38745 builtin and then its argument prototype would still apply. */
38749 char pthread_join ();
38753 return pthread_join ();
38758 rm -f conftest.$ac_objext conftest$ac_exeext
38759 if { (ac_try="$ac_link"
38760 case "(($ac_try" in
38761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38762 *) ac_try_echo=$ac_try;;
38764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38765 (eval "$ac_link") 2>conftest.er1
38767 grep -v '^
*+' conftest.er1 >conftest.err
38769 cat conftest.err >&5
38770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38771 (exit $ac_status); } && {
38772 test -z "$ac_c_werror_flag" ||
38773 test ! -s conftest.err
38774 } && test -s conftest$ac_exeext &&
38775 $as_test_x conftest$ac_exeext; then
38778 echo "$as_me: failed program was:" >&5
38779 sed 's
/^
/|
/' conftest.$ac_ext >&5
38784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38785 conftest$ac_exeext conftest.$ac_ext
38786 { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
38787 echo "${ECHO_T}$acx_pthread_ok" >&6; }
38788 if test x"$acx_pthread_ok" = xno; then
38793 CFLAGS="$save_CFLAGS"
38796 # Create a list of thread flags to try. Items starting with a "-" are
38797 # C compiler flags, and other items are library names, except for "none"
38798 # which indicates that we try without any flags at all.
38800 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt"
38802 # The ordering *is* (sometimes) important. Some notes on the
38803 # individual items follow:
38805 # pthreads: AIX (must check this before -lpthread)
38806 # none: in case threads are in libc; should be tried before -Kthread and
38807 # other compiler flags to prevent continual compiler warnings
38808 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
38809 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
38810 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
38811 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
38812 # -pthreads: Solaris/gcc
38813 # -mthreads: Mingw32/gcc, Lynx/gcc
38814 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
38815 # doesn't hurt to check since this sometimes defines pthreads too
;
38816 # also defines -D_REENTRANT)
38817 # pthread: Linux, etcetera
38818 # --thread-safe: KAI C++
38820 case "${host_cpu}-${host_os}" in
38823 # On Solaris (at least, for some versions), libc contains stubbed
38824 # (non-functional) versions of the pthreads routines, so link-based
38825 # tests will erroneously succeed. (We need to link with -pthread or
38826 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
38827 # a function called by this macro, so we could check for that, but
38828 # who knows whether they'll stub that too in a future libc.) So,
38829 # we'll just look for -pthreads and -lpthread first:
38831 acx_pthread_flags
="-pthread -pthreads pthread -mt $acx_pthread_flags"
38835 if test x
"$acx_pthread_ok" = xno
; then
38836 for flag
in $acx_pthread_flags; do
38840 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38841 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38845 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38846 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38847 PTHREAD_CFLAGS
="$flag"
38851 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38852 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38853 PTHREAD_LIBS
="-l$flag"
38858 save_CFLAGS
="$CFLAGS"
38859 LIBS
="$PTHREAD_LIBS $LIBS"
38860 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
38862 # Check for various functions. We must include pthread.h,
38863 # since some functions may be macros. (On the Sequent, we
38864 # need a special flag -Kthread to make this header compile.)
38865 # We check for pthread_join because it is in -lpthread on IRIX
38866 # while pthread_create is in libc. We check for pthread_attr_init
38867 # due to DEC craziness with -lpthreads. We check for
38868 # pthread_cleanup_push because it is one of the few pthread
38869 # functions on Solaris that doesn't have a non-functional libc stub.
38870 # We try pthread_create on general principles.
38871 cat >conftest.
$ac_ext <<_ACEOF
38874 cat confdefs.h
>>conftest.
$ac_ext
38875 cat >>conftest.
$ac_ext <<_ACEOF
38876 /* end confdefs.h. */
38877 #include <pthread.h>
38881 pthread_t th; pthread_join(th, 0);
38882 pthread_attr_init(0); pthread_cleanup_push(0, 0);
38883 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
38888 rm -f conftest.
$ac_objext conftest
$ac_exeext
38889 if { (ac_try
="$ac_link"
38890 case "(($ac_try" in
38891 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
38892 *) ac_try_echo=$ac_try;;
38894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38895 (eval "$ac_link") 2>conftest.er1
38897 grep -v '^ *+' conftest.er1 >conftest.err
38899 cat conftest.err >&5
38900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38901 (exit $ac_status); } && {
38902 test -z "$ac_c_werror_flag" ||
38903 test ! -s conftest.err
38904 } && test -s conftest$ac_exeext &&
38905 $as_test_x conftest$ac_exeext; then
38908 echo "$as_me: failed program was:" >&5
38909 sed 's/^/| /' conftest.$ac_ext >&5
38914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38915 conftest$ac_exeext conftest.$ac_ext
38918 CFLAGS="$save_CFLAGS"
38920 { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
38921 echo "${ECHO_T}$acx_pthread_ok" >&6; }
38922 if test "x$acx_pthread_ok" = xyes; then
38931 # Various other checks:
38932 if test "x$acx_pthread_ok" = xyes; then
38934 LIBS="$PTHREAD_LIBS $LIBS"
38935 save_CFLAGS="$CFLAGS"
38936 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
38938 # Detect AIX lossage: threads are created detached by default
38939 # and the JOINABLE attribute has a nonstandard name (UNDETACHED).
38940 { echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
38941 echo $ECHO_N "checking for joinable pthread attribute... $ECHO_C" >&6; }
38942 cat >conftest.$ac_ext <<_ACEOF
38945 cat confdefs.h >>conftest.$ac_ext
38946 cat >>conftest.$ac_ext <<_ACEOF
38947 /* end confdefs.h. */
38948 #include <pthread.h>
38952 int attr=PTHREAD_CREATE_JOINABLE;
38957 rm -f conftest.$ac_objext conftest$ac_exeext
38958 if { (ac_try="$ac_link"
38959 case "(($ac_try" in
38960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
38961 *) ac_try_echo
=$ac_try;;
38963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38964 (eval "$ac_link") 2>conftest.er1
38966 grep -v '^ *+' conftest.er1
>conftest.err
38968 cat conftest.err
>&5
38969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38970 (exit $ac_status); } && {
38971 test -z "$ac_c_werror_flag" ||
38972 test ! -s conftest.err
38973 } && test -s conftest
$ac_exeext &&
38974 $as_test_x conftest
$ac_exeext; then
38975 ok
=PTHREAD_CREATE_JOINABLE
38977 echo "$as_me: failed program was:" >&5
38978 sed 's/^/| /' conftest.
$ac_ext >&5
38983 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38984 conftest
$ac_exeext conftest.
$ac_ext
38985 if test x
"$ok" = xunknown
; then
38986 cat >conftest.
$ac_ext <<_ACEOF
38989 cat confdefs.h
>>conftest.
$ac_ext
38990 cat >>conftest.
$ac_ext <<_ACEOF
38991 /* end confdefs.h. */
38992 #include <pthread.h>
38996 int attr=PTHREAD_CREATE_UNDETACHED;
39001 rm -f conftest.
$ac_objext conftest
$ac_exeext
39002 if { (ac_try
="$ac_link"
39003 case "(($ac_try" in
39004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
39005 *) ac_try_echo=$ac_try;;
39007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39008 (eval "$ac_link") 2>conftest.er1
39010 grep -v '^ *+' conftest.er1 >conftest.err
39012 cat conftest.err >&5
39013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39014 (exit $ac_status); } && {
39015 test -z "$ac_c_werror_flag" ||
39016 test ! -s conftest.err
39017 } && test -s conftest$ac_exeext &&
39018 $as_test_x conftest$ac_exeext; then
39019 ok=PTHREAD_CREATE_UNDETACHED
39021 echo "$as_me: failed program was:" >&5
39022 sed 's/^/| /' conftest.$ac_ext >&5
39027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39028 conftest$ac_exeext conftest.$ac_ext
39030 if test x"$ok" != xPTHREAD_CREATE_JOINABLE; then
39032 cat >>confdefs.h <<\_ACEOF
39033 #define PTHREAD_CREATE_JOINABLE $ok
39037 { echo "$as_me:$LINENO: result: ${ok}" >&5
39038 echo "${ECHO_T}${ok}" >&6; }
39039 if test x"$ok" = xunknown; then
39040 { echo "$as_me:$LINENO: WARNING: we do not know how to create joinable pthreads" >&5
39041 echo "$as_me: WARNING: we do not know how to create joinable pthreads" >&2;}
39044 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39045 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39047 case "${host_cpu}-${host_os}" in
39048 *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
39049 *solaris* | alpha*-osf*) flag="-D_REENTRANT";;
39051 { echo "$as_me:$LINENO: result: ${flag}" >&5
39052 echo "${ECHO_T}${flag}" >&6; }
39053 if test "x$flag" != xno; then
39054 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
39058 CFLAGS="$save_CFLAGS"
39060 # More AIX lossage: must compile with cc_r
39061 # Extract the first word of "cc_r", so it can be a program name with args.
39062 set dummy cc_r; ac_word=$2
39063 { echo "$as_me:$LINENO: checking for $ac_word" >&5
39064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
39065 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
39066 echo $ECHO_N "(cached) $ECHO_C" >&6
39068 if test -n "$PTHREAD_CC"; then
39069 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
39071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39072 for as_dir in $PATH
39075 test -z "$as_dir" && as_dir=.
39076 for ac_exec_ext in '' $ac_executable_extensions; do
39077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39078 ac_cv_prog_PTHREAD_CC="cc_r"
39079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39086 test -z "$ac_cv_prog_PTHREAD_CC" && ac_cv_prog_PTHREAD_CC="${CC}"
39089 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
39090 if test -n "$PTHREAD_CC"; then
39091 { echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
39092 echo "${ECHO_T}$PTHREAD_CC" >&6; }
39094 { echo "$as_me:$LINENO: result: no" >&5
39095 echo "${ECHO_T}no" >&6; }
39107 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
39108 if test x"$acx_pthread_ok" = xyes; then
39111 #echo Using PTHREAD_LIBS=$PTHREAD_LIBS
39112 #echo Using PTHREAD_CFLAGS=$PTHREAD_CFLAGS
39113 #echo Using PTHREAD_CC=$PTHREAD_CC
39124 # since RFB (usually) needs pthread library, check that it was found.
39125 # But on win32 platforms, the pthread library is not needed.
39126 if test "$with_rfb" = yes -a "$cross_configure" = 0; then
39127 if test "$pthread_ok" = yes; then
39128 RFB_LIBS="$RFB_LIBS $PTHREAD_LIBS"
39129 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
39130 CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
39134 *-pc-windows* | *-pc-winnt* | *-cygwin* | *-mingw*)
39135 # pthread not needed for win32 platform
39138 echo ERROR: --with-rfb requires the pthread library, which could not be found.; exit 1
39144 { echo "$as_me:$LINENO: checking for magic breakpoints (deprecated)" >&5
39145 echo $ECHO_N "checking for magic breakpoints (deprecated)... $ECHO_C" >&6; }
39146 # Check whether --enable-magic-breakpoints was given.
39147 if test "${enable_magic_breakpoints+set}" = set; then
39148 enableval=$enable_magic_breakpoints; { echo "$as_me:$LINENO: result: $enableval" >&5
39149 echo "${ECHO_T}$enableval" >&6; }
39150 { { echo "$as_me:$LINENO: error: DEPRECATED - magic breakpoints are always enabled with Bochs internal debugger" >&5
39151 echo "$as_me: error: DEPRECATED - magic breakpoints are always enabled with Bochs internal debugger" >&2;}
39152 { (exit 1); exit 1; }; }
39156 { echo "$as_me:$LINENO: result: no" >&5
39157 echo "${ECHO_T}no" >&6; }
39162 { echo "$as_me:$LINENO: checking for save/restore (deprecated)" >&5
39163 echo $ECHO_N "checking for save/restore (deprecated)... $ECHO_C" >&6; }
39164 # Check whether --enable-save-restore was given.
39165 if test "${enable_save_restore+set}" = set; then
39166 enableval=$enable_save_restore; { echo "$as_me:$LINENO: result: $enableval" >&5
39167 echo "${ECHO_T}$enableval" >&6; }
39168 { { echo "$as_me:$LINENO: error: DEPRECATED - save/restore feature is always enabled" >&5
39169 echo "$as_me: error: DEPRECATED - save/restore feature is always enabled" >&2;}
39170 { (exit 1); exit 1; }; }
39174 { echo "$as_me:$LINENO: result: no" >&5
39175 echo "${ECHO_T}no" >&6; }
39180 # Create some subdirectories for when you run configure from some other
39182 if test ! -d instrument; then mkdir instrument; fi
39183 if test ! -d build; then mkdir build; fi
39184 if test ! -d build/linux; then mkdir build/linux; fi
39185 if test ! -d build/win32; then mkdir build/win32; fi
39186 if test ! -d build/win32/nsis; then mkdir build/win32/nsis; fi
39226 # Extract the first word of "gzip", so it can be a program name with args.
39227 set dummy gzip; ac_word=$2
39228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
39229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
39230 if test "${ac_cv_path_GZIP+set}" = set; then
39231 echo $ECHO_N "(cached) $ECHO_C" >&6
39235 ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path.
39238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39239 for as_dir in $PATH
39242 test -z "$as_dir" && as_dir=.
39243 for ac_exec_ext in '' $ac_executable_extensions; do
39244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39245 ac_cv_path_GZIP="$as_dir/$ac_word$ac_exec_ext"
39246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39256 GZIP=$ac_cv_path_GZIP
39257 if test -n "$GZIP"; then
39258 { echo "$as_me:$LINENO: result: $GZIP" >&5
39259 echo "${ECHO_T}$GZIP" >&6; }
39261 { echo "$as_me:$LINENO: result: no" >&5
39262 echo "${ECHO_T}no" >&6; }
39266 # Extract the first word of "tar", so it can be a program name with args.
39267 set dummy tar; ac_word=$2
39268 { echo "$as_me:$LINENO: checking for $ac_word" >&5
39269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
39270 if test "${ac_cv_path_TAR+set}" = set; then
39271 echo $ECHO_N "(cached) $ECHO_C" >&6
39275 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
39278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39279 for as_dir in $PATH
39282 test -z "$as_dir" && as_dir=.
39283 for ac_exec_ext in '' $ac_executable_extensions; do
39284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39285 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
39286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39296 TAR=$ac_cv_path_TAR
39297 if test -n "$TAR"; then
39298 { echo "$as_me:$LINENO: result: $TAR" >&5
39299 echo "${ECHO_T}$TAR" >&6; }
39301 { echo "$as_me:$LINENO: result: no" >&5
39302 echo "${ECHO_T}no" >&6; }
39307 ac_config_files="$ac_config_files Makefile iodev/Makefile bx_debug/Makefile bios/Makefile cpu/Makefile memory/Makefile gui/Makefile disasm/Makefile ${INSTRUMENT_DIR}/Makefile misc/Makefile fpu/Makefile doc/docbook/Makefile build/linux/bochs-dlx bxversion.h bxversion.rc build/macosx/Info.plist build/win32/nsis/Makefile build/win32/nsis/bochs.nsi host/linux/pcidev/Makefile"
39309 cat >confcache <<\_ACEOF
39310 # This file is a shell script that caches the results of configure
39311 # tests run on this system so they can be shared between configure
39312 # scripts and configure runs, see configure's option --config-cache.
39313 # It is not useful on other systems. If it contains results you don't
39314 # want to keep, you may remove or edit it.
39316 # config.status only pays attention to the cache file if you give it
39317 # the --recheck option to rerun configure.
39319 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
39320 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39321 # following values.
39325 # The following way of writing the cache mishandles newlines in values,
39326 # but we know of no workaround that is simple, portable, and efficient.
39327 # So, we kill variables containing newlines.
39328 # Ultrix sh set writes to stderr and can't be redirected directly,
39329 # and sets the high bit in the cache file unless we assign to the vars.
39331 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39332 eval ac_val
=\$
$ac_var
39336 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39337 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39340 _ | IFS | as_nl
) ;; #(
39341 *) $as_unset $ac_var ;;
39347 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39348 *${as_nl}ac_space
=\
*)
39349 # `set' does not quote correctly, so add quotes (double-quote
39350 # substitution turns \\\\ into \\, and sed turns \\ into \).
39353 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39356 # `set' quotes correctly as required by POSIX, so do not add quotes.
39357 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39366 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39368 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39370 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
39371 if test -w "$cache_file"; then
39372 test "x$cache_file" != "x/dev/null" &&
39373 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39374 echo "$as_me: updating cache $cache_file" >&6;}
39375 cat confcache
>$cache_file
39377 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39378 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39383 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
39384 # Let make expand exec_prefix.
39385 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
39387 DEFS
=-DHAVE_CONFIG_H
39391 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
39392 # 1. Remove the extension, and $U if already installed.
39393 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
39394 ac_i
=`echo "$ac_i" | sed "$ac_script"`
39395 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
39396 # will be set to the directory where LIBOBJS objects are built.
39397 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
39398 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
39400 LIBOBJS
=$ac_libobjs
39402 LTLIBOBJS
=$ac_ltlibobjs
39406 : ${CONFIG_STATUS=./config.status}
39407 ac_clean_files_save
=$ac_clean_files
39408 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
39409 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
39410 echo "$as_me: creating $CONFIG_STATUS" >&6;}
39411 cat >$CONFIG_STATUS <<_ACEOF
39413 # Generated by $as_me.
39414 # Run this file to recreate the current configuration.
39415 # Compiler output produced by configure, useful for debugging
39416 # configure, is in config.log if it exists.
39419 ac_cs_recheck=false
39421 SHELL=\${CONFIG_SHELL-$SHELL}
39424 cat >>$CONFIG_STATUS <<\_ACEOF
39425 ## --------------------- ##
39426 ## M4sh Initialization. ##
39427 ## --------------------- ##
39429 # Be more Bourne compatible
39430 DUALCASE
=1; export DUALCASE
# for MKS sh
39431 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
39434 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
39435 # is contrary to our usage. Disable this feature.
39436 alias -g '${1+"$@"}'='"$@"'
39437 setopt NO_GLOB_SUBST
39439 case `(set -o) 2>/dev/null` in
39440 *posix
*) set -o posix
;;
39449 # Avoid depending upon Character Ranges.
39450 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
39451 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39452 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39453 as_cr_digits
='0123456789'
39454 as_cr_alnum
=$as_cr_Letters$as_cr_digits
39456 # The user is always right.
39457 if test "${PATH_SEPARATOR+set}" != set; then
39458 echo "#! /bin/sh" >conf$$.sh
39459 echo "exit 0" >>conf$$.sh
39461 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
39469 # Support unset when possible.
39470 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
39478 # We need space, tab and new line, in precisely that order. Quoting is
39479 # there to prevent editors from complaining about space-tab.
39480 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
39481 # splitting by setting IFS to empty value.)
39486 # Find who we are. Look in the path if we contain no directory separator.
39488 *[\\/]* ) as_myself
=$0 ;;
39489 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39490 for as_dir
in $PATH
39493 test -z "$as_dir" && as_dir
=.
39494 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
39500 # We did not find ourselves, most probably we were run as `sh COMMAND'
39501 # in which case we are not to be found in the path.
39502 if test "x$as_myself" = x
; then
39505 if test ! -f "$as_myself"; then
39506 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
39507 { (exit 1); exit 1; }
39510 # Work around bugs in pre-3.0 UWIN ksh.
39511 for as_var
in ENV MAIL MAILPATH
39512 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
39520 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
39521 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
39522 LC_TELEPHONE LC_TIME
39524 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
39525 eval $as_var=C
; export $as_var
39527 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
39531 # Required to use basename.
39532 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
39533 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
39539 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
39540 as_basename
=basename
39546 # Name of the executable.
39547 as_me
=`$as_basename -- "$0" ||
39548 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
39549 X"$0" : 'X\(//\)$' \| \
39550 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
39552 sed '/^.*\/\([^/][^/]*\)\/*$/{
39571 as_lineno_1
=$LINENO
39572 as_lineno_2
=$LINENO
39573 test "x$as_lineno_1" != "x$as_lineno_2" &&
39574 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
39576 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
39577 # uniformly replaced by the line number. The first 'sed' inserts a
39578 # line-number line after each line using $LINENO; the second 'sed'
39579 # does the real work. The second script uses 'N' to pair each
39580 # line-number line with the line containing $LINENO, and appends
39581 # trailing '-' during substitution so that $LINENO is not a special
39582 # case at line end.
39583 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
39584 # scripts with optimization help from Paolo Bonzini. Blame Lee
39585 # E. McMahon (1931-1989) for sed's syntax. :-)
39597 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
39600 ' >$as_me.lineno
&&
39601 chmod +x
"$as_me.lineno" ||
39602 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
39603 { (exit 1); exit 1; }; }
39605 # Don't try to exec as it changes $[0], causing all sort of problems
39606 # (the dirname of $[0] is not the place where we might find the
39607 # original and so on. Autoconf is especially sensitive to this).
39608 .
"./$as_me.lineno"
39609 # Exit status is that of the last command.
39614 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
39620 ECHO_C
= ECHO_N
= ECHO_T
=
39621 case `echo -n x` in
39623 case `echo 'x\c'` in
39624 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
39631 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
39632 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
39638 rm -f conf$$ conf$$.exe conf$$.
file
39639 if test -d conf$$.dir
; then
39640 rm -f conf$$.dir
/conf$$.
file
39646 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
39648 # ... but there are two gotchas:
39649 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
39650 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
39651 # In both cases, we have to default to `cp -p'.
39652 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
39654 elif ln conf$$.
file conf$$
2>/dev
/null
; then
39659 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
39660 rmdir conf$$.dir
2>/dev
/null
39662 if mkdir
-p .
2>/dev
/null
; then
39665 test -d .
/-p && rmdir .
/-p
39669 if test -x / >/dev
/null
2>&1; then
39670 as_test_x
='test -x'
39672 if ls -dL / >/dev
/null
2>&1; then
39679 if test -d "$1"; then
39685 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
39686 ???[sx]*):;;*)false;;esac;fi
39690 as_executable_p
=$as_test_x
39692 # Sed expression to map a string onto a valid CPP name.
39693 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
39695 # Sed expression to map a string onto a valid variable name.
39696 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
39701 # Save the log message, to keep $[0] and so on meaningful, and to
39702 # report actual input values of CONFIG_FILES etc. instead of their
39703 # values after options handling.
39705 This file was extended by $as_me, which was
39706 generated by GNU Autoconf 2.61. Invocation command line was
39708 CONFIG_FILES = $CONFIG_FILES
39709 CONFIG_HEADERS = $CONFIG_HEADERS
39710 CONFIG_LINKS = $CONFIG_LINKS
39711 CONFIG_COMMANDS = $CONFIG_COMMANDS
39714 on `(hostname || uname -n) 2>/dev/null | sed 1q`
39719 cat >>$CONFIG_STATUS <<_ACEOF
39720 # Files that config.status was made for.
39721 config_files="$ac_config_files"
39722 config_headers="$ac_config_headers"
39726 cat >>$CONFIG_STATUS <<\_ACEOF
39728 \`$as_me' instantiates files from templates according to the
39729 current configuration.
39731 Usage: $0 [OPTIONS] [FILE]...
39733 -h, --help print this help, then exit
39734 -V, --version print version number and configuration settings, then exit
39735 -q, --quiet do not print progress messages
39736 -d, --debug don't remove temporary files
39737 --recheck update $as_me by reconfiguring in the same conditions
39738 --file=FILE[:TEMPLATE]
39739 instantiate the configuration file FILE
39740 --header=FILE[:TEMPLATE]
39741 instantiate the configuration header FILE
39743 Configuration files:
39746 Configuration headers:
39749 Report bugs to <bug-autoconf@gnu.org>."
39752 cat >>$CONFIG_STATUS <<_ACEOF
39755 configured by $0, generated by GNU Autoconf 2.61,
39756 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
39758 Copyright (C) 2006 Free Software Foundation, Inc.
39759 This config.status script is free software; the Free Software Foundation
39760 gives unlimited permission to copy, distribute and modify it."
39766 cat >>$CONFIG_STATUS <<\_ACEOF
39767 # If no file are specified by the user, then we need to provide default
39768 # value. By we need to know if files were specified by the user.
39774 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
39775 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
39786 # Handling of the options.
39787 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
39789 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
39790 echo "$ac_cs_version"; exit ;;
39791 --debug |
--debu |
--deb |
--de |
--d |
-d )
39793 --file |
--fil |
--fi |
--f )
39795 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
39796 ac_need_defaults
=false
;;
39797 --header |
--heade |
--head |
--hea )
39799 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
39800 ac_need_defaults
=false
;;
39802 # Conflict between --help and --header
39803 { echo "$as_me: error: ambiguous option: $1
39804 Try \`$0 --help' for more information." >&2
39805 { (exit 1); exit 1; }; };;
39806 --help |
--hel |
-h )
39807 echo "$ac_cs_usage"; exit ;;
39808 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
39809 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
39812 # This is an error.
39813 -*) { echo "$as_me: error: unrecognized option: $1
39814 Try \`$0 --help' for more information." >&2
39815 { (exit 1); exit 1; }; } ;;
39817 *) ac_config_targets
="$ac_config_targets $1"
39818 ac_need_defaults
=false
;;
39824 ac_configure_extra_args
=
39826 if $ac_cs_silent; then
39828 ac_configure_extra_args
="$ac_configure_extra_args --silent"
39832 cat >>$CONFIG_STATUS <<_ACEOF
39833 if \$ac_cs_recheck; then
39834 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
39835 CONFIG_SHELL=$SHELL
39836 export CONFIG_SHELL
39837 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
39841 cat >>$CONFIG_STATUS <<\_ACEOF
39845 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
39846 ## Running $as_me. ##
39852 cat >>$CONFIG_STATUS <<_ACEOF
39855 cat >>$CONFIG_STATUS <<\_ACEOF
39857 # Handling of arguments.
39858 for ac_config_target
in $ac_config_targets
39860 case $ac_config_target in
39861 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
39862 "ltdlconf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ltdlconf.h" ;;
39863 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
39864 "iodev/Makefile") CONFIG_FILES
="$CONFIG_FILES iodev/Makefile" ;;
39865 "bx_debug/Makefile") CONFIG_FILES
="$CONFIG_FILES bx_debug/Makefile" ;;
39866 "bios/Makefile") CONFIG_FILES
="$CONFIG_FILES bios/Makefile" ;;
39867 "cpu/Makefile") CONFIG_FILES
="$CONFIG_FILES cpu/Makefile" ;;
39868 "memory/Makefile") CONFIG_FILES
="$CONFIG_FILES memory/Makefile" ;;
39869 "gui/Makefile") CONFIG_FILES
="$CONFIG_FILES gui/Makefile" ;;
39870 "disasm/Makefile") CONFIG_FILES
="$CONFIG_FILES disasm/Makefile" ;;
39871 "${INSTRUMENT_DIR}/Makefile") CONFIG_FILES
="$CONFIG_FILES ${INSTRUMENT_DIR}/Makefile" ;;
39872 "misc/Makefile") CONFIG_FILES
="$CONFIG_FILES misc/Makefile" ;;
39873 "fpu/Makefile") CONFIG_FILES
="$CONFIG_FILES fpu/Makefile" ;;
39874 "doc/docbook/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/docbook/Makefile" ;;
39875 "build/linux/bochs-dlx") CONFIG_FILES
="$CONFIG_FILES build/linux/bochs-dlx" ;;
39876 "bxversion.h") CONFIG_FILES
="$CONFIG_FILES bxversion.h" ;;
39877 "bxversion.rc") CONFIG_FILES
="$CONFIG_FILES bxversion.rc" ;;
39878 "build/macosx/Info.plist") CONFIG_FILES
="$CONFIG_FILES build/macosx/Info.plist" ;;
39879 "build/win32/nsis/Makefile") CONFIG_FILES
="$CONFIG_FILES build/win32/nsis/Makefile" ;;
39880 "build/win32/nsis/bochs.nsi") CONFIG_FILES
="$CONFIG_FILES build/win32/nsis/bochs.nsi" ;;
39881 "host/linux/pcidev/Makefile") CONFIG_FILES
="$CONFIG_FILES host/linux/pcidev/Makefile" ;;
39883 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
39884 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
39885 { (exit 1); exit 1; }; };;
39890 # If the user did not use the arguments to specify the items to instantiate,
39891 # then the envvar interface is used. Set only those that are not.
39892 # We use the long form for the default assignment because of an extremely
39893 # bizarre bug on SunOS 4.1.3.
39894 if $ac_need_defaults; then
39895 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
39896 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
39899 # Have a temporary directory for convenience. Make it in the build tree
39900 # simply because there is no reason against having it here, and in addition,
39901 # creating and moving files from /tmp can sometimes cause problems.
39902 # Hook for its removal unless debugging.
39903 # Note that there is a small window in which the directory will not be cleaned:
39904 # after its creation but before its name has been assigned to `$tmp'.
39908 trap 'exit_status=$?
39909 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
39911 trap '{ (exit 1); exit 1; }' 1 2 13 15
39913 # Create a (secure) tmp directory for tmp files.
39916 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
39917 test -n "$tmp" && test -d "$tmp"
39920 tmp
=.
/conf$$
-$RANDOM
39921 (umask 077 && mkdir
"$tmp")
39924 echo "$me: cannot create a temporary directory in ." >&2
39925 { (exit 1); exit 1; }
39929 # Set up the sed scripts for CONFIG_FILES section.
39932 # No need to generate the scripts if there are no CONFIG_FILES.
39933 # This happens for instance when ./config.status config.h
39934 if test -n "$CONFIG_FILES"; then
39941 for ac_last_try
in false false false false false
:; do
39942 cat >conf$
$subs.
sed <<_ACEOF
39943 SHELL!$SHELL$ac_delim
39944 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
39945 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
39946 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
39947 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
39948 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
39949 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
39950 exec_prefix!$exec_prefix$ac_delim
39951 prefix!$prefix$ac_delim
39952 program_transform_name!$program_transform_name$ac_delim
39953 bindir!$bindir$ac_delim
39954 sbindir!$sbindir$ac_delim
39955 libexecdir!$libexecdir$ac_delim
39956 datarootdir!$datarootdir$ac_delim
39957 datadir!$datadir$ac_delim
39958 sysconfdir!$sysconfdir$ac_delim
39959 sharedstatedir!$sharedstatedir$ac_delim
39960 localstatedir!$localstatedir$ac_delim
39961 includedir!$includedir$ac_delim
39962 oldincludedir!$oldincludedir$ac_delim
39963 docdir!$docdir$ac_delim
39964 infodir!$infodir$ac_delim
39965 htmldir!$htmldir$ac_delim
39966 dvidir!$dvidir$ac_delim
39967 pdfdir!$pdfdir$ac_delim
39968 psdir!$psdir$ac_delim
39969 libdir!$libdir$ac_delim
39970 localedir!$localedir$ac_delim
39971 mandir!$mandir$ac_delim
39972 DEFS!$DEFS$ac_delim
39973 ECHO_C!$ECHO_C$ac_delim
39974 ECHO_N!$ECHO_N$ac_delim
39975 ECHO_T!$ECHO_T$ac_delim
39976 LIBS!$LIBS$ac_delim
39977 build_alias!$build_alias$ac_delim
39978 host_alias!$host_alias$ac_delim
39979 target_alias!$target_alias$ac_delim
39980 build!$build$ac_delim
39981 build_cpu!$build_cpu$ac_delim
39982 build_vendor!$build_vendor$ac_delim
39983 build_os!$build_os$ac_delim
39984 host!$host$ac_delim
39985 host_cpu!$host_cpu$ac_delim
39986 host_vendor!$host_vendor$ac_delim
39987 host_os!$host_os$ac_delim
39988 target!$target$ac_delim
39989 target_cpu!$target_cpu$ac_delim
39990 target_vendor!$target_vendor$ac_delim
39991 target_os!$target_os$ac_delim
39993 CFLAGS!$CFLAGS$ac_delim
39994 LDFLAGS!$LDFLAGS$ac_delim
39995 CPPFLAGS!$CPPFLAGS$ac_delim
39996 ac_ct_CC!$ac_ct_CC$ac_delim
39997 EXEEXT!$EXEEXT$ac_delim
39998 OBJEXT!$OBJEXT$ac_delim
40000 CXXFLAGS!$CXXFLAGS$ac_delim
40001 ac_ct_CXX!$ac_ct_CXX$ac_delim
40002 SET_MAKE!$SET_MAKE$ac_delim
40003 GREP!$GREP$ac_delim
40004 EGREP!$EGREP$ac_delim
40005 LN_S!$LN_S$ac_delim
40006 ECHO!$ECHO$ac_delim
40008 RANLIB!$RANLIB$ac_delim
40009 STRIP!$STRIP$ac_delim
40011 CXXCPP!$CXXCPP$ac_delim
40013 FFLAGS!$FFLAGS$ac_delim
40014 ac_ct_F77!$ac_ct_F77$ac_delim
40015 LIBTOOL!$LIBTOOL$ac_delim
40016 LIBADD_DL!$LIBADD_DL$ac_delim
40017 XMKMF!$XMKMF$ac_delim
40018 X_CFLAGS!$X_CFLAGS$ac_delim
40019 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
40020 X_LIBS!$X_LIBS$ac_delim
40021 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
40022 BX_USE_IDLE_HACK!$BX_USE_IDLE_HACK$ac_delim
40023 DEFINE_PLUGIN_PATH!$DEFINE_PLUGIN_PATH$ac_delim
40024 NONPLUGIN_GUI_LINK_OPTS!$NONPLUGIN_GUI_LINK_OPTS$ac_delim
40025 OBJS64!$OBJS64$ac_delim
40026 IOAPIC_OBJS!$IOAPIC_OBJS$ac_delim
40027 BX_COMPRESSED_HD_SUPPORT!$BX_COMPRESSED_HD_SUPPORT$ac_delim
40028 NE2K_OBJS!$NE2K_OBJS$ac_delim
40029 BX_SUPPORT_ACPI!$BX_SUPPORT_ACPI$ac_delim
40030 PCI_OBJ!$PCI_OBJ$ac_delim
40031 KERNELDIR!$KERNELDIR$ac_delim
40032 LSMOD!$LSMOD$ac_delim
40033 INSMOD!$INSMOD$ac_delim
40034 RMMOD!$RMMOD$ac_delim
40035 DEPMOD!$DEPMOD$ac_delim
40036 PCIDEV_MODULE_MAKE_ALL!$PCIDEV_MODULE_MAKE_ALL$ac_delim
40037 KERNEL_MODULE_SUFFIX!$KERNEL_MODULE_SUFFIX$ac_delim
40038 USBDEV_OBJS!$USBDEV_OBJS$ac_delim
40039 SCSI_OBJS!$SCSI_OBJS$ac_delim
40042 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
40044 elif $ac_last_try; then
40045 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
40046 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
40047 { (exit 1); exit 1; }; }
40049 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
40053 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
40054 if test -n "$ac_eof"; then
40055 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
40056 ac_eof
=`expr $ac_eof + 1`
40059 cat >>$CONFIG_STATUS <<_ACEOF
40060 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
40061 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
40064 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
40065 s/^/s,@/; s/!/@,|#_!!_#|/
40068 s/'"$ac_delim"'$/,g/; t
40070 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
40071 ' >>$CONFIG_STATUS <conf$
$subs.
sed
40072 rm -f conf$
$subs.
sed
40073 cat >>$CONFIG_STATUS <<_ACEOF
40079 for ac_last_try
in false false false false false
:; do
40080 cat >conf$
$subs.
sed <<_ACEOF
40081 NETLOW_OBJS!$NETLOW_OBJS$ac_delim
40082 SUFFIX_LINE!$SUFFIX_LINE$ac_delim
40083 CPP_SUFFIX!$CPP_SUFFIX$ac_delim
40084 DEBUGGER_VAR!$DEBUGGER_VAR$ac_delim
40085 BX_EXTERNAL_DEBUGGER!$BX_EXTERNAL_DEBUGGER$ac_delim
40086 DISASM_VAR!$DISASM_VAR$ac_delim
40087 READLINE_LIB!$READLINE_LIB$ac_delim
40088 INSTRUMENT_DIR!$INSTRUMENT_DIR$ac_delim
40089 INSTRUMENT_VAR!$INSTRUMENT_VAR$ac_delim
40090 FPU_VAR!$FPU_VAR$ac_delim
40091 CDROM_OBJS!$CDROM_OBJS$ac_delim
40092 SB16_OBJS!$SB16_OBJS$ac_delim
40093 SOUNDLOW_OBJS!$SOUNDLOW_OBJS$ac_delim
40094 GAME_OBJS!$GAME_OBJS$ac_delim
40095 GDBSTUB_VAR!$GDBSTUB_VAR$ac_delim
40096 IODEBUG_OBJS!$IODEBUG_OBJS$ac_delim
40097 DOCBOOK2HTML!$DOCBOOK2HTML$ac_delim
40098 BUILD_DOCBOOK_VAR!$BUILD_DOCBOOK_VAR$ac_delim
40099 INSTALL_DOCBOOK_VAR!$INSTALL_DOCBOOK_VAR$ac_delim
40100 IODEV_LIB_VAR!$IODEV_LIB_VAR$ac_delim
40101 EXTRA_BX_OBJS!$EXTRA_BX_OBJS$ac_delim
40102 NONINLINE_VAR!$NONINLINE_VAR$ac_delim
40103 INLINE_VAR!$INLINE_VAR$ac_delim
40104 EXTERNAL_DEPENDENCY!$EXTERNAL_DEPENDENCY$ac_delim
40105 EXT_DEBUG_OBJS!$EXT_DEBUG_OBJS$ac_delim
40106 RC_CMD!$RC_CMD$ac_delim
40107 WX_CONFIG!$WX_CONFIG$ac_delim
40108 XPM_LIB!$XPM_LIB$ac_delim
40109 PKG_CONFIG!$PKG_CONFIG$ac_delim
40110 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
40111 GTK_LIBS!$GTK_LIBS$ac_delim
40112 GUI_CFLAGS!$GUI_CFLAGS$ac_delim
40113 GUI_CXXFLAGS!$GUI_CXXFLAGS$ac_delim
40114 WX_CFLAGS!$WX_CFLAGS$ac_delim
40115 WX_CXXFLAGS!$WX_CXXFLAGS$ac_delim
40116 WGET!$WGET$ac_delim
40117 DIALOG_OBJS!$DIALOG_OBJS$ac_delim
40118 EXPORT_DYNAMIC!$EXPORT_DYNAMIC$ac_delim
40119 PTHREAD_CC!$PTHREAD_CC$ac_delim
40120 PTHREAD_LIBS!$PTHREAD_LIBS$ac_delim
40121 PTHREAD_CFLAGS!$PTHREAD_CFLAGS$ac_delim
40122 INSTALL_TARGET!$INSTALL_TARGET$ac_delim
40123 INSTALL_LIST_FOR_PLATFORM!$INSTALL_LIST_FOR_PLATFORM$ac_delim
40124 RFB_LIBS!$RFB_LIBS$ac_delim
40125 GUI_OBJS!$GUI_OBJS$ac_delim
40126 DEVICE_LINK_OPTS!$DEVICE_LINK_OPTS$ac_delim
40127 GUI_LINK_OPTS!$GUI_LINK_OPTS$ac_delim
40128 GUI_LINK_OPTS_TERM!$GUI_LINK_OPTS_TERM$ac_delim
40129 GUI_LINK_OPTS_WX!$GUI_LINK_OPTS_WX$ac_delim
40130 BXIMAGE_LINK_OPTS!$BXIMAGE_LINK_OPTS$ac_delim
40131 DASH!$DASH$ac_delim
40132 SLASH!$SLASH$ac_delim
40133 CXXFP!$CXXFP$ac_delim
40136 MAKELIB!$MAKELIB$ac_delim
40137 RMCOMMAND!$RMCOMMAND$ac_delim
40138 LINK!$LINK$ac_delim
40139 LINK_CONSOLE!$LINK_CONSOLE$ac_delim
40141 PRIMARY_TARGET!$PRIMARY_TARGET$ac_delim
40142 PLUGIN_LIBNAME_TRANSFORMATION!$PLUGIN_LIBNAME_TRANSFORMATION$ac_delim
40143 COMMAND_SEPARATOR!$COMMAND_SEPARATOR$ac_delim
40144 CD_UP_ONE!$CD_UP_ONE$ac_delim
40145 CD_UP_TWO!$CD_UP_TWO$ac_delim
40146 CD_UP_THREE!$CD_UP_THREE$ac_delim
40147 VERSION!$VERSION$ac_delim
40148 VER_STRING!$VER_STRING$ac_delim
40149 WIN_VER_STRING!$WIN_VER_STRING$ac_delim
40150 REL_STRING!$REL_STRING$ac_delim
40151 EXTRA_LINK_OPTS!$EXTRA_LINK_OPTS$ac_delim
40152 GUI_NON_PLUGIN_OBJS!$GUI_NON_PLUGIN_OBJS$ac_delim
40153 GUI_PLUGIN_OBJS!$GUI_PLUGIN_OBJS$ac_delim
40154 IODEV_NON_PLUGIN_OBJS!$IODEV_NON_PLUGIN_OBJS$ac_delim
40155 IODEV_PLUGIN_OBJS!$IODEV_PLUGIN_OBJS$ac_delim
40156 PLUGIN_VAR!$PLUGIN_VAR$ac_delim
40157 PLUGIN_TARGET!$PLUGIN_TARGET$ac_delim
40158 INSTALL_PLUGINS_VAR!$INSTALL_PLUGINS_VAR$ac_delim
40159 GZIP!$GZIP$ac_delim
40161 LIBOBJS!$LIBOBJS$ac_delim
40162 LTLIBOBJS!$LTLIBOBJS$ac_delim
40165 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
40167 elif $ac_last_try; then
40168 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
40169 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
40170 { (exit 1); exit 1; }; }
40172 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
40176 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
40177 if test -n "$ac_eof"; then
40178 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
40179 ac_eof
=`expr $ac_eof + 1`
40182 cat >>$CONFIG_STATUS <<_ACEOF
40183 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
40184 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
40187 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
40188 s/^/s,@/; s/!/@,|#_!!_#|/
40191 s/'"$ac_delim"'$/,g/; t
40193 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
40194 ' >>$CONFIG_STATUS <conf$
$subs.
sed
40195 rm -f conf$
$subs.
sed
40196 cat >>$CONFIG_STATUS <<_ACEOF
40203 # VPATH may cause trouble with some makes, so we remove $(srcdir),
40204 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
40205 # trailing colons and then remove the whole line if VPATH becomes empty
40206 # (actually we leave an empty line to preserve line numbers).
40207 if test "x$srcdir" = x.
; then
40208 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
40209 s/:*\$(srcdir):*/:/
40210 s/:*\${srcdir}:*/:/
40212 s/^\([^=]*=[ ]*\):*/\1/
40218 cat >>$CONFIG_STATUS <<\_ACEOF
40219 fi # test -n "$CONFIG_FILES"
40222 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
40225 :[FHLC
]) ac_mode
=$ac_tag; continue;;
40227 case $ac_mode$ac_tag in
40229 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
40230 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
40231 { (exit 1); exit 1; }; };;
40232 :[FH
]-) ac_tag
=-:-;;
40233 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
40250 -) ac_f
="$tmp/stdin";;
40251 *) # Look for the file first in the build tree, then in the source tree
40252 # (if the path is not absolute). The absolute path cannot be DOS-style,
40253 # because $ac_f cannot contain `:'.
40257 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
40259 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
40260 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
40261 { (exit 1); exit 1; }; };;
40263 ac_file_inputs
="$ac_file_inputs $ac_f"
40266 # Let's still pretend it is `configure' which instantiates (i.e., don't
40267 # use $as_me), people would be surprised to read:
40268 # /* config.h. Generated by config.status. */
40269 configure_input
="Generated from "`IFS=:
40270 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
40271 if test x
"$ac_file" != x-
; then
40272 configure_input
="$ac_file. $configure_input"
40273 { echo "$as_me:$LINENO: creating $ac_file" >&5
40274 echo "$as_me: creating $ac_file" >&6;}
40278 *:-:* |
*:-) cat >"$tmp/stdin";;
40283 ac_dir
=`$as_dirname -- "$ac_file" ||
40284 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40285 X"$ac_file" : 'X\(//\)[^/]' \| \
40286 X"$ac_file" : 'X\(//\)$' \| \
40287 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
40289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
40293 /^X\(\/\/\)[^/].*/{
40308 -*) as_dir
=.
/$as_dir;;
40310 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
40314 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
40315 *) as_qdir
=$as_dir;;
40317 as_dirs
="'$as_qdir' $as_dirs"
40318 as_dir
=`$as_dirname -- "$as_dir" ||
40319 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40320 X"$as_dir" : 'X\(//\)[^/]' \| \
40321 X"$as_dir" : 'X\(//\)$' \| \
40322 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
40324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
40328 /^X\(\/\/\)[^/].*/{
40341 test -d "$as_dir" && break
40343 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
40344 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
40345 echo "$as_me: error: cannot create directory $as_dir" >&2;}
40346 { (exit 1); exit 1; }; }; }
40350 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
40352 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40353 # A ".." for each directory in $ac_dir_suffix.
40354 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
40355 case $ac_top_builddir_sub in
40356 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
40357 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
40360 ac_abs_top_builddir
=$ac_pwd
40361 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
40362 # for backward compatibility:
40363 ac_top_builddir
=$ac_top_build_prefix
40366 .
) # We are building in place.
40368 ac_top_srcdir
=$ac_top_builddir_sub
40369 ac_abs_top_srcdir
=$ac_pwd ;;
40370 [\\/]* | ?
:[\\/]* ) # Absolute name.
40371 ac_srcdir
=$srcdir$ac_dir_suffix;
40372 ac_top_srcdir
=$srcdir
40373 ac_abs_top_srcdir
=$srcdir ;;
40374 *) # Relative name.
40375 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
40376 ac_top_srcdir
=$ac_top_build_prefix$srcdir
40377 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
40379 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
40390 cat >>$CONFIG_STATUS <<\_ACEOF
40391 # If the template does not know about datarootdir, expand it.
40392 # FIXME: This hack should be removed a few years after 2.60.
40393 ac_datarootdir_hack
=; ac_datarootdir_seen
=
40395 case `sed -n '/datarootdir/ {
40404 ' $ac_file_inputs` in
40405 *datarootdir
*) ac_datarootdir_seen
=yes;;
40406 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
40407 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
40408 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
40410 cat >>$CONFIG_STATUS <<_ACEOF
40411 ac_datarootdir_hack='
40412 s&@datadir@&$datadir&g
40413 s&@docdir@&$docdir&g
40414 s&@infodir@&$infodir&g
40415 s&@localedir@&$localedir&g
40416 s&@mandir@&$mandir&g
40417 s&\\\${datarootdir}&$datarootdir&g' ;;
40421 # Neutralize VPATH when `$srcdir' = `.'.
40422 # Shell code in configure.ac might set extrasub.
40423 # FIXME: do we really want to maintain this feature?
40424 cat >>$CONFIG_STATUS <<_ACEOF
40428 cat >>$CONFIG_STATUS <<\_ACEOF
40430 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
40431 s
&@configure_input@
&$configure_input&;t t
40432 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
40433 s
&@srcdir@
&$ac_srcdir&;t t
40434 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
40435 s
&@top_srcdir@
&$ac_top_srcdir&;t t
40436 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
40437 s
&@builddir@
&$ac_builddir&;t t
40438 s
&@abs_builddir@
&$ac_abs_builddir&;t t
40439 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
40440 $ac_datarootdir_hack
40441 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
40443 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
40444 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
40445 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
40446 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
40447 which seems to be undefined. Please make sure it is defined." >&5
40448 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
40449 which seems to be undefined. Please make sure it is defined." >&2;}
40453 -) cat "$tmp/out"; rm -f "$tmp/out";;
40454 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
40463 # Transform confdefs.h into a sed script `conftest.defines', that
40464 # substitutes the proper values into config.h.in to produce config.h.
40465 rm -f conftest.defines conftest.
tail
40466 # First, append a space to every undef/define line, to ease matching.
40467 echo 's/$/ /' >conftest.defines
40468 # Then, protect against being on the right side of a sed subst, or in
40469 # an unquoted here document, in config.status. If some macros were
40470 # called several times there might be several #defines for the same
40471 # symbol, which is useless. But do not sort them, since the last
40472 # AC_DEFINE must be honored.
40473 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
40474 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
40475 # NAME is the cpp macro being defined, VALUE is the value it is being given.
40476 # PARAMS is the parameter list in the macro definition--in most cases, it's
40477 # just an empty string.
40478 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
40479 ac_dB
='\\)[ (].*,\\1define\\2'
40487 s/^[ ]*#[ ]*define[ ][ ]*//
40492 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
40493 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
40494 ' >>conftest.defines
40496 # Remove the space that was appended to ease matching.
40497 # Then replace #undef with comments. This is necessary, for
40498 # example, in the case of _POSIX_SOURCE, which is predefined and required
40499 # on some systems where configure will not decide to define it.
40500 # (The regexp can be short, since the line contains either #define or #undef.)
40502 s,^[ #]*u.*,/* & */,' >>conftest.defines
40504 # Break up conftest.defines:
40505 ac_max_sed_lines
=50
40507 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
40508 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
40509 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
40511 ac_in
='$ac_file_inputs'
40512 ac_out
='"$tmp/out1"'
40513 ac_nxt
='"$tmp/out2"'
40517 # Write a here document:
40518 cat >>$CONFIG_STATUS <<_ACEOF
40519 # First, check the format of the line:
40520 cat >"\$tmp/defines.sed" <<\\CEOF
40521 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
40522 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
40526 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
40528 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
40529 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
40530 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
40531 grep . conftest.
tail >/dev
/null ||
break
40532 rm -f conftest.defines
40533 mv conftest.
tail conftest.defines
40535 rm -f conftest.defines conftest.
tail
40537 echo "ac_result=$ac_in" >>$CONFIG_STATUS
40538 cat >>$CONFIG_STATUS <<\_ACEOF
40539 if test x
"$ac_file" != x-
; then
40540 echo "/* $configure_input */" >"$tmp/config.h"
40541 cat "$ac_result" >>"$tmp/config.h"
40542 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
40543 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
40544 echo "$as_me: $ac_file is unchanged" >&6;}
40547 mv "$tmp/config.h" $ac_file
40550 echo "/* $configure_input */"
40562 { (exit 0); exit 0; }
40564 chmod +x
$CONFIG_STATUS
40565 ac_clean_files
=$ac_clean_files_save
40568 # configure is writing to config.log, and then calls config.status.
40569 # config.status does its own redirection, appending to config.log.
40570 # Unfortunately, on DOS this fails, as config.log is still kept open
40571 # by configure, so config.status won't be able to write to it; its
40572 # output is simply discarded. So we exec the FD to /dev/null,
40573 # effectively closing config.log, so it can be properly (re)opened and
40574 # appended to by config.status. When coming back to configure, we
40575 # need to make the FD available again.
40576 if test "$no_create" != yes; then
40578 ac_config_status_args
=
40579 test "$silent" = yes &&
40580 ac_config_status_args
="$ac_config_status_args --quiet"
40582 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
40584 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
40585 # would make configure fail if this is the last instruction.
40586 $ac_cs_success ||
{ (exit 1); exit 1; }