2 # From configure.in Id: configure.in,v 1.358 2008/01/21 21:36:54 sshwarts Exp .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.60.
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 Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
25 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
26 DUALCASE
=1; export DUALCASE
# for MKS sh
30 # Avoid depending upon Character Ranges.
31 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
32 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
34 as_cr_digits
='0123456789'
35 as_cr_alnum
=$as_cr_Letters$as_cr_digits
37 # The user is always right.
38 if test "${PATH_SEPARATOR+set}" != set; then
39 echo "#! /bin/sh" >conf$$.sh
40 echo "exit 0" >>conf$$.sh
42 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50 # Support unset when possible.
51 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
59 # We need space, tab and new line, in precisely that order. Quoting is
60 # there to prevent editors from complaining about space-tab.
61 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
62 # splitting by setting IFS to empty value.)
67 # Find who we are. Look in the path if we contain no directory separator.
69 *[\\/]* ) as_myself
=$0 ;;
70 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
74 test -z "$as_dir" && as_dir
=.
75 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
81 # We did not find ourselves, most probably we were run as `sh COMMAND'
82 # in which case we are not to be found in the path.
83 if test "x$as_myself" = x
; then
86 if test ! -f "$as_myself"; then
87 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 # Work around bugs in pre-3.0 UWIN ksh.
92 for as_var
in ENV MAIL MAILPATH
93 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
101 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
102 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
105 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
106 eval $as_var=C
; export $as_var
108 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
112 # Required to use basename.
113 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
114 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
120 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 # Name of the executable.
128 as_me
=`$as_basename -- "$0" ||
129 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
130 X"$0" : 'X\(//\)$' \| \
131 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
133 sed '/^.*\/\([^/][^/]*\)\/*$/{
151 if test "x$CONFIG_SHELL" = x
; then
152 if (eval ":") 2>/dev
/null
; then
158 if test $as_have_required = yes && (eval ":
168 as_func_ret_success () {
171 as_func_ret_failure () {
176 if as_func_success; then
180 echo as_func_success failed.
183 if as_func_failure; then
185 echo as_func_failure succeeded.
188 if as_func_ret_success; then
192 echo as_func_ret_success failed.
195 if as_func_ret_failure; then
197 echo as_func_ret_failure succeeded.
200 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204 echo positional parameters were not saved.
207 test \$exitcode = 0) || { (exit 1); exit 1; }
212 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
213 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
214 ") 2> /dev
/null
; then
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
219 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
222 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
233 for as_shell
in $as_candidate_shells $SHELL; do
234 # Try only shells that exist, to save several forks.
235 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
236 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
237 # Be Bourne compatible
238 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
241 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
242 # is contrary to our usage. Disable this feature.
243 alias -g '${1+"$@"}'='"$@"'
246 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
248 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
249 DUALCASE
=1; export DUALCASE
# for MKS sh
254 CONFIG_SHELL
=$as_shell
256 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
257 # Be Bourne compatible
258 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
261 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
262 # is contrary to our usage. Disable this feature.
263 alias -g '${1+"$@"}'='"$@"'
266 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
268 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
269 DUALCASE
=1; export DUALCASE
# for MKS sh
281 as_func_ret_success
() {
284 as_func_ret_failure
() {
289 if as_func_success
; then
293 echo as_func_success failed.
296 if as_func_failure
; then
298 echo as_func_failure succeeded.
301 if as_func_ret_success
; then
305 echo as_func_ret_success failed.
308 if as_func_ret_failure
; then
310 echo as_func_ret_failure succeeded.
313 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
317 echo positional parameters were not saved.
320 test $exitcode = 0) ||
{ (exit 1); exit 1; }
325 test "x$as_lineno_1" != "x$as_lineno_2" &&
326 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
337 if test "x$CONFIG_SHELL" != x
; then
338 for as_var
in BASH_ENV ENV
339 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
342 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
346 if test $as_have_required = no
; then
347 echo This
script requires a shell
more modern than all the
348 echo shells that I found on your system. Please
install a
349 echo modern shell
, or manually run the
script under such a
350 echo shell
if you
do have one.
351 { (exit 1); exit 1; }
361 (eval "as_func_return () {
370 as_func_ret_success () {
373 as_func_ret_failure () {
378 if as_func_success; then
382 echo as_func_success failed.
385 if as_func_failure; then
387 echo as_func_failure succeeded.
390 if as_func_ret_success; then
394 echo as_func_ret_success failed.
397 if as_func_ret_failure; then
399 echo as_func_ret_failure succeeded.
402 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
406 echo positional parameters were not saved.
409 test \$exitcode = 0") ||
{
410 echo No shell found that supports shell functions.
411 echo Please tell autoconf@gnu.org about your system
,
412 echo including any error possibly output before this
420 test "x$as_lineno_1" != "x$as_lineno_2" &&
421 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
423 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
424 # uniformly replaced by the line number. The first 'sed' inserts a
425 # line-number line after each line using $LINENO; the second 'sed'
426 # does the real work. The second script uses 'N' to pair each
427 # line-number line with the line containing $LINENO, and appends
428 # trailing '-' during substitution so that $LINENO is not a special
430 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
431 # scripts with optimization help from Paolo Bonzini. Blame Lee
432 # E. McMahon (1931-1989) for sed's syntax. :-)
444 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
448 chmod +x
"$as_me.lineno" ||
449 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
450 { (exit 1); exit 1; }; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
461 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
467 ECHO_C
= ECHO_N
= ECHO_T
=
471 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
478 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
479 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
485 rm -f conf$$ conf$$.exe conf$$.
file
486 if test -d conf$$.dir
; then
487 rm -f conf$$.dir
/conf$$.
file
493 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -p'.
499 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
501 elif ln conf$$.
file conf$$
2>/dev
/null
; then
506 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
507 rmdir conf$$.dir
2>/dev
/null
509 if mkdir
-p .
2>/dev
/null
; then
512 test -d .
/-p && rmdir .
/-p
516 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
517 # systems may use methods other than mode bits to determine executability.
518 cat >conf$$.
file <<_ASEOF
523 if test -x conf$$.
file >/dev
/null
2>&1; then
524 as_executable_p
="test -x"
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 # Check that we are running under the correct shell.
540 SHELL
=${CONFIG_SHELL-/bin/sh}
544 # Remove one level of quotation (which was required for Make).
545 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
550 if test "X$1" = X--no-reexec
; then
551 # Discard the --no-reexec flag, and continue.
553 elif test "X$1" = X--fallback-echo
; then
554 # Avoid inline document here, it may be left over
556 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
557 # Yippee, $echo works!
560 # Restart under the correct shell.
561 exec $SHELL "$0" --no-reexec ${1+"$@"}
564 if test "X$1" = X--fallback-echo
; then
565 # used as fallback echo
573 # The HP-UX ksh and POSIX shell print the target directory to stdout
575 if test "X${CDPATH+set}" = Xset
; then CDPATH
=:; export CDPATH
; fi
577 if test -z "$ECHO"; then
578 if test "X${echo_test_string+set}" != Xset
; then
579 # find a string as large as possible, as long as the shell can cope with it
580 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
581 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
582 if (echo_test_string
="`eval $cmd`") 2>/dev
/null
&&
583 echo_test_string
="`eval $cmd`" &&
584 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
591 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
592 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
593 test "X$echo_testing_string" = "X$echo_test_string"; then
596 # The Solaris, AIX, and Digital Unix default echo programs unquote
597 # backslashes. This makes it impossible to quote backslashes using
598 # echo "$something" | sed 's/\\/\\\\/g'
600 # So, first we look for a working echo in the user's PATH.
602 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
603 for dir
in $PATH /usr
/ucb
; do
605 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
606 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
607 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
608 test "X$echo_testing_string" = "X$echo_test_string"; then
615 if test "X$echo" = Xecho
; then
616 # We didn't find a better echo, so look for alternatives.
617 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
618 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
619 test "X$echo_testing_string" = "X$echo_test_string"; then
620 # This shell has a builtin print -r that does the trick.
622 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
623 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
624 # If we have ksh, try running configure again with it.
625 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
626 export ORIGINAL_CONFIG_SHELL
627 CONFIG_SHELL
=/bin
/ksh
629 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
633 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
634 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
638 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
639 test "X$echo_testing_string" = 'X\t' &&
640 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
641 test "X$echo_testing_string" = "X$echo_test_string"; then
642 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
644 SHELL
="$CONFIG_SHELL"
646 echo="$CONFIG_SHELL $0 --fallback-echo"
647 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
648 test "X$echo_testing_string" = 'X\t' &&
649 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
650 test "X$echo_testing_string" = "X$echo_test_string"; then
651 echo="$CONFIG_SHELL $0 --fallback-echo"
653 # maybe with a smaller string...
656 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
657 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
664 if test "$prev" != 'sed 50q "$0"'; then
665 echo_test_string
=`eval $prev`
666 export echo_test_string
667 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
669 # Oops. We lost completely, so just stick with echo.
678 # Copy echo and quote the copy suitably for passing to libtool from
679 # the Makefile, instead of quoting the original, which is used later.
681 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
682 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
688 tagnames
=${tagnames+${tagnames},}CXX
690 tagnames
=${tagnames+${tagnames},}F77
692 exec 7<&0 </dev
/null
6>&1
695 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
696 # so uname gets run too.
697 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
702 ac_default_prefix
=/usr
/local
704 ac_config_libobj_dir
=.
710 SHELL
=${CONFIG_SHELL-/bin/sh}
712 # Identity of this package.
719 ac_unique_file
="bochs.h"
720 # Factoring default headers for most tests.
721 ac_includes_default
="\
724 # include <sys/types.h>
727 # include <sys/stat.h>
738 # if !STDC_HEADERS && HAVE_MEMORY_H
744 # include <strings.h>
747 # include <inttypes.h>
765 program_transform_name
837 NONPLUGIN_GUI_LINK_OPTS
840 BX_COMPRESSED_HD_SUPPORT
849 PCIDEV_MODULE_MAKE_ALL
895 INSTALL_LIST_FOR_PLATFORM
914 PLUGIN_LIBNAME_TRANSFORMATION
925 IODEV_NON_PLUGIN_OBJS
935 ac_precious_vars
='build_alias
955 # Initialize some variables set by options.
957 ac_init_version
=false
958 # The variables have the same names as the options, with
959 # dashes changed to underlines.
967 program_transform_name
=s
,x
,x
,
975 # Installation directory options.
976 # These are left unexpanded so users can "make install exec_prefix=/foo"
977 # and all the variables that are supposed to be based on exec_prefix
978 # by default will actually change.
979 # Use braces instead of parens because sh, perl, etc. also accept them.
980 # (The list follows the same order as the GNU Coding Standards.)
981 bindir
='${exec_prefix}/bin'
982 sbindir
='${exec_prefix}/sbin'
983 libexecdir
='${exec_prefix}/libexec'
984 datarootdir
='${prefix}/share'
985 datadir
='${datarootdir}'
986 sysconfdir
='${prefix}/etc'
987 sharedstatedir
='${prefix}/com'
988 localstatedir
='${prefix}/var'
989 includedir
='${prefix}/include'
990 oldincludedir
='/usr/include'
991 docdir
='${datarootdir}/doc/${PACKAGE}'
992 infodir
='${datarootdir}/info'
997 libdir
='${exec_prefix}/lib'
998 localedir
='${datarootdir}/locale'
999 mandir
='${datarootdir}/man'
1005 # If the previous option needs an argument, assign it.
1006 if test -n "$ac_prev"; then
1007 eval $ac_prev=\
$ac_option
1013 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1017 # Accept the important Cygnus configure options, so we can diagnose typos.
1019 case $ac_dashdash$ac_option in
1023 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1025 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1026 bindir
=$ac_optarg ;;
1028 -build |
--build |
--buil |
--bui |
--bu)
1029 ac_prev
=build_alias
;;
1030 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1031 build_alias
=$ac_optarg ;;
1033 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1034 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1035 ac_prev
=cache_file
;;
1036 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1037 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1038 cache_file
=$ac_optarg ;;
1040 --config-cache |
-C)
1041 cache_file
=config.cache
;;
1043 -datadir |
--datadir |
--datadi |
--datad)
1045 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1046 datadir
=$ac_optarg ;;
1048 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1049 |
--dataroo |
--dataro |
--datar)
1050 ac_prev
=datarootdir
;;
1051 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1052 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1053 datarootdir
=$ac_optarg ;;
1055 -disable-* |
--disable-*)
1056 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1057 # Reject names that are not valid shell variable names.
1058 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1059 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1060 { (exit 1); exit 1; }; }
1061 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1062 eval enable_
$ac_feature=no
;;
1064 -docdir |
--docdir |
--docdi |
--doc |
--do)
1066 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1067 docdir
=$ac_optarg ;;
1069 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1071 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1072 dvidir
=$ac_optarg ;;
1074 -enable-* |
--enable-*)
1075 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1078 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1079 { (exit 1); exit 1; }; }
1080 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1081 eval enable_
$ac_feature=\
$ac_optarg ;;
1083 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1084 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1085 |
--exec |
--exe |
--ex)
1086 ac_prev
=exec_prefix
;;
1087 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1088 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1089 |
--exec=* |
--exe=* |
--ex=*)
1090 exec_prefix
=$ac_optarg ;;
1092 -gas |
--gas |
--ga |
--g)
1093 # Obsolete; use --with-gas.
1096 -help |
--help |
--hel |
--he |
-h)
1097 ac_init_help
=long
;;
1098 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1099 ac_init_help
=recursive
;;
1100 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1101 ac_init_help
=short
;;
1103 -host |
--host |
--hos |
--ho)
1104 ac_prev
=host_alias
;;
1105 -host=* |
--host=* |
--hos=* |
--ho=*)
1106 host_alias
=$ac_optarg ;;
1108 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1110 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1112 htmldir
=$ac_optarg ;;
1114 -includedir |
--includedir |
--includedi |
--included |
--include \
1115 |
--includ |
--inclu |
--incl |
--inc)
1116 ac_prev
=includedir
;;
1117 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1118 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1119 includedir
=$ac_optarg ;;
1121 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1123 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1124 infodir
=$ac_optarg ;;
1126 -libdir |
--libdir |
--libdi |
--libd)
1128 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1129 libdir
=$ac_optarg ;;
1131 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1132 |
--libexe |
--libex |
--libe)
1133 ac_prev
=libexecdir
;;
1134 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1135 |
--libexe=* |
--libex=* |
--libe=*)
1136 libexecdir
=$ac_optarg ;;
1138 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1139 ac_prev
=localedir
;;
1140 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1141 localedir
=$ac_optarg ;;
1143 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1144 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1145 ac_prev
=localstatedir
;;
1146 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1147 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1148 localstatedir
=$ac_optarg ;;
1150 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1152 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1153 mandir
=$ac_optarg ;;
1155 -nfp |
--nfp |
--nf)
1156 # Obsolete; use --without-fp.
1159 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1160 |
--no-cr |
--no-c |
-n)
1163 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1164 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1167 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1168 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1169 |
--oldin |
--oldi |
--old |
--ol |
--o)
1170 ac_prev
=oldincludedir
;;
1171 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1172 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1173 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1174 oldincludedir
=$ac_optarg ;;
1176 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1178 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1179 prefix
=$ac_optarg ;;
1181 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1182 |
--program-pre |
--program-pr |
--program-p)
1183 ac_prev
=program_prefix
;;
1184 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1185 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1186 program_prefix
=$ac_optarg ;;
1188 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1189 |
--program-suf |
--program-su |
--program-s)
1190 ac_prev
=program_suffix
;;
1191 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1192 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1193 program_suffix
=$ac_optarg ;;
1195 -program-transform-name |
--program-transform-name \
1196 |
--program-transform-nam |
--program-transform-na \
1197 |
--program-transform-n |
--program-transform- \
1198 |
--program-transform |
--program-transfor \
1199 |
--program-transfo |
--program-transf \
1200 |
--program-trans |
--program-tran \
1201 |
--progr-tra |
--program-tr |
--program-t)
1202 ac_prev
=program_transform_name
;;
1203 -program-transform-name=* |
--program-transform-name=* \
1204 |
--program-transform-nam=* |
--program-transform-na=* \
1205 |
--program-transform-n=* |
--program-transform-=* \
1206 |
--program-transform=* |
--program-transfor=* \
1207 |
--program-transfo=* |
--program-transf=* \
1208 |
--program-trans=* |
--program-tran=* \
1209 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1210 program_transform_name
=$ac_optarg ;;
1212 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1214 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1215 pdfdir
=$ac_optarg ;;
1217 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1219 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1222 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1223 |
-silent |
--silent |
--silen |
--sile |
--sil)
1226 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1228 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1230 sbindir
=$ac_optarg ;;
1232 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1233 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1234 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1236 ac_prev
=sharedstatedir
;;
1237 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1238 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1239 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1241 sharedstatedir
=$ac_optarg ;;
1243 -site |
--site |
--sit)
1245 -site=* |
--site=* |
--sit=*)
1248 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1250 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1251 srcdir
=$ac_optarg ;;
1253 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1254 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1255 ac_prev
=sysconfdir
;;
1256 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1257 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1258 sysconfdir
=$ac_optarg ;;
1260 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1261 ac_prev
=target_alias
;;
1262 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1263 target_alias
=$ac_optarg ;;
1265 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1268 -version |
--version |
--versio |
--versi |
--vers |
-V)
1269 ac_init_version
=: ;;
1272 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1273 # Reject names that are not valid shell variable names.
1274 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1275 { echo "$as_me: error: invalid package name: $ac_package" >&2
1276 { (exit 1); exit 1; }; }
1277 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1278 eval with_
$ac_package=\
$ac_optarg ;;
1280 -without-* |
--without-*)
1281 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1282 # Reject names that are not valid shell variable names.
1283 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1284 { echo "$as_me: error: invalid package name: $ac_package" >&2
1285 { (exit 1); exit 1; }; }
1286 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1287 eval with_
$ac_package=no
;;
1290 # Obsolete; use --with-x.
1293 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1294 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1295 ac_prev
=x_includes
;;
1296 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1297 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1298 x_includes
=$ac_optarg ;;
1300 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1301 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1302 ac_prev
=x_libraries
;;
1303 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1304 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1305 x_libraries
=$ac_optarg ;;
1307 -*) { echo "$as_me: error: unrecognized option: $ac_option
1308 Try \`$0 --help' for more information." >&2
1309 { (exit 1); exit 1; }; }
1313 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1314 # Reject names that are not valid shell variable names.
1315 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1316 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1317 { (exit 1); exit 1; }; }
1318 eval $ac_envvar=\
$ac_optarg
1319 export $ac_envvar ;;
1322 # FIXME: should be removed in autoconf 3.0.
1323 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1324 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1325 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1326 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1332 if test -n "$ac_prev"; then
1333 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1334 { echo "$as_me: error: missing argument to $ac_option" >&2
1335 { (exit 1); exit 1; }; }
1338 # Be sure to have absolute directory names.
1339 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1340 datadir sysconfdir sharedstatedir localstatedir includedir \
1341 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1342 libdir localedir mandir
1344 eval ac_val
=\$
$ac_var
1346 [\\/$
]* | ?
:[\\/]* ) continue;;
1347 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1349 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1350 { (exit 1); exit 1; }; }
1353 # There might be people who depend on the old broken behavior: `$host'
1354 # used to hold the argument of --host etc.
1355 # FIXME: To remove some day.
1358 target
=$target_alias
1360 # FIXME: To remove some day.
1361 if test "x$host_alias" != x
; then
1362 if test "x$build_alias" = x
; then
1363 cross_compiling
=maybe
1364 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1365 If a cross compiler is detected then cross compile mode will be used." >&2
1366 elif test "x$build_alias" != "x$host_alias"; then
1372 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1374 test "$silent" = yes && exec 6>/dev
/null
1377 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1378 ac_ls_di
=`ls -di .` &&
1379 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1380 { echo "$as_me: error: Working directory cannot be determined" >&2
1381 { (exit 1); exit 1; }; }
1382 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1383 { echo "$as_me: error: pwd does not report name of working directory" >&2
1384 { (exit 1); exit 1; }; }
1387 # Find the source files, if location was not specified.
1388 if test -z "$srcdir"; then
1389 ac_srcdir_defaulted
=yes
1390 # Try the directory containing this script, then the parent directory.
1391 ac_confdir
=`$as_dirname -- "$0" ||
1392 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1393 X"$0" : 'X\(//\)[^/]' \| \
1394 X"$0" : 'X\(//\)$' \| \
1395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1415 if test ! -r "$srcdir/$ac_unique_file"; then
1419 ac_srcdir_defaulted
=no
1421 if test ! -r "$srcdir/$ac_unique_file"; then
1422 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1423 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1424 { (exit 1); exit 1; }; }
1426 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1428 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1429 { (exit 1); exit 1; }; }
1431 # When building in place, set srcdir=.
1432 if test "$ac_abs_confdir" = "$ac_pwd"; then
1435 # Remove unnecessary trailing slashes from srcdir.
1436 # Double slashes in file names in object file debugging info
1437 # mess up M-x gdb in Emacs.
1439 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1441 for ac_var
in $ac_precious_vars; do
1442 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1443 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1444 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1445 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1449 # Report the --help message.
1451 if test "$ac_init_help" = "long"; then
1452 # Omit some internal or obsolete options to make the list less imposing.
1453 # This message is too long to be a string in the A/UX 3.1 sh.
1455 \`configure' configures this package to adapt to many kinds of systems.
1457 Usage: $0 [OPTION]... [VAR=VALUE]...
1459 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1460 VAR=VALUE. See below for descriptions of some of the useful variables.
1462 Defaults for the options are specified in brackets.
1465 -h, --help display this help and exit
1466 --help=short display options specific to this package
1467 --help=recursive display the short help of all the included packages
1468 -V, --version display version information and exit
1469 -q, --quiet, --silent do not print \`checking...' messages
1470 --cache-file=FILE cache test results in FILE [disabled]
1471 -C, --config-cache alias for \`--cache-file=config.cache'
1472 -n, --no-create do not create output files
1473 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1475 Installation directories:
1476 --prefix=PREFIX install architecture-independent files in PREFIX
1477 [$ac_default_prefix]
1478 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1481 By default, \`make install' will install all the files in
1482 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1483 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1484 for instance \`--prefix=\$HOME'.
1486 For better control, use the options below.
1488 Fine tuning of the installation directories:
1489 --bindir=DIR user executables [EPREFIX/bin]
1490 --sbindir=DIR system admin executables [EPREFIX/sbin]
1491 --libexecdir=DIR program executables [EPREFIX/libexec]
1492 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1493 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1494 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1495 --libdir=DIR object code libraries [EPREFIX/lib]
1496 --includedir=DIR C header files [PREFIX/include]
1497 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1498 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1499 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1500 --infodir=DIR info documentation [DATAROOTDIR/info]
1501 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1502 --mandir=DIR man documentation [DATAROOTDIR/man]
1503 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1504 --htmldir=DIR html documentation [DOCDIR]
1505 --dvidir=DIR dvi documentation [DOCDIR]
1506 --pdfdir=DIR pdf documentation [DOCDIR]
1507 --psdir=DIR ps documentation [DOCDIR]
1513 --x-includes=DIR X include files are
in DIR
1514 --x-libraries=DIR X library files are
in DIR
1517 --build=BUILD configure
for building on BUILD
[guessed
]
1518 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1519 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1523 if test -n "$ac_init_help"; then
1528 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1529 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1530 --enable-static[=PKGS
] build static libraries
[default
=no
]
1531 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1532 --enable-fast-install[=PKGS
]
1533 optimize
for fast installation
[default
=yes]
1534 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1535 --enable-ltdl-install install libltdl
1536 --disable-largefile omit support
for large files
1537 --enable-idle-hack use Roland Mainz
's idle hack
1538 --enable-plugins enable plugins
1539 --enable-x86-64 compile in support for x86-64 instructions
1540 --enable-smp compile in support for SMP configurations
1541 --enable-cpu-level select cpu level (3,4,5,6)
1542 --enable-apic enable APIC support
1543 --enable-compressed-hd allows compressed (zlib) hard disk image (not implemented yet)
1544 --enable-ne2000 enable limited ne2000 support
1545 --enable-acpi enable ACPI support
1546 --enable-pci enable limited i440FX PCI support
1547 --enable-pcidev enable PCI host device mapping support (linux host only)
1548 --enable-usb enable limited USB support
1549 --enable-pnic enable PCI pseudo NIC support
1550 --enable-large-pages support for large pages (2M/4M pages)
1551 --enable-pae support Physical Address Extensions
1552 --enable-global-pages support for global pages in PDE/PTE
1553 --enable-mtrr support for MTRRs
1554 --enable-guest2host-tlb support guest to host addr TLB for speed
1555 --enable-repeat-speedups support repeated IO and mem copy speedups
1556 --enable-trace-cache support instruction trace cache
1557 --enable-icache support instruction cache
1558 --enable-fast-function-calls support for fast function calls (gcc on x86 only)
1559 --enable-host-specific-asms support for host specific inline assembly
1560 --enable-ignore-bad-msr ignore bad MSR references
1561 --enable-port-e9-hack writes to port e9 go to console
1562 --enable-show-ips show IPS in Bochs log file
1563 --enable-cpp use .cpp as C++ suffix
1564 --enable-debugger compile in support for Bochs internal debugger
1565 --enable-external-debugger enable external debugger support (win32 only)
1566 --enable-disasm compile in support for disassembler
1567 --enable-all-optimizations compile in all possible optimizations
1568 --enable-readline use readline library, if available
1569 --enable-instrumentation compile in support for instrumentation
1570 --enable-logging enable logging
1571 --enable-raw-serial use raw serial port access
1572 --enable-vbe use VESA BIOS extensions
1573 --enable-clgd54xx enable CLGD54XX emulation
1574 --enable-fpu compile in FPU emulation
1575 --enable-vme virtual 8086 mode extensions
1576 --enable-mmx MMX support
1577 --enable-3dnow 3DNow! support
1578 --enable-sse SSE support (--enable-sse=no|1|2|3|4)
1579 --enable-sse-extension support for SSE extensions
1580 --enable-daz denormals-are-zeroes support
1581 --enable-alignment-check alignment check (#AC) support
1582 --enable-misaligned-sse misaligned SSE support
1583 --enable-sep SYSENTER/SYSEXIT support
1584 --enable-popcnt support for POPCNT instruction
1585 --enable-monitor-mwait support for MONITOR/MWAIT instructions (experimental)
1586 --enable-x86-debugger x86 debugger support
1587 --enable-cdrom CDROM support
1588 --enable-sb16=xxx Sound Blaster 16 Support (xxx=dummy|win|linux|freebsd|osx)
1589 --enable-gameport enable standard PC gameport support
1590 --enable-gdb-stub enable gdb stub support
1591 --enable-iodebug enable I/O interface to debugger
1592 --enable-docbook build the Docbook documentation
1593 --enable-xpm enable the check for XPM support
1594 --enable-magic-breakpoints enables magic breakpoints (deprecated)
1595 --enable-save-restore enables save/restore (deprecated)
1596 --enable-reset-on-triple-fault reset when cpu detects a triple fault (deprecated)
1597 --enable-pni PNI support (deprecated)
1600 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1601 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1602 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1603 --with-pic try to use only PIC/non-PIC objects [default=use
1605 --with-tags[=TAGS] include additional configurations [automatic]
1606 --with-x use the X Window System
1607 --with-x11 use X11 GUI
1608 --with-beos use BeOS GUI
1609 --with-win32 use Win32 GUI
1610 --with-macos use Macintosh/CodeWarrior environment
1611 --with-carbon compile for MacOS X with Carbon GUI
1612 --with-nogui no native GUI, just use blank stubs
1613 --with-term textmode terminal environment
1614 --with-rfb use RFB protocol, works with VNC viewer
1615 --with-amigaos use AmigaOS (or MorphOS) GUI
1616 --with-sdl use SDL libraries
1617 --with-svga use SVGALib libraries
1618 --with-wx use wxWidgets libraries
1619 --with-all-libs compile all guis that Bochs supports
1621 Some influential environment variables:
1622 CC C compiler command
1623 CFLAGS C compiler flags
1624 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1625 nonstandard directory <lib dir>
1626 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1627 you have headers in a nonstandard directory <include dir>
1628 CXX C++ compiler command
1629 CXXFLAGS C++ compiler flags
1631 CXXCPP C++ preprocessor
1632 F77 Fortran 77 compiler command
1633 FFLAGS Fortran 77 compiler flags
1634 XMKMF Path to xmkmf, Makefile generator for X Window System
1635 PKG_CONFIG path to pkg-config utility
1636 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1637 GTK_LIBS linker flags for GTK, overriding pkg-config
1639 Use these variables to override the choices made by `configure' or to
help
1640 it to
find libraries and programs with nonstandard names
/locations.
1646 if test "$ac_init_help" = "recursive"; then
1647 # If there are subdirs, report their specific --help.
1648 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1649 test -d "$ac_dir" ||
continue
1653 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1655 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1656 # A ".." for each directory in $ac_dir_suffix.
1657 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1658 case $ac_top_builddir_sub in
1659 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1660 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1663 ac_abs_top_builddir
=$ac_pwd
1664 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1665 # for backward compatibility:
1666 ac_top_builddir
=$ac_top_build_prefix
1669 .
) # We are building in place.
1671 ac_top_srcdir
=$ac_top_builddir_sub
1672 ac_abs_top_srcdir
=$ac_pwd ;;
1673 [\\/]* | ?
:[\\/]* ) # Absolute name.
1674 ac_srcdir
=$srcdir$ac_dir_suffix;
1675 ac_top_srcdir
=$srcdir
1676 ac_abs_top_srcdir
=$srcdir ;;
1678 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1679 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1680 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1682 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1684 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1685 # Check for guested configure.
1686 if test -f "$ac_srcdir/configure.gnu"; then
1688 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1689 elif test -f "$ac_srcdir/configure"; then
1691 $SHELL "$ac_srcdir/configure" --help=recursive
1693 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1695 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1699 test -n "$ac_init_help" && exit $ac_status
1700 if $ac_init_version; then
1703 generated by GNU Autoconf
2.60
1705 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1706 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1707 This configure
script is free software
; the Free Software Foundation
1708 gives unlimited permission to copy
, distribute and modify it.
1712 cat >config.log
<<_ACEOF
1713 This file contains any messages produced by compilers while
1714 running configure, to aid debugging if configure makes a mistake.
1716 It was created by $as_me, which was
1717 generated by GNU Autoconf 2.60. Invocation command line was
1729 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1730 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1731 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1732 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1733 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1735 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1736 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1738 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1739 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1740 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1741 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1742 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1743 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1744 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1752 test -z "$as_dir" && as_dir
=.
1753 echo "PATH: $as_dir"
1769 # Keep a trace of the command line.
1770 # Strip out --no-create and --no-recursion so they do not pile up.
1771 # Strip out --silent because we don't want to record it for future runs.
1772 # Also quote any args containing shell meta-characters.
1773 # Make two passes to allow for proper duplicate-argument suppression.
1777 ac_must_keep_next
=false
1783 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1784 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1785 |
-silent |
--silent |
--silen |
--sile |
--sil)
1788 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1791 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1793 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1794 if test $ac_must_keep_next = true
; then
1795 ac_must_keep_next
=false
# Got value, back to normal.
1798 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1799 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1800 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1801 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1802 case "$ac_configure_args0 " in
1803 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1806 -* ) ac_must_keep_next
=true
;;
1809 ac_configure_args
="$ac_configure_args '$ac_arg'"
1814 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1815 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1817 # When interrupted or exit'd, cleanup temporary files, and complete
1818 # config.log. We remove comments because anyway the quotes in there
1819 # would cause problems or look ugly.
1820 # WARNING: Use '\'' to represent an apostrophe within the trap.
1821 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1822 trap 'exit_status=$?
1823 # Save into config.log some information that might help in debugging.
1828 ## ---------------- ##
1829 ## Cache variables. ##
1830 ## ---------------- ##
1833 # The following way of writing the cache mishandles newlines in values,
1835 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1836 eval ac_val=\$$ac_var
1840 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1841 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1844 _ | IFS | as_nl) ;; #(
1845 *) $as_unset $ac_var ;;
1850 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1851 *${as_nl}ac_space=\ *)
1853 "s/'\''/'\''\\\\'\'''\''/g;
1854 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1857 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1865 ## ----------------- ##
1866 ## Output variables. ##
1867 ## ----------------- ##
1870 for ac_var in $ac_subst_vars
1872 eval ac_val=\$$ac_var
1874 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1876 echo "$ac_var='\''$ac_val'\''"
1880 if test -n "$ac_subst_files"; then
1882 ## ------------------- ##
1883 ## File substitutions. ##
1884 ## ------------------- ##
1887 for ac_var
in $ac_subst_files
1889 eval ac_val
=\$
$ac_var
1891 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1893 echo "$ac_var='\''$ac_val'\''"
1898 if test -s confdefs.h; then
1908 test "$ac_signal" != 0 &&
1909 echo "$as_me: caught signal $ac_signal"
1910 echo "$as_me: exit $exit_status"
1912 rm -f core *.core core.conftest.* &&
1913 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1916 for ac_signal
in 1 2 13 15; do
1917 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1921 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1922 rm -f -r conftest
* confdefs.h
1924 # Predefined preprocessor variables.
1926 cat >>confdefs.h
<<_ACEOF
1927 #define PACKAGE_NAME "$PACKAGE_NAME"
1931 cat >>confdefs.h
<<_ACEOF
1932 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1936 cat >>confdefs.h
<<_ACEOF
1937 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1941 cat >>confdefs.h
<<_ACEOF
1942 #define PACKAGE_STRING "$PACKAGE_STRING"
1946 cat >>confdefs.h
<<_ACEOF
1947 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1951 # Let the site file select an alternate cache file if it wants to.
1952 # Prefer explicitly selected file to automatically selected ones.
1953 if test -n "$CONFIG_SITE"; then
1954 set x
"$CONFIG_SITE"
1955 elif test "x$prefix" != xNONE
; then
1956 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1958 set x
"$ac_default_prefix/share/config.site" \
1959 "$ac_default_prefix/etc/config.site"
1964 if test -r "$ac_site_file"; then
1965 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1966 echo "$as_me: loading site script $ac_site_file" >&6;}
1967 sed 's/^/| /' "$ac_site_file" >&5
1972 if test -r "$cache_file"; then
1973 # Some versions of bash will fail to source /dev/null (special
1974 # files actually), so we avoid doing that.
1975 if test -f "$cache_file"; then
1976 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1977 echo "$as_me: loading cache $cache_file" >&6;}
1979 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1980 *) .
"./$cache_file";;
1984 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1985 echo "$as_me: creating cache $cache_file" >&6;}
1989 # Check that the precious variables saved in the cache have kept the same
1991 ac_cache_corrupted
=false
1992 for ac_var
in $ac_precious_vars; do
1993 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1994 eval ac_new_set
=\
$ac_env_${ac_var}_set
1995 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1996 eval ac_new_val
=\
$ac_env_${ac_var}_value
1997 case $ac_old_set,$ac_new_set in
1999 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2000 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2001 ac_cache_corrupted
=: ;;
2003 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2004 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2005 ac_cache_corrupted
=: ;;
2008 if test "x$ac_old_val" != "x$ac_new_val"; then
2009 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2010 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2011 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2012 echo "$as_me: former value: $ac_old_val" >&2;}
2013 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2014 echo "$as_me: current value: $ac_new_val" >&2;}
2015 ac_cache_corrupted
=:
2018 # Pass precious variables to config.status.
2019 if test "$ac_new_set" = set; then
2021 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2022 *) ac_arg
=$ac_var=$ac_new_val ;;
2024 case " $ac_configure_args " in
2025 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2026 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2030 if $ac_cache_corrupted; then
2031 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2032 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2033 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2034 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2035 { (exit 1); exit 1; }; }
2055 ac_cpp
='$CPP $CPPFLAGS'
2056 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2057 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2058 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2062 ac_config_headers
="$ac_config_headers config.h"
2064 ac_config_headers
="$ac_config_headers ltdlconf.h"
2068 VER_STRING
="2.3.6.cvs"
2069 REL_STRING
="Build from CVS snapshot, after release 2.3.6"
2075 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2076 if test -f "$ac_dir/install-sh"; then
2078 ac_install_sh
="$ac_aux_dir/install-sh -c"
2080 elif test -f "$ac_dir/install.sh"; then
2082 ac_install_sh
="$ac_aux_dir/install.sh -c"
2084 elif test -f "$ac_dir/shtool"; then
2086 ac_install_sh
="$ac_aux_dir/shtool install -c"
2090 if test -z "$ac_aux_dir"; then
2091 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2092 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2093 { (exit 1); exit 1; }; }
2096 # These three variables are undocumented and unsupported,
2097 # and are intended to be withdrawn in a future Autoconf release.
2098 # They can cause serious problems if a builder's source tree is in a directory
2099 # whose full name contains unusual characters.
2100 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2101 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2102 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2105 # Make sure we can run config.sub.
2106 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2107 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2108 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2109 { (exit 1); exit 1; }; }
2111 { echo "$as_me:$LINENO: checking build system type" >&5
2112 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2113 if test "${ac_cv_build+set}" = set; then
2114 echo $ECHO_N "(cached) $ECHO_C" >&6
2116 ac_build_alias
=$build_alias
2117 test "x$ac_build_alias" = x
&&
2118 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2119 test "x$ac_build_alias" = x
&&
2120 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2121 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2122 { (exit 1); exit 1; }; }
2123 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2124 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2125 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2126 { (exit 1); exit 1; }; }
2129 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2130 echo "${ECHO_T}$ac_cv_build" >&6; }
2131 case $ac_cv_build in
2133 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2134 echo "$as_me: error: invalid value of canonical build" >&2;}
2135 { (exit 1); exit 1; }; };;
2138 ac_save_IFS
=$IFS; IFS
='-'
2144 # Remember, the first character of IFS is used to create $*,
2145 # except with old shells:
2148 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2151 { echo "$as_me:$LINENO: checking host system type" >&5
2152 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2153 if test "${ac_cv_host+set}" = set; then
2154 echo $ECHO_N "(cached) $ECHO_C" >&6
2156 if test "x$host_alias" = x
; then
2157 ac_cv_host
=$ac_cv_build
2159 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2160 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2161 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2162 { (exit 1); exit 1; }; }
2166 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2167 echo "${ECHO_T}$ac_cv_host" >&6; }
2170 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2171 echo "$as_me: error: invalid value of canonical host" >&2;}
2172 { (exit 1); exit 1; }; };;
2175 ac_save_IFS
=$IFS; IFS
='-'
2181 # Remember, the first character of IFS is used to create $*,
2182 # except with old shells:
2185 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2188 { echo "$as_me:$LINENO: checking target system type" >&5
2189 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2190 if test "${ac_cv_target+set}" = set; then
2191 echo $ECHO_N "(cached) $ECHO_C" >&6
2193 if test "x$target_alias" = x
; then
2194 ac_cv_target
=$ac_cv_host
2196 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2197 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2198 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2199 { (exit 1); exit 1; }; }
2203 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2204 echo "${ECHO_T}$ac_cv_target" >&6; }
2205 case $ac_cv_target in
2207 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2208 echo "$as_me: error: invalid value of canonical target" >&2;}
2209 { (exit 1); exit 1; }; };;
2211 target
=$ac_cv_target
2212 ac_save_IFS
=$IFS; IFS
='-'
2218 # Remember, the first character of IFS is used to create $*,
2219 # except with old shells:
2222 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2225 # The aliases save the names the user supplied, while $host etc.
2226 # will get canonicalized.
2227 test -n "$target_alias" &&
2228 test "$program_prefix$program_suffix$program_transform_name" = \
2230 program_prefix
=${target_alias}-
2232 { echo "$as_me:$LINENO: checking if you are configuring for another platform" >&5
2233 echo $ECHO_N "checking if you are configuring for another platform... $ECHO_C" >&6; }
2234 if test "$cross_compiling" = yes -o "$target_os" = "windows"; then
2235 { echo "$as_me:$LINENO: result: yes" >&5
2236 echo "${ECHO_T}yes" >&6; }
2239 { echo "$as_me:$LINENO: result: no" >&5
2240 echo "${ECHO_T}no" >&6; }
2244 # this case statement defines the compile flags which are needed to
2245 # compile bochs on a platform. Don't put things like optimization settings
2246 # into the configure.in file, since people will want to be able to change
2247 # those settings by defining CFLAGS and CXXFLAGS before running configure.
2249 need_dlcompat_for_plugins
=0
2251 *-pc-windows* |
*-pc-winnt*)
2252 DEFAULT_GUI
=win32
# default to win32 gui
2254 *-pc-cygwin* |
*-pc-mingw32*)
2255 NO_LT
=1 # do not use libtool at all on cygwin
2256 if test "$with_term" = yes; then
2257 # ncurses won't compile with -mno-cygwin or -DWIN32
2258 # also, I can't get it to link without this -DBROKEN_LINKER=1 hack.
2259 # see /usr/include/curses.h for details.
2260 ADD_FLAGS
="-DBROKEN_LINKER=1"
2263 ADD_FLAGS
="-mno-cygwin -DWIN32" # required for cygwin compile+win32 gui
2264 DEFAULT_GUI
=win32
# default to win32 gui
2267 *-macosx* |
*-darwin*)
2268 ADD_FLAGS
="-fpascal-strings -fno-common -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh" # required for macosx compile
2269 DEFAULT_GUI
=carbon
# default to carbon
2270 need_dlcompat_for_plugins
=1
2273 DEFAULT_GUI
=macos
# macos defaults to macos
2276 ADD_FLAGS
="-Wno-multichar"
2277 DEFAULT_GUI
=beos
# beos defaults to beos
2279 *-amigaos* |
*-morphos*)
2280 DEFAULT_GUI
=amigaos
# amigaos or morphos defaults to amigaos gui
2283 ADD_FLAGS
="-D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__" # required for correct function prototypes
2284 LIBS
="$LIBS -lsocket -lnsl"
2291 if test "${ADD_FLAGS:+set}" = set; then
2292 CFLAGS
="$CFLAGS $ADD_FLAGS"
2293 CXXFLAGS
="$CXXFLAGS $ADD_FLAGS"
2294 CPPFLAGS
="$CPPFLAGS $ADD_FLAGS"
2297 { echo "$as_me:$LINENO: checking for standard CFLAGS on this platform" >&5
2298 echo $ECHO_N "checking for standard CFLAGS on this platform... $ECHO_C" >&6; }
2299 { echo "$as_me:$LINENO: result: $ADD_FLAGS" >&5
2300 echo "${ECHO_T}$ADD_FLAGS" >&6; }
2302 if (test "$with_sdl" != yes) && \
2303 (test "$with_svga" != yes) && \
2304 (test "$with_x11" != yes) && \
2305 (test "$with_beos" != yes) && \
2306 (test "$with_win32" != yes) && \
2307 (test "$with_nogui" != yes) && \
2308 (test "$with_term" != yes) && \
2309 (test "$with_rfb" != yes) && \
2310 (test "$with_amigaos" != yes) && \
2311 (test "$with_carbon" != yes) && \
2312 (test "$with_wx" != yes) && \
2313 (test "$with_macos" != yes); then
2314 # use DEFAULT_GUI. Set the appropriate variable.
2315 # DEFAULT_GUI must be set to one of the names above. Otherwise, no
2316 # valid $with_* variable will be set and who knows what will happen?
2317 eval "with_${DEFAULT_GUI}=yes"
2321 ac_cpp
='$CPP $CPPFLAGS'
2322 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2323 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2324 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2325 if test -n "$ac_tool_prefix"; then
2326 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2327 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2330 if test "${ac_cv_prog_CC+set}" = set; then
2331 echo $ECHO_N "(cached) $ECHO_C" >&6
2333 if test -n "$CC"; then
2334 ac_cv_prog_CC
="$CC" # Let the user override the test.
2336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2340 test -z "$as_dir" && as_dir
=.
2341 for ac_exec_ext
in '' $ac_executable_extensions; do
2342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2343 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2354 if test -n "$CC"; then
2355 { echo "$as_me:$LINENO: result: $CC" >&5
2356 echo "${ECHO_T}$CC" >&6; }
2358 { echo "$as_me:$LINENO: result: no" >&5
2359 echo "${ECHO_T}no" >&6; }
2364 if test -z "$ac_cv_prog_CC"; then
2366 # Extract the first word of "gcc", so it can be a program name with args.
2367 set dummy gcc
; ac_word
=$2
2368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2370 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2371 echo $ECHO_N "(cached) $ECHO_C" >&6
2373 if test -n "$ac_ct_CC"; then
2374 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2380 test -z "$as_dir" && as_dir
=.
2381 for ac_exec_ext
in '' $ac_executable_extensions; do
2382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2383 ac_cv_prog_ac_ct_CC
="gcc"
2384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2393 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2394 if test -n "$ac_ct_CC"; then
2395 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2396 echo "${ECHO_T}$ac_ct_CC" >&6; }
2398 { echo "$as_me:$LINENO: result: no" >&5
2399 echo "${ECHO_T}no" >&6; }
2402 if test "x$ac_ct_CC" = x
; then
2405 case $cross_compiling:$ac_tool_warned in
2407 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2408 whose name does not start with the host triplet. If you think this
2409 configuration is useful to you, please write to autoconf@gnu.org." >&5
2410 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2411 whose name does not start with the host triplet. If you think this
2412 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2413 ac_tool_warned
=yes ;;
2421 if test -z "$CC"; then
2422 if test -n "$ac_tool_prefix"; then
2423 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2424 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2427 if test "${ac_cv_prog_CC+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2430 if test -n "$CC"; then
2431 ac_cv_prog_CC
="$CC" # Let the user override the test.
2433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2437 test -z "$as_dir" && as_dir
=.
2438 for ac_exec_ext
in '' $ac_executable_extensions; do
2439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2440 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 if test -n "$CC"; then
2452 { echo "$as_me:$LINENO: result: $CC" >&5
2453 echo "${ECHO_T}$CC" >&6; }
2455 { echo "$as_me:$LINENO: result: no" >&5
2456 echo "${ECHO_T}no" >&6; }
2462 if test -z "$CC"; then
2463 # Extract the first word of "cc", so it can be a program name with args.
2464 set dummy cc
; ac_word
=$2
2465 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2467 if test "${ac_cv_prog_CC+set}" = set; then
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
2470 if test -n "$CC"; then
2471 ac_cv_prog_CC
="$CC" # Let the user override the test.
2474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2478 test -z "$as_dir" && as_dir
=.
2479 for ac_exec_ext
in '' $ac_executable_extensions; do
2480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2481 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2482 ac_prog_rejected
=yes
2486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2493 if test $ac_prog_rejected = yes; then
2494 # We found a bogon in the path, so make sure we never use it.
2495 set dummy
$ac_cv_prog_CC
2497 if test $# != 0; then
2498 # We chose a different compiler from the bogus one.
2499 # However, it has the same basename, so the bogon will be chosen
2500 # first if we set CC to just the basename; use the full file name.
2502 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2508 if test -n "$CC"; then
2509 { echo "$as_me:$LINENO: result: $CC" >&5
2510 echo "${ECHO_T}$CC" >&6; }
2512 { echo "$as_me:$LINENO: result: no" >&5
2513 echo "${ECHO_T}no" >&6; }
2518 if test -z "$CC"; then
2519 if test -n "$ac_tool_prefix"; then
2520 for ac_prog
in cl.exe
2522 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2523 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2526 if test "${ac_cv_prog_CC+set}" = set; then
2527 echo $ECHO_N "(cached) $ECHO_C" >&6
2529 if test -n "$CC"; then
2530 ac_cv_prog_CC
="$CC" # Let the user override the test.
2532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2536 test -z "$as_dir" && as_dir
=.
2537 for ac_exec_ext
in '' $ac_executable_extensions; do
2538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2539 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2550 if test -n "$CC"; then
2551 { echo "$as_me:$LINENO: result: $CC" >&5
2552 echo "${ECHO_T}$CC" >&6; }
2554 { echo "$as_me:$LINENO: result: no" >&5
2555 echo "${ECHO_T}no" >&6; }
2559 test -n "$CC" && break
2562 if test -z "$CC"; then
2564 for ac_prog
in cl.exe
2566 # Extract the first word of "$ac_prog", so it can be a program name with args.
2567 set dummy
$ac_prog; ac_word
=$2
2568 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2570 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2571 echo $ECHO_N "(cached) $ECHO_C" >&6
2573 if test -n "$ac_ct_CC"; then
2574 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2580 test -z "$as_dir" && as_dir
=.
2581 for ac_exec_ext
in '' $ac_executable_extensions; do
2582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2583 ac_cv_prog_ac_ct_CC
="$ac_prog"
2584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2593 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2594 if test -n "$ac_ct_CC"; then
2595 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2596 echo "${ECHO_T}$ac_ct_CC" >&6; }
2598 { echo "$as_me:$LINENO: result: no" >&5
2599 echo "${ECHO_T}no" >&6; }
2603 test -n "$ac_ct_CC" && break
2606 if test "x$ac_ct_CC" = x
; then
2609 case $cross_compiling:$ac_tool_warned in
2611 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2612 whose name does not start with the host triplet. If you think this
2613 configuration is useful to you, please write to autoconf@gnu.org." >&5
2614 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2615 whose name does not start with the host triplet. If you think this
2616 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2617 ac_tool_warned
=yes ;;
2626 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2627 See \`config.log' for more details." >&5
2628 echo "$as_me: error: no acceptable C compiler found in \$PATH
2629 See \`config.log' for more details." >&2;}
2630 { (exit 1); exit 1; }; }
2632 # Provide some information about the compiler.
2633 echo "$as_me:$LINENO: checking for C compiler version" >&5
2634 ac_compiler
=`set X $ac_compile; echo $2`
2635 { (ac_try
="$ac_compiler --version >&5"
2637 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2638 *) ac_try_echo=$ac_try;;
2640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2641 (eval "$ac_compiler --version >&5") 2>&5
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); }
2645 { (ac_try="$ac_compiler -v >&5"
2647 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2648 *) ac_try_echo
=$ac_try;;
2650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2651 (eval "$ac_compiler -v >&5") 2>&5
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); }
2655 { (ac_try
="$ac_compiler -V >&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 -V >&5") 2>&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); }
2666 cat >conftest.$ac_ext <<_ACEOF
2669 cat confdefs.h >>conftest.$ac_ext
2670 cat >>conftest.$ac_ext <<_ACEOF
2671 /* end confdefs.h. */
2681 ac_clean_files_save=$ac_clean_files
2682 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2683 # Try to create an executable without -o first, disregard a.out.
2684 # It will help us diagnose broken compilers, and finding out an intuition
2686 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2687 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2688 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2690 # List of possible output files, starting from the most likely.
2691 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2692 # only as a last resort. b.out is created by i960 compilers.
2693 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2695 # The IRIX 6 linker writes into existing files which may not be
2696 # executable, retaining their permissions. Remove them first so a
2697 # subsequent execution test works.
2699 for ac_file in $ac_files
2702 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2703 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2708 if { (ac_try="$ac_link_default"
2710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2711 *) ac_try_echo=$ac_try;;
2713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2714 (eval "$ac_link_default") 2>&5
2716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2717 (exit $ac_status); }; then
2718 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2719 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2720 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2721 # so that the user can short-circuit this test for compilers unknown to
2723 for ac_file
in $ac_files
2725 test -f "$ac_file" ||
continue
2727 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2730 # We found the default executable, but exeext='' is most
2734 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2736 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2738 # We set ac_cv_exeext here because the later test for it is not
2739 # safe: cross compilers may not add the suffix if given an `-o'
2740 # argument, so we may need to know it at that point already.
2741 # Even if this section looks crufty: it has the advantage of
2748 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2751 echo "$as_me: failed program was:" >&5
2752 sed 's/^/| /' conftest.
$ac_ext >&5
2754 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2755 See \`config.log' for more details." >&5
2756 echo "$as_me: error: C compiler cannot create executables
2757 See \`config.log' for more details." >&2;}
2758 { (exit 77); exit 77; }; }
2761 ac_exeext
=$ac_cv_exeext
2762 { echo "$as_me:$LINENO: result: $ac_file" >&5
2763 echo "${ECHO_T}$ac_file" >&6; }
2765 # Check that the compiler produces executables we can run. If not, either
2766 # the compiler is broken, or we cross compile.
2767 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2768 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2769 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2770 # If not cross compiling, check that we can run a simple program.
2771 if test "$cross_compiling" != yes; then
2772 if { ac_try
='./$ac_file'
2773 { (case "(($ac_try" in
2774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2775 *) ac_try_echo=$ac_try;;
2777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2778 (eval "$ac_try") 2>&5
2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781 (exit $ac_status); }; }; then
2784 if test "$cross_compiling" = maybe; then
2787 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2788 If you meant to cross compile, use \`--host'.
2789 See \`config.log' for more details.
" >&5
2790 echo "$as_me: error
: cannot run C compiled programs.
2791 If you meant to cross compile
, use \
`--host'.
2792 See \`config.log
' for more details." >&2;}
2793 { (exit 1); exit 1; }; }
2797 { echo "$as_me:$LINENO: result: yes" >&5
2798 echo "${ECHO_T}yes" >&6; }
2800 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2801 ac_clean_files=$ac_clean_files_save
2802 # Check that the compiler produces executables we can run. If not, either
2803 # the compiler is broken, or we cross compile.
2804 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2805 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2806 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2807 echo "${ECHO_T}$cross_compiling" >&6; }
2809 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2810 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2811 if { (ac_try="$ac_link"
2813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2814 *) ac_try_echo=$ac_try;;
2816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2817 (eval "$ac_link") 2>&5
2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 (exit $ac_status); }; then
2821 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2822 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2823 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2825 for ac_file
in conftest.exe conftest conftest.
*; do
2826 test -f "$ac_file" ||
continue
2828 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2829 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2835 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2836 See \`config.log' for more details." >&5
2837 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2838 See \`config.log' for more details." >&2;}
2839 { (exit 1); exit 1; }; }
2842 rm -f conftest
$ac_cv_exeext
2843 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2844 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2846 rm -f conftest.
$ac_ext
2847 EXEEXT
=$ac_cv_exeext
2849 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2850 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2851 if test "${ac_cv_objext+set}" = set; then
2852 echo $ECHO_N "(cached) $ECHO_C" >&6
2854 cat >conftest.
$ac_ext <<_ACEOF
2857 cat confdefs.h
>>conftest.
$ac_ext
2858 cat >>conftest.
$ac_ext <<_ACEOF
2859 /* end confdefs.h. */
2869 rm -f conftest.o conftest.obj
2870 if { (ac_try
="$ac_compile"
2872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2873 *) ac_try_echo=$ac_try;;
2875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2876 (eval "$ac_compile") 2>&5
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); }; then
2880 for ac_file in conftest.o conftest.obj conftest.*; do
2881 test -f "$ac_file" || continue;
2883 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2884 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2889 echo "$as_me: failed program was:" >&5
2890 sed 's/^/| /' conftest.$ac_ext >&5
2892 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2893 See \`config.log
' for more details." >&5
2894 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2895 See \`config.log' for more details.
" >&2;}
2896 { (exit 1); exit 1; }; }
2899 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2901 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2902 echo "${ECHO_T}$ac_cv_objext" >&6; }
2903 OBJEXT=$ac_cv_objext
2905 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2906 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2907 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2908 echo $ECHO_N "(cached
) $ECHO_C" >&6
2910 cat >conftest.$ac_ext <<_ACEOF
2913 cat confdefs.h >>conftest.$ac_ext
2914 cat >>conftest.$ac_ext <<_ACEOF
2915 /* end confdefs.h. */
2928 rm -f conftest.$ac_objext
2929 if { (ac_try="$ac_compile"
2931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2932 *) ac_try_echo=$ac_try;;
2934 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2935 (eval "$ac_compile") 2>conftest.er1
2937 grep -v '^ *+' conftest.er1 >conftest.err
2939 cat conftest.err >&5
2940 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2941 (exit $ac_status); } &&
2942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2943 { (case "(($ac_try" in
2944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2945 *) ac_try_echo=$ac_try;;
2947 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2948 (eval "$ac_try") 2>&5
2950 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2951 (exit $ac_status); }; } &&
2952 { ac_try='test -s conftest.$ac_objext'
2953 { (case "(($ac_try" in
2954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2955 *) ac_try_echo=$ac_try;;
2957 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2958 (eval "$ac_try") 2>&5
2960 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2961 (exit $ac_status); }; }; then
2964 echo "$as_me: failed program was
:" >&5
2965 sed 's/^/| /' conftest.$ac_ext >&5
2970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2971 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2974 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2975 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2976 GCC=`test $ac_compiler_gnu = yes && echo yes`
2977 ac_test_CFLAGS=${CFLAGS+set}
2978 ac_save_CFLAGS=$CFLAGS
2979 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2980 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2981 if test "${ac_cv_prog_cc_g+set}" = set; then
2982 echo $ECHO_N "(cached
) $ECHO_C" >&6
2984 ac_save_c_werror_flag=$ac_c_werror_flag
2985 ac_c_werror_flag=yes
2988 cat >conftest.$ac_ext <<_ACEOF
2991 cat confdefs.h >>conftest.$ac_ext
2992 cat >>conftest.$ac_ext <<_ACEOF
2993 /* end confdefs.h. */
3003 rm -f conftest.$ac_objext
3004 if { (ac_try="$ac_compile"
3006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3007 *) ac_try_echo=$ac_try;;
3009 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3010 (eval "$ac_compile") 2>conftest.er1
3012 grep -v '^ *+' conftest.er1 >conftest.err
3014 cat conftest.err >&5
3015 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3016 (exit $ac_status); } &&
3017 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3018 { (case "(($ac_try" in
3019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3020 *) ac_try_echo=$ac_try;;
3022 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3023 (eval "$ac_try") 2>&5
3025 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3026 (exit $ac_status); }; } &&
3027 { ac_try='test -s conftest.$ac_objext'
3028 { (case "(($ac_try" in
3029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3030 *) ac_try_echo=$ac_try;;
3032 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3033 (eval "$ac_try") 2>&5
3035 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3036 (exit $ac_status); }; }; then
3039 echo "$as_me: failed program was
:" >&5
3040 sed 's/^/| /' conftest.$ac_ext >&5
3043 cat >conftest.$ac_ext <<_ACEOF
3046 cat confdefs.h >>conftest.$ac_ext
3047 cat >>conftest.$ac_ext <<_ACEOF
3048 /* end confdefs.h. */
3058 rm -f conftest.$ac_objext
3059 if { (ac_try="$ac_compile"
3061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3062 *) ac_try_echo=$ac_try;;
3064 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3065 (eval "$ac_compile") 2>conftest.er1
3067 grep -v '^ *+' conftest.er1 >conftest.err
3069 cat conftest.err >&5
3070 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3071 (exit $ac_status); } &&
3072 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3073 { (case "(($ac_try" in
3074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3075 *) ac_try_echo=$ac_try;;
3077 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3078 (eval "$ac_try") 2>&5
3080 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3081 (exit $ac_status); }; } &&
3082 { ac_try='test -s conftest.$ac_objext'
3083 { (case "(($ac_try" in
3084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3085 *) ac_try_echo=$ac_try;;
3087 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3088 (eval "$ac_try") 2>&5
3090 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3091 (exit $ac_status); }; }; then
3094 echo "$as_me: failed program was
:" >&5
3095 sed 's/^/| /' conftest.$ac_ext >&5
3097 ac_c_werror_flag=$ac_save_c_werror_flag
3099 cat >conftest.$ac_ext <<_ACEOF
3102 cat confdefs.h >>conftest.$ac_ext
3103 cat >>conftest.$ac_ext <<_ACEOF
3104 /* end confdefs.h. */
3114 rm -f conftest.$ac_objext
3115 if { (ac_try="$ac_compile"
3117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118 *) ac_try_echo=$ac_try;;
3120 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3121 (eval "$ac_compile") 2>conftest.er1
3123 grep -v '^ *+' conftest.er1 >conftest.err
3125 cat conftest.err >&5
3126 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3127 (exit $ac_status); } &&
3128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3129 { (case "(($ac_try" in
3130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3131 *) ac_try_echo=$ac_try;;
3133 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3134 (eval "$ac_try") 2>&5
3136 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3137 (exit $ac_status); }; } &&
3138 { ac_try='test -s conftest.$ac_objext'
3139 { (case "(($ac_try" in
3140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3141 *) ac_try_echo=$ac_try;;
3143 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3144 (eval "$ac_try") 2>&5
3146 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3147 (exit $ac_status); }; }; then
3150 echo "$as_me: failed program was
:" >&5
3151 sed 's/^/| /' conftest.$ac_ext >&5
3156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3163 ac_c_werror_flag=$ac_save_c_werror_flag
3165 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3166 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3167 if test "$ac_test_CFLAGS" = set; then
3168 CFLAGS=$ac_save_CFLAGS
3169 elif test $ac_cv_prog_cc_g = yes; then
3170 if test "$GCC" = yes; then
3176 if test "$GCC" = yes; then
3182 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3183 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3184 if test "${ac_cv_prog_cc_c89+set}" = set; then
3185 echo $ECHO_N "(cached
) $ECHO_C" >&6
3187 ac_cv_prog_cc_c89=no
3189 cat >conftest.$ac_ext <<_ACEOF
3192 cat confdefs.h >>conftest.$ac_ext
3193 cat >>conftest.$ac_ext <<_ACEOF
3194 /* end confdefs.h. */
3197 #include <sys/types.h>
3198 #include <sys/stat.h>
3199 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3200 struct buf { int x; };
3201 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3202 static char *e (p, i)
3208 static char *f (char * (*g) (char **, int), char **p, ...)
3213 s = g (p, va_arg (v,int));
3218 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3219 function prototypes and stuff, but not '\xHH' hex character constants.
3220 These don't provoke an error unfortunately, instead are silently treated
3221 as 'x'. The following induces an error, until -std is added to get
3222 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3223 array size at least. It's necessary to write '\x00'==0 to get something
3224 that's true only with -std. */
3225 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3227 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3228 inside strings and character constants. */
3230 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3232 int test (int i, double x);
3233 struct s1 {int (*f) (int a);};
3234 struct s2 {int (*f) (double a);};
3235 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3241 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3246 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3247 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3249 CC="$ac_save_CC $ac_arg"
3250 rm -f conftest.$ac_objext
3251 if { (ac_try="$ac_compile"
3253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3254 *) ac_try_echo=$ac_try;;
3256 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3257 (eval "$ac_compile") 2>conftest.er1
3259 grep -v '^ *+' conftest.er1 >conftest.err
3261 cat conftest.err >&5
3262 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3263 (exit $ac_status); } &&
3264 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3265 { (case "(($ac_try" in
3266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3267 *) ac_try_echo=$ac_try;;
3269 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3270 (eval "$ac_try") 2>&5
3272 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3273 (exit $ac_status); }; } &&
3274 { ac_try='test -s conftest.$ac_objext'
3275 { (case "(($ac_try" in
3276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3277 *) ac_try_echo=$ac_try;;
3279 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3280 (eval "$ac_try") 2>&5
3282 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3283 (exit $ac_status); }; }; then
3284 ac_cv_prog_cc_c89=$ac_arg
3286 echo "$as_me: failed program was
:" >&5
3287 sed 's/^/| /' conftest.$ac_ext >&5
3292 rm -f core conftest.err conftest.$ac_objext
3293 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3295 rm -f conftest.$ac_ext
3300 case "x
$ac_cv_prog_cc_c89" in
3302 { echo "$as_me:$LINENO: result
: none needed
" >&5
3303 echo "${ECHO_T}none needed
" >&6; } ;;
3305 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3306 echo "${ECHO_T}unsupported
" >&6; } ;;
3308 CC="$CC $ac_cv_prog_cc_c89"
3309 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3310 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3315 ac_cpp='$CPP $CPPFLAGS'
3316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3321 ac_cpp='$CXXCPP $CPPFLAGS'
3322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3325 if test -z "$CXX"; then
3326 if test -n "$CCC"; then
3329 if test -n "$ac_tool_prefix"; then
3330 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3332 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3333 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3334 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3335 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3336 if test "${ac_cv_prog_CXX+set}" = set; then
3337 echo $ECHO_N "(cached
) $ECHO_C" >&6
3339 if test -n "$CXX"; then
3340 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3346 test -z "$as_dir" && as_dir=.
3347 for ac_exec_ext in '' $ac_executable_extensions; do
3348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3349 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3350 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3360 if test -n "$CXX"; then
3361 { echo "$as_me:$LINENO: result
: $CXX" >&5
3362 echo "${ECHO_T}$CXX" >&6; }
3364 { echo "$as_me:$LINENO: result
: no
" >&5
3365 echo "${ECHO_T}no
" >&6; }
3369 test -n "$CXX" && break
3372 if test -z "$CXX"; then
3374 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3376 # Extract the first word of "$ac_prog", so it can be a program name with args.
3377 set dummy $ac_prog; ac_word=$2
3378 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3379 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3380 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3381 echo $ECHO_N "(cached
) $ECHO_C" >&6
3383 if test -n "$ac_ct_CXX"; then
3384 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3390 test -z "$as_dir" && as_dir=.
3391 for ac_exec_ext in '' $ac_executable_extensions; do
3392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3393 ac_cv_prog_ac_ct_CXX="$ac_prog"
3394 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3403 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3404 if test -n "$ac_ct_CXX"; then
3405 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3406 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3408 { echo "$as_me:$LINENO: result
: no
" >&5
3409 echo "${ECHO_T}no
" >&6; }
3413 test -n "$ac_ct_CXX" && break
3416 if test "x
$ac_ct_CXX" = x; then
3419 case $cross_compiling:$ac_tool_warned in
3421 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3422 whose name does not start with the
host triplet. If you think this
3423 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3424 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3425 whose name does not start with the
host triplet. If you think this
3426 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3427 ac_tool_warned=yes ;;
3435 # Provide some information about the compiler.
3436 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3437 ac_compiler=`set X $ac_compile; echo $2`
3438 { (ac_try="$ac_compiler --version >&5"
3440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3441 *) ac_try_echo=$ac_try;;
3443 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3444 (eval "$ac_compiler --version >&5") 2>&5
3446 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3447 (exit $ac_status); }
3448 { (ac_try="$ac_compiler -v >&5"
3450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3451 *) ac_try_echo=$ac_try;;
3453 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3454 (eval "$ac_compiler -v >&5") 2>&5
3456 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3457 (exit $ac_status); }
3458 { (ac_try="$ac_compiler -V >&5"
3460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3461 *) ac_try_echo=$ac_try;;
3463 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3464 (eval "$ac_compiler -V >&5") 2>&5
3466 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3467 (exit $ac_status); }
3469 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3470 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3471 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3472 echo $ECHO_N "(cached
) $ECHO_C" >&6
3474 cat >conftest.$ac_ext <<_ACEOF
3477 cat confdefs.h >>conftest.$ac_ext
3478 cat >>conftest.$ac_ext <<_ACEOF
3479 /* end confdefs.h. */
3492 rm -f conftest.$ac_objext
3493 if { (ac_try="$ac_compile"
3495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3496 *) ac_try_echo=$ac_try;;
3498 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3499 (eval "$ac_compile") 2>conftest.er1
3501 grep -v '^ *+' conftest.er1 >conftest.err
3503 cat conftest.err >&5
3504 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3505 (exit $ac_status); } &&
3506 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3507 { (case "(($ac_try" in
3508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3509 *) ac_try_echo=$ac_try;;
3511 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3512 (eval "$ac_try") 2>&5
3514 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3515 (exit $ac_status); }; } &&
3516 { ac_try='test -s conftest.$ac_objext'
3517 { (case "(($ac_try" in
3518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519 *) ac_try_echo=$ac_try;;
3521 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3522 (eval "$ac_try") 2>&5
3524 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3525 (exit $ac_status); }; }; then
3528 echo "$as_me: failed program was
:" >&5
3529 sed 's/^/| /' conftest.$ac_ext >&5
3534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3535 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3538 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3539 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3540 GXX=`test $ac_compiler_gnu = yes && echo yes`
3541 ac_test_CXXFLAGS=${CXXFLAGS+set}
3542 ac_save_CXXFLAGS=$CXXFLAGS
3543 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3544 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3545 if test "${ac_cv_prog_cxx_g+set}" = set; then
3546 echo $ECHO_N "(cached
) $ECHO_C" >&6
3548 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3549 ac_cxx_werror_flag=yes
3552 cat >conftest.$ac_ext <<_ACEOF
3555 cat confdefs.h >>conftest.$ac_ext
3556 cat >>conftest.$ac_ext <<_ACEOF
3557 /* end confdefs.h. */
3567 rm -f conftest.$ac_objext
3568 if { (ac_try="$ac_compile"
3570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3571 *) ac_try_echo=$ac_try;;
3573 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3574 (eval "$ac_compile") 2>conftest.er1
3576 grep -v '^ *+' conftest.er1 >conftest.err
3578 cat conftest.err >&5
3579 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3580 (exit $ac_status); } &&
3581 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3582 { (case "(($ac_try" in
3583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3584 *) ac_try_echo=$ac_try;;
3586 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3587 (eval "$ac_try") 2>&5
3589 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3590 (exit $ac_status); }; } &&
3591 { ac_try='test -s conftest.$ac_objext'
3592 { (case "(($ac_try" in
3593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3594 *) ac_try_echo=$ac_try;;
3596 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3597 (eval "$ac_try") 2>&5
3599 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3600 (exit $ac_status); }; }; then
3601 ac_cv_prog_cxx_g=yes
3603 echo "$as_me: failed program was
:" >&5
3604 sed 's/^/| /' conftest.$ac_ext >&5
3607 cat >conftest.$ac_ext <<_ACEOF
3610 cat confdefs.h >>conftest.$ac_ext
3611 cat >>conftest.$ac_ext <<_ACEOF
3612 /* end confdefs.h. */
3622 rm -f conftest.$ac_objext
3623 if { (ac_try="$ac_compile"
3625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3626 *) ac_try_echo=$ac_try;;
3628 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3629 (eval "$ac_compile") 2>conftest.er1
3631 grep -v '^ *+' conftest.er1 >conftest.err
3633 cat conftest.err >&5
3634 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3635 (exit $ac_status); } &&
3636 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3637 { (case "(($ac_try" in
3638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3639 *) ac_try_echo=$ac_try;;
3641 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3642 (eval "$ac_try") 2>&5
3644 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3645 (exit $ac_status); }; } &&
3646 { ac_try='test -s conftest.$ac_objext'
3647 { (case "(($ac_try" in
3648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3649 *) ac_try_echo=$ac_try;;
3651 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3652 (eval "$ac_try") 2>&5
3654 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3655 (exit $ac_status); }; }; then
3658 echo "$as_me: failed program was
:" >&5
3659 sed 's/^/| /' conftest.$ac_ext >&5
3661 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3663 cat >conftest.$ac_ext <<_ACEOF
3666 cat confdefs.h >>conftest.$ac_ext
3667 cat >>conftest.$ac_ext <<_ACEOF
3668 /* end confdefs.h. */
3678 rm -f conftest.$ac_objext
3679 if { (ac_try="$ac_compile"
3681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3682 *) ac_try_echo=$ac_try;;
3684 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3685 (eval "$ac_compile") 2>conftest.er1
3687 grep -v '^ *+' conftest.er1 >conftest.err
3689 cat conftest.err >&5
3690 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3691 (exit $ac_status); } &&
3692 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3693 { (case "(($ac_try" in
3694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3695 *) ac_try_echo=$ac_try;;
3697 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3698 (eval "$ac_try") 2>&5
3700 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3701 (exit $ac_status); }; } &&
3702 { ac_try='test -s conftest.$ac_objext'
3703 { (case "(($ac_try" in
3704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3705 *) ac_try_echo=$ac_try;;
3707 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3708 (eval "$ac_try") 2>&5
3710 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3711 (exit $ac_status); }; }; then
3712 ac_cv_prog_cxx_g=yes
3714 echo "$as_me: failed program was
:" >&5
3715 sed 's/^/| /' conftest.$ac_ext >&5
3720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3727 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3729 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3730 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3731 if test "$ac_test_CXXFLAGS" = set; then
3732 CXXFLAGS=$ac_save_CXXFLAGS
3733 elif test $ac_cv_prog_cxx_g = yes; then
3734 if test "$GXX" = yes; then
3740 if test "$GXX" = yes; then
3747 ac_cpp='$CPP $CPPFLAGS'
3748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3752 { echo "$as_me:$LINENO: checking whether
${MAKE-make} sets \$
(MAKE
)" >&5
3753 echo $ECHO_N "checking whether
${MAKE-make} sets \$
(MAKE
)...
$ECHO_C" >&6; }
3754 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3755 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3756 echo $ECHO_N "(cached
) $ECHO_C" >&6
3758 cat >conftest.make <<\_ACEOF
3761 @echo '@@@%%%=$(MAKE)=@@@%%%'
3763 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
3764 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3766 eval ac_cv_prog_make_${ac_make}_set=yes;;
3768 eval ac_cv_prog_make_${ac_make}_set=no;;
3772 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3773 { echo "$as_me:$LINENO: result
: yes" >&5
3774 echo "${ECHO_T}yes" >&6; }
3777 { echo "$as_me:$LINENO: result
: no
" >&5
3778 echo "${ECHO_T}no
" >&6; }
3779 SET_MAKE="MAKE
=${MAKE-make}"
3783 # Check whether --enable-static was given.
3784 if test "${enable_static+set}" = set; then
3785 enableval=$enable_static; p=${PACKAGE-default}
3787 yes) enable_static=yes ;;
3788 no) enable_static=no ;;
3791 # Look at the argument we got. We use all the common list separators.
3792 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3793 for pkg in $enableval; do
3795 if test "X
$pkg" = "X
$p"; then
3810 # Check whether --enable-shared was given.
3811 if test "${enable_shared+set}" = set; then
3812 enableval=$enable_shared; p=${PACKAGE-default}
3814 yes) enable_shared=yes ;;
3815 no) enable_shared=no ;;
3818 # Look at the argument we got. We use all the common list separators.
3819 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3820 for pkg in $enableval; do
3822 if test "X
$pkg" = "X
$p"; then
3834 # Check whether --enable-fast-install was given.
3835 if test "${enable_fast_install+set}" = set; then
3836 enableval=$enable_fast_install; p=${PACKAGE-default}
3838 yes) enable_fast_install=yes ;;
3839 no) enable_fast_install=no ;;
3841 enable_fast_install=no
3842 # Look at the argument we got. We use all the common list separators.
3843 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3844 for pkg in $enableval; do
3846 if test "X
$pkg" = "X
$p"; then
3847 enable_fast_install=yes
3854 enable_fast_install=yes
3858 { echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
3859 echo $ECHO_N "checking
for a
sed that does not truncate output...
$ECHO_C" >&6; }
3860 if test "${lt_cv_path_SED+set}" = set; then
3861 echo $ECHO_N "(cached
) $ECHO_C" >&6
3863 # Loop through the user's path and test for sed and gsed.
3864 # Then use that list of sed's as ones to test for truncation.
3865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3869 test -z "$as_dir" && as_dir=.
3870 for lt_ac_prog in sed gsed; do
3871 for ac_exec_ext in '' $ac_executable_extensions; do
3872 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3873 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3880 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3881 # along with /bin/sed that truncates output.
3882 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3883 test ! -f $lt_ac_sed && break
3884 cat /dev/null > conftest.in
3886 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3887 # Check for GNU sed and select it if it is found.
3888 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3889 lt_cv_path_SED=$lt_ac_sed
3893 cat conftest.in conftest.in >conftest.tmp
3894 mv conftest.tmp conftest.in
3895 cp conftest.in conftest.nl
3897 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3898 cmp -s conftest.out conftest.nl || break
3899 # 10000 chars as input seems more than enough
3900 test $lt_ac_count -gt 10 && break
3901 lt_ac_count=`expr $lt_ac_count + 1`
3902 if test $lt_ac_count -gt $lt_ac_max; then
3903 lt_ac_max=$lt_ac_count
3904 lt_cv_path_SED=$lt_ac_sed
3912 { echo "$as_me:$LINENO: result
: $SED" >&5
3913 echo "${ECHO_T}$SED" >&6; }
3915 { echo "$as_me:$LINENO: checking
for grep that handles long lines and
-e" >&5
3916 echo $ECHO_N "checking
for grep that handles long lines and
-e...
$ECHO_C" >&6; }
3917 if test "${ac_cv_path_GREP+set}" = set; then
3918 echo $ECHO_N "(cached
) $ECHO_C" >&6
3920 # Extract the first word of "grep ggrep
" to use in msg output
3921 if test -z "$GREP"; then
3922 set dummy grep ggrep; ac_prog_name=$2
3923 if test "${ac_cv_path_GREP+set}" = set; then
3924 echo $ECHO_N "(cached
) $ECHO_C" >&6
3926 ac_path_GREP_found=false
3927 # Loop through the user's path and test for each of PROGNAME-LIST
3928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3929 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3932 test -z "$as_dir" && as_dir=.
3933 for ac_prog in grep ggrep; do
3934 for ac_exec_ext in '' $ac_executable_extensions; do
3935 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3936 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
3937 # Check for GNU ac_path_GREP and select it if it is found.
3938 # Check for GNU $ac_path_GREP
3939 case `"$ac_path_GREP" --version 2>&1` in
3941 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3944 echo $ECHO_N "0123456789$ECHO_C" >"conftest.
in"
3947 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3948 mv "conftest.tmp
" "conftest.
in"
3949 cp "conftest.
in" "conftest.
nl"
3950 echo 'GREP' >> "conftest.
nl"
3951 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3952 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3953 ac_count=`expr $ac_count + 1`
3954 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3955 # Best one so far, save it but keep looking for a better one
3956 ac_cv_path_GREP="$ac_path_GREP"
3957 ac_path_GREP_max=$ac_count
3959 # 10*(2^10) chars as input seems more than enough
3960 test $ac_count -gt 10 && break
3962 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3966 $ac_path_GREP_found && break 3
3976 GREP="$ac_cv_path_GREP"
3977 if test -z "$GREP"; then
3978 { { echo "$as_me:$LINENO: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&5
3979 echo "$as_me: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&2;}
3980 { (exit 1); exit 1; }; }
3984 ac_cv_path_GREP=$GREP
3989 { echo "$as_me:$LINENO: result
: $ac_cv_path_GREP" >&5
3990 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3991 GREP="$ac_cv_path_GREP"
3994 { echo "$as_me:$LINENO: checking
for egrep" >&5
3995 echo $ECHO_N "checking
for egrep...
$ECHO_C" >&6; }
3996 if test "${ac_cv_path_EGREP+set}" = set; then
3997 echo $ECHO_N "(cached
) $ECHO_C" >&6
3999 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4000 then ac_cv_path_EGREP="$GREP -E"
4002 # Extract the first word of "egrep" to use in msg output
4003 if test -z "$EGREP"; then
4004 set dummy egrep; ac_prog_name=$2
4005 if test "${ac_cv_path_EGREP+set}" = set; then
4006 echo $ECHO_N "(cached
) $ECHO_C" >&6
4008 ac_path_EGREP_found=false
4009 # Loop through the user's path and test for each of PROGNAME-LIST
4010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4011 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4014 test -z "$as_dir" && as_dir=.
4015 for ac_prog in egrep; do
4016 for ac_exec_ext in '' $ac_executable_extensions; do
4017 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4018 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
4019 # Check for GNU ac_path_EGREP and select it if it is found.
4020 # Check for GNU $ac_path_EGREP
4021 case `"$ac_path_EGREP" --version 2>&1` in
4023 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4026 echo $ECHO_N "0123456789$ECHO_C" >"conftest.
in"
4029 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4030 mv "conftest.tmp
" "conftest.
in"
4031 cp "conftest.
in" "conftest.
nl"
4032 echo 'EGREP' >> "conftest.
nl"
4033 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4034 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4035 ac_count=`expr $ac_count + 1`
4036 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4037 # Best one so far, save it but keep looking for a better one
4038 ac_cv_path_EGREP="$ac_path_EGREP"
4039 ac_path_EGREP_max=$ac_count
4041 # 10*(2^10) chars as input seems more than enough
4042 test $ac_count -gt 10 && break
4044 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4048 $ac_path_EGREP_found && break 3
4058 EGREP="$ac_cv_path_EGREP"
4059 if test -z "$EGREP"; then
4060 { { echo "$as_me:$LINENO: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&5
4061 echo "$as_me: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&2;}
4062 { (exit 1); exit 1; }; }
4066 ac_cv_path_EGREP=$EGREP
4072 { echo "$as_me:$LINENO: result
: $ac_cv_path_EGREP" >&5
4073 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4074 EGREP="$ac_cv_path_EGREP"
4078 # Check whether --with-gnu-ld was given.
4079 if test "${with_gnu_ld+set}" = set; then
4080 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4086 if test "$GCC" = yes; then
4087 # Check if gcc -print-prog-name=ld gives a path.
4088 { echo "$as_me:$LINENO: checking
for ld used by
$CC" >&5
4089 echo $ECHO_N "checking
for ld used by
$CC...
$ECHO_C" >&6; }
4092 # gcc leaves a trailing carriage return which upsets mingw
4093 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4095 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4098 # Accept absolute paths.
4100 re_direlt='/[^/][^/]*/\.\./'
4101 # Canonicalize the pathname of ld
4102 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4103 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4104 ac_prog=`echo $ac_prog| $SED "s
%$re_direlt%/%"`
4106 test -z "$LD" && LD="$ac_prog"
4109 # If it fails, then pretend we aren't using GCC.
4113 # If it is relative, then search for the first ld in PATH.
4117 elif test "$with_gnu_ld" = yes; then
4118 { echo "$as_me:$LINENO: checking
for GNU ld
" >&5
4119 echo $ECHO_N "checking
for GNU ld...
$ECHO_C" >&6; }
4121 { echo "$as_me:$LINENO: checking
for non-GNU ld
" >&5
4122 echo $ECHO_N "checking
for non-GNU ld...
$ECHO_C" >&6; }
4124 if test "${lt_cv_path_LD+set}" = set; then
4125 echo $ECHO_N "(cached
) $ECHO_C" >&6
4127 if test -z "$LD"; then
4128 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4129 for ac_dir in $PATH; do
4131 test -z "$ac_dir" && ac_dir=.
4132 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4133 lt_cv_path_LD="$ac_dir/$ac_prog"
4134 # Check to see if the program is GNU ld. I'd rather use --version,
4135 # but apparently some GNU ld's only accept -v.
4136 # Break only if it was the GNU/non-GNU ld that we prefer.
4137 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4138 *GNU* | *'with BFD'*)
4139 test "$with_gnu_ld" != no && break
4142 test "$with_gnu_ld" != yes && break
4149 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4154 if test -n "$LD"; then
4155 { echo "$as_me:$LINENO: result
: $LD" >&5
4156 echo "${ECHO_T}$LD" >&6; }
4158 { echo "$as_me:$LINENO: result
: no
" >&5
4159 echo "${ECHO_T}no
" >&6; }
4161 test -z "$LD" && { { echo "$as_me:$LINENO: error
: no acceptable ld found
in \
$PATH" >&5
4162 echo "$as_me: error
: no acceptable ld found
in \
$PATH" >&2;}
4163 { (exit 1); exit 1; }; }
4164 { echo "$as_me:$LINENO: checking
if the linker
($LD) is GNU ld
" >&5
4165 echo $ECHO_N "checking
if the linker
($LD) is GNU ld...
$ECHO_C" >&6; }
4166 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4167 echo $ECHO_N "(cached
) $ECHO_C" >&6
4169 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4170 case `$LD -v 2>&1 </dev/null` in
4171 *GNU* | *'with BFD'*)
4172 lt_cv_prog_gnu_ld=yes
4175 lt_cv_prog_gnu_ld=no
4179 { echo "$as_me:$LINENO: result
: $lt_cv_prog_gnu_ld" >&5
4180 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4181 with_gnu_ld=$lt_cv_prog_gnu_ld
4184 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4185 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
4186 if test "${lt_cv_ld_reload_flag+set}" = set; then
4187 echo $ECHO_N "(cached
) $ECHO_C" >&6
4189 lt_cv_ld_reload_flag='-r'
4191 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4192 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4193 reload_flag=$lt_cv_ld_reload_flag
4194 case $reload_flag in
4196 *) reload_flag=" $reload_flag" ;;
4198 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4200 { echo "$as_me:$LINENO: checking
for BSD-compatible nm
" >&5
4201 echo $ECHO_N "checking
for BSD-compatible nm...
$ECHO_C" >&6; }
4202 if test "${lt_cv_path_NM+set}" = set; then
4203 echo $ECHO_N "(cached
) $ECHO_C" >&6
4205 if test -n "$NM"; then
4206 # Let the user override the test.
4209 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4210 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4212 test -z "$ac_dir" && ac_dir=.
4213 tmp_nm="$ac_dir/${ac_tool_prefix}nm
"
4214 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4215 # Check to see if the nm accepts a BSD-compat flag.
4216 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4217 # nm: unknown option "B
" ignored
4218 # Tru64's nm complains that /dev/null is an invalid object file
4219 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4220 */dev/null* | *'Invalid file or object type'*)
4221 lt_cv_path_NM="$tmp_nm -B"
4225 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4227 lt_cv_path_NM="$tmp_nm -p"
4231 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4232 continue # so that we can try to find one that supports BSD flags
4239 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4242 { echo "$as_me:$LINENO: result
: $lt_cv_path_NM" >&5
4243 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4246 { echo "$as_me:$LINENO: checking whether
ln -s works
" >&5
4247 echo $ECHO_N "checking whether
ln -s works...
$ECHO_C" >&6; }
4249 if test "$LN_S" = "ln -s"; then
4250 { echo "$as_me:$LINENO: result
: yes" >&5
4251 echo "${ECHO_T}yes" >&6; }
4253 { echo "$as_me:$LINENO: result
: no
, using
$LN_S" >&5
4254 echo "${ECHO_T}no
, using
$LN_S" >&6; }
4257 { echo "$as_me:$LINENO: checking how to recognise dependent libraries
" >&5
4258 echo $ECHO_N "checking how to recognise dependent libraries...
$ECHO_C" >&6; }
4259 if test "${lt_cv_deplibs_check_method+set}" = set; then
4260 echo $ECHO_N "(cached
) $ECHO_C" >&6
4262 lt_cv_file_magic_cmd='$MAGIC_CMD'
4263 lt_cv_file_magic_test_file=
4264 lt_cv_deplibs_check_method='unknown'
4265 # Need to set the preceding variable on all platforms that support
4266 # interlibrary dependencies.
4267 # 'none' -- dependencies not supported.
4268 # `unknown' -- same as none, but documents that we really don't know.
4269 # 'pass_all' -- all dependencies passed with no checks.
4270 # 'test_compile' -- check by making test program.
4271 # 'file_magic [[regex]]' -- check by looking for files in library path
4272 # which responds to the $file_magic_cmd with a given extended regex.
4273 # If you have `file' or equivalent on your system and you're not sure
4274 # whether `pass_all' will *always* work, you probably want this one.
4278 lt_cv_deplibs_check_method=pass_all
4282 lt_cv_deplibs_check_method=pass_all
4286 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4287 lt_cv_file_magic_cmd='/usr/bin/file -L'
4288 lt_cv_file_magic_test_file=/shlib/libc.so
4291 cygwin* | mingw* | pw32*)
4292 # win32_libid is a shell function defined in ltmain.sh
4293 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4294 lt_cv_file_magic_cmd='win32_libid'
4297 darwin* | rhapsody*)
4298 # this will be overwritten by pass_all, but leave it in just in case
4299 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4300 lt_cv_file_magic_cmd='/usr/bin/file -L'
4302 rhapsody* | darwin1.[012])
4303 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4306 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4309 lt_cv_deplibs_check_method=pass_all
4312 freebsd* | kfreebsd*-gnu)
4313 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4316 # Not sure whether the presence of OpenBSD here was a mistake.
4317 # Let's accept both of them until this is cleared up.
4318 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4319 lt_cv_file_magic_cmd=/usr/bin/file
4320 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4324 lt_cv_deplibs_check_method=pass_all
4329 lt_cv_deplibs_check_method=pass_all
4332 hpux10.20* | hpux11*)
4333 lt_cv_file_magic_cmd=/usr/bin/file
4336 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4337 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4340 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]'
4341 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4344 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4345 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4350 irix5* | irix6* | nonstopux*)
4352 irix5* | nonstopux*)
4353 # this will be overridden with pass_all, but let us keep it just in case
4354 lt_cv_deplibs_check_method="file_magic ELF
32-bit MSB dynamic lib MIPS
- version
1"
4358 *-32|*"-32 ") libmagic=32-bit;;
4359 *-n32|*"-n32 ") libmagic=N32;;
4360 *-64|*"-64 ") libmagic=64-bit;;
4361 *) libmagic=never-match;;
4363 # this will be overridden with pass_all, but let us keep it just in case
4364 lt_cv_deplibs_check_method="file_magic ELF
${libmagic} MSB mips-
[1234] dynamic lib MIPS
- version
1"
4367 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4368 lt_cv_deplibs_check_method=pass_all
4371 # This must be Linux ELF.
4374 alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh*)
4375 lt_cv_deplibs_check_method=pass_all ;;
4377 # glibc up to 2.1.1 does not perform some relocations on ARM
4378 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4380 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4384 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4385 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4387 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4392 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4393 lt_cv_file_magic_cmd=/usr/bin/file
4394 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4398 lt_cv_deplibs_check_method=unknown
4402 lt_cv_file_magic_cmd=/usr/bin/file
4403 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4404 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4405 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4407 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4411 osf3* | osf4* | osf5*)
4412 # this will be overridden with pass_all, but let us keep it just in case
4413 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4414 lt_cv_file_magic_test_file=/shlib/libc.so
4415 lt_cv_deplibs_check_method=pass_all
4419 lt_cv_deplibs_check_method=pass_all
4423 lt_cv_deplibs_check_method=pass_all
4424 lt_cv_file_magic_test_file=/lib/libc.so
4427 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4428 case $host_vendor in
4430 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]'
4431 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4434 lt_cv_deplibs_check_method=pass_all
4437 lt_cv_file_magic_cmd='/bin/file'
4438 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4441 lt_cv_file_magic_cmd='/bin/file'
4442 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4443 lt_cv_file_magic_test_file=/lib/libc.so
4446 lt_cv_deplibs_check_method=pass_all
4451 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4452 lt_cv_deplibs_check_method=pass_all
4457 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4458 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4459 file_magic_cmd=$lt_cv_file_magic_cmd
4460 deplibs_check_method=$lt_cv_deplibs_check_method
4461 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4466 # If no C compiler was specified, use CC.
4469 # Allow CC to be a program name with arguments.
4473 # Check whether --enable-libtool-lock was given.
4474 if test "${enable_libtool_lock+set}" = set; then
4475 enableval=$enable_libtool_lock;
4478 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
4480 # Some flags need to be propagated to the compiler or linker for good
4484 # Find out which ABI we are using.
4485 echo 'int i;' > conftest.$ac_ext
4486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4487 (eval $ac_compile) 2>&5
4489 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4490 (exit $ac_status); }; then
4491 case `/usr/bin/file conftest.$ac_objext` in
4503 # Find out which ABI we are using.
4504 echo '#line 4504 "configure
"' > conftest.$ac_ext
4505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4506 (eval $ac_compile) 2>&5
4508 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4509 (exit $ac_status); }; then
4510 if test "$lt_cv_prog_gnu_ld" = yes; then
4511 case `/usr/bin/file conftest.$ac_objext` in
4513 LD="${LD-ld} -melf32bsmip"
4516 LD="${LD-ld} -melf32bmipn32"
4519 LD="${LD-ld} -melf64bmip"
4523 case `/usr/bin/file conftest.$ac_objext` in
4539 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4540 # Find out which ABI we are using.
4541 echo 'int i;' > conftest.$ac_ext
4542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4543 (eval $ac_compile) 2>&5
4545 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4546 (exit $ac_status); }; then
4547 case "`/usr/bin/file conftest.o`" in
4551 LD="${LD-ld} -m elf_i386
"
4553 ppc64-*linux*|powerpc64-*linux*)
4554 LD="${LD-ld} -m elf32ppclinux
"
4557 LD="${LD-ld} -m elf_s390
"
4560 LD="${LD-ld} -m elf32_sparc
"
4567 LD="${LD-ld} -m elf_x86_64
"
4569 ppc*-*linux*|powerpc*-*linux*)
4570 LD="${LD-ld} -m elf64ppc
"
4573 LD="${LD-ld} -m elf64_s390
"
4576 LD="${LD-ld} -m elf64_sparc
"
4586 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4587 SAVE_CFLAGS="$CFLAGS"
4588 CFLAGS="$CFLAGS -belf"
4589 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
4590 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
4591 if test "${lt_cv_cc_needs_belf+set}" = set; then
4592 echo $ECHO_N "(cached
) $ECHO_C" >&6
4595 ac_cpp='$CPP $CPPFLAGS'
4596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4600 cat >conftest.$ac_ext <<_ACEOF
4603 cat confdefs.h >>conftest.$ac_ext
4604 cat >>conftest.$ac_ext <<_ACEOF
4605 /* end confdefs.h. */
4615 rm -f conftest.$ac_objext conftest$ac_exeext
4616 if { (ac_try="$ac_link"
4618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4619 *) ac_try_echo=$ac_try;;
4621 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4622 (eval "$ac_link") 2>conftest.er1
4624 grep -v '^ *+' conftest.er1 >conftest.err
4626 cat conftest.err >&5
4627 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4628 (exit $ac_status); } &&
4629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4630 { (case "(($ac_try" in
4631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4632 *) ac_try_echo=$ac_try;;
4634 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4635 (eval "$ac_try") 2>&5
4637 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4638 (exit $ac_status); }; } &&
4639 { ac_try='test -s conftest$ac_exeext'
4640 { (case "(($ac_try" in
4641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4642 *) ac_try_echo=$ac_try;;
4644 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4645 (eval "$ac_try") 2>&5
4647 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4648 (exit $ac_status); }; }; then
4649 lt_cv_cc_needs_belf=yes
4651 echo "$as_me: failed program was
:" >&5
4652 sed 's/^/| /' conftest.$ac_ext >&5
4654 lt_cv_cc_needs_belf=no
4657 rm -f core conftest.err conftest.$ac_objext \
4658 conftest$ac_exeext conftest.$ac_ext
4660 ac_cpp='$CPP $CPPFLAGS'
4661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4666 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
4667 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4668 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4669 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4670 CFLAGS="$SAVE_CFLAGS"
4676 need_locks="$enable_libtool_lock"
4680 ac_cpp='$CPP $CPPFLAGS'
4681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4684 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
4685 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
4686 # On Suns, sometimes $CPP names a directory.
4687 if test -n "$CPP" && test -d "$CPP"; then
4690 if test -z "$CPP"; then
4691 if test "${ac_cv_prog_CPP+set}" = set; then
4692 echo $ECHO_N "(cached
) $ECHO_C" >&6
4694 # Double quotes because CPP needs to be expanded
4695 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
4698 for ac_c_preproc_warn_flag in '' yes
4700 # Use a header file that comes with gcc, so configuring glibc
4701 # with a fresh cross-compiler works.
4702 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4703 # <limits.h> exists even on freestanding compilers.
4704 # On the NeXT, cc -E runs the code through the compiler's parser,
4705 # not just through cpp. "Syntax error
" is here to catch this case.
4706 cat >conftest.$ac_ext <<_ACEOF
4709 cat confdefs.h >>conftest.$ac_ext
4710 cat >>conftest.$ac_ext <<_ACEOF
4711 /* end confdefs.h. */
4713 # include <limits.h>
4715 # include <assert.h>
4719 if { (ac_try="$ac_cpp conftest.
$ac_ext"
4721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4722 *) ac_try_echo=$ac_try;;
4724 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4725 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
4727 grep -v '^ *+' conftest.er1 >conftest.err
4729 cat conftest.err >&5
4730 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4731 (exit $ac_status); } >/dev/null; then
4732 if test -s conftest.err; then
4733 ac_cpp_err=$ac_c_preproc_warn_flag
4734 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4741 if test -z "$ac_cpp_err"; then
4744 echo "$as_me: failed program was
:" >&5
4745 sed 's/^/| /' conftest.$ac_ext >&5
4747 # Broken: fails on valid input.
4751 rm -f conftest.err conftest.$ac_ext
4753 # OK, works on sane cases. Now check whether nonexistent headers
4754 # can be detected and how.
4755 cat >conftest.$ac_ext <<_ACEOF
4758 cat confdefs.h >>conftest.$ac_ext
4759 cat >>conftest.$ac_ext <<_ACEOF
4760 /* end confdefs.h. */
4761 #include <ac_nonexistent.h>
4763 if { (ac_try="$ac_cpp conftest.
$ac_ext"
4765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4766 *) ac_try_echo=$ac_try;;
4768 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4769 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
4771 grep -v '^ *+' conftest.er1 >conftest.err
4773 cat conftest.err >&5
4774 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4775 (exit $ac_status); } >/dev/null; then
4776 if test -s conftest.err; then
4777 ac_cpp_err=$ac_c_preproc_warn_flag
4778 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4785 if test -z "$ac_cpp_err"; then
4786 # Broken: success on invalid input.
4789 echo "$as_me: failed program was
:" >&5
4790 sed 's/^/| /' conftest.$ac_ext >&5
4792 # Passes both tests.
4797 rm -f conftest.err conftest.$ac_ext
4800 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4801 rm -f conftest.err conftest.$ac_ext
4802 if $ac_preproc_ok; then
4814 { echo "$as_me:$LINENO: result
: $CPP" >&5
4815 echo "${ECHO_T}$CPP" >&6; }
4817 for ac_c_preproc_warn_flag in '' yes
4819 # Use a header file that comes with gcc, so configuring glibc
4820 # with a fresh cross-compiler works.
4821 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4822 # <limits.h> exists even on freestanding compilers.
4823 # On the NeXT, cc -E runs the code through the compiler's parser,
4824 # not just through cpp. "Syntax error
" is here to catch this case.
4825 cat >conftest.$ac_ext <<_ACEOF
4828 cat confdefs.h >>conftest.$ac_ext
4829 cat >>conftest.$ac_ext <<_ACEOF
4830 /* end confdefs.h. */
4832 # include <limits.h>
4834 # include <assert.h>
4838 if { (ac_try="$ac_cpp conftest.
$ac_ext"
4840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4841 *) ac_try_echo=$ac_try;;
4843 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4844 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
4846 grep -v '^ *+' conftest.er1 >conftest.err
4848 cat conftest.err >&5
4849 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4850 (exit $ac_status); } >/dev/null; then
4851 if test -s conftest.err; then
4852 ac_cpp_err=$ac_c_preproc_warn_flag
4853 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4860 if test -z "$ac_cpp_err"; then
4863 echo "$as_me: failed program was
:" >&5
4864 sed 's/^/| /' conftest.$ac_ext >&5
4866 # Broken: fails on valid input.
4870 rm -f conftest.err conftest.$ac_ext
4872 # OK, works on sane cases. Now check whether nonexistent headers
4873 # can be detected and how.
4874 cat >conftest.$ac_ext <<_ACEOF
4877 cat confdefs.h >>conftest.$ac_ext
4878 cat >>conftest.$ac_ext <<_ACEOF
4879 /* end confdefs.h. */
4880 #include <ac_nonexistent.h>
4882 if { (ac_try="$ac_cpp conftest.
$ac_ext"
4884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4885 *) ac_try_echo=$ac_try;;
4887 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4888 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
4890 grep -v '^ *+' conftest.er1 >conftest.err
4892 cat conftest.err >&5
4893 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4894 (exit $ac_status); } >/dev/null; then
4895 if test -s conftest.err; then
4896 ac_cpp_err=$ac_c_preproc_warn_flag
4897 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4904 if test -z "$ac_cpp_err"; then
4905 # Broken: success on invalid input.
4908 echo "$as_me: failed program was
:" >&5
4909 sed 's/^/| /' conftest.$ac_ext >&5
4911 # Passes both tests.
4916 rm -f conftest.err conftest.$ac_ext
4919 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4920 rm -f conftest.err conftest.$ac_ext
4921 if $ac_preproc_ok; then
4924 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
4925 See \
`config.log' for more details." >&5
4926 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4927 See \`config.log
' for more details." >&2;}
4928 { (exit 1); exit 1; }; }
4932 ac_cpp='$CPP $CPPFLAGS'
4933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4934 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4938 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4939 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4940 if test "${ac_cv_header_stdc+set}" = set; then
4941 echo $ECHO_N "(cached) $ECHO_C" >&6
4943 cat >conftest.$ac_ext <<_ACEOF
4946 cat confdefs.h >>conftest.$ac_ext
4947 cat >>conftest.$ac_ext <<_ACEOF
4948 /* end confdefs.h. */
4962 rm -f conftest.$ac_objext
4963 if { (ac_try="$ac_compile"
4965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4966 *) ac_try_echo=$ac_try;;
4968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4969 (eval "$ac_compile") 2>conftest.er1
4971 grep -v '^
*+' conftest.er1 >conftest.err
4973 cat conftest.err >&5
4974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); } &&
4976 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
4977 { (case "(($ac_try" in
4978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4979 *) ac_try_echo=$ac_try;;
4981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4982 (eval "$ac_try") 2>&5
4984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985 (exit $ac_status); }; } &&
4986 { ac_try='test -s conftest.
$ac_objext'
4987 { (case "(($ac_try" in
4988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4989 *) ac_try_echo=$ac_try;;
4991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4992 (eval "$ac_try") 2>&5
4994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4995 (exit $ac_status); }; }; then
4996 ac_cv_header_stdc=yes
4998 echo "$as_me: failed program was:" >&5
4999 sed 's
/^
/|
/' conftest.$ac_ext >&5
5001 ac_cv_header_stdc=no
5004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5006 if test $ac_cv_header_stdc = yes; then
5007 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5008 cat >conftest.$ac_ext <<_ACEOF
5011 cat confdefs.h >>conftest.$ac_ext
5012 cat >>conftest.$ac_ext <<_ACEOF
5013 /* end confdefs.h. */
5017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5018 $EGREP "memchr" >/dev/null 2>&1; then
5021 ac_cv_header_stdc=no
5027 if test $ac_cv_header_stdc = yes; then
5028 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5029 cat >conftest.$ac_ext <<_ACEOF
5032 cat confdefs.h >>conftest.$ac_ext
5033 cat >>conftest.$ac_ext <<_ACEOF
5034 /* end confdefs.h. */
5038 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5039 $EGREP "free" >/dev/null 2>&1; then
5042 ac_cv_header_stdc=no
5048 if test $ac_cv_header_stdc = yes; then
5049 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5050 if test "$cross_compiling" = yes; then
5053 cat >conftest.$ac_ext <<_ACEOF
5056 cat confdefs.h >>conftest.$ac_ext
5057 cat >>conftest.$ac_ext <<_ACEOF
5058 /* end confdefs.h. */
5061 #if ((' ' & 0x0FF) == 0x020)
5062 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
5063 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
5065 # define ISLOWER(c) \
5066 (('a
' <= (c) && (c) <= 'i
') \
5067 || ('j
' <= (c) && (c) <= 'r
') \
5068 || ('s
' <= (c) && (c) <= 'z
'))
5069 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5072 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5077 for (i = 0; i < 256; i++)
5078 if (XOR (islower (i), ISLOWER (i))
5079 || toupper (i) != TOUPPER (i))
5084 rm -f conftest$ac_exeext
5085 if { (ac_try="$ac_link"
5087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5088 *) ac_try_echo=$ac_try;;
5090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5091 (eval "$ac_link") 2>&5
5093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
5095 { (case "(($ac_try" in
5096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5097 *) ac_try_echo=$ac_try;;
5099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5100 (eval "$ac_try") 2>&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); }; }; then
5106 echo "$as_me: program exited with status $ac_status" >&5
5107 echo "$as_me: failed program was:" >&5
5108 sed 's
/^
/|
/' conftest.$ac_ext >&5
5111 ac_cv_header_stdc=no
5113 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5119 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5120 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5121 if test $ac_cv_header_stdc = yes; then
5123 cat >>confdefs.h <<\_ACEOF
5124 #define STDC_HEADERS 1
5129 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5139 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5140 inttypes.h stdint.h unistd.h
5142 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5143 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5145 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5146 echo $ECHO_N "(cached) $ECHO_C" >&6
5148 cat >conftest.$ac_ext <<_ACEOF
5151 cat confdefs.h >>conftest.$ac_ext
5152 cat >>conftest.$ac_ext <<_ACEOF
5153 /* end confdefs.h. */
5154 $ac_includes_default
5156 #include <$ac_header>
5158 rm -f conftest.$ac_objext
5159 if { (ac_try="$ac_compile"
5161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5162 *) ac_try_echo=$ac_try;;
5164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5165 (eval "$ac_compile") 2>conftest.er1
5167 grep -v '^
*+' conftest.er1 >conftest.err
5169 cat conftest.err >&5
5170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5171 (exit $ac_status); } &&
5172 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
5173 { (case "(($ac_try" in
5174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5175 *) ac_try_echo=$ac_try;;
5177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5178 (eval "$ac_try") 2>&5
5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181 (exit $ac_status); }; } &&
5182 { ac_try='test -s conftest.
$ac_objext'
5183 { (case "(($ac_try" in
5184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5185 *) ac_try_echo=$ac_try;;
5187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5188 (eval "$ac_try") 2>&5
5190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5191 (exit $ac_status); }; }; then
5192 eval "$as_ac_Header=yes"
5194 echo "$as_me: failed program was:" >&5
5195 sed 's
/^
/|
/' conftest.$ac_ext >&5
5197 eval "$as_ac_Header=no"
5200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5202 ac_res=`eval echo '${'$as_ac_Header'}'`
5203 { echo "$as_me:$LINENO: result: $ac_res" >&5
5204 echo "${ECHO_T}$ac_res" >&6; }
5205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5206 cat >>confdefs.h <<_ACEOF
5207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5216 for ac_header in dlfcn.h
5218 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5219 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5220 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5222 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5223 echo $ECHO_N "(cached) $ECHO_C" >&6
5225 ac_res=`eval echo '${'$as_ac_Header'}'`
5226 { echo "$as_me:$LINENO: result: $ac_res" >&5
5227 echo "${ECHO_T}$ac_res" >&6; }
5229 # Is the header compilable?
5230 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5231 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5232 cat >conftest.$ac_ext <<_ACEOF
5235 cat confdefs.h >>conftest.$ac_ext
5236 cat >>conftest.$ac_ext <<_ACEOF
5237 /* end confdefs.h. */
5238 $ac_includes_default
5239 #include <$ac_header>
5241 rm -f conftest.$ac_objext
5242 if { (ac_try="$ac_compile"
5244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5245 *) ac_try_echo=$ac_try;;
5247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5248 (eval "$ac_compile") 2>conftest.er1
5250 grep -v '^
*+' conftest.er1 >conftest.err
5252 cat conftest.err >&5
5253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5254 (exit $ac_status); } &&
5255 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
5256 { (case "(($ac_try" in
5257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5258 *) ac_try_echo=$ac_try;;
5260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5261 (eval "$ac_try") 2>&5
5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5264 (exit $ac_status); }; } &&
5265 { ac_try='test -s conftest.
$ac_objext'
5266 { (case "(($ac_try" in
5267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5268 *) ac_try_echo=$ac_try;;
5270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5271 (eval "$ac_try") 2>&5
5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 (exit $ac_status); }; }; then
5275 ac_header_compiler=yes
5277 echo "$as_me: failed program was:" >&5
5278 sed 's
/^
/|
/' conftest.$ac_ext >&5
5280 ac_header_compiler=no
5283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5284 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5285 echo "${ECHO_T}$ac_header_compiler" >&6; }
5287 # Is the header present?
5288 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5289 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5290 cat >conftest.$ac_ext <<_ACEOF
5293 cat confdefs.h >>conftest.$ac_ext
5294 cat >>conftest.$ac_ext <<_ACEOF
5295 /* end confdefs.h. */
5296 #include <$ac_header>
5298 if { (ac_try="$ac_cpp conftest.$ac_ext"
5300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5301 *) ac_try_echo=$ac_try;;
5303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5304 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5306 grep -v '^
*+' conftest.er1 >conftest.err
5308 cat conftest.err >&5
5309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310 (exit $ac_status); } >/dev/null; then
5311 if test -s conftest.err; then
5312 ac_cpp_err=$ac_c_preproc_warn_flag
5313 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5320 if test -z "$ac_cpp_err"; then
5321 ac_header_preproc=yes
5323 echo "$as_me: failed program was:" >&5
5324 sed 's
/^
/|
/' conftest.$ac_ext >&5
5326 ac_header_preproc=no
5329 rm -f conftest.err conftest.$ac_ext
5330 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5331 echo "${ECHO_T}$ac_header_preproc" >&6; }
5333 # So? What about this header?
5334 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5336 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5337 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
5339 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
5340 ac_header_preproc=yes
5343 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5344 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5345 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5346 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5347 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5348 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5349 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5350 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
5352 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
5353 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5354 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5358 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5360 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5361 echo $ECHO_N "(cached) $ECHO_C" >&6
5363 eval "$as_ac_Header=\$ac_header_preproc"
5365 ac_res=`eval echo '${'$as_ac_Header'}'`
5366 { echo "$as_me:$LINENO: result: $ac_res" >&5
5367 echo "${ECHO_T}$ac_res" >&6; }
5370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5371 cat >>confdefs.h <<_ACEOF
5372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5380 ac_cpp='$CXXCPP $CPPFLAGS'
5381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5382 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5384 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5385 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5386 if test -z "$CXXCPP"; then
5387 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5388 echo $ECHO_N "(cached) $ECHO_C" >&6
5390 # Double quotes because CXXCPP needs to be expanded
5391 for CXXCPP in "$CXX -E" "/lib/cpp"
5394 for ac_cxx_preproc_warn_flag in '' yes
5396 # Use a header file that comes with gcc, so configuring glibc
5397 # with a fresh cross-compiler works.
5398 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5399 # <limits.h> exists even on freestanding compilers.
5400 # On the NeXT, cc -E runs the code through the compiler's parser
,
5401 # not just through cpp. "Syntax error" is here to catch this case.
5402 cat >conftest.
$ac_ext <<_ACEOF
5405 cat confdefs.h
>>conftest.
$ac_ext
5406 cat >>conftest.
$ac_ext <<_ACEOF
5407 /* end confdefs.h. */
5409 # include <limits.h>
5411 # include <assert.h>
5415 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5417 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5418 *) ac_try_echo=$ac_try;;
5420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5421 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5423 grep -v '^ *+' conftest.er1 >conftest.err
5425 cat conftest.err >&5
5426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427 (exit $ac_status); } >/dev/null; then
5428 if test -s conftest.err; then
5429 ac_cpp_err=$ac_cxx_preproc_warn_flag
5430 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5437 if test -z "$ac_cpp_err"; then
5440 echo "$as_me: failed program was:" >&5
5441 sed 's/^/| /' conftest.$ac_ext >&5
5443 # Broken: fails on valid input.
5447 rm -f conftest.err conftest.$ac_ext
5449 # OK, works on sane cases. Now check whether nonexistent headers
5450 # can be detected and how.
5451 cat >conftest.$ac_ext <<_ACEOF
5454 cat confdefs.h >>conftest.$ac_ext
5455 cat >>conftest.$ac_ext <<_ACEOF
5456 /* end confdefs.h. */
5457 #include <ac_nonexistent.h>
5459 if { (ac_try="$ac_cpp conftest.$ac_ext"
5461 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5462 *) ac_try_echo
=$ac_try;;
5464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5465 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5467 grep -v '^ *+' conftest.er1
>conftest.err
5469 cat conftest.err
>&5
5470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5471 (exit $ac_status); } >/dev
/null
; then
5472 if test -s conftest.err
; then
5473 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5474 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5481 if test -z "$ac_cpp_err"; then
5482 # Broken: success on invalid input.
5485 echo "$as_me: failed program was:" >&5
5486 sed 's/^/| /' conftest.
$ac_ext >&5
5488 # Passes both tests.
5493 rm -f conftest.err conftest.
$ac_ext
5496 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5497 rm -f conftest.err conftest.
$ac_ext
5498 if $ac_preproc_ok; then
5503 ac_cv_prog_CXXCPP
=$CXXCPP
5506 CXXCPP
=$ac_cv_prog_CXXCPP
5508 ac_cv_prog_CXXCPP
=$CXXCPP
5510 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5511 echo "${ECHO_T}$CXXCPP" >&6; }
5513 for ac_cxx_preproc_warn_flag
in '' yes
5515 # Use a header file that comes with gcc, so configuring glibc
5516 # with a fresh cross-compiler works.
5517 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5518 # <limits.h> exists even on freestanding compilers.
5519 # On the NeXT, cc -E runs the code through the compiler's parser,
5520 # not just through cpp. "Syntax error" is here to catch this case.
5521 cat >conftest.
$ac_ext <<_ACEOF
5524 cat confdefs.h
>>conftest.
$ac_ext
5525 cat >>conftest.
$ac_ext <<_ACEOF
5526 /* end confdefs.h. */
5528 # include <limits.h>
5530 # include <assert.h>
5534 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5536 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5537 *) ac_try_echo=$ac_try;;
5539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5540 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5542 grep -v '^ *+' conftest.er1 >conftest.err
5544 cat conftest.err >&5
5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546 (exit $ac_status); } >/dev/null; then
5547 if test -s conftest.err; then
5548 ac_cpp_err=$ac_cxx_preproc_warn_flag
5549 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5556 if test -z "$ac_cpp_err"; then
5559 echo "$as_me: failed program was:" >&5
5560 sed 's/^/| /' conftest.$ac_ext >&5
5562 # Broken: fails on valid input.
5566 rm -f conftest.err conftest.$ac_ext
5568 # OK, works on sane cases. Now check whether nonexistent headers
5569 # can be detected and how.
5570 cat >conftest.$ac_ext <<_ACEOF
5573 cat confdefs.h >>conftest.$ac_ext
5574 cat >>conftest.$ac_ext <<_ACEOF
5575 /* end confdefs.h. */
5576 #include <ac_nonexistent.h>
5578 if { (ac_try="$ac_cpp conftest.$ac_ext"
5580 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5581 *) ac_try_echo
=$ac_try;;
5583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5584 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5586 grep -v '^ *+' conftest.er1
>conftest.err
5588 cat conftest.err
>&5
5589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5590 (exit $ac_status); } >/dev
/null
; then
5591 if test -s conftest.err
; then
5592 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5593 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5600 if test -z "$ac_cpp_err"; then
5601 # Broken: success on invalid input.
5604 echo "$as_me: failed program was:" >&5
5605 sed 's/^/| /' conftest.
$ac_ext >&5
5607 # Passes both tests.
5612 rm -f conftest.err conftest.
$ac_ext
5615 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5616 rm -f conftest.err conftest.
$ac_ext
5617 if $ac_preproc_ok; then
5620 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5621 See \`config.log' for more details." >&5
5622 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5623 See \`config.log' for more details." >&2;}
5624 { (exit 1); exit 1; }; }
5628 ac_cpp
='$CXXCPP $CPPFLAGS'
5629 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5630 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5631 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5635 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5636 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5637 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5638 if test -n "$ac_tool_prefix"; then
5639 for ac_prog
in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
5641 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5642 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5645 if test "${ac_cv_prog_F77+set}" = set; then
5646 echo $ECHO_N "(cached) $ECHO_C" >&6
5648 if test -n "$F77"; then
5649 ac_cv_prog_F77
="$F77" # Let the user override the test.
5651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5655 test -z "$as_dir" && as_dir
=.
5656 for ac_exec_ext
in '' $ac_executable_extensions; do
5657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5658 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5669 if test -n "$F77"; then
5670 { echo "$as_me:$LINENO: result: $F77" >&5
5671 echo "${ECHO_T}$F77" >&6; }
5673 { echo "$as_me:$LINENO: result: no" >&5
5674 echo "${ECHO_T}no" >&6; }
5678 test -n "$F77" && break
5681 if test -z "$F77"; then
5683 for ac_prog
in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
5685 # Extract the first word of "$ac_prog", so it can be a program name with args.
5686 set dummy
$ac_prog; ac_word
=$2
5687 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5689 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5690 echo $ECHO_N "(cached) $ECHO_C" >&6
5692 if test -n "$ac_ct_F77"; then
5693 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5699 test -z "$as_dir" && as_dir
=.
5700 for ac_exec_ext
in '' $ac_executable_extensions; do
5701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5702 ac_cv_prog_ac_ct_F77
="$ac_prog"
5703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5712 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5713 if test -n "$ac_ct_F77"; then
5714 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5715 echo "${ECHO_T}$ac_ct_F77" >&6; }
5717 { echo "$as_me:$LINENO: result: no" >&5
5718 echo "${ECHO_T}no" >&6; }
5722 test -n "$ac_ct_F77" && break
5725 if test "x$ac_ct_F77" = x
; then
5728 case $cross_compiling:$ac_tool_warned in
5730 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5731 whose name does not start with the host triplet. If you think this
5732 configuration is useful to you, please write to autoconf@gnu.org." >&5
5733 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5734 whose name does not start with the host triplet. If you think this
5735 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5736 ac_tool_warned
=yes ;;
5743 # Provide some information about the compiler.
5744 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5745 ac_compiler
=`set X $ac_compile; echo $2`
5746 { (ac_try
="$ac_compiler --version >&5"
5748 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5749 *) ac_try_echo=$ac_try;;
5751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5752 (eval "$ac_compiler --version >&5") 2>&5
5754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5755 (exit $ac_status); }
5756 { (ac_try="$ac_compiler -v >&5"
5758 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5759 *) ac_try_echo
=$ac_try;;
5761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5762 (eval "$ac_compiler -v >&5") 2>&5
5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 (exit $ac_status); }
5766 { (ac_try
="$ac_compiler -V >&5"
5768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5769 *) ac_try_echo=$ac_try;;
5771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5772 (eval "$ac_compiler -V >&5") 2>&5
5774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5775 (exit $ac_status); }
5778 # If we don't use `.F
' as extension, the preprocessor is not run on the
5779 # input file. (Note that this only needs to work for GNU compilers.)
5782 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5783 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5784 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5785 echo $ECHO_N "(cached) $ECHO_C" >&6
5787 cat >conftest.$ac_ext <<_ACEOF
5795 rm -f conftest.$ac_objext
5796 if { (ac_try="$ac_compile"
5798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5799 *) ac_try_echo=$ac_try;;
5801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5802 (eval "$ac_compile") 2>conftest.er1
5804 grep -v '^
*+' conftest.er1 >conftest.err
5806 cat conftest.err >&5
5807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5808 (exit $ac_status); } &&
5809 { ac_try='test -z "$ac_f77_werror_flag" ||
test ! -s conftest.err
'
5810 { (case "(($ac_try" in
5811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5812 *) ac_try_echo=$ac_try;;
5814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5815 (eval "$ac_try") 2>&5
5817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5818 (exit $ac_status); }; } &&
5819 { ac_try='test -s conftest.
$ac_objext'
5820 { (case "(($ac_try" in
5821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5822 *) ac_try_echo=$ac_try;;
5824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5825 (eval "$ac_try") 2>&5
5827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 (exit $ac_status); }; }; then
5831 echo "$as_me: failed program was:" >&5
5832 sed 's
/^
/|
/' conftest.$ac_ext >&5
5837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5838 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5841 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5842 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5844 ac_test_FFLAGS=${FFLAGS+set}
5845 ac_save_FFLAGS=$FFLAGS
5847 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5848 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5849 if test "${ac_cv_prog_f77_g+set}" = set; then
5850 echo $ECHO_N "(cached) $ECHO_C" >&6
5853 cat >conftest.$ac_ext <<_ACEOF
5858 rm -f conftest.$ac_objext
5859 if { (ac_try="$ac_compile"
5861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5862 *) ac_try_echo=$ac_try;;
5864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5865 (eval "$ac_compile") 2>conftest.er1
5867 grep -v '^
*+' conftest.er1 >conftest.err
5869 cat conftest.err >&5
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); } &&
5872 { ac_try='test -z "$ac_f77_werror_flag" ||
test ! -s conftest.err
'
5873 { (case "(($ac_try" in
5874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5875 *) ac_try_echo=$ac_try;;
5877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5878 (eval "$ac_try") 2>&5
5880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5881 (exit $ac_status); }; } &&
5882 { ac_try='test -s conftest.
$ac_objext'
5883 { (case "(($ac_try" in
5884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5885 *) ac_try_echo=$ac_try;;
5887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5888 (eval "$ac_try") 2>&5
5890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5891 (exit $ac_status); }; }; then
5892 ac_cv_prog_f77_g=yes
5894 echo "$as_me: failed program was:" >&5
5895 sed 's
/^
/|
/' conftest.$ac_ext >&5
5900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5903 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5904 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5905 if test "$ac_test_FFLAGS" = set; then
5906 FFLAGS=$ac_save_FFLAGS
5907 elif test $ac_cv_prog_f77_g = yes; then
5908 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5914 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5921 G77=`test $ac_compiler_gnu = yes && echo yes`
5923 ac_cpp='$CPP $CPPFLAGS'
5924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5925 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5930 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
5932 # find the maximum length of command line arguments
5933 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5934 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5935 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5936 echo $ECHO_N "(cached) $ECHO_C" >&6
5943 # On DJGPP, this test can blow up pretty badly due to problems in libc
5944 # (any single argument exceeding 2000 bytes causes a buffer overrun
5945 # during glob expansion). Even if it were fixed, the result of this
5946 # check would be larger than it should be.
5947 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5951 # Under GNU Hurd, this test is not required because there is
5952 # no limit to the length of command line arguments.
5953 # Libtool will interpret -1 as no limit whatsoever
5954 lt_cv_sys_max_cmd_len
=-1;
5958 # On Win9x/ME, this test blows up -- it succeeds, but takes
5959 # about 5 minutes as the teststring grows exponentially.
5960 # Worse, since 9x/ME are not pre-emptively multitasking,
5961 # you end up with a "frozen" computer, even though with patience
5962 # the test eventually succeeds (with a max line length of 256k).
5963 # Instead, let's just punt: use the minimum linelength reported by
5964 # all of the supported platforms: 8192 (on NT/2K/XP).
5965 lt_cv_sys_max_cmd_len
=8192;
5968 amigaos
* | morphos
*)
5969 # On AmigaOS with pdksh, this test takes hours, literally.
5970 # So we just punt and use a minimum line length of 8192.
5971 lt_cv_sys_max_cmd_len
=8192;
5975 # If test is not a shell built-in, we'll probably end up computing a
5976 # maximum length that is only half of the actual maximum length, but
5978 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5979 = "XX$testring") >/dev
/null
2>&1 &&
5980 new_result
=`expr "X$testring" : ".*" 2>&1` &&
5981 lt_cv_sys_max_cmd_len
=$new_result &&
5982 test $i != 17 # 1/2 MB should be enough
5985 testring
=$testring$testring
5988 # Add a significant safety factor because C++ compilers can tack on massive
5989 # amounts of additional arguments before passing them to the linker.
5990 # It appears as though 1/2 is a usable value.
5991 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5997 if test -n $lt_cv_sys_max_cmd_len ; then
5998 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5999 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6001 { echo "$as_me:$LINENO: result: none" >&5
6002 echo "${ECHO_T}none" >&6; }
6008 # Check for command to grab the raw symbol name followed by C symbol from nm.
6009 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6010 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6011 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6012 echo $ECHO_N "(cached) $ECHO_C" >&6
6015 # These are sane defaults that work on at least a few old systems.
6016 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6018 # Character class describing NM global symbol codes.
6019 symcode
='[BCDEGRST]'
6021 # Regexp to match symbols that can be accessed directly from C.
6022 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6024 # Transform the above into a raw symbol and a C symbol.
6025 symxfrm
='\1 \2\3 \3'
6027 # Transform an extracted symbol line into a proper C declaration
6028 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6030 # Transform an extracted symbol line into symbol name and symbol address
6031 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'"
6033 # Define system-specific variables.
6038 cygwin
* | mingw
* | pw32
*)
6039 symcode
='[ABCDGISTW]'
6041 hpux
*) # Its linker distinguishes data from code symbols
6042 if test "$host_cpu" = ia64
; then
6043 symcode
='[ABCDEGRST]'
6045 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6046 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'"
6049 symcode
='[BCDEGRST]'
6052 symcode
='[BCDEGQRST]'
6062 # Handle CRLF in mingw tool chain
6066 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6070 # If we're using GNU nm, then use its standard symbol codes.
6071 case `$NM -V 2>&1` in
6072 *GNU
* |
*'with BFD'*)
6073 symcode
='[ABCDGIRSTW]' ;;
6076 # Try without a prefix undercore, then with it.
6077 for ac_symprfx
in "" "_"; do
6079 # Write the raw and C identifiers.
6080 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
6082 # Check to see that the pipe works correctly.
6086 cat > conftest.
$ac_ext <<EOF
6091 void nm_test_func(){}
6095 int main(){nm_test_var='a';nm_test_func();return(0);}
6098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6099 (eval $ac_compile) 2>&5
6101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6102 (exit $ac_status); }; then
6103 # Now try to grab the symbols.
6105 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6106 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109 (exit $ac_status); } && test -s "$nlist"; then
6110 # Try sorting and uniquifying the output.
6111 if sort "$nlist" |
uniq > "$nlist"T
; then
6112 mv -f "$nlist"T
"$nlist"
6117 # Make sure that we snagged all the symbols we need.
6118 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6119 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6120 cat <<EOF > conftest.$ac_ext
6126 # Now generate the symbol file.
6127 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6129 cat <<EOF >> conftest.$ac_ext
6130 #if defined (__STDC__) && __STDC__
6131 # define lt_ptr_t void *
6133 # define lt_ptr_t char *
6137 /* The mapping between symbol names and symbols. */
6142 lt_preloaded_symbols[] =
6145 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6146 cat <<\EOF
>> conftest.
$ac_ext
6154 # Now try linking the two files.
6155 mv conftest.
$ac_objext conftstm.
$ac_objext
6156 lt_save_LIBS
="$LIBS"
6157 lt_save_CFLAGS
="$CFLAGS"
6158 LIBS
="conftstm.$ac_objext"
6159 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6161 (eval $ac_link) 2>&5
6163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6164 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6167 LIBS
="$lt_save_LIBS"
6168 CFLAGS
="$lt_save_CFLAGS"
6170 echo "cannot find nm_test_func in $nlist" >&5
6173 echo "cannot find nm_test_var in $nlist" >&5
6176 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6179 echo "$progname: failed program was:" >&5
6180 cat conftest.
$ac_ext >&5
6182 rm -f conftest
* conftst
*
6184 # Do not use the global_symbol_pipe unless it works.
6185 if test "$pipe_works" = yes; then
6188 lt_cv_sys_global_symbol_pipe
=
6194 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6195 lt_cv_sys_global_symbol_to_cdecl
=
6197 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6198 { echo "$as_me:$LINENO: result: failed" >&5
6199 echo "${ECHO_T}failed" >&6; }
6201 { echo "$as_me:$LINENO: result: ok" >&5
6202 echo "${ECHO_T}ok" >&6; }
6205 { echo "$as_me:$LINENO: checking for objdir" >&5
6206 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6207 if test "${lt_cv_objdir+set}" = set; then
6208 echo $ECHO_N "(cached) $ECHO_C" >&6
6210 rm -f .libs
2>/dev
/null
6211 mkdir .libs
2>/dev
/null
6212 if test -d .libs
; then
6215 # MS-DOS does not allow filenames that begin with a dot.
6218 rmdir .libs
2>/dev
/null
6220 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6221 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6222 objdir
=$lt_cv_objdir
6230 # AIX sometimes has problems with the GCC collect2 program. For some
6231 # reason, if we set the COLLECT_NAMES environment variable, the problems
6232 # vanish in a puff of smoke.
6233 if test "X${COLLECT_NAMES+set}" != Xset
; then
6235 export COLLECT_NAMES
6240 # Sed substitution that helps us do robust quoting. It backslashifies
6241 # metacharacters that are still active within double-quoted strings.
6242 Xsed
='sed -e s/^X//'
6243 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6245 # Same as above, but do not quote variable references.
6246 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6248 # Sed substitution to delay expansion of an escaped shell variable in a
6249 # double_quote_subst'ed string.
6250 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6252 # Sed substitution to avoid accidental globbing in evaled expressions
6253 no_glob_subst
='s/\*/\\\*/g'
6259 default_ofile
=libtool
6260 can_build_shared
=yes
6262 # All known linkers require a `.a' archive for static linking (except M$VC,
6263 # which needs '.lib').
6265 ltmain
="$ac_aux_dir/ltmain.sh"
6266 ofile
="$default_ofile"
6267 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6269 if test -n "$ac_tool_prefix"; then
6270 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6271 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6274 if test "${ac_cv_prog_AR+set}" = set; then
6275 echo $ECHO_N "(cached) $ECHO_C" >&6
6277 if test -n "$AR"; then
6278 ac_cv_prog_AR
="$AR" # Let the user override the test.
6280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6284 test -z "$as_dir" && as_dir
=.
6285 for ac_exec_ext
in '' $ac_executable_extensions; do
6286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6287 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6298 if test -n "$AR"; then
6299 { echo "$as_me:$LINENO: result: $AR" >&5
6300 echo "${ECHO_T}$AR" >&6; }
6302 { echo "$as_me:$LINENO: result: no" >&5
6303 echo "${ECHO_T}no" >&6; }
6308 if test -z "$ac_cv_prog_AR"; then
6310 # Extract the first word of "ar", so it can be a program name with args.
6311 set dummy
ar; ac_word
=$2
6312 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6314 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6315 echo $ECHO_N "(cached) $ECHO_C" >&6
6317 if test -n "$ac_ct_AR"; then
6318 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6324 test -z "$as_dir" && as_dir
=.
6325 for ac_exec_ext
in '' $ac_executable_extensions; do
6326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6327 ac_cv_prog_ac_ct_AR
="ar"
6328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6337 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6338 if test -n "$ac_ct_AR"; then
6339 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6340 echo "${ECHO_T}$ac_ct_AR" >&6; }
6342 { echo "$as_me:$LINENO: result: no" >&5
6343 echo "${ECHO_T}no" >&6; }
6346 if test "x$ac_ct_AR" = x
; then
6349 case $cross_compiling:$ac_tool_warned in
6351 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6352 whose name does not start with the host triplet. If you think this
6353 configuration is useful to you, please write to autoconf@gnu.org." >&5
6354 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6355 whose name does not start with the host triplet. If you think this
6356 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6357 ac_tool_warned
=yes ;;
6365 if test -n "$ac_tool_prefix"; then
6366 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6367 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6370 if test "${ac_cv_prog_RANLIB+set}" = set; then
6371 echo $ECHO_N "(cached) $ECHO_C" >&6
6373 if test -n "$RANLIB"; then
6374 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6380 test -z "$as_dir" && as_dir
=.
6381 for ac_exec_ext
in '' $ac_executable_extensions; do
6382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6383 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6393 RANLIB
=$ac_cv_prog_RANLIB
6394 if test -n "$RANLIB"; then
6395 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6396 echo "${ECHO_T}$RANLIB" >&6; }
6398 { echo "$as_me:$LINENO: result: no" >&5
6399 echo "${ECHO_T}no" >&6; }
6404 if test -z "$ac_cv_prog_RANLIB"; then
6405 ac_ct_RANLIB
=$RANLIB
6406 # Extract the first word of "ranlib", so it can be a program name with args.
6407 set dummy ranlib
; ac_word
=$2
6408 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6410 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6411 echo $ECHO_N "(cached) $ECHO_C" >&6
6413 if test -n "$ac_ct_RANLIB"; then
6414 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6420 test -z "$as_dir" && as_dir
=.
6421 for ac_exec_ext
in '' $ac_executable_extensions; do
6422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6423 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6433 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6434 if test -n "$ac_ct_RANLIB"; then
6435 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6436 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6438 { echo "$as_me:$LINENO: result: no" >&5
6439 echo "${ECHO_T}no" >&6; }
6442 if test "x$ac_ct_RANLIB" = x
; then
6445 case $cross_compiling:$ac_tool_warned in
6447 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6448 whose name does not start with the host triplet. If you think this
6449 configuration is useful to you, please write to autoconf@gnu.org." >&5
6450 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6451 whose name does not start with the host triplet. If you think this
6452 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6453 ac_tool_warned
=yes ;;
6455 RANLIB
=$ac_ct_RANLIB
6458 RANLIB
="$ac_cv_prog_RANLIB"
6461 if test -n "$ac_tool_prefix"; then
6462 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6463 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6466 if test "${ac_cv_prog_STRIP+set}" = set; then
6467 echo $ECHO_N "(cached) $ECHO_C" >&6
6469 if test -n "$STRIP"; then
6470 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6476 test -z "$as_dir" && as_dir
=.
6477 for ac_exec_ext
in '' $ac_executable_extensions; do
6478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6479 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6489 STRIP
=$ac_cv_prog_STRIP
6490 if test -n "$STRIP"; then
6491 { echo "$as_me:$LINENO: result: $STRIP" >&5
6492 echo "${ECHO_T}$STRIP" >&6; }
6494 { echo "$as_me:$LINENO: result: no" >&5
6495 echo "${ECHO_T}no" >&6; }
6500 if test -z "$ac_cv_prog_STRIP"; then
6502 # Extract the first word of "strip", so it can be a program name with args.
6503 set dummy strip
; ac_word
=$2
6504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6506 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6507 echo $ECHO_N "(cached) $ECHO_C" >&6
6509 if test -n "$ac_ct_STRIP"; then
6510 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6516 test -z "$as_dir" && as_dir
=.
6517 for ac_exec_ext
in '' $ac_executable_extensions; do
6518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6519 ac_cv_prog_ac_ct_STRIP
="strip"
6520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6529 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6530 if test -n "$ac_ct_STRIP"; then
6531 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6532 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6534 { echo "$as_me:$LINENO: result: no" >&5
6535 echo "${ECHO_T}no" >&6; }
6538 if test "x$ac_ct_STRIP" = x
; then
6541 case $cross_compiling:$ac_tool_warned in
6543 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6544 whose name does not start with the host triplet. If you think this
6545 configuration is useful to you, please write to autoconf@gnu.org." >&5
6546 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6547 whose name does not start with the host triplet. If you think this
6548 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6549 ac_tool_warned
=yes ;;
6554 STRIP
="$ac_cv_prog_STRIP"
6559 old_CFLAGS
="$CFLAGS"
6561 # Set sane defaults for various variables
6562 test -z "$AR" && AR
=ar
6563 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6564 test -z "$AS" && AS
=as
6565 test -z "$CC" && CC
=cc
6566 test -z "$LTCC" && LTCC
=$CC
6567 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6568 test -z "$LD" && LD
=ld
6569 test -z "$LN_S" && LN_S
="ln -s"
6570 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6571 test -z "$NM" && NM
=nm
6572 test -z "$SED" && SED
=sed
6573 test -z "$OBJDUMP" && OBJDUMP
=objdump
6574 test -z "$RANLIB" && RANLIB
=:
6575 test -z "$STRIP" && STRIP
=:
6576 test -z "$ac_objext" && ac_objext
=o
6578 # Determine commands to create old-style static archives.
6579 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6580 old_postinstall_cmds
='chmod 644 $oldlib'
6581 old_postuninstall_cmds
=
6583 if test -n "$RANLIB"; then
6586 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6589 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
6592 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6595 # Only perform the check for file, if the check method requires it
6596 case $deplibs_check_method in
6598 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6599 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6600 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6601 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6602 echo $ECHO_N "(cached) $ECHO_C" >&6
6606 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6609 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6610 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6611 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6612 for ac_dir
in $ac_dummy; do
6614 test -z "$ac_dir" && ac_dir
=.
6615 if test -f $ac_dir/${ac_tool_prefix}file; then
6616 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6617 if test -n "$file_magic_test_file"; then
6618 case $deplibs_check_method in
6620 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6621 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6622 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6623 $EGREP "$file_magic_regex" > /dev
/null
; then
6628 *** Warning: the command libtool uses to detect shared libraries,
6629 *** $file_magic_cmd, produces output that libtool cannot recognize.
6630 *** The result is that libtool may fail to recognize shared libraries
6631 *** as such. This will affect the creation of libtool libraries that
6632 *** depend on shared libraries, but programs linked with such libtool
6633 *** libraries will work regardless of this problem. Nevertheless, you
6634 *** may want to report the problem to your system manager and/or to
6635 *** bug-libtool@gnu.org
6645 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6650 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6651 if test -n "$MAGIC_CMD"; then
6652 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6653 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6655 { echo "$as_me:$LINENO: result: no" >&5
6656 echo "${ECHO_T}no" >&6; }
6659 if test -z "$lt_cv_path_MAGIC_CMD"; then
6660 if test -n "$ac_tool_prefix"; then
6661 { echo "$as_me:$LINENO: checking for file" >&5
6662 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6663 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6664 echo $ECHO_N "(cached) $ECHO_C" >&6
6668 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6671 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6672 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6673 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6674 for ac_dir
in $ac_dummy; do
6676 test -z "$ac_dir" && ac_dir
=.
6677 if test -f $ac_dir/file; then
6678 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6679 if test -n "$file_magic_test_file"; then
6680 case $deplibs_check_method in
6682 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6683 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6684 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6685 $EGREP "$file_magic_regex" > /dev
/null
; then
6690 *** Warning: the command libtool uses to detect shared libraries,
6691 *** $file_magic_cmd, produces output that libtool cannot recognize.
6692 *** The result is that libtool may fail to recognize shared libraries
6693 *** as such. This will affect the creation of libtool libraries that
6694 *** depend on shared libraries, but programs linked with such libtool
6695 *** libraries will work regardless of this problem. Nevertheless, you
6696 *** may want to report the problem to your system manager and/or to
6697 *** bug-libtool@gnu.org
6707 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6712 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6713 if test -n "$MAGIC_CMD"; then
6714 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6715 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6717 { echo "$as_me:$LINENO: result: no" >&5
6718 echo "${ECHO_T}no" >&6; }
6733 # Check whether --enable-libtool-lock was given.
6734 if test "${enable_libtool_lock+set}" = set; then
6735 enableval
=$enable_libtool_lock;
6738 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6741 # Check whether --with-pic was given.
6742 if test "${with_pic+set}" = set; then
6743 withval
=$with_pic; pic_mode
="$withval"
6748 test -z "$pic_mode" && pic_mode
=default
6750 # Use C for the default configuration in the libtool script
6754 ac_cpp
='$CPP $CPPFLAGS'
6755 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6756 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6757 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6760 # Source file extension for C test sources.
6763 # Object file extension for compiled C test sources.
6767 # Code to be used in simple compile tests
6768 lt_simple_compile_test_code
="int some_variable = 0;\n"
6770 # Code to be used in simple link tests
6771 lt_simple_link_test_code
='int main(){return(0);}\n'
6774 # If no C compiler was specified, use CC.
6777 # Allow CC to be a program name with arguments.
6782 # Check for any special shared library compilation flags.
6785 if test "$GCC" = no
; then
6788 lt_prog_cc_shlib
='-belf'
6792 if test -n "$lt_prog_cc_shlib"; then
6793 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6794 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6795 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
6797 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6798 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6799 lt_cv_prog_cc_can_build_shared
=no
6805 # Check to make sure the static flag actually works.
6807 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6808 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
6809 if test "${lt_prog_compiler_static_works+set}" = set; then
6810 echo $ECHO_N "(cached) $ECHO_C" >&6
6812 lt_prog_compiler_static_works
=no
6813 save_LDFLAGS
="$LDFLAGS"
6814 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
6815 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6816 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6817 # The compiler can only warn and ignore the option if not recognized
6818 # So say no if there are warnings
6819 if test -s conftest.err
; then
6820 # Append any errors to the config.log.
6821 cat conftest.err
1>&5
6823 lt_prog_compiler_static_works
=yes
6827 LDFLAGS
="$save_LDFLAGS"
6830 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6831 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
6833 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6836 lt_prog_compiler_static
=
6842 ## There is no encapsulation within the following macros, do not change
6843 ## the running order or otherwise move them around unless you know exactly
6844 ## what you are doing...
6846 lt_prog_compiler_no_builtin_flag
=
6848 if test "$GCC" = yes; then
6849 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6852 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6853 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6854 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6855 echo $ECHO_N "(cached) $ECHO_C" >&6
6857 lt_cv_prog_compiler_rtti_exceptions
=no
6858 ac_outfile
=conftest.
$ac_objext
6859 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6860 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6861 # Insert the option either (1) after the last *FLAGS variable, or
6862 # (2) before a word containing "conftest.", or (3) at the end.
6863 # Note that $ac_compile itself does not contain backslashes and begins
6864 # with a dollar sign (not a hyphen), so the echo should work correctly.
6865 # The option is referenced via a variable to avoid confusing sed.
6866 lt_compile
=`echo "$ac_compile" | $SED \
6867 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6868 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6869 -e 's:$: $lt_compiler_flag:'`
6870 (eval echo "\"\$as_me:6870: $lt_compile\"" >&5)
6871 (eval "$lt_compile" 2>conftest.err
)
6873 cat conftest.err
>&5
6874 echo "$as_me:6874: \$? = $ac_status" >&5
6875 if (exit $ac_status) && test -s "$ac_outfile"; then
6876 # The compiler can only warn and ignore the option if not recognized
6877 # So say no if there are warnings
6878 if test ! -s conftest.err
; then
6879 lt_cv_prog_compiler_rtti_exceptions
=yes
6885 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6886 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6888 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6889 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6896 lt_prog_compiler_wl
=
6897 lt_prog_compiler_pic
=
6898 lt_prog_compiler_static
=
6900 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6901 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6903 if test "$GCC" = yes; then
6904 lt_prog_compiler_wl
='-Wl,'
6905 lt_prog_compiler_static
='-static'
6909 # All AIX code is PIC.
6910 if test "$host_cpu" = ia64
; then
6911 # AIX 5 now supports IA64 processor
6912 lt_prog_compiler_static
='-Bstatic'
6917 # FIXME: we need at least 68020 code to build shared libraries, but
6918 # adding the `-m68020' flag to GCC prevents building anything better,
6920 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6923 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6924 # PIC is the default for these OSes.
6927 mingw
* | pw32
* | os2
*)
6928 # This hack is so that the source file can tell whether it is being
6929 # built for inclusion in a dll (and should export symbols for example).
6930 lt_prog_compiler_pic
='-DDLL_EXPORT'
6933 darwin
* | rhapsody
*)
6934 # PIC is the default on this platform
6935 # Common symbols not allowed in MH_DYLIB files
6936 lt_prog_compiler_pic
='-fno-common'
6940 # Just because we use GCC doesn't mean we suddenly get shared libraries
6941 # on systems that don't support them.
6942 lt_prog_compiler_can_build_shared
=no
6947 if test -d /usr
/nec
; then
6948 lt_prog_compiler_pic
=-Kconform_pic
6953 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6960 lt_prog_compiler_pic
='-fPIC'
6966 lt_prog_compiler_pic
='-fPIC'
6970 # PORTME Check for flag to pass linker flags through the system compiler.
6973 lt_prog_compiler_wl
='-Wl,'
6974 if test "$host_cpu" = ia64
; then
6975 # AIX 5 now supports IA64 processor
6976 lt_prog_compiler_static
='-Bstatic'
6978 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6982 mingw
* | pw32
* | os2
*)
6983 # This hack is so that the source file can tell whether it is being
6984 # built for inclusion in a dll (and should export symbols for example).
6985 lt_prog_compiler_pic
='-DDLL_EXPORT'
6988 hpux9
* | hpux10
* | hpux11
*)
6989 lt_prog_compiler_wl
='-Wl,'
6990 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6997 lt_prog_compiler_pic
='+Z'
7000 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7001 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7004 irix5
* | irix6
* | nonstopux
*)
7005 lt_prog_compiler_wl
='-Wl,'
7006 # PIC (with -KPIC) is the default.
7007 lt_prog_compiler_static
='-non_shared'
7011 lt_prog_compiler_pic
='-KPIC'
7012 lt_prog_compiler_static
='-Bstatic'
7018 lt_prog_compiler_wl
='-Wl,'
7019 lt_prog_compiler_pic
='-KPIC'
7020 lt_prog_compiler_static
='-static'
7023 lt_prog_compiler_wl
='-Wl,'
7024 # All Alpha code is PIC.
7025 lt_prog_compiler_static
='-non_shared'
7030 osf3
* | osf4
* | osf5
*)
7031 lt_prog_compiler_wl
='-Wl,'
7032 # All OSF/1 code is PIC.
7033 lt_prog_compiler_static
='-non_shared'
7037 lt_prog_compiler_pic
='-Kpic'
7038 lt_prog_compiler_static
='-dn'
7042 lt_prog_compiler_wl
='-Wl,'
7043 lt_prog_compiler_pic
='-KPIC'
7044 lt_prog_compiler_static
='-Bstatic'
7048 lt_prog_compiler_wl
='-Qoption ld '
7049 lt_prog_compiler_pic
='-PIC'
7050 lt_prog_compiler_static
='-Bstatic'
7053 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
7054 lt_prog_compiler_wl
='-Wl,'
7055 lt_prog_compiler_pic
='-KPIC'
7056 lt_prog_compiler_static
='-Bstatic'
7060 if test -d /usr
/nec
;then
7061 lt_prog_compiler_pic
='-Kconform_pic'
7062 lt_prog_compiler_static
='-Bstatic'
7067 lt_prog_compiler_pic
='-pic'
7068 lt_prog_compiler_static
='-Bstatic'
7072 lt_prog_compiler_can_build_shared
=no
7077 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7078 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7081 # Check to make sure the PIC flag actually works.
7083 if test -n "$lt_prog_compiler_pic"; then
7085 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7086 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7087 if test "${lt_prog_compiler_pic_works+set}" = set; then
7088 echo $ECHO_N "(cached) $ECHO_C" >&6
7090 lt_prog_compiler_pic_works
=no
7091 ac_outfile
=conftest.
$ac_objext
7092 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7093 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7094 # Insert the option either (1) after the last *FLAGS variable, or
7095 # (2) before a word containing "conftest.", or (3) at the end.
7096 # Note that $ac_compile itself does not contain backslashes and begins
7097 # with a dollar sign (not a hyphen), so the echo should work correctly.
7098 # The option is referenced via a variable to avoid confusing sed.
7099 lt_compile
=`echo "$ac_compile" | $SED \
7100 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7101 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7102 -e 's:$: $lt_compiler_flag:'`
7103 (eval echo "\"\$as_me:7103: $lt_compile\"" >&5)
7104 (eval "$lt_compile" 2>conftest.err
)
7106 cat conftest.err
>&5
7107 echo "$as_me:7107: \$? = $ac_status" >&5
7108 if (exit $ac_status) && test -s "$ac_outfile"; then
7109 # The compiler can only warn and ignore the option if not recognized
7110 # So say no if there are warnings
7111 if test ! -s conftest.err
; then
7112 lt_prog_compiler_pic_works
=yes
7118 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7119 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7121 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7122 case $lt_prog_compiler_pic in
7124 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7127 lt_prog_compiler_pic
=
7128 lt_prog_compiler_can_build_shared
=no
7133 # For platforms which do not support PIC, -DPIC is meaningless:
7135 lt_prog_compiler_pic
=
7138 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7142 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7143 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7144 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7145 echo $ECHO_N "(cached) $ECHO_C" >&6
7147 lt_cv_prog_compiler_c_o
=no
7148 $rm -r conftest
2>/dev
/null
7152 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7154 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
7155 # that will create temporary files in the current directory regardless of
7156 # the output directory. Thus, making CWD read-only will cause this test
7157 # to fail, enabling locking or at least warning the user not to do parallel
7161 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7162 # Insert the option either (1) after the last *FLAGS variable, or
7163 # (2) before a word containing "conftest.", or (3) at the end.
7164 # Note that $ac_compile itself does not contain backslashes and begins
7165 # with a dollar sign (not a hyphen), so the echo should work correctly.
7166 lt_compile
=`echo "$ac_compile" | $SED \
7167 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7168 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7169 -e 's:$: $lt_compiler_flag:'`
7170 (eval echo "\"\$as_me:7170: $lt_compile\"" >&5)
7171 (eval "$lt_compile" 2>out
/conftest.err
)
7173 cat out
/conftest.err
>&5
7174 echo "$as_me:7174: \$? = $ac_status" >&5
7175 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7177 # The compiler can only warn and ignore the option if not recognized
7178 # So say no if there are warnings
7179 if test ! -s out
/conftest.err
; then
7180 lt_cv_prog_compiler_c_o
=yes
7185 # SGI C++ compiler will create directory out/ii_files/ for
7186 # template instantiation
7187 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7188 $rm out
/* && rmdir out
7194 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7195 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7198 hard_links
="nottested"
7199 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7200 # do not overwrite the value of need_locks provided by the user
7201 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7202 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7205 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7207 ln conftest.a conftest.b
2>&5 || hard_links
=no
7208 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7209 { echo "$as_me:$LINENO: result: $hard_links" >&5
7210 echo "${ECHO_T}$hard_links" >&6; }
7211 if test "$hard_links" = no
; then
7212 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7213 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7220 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7221 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7224 allow_undefined_flag
=
7225 enable_shared_with_static_runtimes
=no
7227 archive_expsym_cmds
=
7228 old_archive_From_new_cmds
=
7229 old_archive_from_expsyms_cmds
=
7230 export_dynamic_flag_spec
=
7231 whole_archive_flag_spec
=
7232 thread_safe_flag_spec
=
7233 hardcode_libdir_flag_spec
=
7234 hardcode_libdir_flag_spec_ld
=
7235 hardcode_libdir_separator
=
7238 hardcode_shlibpath_var
=unsupported
7239 link_all_deplibs
=unknown
7240 hardcode_automatic
=no
7243 always_export_symbols
=no
7244 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7245 # include_expsyms should be a list of space-separated symbols to be *always*
7246 # included in the symbol list
7248 # exclude_expsyms can be an extended regexp of symbols to exclude
7249 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7250 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7251 # as well as any symbol that contains `d'.
7252 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7253 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7254 # platforms (ab)use it in PIC code, but their linkers get confused if
7255 # the symbol is explicitly referenced. Since portable code cannot
7256 # rely on this symbol name, it's probably fine to never include it in
7257 # preloaded symbol tables.
7258 extract_expsyms_cmds
=
7261 cygwin
* | mingw
* | pw32
*)
7262 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7263 # When not using gcc, we currently assume that we are using
7264 # Microsoft Visual C++.
7265 if test "$GCC" != yes; then
7275 if test "$with_gnu_ld" = yes; then
7276 # If archive_cmds runs LD, not CC, wlarc should be empty
7279 # See if GNU ld supports shared libraries.
7281 aix3
* | aix4
* | aix5
*)
7282 # On AIX/PPC, the GNU linker is very broken
7283 if test "$host_cpu" != ia64
; then
7287 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7288 *** to be unable to reliably create shared libraries on AIX.
7289 *** Therefore, libtool is disabling shared libraries support. If you
7290 *** really care for shared libraries, you may want to modify your PATH
7291 *** so that a non-GNU linker is found, and then restart.
7298 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)'
7299 hardcode_libdir_flag_spec
='-L$libdir'
7300 hardcode_minus_L
=yes
7302 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7303 # that the semantics of dynamic libraries on AmigaOS, at least up
7304 # to version 4, is to share data among multiple programs linked
7305 # with the same dynamic library. Since this doesn't match the
7306 # behavior of shared libraries on other platforms, we can't use
7312 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7313 allow_undefined_flag
=unsupported
7314 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7315 # support --undefined. This deserves some investigation. FIXME
7316 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7322 cygwin
* | mingw
* | pw32
*)
7323 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7324 # as there is no search path for DLLs.
7325 hardcode_libdir_flag_spec
='-L$libdir'
7326 allow_undefined_flag
=unsupported
7327 always_export_symbols
=no
7328 enable_shared_with_static_runtimes
=yes
7329 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7331 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7332 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7333 # If the export-symbols file already is a .def file (1st line
7334 # is EXPORTS), use it as is; otherwise, prepend...
7335 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7336 cp $export_symbols $output_objdir/$soname.def;
7338 echo EXPORTS > $output_objdir/$soname.def;
7339 cat $export_symbols >> $output_objdir/$soname.def;
7341 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7348 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7349 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7352 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7353 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7358 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7362 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7363 *** create shared libraries on Solaris systems. Therefore, libtool
7364 *** is disabling shared libraries support. We urge you to upgrade GNU
7365 *** binutils to release 2.9.1 or newer. Another option is to modify
7366 *** your PATH or compiler configuration so that the native linker is
7367 *** used, and then restart.
7370 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7371 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7372 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7379 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7382 hardcode_shlibpath_var
=no
7386 if $LD --help 2>&1 |
egrep ': supported targets:.* elf' > /dev
/null
; then
7387 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7388 archive_cmds
="$tmp_archive_cmds"
7389 supports_anon_versioning
=no
7390 case `$LD -v 2>/dev/null` in
7391 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7392 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7393 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7394 *\
2.11.
*) ;; # other 2.11 versions
7395 *) supports_anon_versioning
=yes ;;
7397 if test $supports_anon_versioning = yes; then
7398 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7399 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7400 $echo "local: *; };" >> $output_objdir/$libname.ver~
7401 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7403 archive_expsym_cmds
="$tmp_archive_cmds"
7411 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7412 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7413 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7420 if test "$ld_shlibs" = yes; then
7421 runpath_var
=LD_RUN_PATH
7422 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7423 export_dynamic_flag_spec
='${wl}--export-dynamic'
7424 # ancient GNU ld didn't support --whole-archive et. al.
7425 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7426 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7428 whole_archive_flag_spec
=
7432 # PORTME fill in a description of your system's linker (not GNU ld)
7435 allow_undefined_flag
=unsupported
7436 always_export_symbols
=yes
7437 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'
7438 # Note: this linker hardcodes the directories in LIBPATH if there
7439 # are no directories specified by -L.
7440 hardcode_minus_L
=yes
7441 if test "$GCC" = yes && test -z "$link_static_flag"; then
7442 # Neither direct hardcoding nor static linking is supported with a
7444 hardcode_direct
=unsupported
7449 if test "$host_cpu" = ia64
; then
7450 # On IA64, the linker does run time linking by default, so we don't
7451 # have to do anything special.
7452 aix_use_runtimelinking
=no
7453 exp_sym_flag
='-Bexport'
7456 # If we're using GNU nm, then we don't want the "-C" option.
7457 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7458 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7459 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'
7461 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'
7463 aix_use_runtimelinking
=no
7465 # Test if we are trying to use run time linking or normal
7466 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7467 # need to do runtime linking.
7468 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7469 for ld_flag
in $LDFLAGS; do
7470 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7471 aix_use_runtimelinking
=yes
7477 exp_sym_flag
='-bexport'
7478 no_entry_flag
='-bnoentry'
7481 # When large executables or shared objects are built, AIX ld can
7482 # have problems creating the table of contents. If linking a library
7483 # or program results in "error TOC overflow" add -mminimal-toc to
7484 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7485 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7489 hardcode_libdir_separator
=':'
7490 link_all_deplibs
=yes
7492 if test "$GCC" = yes; then
7493 case $host_os in aix4.012|aix4.012.
*)
7494 # We only want to do this on AIX 4.2 and lower, the check
7495 # below for broken collect2 doesn't work under 4.3+
7496 collect2name
=`${CC} -print-prog-name=collect2`
7497 if test -f "$collect2name" && \
7498 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7500 # We have reworked collect2
7503 # We have old collect2
7504 hardcode_direct
=unsupported
7505 # It fails to find uninstalled libraries when the uninstalled
7506 # path is not listed in the libpath. Setting hardcode_minus_L
7507 # to unsupported forces relinking
7508 hardcode_minus_L
=yes
7509 hardcode_libdir_flag_spec
='-L$libdir'
7510 hardcode_libdir_separator
=
7513 shared_flag
='-shared'
7516 if test "$host_cpu" = ia64
; then
7517 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7518 # chokes on -Wl,-G. The following line is correct:
7521 if test "$aix_use_runtimelinking" = yes; then
7522 shared_flag
='${wl}-G'
7524 shared_flag
='${wl}-bM:SRE'
7529 # It seems that -bexpall does not export symbols beginning with
7530 # underscore (_), so it is better to generate a list of symbols to export.
7531 always_export_symbols
=yes
7532 if test "$aix_use_runtimelinking" = yes; then
7533 # Warning - without using the other runtime loading flags (-brtl),
7534 # -berok will link without error, but may produce a broken library.
7535 allow_undefined_flag
='-berok'
7536 # Determine the default libpath from the value encoded in an empty executable.
7537 cat >conftest.
$ac_ext <<_ACEOF
7540 cat confdefs.h
>>conftest.
$ac_ext
7541 cat >>conftest.
$ac_ext <<_ACEOF
7542 /* end confdefs.h. */
7552 rm -f conftest.
$ac_objext conftest
$ac_exeext
7553 if { (ac_try
="$ac_link"
7555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7556 *) ac_try_echo=$ac_try;;
7558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7559 (eval "$ac_link") 2>conftest.er1
7561 grep -v '^ *+' conftest.er1 >conftest.err
7563 cat conftest.err >&5
7564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7565 (exit $ac_status); } &&
7566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7567 { (case "(($ac_try" in
7568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7569 *) ac_try_echo
=$ac_try;;
7571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7572 (eval "$ac_try") 2>&5
7574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7575 (exit $ac_status); }; } &&
7576 { ac_try
='test -s conftest$ac_exeext'
7577 { (case "(($ac_try" in
7578 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7579 *) ac_try_echo=$ac_try;;
7581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7582 (eval "$ac_try") 2>&5
7584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585 (exit $ac_status); }; }; then
7587 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7589 # Check for a 64-bit object if we didn't find anything.
7590 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; }
7593 echo "$as_me: failed program was:" >&5
7594 sed 's/^/| /' conftest.$ac_ext >&5
7599 rm -f core conftest.err conftest.$ac_objext \
7600 conftest$ac_exeext conftest.$ac_ext
7601 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7603 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7604 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"
7606 if test "$host_cpu" = ia64
; then
7607 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7608 allow_undefined_flag
="-z nodefs"
7609 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"
7611 # Determine the default libpath from the value encoded in an empty executable.
7612 cat >conftest.$ac_ext <<_ACEOF
7615 cat confdefs.h >>conftest.$ac_ext
7616 cat >>conftest.$ac_ext <<_ACEOF
7617 /* end confdefs.h. */
7627 rm -f conftest.$ac_objext conftest$ac_exeext
7628 if { (ac_try="$ac_link"
7630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7631 *) ac_try_echo=$ac_try;;
7633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7634 (eval "$ac_link") 2>conftest.er1
7636 grep -v '^
*+' conftest.er1 >conftest.err
7638 cat conftest.err >&5
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); } &&
7641 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
7642 { (case "(($ac_try" in
7643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7644 *) ac_try_echo=$ac_try;;
7646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7647 (eval "$ac_try") 2>&5
7649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7650 (exit $ac_status); }; } &&
7651 { ac_try='test -s conftest
$ac_exeext'
7652 { (case "(($ac_try" in
7653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7654 *) ac_try_echo=$ac_try;;
7656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7657 (eval "$ac_try") 2>&5
7659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660 (exit $ac_status); }; }; then
7662 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings
/,/^$
/ { /^
0/ { s
/^
0 *\
(.
*\
)$
/\
1/; p
; }
7664 # Check for a 64-bit object if we didn't
find anything.
7665 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; }
7668 echo "$as_me: failed program was:" >&5
7669 sed 's/^/| /' conftest.
$ac_ext >&5
7674 rm -f core conftest.err conftest.
$ac_objext \
7675 conftest
$ac_exeext conftest.
$ac_ext
7676 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7678 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7679 # Warning - without using the other run time loading flags,
7680 # -berok will link without error, but may produce a broken library.
7681 no_undefined_flag
=' ${wl}-bernotok'
7682 allow_undefined_flag
=' ${wl}-berok'
7683 # -bexpall does not export symbols beginning with underscore (_)
7684 always_export_symbols
=yes
7685 # Exported symbols can be pulled into shared objects from archives
7686 whole_archive_flag_spec
=' '
7687 archive_cmds_need_lc
=yes
7688 # This is similar to how AIX traditionally builds it's shared libraries.
7689 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'
7695 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)'
7696 hardcode_libdir_flag_spec
='-L$libdir'
7697 hardcode_minus_L
=yes
7698 # see comment about different semantics on the GNU ld section
7703 export_dynamic_flag_spec
=-rdynamic
7706 cygwin
* | mingw
* | pw32
*)
7707 # When not using gcc, we currently assume that we are using
7708 # Microsoft Visual C++.
7709 # hardcode_libdir_flag_spec is actually meaningless, as there is
7710 # no search path for DLLs.
7711 hardcode_libdir_flag_spec
=' '
7712 allow_undefined_flag
=unsupported
7713 # Tell ltmain to make .lib files, not .a files.
7715 # Tell ltmain to make .dll files, not .so files.
7717 # FIXME: Setting linknames here is a bad hack.
7718 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7719 # The linker will automatically build a .lib file if we build a DLL.
7720 old_archive_From_new_cmds
='true'
7721 # FIXME: Should let the user specify the lib program.
7722 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7723 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7724 enable_shared_with_static_runtimes
=yes
7727 darwin
* | rhapsody
*)
7728 if test "$GXX" = yes ; then
7729 archive_cmds_need_lc
=no
7731 rhapsody
* | darwin1.
[012])
7732 allow_undefined_flag
='-undefined suppress'
7735 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7736 allow_undefined_flag
='-flat_namespace -undefined suppress'
7738 case ${MACOSX_DEPLOYMENT_TARGET} in
7740 allow_undefined_flag
='-flat_namespace -undefined suppress'
7743 allow_undefined_flag
='-undefined dynamic_lookup'
7749 lt_int_apple_cc_single_mod
=no
7750 output_verbose_link_cmd
='echo'
7751 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
7752 lt_int_apple_cc_single_mod
=yes
7754 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
7755 archive_cmds
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7757 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'
7759 module_cmds
='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7760 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7761 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
7762 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}'
7764 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}'
7766 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}'
7768 hardcode_automatic
=yes
7769 hardcode_shlibpath_var
=unsupported
7770 whole_archive_flag_spec
='-all_load $convenience'
7771 link_all_deplibs
=yes
7778 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7779 hardcode_libdir_flag_spec
='-L$libdir'
7780 hardcode_shlibpath_var
=no
7787 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7788 # support. Future versions do this automatically, but an explicit c++rt0.o
7789 # does not break anything, and helps significantly (at the cost of a little
7792 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7793 hardcode_libdir_flag_spec
='-R$libdir'
7795 hardcode_shlibpath_var
=no
7798 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7800 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7802 hardcode_minus_L
=yes
7803 hardcode_shlibpath_var
=no
7806 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7807 freebsd
* | kfreebsd
*-gnu)
7808 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7809 hardcode_libdir_flag_spec
='-R$libdir'
7811 hardcode_shlibpath_var
=no
7815 if test "$GCC" = yes; then
7816 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'
7818 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'
7820 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7821 hardcode_libdir_separator
=:
7824 # hardcode_minus_L: Not really in the search PATH,
7825 # but as the default location of the library.
7826 hardcode_minus_L
=yes
7827 export_dynamic_flag_spec
='${wl}-E'
7831 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7834 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7837 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7843 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7846 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7850 if test "$with_gnu_ld" = no
; then
7853 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7854 hardcode_libdir_flag_spec_ld
='+b $libdir'
7855 hardcode_libdir_separator
=:
7857 hardcode_shlibpath_var
=no
7860 hardcode_libdir_flag_spec
='-L$libdir'
7862 hardcode_shlibpath_var
=no
7864 # hardcode_minus_L: Not really in the search PATH,
7865 # but as the default location of the library.
7866 hardcode_minus_L
=yes
7869 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7870 hardcode_libdir_separator
=:
7872 export_dynamic_flag_spec
='${wl}-E'
7874 # hardcode_minus_L: Not really in the search PATH,
7875 # but as the default location of the library.
7876 hardcode_minus_L
=yes
7882 irix5
* | irix6
* | nonstopux
*)
7883 if test "$GCC" = yes; then
7884 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'
7886 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'
7887 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7889 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7890 hardcode_libdir_separator
=:
7891 link_all_deplibs
=yes
7895 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7896 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7898 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7900 hardcode_libdir_flag_spec
='-R$libdir'
7902 hardcode_shlibpath_var
=no
7906 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7908 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7909 hardcode_libdir_separator
=:
7910 hardcode_shlibpath_var
=no
7915 hardcode_shlibpath_var
=no
7916 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7917 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7918 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7919 export_dynamic_flag_spec
='${wl}-E'
7922 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7923 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7924 hardcode_libdir_flag_spec
='-R$libdir'
7927 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7928 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7935 hardcode_libdir_flag_spec
='-L$libdir'
7936 hardcode_minus_L
=yes
7937 allow_undefined_flag
=unsupported
7938 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'
7939 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7943 if test "$GCC" = yes; then
7944 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7945 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'
7947 allow_undefined_flag
=' -expect_unresolved \*'
7948 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'
7950 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7951 hardcode_libdir_separator
=:
7954 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7955 if test "$GCC" = yes; then
7956 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7957 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'
7958 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7960 allow_undefined_flag
=' -expect_unresolved \*'
7961 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'
7962 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7963 $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'
7965 # Both c and cxx compiler support -rpath directly
7966 hardcode_libdir_flag_spec
='-rpath $libdir'
7968 hardcode_libdir_separator
=:
7972 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7973 hardcode_shlibpath_var
=no
7974 export_dynamic_flag_spec
='${wl}-Bexport'
7975 runpath_var
=LD_RUN_PATH
7976 hardcode_runpath_var
=yes
7980 no_undefined_flag
=' -z text'
7981 if test "$GCC" = yes; then
7982 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7983 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7984 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7986 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7987 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7988 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7990 hardcode_libdir_flag_spec
='-R$libdir'
7991 hardcode_shlibpath_var
=no
7993 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7994 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7995 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7997 link_all_deplibs
=yes
8001 if test "x$host_vendor" = xsequent
; then
8002 # Use $CC to link under sequent, because it throws in some extra .o
8003 # files that make .init and .fini sections work.
8004 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8006 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8008 hardcode_libdir_flag_spec
='-L$libdir'
8010 hardcode_minus_L
=yes
8011 hardcode_shlibpath_var
=no
8015 case $host_vendor in
8017 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8018 hardcode_direct
=yes # is this really true???
8021 ## LD is ld it makes a PLAMLIB
8022 ## CC just makes a GrossModule.
8023 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8024 reload_cmds
='$CC -r -o $output$reload_objs'
8028 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8029 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8032 runpath_var
='LD_RUN_PATH'
8033 hardcode_shlibpath_var
=no
8037 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8038 hardcode_shlibpath_var
=no
8039 export_dynamic_flag_spec
='-Bexport'
8043 if test -d /usr
/nec
; then
8044 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8045 hardcode_shlibpath_var
=no
8046 runpath_var
=LD_RUN_PATH
8047 hardcode_runpath_var
=yes
8053 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8056 hardcode_shlibpath_var
=no
8057 hardcode_runpath_var
=yes
8058 runpath_var
=LD_RUN_PATH
8061 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
8062 no_undefined_flag
='${wl}-z ${wl}text'
8063 if test "$GCC" = yes; then
8064 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8066 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8068 runpath_var
='LD_RUN_PATH'
8069 hardcode_shlibpath_var
=no
8073 no_undefined_flag
=' -z text'
8074 # $CC -shared without GNU ld will not create a library from C++
8075 # object files and a static libstdc++, better avoid it by now
8076 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8077 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8078 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8079 hardcode_libdir_flag_spec
=
8080 hardcode_shlibpath_var
=no
8081 runpath_var
='LD_RUN_PATH'
8085 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8086 hardcode_libdir_flag_spec
='-L$libdir'
8087 hardcode_shlibpath_var
=no
8096 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8097 echo "${ECHO_T}$ld_shlibs" >&6; }
8098 test "$ld_shlibs" = no
&& can_build_shared
=no
8100 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8101 if test "$GCC" = yes; then
8102 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8106 # Do we need to explicitly link libc?
8108 case "x$archive_cmds_need_lc" in
8110 # Assume -lc should be added
8111 archive_cmds_need_lc
=yes
8113 if test "$enable_shared" = yes && test "$GCC" = yes; then
8114 case $archive_cmds in
8116 # FIXME: we may have to deal with multi-command sequences.
8119 # Test whether the compiler implicitly links with -lc since on some
8120 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8121 # to ld, don't add -lc before -lgcc.
8122 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8123 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8125 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8128 (eval $ac_compile) 2>&5
8130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8131 (exit $ac_status); } 2>conftest.err
; then
8134 libobjs
=conftest.
$ac_objext
8136 wl
=$lt_prog_compiler_wl
8142 lt_save_allow_undefined_flag
=$allow_undefined_flag
8143 allow_undefined_flag
=
8144 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8145 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8148 (exit $ac_status); }
8150 archive_cmds_need_lc
=no
8152 archive_cmds_need_lc
=yes
8154 allow_undefined_flag
=$lt_save_allow_undefined_flag
8156 cat conftest.err
1>&5
8159 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8160 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8167 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8168 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8170 libname_spec
='lib$name'
8178 shlibpath_overrides_runpath
=unknown
8180 dynamic_linker
="$host_os ld.so"
8181 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8182 if test "$GCC" = yes; then
8183 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8184 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8185 # if the path contains ";" then we assume it to be the separator
8186 # otherwise default to the standard path separator (i.e. ":") - it is
8187 # assumed that no part of a normal pathname contains ";" but that should
8188 # okay in the real world where ";" in dirpaths is itself problematic.
8189 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8191 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8194 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8196 need_lib_prefix
=unknown
8197 hardcode_into_libs
=no
8199 # when you set need_version to no, make sure it does not cause -set_version
8200 # flags to be left without arguments
8201 need_version
=unknown
8206 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8207 shlibpath_var
=LIBPATH
8209 # AIX 3 has no versioning support, so we append a major version to the name.
8210 soname_spec
='${libname}${release}${shared_ext}$major'
8217 hardcode_into_libs
=yes
8218 if test "$host_cpu" = ia64
; then
8219 # AIX 5 supports IA64
8220 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8221 shlibpath_var
=LD_LIBRARY_PATH
8223 # With GCC up to 2.95.x, collect2 would create an import file
8224 # for dependence libraries. The import file would start with
8225 # the line `#! .'. This would cause the generated library to
8226 # depend on `.', always an invalid library. This was fixed in
8227 # development snapshots of GCC prior to 3.0.
8229 aix4 | aix4.
[01] | aix4.
[01].
*)
8230 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8232 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8239 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8240 # soname into executable. Probably we can add versioning support to
8241 # collect2, so additional links can be useful in future.
8242 if test "$aix_use_runtimelinking" = yes; then
8243 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8244 # instead of lib<name>.a to let people know that these are not
8245 # typical AIX shared libraries.
8246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8248 # We preserve .a as extension for shared libraries through AIX4.2
8249 # and later when we are not doing run time linking.
8250 library_names_spec
='${libname}${release}.a $libname.a'
8251 soname_spec
='${libname}${release}${shared_ext}$major'
8253 shlibpath_var
=LIBPATH
8258 library_names_spec
='$libname.ixlibrary $libname.a'
8259 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8260 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'
8264 library_names_spec
='${libname}${shared_ext}'
8265 dynamic_linker
="$host_os ld.so"
8266 shlibpath_var
=LIBRARY_PATH
8272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8273 soname_spec
='${libname}${release}${shared_ext}$major'
8274 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8275 shlibpath_var
=LD_LIBRARY_PATH
8276 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8277 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8278 # the default ld.so.conf also contains /usr/contrib/lib and
8279 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8280 # libtool to hard-code these into programs
8283 cygwin
* | mingw
* | pw32
*)
8284 version_type
=windows
8289 case $GCC,$host_os in
8290 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8291 library_names_spec
='$libname.dll.a'
8292 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8293 postinstall_cmds
='base_file=`basename \${file}`~
8294 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8295 dldir=$destdir/`dirname \$dlpath`~
8296 test -d \$dldir || mkdir -p \$dldir~
8297 $install_prog $dir/$dlname \$dldir/$dlname'
8298 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8299 dlpath=$dir/\$dldll~
8301 shlibpath_overrides_runpath
=yes
8305 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8306 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8307 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8310 # MinGW DLLs use traditional 'lib' prefix
8311 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8312 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8313 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8314 # It is most probably a Windows format PATH printed by
8315 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8316 # path with ; separators, and with drive letters. We can handle the
8317 # drive letters (cygwin fileutils understands them), so leave them,
8318 # especially as we might pass files found there to a mingw objdump,
8319 # which wouldn't understand a cygwinified path. Ahh.
8320 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8322 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8326 # pw32 DLLs use 'pw' prefix rather than 'lib'
8327 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
8333 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8336 dynamic_linker
='Win32 ld.exe'
8337 # FIXME: first we should search . and the directory the executable is in
8341 darwin
* | rhapsody
*)
8342 dynamic_linker
="$host_os dyld"
8346 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8347 soname_spec
='${libname}${release}${major}$shared_ext'
8348 shlibpath_overrides_runpath
=yes
8349 shlibpath_var
=DYLD_LIBRARY_PATH
8350 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
8351 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8352 if test "$GCC" = yes; then
8353 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"`
8355 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8357 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8365 soname_spec
='${libname}${release}${shared_ext}$major'
8366 shlibpath_var
=LD_LIBRARY_PATH
8377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8378 soname_spec
='${libname}${release}${shared_ext}$major'
8379 shlibpath_var
=LD_LIBRARY_PATH
8380 shlibpath_overrides_runpath
=no
8381 hardcode_into_libs
=yes
8382 dynamic_linker
='GNU ld.so'
8386 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
8387 version_type
=freebsd-
$objformat
8388 case $version_type in
8390 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8395 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8399 shlibpath_var
=LD_LIBRARY_PATH
8402 shlibpath_overrides_runpath
=yes
8404 freebsd3.01
* | freebsdelf3.01
*)
8405 shlibpath_overrides_runpath
=yes
8406 hardcode_into_libs
=yes
8409 shlibpath_overrides_runpath
=no
8410 hardcode_into_libs
=yes
8419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8420 soname_spec
='${libname}${release}${shared_ext}$major'
8421 shlibpath_var
=LD_LIBRARY_PATH
8422 hardcode_into_libs
=yes
8425 hpux9
* | hpux10
* | hpux11
*)
8426 # Give a soname corresponding to the major version so that dld.sl refuses to
8427 # link against other versions.
8434 hardcode_into_libs
=yes
8435 dynamic_linker
="$host_os dld.so"
8436 shlibpath_var
=LD_LIBRARY_PATH
8437 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8438 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8439 soname_spec
='${libname}${release}${shared_ext}$major'
8440 if test "X$HPUX_IA64_MODE" = X32
; then
8441 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8443 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8445 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8449 hardcode_into_libs
=yes
8450 dynamic_linker
="$host_os dld.sl"
8451 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8452 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8453 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8454 soname_spec
='${libname}${release}${shared_ext}$major'
8455 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8456 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8460 dynamic_linker
="$host_os dld.sl"
8461 shlibpath_var
=SHLIB_PATH
8462 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8464 soname_spec
='${libname}${release}${shared_ext}$major'
8467 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8468 postinstall_cmds
='chmod 555 $lib'
8471 irix5
* | irix6
* | nonstopux
*)
8473 nonstopux
*) version_type
=nonstopux
;;
8475 if test "$lt_cv_prog_gnu_ld" = yes; then
8483 soname_spec
='${libname}${release}${shared_ext}$major'
8484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8486 irix5
* | nonstopux
*)
8490 case $LD in # libtool.m4 will add one of these switches to LD
8491 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8492 libsuff
= shlibsuff
= libmagic
=32-bit;;
8493 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8494 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8495 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8496 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8497 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8501 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8502 shlibpath_overrides_runpath
=no
8503 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8504 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8505 hardcode_into_libs
=yes
8508 # No shared lib support for Linux oldld, aout, or coff.
8509 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8513 # This must be Linux ELF.
8518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8519 soname_spec
='${libname}${release}${shared_ext}$major'
8520 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8521 shlibpath_var
=LD_LIBRARY_PATH
8522 shlibpath_overrides_runpath
=no
8523 # This implies no fast_install, which is unacceptable.
8524 # Some rework will be needed to allow for fast_install
8525 # before this can be enabled.
8526 hardcode_into_libs
=yes
8528 # We used to test for /lib/ld.so.1 and disable shared libraries on
8529 # powerpc, because MkLinux only supported shared libraries with the
8530 # GNU dynamic linker. Since this was broken with cross compilers,
8531 # most powerpc-linux boxes support dynamic linking these days and
8532 # people can always --disable-shared, the test was removed, and we
8533 # assume the GNU/Linux dynamic linker is in use.
8534 dynamic_linker
='GNU/Linux ld.so'
8541 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8542 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8543 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8544 dynamic_linker
='NetBSD (a.out) ld.so'
8546 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
8547 soname_spec
='${libname}${release}${shared_ext}$major'
8548 dynamic_linker
='NetBSD ld.elf_so'
8550 shlibpath_var
=LD_LIBRARY_PATH
8551 shlibpath_overrides_runpath
=yes
8552 hardcode_into_libs
=yes
8557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8558 shlibpath_var
=LD_LIBRARY_PATH
8559 shlibpath_overrides_runpath
=yes
8566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8567 soname_spec
='${libname}${release}${shared_ext}$major'
8568 shlibpath_var
=LD_LIBRARY_PATH
8569 shlibpath_overrides_runpath
=yes
8576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8577 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8578 shlibpath_var
=LD_LIBRARY_PATH
8579 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8581 openbsd2.
[89] | openbsd2.
[89].
*)
8582 shlibpath_overrides_runpath
=no
8585 shlibpath_overrides_runpath
=yes
8589 shlibpath_overrides_runpath
=yes
8594 libname_spec
='$name'
8597 library_names_spec
='$libname${shared_ext} $libname.a'
8598 dynamic_linker
='OS/2 ld.exe'
8599 shlibpath_var
=LIBPATH
8602 osf3
* | osf4
* | osf5
*)
8606 soname_spec
='${libname}${release}${shared_ext}$major'
8607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8608 shlibpath_var
=LD_LIBRARY_PATH
8609 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8610 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8615 soname_spec
='${libname}${release}${shared_ext}$major'
8616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8617 shlibpath_var
=LD_LIBRARY_PATH
8624 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8625 soname_spec
='${libname}${release}${shared_ext}$major'
8626 shlibpath_var
=LD_LIBRARY_PATH
8627 shlibpath_overrides_runpath
=yes
8628 hardcode_into_libs
=yes
8629 # ldd complains unless libraries are executable
8630 postinstall_cmds
='chmod +x $lib'
8635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8636 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8637 shlibpath_var
=LD_LIBRARY_PATH
8638 shlibpath_overrides_runpath
=yes
8639 if test "$with_gnu_ld" = yes; then
8645 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8648 soname_spec
='${libname}${release}${shared_ext}$major'
8649 shlibpath_var
=LD_LIBRARY_PATH
8650 case $host_vendor in
8652 shlibpath_overrides_runpath
=no
8654 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8655 runpath_var
=LD_RUN_PATH
8663 shlibpath_overrides_runpath
=no
8664 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8670 if test -d /usr
/nec
;then
8672 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8673 soname_spec
='$libname${shared_ext}.$major'
8674 shlibpath_var
=LD_LIBRARY_PATH
8680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8681 soname_spec
='${libname}${release}${shared_ext}$major'
8682 shlibpath_var
=LD_LIBRARY_PATH
8689 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8690 echo "${ECHO_T}$dynamic_linker" >&6; }
8691 test "$dynamic_linker" = no
&& can_build_shared
=no
8693 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8694 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8696 if test -n "$hardcode_libdir_flag_spec" || \
8697 test -n "$runpath_var " || \
8698 test "X$hardcode_automatic"="Xyes" ; then
8700 # We can hardcode non-existant directories.
8701 if test "$hardcode_direct" != no
&&
8702 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8703 # have to relink, otherwise we might link with an installed library
8704 # when we should be linking with a yet-to-be-installed one
8705 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8706 test "$hardcode_minus_L" != no
; then
8707 # Linking always hardcodes the temporary library directory.
8708 hardcode_action
=relink
8710 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8711 hardcode_action
=immediate
8714 # We cannot hardcode anything, or else we can only hardcode existing
8716 hardcode_action
=unsupported
8718 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
8719 echo "${ECHO_T}$hardcode_action" >&6; }
8721 if test "$hardcode_action" = relink
; then
8722 # Fast installation is not supported
8723 enable_fast_install
=no
8724 elif test "$shlibpath_overrides_runpath" = yes ||
8725 test "$enable_shared" = no
; then
8726 # Fast installation is not necessary
8727 enable_fast_install
=needless
8732 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8733 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8734 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8735 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8736 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8737 { echo "$as_me:$LINENO: result: yes" >&5
8738 echo "${ECHO_T}yes" >&6; }
8740 # FIXME - insert some real tests, host_os isn't really good enough
8743 if test -n "$STRIP" ; then
8744 striplib
="$STRIP -x"
8745 { echo "$as_me:$LINENO: result: yes" >&5
8746 echo "${ECHO_T}yes" >&6; }
8748 { echo "$as_me:$LINENO: result: no" >&5
8749 echo "${ECHO_T}no" >&6; }
8753 { echo "$as_me:$LINENO: result: no" >&5
8754 echo "${ECHO_T}no" >&6; }
8759 if test "x$enable_dlopen" != xyes
; then
8760 enable_dlopen
=unknown
8761 enable_dlopen_self
=unknown
8762 enable_dlopen_self_static
=unknown
8769 lt_cv_dlopen
="load_add_on"
8771 lt_cv_dlopen_self
=yes
8775 lt_cv_dlopen
="LoadLibrary"
8780 lt_cv_dlopen
="dlopen"
8785 # if libdl is installed we need to link against it
8786 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8787 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8788 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8789 echo $ECHO_N "(cached) $ECHO_C" >&6
8791 ac_check_lib_save_LIBS
=$LIBS
8793 cat >conftest.
$ac_ext <<_ACEOF
8796 cat confdefs.h
>>conftest.
$ac_ext
8797 cat >>conftest.
$ac_ext <<_ACEOF
8798 /* end confdefs.h. */
8800 /* Override any GCC internal prototype to avoid an error.
8801 Use char because int might match the return type of a GCC
8802 builtin and then its argument prototype would still apply. */
8815 rm -f conftest.
$ac_objext conftest
$ac_exeext
8816 if { (ac_try
="$ac_link"
8818 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8819 *) ac_try_echo=$ac_try;;
8821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8822 (eval "$ac_link") 2>conftest.er1
8824 grep -v '^ *+' conftest.er1 >conftest.err
8826 cat conftest.err >&5
8827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8828 (exit $ac_status); } &&
8829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8830 { (case "(($ac_try" in
8831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8832 *) ac_try_echo
=$ac_try;;
8834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8835 (eval "$ac_try") 2>&5
8837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838 (exit $ac_status); }; } &&
8839 { ac_try
='test -s conftest$ac_exeext'
8840 { (case "(($ac_try" in
8841 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8842 *) ac_try_echo=$ac_try;;
8844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8845 (eval "$ac_try") 2>&5
8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 (exit $ac_status); }; }; then
8849 ac_cv_lib_dl_dlopen=yes
8851 echo "$as_me: failed program was:" >&5
8852 sed 's/^/| /' conftest.$ac_ext >&5
8854 ac_cv_lib_dl_dlopen=no
8857 rm -f core conftest.err conftest.$ac_objext \
8858 conftest$ac_exeext conftest.$ac_ext
8859 LIBS=$ac_check_lib_save_LIBS
8861 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8862 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8863 if test $ac_cv_lib_dl_dlopen = yes; then
8864 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8869 lt_cv_dlopen_self=yes
8876 { echo "$as_me:$LINENO: checking for shl_load" >&5
8877 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8878 if test "${ac_cv_func_shl_load+set}" = set; then
8879 echo $ECHO_N "(cached) $ECHO_C" >&6
8881 cat >conftest.$ac_ext <<_ACEOF
8884 cat confdefs.h >>conftest.$ac_ext
8885 cat >>conftest.$ac_ext <<_ACEOF
8886 /* end confdefs.h. */
8887 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8889 #define shl_load innocuous_shl_load
8891 /* System header to define __stub macros and hopefully few prototypes,
8892 which can conflict with char shl_load (); below.
8893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8894 <limits.h> exists even on freestanding compilers. */
8897 # include <limits.h>
8899 # include <assert.h>
8904 /* Override any GCC internal prototype to avoid an error.
8905 Use char because int might match the return type of a GCC
8906 builtin and then its argument prototype would still apply. */
8911 /* The GNU C library defines this for functions which it implements
8912 to always fail with ENOSYS. Some functions are actually named
8913 something starting with __ and the normal name is an alias. */
8914 #if defined __stub_shl_load || defined __stub___shl_load
8926 rm -f conftest.$ac_objext conftest$ac_exeext
8927 if { (ac_try="$ac_link"
8929 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8930 *) ac_try_echo
=$ac_try;;
8932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8933 (eval "$ac_link") 2>conftest.er1
8935 grep -v '^ *+' conftest.er1
>conftest.err
8937 cat conftest.err
>&5
8938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8939 (exit $ac_status); } &&
8940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8941 { (case "(($ac_try" in
8942 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8943 *) ac_try_echo=$ac_try;;
8945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8946 (eval "$ac_try") 2>&5
8948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8949 (exit $ac_status); }; } &&
8950 { ac_try='test -s conftest$ac_exeext'
8951 { (case "(($ac_try" in
8952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8953 *) ac_try_echo
=$ac_try;;
8955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8956 (eval "$ac_try") 2>&5
8958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8959 (exit $ac_status); }; }; then
8960 ac_cv_func_shl_load
=yes
8962 echo "$as_me: failed program was:" >&5
8963 sed 's/^/| /' conftest.
$ac_ext >&5
8965 ac_cv_func_shl_load
=no
8968 rm -f core conftest.err conftest.
$ac_objext \
8969 conftest
$ac_exeext conftest.
$ac_ext
8971 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8972 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
8973 if test $ac_cv_func_shl_load = yes; then
8974 lt_cv_dlopen
="shl_load"
8976 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8977 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8978 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8979 echo $ECHO_N "(cached) $ECHO_C" >&6
8981 ac_check_lib_save_LIBS
=$LIBS
8983 cat >conftest.
$ac_ext <<_ACEOF
8986 cat confdefs.h
>>conftest.
$ac_ext
8987 cat >>conftest.
$ac_ext <<_ACEOF
8988 /* end confdefs.h. */
8990 /* Override any GCC internal prototype to avoid an error.
8991 Use char because int might match the return type of a GCC
8992 builtin and then its argument prototype would still apply. */
9005 rm -f conftest.
$ac_objext conftest
$ac_exeext
9006 if { (ac_try
="$ac_link"
9008 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9009 *) ac_try_echo=$ac_try;;
9011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9012 (eval "$ac_link") 2>conftest.er1
9014 grep -v '^ *+' conftest.er1 >conftest.err
9016 cat conftest.err >&5
9017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018 (exit $ac_status); } &&
9019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9020 { (case "(($ac_try" in
9021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9022 *) ac_try_echo
=$ac_try;;
9024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9025 (eval "$ac_try") 2>&5
9027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9028 (exit $ac_status); }; } &&
9029 { ac_try
='test -s conftest$ac_exeext'
9030 { (case "(($ac_try" in
9031 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9032 *) ac_try_echo=$ac_try;;
9034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9035 (eval "$ac_try") 2>&5
9037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9038 (exit $ac_status); }; }; then
9039 ac_cv_lib_dld_shl_load=yes
9041 echo "$as_me: failed program was:" >&5
9042 sed 's/^/| /' conftest.$ac_ext >&5
9044 ac_cv_lib_dld_shl_load=no
9047 rm -f core conftest.err conftest.$ac_objext \
9048 conftest$ac_exeext conftest.$ac_ext
9049 LIBS=$ac_check_lib_save_LIBS
9051 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9052 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9053 if test $ac_cv_lib_dld_shl_load = yes; then
9054 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9056 { echo "$as_me:$LINENO: checking for dlopen" >&5
9057 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9058 if test "${ac_cv_func_dlopen+set}" = set; then
9059 echo $ECHO_N "(cached) $ECHO_C" >&6
9061 cat >conftest.$ac_ext <<_ACEOF
9064 cat confdefs.h >>conftest.$ac_ext
9065 cat >>conftest.$ac_ext <<_ACEOF
9066 /* end confdefs.h. */
9067 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9069 #define dlopen innocuous_dlopen
9071 /* System header to define __stub macros and hopefully few prototypes,
9072 which can conflict with char dlopen (); below.
9073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9074 <limits.h> exists even on freestanding compilers. */
9077 # include <limits.h>
9079 # include <assert.h>
9084 /* Override any GCC internal prototype to avoid an error.
9085 Use char because int might match the return type of a GCC
9086 builtin and then its argument prototype would still apply. */
9091 /* The GNU C library defines this for functions which it implements
9092 to always fail with ENOSYS. Some functions are actually named
9093 something starting with __ and the normal name is an alias. */
9094 #if defined __stub_dlopen || defined __stub___dlopen
9106 rm -f conftest.$ac_objext conftest$ac_exeext
9107 if { (ac_try="$ac_link"
9109 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9110 *) ac_try_echo
=$ac_try;;
9112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9113 (eval "$ac_link") 2>conftest.er1
9115 grep -v '^ *+' conftest.er1
>conftest.err
9117 cat conftest.err
>&5
9118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9119 (exit $ac_status); } &&
9120 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9121 { (case "(($ac_try" in
9122 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9123 *) ac_try_echo=$ac_try;;
9125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9126 (eval "$ac_try") 2>&5
9128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9129 (exit $ac_status); }; } &&
9130 { ac_try='test -s conftest$ac_exeext'
9131 { (case "(($ac_try" in
9132 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9133 *) ac_try_echo
=$ac_try;;
9135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9136 (eval "$ac_try") 2>&5
9138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139 (exit $ac_status); }; }; then
9140 ac_cv_func_dlopen
=yes
9142 echo "$as_me: failed program was:" >&5
9143 sed 's/^/| /' conftest.
$ac_ext >&5
9145 ac_cv_func_dlopen
=no
9148 rm -f core conftest.err conftest.
$ac_objext \
9149 conftest
$ac_exeext conftest.
$ac_ext
9151 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9152 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9153 if test $ac_cv_func_dlopen = yes; then
9154 lt_cv_dlopen
="dlopen"
9156 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9157 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9158 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9159 echo $ECHO_N "(cached) $ECHO_C" >&6
9161 ac_check_lib_save_LIBS
=$LIBS
9163 cat >conftest.
$ac_ext <<_ACEOF
9166 cat confdefs.h
>>conftest.
$ac_ext
9167 cat >>conftest.
$ac_ext <<_ACEOF
9168 /* end confdefs.h. */
9170 /* Override any GCC internal prototype to avoid an error.
9171 Use char because int might match the return type of a GCC
9172 builtin and then its argument prototype would still apply. */
9185 rm -f conftest.
$ac_objext conftest
$ac_exeext
9186 if { (ac_try
="$ac_link"
9188 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9189 *) ac_try_echo=$ac_try;;
9191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9192 (eval "$ac_link") 2>conftest.er1
9194 grep -v '^ *+' conftest.er1 >conftest.err
9196 cat conftest.err >&5
9197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9198 (exit $ac_status); } &&
9199 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9200 { (case "(($ac_try" in
9201 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9202 *) ac_try_echo
=$ac_try;;
9204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9205 (eval "$ac_try") 2>&5
9207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9208 (exit $ac_status); }; } &&
9209 { ac_try
='test -s conftest$ac_exeext'
9210 { (case "(($ac_try" in
9211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9212 *) ac_try_echo=$ac_try;;
9214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9215 (eval "$ac_try") 2>&5
9217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218 (exit $ac_status); }; }; then
9219 ac_cv_lib_dl_dlopen=yes
9221 echo "$as_me: failed program was:" >&5
9222 sed 's/^/| /' conftest.$ac_ext >&5
9224 ac_cv_lib_dl_dlopen=no
9227 rm -f core conftest.err conftest.$ac_objext \
9228 conftest$ac_exeext conftest.$ac_ext
9229 LIBS=$ac_check_lib_save_LIBS
9231 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9232 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9233 if test $ac_cv_lib_dl_dlopen = yes; then
9234 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9236 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9237 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9238 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9239 echo $ECHO_N "(cached) $ECHO_C" >&6
9241 ac_check_lib_save_LIBS=$LIBS
9243 cat >conftest.$ac_ext <<_ACEOF
9246 cat confdefs.h >>conftest.$ac_ext
9247 cat >>conftest.$ac_ext <<_ACEOF
9248 /* end confdefs.h. */
9250 /* Override any GCC internal prototype to avoid an error.
9251 Use char because int might match the return type of a GCC
9252 builtin and then its argument prototype would still apply. */
9265 rm -f conftest.$ac_objext conftest$ac_exeext
9266 if { (ac_try="$ac_link"
9268 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9269 *) ac_try_echo
=$ac_try;;
9271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9272 (eval "$ac_link") 2>conftest.er1
9274 grep -v '^ *+' conftest.er1
>conftest.err
9276 cat conftest.err
>&5
9277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9278 (exit $ac_status); } &&
9279 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9280 { (case "(($ac_try" in
9281 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9282 *) ac_try_echo=$ac_try;;
9284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9285 (eval "$ac_try") 2>&5
9287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9288 (exit $ac_status); }; } &&
9289 { ac_try='test -s conftest$ac_exeext'
9290 { (case "(($ac_try" in
9291 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9292 *) ac_try_echo
=$ac_try;;
9294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9295 (eval "$ac_try") 2>&5
9297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9298 (exit $ac_status); }; }; then
9299 ac_cv_lib_svld_dlopen
=yes
9301 echo "$as_me: failed program was:" >&5
9302 sed 's/^/| /' conftest.
$ac_ext >&5
9304 ac_cv_lib_svld_dlopen
=no
9307 rm -f core conftest.err conftest.
$ac_objext \
9308 conftest
$ac_exeext conftest.
$ac_ext
9309 LIBS
=$ac_check_lib_save_LIBS
9311 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9312 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9313 if test $ac_cv_lib_svld_dlopen = yes; then
9314 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9316 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9317 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9318 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9319 echo $ECHO_N "(cached) $ECHO_C" >&6
9321 ac_check_lib_save_LIBS
=$LIBS
9323 cat >conftest.
$ac_ext <<_ACEOF
9326 cat confdefs.h
>>conftest.
$ac_ext
9327 cat >>conftest.
$ac_ext <<_ACEOF
9328 /* end confdefs.h. */
9330 /* Override any GCC internal prototype to avoid an error.
9331 Use char because int might match the return type of a GCC
9332 builtin and then its argument prototype would still apply. */
9345 rm -f conftest.
$ac_objext conftest
$ac_exeext
9346 if { (ac_try
="$ac_link"
9348 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9349 *) ac_try_echo=$ac_try;;
9351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9352 (eval "$ac_link") 2>conftest.er1
9354 grep -v '^ *+' conftest.er1 >conftest.err
9356 cat conftest.err >&5
9357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9358 (exit $ac_status); } &&
9359 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9360 { (case "(($ac_try" in
9361 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9362 *) ac_try_echo
=$ac_try;;
9364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9365 (eval "$ac_try") 2>&5
9367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9368 (exit $ac_status); }; } &&
9369 { ac_try
='test -s conftest$ac_exeext'
9370 { (case "(($ac_try" in
9371 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9372 *) ac_try_echo=$ac_try;;
9374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9375 (eval "$ac_try") 2>&5
9377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9378 (exit $ac_status); }; }; then
9379 ac_cv_lib_dld_dld_link=yes
9381 echo "$as_me: failed program was:" >&5
9382 sed 's/^/| /' conftest.$ac_ext >&5
9384 ac_cv_lib_dld_dld_link=no
9387 rm -f core conftest.err conftest.$ac_objext \
9388 conftest$ac_exeext conftest.$ac_ext
9389 LIBS=$ac_check_lib_save_LIBS
9391 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9392 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9393 if test $ac_cv_lib_dld_dld_link = yes; then
9394 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9415 if test "x$lt_cv_dlopen" != xno; then
9421 case $lt_cv_dlopen in
9423 save_CPPFLAGS="$CPPFLAGS"
9424 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9426 save_LDFLAGS="$LDFLAGS"
9427 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9430 LIBS="$lt_cv_dlopen_libs $LIBS"
9432 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9433 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9434 if test "${lt_cv_dlopen_self+set}" = set; then
9435 echo $ECHO_N "(cached) $ECHO_C" >&6
9437 if test "$cross_compiling" = yes; then :
9438 lt_cv_dlopen_self=cross
9440 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9441 lt_status=$lt_dlunknown
9442 cat > conftest.$ac_ext <<EOF
9443 #line 9443 "configure"
9444 #include "confdefs.h"
9453 # define LT_DLGLOBAL RTLD_GLOBAL
9456 # define LT_DLGLOBAL DL_GLOBAL
9458 # define LT_DLGLOBAL 0
9462 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9463 find out it does not work in some platform. */
9464 #ifndef LT_DLLAZY_OR_NOW
9466 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9469 # define LT_DLLAZY_OR_NOW DL_LAZY
9472 # define LT_DLLAZY_OR_NOW RTLD_NOW
9475 # define LT_DLLAZY_OR_NOW DL_NOW
9477 # define LT_DLLAZY_OR_NOW 0
9485 extern "C" void exit (int);
9488 void fnord() { int i=42;}
9491 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9492 int status = $lt_dlunknown;
9496 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9497 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9498 /* dlclose (self); */
9504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9505 (eval $ac_link) 2>&5
9507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9508 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9509 (./conftest; exit; ) 2>/dev/null
9512 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9513 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9514 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
9517 # compilation failed
9518 lt_cv_dlopen_self=no
9525 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9526 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9528 if test "x$lt_cv_dlopen_self" = xyes; then
9529 LDFLAGS="$LDFLAGS $link_static_flag"
9530 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9531 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9532 if test "${lt_cv_dlopen_self_static+set}" = set; then
9533 echo $ECHO_N "(cached) $ECHO_C" >&6
9535 if test "$cross_compiling" = yes; then :
9536 lt_cv_dlopen_self_static=cross
9538 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9539 lt_status=$lt_dlunknown
9540 cat > conftest.$ac_ext <<EOF
9541 #line 9541 "configure"
9542 #include "confdefs.h"
9551 # define LT_DLGLOBAL RTLD_GLOBAL
9554 # define LT_DLGLOBAL DL_GLOBAL
9556 # define LT_DLGLOBAL 0
9560 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9561 find out it does not work in some platform. */
9562 #ifndef LT_DLLAZY_OR_NOW
9564 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9567 # define LT_DLLAZY_OR_NOW DL_LAZY
9570 # define LT_DLLAZY_OR_NOW RTLD_NOW
9573 # define LT_DLLAZY_OR_NOW DL_NOW
9575 # define LT_DLLAZY_OR_NOW 0
9583 extern "C" void exit (int);
9586 void fnord() { int i=42;}
9589 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9590 int status = $lt_dlunknown;
9594 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9595 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9596 /* dlclose (self); */
9602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9603 (eval $ac_link) 2>&5
9605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9606 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9607 (./conftest; exit; ) 2>/dev/null
9610 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9611 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9612 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
9615 # compilation failed
9616 lt_cv_dlopen_self_static=no
9623 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9624 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9627 CPPFLAGS="$save_CPPFLAGS"
9628 LDFLAGS="$save_LDFLAGS"
9633 case $lt_cv_dlopen_self in
9634 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
9635 *) enable_dlopen_self=unknown ;;
9638 case $lt_cv_dlopen_self_static in
9639 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
9640 *) enable_dlopen_self_static=unknown ;;
9645 # Report which librarie types wil actually be built
9646 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9647 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
9648 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
9649 echo "${ECHO_T}$can_build_shared" >&6; }
9651 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9652 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9653 test "$can_build_shared" = "no" && enable_shared=no
9655 # On AIX, shared libraries and static libraries use the same namespace, and
9656 # are all built from PIC.
9659 test "$enable_shared" = yes && enable_static=no
9660 if test -n "$RANLIB"; then
9661 archive_cmds="$archive_cmds~\$RANLIB \$lib"
9662 postinstall_cmds='$RANLIB $lib'
9667 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9668 test "$enable_shared" = yes && enable_static=no
9671 darwin* | rhapsody*)
9672 if test "$GCC" = yes; then
9673 archive_cmds_need_lc=no
9675 rhapsody* | darwin1.[012])
9676 allow_undefined_flag='-undefined suppress'
9679 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9680 allow_undefined_flag='-flat_namespace -undefined suppress'
9682 case ${MACOSX_DEPLOYMENT_TARGET} in
9684 allow_undefined_flag='-flat_namespace -undefined suppress'
9687 allow_undefined_flag='-undefined dynamic_lookup'
9693 output_verbose_link_cmd='echo'
9694 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
9695 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9696 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9697 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}'
9698 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}'
9700 hardcode_automatic=yes
9701 hardcode_shlibpath_var=unsupported
9702 whole_archive_flag_spec='-all_load $convenience'
9703 link_all_deplibs=yes
9709 { echo "$as_me:$LINENO: result: $enable_shared" >&5
9710 echo "${ECHO_T}$enable_shared" >&6; }
9712 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9713 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9714 # Make sure either enable_shared or enable_static is yes.
9715 test "$enable_shared" = yes || enable_static=yes
9716 { echo "$as_me:$LINENO: result: $enable_static" >&5
9717 echo "${ECHO_T}$enable_static" >&6; }
9719 # The else clause should only fire when bootstrapping the
9720 # libtool distribution, otherwise you forgot to ship ltmain.sh
9721 # with your package, and you will get complaints that there are
9722 # no rules to generate ltmain.sh.
9723 if test -f "$ltmain"; then
9724 # See if we are running on zsh, and set the options which allow our commands through
9725 # without removal of \ escapes.
9726 if test -n "${ZSH_VERSION+set}" ; then
9727 setopt NO_GLOB_SUBST
9729 # Now quote all the things that may contain metacharacters while being
9730 # careful not to overquote the AC_SUBSTed values. We take copies of the
9731 # variables and quote the copies for generation of the libtool script.
9732 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
9733 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9734 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9735 deplibs_check_method reload_flag reload_cmds need_locks \
9736 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9737 lt_cv_sys_global_symbol_to_c_name_address \
9738 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9739 old_postinstall_cmds old_postuninstall_cmds \
9743 lt_prog_compiler_wl \
9744 lt_prog_compiler_pic \
9745 lt_prog_compiler_static \
9746 lt_prog_compiler_no_builtin_flag \
9747 export_dynamic_flag_spec \
9748 thread_safe_flag_spec \
9749 whole_archive_flag_spec \
9750 enable_shared_with_static_runtimes \
9752 old_archive_from_new_cmds \
9757 compiler_lib_search_path \
9759 archive_expsym_cmds \
9761 postuninstall_cmds \
9762 old_archive_from_expsyms_cmds \
9763 allow_undefined_flag \
9765 export_symbols_cmds \
9766 hardcode_libdir_flag_spec \
9767 hardcode_libdir_flag_spec_ld \
9768 hardcode_libdir_separator \
9769 hardcode_automatic \
9771 module_expsym_cmds \
9772 lt_cv_prog_compiler_c_o \
9777 old_archive_cmds | \
9778 old_archive_from_new_cmds | \
9780 archive_expsym_cmds | \
9782 module_expsym_cmds | \
9783 old_archive_from_expsyms_cmds | \
9784 export_symbols_cmds | \
9785 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9786 postinstall_cmds | postuninstall_cmds | \
9787 old_postinstall_cmds | old_postuninstall_cmds | \
9788 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
9789 # Double-quote double-evaled strings.
9790 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
9793 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
9799 *'\$0 --fallback-echo"')
9800 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9805 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9807 { echo "$as_me:$LINENO: creating $ofile" >&5
9808 echo "$as_me: creating $ofile" >&6;}
9810 cat <<__EOF__ >> "$cfgfile"
9813 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
9814 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9815 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9817 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9818 # Free Software Foundation, Inc.
9820 # This file is part of GNU Libtool:
9821 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9823 # This program is free software; you can redistribute it and/or modify
9824 # it under the terms of the GNU General Public License as published by
9825 # the Free Software Foundation; either version 2 of the License, or
9826 # (at your option) any later version.
9828 # This program is distributed in the hope that it will be useful, but
9829 # WITHOUT ANY WARRANTY; without even the implied warranty of
9830 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9831 # General Public License for more details.
9833 # You should have received a copy of the GNU General Public License
9834 # along with this program; if not, write to the Free Software
9835 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
9837 # As a special exception to the GNU General Public License, if you
9838 # distribute this file as part of a program that contains a
9839 # configuration script generated by Autoconf, you may include it under
9840 # the same distribution terms that you use for the rest of that program.
9842 # A sed program that does not truncate output.
9845 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9846 Xsed="$SED -e s/^X//"
9848 # The HP-UX ksh and POSIX shell print the target directory to stdout
9850 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
9852 # The names of the tagged configurations supported by this script.
9855 # ### BEGIN LIBTOOL CONFIG
9857 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
9859 # Shell to use when invoking shell scripts.
9862 # Whether or not to build shared libraries.
9863 build_libtool_libs=$enable_shared
9865 # Whether or not to build static libraries.
9866 build_old_libs=$enable_static
9868 # Whether or not to add -lc for building shared libraries.
9869 build_libtool_need_lc=$archive_cmds_need_lc
9871 # Whether or not to disallow shared libs when runtime libs are static
9872 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9874 # Whether or not to optimize for fast installation.
9875 fast_install=$enable_fast_install
9878 host_alias=$host_alias
9881 # An echo program that does not interpret backslashes.
9886 AR_FLAGS=$lt_AR_FLAGS
9891 # A language-specific compiler.
9894 # Is the compiler the GNU C compiler?
9900 # The linker used to build libraries.
9903 # Whether we need hard or soft links.
9906 # A BSD-compatible nm program.
9909 # A symbol stripping program
9912 # Used to examine libraries when file_magic_cmd begins "file"
9913 MAGIC_CMD=$MAGIC_CMD
9915 # Used on cygwin: DLL creation program.
9918 # Used on cygwin: object dumper.
9921 # Used on cygwin: assembler.
9924 # The name of the directory that contains temporary libtool files.
9927 # How to create reloadable object files.
9928 reload_flag=$lt_reload_flag
9929 reload_cmds=$lt_reload_cmds
9931 # How to pass a linker flag through the compiler.
9932 wl=$lt_lt_prog_compiler_wl
9934 # Object file suffix (normally "o").
9937 # Old archive suffix (normally "a").
9940 # Shared library suffix (normally ".so").
9943 # Executable file suffix (normally "").
9946 # Additional compiler flags for building library objects.
9947 pic_flag=$lt_lt_prog_compiler_pic
9950 # What is the maximum length of a command?
9951 max_cmd_len=$lt_cv_sys_max_cmd_len
9953 # Does compiler simultaneously support -c and -o options?
9954 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9956 # Must we lock files when doing compilation ?
9957 need_locks=$lt_need_locks
9959 # Do we need the lib prefix for modules?
9960 need_lib_prefix=$need_lib_prefix
9962 # Do we need a version for libraries?
9963 need_version=$need_version
9965 # Whether dlopen is supported.
9966 dlopen_support=$enable_dlopen
9968 # Whether dlopen of programs is supported.
9969 dlopen_self=$enable_dlopen_self
9971 # Whether dlopen of statically linked programs is supported.
9972 dlopen_self_static=$enable_dlopen_self_static
9974 # Compiler flag to prevent dynamic linking.
9975 link_static_flag=$lt_lt_prog_compiler_static
9977 # Compiler flag to turn off builtin functions.
9978 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9980 # Compiler flag to allow reflexive dlopens.
9981 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9983 # Compiler flag to generate shared objects directly from archives.
9984 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9986 # Compiler flag to generate thread-safe objects.
9987 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9989 # Library versioning type.
9990 version_type=$version_type
9992 # Format of library name prefix.
9993 libname_spec=$lt_libname_spec
9995 # List of archive names. First name is the real one, the rest are links.
9996 # The last name is the one that the linker finds with -lNAME.
9997 library_names_spec=$lt_library_names_spec
9999 # The coded name of the library, if different from the real name.
10000 soname_spec=$lt_soname_spec
10002 # Commands used to build and install an old-style archive.
10004 old_archive_cmds=$lt_old_archive_cmds
10005 old_postinstall_cmds=$lt_old_postinstall_cmds
10006 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10008 # Create an old-style archive from a shared archive.
10009 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10011 # Create a temporary old-style archive to link instead of a shared archive.
10012 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10014 # Commands used to build and install a shared archive.
10015 archive_cmds=$lt_archive_cmds
10016 archive_expsym_cmds=$lt_archive_expsym_cmds
10017 postinstall_cmds=$lt_postinstall_cmds
10018 postuninstall_cmds=$lt_postuninstall_cmds
10020 # Commands used to build a loadable module (assumed same as above if empty)
10021 module_cmds=$lt_module_cmds
10022 module_expsym_cmds=$lt_module_expsym_cmds
10024 # Commands to strip libraries.
10025 old_striplib=$lt_old_striplib
10026 striplib=$lt_striplib
10028 # Dependencies to place before the objects being linked to create a
10030 predep_objects=$lt_predep_objects
10032 # Dependencies to place after the objects being linked to create a
10034 postdep_objects=$lt_postdep_objects
10036 # Dependencies to place before the objects being linked to create a
10038 predeps=$lt_predeps
10040 # Dependencies to place after the objects being linked to create a
10042 postdeps=$lt_postdeps
10044 # The library search path used internally by the compiler when linking
10045 # a shared library.
10046 compiler_lib_search_path=$lt_compiler_lib_search_path
10048 # Method to check whether dependent libraries are shared objects.
10049 deplibs_check_method=$lt_deplibs_check_method
10051 # Command to use when deplibs_check_method == file_magic.
10052 file_magic_cmd=$lt_file_magic_cmd
10054 # Flag that allows shared libraries with undefined symbols to be built.
10055 allow_undefined_flag=$lt_allow_undefined_flag
10057 # Flag that forces no undefined symbols.
10058 no_undefined_flag=$lt_no_undefined_flag
10060 # Commands used to finish a libtool library installation in a directory.
10061 finish_cmds=$lt_finish_cmds
10063 # Same as above, but a single script fragment to be evaled but not shown.
10064 finish_eval=$lt_finish_eval
10066 # Take the output of nm and produce a listing of raw symbols and C names.
10067 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10069 # Transform the output of nm in a proper C declaration
10070 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10072 # Transform the output of nm in a C name address pair
10073 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10075 # This is the shared library runtime path variable.
10076 runpath_var=$runpath_var
10078 # This is the shared library path variable.
10079 shlibpath_var=$shlibpath_var
10081 # Is shlibpath searched before the hard-coded library search path?
10082 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10084 # How to hardcode a shared library path into an executable.
10085 hardcode_action=$hardcode_action
10087 # Whether we should hardcode library paths into libraries.
10088 hardcode_into_libs=$hardcode_into_libs
10090 # Flag to hardcode \$libdir into a binary during linking.
10091 # This must work even if \$libdir does not exist.
10092 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10094 # If ld is used when linking, flag to hardcode \$libdir into
10095 # a binary during linking. This must work even if \$libdir does
10097 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10099 # Whether we need a single -rpath flag with a separated argument.
10100 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10102 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10103 # resulting binary.
10104 hardcode_direct=$hardcode_direct
10106 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10107 # resulting binary.
10108 hardcode_minus_L=$hardcode_minus_L
10110 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10111 # the resulting binary.
10112 hardcode_shlibpath_var=$hardcode_shlibpath_var
10114 # Set to yes if building a shared library automatically hardcodes DIR into the library
10115 # and all subsequent libraries and executables linked against it.
10116 hardcode_automatic=$hardcode_automatic
10118 # Variables whose values should be saved in libtool wrapper scripts and
10119 # restored at relink time.
10120 variables_saved_for_relink="$variables_saved_for_relink"
10122 # Whether libtool must link a program against all its dependency libraries.
10123 link_all_deplibs=$link_all_deplibs
10125 # Compile-time system search path for libraries
10126 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10128 # Run-time system search path for libraries
10129 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10131 # Fix the shell variable \$srcfile for the compiler.
10132 fix_srcfile_path="$fix_srcfile_path"
10134 # Set to yes if exported symbols are required.
10135 always_export_symbols=$always_export_symbols
10137 # The commands to list exported symbols.
10138 export_symbols_cmds=$lt_export_symbols_cmds
10140 # The commands to extract the exported symbol list from a shared archive.
10141 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10143 # Symbols that should not be listed in the preloaded symbols.
10144 exclude_expsyms=$lt_exclude_expsyms
10146 # Symbols that must always be exported.
10147 include_expsyms=$lt_include_expsyms
10149 # ### END LIBTOOL CONFIG
10156 cat <<\EOF >> "$cfgfile"
10158 # AIX sometimes has problems with the GCC collect2 program. For some
10159 # reason, if we set the COLLECT_NAMES environment variable, the problems
10160 # vanish in a puff of smoke.
10161 if test "X${COLLECT_NAMES+set}" != Xset; then
10163 export COLLECT_NAMES
10169 # We use sed instead of cat because bash on DJGPP gets confused if
10170 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10171 # text mode, it properly converts lines to CR/LF. This bash problem
10172 # is reportedly fixed, but why not run on old versions too?
10173 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10175 mv -f "$cfgfile" "$ofile" || \
10176 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10180 # If there is no Makefile yet, we rely on a make rule to execute
10181 # `config.status
--recheck' to rerun these tests and create the
10182 # libtool script then.
10183 test -f Makefile && make "$ltmain"
10188 ac_cpp='$CPP $CPPFLAGS'
10189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10190 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10196 # Check whether --with-tags was given.
10197 if test "${with_tags+set}" = set; then
10198 withval=$with_tags; tagnames="$withval"
10202 if test -f "$ltmain" && test -n "$tagnames"; then
10203 if test ! -f "${ofile}"; then
10204 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10205 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10208 if test -z "$LTCC"; then
10209 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10210 if test -z "$LTCC"; then
10211 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10212 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10214 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10215 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10219 # Extract list of available tagged configurations in $ofile.
10220 # Note that this assumes the entire list is on one line.
10221 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10223 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10224 for tagname in $tagnames; do
10226 # Check whether tagname contains only valid characters
10227 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10229 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10230 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10231 { (exit 1); exit 1; }; }
10235 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10237 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10238 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10239 { (exit 1); exit 1; }; }
10242 # Update the list of available tags.
10243 if test -n "$tagname"; then
10244 echo appending configuration tag \"$tagname\" to $ofile
10248 if test -n "$CXX" && test "X$CXX" != "Xno"; then
10250 ac_cpp='$CXXCPP $CPPFLAGS'
10251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10258 archive_cmds_need_lc_CXX=no
10259 allow_undefined_flag_CXX=
10260 always_export_symbols_CXX=no
10261 archive_expsym_cmds_CXX=
10262 export_dynamic_flag_spec_CXX=
10263 hardcode_direct_CXX=no
10264 hardcode_libdir_flag_spec_CXX=
10265 hardcode_libdir_flag_spec_ld_CXX=
10266 hardcode_libdir_separator_CXX=
10267 hardcode_minus_L_CXX=no
10268 hardcode_automatic_CXX=no
10270 module_expsym_cmds_CXX=
10271 link_all_deplibs_CXX=unknown
10272 old_archive_cmds_CXX=$old_archive_cmds
10273 no_undefined_flag_CXX=
10274 whole_archive_flag_spec_CXX=
10275 enable_shared_with_static_runtimes_CXX=no
10277 # Dependencies to place before and after the object being linked:
10278 predep_objects_CXX=
10279 postdep_objects_CXX=
10282 compiler_lib_search_path_CXX=
10284 # Source file extension for C++ test sources.
10287 # Object file extension for compiled C++ test sources.
10291 # Code to be used in simple compile tests
10292 lt_simple_compile_test_code="int some_variable = 0;\n"
10294 # Code to be used in simple link tests
10295 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
10297 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10299 # If no C compiler was specified, use CC.
10302 # Allow CC to be a program name with arguments.
10306 # Allow CC to be a program name with arguments.
10311 lt_save_with_gnu_ld=$with_gnu_ld
10312 lt_save_path_LD=$lt_cv_path_LD
10313 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10314 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10316 unset lt_cv_prog_gnu_ld
10318 if test -n "${lt_cv_path_LDCXX+set}"; then
10319 lt_cv_path_LD=$lt_cv_path_LDCXX
10321 unset lt_cv_path_LD
10323 test -z "${LDCXX+set}" || LD=$LDCXX
10327 cc_basename=`$echo X
"$compiler" |
$Xsed -e 's%^.*/%%'`
10329 # We don't want -fno-exception wen compiling C++ code, so set the
10330 # no_builtin_flag separately
10331 if test "$GXX" = yes; then
10332 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10334 lt_prog_compiler_no_builtin_flag_CXX=
10337 if test "$GXX" = yes; then
10338 # Set up default GNU C++ configuration
10341 # Check whether --with-gnu-ld was given.
10342 if test "${with_gnu_ld+set}" = set; then
10343 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10349 if test "$GCC" = yes; then
10350 # Check if gcc -print-prog-name=ld gives a path.
10351 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10352 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10355 # gcc leaves a trailing carriage return which upsets mingw
10356 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10358 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10361 # Accept absolute paths.
10363 re_direlt='/[^/][^/]*/\.\./'
10364 # Canonicalize the pathname of ld
10365 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10366 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10367 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10369 test -z "$LD" && LD="$ac_prog"
10372 # If it fails, then pretend we aren't using GCC.
10376 # If it is relative, then search for the first ld in PATH.
10377 with_gnu_ld=unknown
10380 elif test "$with_gnu_ld" = yes; then
10381 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10382 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10384 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10385 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10387 if test "${lt_cv_path_LD+set}" = set; then
10388 echo $ECHO_N "(cached) $ECHO_C" >&6
10390 if test -z "$LD"; then
10391 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10392 for ac_dir in $PATH; do
10394 test -z "$ac_dir" && ac_dir=.
10395 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10396 lt_cv_path_LD="$ac_dir/$ac_prog"
10397 # Check to see if the program is GNU ld. I'd rather use --version,
10398 # but apparently some GNU ld's only accept -v.
10399 # Break only if it was the GNU/non-GNU ld that we prefer.
10400 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10401 *GNU* | *'with BFD'*)
10402 test "$with_gnu_ld" != no && break
10405 test "$with_gnu_ld" != yes && break
10412 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10416 LD="$lt_cv_path_LD"
10417 if test -n "$LD"; then
10418 { echo "$as_me:$LINENO: result: $LD" >&5
10419 echo "${ECHO_T}$LD" >&6; }
10421 { echo "$as_me:$LINENO: result: no" >&5
10422 echo "${ECHO_T}no" >&6; }
10424 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10425 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10426 { (exit 1); exit 1; }; }
10427 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10428 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10429 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10430 echo $ECHO_N "(cached) $ECHO_C" >&6
10432 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10433 case `$LD -v 2>&1 </dev
/null
` in
10434 *GNU* | *'with BFD'*)
10435 lt_cv_prog_gnu_ld=yes
10438 lt_cv_prog_gnu_ld=no
10442 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10443 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10444 with_gnu_ld=$lt_cv_prog_gnu_ld
10448 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10449 # archiving commands below assume that GNU ld is being used.
10450 if test "$with_gnu_ld" = yes; then
10451 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10452 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'
10454 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10455 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10457 # If archive_cmds runs LD, not CC, wlarc should be empty
10458 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10459 # investigate it a little bit more. (MM)
10462 # ancient GNU ld didn't support --whole-archive et. al.
10463 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10464 grep 'no-whole-archive' > /dev/null; then
10465 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10467 whole_archive_flag_spec_CXX=
10473 # A generic and very simple default shared library creation
10474 # command for GNU C++ for the case where it uses the native
10475 # linker, instead of GNU ld. If possible, this setting should
10476 # overridden to take advantage of the native linker features on
10477 # the platform it is being used on.
10478 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10481 # Commands to make compiler produce verbose output that lists
10482 # what "hidden" libraries, object files and flags are used when
10483 # linking a shared library.
10484 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10492 # PORTME: fill in a description of your system's C++ link characteristics
10493 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10494 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10498 # FIXME: insert proper C++ library support
10502 if test "$host_cpu" = ia64; then
10503 # On IA64, the linker does run time linking by default, so we don't
10504 # have to do anything special.
10505 aix_use_runtimelinking=no
10506 exp_sym_flag='-Bexport'
10509 aix_use_runtimelinking=no
10511 # Test if we are trying to use run time linking or normal
10512 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10513 # need to do runtime linking.
10514 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10515 for ld_flag in $LDFLAGS; do
10518 aix_use_runtimelinking=yes
10525 exp_sym_flag='-bexport'
10526 no_entry_flag='-bnoentry'
10529 # When large executables or shared objects are built, AIX ld can
10530 # have problems creating the table of contents. If linking a library
10531 # or program results in "error TOC overflow" add -mminimal-toc to
10532 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10533 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10535 archive_cmds_CXX=''
10536 hardcode_direct_CXX=yes
10537 hardcode_libdir_separator_CXX=':'
10538 link_all_deplibs_CXX=yes
10540 if test "$GXX" = yes; then
10541 case $host_os in aix4.012|aix4.012.*)
10542 # We only want to do this on AIX 4.2 and lower, the check
10543 # below for broken collect2 doesn't work under 4.3+
10544 collect2name=`${CC} -print-prog-name=collect2
`
10545 if test -f "$collect2name" && \
10546 strings "$collect2name" | grep resolve_lib_name >/dev/null
10548 # We have reworked collect2
10549 hardcode_direct_CXX=yes
10551 # We have old collect2
10552 hardcode_direct_CXX=unsupported
10553 # It fails to find uninstalled libraries when the uninstalled
10554 # path is not listed in the libpath. Setting hardcode_minus_L
10555 # to unsupported forces relinking
10556 hardcode_minus_L_CXX=yes
10557 hardcode_libdir_flag_spec_CXX='-L$libdir'
10558 hardcode_libdir_separator_CXX=
10561 shared_flag='-shared'
10564 if test "$host_cpu" = ia64; then
10565 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10566 # chokes on -Wl,-G. The following line is correct:
10569 if test "$aix_use_runtimelinking" = yes; then
10570 shared_flag='${wl}-G'
10572 shared_flag='${wl}-bM:SRE'
10577 # It seems that -bexpall does not export symbols beginning with
10578 # underscore (_), so it is better to generate a list of symbols to export.
10579 always_export_symbols_CXX=yes
10580 if test "$aix_use_runtimelinking" = yes; then
10581 # Warning - without using the other runtime loading flags (-brtl),
10582 # -berok will link without error, but may produce a broken library.
10583 allow_undefined_flag_CXX='-berok'
10584 # Determine the default libpath from the value encoded in an empty executable.
10585 cat >conftest.$ac_ext <<_ACEOF
10588 cat confdefs.h >>conftest.$ac_ext
10589 cat >>conftest.$ac_ext <<_ACEOF
10590 /* end confdefs.h. */
10600 rm -f conftest.$ac_objext conftest$ac_exeext
10601 if { (ac_try="$ac_link"
10602 case "(($ac_try" in
10603 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10604 *) ac_try_echo
=$ac_try;;
10606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10607 (eval "$ac_link") 2>conftest.er1
10609 grep -v '^ *+' conftest.er1
>conftest.err
10611 cat conftest.err
>&5
10612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10613 (exit $ac_status); } &&
10614 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10615 { (case "(($ac_try" in
10616 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10617 *) ac_try_echo=$ac_try;;
10619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10620 (eval "$ac_try") 2>&5
10622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623 (exit $ac_status); }; } &&
10624 { ac_try='test -s conftest$ac_exeext'
10625 { (case "(($ac_try" in
10626 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10627 *) ac_try_echo
=$ac_try;;
10629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10630 (eval "$ac_try") 2>&5
10632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10633 (exit $ac_status); }; }; then
10635 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10637 # Check for a 64-bit object if we didn't find anything.
10638 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; }
10641 echo "$as_me: failed program was:" >&5
10642 sed 's/^/| /' conftest.
$ac_ext >&5
10647 rm -f core conftest.err conftest.
$ac_objext \
10648 conftest
$ac_exeext conftest.
$ac_ext
10649 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10651 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10653 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"
10655 if test "$host_cpu" = ia64; then
10656 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
10657 allow_undefined_flag_CXX="-z nodefs"
10658 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"
10660 # Determine the default libpath from the value encoded in an empty executable.
10661 cat >conftest.$ac_ext <<_ACEOF
10664 cat confdefs.h >>conftest.$ac_ext
10665 cat >>conftest.$ac_ext <<_ACEOF
10666 /* end confdefs.h. */
10676 rm -f conftest.$ac_objext conftest$ac_exeext
10677 if { (ac_try="$ac_link"
10678 case "(($ac_try" in
10679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10680 *) ac_try_echo=$ac_try;;
10682 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10683 (eval "$ac_link") 2>conftest.er1
10685 grep -v '^ *+' conftest.er1 >conftest.err
10687 cat conftest.err >&5
10688 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10689 (exit $ac_status); } &&
10690 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10691 { (case "(($ac_try" in
10692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10693 *) ac_try_echo=$ac_try;;
10695 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10696 (eval "$ac_try") 2>&5
10698 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10699 (exit $ac_status); }; } &&
10700 { ac_try='test -s conftest$ac_exeext'
10701 { (case "(($ac_try" in
10702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10703 *) ac_try_echo=$ac_try;;
10705 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10706 (eval "$ac_try") 2>&5
10708 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10709 (exit $ac_status); }; }; then
10711 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10713 # Check for a 64-bit object if we didn't find anything.
10714 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; }
10717 echo "$as_me: failed program was
:" >&5
10718 sed 's/^/| /' conftest.$ac_ext >&5
10723 rm -f core conftest.err conftest.$ac_objext \
10724 conftest$ac_exeext conftest.$ac_ext
10725 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
10727 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10728 # Warning - without using the other run time loading flags,
10729 # -berok will link without error, but may produce a broken library.
10730 no_undefined_flag_CXX=' ${wl}-bernotok'
10731 allow_undefined_flag_CXX=' ${wl}-berok'
10732 # -bexpall does not export symbols beginning with underscore (_)
10733 always_export_symbols_CXX=yes
10734 # Exported symbols can be pulled into shared objects from archives
10735 whole_archive_flag_spec_CXX=' '
10736 archive_cmds_need_lc_CXX=yes
10737 # This is similar to how AIX traditionally builds it's shared libraries.
10738 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'
10743 case $cc_basename in
10745 # FIXME: insert proper C++ library support
10751 cygwin* | mingw* | pw32*)
10752 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10753 # as there is no search path for DLLs.
10754 hardcode_libdir_flag_spec_CXX='-L$libdir'
10755 allow_undefined_flag_CXX=unsupported
10756 always_export_symbols_CXX=no
10757 enable_shared_with_static_runtimes_CXX=yes
10759 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10760 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'
10761 # If the export-symbols file already is a .def file (1st line
10762 # is EXPORTS), use it as is; otherwise, prepend...
10763 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
10764 cp $export_symbols $output_objdir/$soname.def;
10766 echo EXPORTS > $output_objdir/$soname.def;
10767 cat $export_symbols >> $output_objdir/$soname.def;
10769 $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'
10775 darwin* | rhapsody*)
10776 if test "$GXX" = yes; then
10777 archive_cmds_need_lc_CXX=no
10779 rhapsody* | darwin1.[012])
10780 allow_undefined_flag_CXX='-undefined suppress'
10783 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10784 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10786 case ${MACOSX_DEPLOYMENT_TARGET} in
10788 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10791 allow_undefined_flag_CXX='-undefined dynamic_lookup'
10797 lt_int_apple_cc_single_mod=no
10798 output_verbose_link_cmd='echo'
10799 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10800 lt_int_apple_cc_single_mod=yes
10802 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10803 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10805 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'
10807 module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10809 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10810 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10811 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}'
10813 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}'
10815 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}'
10816 hardcode_direct_CXX
=no
10817 hardcode_automatic_CXX
=yes
10818 hardcode_shlibpath_var_CXX
=unsupported
10819 whole_archive_flag_spec_CXX
='-all_load $convenience'
10820 link_all_deplibs_CXX
=yes
10827 case $cc_basename in
10829 # FIXME: insert proper C++ library support
10833 # Green Hills C++ Compiler
10834 # FIXME: insert proper C++ library support
10838 # FIXME: insert proper C++ library support
10844 # C++ shared libraries reported to be fairly broken before switch to ELF
10848 archive_cmds_need_lc_CXX
=no
10850 freebsd
* | kfreebsd
*-gnu)
10851 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10858 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10859 hardcode_libdir_separator_CXX
=:
10860 export_dynamic_flag_spec_CXX
='${wl}-E'
10861 hardcode_direct_CXX
=yes
10862 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10863 # but as the default
10864 # location of the library.
10866 case $cc_basename in
10868 # FIXME: insert proper C++ library support
10872 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'
10873 # Commands to make compiler produce verbose output that lists
10874 # what "hidden" libraries, object files and flags are used when
10875 # linking a shared library.
10877 # There doesn't appear to be a way to prevent this compiler from
10878 # explicitly linking system object files so we need to strip them
10879 # from the output so that they don't get included in the library
10881 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'
10884 if test "$GXX" = yes; then
10885 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'
10887 # FIXME: insert proper C++ library support
10894 if test $with_gnu_ld = no
; then
10895 case "$host_cpu" in
10897 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10898 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10899 hardcode_libdir_separator_CXX
=:
10902 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10905 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10906 hardcode_libdir_separator_CXX
=:
10907 export_dynamic_flag_spec_CXX
='${wl}-E'
10911 case "$host_cpu" in
10913 hardcode_direct_CXX
=no
10914 hardcode_shlibpath_var_CXX
=no
10917 hardcode_direct_CXX
=no
10918 hardcode_shlibpath_var_CXX
=no
10919 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10920 # but as the default
10921 # location of the library.
10924 hardcode_direct_CXX
=yes
10925 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10926 # but as the default
10927 # location of the library.
10931 case $cc_basename in
10933 # FIXME: insert proper C++ library support
10937 case "$host_cpu" in
10939 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10942 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10945 # Commands to make compiler produce verbose output that lists
10946 # what "hidden" libraries, object files and flags are used when
10947 # linking a shared library.
10949 # There doesn't appear to be a way to prevent this compiler from
10950 # explicitly linking system object files so we need to strip them
10951 # from the output so that they don't get included in the library
10953 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'
10956 if test "$GXX" = yes; then
10957 if test $with_gnu_ld = no
; then
10958 case "$host_cpu" in
10960 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10963 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'
10968 # FIXME: insert proper C++ library support
10975 case $cc_basename in
10978 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'
10980 # Archives containing C++ object files must be created using
10981 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10982 # necessary to make sure instantiated templates are included
10984 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10987 if test "$GXX" = yes; then
10988 if test "$with_gnu_ld" = no
; then
10989 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'
10991 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'
10994 link_all_deplibs_CXX
=yes
10997 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10998 hardcode_libdir_separator_CXX
=:
11001 case $cc_basename in
11003 # Kuck and Associates, Inc. (KAI) C++ Compiler
11005 # KCC will only create a shared library if the output file
11006 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11007 # to its proper name (with version) after linking.
11008 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'
11009 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'
11010 # Commands to make compiler produce verbose output that lists
11011 # what "hidden" libraries, object files and flags are used when
11012 # linking a shared library.
11014 # There doesn't appear to be a way to prevent this compiler from
11015 # explicitly linking system object files so we need to strip them
11016 # from the output so that they don't get included in the library
11018 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'
11020 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11021 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11023 # Archives containing C++ object files must be created using
11024 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11025 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11030 archive_cmds_need_lc_CXX
=no
11031 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11032 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'
11033 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11034 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11035 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11039 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11040 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'
11042 runpath_var
=LD_RUN_PATH
11043 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11044 hardcode_libdir_separator_CXX
=:
11046 # Commands to make compiler produce verbose output that lists
11047 # what "hidden" libraries, object files and flags are used when
11048 # linking a shared library.
11050 # There doesn't appear to be a way to prevent this compiler from
11051 # explicitly linking system object files so we need to strip them
11052 # from the output so that they don't get included in the library
11054 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'
11059 # FIXME: insert proper C++ library support
11063 # FIXME: insert proper C++ library support
11067 case $cc_basename in
11069 # FIXME: insert proper C++ library support
11073 # FIXME: insert proper C++ library support
11079 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11080 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11082 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11083 hardcode_direct_CXX
=yes
11084 hardcode_shlibpath_var_CXX
=no
11086 # Workaround some broken pre-1.5 toolchains
11087 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11090 case $cc_basename in
11092 # Kuck and Associates, Inc. (KAI) C++ Compiler
11094 # KCC will only create a shared library if the output file
11095 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11096 # to its proper name (with version) after linking.
11097 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'
11099 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11100 hardcode_libdir_separator_CXX
=:
11102 # Archives containing C++ object files must be created using
11103 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11104 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11108 # Rational C++ 2.4.1
11109 # FIXME: insert proper C++ library support
11113 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11114 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'
11116 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11117 hardcode_libdir_separator_CXX
=:
11119 # Commands to make compiler produce verbose output that lists
11120 # what "hidden" libraries, object files and flags are used when
11121 # linking a shared library.
11123 # There doesn't appear to be a way to prevent this compiler from
11124 # explicitly linking system object files so we need to strip them
11125 # from the output so that they don't get included in the library
11127 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'
11130 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11131 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11132 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'
11134 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11135 hardcode_libdir_separator_CXX
=:
11137 # Commands to make compiler produce verbose output that lists
11138 # what "hidden" libraries, object files and flags are used when
11139 # linking a shared library.
11140 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11143 # FIXME: insert proper C++ library support
11150 case $cc_basename in
11152 # Kuck and Associates, Inc. (KAI) C++ Compiler
11154 # KCC will only create a shared library if the output file
11155 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11156 # to its proper name (with version) after linking.
11157 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'
11159 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11160 hardcode_libdir_separator_CXX
=:
11162 # Archives containing C++ object files must be created using
11163 # the KAI C++ compiler.
11164 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11167 # Rational C++ 2.4.1
11168 # FIXME: insert proper C++ library support
11172 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11173 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'
11174 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11175 echo "-hidden">> $lib.exp~
11176 $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~
11179 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11180 hardcode_libdir_separator_CXX
=:
11182 # Commands to make compiler produce verbose output that lists
11183 # what "hidden" libraries, object files and flags are used when
11184 # linking a shared library.
11186 # There doesn't appear to be a way to prevent this compiler from
11187 # explicitly linking system object files so we need to strip them
11188 # from the output so that they don't get included in the library
11190 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'
11193 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11194 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11195 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'
11197 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11198 hardcode_libdir_separator_CXX
=:
11200 # Commands to make compiler produce verbose output that lists
11201 # what "hidden" libraries, object files and flags are used when
11202 # linking a shared library.
11203 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11206 # FIXME: insert proper C++ library support
11213 # FIXME: insert proper C++ library support
11217 archive_cmds_need_lc_CXX
=no
11218 case $cc_basename in
11220 # FIXME: insert proper C++ library support
11224 # FIXME: insert proper C++ library support
11230 case $cc_basename in
11233 # FIXME: insert proper C++ library support
11238 # FIXME: insert proper C++ library support
11242 # FIXME: insert proper C++ library support
11248 case $cc_basename in
11250 # Sun C++ 4.2, 5.x and Centerline C++
11251 no_undefined_flag_CXX
=' -zdefs'
11252 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11253 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11254 $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'
11256 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11257 hardcode_shlibpath_var_CXX
=no
11259 solaris2.0
-5 | solaris2.0
-5.
*) ;;
11261 # The C++ compiler is used as linker so we must use $wl
11262 # flag to pass the commands to the underlying system
11264 # Supported since Solaris 2.6 (maybe 2.5.1?)
11265 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11268 link_all_deplibs_CXX
=yes
11270 # Commands to make compiler produce verbose output that lists
11271 # what "hidden" libraries, object files and flags are used when
11272 # linking a shared library.
11274 # There doesn't appear to be a way to prevent this compiler from
11275 # explicitly linking system object files so we need to strip them
11276 # from the output so that they don't get included in the library
11278 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'
11280 # Archives containing C++ object files must be created using
11281 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11282 # necessary to make sure instantiated templates are included
11284 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11287 # Green Hills C++ Compiler
11288 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11290 # The C++ compiler must be used to create the archive.
11291 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11294 # GNU C++ compiler with Solaris linker
11295 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11296 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11297 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11298 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11299 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11300 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11302 # Commands to make compiler produce verbose output that lists
11303 # what "hidden" libraries, object files and flags are used when
11304 # linking a shared library.
11305 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11307 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11309 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11310 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11311 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11313 # Commands to make compiler produce verbose output that lists
11314 # what "hidden" libraries, object files and flags are used when
11315 # linking a shared library.
11316 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11319 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11324 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
11325 archive_cmds_need_lc_CXX
=no
11328 case $cc_basename in
11330 # NonStop-UX NCC 3.20
11331 # FIXME: insert proper C++ library support
11335 # FIXME: insert proper C++ library support
11341 # FIXME: insert proper C++ library support
11345 # FIXME: insert proper C++ library support
11349 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11350 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11351 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11357 ## There is no encapsulation within the following macros, do not change
11358 ## the running order or otherwise move them around unless you know exactly
11359 ## what you are doing...
11361 cat > conftest.
$ac_ext <<EOF
11365 Foo (void) { a = 0; }
11371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11372 (eval $ac_compile) 2>&5
11374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11375 (exit $ac_status); }; then
11376 # Parse the compiler output and extract the necessary
11377 # objects, libraries and library flags.
11379 # Sentinel used to keep track of whether or not we are before
11380 # the conftest object file.
11381 pre_test_object_deps_done
=no
11383 # The `*' in the case matches for architectures that use `case' in
11384 # $output_verbose_cmd can trigger glob expansion during the loop
11385 # eval without this substitution.
11386 output_verbose_link_cmd
="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
11388 for p
in `eval $output_verbose_link_cmd`; do
11392 # Some compilers place space between "-{L,R}" and the path.
11393 # Remove the space.
11394 if test $p = "-L" \
11395 ||
test $p = "-R"; then
11402 if test "$pre_test_object_deps_done" = no
; then
11405 # Internal compiler library paths should come after those
11406 # provided the user. The postdeps already come after the
11407 # user supplied libs so there is no need to process them.
11408 if test -z "$compiler_lib_search_path_CXX"; then
11409 compiler_lib_search_path_CXX
="${prev}${p}"
11411 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11414 # The "-l" case would never come before the object being
11415 # linked, so don't bother handling this case.
11418 if test -z "$postdeps_CXX"; then
11419 postdeps_CXX
="${prev}${p}"
11421 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11427 # This assumes that the test object file only shows up
11428 # once in the compiler output.
11429 if test "$p" = "conftest.$objext"; then
11430 pre_test_object_deps_done
=yes
11434 if test "$pre_test_object_deps_done" = no
; then
11435 if test -z "$predep_objects_CXX"; then
11436 predep_objects_CXX
="$p"
11438 predep_objects_CXX
="$predep_objects_CXX $p"
11441 if test -z "$postdep_objects_CXX"; then
11442 postdep_objects_CXX
="$p"
11444 postdep_objects_CXX
="$postdep_objects_CXX $p"
11449 *) ;; # Ignore the rest.
11457 echo "libtool.m4: error: problem compiling CXX test program"
11460 $rm -f confest.
$objext
11462 case " $postdeps_CXX " in
11463 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11466 lt_prog_compiler_wl_CXX
=
11467 lt_prog_compiler_pic_CXX
=
11468 lt_prog_compiler_static_CXX
=
11470 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11471 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11473 # C++ specific cases for pic, static, wl, etc.
11474 if test "$GXX" = yes; then
11475 lt_prog_compiler_wl_CXX
='-Wl,'
11476 lt_prog_compiler_static_CXX
='-static'
11480 # All AIX code is PIC.
11481 if test "$host_cpu" = ia64
; then
11482 # AIX 5 now supports IA64 processor
11483 lt_prog_compiler_static_CXX
='-Bstatic'
11487 # FIXME: we need at least 68020 code to build shared libraries, but
11488 # adding the `-m68020' flag to GCC prevents building anything better,
11490 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11492 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11493 # PIC is the default for these OSes.
11495 mingw
* | os2
* | pw32
*)
11496 # This hack is so that the source file can tell whether it is being
11497 # built for inclusion in a dll (and should export symbols for example).
11498 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11500 darwin
* | rhapsody
*)
11501 # PIC is the default on this platform
11502 # Common symbols not allowed in MH_DYLIB files
11503 lt_prog_compiler_pic_CXX
='-fno-common'
11506 # DJGPP does not support shared libraries at all
11507 lt_prog_compiler_pic_CXX
=
11510 if test -d /usr
/nec
; then
11511 lt_prog_compiler_pic_CXX
=-Kconform_pic
11515 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11516 # not for PA HP-UX.
11517 case "$host_cpu" in
11521 lt_prog_compiler_pic_CXX
='-fPIC'
11526 lt_prog_compiler_pic_CXX
='-fPIC'
11532 # All AIX code is PIC.
11533 if test "$host_cpu" = ia64
; then
11534 # AIX 5 now supports IA64 processor
11535 lt_prog_compiler_static_CXX
='-Bstatic'
11537 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11541 case $cc_basename in
11543 # Green Hills C++ Compiler
11544 # _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"
11549 case $cc_basename in
11551 lt_prog_compiler_pic_CXX
='-KPIC'
11554 # Green Hills C++ Compiler
11555 lt_prog_compiler_pic_CXX
='-pic'
11561 freebsd
* | kfreebsd
*-gnu)
11562 # FreeBSD uses GNU C++
11564 hpux9
* | hpux10
* | hpux11
*)
11565 case $cc_basename in
11567 lt_prog_compiler_wl_CXX
='-Wl,'
11568 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11569 if test "$host_cpu" != ia64
; then
11570 lt_prog_compiler_pic_CXX
='+Z'
11574 lt_prog_compiler_wl_CXX
='-Wl,'
11575 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11576 case "$host_cpu" in
11581 lt_prog_compiler_pic_CXX
='+Z'
11589 irix5
* | irix6
* | nonstopux
*)
11590 case $cc_basename in
11592 lt_prog_compiler_wl_CXX
='-Wl,'
11593 lt_prog_compiler_static_CXX
='-non_shared'
11594 # CC pic flag -KPIC is the default.
11601 case $cc_basename in
11604 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11605 lt_prog_compiler_pic_CXX
='-fPIC'
11609 lt_prog_compiler_wl_CXX
='-Wl,'
11610 lt_prog_compiler_pic_CXX
='-KPIC'
11611 lt_prog_compiler_static_CXX
='-static'
11615 # Make sure the PIC flag is empty. It appears that all Alpha
11616 # Linux and Compaq Tru64 Unix objects are PIC.
11617 lt_prog_compiler_pic_CXX
=
11618 lt_prog_compiler_static_CXX
='-non_shared'
11629 case $cc_basename in
11631 lt_prog_compiler_pic_CXX
='-W c,exportall'
11639 osf3
* | osf4
* | osf5
*)
11640 case $cc_basename in
11642 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11645 # Rational C++ 2.4.1
11646 lt_prog_compiler_pic_CXX
='-pic'
11649 # Digital/Compaq C++
11650 lt_prog_compiler_wl_CXX
='-Wl,'
11651 # Make sure the PIC flag is empty. It appears that all Alpha
11652 # Linux and Compaq Tru64 Unix objects are PIC.
11653 lt_prog_compiler_pic_CXX
=
11654 lt_prog_compiler_static_CXX
='-non_shared'
11663 case $cc_basename in
11665 lt_prog_compiler_pic_CXX
='-fPIC'
11672 case $cc_basename in
11674 # Sun C++ 4.2, 5.x and Centerline C++
11675 lt_prog_compiler_pic_CXX
='-KPIC'
11676 lt_prog_compiler_static_CXX
='-Bstatic'
11677 lt_prog_compiler_wl_CXX
='-Qoption ld '
11680 # Green Hills C++ Compiler
11681 lt_prog_compiler_pic_CXX
='-PIC'
11688 case $cc_basename in
11691 lt_prog_compiler_pic_CXX
='-pic'
11692 lt_prog_compiler_static_CXX
='-Bstatic'
11696 lt_prog_compiler_pic_CXX
='-pic'
11703 case $cc_basename in
11705 # NonStop-UX NCC 3.20
11706 lt_prog_compiler_pic_CXX
='-KPIC'
11717 lt_prog_compiler_can_build_shared_CXX
=no
11722 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11723 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11726 # Check to make sure the PIC flag actually works.
11728 if test -n "$lt_prog_compiler_pic_CXX"; then
11730 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11731 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11732 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11733 echo $ECHO_N "(cached) $ECHO_C" >&6
11735 lt_prog_compiler_pic_works_CXX
=no
11736 ac_outfile
=conftest.
$ac_objext
11737 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11738 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11739 # Insert the option either (1) after the last *FLAGS variable, or
11740 # (2) before a word containing "conftest.", or (3) at the end.
11741 # Note that $ac_compile itself does not contain backslashes and begins
11742 # with a dollar sign (not a hyphen), so the echo should work correctly.
11743 # The option is referenced via a variable to avoid confusing sed.
11744 lt_compile
=`echo "$ac_compile" | $SED \
11745 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11746 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11747 -e 's:$: $lt_compiler_flag:'`
11748 (eval echo "\"\$as_me:11748: $lt_compile\"" >&5)
11749 (eval "$lt_compile" 2>conftest.err
)
11751 cat conftest.err
>&5
11752 echo "$as_me:11752: \$? = $ac_status" >&5
11753 if (exit $ac_status) && test -s "$ac_outfile"; then
11754 # The compiler can only warn and ignore the option if not recognized
11755 # So say no if there are warnings
11756 if test ! -s conftest.err
; then
11757 lt_prog_compiler_pic_works_CXX
=yes
11763 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11764 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11766 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11767 case $lt_prog_compiler_pic_CXX in
11769 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11772 lt_prog_compiler_pic_CXX
=
11773 lt_prog_compiler_can_build_shared_CXX
=no
11778 # For platforms which do not support PIC, -DPIC is meaningless:
11780 lt_prog_compiler_pic_CXX
=
11783 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11787 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11788 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11789 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11790 echo $ECHO_N "(cached) $ECHO_C" >&6
11792 lt_cv_prog_compiler_c_o_CXX
=no
11793 $rm -r conftest
2>/dev
/null
11797 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11799 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
11800 # that will create temporary files in the current directory regardless of
11801 # the output directory. Thus, making CWD read-only will cause this test
11802 # to fail, enabling locking or at least warning the user not to do parallel
11806 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11807 # Insert the option either (1) after the last *FLAGS variable, or
11808 # (2) before a word containing "conftest.", or (3) at the end.
11809 # Note that $ac_compile itself does not contain backslashes and begins
11810 # with a dollar sign (not a hyphen), so the echo should work correctly.
11811 lt_compile
=`echo "$ac_compile" | $SED \
11812 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11813 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11814 -e 's:$: $lt_compiler_flag:'`
11815 (eval echo "\"\$as_me:11815: $lt_compile\"" >&5)
11816 (eval "$lt_compile" 2>out
/conftest.err
)
11818 cat out
/conftest.err
>&5
11819 echo "$as_me:11819: \$? = $ac_status" >&5
11820 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11822 # The compiler can only warn and ignore the option if not recognized
11823 # So say no if there are warnings
11824 if test ! -s out
/conftest.err
; then
11825 lt_cv_prog_compiler_c_o_CXX
=yes
11830 # SGI C++ compiler will create directory out/ii_files/ for
11831 # template instantiation
11832 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11833 $rm out
/* && rmdir out
11839 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11840 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11843 hard_links
="nottested"
11844 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11845 # do not overwrite the value of need_locks provided by the user
11846 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11847 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11850 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11852 ln conftest.a conftest.b
2>&5 || hard_links
=no
11853 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11854 { echo "$as_me:$LINENO: result: $hard_links" >&5
11855 echo "${ECHO_T}$hard_links" >&6; }
11856 if test "$hard_links" = no
; then
11857 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11858 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11865 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11866 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11868 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11871 # If we're using GNU nm, then we don't want the "-C" option.
11872 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11873 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11874 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'
11876 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'
11880 export_symbols_cmds_CXX
="$ltdll_cmds"
11883 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11886 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11890 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11891 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11892 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11894 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11895 if test "$GCC" = yes; then
11896 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11900 # Do we need to explicitly link libc?
11902 case "x$archive_cmds_need_lc_CXX" in
11904 # Assume -lc should be added
11905 archive_cmds_need_lc_CXX
=yes
11907 if test "$enable_shared" = yes && test "$GCC" = yes; then
11908 case $archive_cmds_CXX in
11910 # FIXME: we may have to deal with multi-command sequences.
11913 # Test whether the compiler implicitly links with -lc since on some
11914 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11915 # to ld, don't add -lc before -lgcc.
11916 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11917 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11919 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11922 (eval $ac_compile) 2>&5
11924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 (exit $ac_status); } 2>conftest.err
; then
11928 libobjs
=conftest.
$ac_objext
11930 wl
=$lt_prog_compiler_wl_CXX
11936 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11937 allow_undefined_flag_CXX
=
11938 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11939 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11942 (exit $ac_status); }
11944 archive_cmds_need_lc_CXX
=no
11946 archive_cmds_need_lc_CXX
=yes
11948 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11950 cat conftest.err
1>&5
11953 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11954 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11961 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11962 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11963 library_names_spec
=
11964 libname_spec
='lib$name'
11968 postuninstall_cmds
=
11972 shlibpath_overrides_runpath
=unknown
11974 dynamic_linker
="$host_os ld.so"
11975 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11976 if test "$GCC" = yes; then
11977 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11978 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11979 # if the path contains ";" then we assume it to be the separator
11980 # otherwise default to the standard path separator (i.e. ":") - it is
11981 # assumed that no part of a normal pathname contains ";" but that should
11982 # okay in the real world where ";" in dirpaths is itself problematic.
11983 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11985 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11988 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11990 need_lib_prefix
=unknown
11991 hardcode_into_libs
=no
11993 # when you set need_version to no, make sure it does not cause -set_version
11994 # flags to be left without arguments
11995 need_version
=unknown
12000 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12001 shlibpath_var
=LIBPATH
12003 # AIX 3 has no versioning support, so we append a major version to the name.
12004 soname_spec
='${libname}${release}${shared_ext}$major'
12011 hardcode_into_libs
=yes
12012 if test "$host_cpu" = ia64
; then
12013 # AIX 5 supports IA64
12014 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12015 shlibpath_var
=LD_LIBRARY_PATH
12017 # With GCC up to 2.95.x, collect2 would create an import file
12018 # for dependence libraries. The import file would start with
12019 # the line `#! .'. This would cause the generated library to
12020 # depend on `.', always an invalid library. This was fixed in
12021 # development snapshots of GCC prior to 3.0.
12023 aix4 | aix4.
[01] | aix4.
[01].
*)
12024 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12026 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12029 can_build_shared
=no
12033 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12034 # soname into executable. Probably we can add versioning support to
12035 # collect2, so additional links can be useful in future.
12036 if test "$aix_use_runtimelinking" = yes; then
12037 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12038 # instead of lib<name>.a to let people know that these are not
12039 # typical AIX shared libraries.
12040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12042 # We preserve .a as extension for shared libraries through AIX4.2
12043 # and later when we are not doing run time linking.
12044 library_names_spec
='${libname}${release}.a $libname.a'
12045 soname_spec
='${libname}${release}${shared_ext}$major'
12047 shlibpath_var
=LIBPATH
12052 library_names_spec
='$libname.ixlibrary $libname.a'
12053 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12054 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'
12058 library_names_spec
='${libname}${shared_ext}'
12059 dynamic_linker
="$host_os ld.so"
12060 shlibpath_var
=LIBRARY_PATH
12066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12067 soname_spec
='${libname}${release}${shared_ext}$major'
12068 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12069 shlibpath_var
=LD_LIBRARY_PATH
12070 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12071 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12072 # the default ld.so.conf also contains /usr/contrib/lib and
12073 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12074 # libtool to hard-code these into programs
12077 cygwin
* | mingw
* | pw32
*)
12078 version_type
=windows
12083 case $GCC,$host_os in
12084 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12085 library_names_spec
='$libname.dll.a'
12086 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12087 postinstall_cmds
='base_file=`basename \${file}`~
12088 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12089 dldir=$destdir/`dirname \$dlpath`~
12090 test -d \$dldir || mkdir -p \$dldir~
12091 $install_prog $dir/$dlname \$dldir/$dlname'
12092 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12093 dlpath=$dir/\$dldll~
12095 shlibpath_overrides_runpath
=yes
12099 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12100 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12101 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12104 # MinGW DLLs use traditional 'lib' prefix
12105 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12106 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12107 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12108 # It is most probably a Windows format PATH printed by
12109 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12110 # path with ; separators, and with drive letters. We can handle the
12111 # drive letters (cygwin fileutils understands them), so leave them,
12112 # especially as we might pass files found there to a mingw objdump,
12113 # which wouldn't understand a cygwinified path. Ahh.
12114 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12116 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12120 # pw32 DLLs use 'pw' prefix rather than 'lib'
12121 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
12127 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12130 dynamic_linker
='Win32 ld.exe'
12131 # FIXME: first we should search . and the directory the executable is in
12135 darwin
* | rhapsody
*)
12136 dynamic_linker
="$host_os dyld"
12137 version_type
=darwin
12140 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12141 soname_spec
='${libname}${release}${major}$shared_ext'
12142 shlibpath_overrides_runpath
=yes
12143 shlibpath_var
=DYLD_LIBRARY_PATH
12144 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
12145 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12146 if test "$GCC" = yes; then
12147 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"`
12149 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12151 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12158 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12159 soname_spec
='${libname}${release}${shared_ext}$major'
12160 shlibpath_var
=LD_LIBRARY_PATH
12171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12172 soname_spec
='${libname}${release}${shared_ext}$major'
12173 shlibpath_var
=LD_LIBRARY_PATH
12174 shlibpath_overrides_runpath
=no
12175 hardcode_into_libs
=yes
12176 dynamic_linker
='GNU ld.so'
12180 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
12181 version_type
=freebsd-
$objformat
12182 case $version_type in
12184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12189 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12193 shlibpath_var
=LD_LIBRARY_PATH
12196 shlibpath_overrides_runpath
=yes
12198 freebsd3.01
* | freebsdelf3.01
*)
12199 shlibpath_overrides_runpath
=yes
12200 hardcode_into_libs
=yes
12203 shlibpath_overrides_runpath
=no
12204 hardcode_into_libs
=yes
12213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12214 soname_spec
='${libname}${release}${shared_ext}$major'
12215 shlibpath_var
=LD_LIBRARY_PATH
12216 hardcode_into_libs
=yes
12219 hpux9
* | hpux10
* | hpux11
*)
12220 # Give a soname corresponding to the major version so that dld.sl refuses to
12221 # link against other versions.
12225 case "$host_cpu" in
12228 hardcode_into_libs
=yes
12229 dynamic_linker
="$host_os dld.so"
12230 shlibpath_var
=LD_LIBRARY_PATH
12231 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12232 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12233 soname_spec
='${libname}${release}${shared_ext}$major'
12234 if test "X$HPUX_IA64_MODE" = X32
; then
12235 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12237 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12239 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12243 hardcode_into_libs
=yes
12244 dynamic_linker
="$host_os dld.sl"
12245 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12246 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12248 soname_spec
='${libname}${release}${shared_ext}$major'
12249 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12250 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12254 dynamic_linker
="$host_os dld.sl"
12255 shlibpath_var
=SHLIB_PATH
12256 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12258 soname_spec
='${libname}${release}${shared_ext}$major'
12261 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12262 postinstall_cmds
='chmod 555 $lib'
12265 irix5
* | irix6
* | nonstopux
*)
12267 nonstopux
*) version_type
=nonstopux
;;
12269 if test "$lt_cv_prog_gnu_ld" = yes; then
12277 soname_spec
='${libname}${release}${shared_ext}$major'
12278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12280 irix5
* | nonstopux
*)
12281 libsuff
= shlibsuff
=
12284 case $LD in # libtool.m4 will add one of these switches to LD
12285 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12286 libsuff
= shlibsuff
= libmagic
=32-bit;;
12287 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12288 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12289 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12290 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12291 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12295 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12296 shlibpath_overrides_runpath
=no
12297 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12298 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12299 hardcode_into_libs
=yes
12302 # No shared lib support for Linux oldld, aout, or coff.
12303 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12307 # This must be Linux ELF.
12312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12313 soname_spec
='${libname}${release}${shared_ext}$major'
12314 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12315 shlibpath_var
=LD_LIBRARY_PATH
12316 shlibpath_overrides_runpath
=no
12317 # This implies no fast_install, which is unacceptable.
12318 # Some rework will be needed to allow for fast_install
12319 # before this can be enabled.
12320 hardcode_into_libs
=yes
12322 # We used to test for /lib/ld.so.1 and disable shared libraries on
12323 # powerpc, because MkLinux only supported shared libraries with the
12324 # GNU dynamic linker. Since this was broken with cross compilers,
12325 # most powerpc-linux boxes support dynamic linking these days and
12326 # people can always --disable-shared, the test was removed, and we
12327 # assume the GNU/Linux dynamic linker is in use.
12328 dynamic_linker
='GNU/Linux ld.so'
12335 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12336 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12337 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12338 dynamic_linker
='NetBSD (a.out) ld.so'
12340 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
12341 soname_spec
='${libname}${release}${shared_ext}$major'
12342 dynamic_linker
='NetBSD ld.elf_so'
12344 shlibpath_var
=LD_LIBRARY_PATH
12345 shlibpath_overrides_runpath
=yes
12346 hardcode_into_libs
=yes
12351 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12352 shlibpath_var
=LD_LIBRARY_PATH
12353 shlibpath_overrides_runpath
=yes
12360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12361 soname_spec
='${libname}${release}${shared_ext}$major'
12362 shlibpath_var
=LD_LIBRARY_PATH
12363 shlibpath_overrides_runpath
=yes
12370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12371 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12372 shlibpath_var
=LD_LIBRARY_PATH
12373 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12375 openbsd2.
[89] | openbsd2.
[89].
*)
12376 shlibpath_overrides_runpath
=no
12379 shlibpath_overrides_runpath
=yes
12383 shlibpath_overrides_runpath
=yes
12388 libname_spec
='$name'
12391 library_names_spec
='$libname${shared_ext} $libname.a'
12392 dynamic_linker
='OS/2 ld.exe'
12393 shlibpath_var
=LIBPATH
12396 osf3
* | osf4
* | osf5
*)
12400 soname_spec
='${libname}${release}${shared_ext}$major'
12401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12402 shlibpath_var
=LD_LIBRARY_PATH
12403 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12404 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12409 soname_spec
='${libname}${release}${shared_ext}$major'
12410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12411 shlibpath_var
=LD_LIBRARY_PATH
12418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12419 soname_spec
='${libname}${release}${shared_ext}$major'
12420 shlibpath_var
=LD_LIBRARY_PATH
12421 shlibpath_overrides_runpath
=yes
12422 hardcode_into_libs
=yes
12423 # ldd complains unless libraries are executable
12424 postinstall_cmds
='chmod +x $lib'
12429 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12430 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12431 shlibpath_var
=LD_LIBRARY_PATH
12432 shlibpath_overrides_runpath
=yes
12433 if test "$with_gnu_ld" = yes; then
12439 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12441 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12442 soname_spec
='${libname}${release}${shared_ext}$major'
12443 shlibpath_var
=LD_LIBRARY_PATH
12444 case $host_vendor in
12446 shlibpath_overrides_runpath
=no
12448 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12449 runpath_var
=LD_RUN_PATH
12457 shlibpath_overrides_runpath
=no
12458 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12464 if test -d /usr
/nec
;then
12466 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12467 soname_spec
='$libname${shared_ext}.$major'
12468 shlibpath_var
=LD_LIBRARY_PATH
12474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12475 soname_spec
='${libname}${release}${shared_ext}$major'
12476 shlibpath_var
=LD_LIBRARY_PATH
12483 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12484 echo "${ECHO_T}$dynamic_linker" >&6; }
12485 test "$dynamic_linker" = no
&& can_build_shared
=no
12487 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12488 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12489 hardcode_action_CXX
=
12490 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12491 test -n "$runpath_var CXX" || \
12492 test "X$hardcode_automatic_CXX"="Xyes" ; then
12494 # We can hardcode non-existant directories.
12495 if test "$hardcode_direct_CXX" != no
&&
12496 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12497 # have to relink, otherwise we might link with an installed library
12498 # when we should be linking with a yet-to-be-installed one
12499 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12500 test "$hardcode_minus_L_CXX" != no
; then
12501 # Linking always hardcodes the temporary library directory.
12502 hardcode_action_CXX
=relink
12504 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12505 hardcode_action_CXX
=immediate
12508 # We cannot hardcode anything, or else we can only hardcode existing
12510 hardcode_action_CXX
=unsupported
12512 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12513 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12515 if test "$hardcode_action_CXX" = relink
; then
12516 # Fast installation is not supported
12517 enable_fast_install
=no
12518 elif test "$shlibpath_overrides_runpath" = yes ||
12519 test "$enable_shared" = no
; then
12520 # Fast installation is not necessary
12521 enable_fast_install
=needless
12526 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12527 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
12528 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
12529 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12530 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12531 { echo "$as_me:$LINENO: result: yes" >&5
12532 echo "${ECHO_T}yes" >&6; }
12534 # FIXME - insert some real tests, host_os isn't really good enough
12537 if test -n "$STRIP" ; then
12538 striplib
="$STRIP -x"
12539 { echo "$as_me:$LINENO: result: yes" >&5
12540 echo "${ECHO_T}yes" >&6; }
12542 { echo "$as_me:$LINENO: result: no" >&5
12543 echo "${ECHO_T}no" >&6; }
12547 { echo "$as_me:$LINENO: result: no" >&5
12548 echo "${ECHO_T}no" >&6; }
12553 if test "x$enable_dlopen" != xyes
; then
12554 enable_dlopen
=unknown
12555 enable_dlopen_self
=unknown
12556 enable_dlopen_self_static
=unknown
12563 lt_cv_dlopen
="load_add_on"
12565 lt_cv_dlopen_self
=yes
12569 lt_cv_dlopen
="LoadLibrary"
12574 lt_cv_dlopen
="dlopen"
12579 # if libdl is installed we need to link against it
12580 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12581 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12582 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12583 echo $ECHO_N "(cached) $ECHO_C" >&6
12585 ac_check_lib_save_LIBS
=$LIBS
12587 cat >conftest.
$ac_ext <<_ACEOF
12590 cat confdefs.h
>>conftest.
$ac_ext
12591 cat >>conftest.
$ac_ext <<_ACEOF
12592 /* end confdefs.h. */
12594 /* Override any GCC internal prototype to avoid an error.
12595 Use char because int might match the return type of a GCC
12596 builtin and then its argument prototype would still apply. */
12609 rm -f conftest.
$ac_objext conftest
$ac_exeext
12610 if { (ac_try
="$ac_link"
12611 case "(($ac_try" in
12612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12613 *) ac_try_echo=$ac_try;;
12615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12616 (eval "$ac_link") 2>conftest.er1
12618 grep -v '^ *+' conftest.er1 >conftest.err
12620 cat conftest.err >&5
12621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12622 (exit $ac_status); } &&
12623 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12624 { (case "(($ac_try" in
12625 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12626 *) ac_try_echo
=$ac_try;;
12628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12629 (eval "$ac_try") 2>&5
12631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632 (exit $ac_status); }; } &&
12633 { ac_try
='test -s conftest$ac_exeext'
12634 { (case "(($ac_try" in
12635 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12636 *) ac_try_echo=$ac_try;;
12638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12639 (eval "$ac_try") 2>&5
12641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); }; }; then
12643 ac_cv_lib_dl_dlopen=yes
12645 echo "$as_me: failed program was:" >&5
12646 sed 's/^/| /' conftest.$ac_ext >&5
12648 ac_cv_lib_dl_dlopen=no
12651 rm -f core conftest.err conftest.$ac_objext \
12652 conftest$ac_exeext conftest.$ac_ext
12653 LIBS=$ac_check_lib_save_LIBS
12655 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12656 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12657 if test $ac_cv_lib_dl_dlopen = yes; then
12658 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12661 lt_cv_dlopen="dyld"
12663 lt_cv_dlopen_self=yes
12670 { echo "$as_me:$LINENO: checking for shl_load" >&5
12671 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12672 if test "${ac_cv_func_shl_load+set}" = set; then
12673 echo $ECHO_N "(cached) $ECHO_C" >&6
12675 cat >conftest.$ac_ext <<_ACEOF
12678 cat confdefs.h >>conftest.$ac_ext
12679 cat >>conftest.$ac_ext <<_ACEOF
12680 /* end confdefs.h. */
12681 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12683 #define shl_load innocuous_shl_load
12685 /* System header to define __stub macros and hopefully few prototypes,
12686 which can conflict with char shl_load (); below.
12687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12688 <limits.h> exists even on freestanding compilers. */
12691 # include <limits.h>
12693 # include <assert.h>
12698 /* Override any GCC internal prototype to avoid an error.
12699 Use char because int might match the return type of a GCC
12700 builtin and then its argument prototype would still apply. */
12705 /* The GNU C library defines this for functions which it implements
12706 to always fail with ENOSYS. Some functions are actually named
12707 something starting with __ and the normal name is an alias. */
12708 #if defined __stub_shl_load || defined __stub___shl_load
12715 return shl_load ();
12720 rm -f conftest.$ac_objext conftest$ac_exeext
12721 if { (ac_try="$ac_link"
12722 case "(($ac_try" in
12723 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12724 *) ac_try_echo
=$ac_try;;
12726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12727 (eval "$ac_link") 2>conftest.er1
12729 grep -v '^ *+' conftest.er1
>conftest.err
12731 cat conftest.err
>&5
12732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12733 (exit $ac_status); } &&
12734 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12735 { (case "(($ac_try" in
12736 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12737 *) ac_try_echo=$ac_try;;
12739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12740 (eval "$ac_try") 2>&5
12742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743 (exit $ac_status); }; } &&
12744 { ac_try='test -s conftest$ac_exeext'
12745 { (case "(($ac_try" in
12746 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12747 *) ac_try_echo
=$ac_try;;
12749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12750 (eval "$ac_try") 2>&5
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); }; }; then
12754 ac_cv_func_shl_load
=yes
12756 echo "$as_me: failed program was:" >&5
12757 sed 's/^/| /' conftest.
$ac_ext >&5
12759 ac_cv_func_shl_load
=no
12762 rm -f core conftest.err conftest.
$ac_objext \
12763 conftest
$ac_exeext conftest.
$ac_ext
12765 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12766 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12767 if test $ac_cv_func_shl_load = yes; then
12768 lt_cv_dlopen
="shl_load"
12770 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12771 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12772 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12773 echo $ECHO_N "(cached) $ECHO_C" >&6
12775 ac_check_lib_save_LIBS
=$LIBS
12777 cat >conftest.
$ac_ext <<_ACEOF
12780 cat confdefs.h
>>conftest.
$ac_ext
12781 cat >>conftest.
$ac_ext <<_ACEOF
12782 /* end confdefs.h. */
12784 /* Override any GCC internal prototype to avoid an error.
12785 Use char because int might match the return type of a GCC
12786 builtin and then its argument prototype would still apply. */
12794 return shl_load ();
12799 rm -f conftest.
$ac_objext conftest
$ac_exeext
12800 if { (ac_try
="$ac_link"
12801 case "(($ac_try" in
12802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12803 *) ac_try_echo=$ac_try;;
12805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12806 (eval "$ac_link") 2>conftest.er1
12808 grep -v '^ *+' conftest.er1 >conftest.err
12810 cat conftest.err >&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); } &&
12813 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12814 { (case "(($ac_try" in
12815 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12816 *) ac_try_echo
=$ac_try;;
12818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12819 (eval "$ac_try") 2>&5
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); }; } &&
12823 { ac_try
='test -s conftest$ac_exeext'
12824 { (case "(($ac_try" in
12825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12826 *) ac_try_echo=$ac_try;;
12828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12829 (eval "$ac_try") 2>&5
12831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12832 (exit $ac_status); }; }; then
12833 ac_cv_lib_dld_shl_load=yes
12835 echo "$as_me: failed program was:" >&5
12836 sed 's/^/| /' conftest.$ac_ext >&5
12838 ac_cv_lib_dld_shl_load=no
12841 rm -f core conftest.err conftest.$ac_objext \
12842 conftest$ac_exeext conftest.$ac_ext
12843 LIBS=$ac_check_lib_save_LIBS
12845 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12846 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12847 if test $ac_cv_lib_dld_shl_load = yes; then
12848 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12850 { echo "$as_me:$LINENO: checking for dlopen" >&5
12851 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12852 if test "${ac_cv_func_dlopen+set}" = set; then
12853 echo $ECHO_N "(cached) $ECHO_C" >&6
12855 cat >conftest.$ac_ext <<_ACEOF
12858 cat confdefs.h >>conftest.$ac_ext
12859 cat >>conftest.$ac_ext <<_ACEOF
12860 /* end confdefs.h. */
12861 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12863 #define dlopen innocuous_dlopen
12865 /* System header to define __stub macros and hopefully few prototypes,
12866 which can conflict with char dlopen (); below.
12867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12868 <limits.h> exists even on freestanding compilers. */
12871 # include <limits.h>
12873 # include <assert.h>
12878 /* Override any GCC internal prototype to avoid an error.
12879 Use char because int might match the return type of a GCC
12880 builtin and then its argument prototype would still apply. */
12885 /* The GNU C library defines this for functions which it implements
12886 to always fail with ENOSYS. Some functions are actually named
12887 something starting with __ and the normal name is an alias. */
12888 #if defined __stub_dlopen || defined __stub___dlopen
12900 rm -f conftest.$ac_objext conftest$ac_exeext
12901 if { (ac_try="$ac_link"
12902 case "(($ac_try" in
12903 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12904 *) ac_try_echo
=$ac_try;;
12906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12907 (eval "$ac_link") 2>conftest.er1
12909 grep -v '^ *+' conftest.er1
>conftest.err
12911 cat conftest.err
>&5
12912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12913 (exit $ac_status); } &&
12914 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12915 { (case "(($ac_try" in
12916 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12917 *) ac_try_echo=$ac_try;;
12919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12920 (eval "$ac_try") 2>&5
12922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12923 (exit $ac_status); }; } &&
12924 { ac_try='test -s conftest$ac_exeext'
12925 { (case "(($ac_try" in
12926 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12927 *) ac_try_echo
=$ac_try;;
12929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12930 (eval "$ac_try") 2>&5
12932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12933 (exit $ac_status); }; }; then
12934 ac_cv_func_dlopen
=yes
12936 echo "$as_me: failed program was:" >&5
12937 sed 's/^/| /' conftest.
$ac_ext >&5
12939 ac_cv_func_dlopen
=no
12942 rm -f core conftest.err conftest.
$ac_objext \
12943 conftest
$ac_exeext conftest.
$ac_ext
12945 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12946 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12947 if test $ac_cv_func_dlopen = yes; then
12948 lt_cv_dlopen
="dlopen"
12950 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12951 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12952 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12953 echo $ECHO_N "(cached) $ECHO_C" >&6
12955 ac_check_lib_save_LIBS
=$LIBS
12957 cat >conftest.
$ac_ext <<_ACEOF
12960 cat confdefs.h
>>conftest.
$ac_ext
12961 cat >>conftest.
$ac_ext <<_ACEOF
12962 /* end confdefs.h. */
12964 /* Override any GCC internal prototype to avoid an error.
12965 Use char because int might match the return type of a GCC
12966 builtin and then its argument prototype would still apply. */
12979 rm -f conftest.
$ac_objext conftest
$ac_exeext
12980 if { (ac_try
="$ac_link"
12981 case "(($ac_try" in
12982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12983 *) ac_try_echo=$ac_try;;
12985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12986 (eval "$ac_link") 2>conftest.er1
12988 grep -v '^ *+' conftest.er1 >conftest.err
12990 cat conftest.err >&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); } &&
12993 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12994 { (case "(($ac_try" in
12995 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12996 *) ac_try_echo
=$ac_try;;
12998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12999 (eval "$ac_try") 2>&5
13001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13002 (exit $ac_status); }; } &&
13003 { ac_try
='test -s conftest$ac_exeext'
13004 { (case "(($ac_try" in
13005 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13006 *) ac_try_echo=$ac_try;;
13008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13009 (eval "$ac_try") 2>&5
13011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13012 (exit $ac_status); }; }; then
13013 ac_cv_lib_dl_dlopen=yes
13015 echo "$as_me: failed program was:" >&5
13016 sed 's/^/| /' conftest.$ac_ext >&5
13018 ac_cv_lib_dl_dlopen=no
13021 rm -f core conftest.err conftest.$ac_objext \
13022 conftest$ac_exeext conftest.$ac_ext
13023 LIBS=$ac_check_lib_save_LIBS
13025 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13026 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
13027 if test $ac_cv_lib_dl_dlopen = yes; then
13028 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13030 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13031 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
13032 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13033 echo $ECHO_N "(cached) $ECHO_C" >&6
13035 ac_check_lib_save_LIBS=$LIBS
13036 LIBS="-lsvld $LIBS"
13037 cat >conftest.$ac_ext <<_ACEOF
13040 cat confdefs.h >>conftest.$ac_ext
13041 cat >>conftest.$ac_ext <<_ACEOF
13042 /* end confdefs.h. */
13044 /* Override any GCC internal prototype to avoid an error.
13045 Use char because int might match the return type of a GCC
13046 builtin and then its argument prototype would still apply. */
13059 rm -f conftest.$ac_objext conftest$ac_exeext
13060 if { (ac_try="$ac_link"
13061 case "(($ac_try" in
13062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13063 *) ac_try_echo
=$ac_try;;
13065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13066 (eval "$ac_link") 2>conftest.er1
13068 grep -v '^ *+' conftest.er1
>conftest.err
13070 cat conftest.err
>&5
13071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072 (exit $ac_status); } &&
13073 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13074 { (case "(($ac_try" in
13075 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13076 *) ac_try_echo=$ac_try;;
13078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13079 (eval "$ac_try") 2>&5
13081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13082 (exit $ac_status); }; } &&
13083 { ac_try='test -s conftest$ac_exeext'
13084 { (case "(($ac_try" in
13085 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13086 *) ac_try_echo
=$ac_try;;
13088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13089 (eval "$ac_try") 2>&5
13091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13092 (exit $ac_status); }; }; then
13093 ac_cv_lib_svld_dlopen
=yes
13095 echo "$as_me: failed program was:" >&5
13096 sed 's/^/| /' conftest.
$ac_ext >&5
13098 ac_cv_lib_svld_dlopen
=no
13101 rm -f core conftest.err conftest.
$ac_objext \
13102 conftest
$ac_exeext conftest.
$ac_ext
13103 LIBS
=$ac_check_lib_save_LIBS
13105 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13106 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
13107 if test $ac_cv_lib_svld_dlopen = yes; then
13108 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
13110 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13111 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
13112 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13113 echo $ECHO_N "(cached) $ECHO_C" >&6
13115 ac_check_lib_save_LIBS
=$LIBS
13117 cat >conftest.
$ac_ext <<_ACEOF
13120 cat confdefs.h
>>conftest.
$ac_ext
13121 cat >>conftest.
$ac_ext <<_ACEOF
13122 /* end confdefs.h. */
13124 /* Override any GCC internal prototype to avoid an error.
13125 Use char because int might match the return type of a GCC
13126 builtin and then its argument prototype would still apply. */
13134 return dld_link ();
13139 rm -f conftest.
$ac_objext conftest
$ac_exeext
13140 if { (ac_try
="$ac_link"
13141 case "(($ac_try" in
13142 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13143 *) ac_try_echo=$ac_try;;
13145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13146 (eval "$ac_link") 2>conftest.er1
13148 grep -v '^ *+' conftest.er1 >conftest.err
13150 cat conftest.err >&5
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); } &&
13153 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13154 { (case "(($ac_try" in
13155 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13156 *) ac_try_echo
=$ac_try;;
13158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13159 (eval "$ac_try") 2>&5
13161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13162 (exit $ac_status); }; } &&
13163 { ac_try
='test -s conftest$ac_exeext'
13164 { (case "(($ac_try" in
13165 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13166 *) ac_try_echo=$ac_try;;
13168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13169 (eval "$ac_try") 2>&5
13171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13172 (exit $ac_status); }; }; then
13173 ac_cv_lib_dld_dld_link=yes
13175 echo "$as_me: failed program was:" >&5
13176 sed 's/^/| /' conftest.$ac_ext >&5
13178 ac_cv_lib_dld_dld_link=no
13181 rm -f core conftest.err conftest.$ac_objext \
13182 conftest$ac_exeext conftest.$ac_ext
13183 LIBS=$ac_check_lib_save_LIBS
13185 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13186 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
13187 if test $ac_cv_lib_dld_dld_link = yes; then
13188 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
13209 if test "x$lt_cv_dlopen" != xno; then
13215 case $lt_cv_dlopen in
13217 save_CPPFLAGS="$CPPFLAGS"
13218 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13220 save_LDFLAGS="$LDFLAGS"
13221 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13224 LIBS="$lt_cv_dlopen_libs $LIBS"
13226 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13227 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
13228 if test "${lt_cv_dlopen_self+set}" = set; then
13229 echo $ECHO_N "(cached) $ECHO_C" >&6
13231 if test "$cross_compiling" = yes; then :
13232 lt_cv_dlopen_self=cross
13234 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13235 lt_status=$lt_dlunknown
13236 cat > conftest.$ac_ext <<EOF
13237 #line 13237 "configure"
13238 #include "confdefs.h"
13247 # define LT_DLGLOBAL RTLD_GLOBAL
13250 # define LT_DLGLOBAL DL_GLOBAL
13252 # define LT_DLGLOBAL 0
13256 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13257 find out it does not work in some platform. */
13258 #ifndef LT_DLLAZY_OR_NOW
13260 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13263 # define LT_DLLAZY_OR_NOW DL_LAZY
13266 # define LT_DLLAZY_OR_NOW RTLD_NOW
13269 # define LT_DLLAZY_OR_NOW DL_NOW
13271 # define LT_DLLAZY_OR_NOW 0
13279 extern "C" void exit (int);
13282 void fnord() { int i=42;}
13285 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13286 int status = $lt_dlunknown;
13290 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13291 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13292 /* dlclose (self); */
13298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13299 (eval $ac_link) 2>&5
13301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13302 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13303 (./conftest; exit; ) 2>/dev/null
13305 case x$lt_status in
13306 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13307 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13308 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
13311 # compilation failed
13312 lt_cv_dlopen_self=no
13319 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13320 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
13322 if test "x$lt_cv_dlopen_self" = xyes; then
13323 LDFLAGS="$LDFLAGS $link_static_flag"
13324 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13325 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
13326 if test "${lt_cv_dlopen_self_static+set}" = set; then
13327 echo $ECHO_N "(cached) $ECHO_C" >&6
13329 if test "$cross_compiling" = yes; then :
13330 lt_cv_dlopen_self_static=cross
13332 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13333 lt_status=$lt_dlunknown
13334 cat > conftest.$ac_ext <<EOF
13335 #line 13335 "configure"
13336 #include "confdefs.h"
13345 # define LT_DLGLOBAL RTLD_GLOBAL
13348 # define LT_DLGLOBAL DL_GLOBAL
13350 # define LT_DLGLOBAL 0
13354 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13355 find out it does not work in some platform. */
13356 #ifndef LT_DLLAZY_OR_NOW
13358 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13361 # define LT_DLLAZY_OR_NOW DL_LAZY
13364 # define LT_DLLAZY_OR_NOW RTLD_NOW
13367 # define LT_DLLAZY_OR_NOW DL_NOW
13369 # define LT_DLLAZY_OR_NOW 0
13377 extern "C" void exit (int);
13380 void fnord() { int i=42;}
13383 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13384 int status = $lt_dlunknown;
13388 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13389 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13390 /* dlclose (self); */
13396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13397 (eval $ac_link) 2>&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13401 (./conftest; exit; ) 2>/dev/null
13403 case x$lt_status in
13404 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13405 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13406 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
13409 # compilation failed
13410 lt_cv_dlopen_self_static=no
13417 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13418 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
13421 CPPFLAGS="$save_CPPFLAGS"
13422 LDFLAGS="$save_LDFLAGS"
13427 case $lt_cv_dlopen_self in
13428 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13429 *) enable_dlopen_self=unknown ;;
13432 case $lt_cv_dlopen_self_static in
13433 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13434 *) enable_dlopen_self_static=unknown ;;
13439 # The else clause should only fire when bootstrapping the
13440 # libtool distribution, otherwise you forgot to ship ltmain.sh
13441 # with your package, and you will get complaints that there are
13442 # no rules to generate ltmain.sh.
13443 if test -f "$ltmain"; then
13444 # See if we are running on zsh, and set the options which allow our commands through
13445 # without removal of \ escapes.
13446 if test -n "${ZSH_VERSION+set}" ; then
13447 setopt NO_GLOB_SUBST
13449 # Now quote all the things that may contain metacharacters while being
13450 # careful not to overquote the AC_SUBSTed values. We take copies of the
13451 # variables and quote the copies for generation of the libtool script.
13452 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
13453 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13454 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13455 deplibs_check_method reload_flag reload_cmds need_locks \
13456 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13457 lt_cv_sys_global_symbol_to_c_name_address \
13458 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13459 old_postinstall_cmds old_postuninstall_cmds \
13463 lt_prog_compiler_wl_CXX \
13464 lt_prog_compiler_pic_CXX \
13465 lt_prog_compiler_static_CXX \
13466 lt_prog_compiler_no_builtin_flag_CXX \
13467 export_dynamic_flag_spec_CXX \
13468 thread_safe_flag_spec_CXX \
13469 whole_archive_flag_spec_CXX \
13470 enable_shared_with_static_runtimes_CXX \
13471 old_archive_cmds_CXX \
13472 old_archive_from_new_cmds_CXX \
13473 predep_objects_CXX \
13474 postdep_objects_CXX \
13477 compiler_lib_search_path_CXX \
13479 archive_expsym_cmds_CXX \
13480 postinstall_cmds_CXX \
13481 postuninstall_cmds_CXX \
13482 old_archive_from_expsyms_cmds_CXX \
13483 allow_undefined_flag_CXX \
13484 no_undefined_flag_CXX \
13485 export_symbols_cmds_CXX \
13486 hardcode_libdir_flag_spec_CXX \
13487 hardcode_libdir_flag_spec_ld_CXX \
13488 hardcode_libdir_separator_CXX \
13489 hardcode_automatic_CXX \
13491 module_expsym_cmds_CXX \
13492 lt_cv_prog_compiler_c_o_CXX \
13493 exclude_expsyms_CXX \
13494 include_expsyms_CXX; do
13497 old_archive_cmds_CXX | \
13498 old_archive_from_new_cmds_CXX | \
13499 archive_cmds_CXX | \
13500 archive_expsym_cmds_CXX | \
13501 module_cmds_CXX | \
13502 module_expsym_cmds_CXX | \
13503 old_archive_from_expsyms_cmds_CXX | \
13504 export_symbols_cmds_CXX | \
13505 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13506 postinstall_cmds | postuninstall_cmds | \
13507 old_postinstall_cmds | old_postuninstall_cmds | \
13508 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13509 # Double-quote double-evaled strings.
13510 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
13513 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
13519 *'\$0 --fallback-echo"')
13520 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13526 cat <<__EOF__ >> "$cfgfile"
13527 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13529 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
13531 # Shell to use when invoking shell scripts.
13534 # Whether or not to build shared libraries.
13535 build_libtool_libs=$enable_shared
13537 # Whether or not to build static libraries.
13538 build_old_libs=$enable_static
13540 # Whether or not to add -lc for building shared libraries.
13541 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13543 # Whether or not to disallow shared libs when runtime libs are static
13544 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13546 # Whether or not to optimize for fast installation.
13547 fast_install=$enable_fast_install
13550 host_alias=$host_alias
13553 # An echo program that does not interpret backslashes.
13558 AR_FLAGS=$lt_AR_FLAGS
13563 # A language-specific compiler.
13564 CC=$lt_compiler_CXX
13566 # Is the compiler the GNU C compiler?
13572 # The linker used to build libraries.
13575 # Whether we need hard or soft links.
13578 # A BSD-compatible nm program.
13581 # A symbol stripping program
13584 # Used to examine libraries when file_magic_cmd begins "file"
13585 MAGIC_CMD=$MAGIC_CMD
13587 # Used on cygwin: DLL creation program.
13590 # Used on cygwin: object dumper.
13593 # Used on cygwin: assembler.
13596 # The name of the directory that contains temporary libtool files.
13599 # How to create reloadable object files.
13600 reload_flag=$lt_reload_flag
13601 reload_cmds=$lt_reload_cmds
13603 # How to pass a linker flag through the compiler.
13604 wl=$lt_lt_prog_compiler_wl_CXX
13606 # Object file suffix (normally "o").
13607 objext="$ac_objext"
13609 # Old archive suffix (normally "a").
13612 # Shared library suffix (normally ".so").
13615 # Executable file suffix (normally "").
13618 # Additional compiler flags for building library objects.
13619 pic_flag=$lt_lt_prog_compiler_pic_CXX
13622 # What is the maximum length of a command?
13623 max_cmd_len=$lt_cv_sys_max_cmd_len
13625 # Does compiler simultaneously support -c and -o options?
13626 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13628 # Must we lock files when doing compilation ?
13629 need_locks=$lt_need_locks
13631 # Do we need the lib prefix for modules?
13632 need_lib_prefix=$need_lib_prefix
13634 # Do we need a version for libraries?
13635 need_version=$need_version
13637 # Whether dlopen is supported.
13638 dlopen_support=$enable_dlopen
13640 # Whether dlopen of programs is supported.
13641 dlopen_self=$enable_dlopen_self
13643 # Whether dlopen of statically linked programs is supported.
13644 dlopen_self_static=$enable_dlopen_self_static
13646 # Compiler flag to prevent dynamic linking.
13647 link_static_flag=$lt_lt_prog_compiler_static_CXX
13649 # Compiler flag to turn off builtin functions.
13650 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13652 # Compiler flag to allow reflexive dlopens.
13653 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13655 # Compiler flag to generate shared objects directly from archives.
13656 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13658 # Compiler flag to generate thread-safe objects.
13659 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13661 # Library versioning type.
13662 version_type=$version_type
13664 # Format of library name prefix.
13665 libname_spec=$lt_libname_spec
13667 # List of archive names. First name is the real one, the rest are links.
13668 # The last name is the one that the linker finds with -lNAME.
13669 library_names_spec=$lt_library_names_spec
13671 # The coded name of the library, if different from the real name.
13672 soname_spec=$lt_soname_spec
13674 # Commands used to build and install an old-style archive.
13676 old_archive_cmds=$lt_old_archive_cmds_CXX
13677 old_postinstall_cmds=$lt_old_postinstall_cmds
13678 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13680 # Create an old-style archive from a shared archive.
13681 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13683 # Create a temporary old-style archive to link instead of a shared archive.
13684 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13686 # Commands used to build and install a shared archive.
13687 archive_cmds=$lt_archive_cmds_CXX
13688 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13689 postinstall_cmds=$lt_postinstall_cmds
13690 postuninstall_cmds=$lt_postuninstall_cmds
13692 # Commands used to build a loadable module (assumed same as above if empty)
13693 module_cmds=$lt_module_cmds_CXX
13694 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13696 # Commands to strip libraries.
13697 old_striplib=$lt_old_striplib
13698 striplib=$lt_striplib
13700 # Dependencies to place before the objects being linked to create a
13702 predep_objects=$lt_predep_objects_CXX
13704 # Dependencies to place after the objects being linked to create a
13706 postdep_objects=$lt_postdep_objects_CXX
13708 # Dependencies to place before the objects being linked to create a
13710 predeps=$lt_predeps_CXX
13712 # Dependencies to place after the objects being linked to create a
13714 postdeps=$lt_postdeps_CXX
13716 # The library search path used internally by the compiler when linking
13717 # a shared library.
13718 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13720 # Method to check whether dependent libraries are shared objects.
13721 deplibs_check_method=$lt_deplibs_check_method
13723 # Command to use when deplibs_check_method == file_magic.
13724 file_magic_cmd=$lt_file_magic_cmd
13726 # Flag that allows shared libraries with undefined symbols to be built.
13727 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13729 # Flag that forces no undefined symbols.
13730 no_undefined_flag=$lt_no_undefined_flag_CXX
13732 # Commands used to finish a libtool library installation in a directory.
13733 finish_cmds=$lt_finish_cmds
13735 # Same as above, but a single script fragment to be evaled but not shown.
13736 finish_eval=$lt_finish_eval
13738 # Take the output of nm and produce a listing of raw symbols and C names.
13739 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13741 # Transform the output of nm in a proper C declaration
13742 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13744 # Transform the output of nm in a C name address pair
13745 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13747 # This is the shared library runtime path variable.
13748 runpath_var=$runpath_var
13750 # This is the shared library path variable.
13751 shlibpath_var=$shlibpath_var
13753 # Is shlibpath searched before the hard-coded library search path?
13754 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13756 # How to hardcode a shared library path into an executable.
13757 hardcode_action=$hardcode_action_CXX
13759 # Whether we should hardcode library paths into libraries.
13760 hardcode_into_libs=$hardcode_into_libs
13762 # Flag to hardcode \$libdir into a binary during linking.
13763 # This must work even if \$libdir does not exist.
13764 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13766 # If ld is used when linking, flag to hardcode \$libdir into
13767 # a binary during linking. This must work even if \$libdir does
13769 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13771 # Whether we need a single -rpath flag with a separated argument.
13772 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13774 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13775 # resulting binary.
13776 hardcode_direct=$hardcode_direct_CXX
13778 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13779 # resulting binary.
13780 hardcode_minus_L=$hardcode_minus_L_CXX
13782 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13783 # the resulting binary.
13784 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13786 # Set to yes if building a shared library automatically hardcodes DIR into the library
13787 # and all subsequent libraries and executables linked against it.
13788 hardcode_automatic=$hardcode_automatic_CXX
13790 # Variables whose values should be saved in libtool wrapper scripts and
13791 # restored at relink time.
13792 variables_saved_for_relink="$variables_saved_for_relink"
13794 # Whether libtool must link a program against all its dependency libraries.
13795 link_all_deplibs=$link_all_deplibs_CXX
13797 # Compile-time system search path for libraries
13798 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13800 # Run-time system search path for libraries
13801 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13803 # Fix the shell variable \$srcfile for the compiler.
13804 fix_srcfile_path="$fix_srcfile_path_CXX"
13806 # Set to yes if exported symbols are required.
13807 always_export_symbols=$always_export_symbols_CXX
13809 # The commands to list exported symbols.
13810 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13812 # The commands to extract the exported symbol list from a shared archive.
13813 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13815 # Symbols that should not be listed in the preloaded symbols.
13816 exclude_expsyms=$lt_exclude_expsyms_CXX
13818 # Symbols that must always be exported.
13819 include_expsyms=$lt_include_expsyms_CXX
13821 # ### END LIBTOOL TAG CONFIG: $tagname
13827 # If there is no Makefile yet, we rely on a make rule to execute
13828 # `config.status
--recheck' to rerun these tests and create the
13829 # libtool script then.
13830 test -f Makefile && make "$ltmain"
13835 ac_cpp='$CPP $CPPFLAGS'
13836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13837 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13844 with_gnu_ldcxx=$with_gnu_ld
13845 with_gnu_ld=$lt_save_with_gnu_ld
13846 lt_cv_path_LDCXX=$lt_cv_path_LD
13847 lt_cv_path_LD=$lt_save_path_LD
13848 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13849 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13857 if test -n "$F77" && test "X$F77" != "Xno"; then
13860 ac_compile='$F77 -c $FFLAGS conftest.
$ac_ext >&5'
13861 ac_link='$F77 -o conftest
$ac_exeext $FFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13862 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13865 archive_cmds_need_lc_F77=no
13866 allow_undefined_flag_F77=
13867 always_export_symbols_F77=no
13868 archive_expsym_cmds_F77=
13869 export_dynamic_flag_spec_F77=
13870 hardcode_direct_F77=no
13871 hardcode_libdir_flag_spec_F77=
13872 hardcode_libdir_flag_spec_ld_F77=
13873 hardcode_libdir_separator_F77=
13874 hardcode_minus_L_F77=no
13875 hardcode_automatic_F77=no
13877 module_expsym_cmds_F77=
13878 link_all_deplibs_F77=unknown
13879 old_archive_cmds_F77=$old_archive_cmds
13880 no_undefined_flag_F77=
13881 whole_archive_flag_spec_F77=
13882 enable_shared_with_static_runtimes_F77=no
13884 # Source file extension for f77 test sources.
13887 # Object file extension for compiled f77 test sources.
13891 # Code to be used in simple compile tests
13892 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
13894 # Code to be used in simple link tests
13895 lt_simple_link_test_code=" program t\n end\n"
13897 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13899 # If no C compiler was specified, use CC.
13902 # Allow CC to be a program name with arguments.
13906 # Allow CC to be a program name with arguments.
13911 cc_basename=`$echo X"$compiler" | $Xsed -e 's
%^.
*/%%'`
13913 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13914 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13915 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13916 echo "${ECHO_T}$can_build_shared" >&6; }
13918 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13919 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13920 test "$can_build_shared" = "no" && enable_shared=no
13922 # On AIX, shared libraries and static libraries use the same namespace, and
13923 # are all built from PIC.
13926 test "$enable_shared" = yes && enable_static=no
13927 if test -n "$RANLIB"; then
13928 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13929 postinstall_cmds='$RANLIB $lib'
13933 test "$enable_shared" = yes && enable_static=no
13936 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13937 echo "${ECHO_T}$enable_shared" >&6; }
13939 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13940 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13941 # Make sure either enable_shared or enable_static is yes.
13942 test "$enable_shared" = yes || enable_static=yes
13943 { echo "$as_me:$LINENO: result: $enable_static" >&5
13944 echo "${ECHO_T}$enable_static" >&6; }
13946 test "$ld_shlibs_F77" = no && can_build_shared=no
13951 lt_prog_compiler_wl_F77=
13952 lt_prog_compiler_pic_F77=
13953 lt_prog_compiler_static_F77=
13955 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13956 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13958 if test "$GCC" = yes; then
13959 lt_prog_compiler_wl_F77='-Wl,'
13960 lt_prog_compiler_static_F77='-static'
13964 # All AIX code is PIC.
13965 if test "$host_cpu" = ia64; then
13966 # AIX 5 now supports IA64 processor
13967 lt_prog_compiler_static_F77='-Bstatic'
13972 # FIXME: we need at least 68020 code to build shared libraries, but
13973 # adding the `-m68020' flag to GCC prevents building anything better
,
13975 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13978 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13979 # PIC is the default for these OSes.
13982 mingw
* | pw32
* | os2
*)
13983 # This hack is so that the source file can tell whether it is being
13984 # built for inclusion in a dll (and should export symbols for example).
13985 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13988 darwin
* | rhapsody
*)
13989 # PIC is the default on this platform
13990 # Common symbols not allowed in MH_DYLIB files
13991 lt_prog_compiler_pic_F77
='-fno-common'
13995 # Just because we use GCC doesn't mean we suddenly get shared libraries
13996 # on systems that don't support them.
13997 lt_prog_compiler_can_build_shared_F77
=no
14002 if test -d /usr
/nec
; then
14003 lt_prog_compiler_pic_F77
=-Kconform_pic
14008 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14009 # not for PA HP-UX.
14010 case "$host_cpu" in
14015 lt_prog_compiler_pic_F77
='-fPIC'
14021 lt_prog_compiler_pic_F77
='-fPIC'
14025 # PORTME Check for flag to pass linker flags through the system compiler.
14028 lt_prog_compiler_wl_F77
='-Wl,'
14029 if test "$host_cpu" = ia64
; then
14030 # AIX 5 now supports IA64 processor
14031 lt_prog_compiler_static_F77
='-Bstatic'
14033 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14037 mingw
* | pw32
* | os2
*)
14038 # This hack is so that the source file can tell whether it is being
14039 # built for inclusion in a dll (and should export symbols for example).
14040 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14043 hpux9
* | hpux10
* | hpux11
*)
14044 lt_prog_compiler_wl_F77
='-Wl,'
14045 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14046 # not for PA HP-UX.
14047 case "$host_cpu" in
14052 lt_prog_compiler_pic_F77
='+Z'
14055 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14056 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14059 irix5
* | irix6
* | nonstopux
*)
14060 lt_prog_compiler_wl_F77
='-Wl,'
14061 # PIC (with -KPIC) is the default.
14062 lt_prog_compiler_static_F77
='-non_shared'
14066 lt_prog_compiler_pic_F77
='-KPIC'
14067 lt_prog_compiler_static_F77
='-Bstatic'
14073 lt_prog_compiler_wl_F77
='-Wl,'
14074 lt_prog_compiler_pic_F77
='-KPIC'
14075 lt_prog_compiler_static_F77
='-static'
14078 lt_prog_compiler_wl_F77
='-Wl,'
14079 # All Alpha code is PIC.
14080 lt_prog_compiler_static_F77
='-non_shared'
14085 osf3
* | osf4
* | osf5
*)
14086 lt_prog_compiler_wl_F77
='-Wl,'
14087 # All OSF/1 code is PIC.
14088 lt_prog_compiler_static_F77
='-non_shared'
14092 lt_prog_compiler_pic_F77
='-Kpic'
14093 lt_prog_compiler_static_F77
='-dn'
14097 lt_prog_compiler_wl_F77
='-Wl,'
14098 lt_prog_compiler_pic_F77
='-KPIC'
14099 lt_prog_compiler_static_F77
='-Bstatic'
14103 lt_prog_compiler_wl_F77
='-Qoption ld '
14104 lt_prog_compiler_pic_F77
='-PIC'
14105 lt_prog_compiler_static_F77
='-Bstatic'
14108 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14109 lt_prog_compiler_wl_F77
='-Wl,'
14110 lt_prog_compiler_pic_F77
='-KPIC'
14111 lt_prog_compiler_static_F77
='-Bstatic'
14115 if test -d /usr
/nec
;then
14116 lt_prog_compiler_pic_F77
='-Kconform_pic'
14117 lt_prog_compiler_static_F77
='-Bstatic'
14122 lt_prog_compiler_pic_F77
='-pic'
14123 lt_prog_compiler_static_F77
='-Bstatic'
14127 lt_prog_compiler_can_build_shared_F77
=no
14132 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14133 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14136 # Check to make sure the PIC flag actually works.
14138 if test -n "$lt_prog_compiler_pic_F77"; then
14140 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14141 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14142 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14143 echo $ECHO_N "(cached) $ECHO_C" >&6
14145 lt_prog_compiler_pic_works_F77
=no
14146 ac_outfile
=conftest.
$ac_objext
14147 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14148 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14149 # Insert the option either (1) after the last *FLAGS variable, or
14150 # (2) before a word containing "conftest.", or (3) at the end.
14151 # Note that $ac_compile itself does not contain backslashes and begins
14152 # with a dollar sign (not a hyphen), so the echo should work correctly.
14153 # The option is referenced via a variable to avoid confusing sed.
14154 lt_compile
=`echo "$ac_compile" | $SED \
14155 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14156 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14157 -e 's:$: $lt_compiler_flag:'`
14158 (eval echo "\"\$as_me:14158: $lt_compile\"" >&5)
14159 (eval "$lt_compile" 2>conftest.err
)
14161 cat conftest.err
>&5
14162 echo "$as_me:14162: \$? = $ac_status" >&5
14163 if (exit $ac_status) && test -s "$ac_outfile"; then
14164 # The compiler can only warn and ignore the option if not recognized
14165 # So say no if there are warnings
14166 if test ! -s conftest.err
; then
14167 lt_prog_compiler_pic_works_F77
=yes
14173 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14174 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14176 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14177 case $lt_prog_compiler_pic_F77 in
14179 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14182 lt_prog_compiler_pic_F77
=
14183 lt_prog_compiler_can_build_shared_F77
=no
14188 # For platforms which do not support PIC, -DPIC is meaningless:
14190 lt_prog_compiler_pic_F77
=
14193 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14197 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14198 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14199 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14200 echo $ECHO_N "(cached) $ECHO_C" >&6
14202 lt_cv_prog_compiler_c_o_F77
=no
14203 $rm -r conftest
2>/dev
/null
14207 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14209 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
14210 # that will create temporary files in the current directory regardless of
14211 # the output directory. Thus, making CWD read-only will cause this test
14212 # to fail, enabling locking or at least warning the user not to do parallel
14216 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14217 # Insert the option either (1) after the last *FLAGS variable, or
14218 # (2) before a word containing "conftest.", or (3) at the end.
14219 # Note that $ac_compile itself does not contain backslashes and begins
14220 # with a dollar sign (not a hyphen), so the echo should work correctly.
14221 lt_compile
=`echo "$ac_compile" | $SED \
14222 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14223 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14224 -e 's:$: $lt_compiler_flag:'`
14225 (eval echo "\"\$as_me:14225: $lt_compile\"" >&5)
14226 (eval "$lt_compile" 2>out
/conftest.err
)
14228 cat out
/conftest.err
>&5
14229 echo "$as_me:14229: \$? = $ac_status" >&5
14230 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14232 # The compiler can only warn and ignore the option if not recognized
14233 # So say no if there are warnings
14234 if test ! -s out
/conftest.err
; then
14235 lt_cv_prog_compiler_c_o_F77
=yes
14240 # SGI C++ compiler will create directory out/ii_files/ for
14241 # template instantiation
14242 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14243 $rm out
/* && rmdir out
14249 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14250 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14253 hard_links
="nottested"
14254 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14255 # do not overwrite the value of need_locks provided by the user
14256 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14257 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14260 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14262 ln conftest.a conftest.b
2>&5 || hard_links
=no
14263 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14264 { echo "$as_me:$LINENO: result: $hard_links" >&5
14265 echo "${ECHO_T}$hard_links" >&6; }
14266 if test "$hard_links" = no
; then
14267 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14268 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14275 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14276 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14279 allow_undefined_flag_F77
=
14280 enable_shared_with_static_runtimes_F77
=no
14282 archive_expsym_cmds_F77
=
14283 old_archive_From_new_cmds_F77
=
14284 old_archive_from_expsyms_cmds_F77
=
14285 export_dynamic_flag_spec_F77
=
14286 whole_archive_flag_spec_F77
=
14287 thread_safe_flag_spec_F77
=
14288 hardcode_libdir_flag_spec_F77
=
14289 hardcode_libdir_flag_spec_ld_F77
=
14290 hardcode_libdir_separator_F77
=
14291 hardcode_direct_F77
=no
14292 hardcode_minus_L_F77
=no
14293 hardcode_shlibpath_var_F77
=unsupported
14294 link_all_deplibs_F77
=unknown
14295 hardcode_automatic_F77
=no
14297 module_expsym_cmds_F77
=
14298 always_export_symbols_F77
=no
14299 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14300 # include_expsyms should be a list of space-separated symbols to be *always*
14301 # included in the symbol list
14302 include_expsyms_F77
=
14303 # exclude_expsyms can be an extended regexp of symbols to exclude
14304 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14305 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14306 # as well as any symbol that contains `d'.
14307 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14308 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14309 # platforms (ab)use it in PIC code, but their linkers get confused if
14310 # the symbol is explicitly referenced. Since portable code cannot
14311 # rely on this symbol name, it's probably fine to never include it in
14312 # preloaded symbol tables.
14313 extract_expsyms_cmds
=
14316 cygwin
* | mingw
* | pw32
*)
14317 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14318 # When not using gcc, we currently assume that we are using
14319 # Microsoft Visual C++.
14320 if test "$GCC" != yes; then
14330 if test "$with_gnu_ld" = yes; then
14331 # If archive_cmds runs LD, not CC, wlarc should be empty
14334 # See if GNU ld supports shared libraries.
14336 aix3
* | aix4
* | aix5
*)
14337 # On AIX/PPC, the GNU linker is very broken
14338 if test "$host_cpu" != ia64
; then
14342 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14343 *** to be unable to reliably create shared libraries on AIX.
14344 *** Therefore, libtool is disabling shared libraries support. If you
14345 *** really care for shared libraries, you may want to modify your PATH
14346 *** so that a non-GNU linker is found, and then restart.
14353 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)'
14354 hardcode_libdir_flag_spec_F77
='-L$libdir'
14355 hardcode_minus_L_F77
=yes
14357 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14358 # that the semantics of dynamic libraries on AmigaOS, at least up
14359 # to version 4, is to share data among multiple programs linked
14360 # with the same dynamic library. Since this doesn't match the
14361 # behavior of shared libraries on other platforms, we can't use
14367 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14368 allow_undefined_flag_F77
=unsupported
14369 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14370 # support --undefined. This deserves some investigation. FIXME
14371 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14377 cygwin
* | mingw
* | pw32
*)
14378 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14379 # as there is no search path for DLLs.
14380 hardcode_libdir_flag_spec_F77
='-L$libdir'
14381 allow_undefined_flag_F77
=unsupported
14382 always_export_symbols_F77
=no
14383 enable_shared_with_static_runtimes_F77
=yes
14384 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14386 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14387 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14388 # If the export-symbols file already is a .def file (1st line
14389 # is EXPORTS), use it as is; otherwise, prepend...
14390 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14391 cp $export_symbols $output_objdir/$soname.def;
14393 echo EXPORTS > $output_objdir/$soname.def;
14394 cat $export_symbols >> $output_objdir/$soname.def;
14396 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14403 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14404 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14407 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14408 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14413 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14417 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14418 *** create shared libraries on Solaris systems. Therefore, libtool
14419 *** is disabling shared libraries support. We urge you to upgrade GNU
14420 *** binutils to release 2.9.1 or newer. Another option is to modify
14421 *** your PATH or compiler configuration so that the native linker is
14422 *** used, and then restart.
14425 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14426 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14427 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14434 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14436 hardcode_direct_F77
=yes
14437 hardcode_shlibpath_var_F77
=no
14441 if $LD --help 2>&1 |
egrep ': supported targets:.* elf' > /dev
/null
; then
14442 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14443 archive_cmds_F77
="$tmp_archive_cmds"
14444 supports_anon_versioning
=no
14445 case `$LD -v 2>/dev/null` in
14446 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14447 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14448 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14449 *\
2.11.
*) ;; # other 2.11 versions
14450 *) supports_anon_versioning
=yes ;;
14452 if test $supports_anon_versioning = yes; then
14453 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14454 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14455 $echo "local: *; };" >> $output_objdir/$libname.ver~
14456 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14458 archive_expsym_cmds_F77
="$tmp_archive_cmds"
14466 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14467 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14468 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14475 if test "$ld_shlibs_F77" = yes; then
14476 runpath_var
=LD_RUN_PATH
14477 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14478 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14479 # ancient GNU ld didn't support --whole-archive et. al.
14480 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14481 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14483 whole_archive_flag_spec_F77
=
14487 # PORTME fill in a description of your system's linker (not GNU ld)
14490 allow_undefined_flag_F77
=unsupported
14491 always_export_symbols_F77
=yes
14492 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'
14493 # Note: this linker hardcodes the directories in LIBPATH if there
14494 # are no directories specified by -L.
14495 hardcode_minus_L_F77
=yes
14496 if test "$GCC" = yes && test -z "$link_static_flag"; then
14497 # Neither direct hardcoding nor static linking is supported with a
14499 hardcode_direct_F77
=unsupported
14504 if test "$host_cpu" = ia64
; then
14505 # On IA64, the linker does run time linking by default, so we don't
14506 # have to do anything special.
14507 aix_use_runtimelinking
=no
14508 exp_sym_flag
='-Bexport'
14511 # If we're using GNU nm, then we don't want the "-C" option.
14512 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14513 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14514 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'
14516 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'
14518 aix_use_runtimelinking
=no
14520 # Test if we are trying to use run time linking or normal
14521 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14522 # need to do runtime linking.
14523 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14524 for ld_flag
in $LDFLAGS; do
14525 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14526 aix_use_runtimelinking
=yes
14532 exp_sym_flag
='-bexport'
14533 no_entry_flag
='-bnoentry'
14536 # When large executables or shared objects are built, AIX ld can
14537 # have problems creating the table of contents. If linking a library
14538 # or program results in "error TOC overflow" add -mminimal-toc to
14539 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14540 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14542 archive_cmds_F77
=''
14543 hardcode_direct_F77
=yes
14544 hardcode_libdir_separator_F77
=':'
14545 link_all_deplibs_F77
=yes
14547 if test "$GCC" = yes; then
14548 case $host_os in aix4.012|aix4.012.
*)
14549 # We only want to do this on AIX 4.2 and lower, the check
14550 # below for broken collect2 doesn't work under 4.3+
14551 collect2name
=`${CC} -print-prog-name=collect2`
14552 if test -f "$collect2name" && \
14553 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14555 # We have reworked collect2
14556 hardcode_direct_F77
=yes
14558 # We have old collect2
14559 hardcode_direct_F77
=unsupported
14560 # It fails to find uninstalled libraries when the uninstalled
14561 # path is not listed in the libpath. Setting hardcode_minus_L
14562 # to unsupported forces relinking
14563 hardcode_minus_L_F77
=yes
14564 hardcode_libdir_flag_spec_F77
='-L$libdir'
14565 hardcode_libdir_separator_F77
=
14568 shared_flag
='-shared'
14571 if test "$host_cpu" = ia64
; then
14572 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14573 # chokes on -Wl,-G. The following line is correct:
14576 if test "$aix_use_runtimelinking" = yes; then
14577 shared_flag
='${wl}-G'
14579 shared_flag
='${wl}-bM:SRE'
14584 # It seems that -bexpall does not export symbols beginning with
14585 # underscore (_), so it is better to generate a list of symbols to export.
14586 always_export_symbols_F77
=yes
14587 if test "$aix_use_runtimelinking" = yes; then
14588 # Warning - without using the other runtime loading flags (-brtl),
14589 # -berok will link without error, but may produce a broken library.
14590 allow_undefined_flag_F77
='-berok'
14591 # Determine the default libpath from the value encoded in an empty executable.
14592 cat >conftest.
$ac_ext <<_ACEOF
14597 rm -f conftest.
$ac_objext conftest
$ac_exeext
14598 if { (ac_try
="$ac_link"
14599 case "(($ac_try" in
14600 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14601 *) ac_try_echo=$ac_try;;
14603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14604 (eval "$ac_link") 2>conftest.er1
14606 grep -v '^ *+' conftest.er1 >conftest.err
14608 cat conftest.err >&5
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); } &&
14611 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14612 { (case "(($ac_try" in
14613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14614 *) ac_try_echo
=$ac_try;;
14616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14617 (eval "$ac_try") 2>&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); }; } &&
14621 { ac_try
='test -s conftest$ac_exeext'
14622 { (case "(($ac_try" in
14623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14624 *) ac_try_echo=$ac_try;;
14626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14627 (eval "$ac_try") 2>&5
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); }; }; then
14632 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14634 # Check for a 64-bit object if we didn't find anything.
14635 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; }
14638 echo "$as_me: failed program was:" >&5
14639 sed 's/^/| /' conftest.$ac_ext >&5
14644 rm -f core conftest.err conftest.$ac_objext \
14645 conftest$ac_exeext conftest.$ac_ext
14646 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14648 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14649 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"
14651 if test "$host_cpu" = ia64
; then
14652 hardcode_libdir_flag_spec_F77
='${wl}-R $libdir:/usr/lib:/lib'
14653 allow_undefined_flag_F77
="-z nodefs"
14654 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"
14656 # Determine the default libpath from the value encoded in an empty executable.
14657 cat >conftest.$ac_ext <<_ACEOF
14662 rm -f conftest.$ac_objext conftest$ac_exeext
14663 if { (ac_try="$ac_link"
14664 case "(($ac_try" in
14665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14666 *) ac_try_echo=$ac_try;;
14668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14669 (eval "$ac_link") 2>conftest.er1
14671 grep -v '^
*+' conftest.er1 >conftest.err
14673 cat conftest.err >&5
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 (exit $ac_status); } &&
14676 { ac_try='test -z "$ac_f77_werror_flag" ||
test ! -s conftest.err
'
14677 { (case "(($ac_try" in
14678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14679 *) ac_try_echo=$ac_try;;
14681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14682 (eval "$ac_try") 2>&5
14684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14685 (exit $ac_status); }; } &&
14686 { ac_try='test -s conftest
$ac_exeext'
14687 { (case "(($ac_try" in
14688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14689 *) ac_try_echo=$ac_try;;
14691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14692 (eval "$ac_try") 2>&5
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); }; }; then
14697 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings
/,/^$
/ { /^
0/ { s
/^
0 *\
(.
*\
)$
/\
1/; p
; }
14699 # Check for a 64-bit object if we didn't
find anything.
14700 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; }
14703 echo "$as_me: failed program was:" >&5
14704 sed 's/^/| /' conftest.
$ac_ext >&5
14709 rm -f core conftest.err conftest.
$ac_objext \
14710 conftest
$ac_exeext conftest.
$ac_ext
14711 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14713 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14714 # Warning - without using the other run time loading flags,
14715 # -berok will link without error, but may produce a broken library.
14716 no_undefined_flag_F77
=' ${wl}-bernotok'
14717 allow_undefined_flag_F77
=' ${wl}-berok'
14718 # -bexpall does not export symbols beginning with underscore (_)
14719 always_export_symbols_F77
=yes
14720 # Exported symbols can be pulled into shared objects from archives
14721 whole_archive_flag_spec_F77
=' '
14722 archive_cmds_need_lc_F77
=yes
14723 # This is similar to how AIX traditionally builds it's shared libraries.
14724 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'
14730 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)'
14731 hardcode_libdir_flag_spec_F77
='-L$libdir'
14732 hardcode_minus_L_F77
=yes
14733 # see comment about different semantics on the GNU ld section
14738 export_dynamic_flag_spec_F77
=-rdynamic
14741 cygwin
* | mingw
* | pw32
*)
14742 # When not using gcc, we currently assume that we are using
14743 # Microsoft Visual C++.
14744 # hardcode_libdir_flag_spec is actually meaningless, as there is
14745 # no search path for DLLs.
14746 hardcode_libdir_flag_spec_F77
=' '
14747 allow_undefined_flag_F77
=unsupported
14748 # Tell ltmain to make .lib files, not .a files.
14750 # Tell ltmain to make .dll files, not .so files.
14752 # FIXME: Setting linknames here is a bad hack.
14753 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14754 # The linker will automatically build a .lib file if we build a DLL.
14755 old_archive_From_new_cmds_F77
='true'
14756 # FIXME: Should let the user specify the lib program.
14757 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14758 fix_srcfile_path
='`cygpath -w "$srcfile"`'
14759 enable_shared_with_static_runtimes_F77
=yes
14762 darwin
* | rhapsody
*)
14763 if test "$GXX" = yes ; then
14764 archive_cmds_need_lc_F77
=no
14766 rhapsody
* | darwin1.
[012])
14767 allow_undefined_flag_F77
='-undefined suppress'
14770 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14771 allow_undefined_flag_F77
='-flat_namespace -undefined suppress'
14773 case ${MACOSX_DEPLOYMENT_TARGET} in
14775 allow_undefined_flag_F77
='-flat_namespace -undefined suppress'
14778 allow_undefined_flag_F77
='-undefined dynamic_lookup'
14784 lt_int_apple_cc_single_mod
=no
14785 output_verbose_link_cmd
='echo'
14786 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
14787 lt_int_apple_cc_single_mod
=yes
14789 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
14790 archive_cmds_F77
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14792 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'
14794 module_cmds_F77
='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14795 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14796 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
14797 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}'
14799 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}'
14801 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}'
14802 hardcode_direct_F77
=no
14803 hardcode_automatic_F77
=yes
14804 hardcode_shlibpath_var_F77
=unsupported
14805 whole_archive_flag_spec_F77
='-all_load $convenience'
14806 link_all_deplibs_F77
=yes
14813 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14814 hardcode_libdir_flag_spec_F77
='-L$libdir'
14815 hardcode_shlibpath_var_F77
=no
14822 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14823 # support. Future versions do this automatically, but an explicit c++rt0.o
14824 # does not break anything, and helps significantly (at the cost of a little
14827 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14828 hardcode_libdir_flag_spec_F77
='-R$libdir'
14829 hardcode_direct_F77
=yes
14830 hardcode_shlibpath_var_F77
=no
14833 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14835 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14836 hardcode_direct_F77
=yes
14837 hardcode_minus_L_F77
=yes
14838 hardcode_shlibpath_var_F77
=no
14841 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14842 freebsd
* | kfreebsd
*-gnu)
14843 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14844 hardcode_libdir_flag_spec_F77
='-R$libdir'
14845 hardcode_direct_F77
=yes
14846 hardcode_shlibpath_var_F77
=no
14850 if test "$GCC" = yes; then
14851 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'
14853 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'
14855 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14856 hardcode_libdir_separator_F77
=:
14857 hardcode_direct_F77
=yes
14859 # hardcode_minus_L: Not really in the search PATH,
14860 # but as the default location of the library.
14861 hardcode_minus_L_F77
=yes
14862 export_dynamic_flag_spec_F77
='${wl}-E'
14866 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14867 case "$host_cpu" in
14869 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14872 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14876 case "$host_cpu" in
14878 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
14881 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14885 if test "$with_gnu_ld" = no
; then
14886 case "$host_cpu" in
14888 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14889 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14890 hardcode_libdir_separator_F77
=:
14891 hardcode_direct_F77
=no
14892 hardcode_shlibpath_var_F77
=no
14895 hardcode_libdir_flag_spec_F77
='-L$libdir'
14896 hardcode_direct_F77
=no
14897 hardcode_shlibpath_var_F77
=no
14899 # hardcode_minus_L: Not really in the search PATH,
14900 # but as the default location of the library.
14901 hardcode_minus_L_F77
=yes
14904 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14905 hardcode_libdir_separator_F77
=:
14906 hardcode_direct_F77
=yes
14907 export_dynamic_flag_spec_F77
='${wl}-E'
14909 # hardcode_minus_L: Not really in the search PATH,
14910 # but as the default location of the library.
14911 hardcode_minus_L_F77
=yes
14917 irix5
* | irix6
* | nonstopux
*)
14918 if test "$GCC" = yes; then
14919 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'
14921 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'
14922 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14924 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14925 hardcode_libdir_separator_F77
=:
14926 link_all_deplibs_F77
=yes
14930 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14931 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14933 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14935 hardcode_libdir_flag_spec_F77
='-R$libdir'
14936 hardcode_direct_F77
=yes
14937 hardcode_shlibpath_var_F77
=no
14941 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14942 hardcode_direct_F77
=yes
14943 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14944 hardcode_libdir_separator_F77
=:
14945 hardcode_shlibpath_var_F77
=no
14949 hardcode_direct_F77
=yes
14950 hardcode_shlibpath_var_F77
=no
14951 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14952 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14953 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14954 export_dynamic_flag_spec_F77
='${wl}-E'
14957 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14958 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14959 hardcode_libdir_flag_spec_F77
='-R$libdir'
14962 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14963 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14970 hardcode_libdir_flag_spec_F77
='-L$libdir'
14971 hardcode_minus_L_F77
=yes
14972 allow_undefined_flag_F77
=unsupported
14973 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'
14974 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14978 if test "$GCC" = yes; then
14979 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14980 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'
14982 allow_undefined_flag_F77
=' -expect_unresolved \*'
14983 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'
14985 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14986 hardcode_libdir_separator_F77
=:
14989 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14990 if test "$GCC" = yes; then
14991 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14992 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'
14993 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14995 allow_undefined_flag_F77
=' -expect_unresolved \*'
14996 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'
14997 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~
14998 $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'
15000 # Both c and cxx compiler support -rpath directly
15001 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15003 hardcode_libdir_separator_F77
=:
15007 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15008 hardcode_shlibpath_var_F77
=no
15009 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15010 runpath_var
=LD_RUN_PATH
15011 hardcode_runpath_var
=yes
15015 no_undefined_flag_F77
=' -z text'
15016 if test "$GCC" = yes; then
15017 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15018 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15019 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15021 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15022 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15023 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15025 hardcode_libdir_flag_spec_F77
='-R$libdir'
15026 hardcode_shlibpath_var_F77
=no
15028 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15029 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
15030 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
15032 link_all_deplibs_F77
=yes
15036 if test "x$host_vendor" = xsequent
; then
15037 # Use $CC to link under sequent, because it throws in some extra .o
15038 # files that make .init and .fini sections work.
15039 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15041 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15043 hardcode_libdir_flag_spec_F77
='-L$libdir'
15044 hardcode_direct_F77
=yes
15045 hardcode_minus_L_F77
=yes
15046 hardcode_shlibpath_var_F77
=no
15050 case $host_vendor in
15052 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15053 hardcode_direct_F77
=yes # is this really true???
15056 ## LD is ld it makes a PLAMLIB
15057 ## CC just makes a GrossModule.
15058 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15059 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15060 hardcode_direct_F77
=no
15063 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15064 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15067 runpath_var
='LD_RUN_PATH'
15068 hardcode_shlibpath_var_F77
=no
15072 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15073 hardcode_shlibpath_var_F77
=no
15074 export_dynamic_flag_spec_F77
='-Bexport'
15078 if test -d /usr
/nec
; then
15079 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15080 hardcode_shlibpath_var_F77
=no
15081 runpath_var
=LD_RUN_PATH
15082 hardcode_runpath_var
=yes
15088 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15089 hardcode_direct_F77
=yes
15090 hardcode_minus_L_F77
=no
15091 hardcode_shlibpath_var_F77
=no
15092 hardcode_runpath_var
=yes
15093 runpath_var
=LD_RUN_PATH
15096 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
15097 no_undefined_flag_F77
='${wl}-z ${wl}text'
15098 if test "$GCC" = yes; then
15099 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15101 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15103 runpath_var
='LD_RUN_PATH'
15104 hardcode_shlibpath_var_F77
=no
15108 no_undefined_flag_F77
=' -z text'
15109 # $CC -shared without GNU ld will not create a library from C++
15110 # object files and a static libstdc++, better avoid it by now
15111 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15112 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15113 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15114 hardcode_libdir_flag_spec_F77
=
15115 hardcode_shlibpath_var_F77
=no
15116 runpath_var
='LD_RUN_PATH'
15120 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15121 hardcode_libdir_flag_spec_F77
='-L$libdir'
15122 hardcode_shlibpath_var_F77
=no
15131 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15132 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15133 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15135 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15136 if test "$GCC" = yes; then
15137 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15141 # Do we need to explicitly link libc?
15143 case "x$archive_cmds_need_lc_F77" in
15145 # Assume -lc should be added
15146 archive_cmds_need_lc_F77
=yes
15148 if test "$enable_shared" = yes && test "$GCC" = yes; then
15149 case $archive_cmds_F77 in
15151 # FIXME: we may have to deal with multi-command sequences.
15154 # Test whether the compiler implicitly links with -lc since on some
15155 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15156 # to ld, don't add -lc before -lgcc.
15157 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15158 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15160 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15163 (eval $ac_compile) 2>&5
15165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15166 (exit $ac_status); } 2>conftest.err
; then
15169 libobjs
=conftest.
$ac_objext
15171 wl
=$lt_prog_compiler_wl_F77
15177 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15178 allow_undefined_flag_F77
=
15179 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15180 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); }
15185 archive_cmds_need_lc_F77
=no
15187 archive_cmds_need_lc_F77
=yes
15189 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15191 cat conftest.err
1>&5
15194 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15195 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15202 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15203 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15204 library_names_spec
=
15205 libname_spec
='lib$name'
15209 postuninstall_cmds
=
15213 shlibpath_overrides_runpath
=unknown
15215 dynamic_linker
="$host_os ld.so"
15216 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15217 if test "$GCC" = yes; then
15218 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15219 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15220 # if the path contains ";" then we assume it to be the separator
15221 # otherwise default to the standard path separator (i.e. ":") - it is
15222 # assumed that no part of a normal pathname contains ";" but that should
15223 # okay in the real world where ";" in dirpaths is itself problematic.
15224 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15226 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15229 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15231 need_lib_prefix
=unknown
15232 hardcode_into_libs
=no
15234 # when you set need_version to no, make sure it does not cause -set_version
15235 # flags to be left without arguments
15236 need_version
=unknown
15241 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15242 shlibpath_var
=LIBPATH
15244 # AIX 3 has no versioning support, so we append a major version to the name.
15245 soname_spec
='${libname}${release}${shared_ext}$major'
15252 hardcode_into_libs
=yes
15253 if test "$host_cpu" = ia64
; then
15254 # AIX 5 supports IA64
15255 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15256 shlibpath_var
=LD_LIBRARY_PATH
15258 # With GCC up to 2.95.x, collect2 would create an import file
15259 # for dependence libraries. The import file would start with
15260 # the line `#! .'. This would cause the generated library to
15261 # depend on `.', always an invalid library. This was fixed in
15262 # development snapshots of GCC prior to 3.0.
15264 aix4 | aix4.
[01] | aix4.
[01].
*)
15265 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15267 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15270 can_build_shared
=no
15274 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15275 # soname into executable. Probably we can add versioning support to
15276 # collect2, so additional links can be useful in future.
15277 if test "$aix_use_runtimelinking" = yes; then
15278 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15279 # instead of lib<name>.a to let people know that these are not
15280 # typical AIX shared libraries.
15281 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15283 # We preserve .a as extension for shared libraries through AIX4.2
15284 # and later when we are not doing run time linking.
15285 library_names_spec
='${libname}${release}.a $libname.a'
15286 soname_spec
='${libname}${release}${shared_ext}$major'
15288 shlibpath_var
=LIBPATH
15293 library_names_spec
='$libname.ixlibrary $libname.a'
15294 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15295 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'
15299 library_names_spec
='${libname}${shared_ext}'
15300 dynamic_linker
="$host_os ld.so"
15301 shlibpath_var
=LIBRARY_PATH
15307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15308 soname_spec
='${libname}${release}${shared_ext}$major'
15309 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15310 shlibpath_var
=LD_LIBRARY_PATH
15311 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15312 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15313 # the default ld.so.conf also contains /usr/contrib/lib and
15314 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15315 # libtool to hard-code these into programs
15318 cygwin
* | mingw
* | pw32
*)
15319 version_type
=windows
15324 case $GCC,$host_os in
15325 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15326 library_names_spec
='$libname.dll.a'
15327 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15328 postinstall_cmds
='base_file=`basename \${file}`~
15329 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15330 dldir=$destdir/`dirname \$dlpath`~
15331 test -d \$dldir || mkdir -p \$dldir~
15332 $install_prog $dir/$dlname \$dldir/$dlname'
15333 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15334 dlpath=$dir/\$dldll~
15336 shlibpath_overrides_runpath
=yes
15340 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15341 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15342 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15345 # MinGW DLLs use traditional 'lib' prefix
15346 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15347 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15348 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15349 # It is most probably a Windows format PATH printed by
15350 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15351 # path with ; separators, and with drive letters. We can handle the
15352 # drive letters (cygwin fileutils understands them), so leave them,
15353 # especially as we might pass files found there to a mingw objdump,
15354 # which wouldn't understand a cygwinified path. Ahh.
15355 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15357 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15361 # pw32 DLLs use 'pw' prefix rather than 'lib'
15362 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
15368 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15371 dynamic_linker
='Win32 ld.exe'
15372 # FIXME: first we should search . and the directory the executable is in
15376 darwin
* | rhapsody
*)
15377 dynamic_linker
="$host_os dyld"
15378 version_type
=darwin
15381 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15382 soname_spec
='${libname}${release}${major}$shared_ext'
15383 shlibpath_overrides_runpath
=yes
15384 shlibpath_var
=DYLD_LIBRARY_PATH
15385 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
15386 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15387 if test "$GCC" = yes; then
15388 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"`
15390 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15392 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15400 soname_spec
='${libname}${release}${shared_ext}$major'
15401 shlibpath_var
=LD_LIBRARY_PATH
15412 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15413 soname_spec
='${libname}${release}${shared_ext}$major'
15414 shlibpath_var
=LD_LIBRARY_PATH
15415 shlibpath_overrides_runpath
=no
15416 hardcode_into_libs
=yes
15417 dynamic_linker
='GNU ld.so'
15421 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
15422 version_type
=freebsd-
$objformat
15423 case $version_type in
15425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15430 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15434 shlibpath_var
=LD_LIBRARY_PATH
15437 shlibpath_overrides_runpath
=yes
15439 freebsd3.01
* | freebsdelf3.01
*)
15440 shlibpath_overrides_runpath
=yes
15441 hardcode_into_libs
=yes
15444 shlibpath_overrides_runpath
=no
15445 hardcode_into_libs
=yes
15454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15455 soname_spec
='${libname}${release}${shared_ext}$major'
15456 shlibpath_var
=LD_LIBRARY_PATH
15457 hardcode_into_libs
=yes
15460 hpux9
* | hpux10
* | hpux11
*)
15461 # Give a soname corresponding to the major version so that dld.sl refuses to
15462 # link against other versions.
15466 case "$host_cpu" in
15469 hardcode_into_libs
=yes
15470 dynamic_linker
="$host_os dld.so"
15471 shlibpath_var
=LD_LIBRARY_PATH
15472 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15474 soname_spec
='${libname}${release}${shared_ext}$major'
15475 if test "X$HPUX_IA64_MODE" = X32
; then
15476 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15478 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15480 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15484 hardcode_into_libs
=yes
15485 dynamic_linker
="$host_os dld.sl"
15486 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15487 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15489 soname_spec
='${libname}${release}${shared_ext}$major'
15490 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15491 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15495 dynamic_linker
="$host_os dld.sl"
15496 shlibpath_var
=SHLIB_PATH
15497 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15498 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15499 soname_spec
='${libname}${release}${shared_ext}$major'
15502 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15503 postinstall_cmds
='chmod 555 $lib'
15506 irix5
* | irix6
* | nonstopux
*)
15508 nonstopux
*) version_type
=nonstopux
;;
15510 if test "$lt_cv_prog_gnu_ld" = yes; then
15518 soname_spec
='${libname}${release}${shared_ext}$major'
15519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15521 irix5
* | nonstopux
*)
15522 libsuff
= shlibsuff
=
15525 case $LD in # libtool.m4 will add one of these switches to LD
15526 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15527 libsuff
= shlibsuff
= libmagic
=32-bit;;
15528 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15529 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15530 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15531 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15532 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15536 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15537 shlibpath_overrides_runpath
=no
15538 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15539 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15540 hardcode_into_libs
=yes
15543 # No shared lib support for Linux oldld, aout, or coff.
15544 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15548 # This must be Linux ELF.
15553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15554 soname_spec
='${libname}${release}${shared_ext}$major'
15555 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15556 shlibpath_var
=LD_LIBRARY_PATH
15557 shlibpath_overrides_runpath
=no
15558 # This implies no fast_install, which is unacceptable.
15559 # Some rework will be needed to allow for fast_install
15560 # before this can be enabled.
15561 hardcode_into_libs
=yes
15563 # We used to test for /lib/ld.so.1 and disable shared libraries on
15564 # powerpc, because MkLinux only supported shared libraries with the
15565 # GNU dynamic linker. Since this was broken with cross compilers,
15566 # most powerpc-linux boxes support dynamic linking these days and
15567 # people can always --disable-shared, the test was removed, and we
15568 # assume the GNU/Linux dynamic linker is in use.
15569 dynamic_linker
='GNU/Linux ld.so'
15576 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15578 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15579 dynamic_linker
='NetBSD (a.out) ld.so'
15581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
15582 soname_spec
='${libname}${release}${shared_ext}$major'
15583 dynamic_linker
='NetBSD ld.elf_so'
15585 shlibpath_var
=LD_LIBRARY_PATH
15586 shlibpath_overrides_runpath
=yes
15587 hardcode_into_libs
=yes
15592 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15593 shlibpath_var
=LD_LIBRARY_PATH
15594 shlibpath_overrides_runpath
=yes
15601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15602 soname_spec
='${libname}${release}${shared_ext}$major'
15603 shlibpath_var
=LD_LIBRARY_PATH
15604 shlibpath_overrides_runpath
=yes
15611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15612 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15613 shlibpath_var
=LD_LIBRARY_PATH
15614 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15616 openbsd2.
[89] | openbsd2.
[89].
*)
15617 shlibpath_overrides_runpath
=no
15620 shlibpath_overrides_runpath
=yes
15624 shlibpath_overrides_runpath
=yes
15629 libname_spec
='$name'
15632 library_names_spec
='$libname${shared_ext} $libname.a'
15633 dynamic_linker
='OS/2 ld.exe'
15634 shlibpath_var
=LIBPATH
15637 osf3
* | osf4
* | osf5
*)
15641 soname_spec
='${libname}${release}${shared_ext}$major'
15642 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15643 shlibpath_var
=LD_LIBRARY_PATH
15644 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15645 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15650 soname_spec
='${libname}${release}${shared_ext}$major'
15651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15652 shlibpath_var
=LD_LIBRARY_PATH
15659 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15660 soname_spec
='${libname}${release}${shared_ext}$major'
15661 shlibpath_var
=LD_LIBRARY_PATH
15662 shlibpath_overrides_runpath
=yes
15663 hardcode_into_libs
=yes
15664 # ldd complains unless libraries are executable
15665 postinstall_cmds
='chmod +x $lib'
15670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15671 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15672 shlibpath_var
=LD_LIBRARY_PATH
15673 shlibpath_overrides_runpath
=yes
15674 if test "$with_gnu_ld" = yes; then
15680 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15683 soname_spec
='${libname}${release}${shared_ext}$major'
15684 shlibpath_var
=LD_LIBRARY_PATH
15685 case $host_vendor in
15687 shlibpath_overrides_runpath
=no
15689 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15690 runpath_var
=LD_RUN_PATH
15698 shlibpath_overrides_runpath
=no
15699 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15705 if test -d /usr
/nec
;then
15707 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15708 soname_spec
='$libname${shared_ext}.$major'
15709 shlibpath_var
=LD_LIBRARY_PATH
15715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15716 soname_spec
='${libname}${release}${shared_ext}$major'
15717 shlibpath_var
=LD_LIBRARY_PATH
15724 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15725 echo "${ECHO_T}$dynamic_linker" >&6; }
15726 test "$dynamic_linker" = no
&& can_build_shared
=no
15728 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15729 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15730 hardcode_action_F77
=
15731 if test -n "$hardcode_libdir_flag_spec_F77" || \
15732 test -n "$runpath_var F77" || \
15733 test "X$hardcode_automatic_F77"="Xyes" ; then
15735 # We can hardcode non-existant directories.
15736 if test "$hardcode_direct_F77" != no
&&
15737 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15738 # have to relink, otherwise we might link with an installed library
15739 # when we should be linking with a yet-to-be-installed one
15740 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15741 test "$hardcode_minus_L_F77" != no
; then
15742 # Linking always hardcodes the temporary library directory.
15743 hardcode_action_F77
=relink
15745 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15746 hardcode_action_F77
=immediate
15749 # We cannot hardcode anything, or else we can only hardcode existing
15751 hardcode_action_F77
=unsupported
15753 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15754 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15756 if test "$hardcode_action_F77" = relink
; then
15757 # Fast installation is not supported
15758 enable_fast_install
=no
15759 elif test "$shlibpath_overrides_runpath" = yes ||
15760 test "$enable_shared" = no
; then
15761 # Fast installation is not necessary
15762 enable_fast_install
=needless
15767 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15768 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
15769 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
15770 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
15771 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
15772 { echo "$as_me:$LINENO: result: yes" >&5
15773 echo "${ECHO_T}yes" >&6; }
15775 # FIXME - insert some real tests, host_os isn't really good enough
15778 if test -n "$STRIP" ; then
15779 striplib
="$STRIP -x"
15780 { echo "$as_me:$LINENO: result: yes" >&5
15781 echo "${ECHO_T}yes" >&6; }
15783 { echo "$as_me:$LINENO: result: no" >&5
15784 echo "${ECHO_T}no" >&6; }
15788 { echo "$as_me:$LINENO: result: no" >&5
15789 echo "${ECHO_T}no" >&6; }
15796 # The else clause should only fire when bootstrapping the
15797 # libtool distribution, otherwise you forgot to ship ltmain.sh
15798 # with your package, and you will get complaints that there are
15799 # no rules to generate ltmain.sh.
15800 if test -f "$ltmain"; then
15801 # See if we are running on zsh, and set the options which allow our commands through
15802 # without removal of \ escapes.
15803 if test -n "${ZSH_VERSION+set}" ; then
15804 setopt NO_GLOB_SUBST
15806 # Now quote all the things that may contain metacharacters while being
15807 # careful not to overquote the AC_SUBSTed values. We take copies of the
15808 # variables and quote the copies for generation of the libtool script.
15809 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
15810 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15811 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15812 deplibs_check_method reload_flag reload_cmds need_locks \
15813 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15814 lt_cv_sys_global_symbol_to_c_name_address \
15815 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15816 old_postinstall_cmds old_postuninstall_cmds \
15820 lt_prog_compiler_wl_F77 \
15821 lt_prog_compiler_pic_F77 \
15822 lt_prog_compiler_static_F77 \
15823 lt_prog_compiler_no_builtin_flag_F77 \
15824 export_dynamic_flag_spec_F77 \
15825 thread_safe_flag_spec_F77 \
15826 whole_archive_flag_spec_F77 \
15827 enable_shared_with_static_runtimes_F77 \
15828 old_archive_cmds_F77 \
15829 old_archive_from_new_cmds_F77 \
15830 predep_objects_F77 \
15831 postdep_objects_F77 \
15834 compiler_lib_search_path_F77 \
15836 archive_expsym_cmds_F77 \
15837 postinstall_cmds_F77 \
15838 postuninstall_cmds_F77 \
15839 old_archive_from_expsyms_cmds_F77 \
15840 allow_undefined_flag_F77 \
15841 no_undefined_flag_F77 \
15842 export_symbols_cmds_F77 \
15843 hardcode_libdir_flag_spec_F77 \
15844 hardcode_libdir_flag_spec_ld_F77 \
15845 hardcode_libdir_separator_F77 \
15846 hardcode_automatic_F77 \
15848 module_expsym_cmds_F77 \
15849 lt_cv_prog_compiler_c_o_F77 \
15850 exclude_expsyms_F77 \
15851 include_expsyms_F77
; do
15854 old_archive_cmds_F77 | \
15855 old_archive_from_new_cmds_F77 | \
15856 archive_cmds_F77 | \
15857 archive_expsym_cmds_F77 | \
15858 module_cmds_F77 | \
15859 module_expsym_cmds_F77 | \
15860 old_archive_from_expsyms_cmds_F77 | \
15861 export_symbols_cmds_F77 | \
15862 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15863 postinstall_cmds | postuninstall_cmds | \
15864 old_postinstall_cmds | old_postuninstall_cmds | \
15865 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15866 # Double-quote double-evaled strings.
15867 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15870 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15876 *'\$0 --fallback-echo"')
15877 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15883 cat <<__EOF__ >> "$cfgfile"
15884 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15886 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15888 # Shell to use when invoking shell scripts.
15891 # Whether or not to build shared libraries.
15892 build_libtool_libs=$enable_shared
15894 # Whether or not to build static libraries.
15895 build_old_libs=$enable_static
15897 # Whether or not to add -lc for building shared libraries.
15898 build_libtool_need_lc=$archive_cmds_need_lc_F77
15900 # Whether or not to disallow shared libs when runtime libs are static
15901 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15903 # Whether or not to optimize for fast installation.
15904 fast_install=$enable_fast_install
15907 host_alias=$host_alias
15910 # An echo program that does not interpret backslashes.
15915 AR_FLAGS=$lt_AR_FLAGS
15920 # A language-specific compiler.
15921 CC=$lt_compiler_F77
15923 # Is the compiler the GNU C compiler?
15929 # The linker used to build libraries.
15932 # Whether we need hard or soft links.
15935 # A BSD-compatible nm program.
15938 # A symbol stripping program
15941 # Used to examine libraries when file_magic_cmd begins "file"
15942 MAGIC_CMD=$MAGIC_CMD
15944 # Used on cygwin: DLL creation program.
15947 # Used on cygwin: object dumper.
15950 # Used on cygwin: assembler.
15953 # The name of the directory that contains temporary libtool files.
15956 # How to create reloadable object files.
15957 reload_flag=$lt_reload_flag
15958 reload_cmds=$lt_reload_cmds
15960 # How to pass a linker flag through the compiler.
15961 wl=$lt_lt_prog_compiler_wl_F77
15963 # Object file suffix (normally "o").
15964 objext="$ac_objext"
15966 # Old archive suffix (normally "a").
15969 # Shared library suffix (normally ".so").
15972 # Executable file suffix (normally "").
15975 # Additional compiler flags for building library objects.
15976 pic_flag=$lt_lt_prog_compiler_pic_F77
15979 # What is the maximum length of a command?
15980 max_cmd_len=$lt_cv_sys_max_cmd_len
15982 # Does compiler simultaneously support -c and -o options?
15983 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15985 # Must we lock files when doing compilation ?
15986 need_locks=$lt_need_locks
15988 # Do we need the lib prefix for modules?
15989 need_lib_prefix=$need_lib_prefix
15991 # Do we need a version for libraries?
15992 need_version=$need_version
15994 # Whether dlopen is supported.
15995 dlopen_support=$enable_dlopen
15997 # Whether dlopen of programs is supported.
15998 dlopen_self=$enable_dlopen_self
16000 # Whether dlopen of statically linked programs is supported.
16001 dlopen_self_static=$enable_dlopen_self_static
16003 # Compiler flag to prevent dynamic linking.
16004 link_static_flag=$lt_lt_prog_compiler_static_F77
16006 # Compiler flag to turn off builtin functions.
16007 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16009 # Compiler flag to allow reflexive dlopens.
16010 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16012 # Compiler flag to generate shared objects directly from archives.
16013 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16015 # Compiler flag to generate thread-safe objects.
16016 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16018 # Library versioning type.
16019 version_type=$version_type
16021 # Format of library name prefix.
16022 libname_spec=$lt_libname_spec
16024 # List of archive names. First name is the real one, the rest are links.
16025 # The last name is the one that the linker finds with -lNAME.
16026 library_names_spec=$lt_library_names_spec
16028 # The coded name of the library, if different from the real name.
16029 soname_spec=$lt_soname_spec
16031 # Commands used to build and install an old-style archive.
16033 old_archive_cmds=$lt_old_archive_cmds_F77
16034 old_postinstall_cmds=$lt_old_postinstall_cmds
16035 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16037 # Create an old-style archive from a shared archive.
16038 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16040 # Create a temporary old-style archive to link instead of a shared archive.
16041 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16043 # Commands used to build and install a shared archive.
16044 archive_cmds=$lt_archive_cmds_F77
16045 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16046 postinstall_cmds=$lt_postinstall_cmds
16047 postuninstall_cmds=$lt_postuninstall_cmds
16049 # Commands used to build a loadable module (assumed same as above if empty)
16050 module_cmds=$lt_module_cmds_F77
16051 module_expsym_cmds=$lt_module_expsym_cmds_F77
16053 # Commands to strip libraries.
16054 old_striplib=$lt_old_striplib
16055 striplib=$lt_striplib
16057 # Dependencies to place before the objects being linked to create a
16059 predep_objects=$lt_predep_objects_F77
16061 # Dependencies to place after the objects being linked to create a
16063 postdep_objects=$lt_postdep_objects_F77
16065 # Dependencies to place before the objects being linked to create a
16067 predeps=$lt_predeps_F77
16069 # Dependencies to place after the objects being linked to create a
16071 postdeps=$lt_postdeps_F77
16073 # The library search path used internally by the compiler when linking
16074 # a shared library.
16075 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16077 # Method to check whether dependent libraries are shared objects.
16078 deplibs_check_method=$lt_deplibs_check_method
16080 # Command to use when deplibs_check_method == file_magic.
16081 file_magic_cmd=$lt_file_magic_cmd
16083 # Flag that allows shared libraries with undefined symbols to be built.
16084 allow_undefined_flag=$lt_allow_undefined_flag_F77
16086 # Flag that forces no undefined symbols.
16087 no_undefined_flag=$lt_no_undefined_flag_F77
16089 # Commands used to finish a libtool library installation in a directory.
16090 finish_cmds=$lt_finish_cmds
16092 # Same as above, but a single script fragment to be evaled but not shown.
16093 finish_eval=$lt_finish_eval
16095 # Take the output of nm and produce a listing of raw symbols and C names.
16096 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16098 # Transform the output of nm in a proper C declaration
16099 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16101 # Transform the output of nm in a C name address pair
16102 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16104 # This is the shared library runtime path variable.
16105 runpath_var=$runpath_var
16107 # This is the shared library path variable.
16108 shlibpath_var=$shlibpath_var
16110 # Is shlibpath searched before the hard-coded library search path?
16111 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16113 # How to hardcode a shared library path into an executable.
16114 hardcode_action=$hardcode_action_F77
16116 # Whether we should hardcode library paths into libraries.
16117 hardcode_into_libs=$hardcode_into_libs
16119 # Flag to hardcode \$libdir into a binary during linking.
16120 # This must work even if \$libdir does not exist.
16121 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16123 # If ld is used when linking, flag to hardcode \$libdir into
16124 # a binary during linking. This must work even if \$libdir does
16126 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16128 # Whether we need a single -rpath flag with a separated argument.
16129 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16131 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16132 # resulting binary.
16133 hardcode_direct=$hardcode_direct_F77
16135 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16136 # resulting binary.
16137 hardcode_minus_L=$hardcode_minus_L_F77
16139 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16140 # the resulting binary.
16141 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16143 # Set to yes if building a shared library automatically hardcodes DIR into the library
16144 # and all subsequent libraries and executables linked against it.
16145 hardcode_automatic=$hardcode_automatic_F77
16147 # Variables whose values should be saved in libtool wrapper scripts and
16148 # restored at relink time.
16149 variables_saved_for_relink="$variables_saved_for_relink"
16151 # Whether libtool must link a program against all its dependency libraries.
16152 link_all_deplibs=$link_all_deplibs_F77
16154 # Compile-time system search path for libraries
16155 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16157 # Run-time system search path for libraries
16158 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16160 # Fix the shell variable \$srcfile for the compiler.
16161 fix_srcfile_path="$fix_srcfile_path_F77"
16163 # Set to yes if exported symbols are required.
16164 always_export_symbols=$always_export_symbols_F77
16166 # The commands to list exported symbols.
16167 export_symbols_cmds=$lt_export_symbols_cmds_F77
16169 # The commands to extract the exported symbol list from a shared archive.
16170 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16172 # Symbols that should not be listed in the preloaded symbols.
16173 exclude_expsyms=$lt_exclude_expsyms_F77
16175 # Symbols that must always be exported.
16176 include_expsyms=$lt_include_expsyms_F77
16178 # ### END LIBTOOL TAG CONFIG: $tagname
16184 # If there is no Makefile yet, we rely on a make rule to execute
16185 # `config.status --recheck' to rerun these tests and create the
16186 # libtool script then.
16187 test -f Makefile
&& make "$ltmain"
16192 ac_cpp
='$CPP $CPPFLAGS'
16193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16205 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16208 # Source file extension for Java test sources.
16211 # Object file extension for compiled Java test sources.
16215 # Code to be used in simple compile tests
16216 lt_simple_compile_test_code
="class foo {}\n"
16218 # Code to be used in simple link tests
16219 lt_simple_link_test_code
='public class conftest { public static void main(String argv) {}; }\n'
16221 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16223 # If no C compiler was specified, use CC.
16226 # Allow CC to be a program name with arguments.
16230 # Allow CC to be a program name with arguments.
16236 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16237 archive_cmds_need_lc_GCJ
=no
16240 ## There is no encapsulation within the following macros, do not change
16241 ## the running order or otherwise move them around unless you know exactly
16242 ## what you are doing...
16244 lt_prog_compiler_no_builtin_flag_GCJ
=
16246 if test "$GCC" = yes; then
16247 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16250 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16251 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16252 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16253 echo $ECHO_N "(cached) $ECHO_C" >&6
16255 lt_cv_prog_compiler_rtti_exceptions
=no
16256 ac_outfile
=conftest.
$ac_objext
16257 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16258 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16259 # Insert the option either (1) after the last *FLAGS variable, or
16260 # (2) before a word containing "conftest.", or (3) at the end.
16261 # Note that $ac_compile itself does not contain backslashes and begins
16262 # with a dollar sign (not a hyphen), so the echo should work correctly.
16263 # The option is referenced via a variable to avoid confusing sed.
16264 lt_compile
=`echo "$ac_compile" | $SED \
16265 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16266 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16267 -e 's:$: $lt_compiler_flag:'`
16268 (eval echo "\"\$as_me:16268: $lt_compile\"" >&5)
16269 (eval "$lt_compile" 2>conftest.err
)
16271 cat conftest.err
>&5
16272 echo "$as_me:16272: \$? = $ac_status" >&5
16273 if (exit $ac_status) && test -s "$ac_outfile"; then
16274 # The compiler can only warn and ignore the option if not recognized
16275 # So say no if there are warnings
16276 if test ! -s conftest.err
; then
16277 lt_cv_prog_compiler_rtti_exceptions
=yes
16283 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16284 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16286 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16287 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16294 lt_prog_compiler_wl_GCJ
=
16295 lt_prog_compiler_pic_GCJ
=
16296 lt_prog_compiler_static_GCJ
=
16298 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16299 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16301 if test "$GCC" = yes; then
16302 lt_prog_compiler_wl_GCJ
='-Wl,'
16303 lt_prog_compiler_static_GCJ
='-static'
16307 # All AIX code is PIC.
16308 if test "$host_cpu" = ia64
; then
16309 # AIX 5 now supports IA64 processor
16310 lt_prog_compiler_static_GCJ
='-Bstatic'
16315 # FIXME: we need at least 68020 code to build shared libraries, but
16316 # adding the `-m68020' flag to GCC prevents building anything better,
16318 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16321 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16322 # PIC is the default for these OSes.
16325 mingw
* | pw32
* | os2
*)
16326 # This hack is so that the source file can tell whether it is being
16327 # built for inclusion in a dll (and should export symbols for example).
16328 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16331 darwin
* | rhapsody
*)
16332 # PIC is the default on this platform
16333 # Common symbols not allowed in MH_DYLIB files
16334 lt_prog_compiler_pic_GCJ
='-fno-common'
16338 # Just because we use GCC doesn't mean we suddenly get shared libraries
16339 # on systems that don't support them.
16340 lt_prog_compiler_can_build_shared_GCJ
=no
16345 if test -d /usr
/nec
; then
16346 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16351 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16352 # not for PA HP-UX.
16353 case "$host_cpu" in
16358 lt_prog_compiler_pic_GCJ
='-fPIC'
16364 lt_prog_compiler_pic_GCJ
='-fPIC'
16368 # PORTME Check for flag to pass linker flags through the system compiler.
16371 lt_prog_compiler_wl_GCJ
='-Wl,'
16372 if test "$host_cpu" = ia64
; then
16373 # AIX 5 now supports IA64 processor
16374 lt_prog_compiler_static_GCJ
='-Bstatic'
16376 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16380 mingw
* | pw32
* | os2
*)
16381 # This hack is so that the source file can tell whether it is being
16382 # built for inclusion in a dll (and should export symbols for example).
16383 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16386 hpux9
* | hpux10
* | hpux11
*)
16387 lt_prog_compiler_wl_GCJ
='-Wl,'
16388 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16389 # not for PA HP-UX.
16390 case "$host_cpu" in
16395 lt_prog_compiler_pic_GCJ
='+Z'
16398 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16399 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16402 irix5
* | irix6
* | nonstopux
*)
16403 lt_prog_compiler_wl_GCJ
='-Wl,'
16404 # PIC (with -KPIC) is the default.
16405 lt_prog_compiler_static_GCJ
='-non_shared'
16409 lt_prog_compiler_pic_GCJ
='-KPIC'
16410 lt_prog_compiler_static_GCJ
='-Bstatic'
16416 lt_prog_compiler_wl_GCJ
='-Wl,'
16417 lt_prog_compiler_pic_GCJ
='-KPIC'
16418 lt_prog_compiler_static_GCJ
='-static'
16421 lt_prog_compiler_wl_GCJ
='-Wl,'
16422 # All Alpha code is PIC.
16423 lt_prog_compiler_static_GCJ
='-non_shared'
16428 osf3
* | osf4
* | osf5
*)
16429 lt_prog_compiler_wl_GCJ
='-Wl,'
16430 # All OSF/1 code is PIC.
16431 lt_prog_compiler_static_GCJ
='-non_shared'
16435 lt_prog_compiler_pic_GCJ
='-Kpic'
16436 lt_prog_compiler_static_GCJ
='-dn'
16440 lt_prog_compiler_wl_GCJ
='-Wl,'
16441 lt_prog_compiler_pic_GCJ
='-KPIC'
16442 lt_prog_compiler_static_GCJ
='-Bstatic'
16446 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16447 lt_prog_compiler_pic_GCJ
='-PIC'
16448 lt_prog_compiler_static_GCJ
='-Bstatic'
16451 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
16452 lt_prog_compiler_wl_GCJ
='-Wl,'
16453 lt_prog_compiler_pic_GCJ
='-KPIC'
16454 lt_prog_compiler_static_GCJ
='-Bstatic'
16458 if test -d /usr
/nec
;then
16459 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16460 lt_prog_compiler_static_GCJ
='-Bstatic'
16465 lt_prog_compiler_pic_GCJ
='-pic'
16466 lt_prog_compiler_static_GCJ
='-Bstatic'
16470 lt_prog_compiler_can_build_shared_GCJ
=no
16475 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16476 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16479 # Check to make sure the PIC flag actually works.
16481 if test -n "$lt_prog_compiler_pic_GCJ"; then
16483 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16484 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16485 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16486 echo $ECHO_N "(cached) $ECHO_C" >&6
16488 lt_prog_compiler_pic_works_GCJ
=no
16489 ac_outfile
=conftest.
$ac_objext
16490 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16491 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16492 # Insert the option either (1) after the last *FLAGS variable, or
16493 # (2) before a word containing "conftest.", or (3) at the end.
16494 # Note that $ac_compile itself does not contain backslashes and begins
16495 # with a dollar sign (not a hyphen), so the echo should work correctly.
16496 # The option is referenced via a variable to avoid confusing sed.
16497 lt_compile
=`echo "$ac_compile" | $SED \
16498 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16499 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16500 -e 's:$: $lt_compiler_flag:'`
16501 (eval echo "\"\$as_me:16501: $lt_compile\"" >&5)
16502 (eval "$lt_compile" 2>conftest.err
)
16504 cat conftest.err
>&5
16505 echo "$as_me:16505: \$? = $ac_status" >&5
16506 if (exit $ac_status) && test -s "$ac_outfile"; then
16507 # The compiler can only warn and ignore the option if not recognized
16508 # So say no if there are warnings
16509 if test ! -s conftest.err
; then
16510 lt_prog_compiler_pic_works_GCJ
=yes
16516 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16517 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16519 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16520 case $lt_prog_compiler_pic_GCJ in
16522 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16525 lt_prog_compiler_pic_GCJ
=
16526 lt_prog_compiler_can_build_shared_GCJ
=no
16531 # For platforms which do not support PIC, -DPIC is meaningless:
16533 lt_prog_compiler_pic_GCJ
=
16536 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16540 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16541 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16542 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16543 echo $ECHO_N "(cached) $ECHO_C" >&6
16545 lt_cv_prog_compiler_c_o_GCJ
=no
16546 $rm -r conftest
2>/dev
/null
16550 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16552 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
16553 # that will create temporary files in the current directory regardless of
16554 # the output directory. Thus, making CWD read-only will cause this test
16555 # to fail, enabling locking or at least warning the user not to do parallel
16559 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16560 # Insert the option either (1) after the last *FLAGS variable, or
16561 # (2) before a word containing "conftest.", or (3) at the end.
16562 # Note that $ac_compile itself does not contain backslashes and begins
16563 # with a dollar sign (not a hyphen), so the echo should work correctly.
16564 lt_compile
=`echo "$ac_compile" | $SED \
16565 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16566 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16567 -e 's:$: $lt_compiler_flag:'`
16568 (eval echo "\"\$as_me:16568: $lt_compile\"" >&5)
16569 (eval "$lt_compile" 2>out
/conftest.err
)
16571 cat out
/conftest.err
>&5
16572 echo "$as_me:16572: \$? = $ac_status" >&5
16573 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16575 # The compiler can only warn and ignore the option if not recognized
16576 # So say no if there are warnings
16577 if test ! -s out
/conftest.err
; then
16578 lt_cv_prog_compiler_c_o_GCJ
=yes
16583 # SGI C++ compiler will create directory out/ii_files/ for
16584 # template instantiation
16585 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16586 $rm out
/* && rmdir out
16592 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16593 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16596 hard_links
="nottested"
16597 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16598 # do not overwrite the value of need_locks provided by the user
16599 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16600 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16603 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16605 ln conftest.a conftest.b
2>&5 || hard_links
=no
16606 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16607 { echo "$as_me:$LINENO: result: $hard_links" >&5
16608 echo "${ECHO_T}$hard_links" >&6; }
16609 if test "$hard_links" = no
; then
16610 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16611 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16618 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16619 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16622 allow_undefined_flag_GCJ
=
16623 enable_shared_with_static_runtimes_GCJ
=no
16625 archive_expsym_cmds_GCJ
=
16626 old_archive_From_new_cmds_GCJ
=
16627 old_archive_from_expsyms_cmds_GCJ
=
16628 export_dynamic_flag_spec_GCJ
=
16629 whole_archive_flag_spec_GCJ
=
16630 thread_safe_flag_spec_GCJ
=
16631 hardcode_libdir_flag_spec_GCJ
=
16632 hardcode_libdir_flag_spec_ld_GCJ
=
16633 hardcode_libdir_separator_GCJ
=
16634 hardcode_direct_GCJ
=no
16635 hardcode_minus_L_GCJ
=no
16636 hardcode_shlibpath_var_GCJ
=unsupported
16637 link_all_deplibs_GCJ
=unknown
16638 hardcode_automatic_GCJ
=no
16640 module_expsym_cmds_GCJ
=
16641 always_export_symbols_GCJ
=no
16642 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16643 # include_expsyms should be a list of space-separated symbols to be *always*
16644 # included in the symbol list
16645 include_expsyms_GCJ
=
16646 # exclude_expsyms can be an extended regexp of symbols to exclude
16647 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16648 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16649 # as well as any symbol that contains `d'.
16650 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16651 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16652 # platforms (ab)use it in PIC code, but their linkers get confused if
16653 # the symbol is explicitly referenced. Since portable code cannot
16654 # rely on this symbol name, it's probably fine to never include it in
16655 # preloaded symbol tables.
16656 extract_expsyms_cmds
=
16659 cygwin
* | mingw
* | pw32
*)
16660 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16661 # When not using gcc, we currently assume that we are using
16662 # Microsoft Visual C++.
16663 if test "$GCC" != yes; then
16673 if test "$with_gnu_ld" = yes; then
16674 # If archive_cmds runs LD, not CC, wlarc should be empty
16677 # See if GNU ld supports shared libraries.
16679 aix3
* | aix4
* | aix5
*)
16680 # On AIX/PPC, the GNU linker is very broken
16681 if test "$host_cpu" != ia64
; then
16685 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16686 *** to be unable to reliably create shared libraries on AIX.
16687 *** Therefore, libtool is disabling shared libraries support. If you
16688 *** really care for shared libraries, you may want to modify your PATH
16689 *** so that a non-GNU linker is found, and then restart.
16696 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)'
16697 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16698 hardcode_minus_L_GCJ
=yes
16700 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16701 # that the semantics of dynamic libraries on AmigaOS, at least up
16702 # to version 4, is to share data among multiple programs linked
16703 # with the same dynamic library. Since this doesn't match the
16704 # behavior of shared libraries on other platforms, we can't use
16710 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16711 allow_undefined_flag_GCJ
=unsupported
16712 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16713 # support --undefined. This deserves some investigation. FIXME
16714 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16720 cygwin
* | mingw
* | pw32
*)
16721 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16722 # as there is no search path for DLLs.
16723 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16724 allow_undefined_flag_GCJ
=unsupported
16725 always_export_symbols_GCJ
=no
16726 enable_shared_with_static_runtimes_GCJ
=yes
16727 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16729 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16730 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16731 # If the export-symbols file already is a .def file (1st line
16732 # is EXPORTS), use it as is; otherwise, prepend...
16733 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16734 cp $export_symbols $output_objdir/$soname.def;
16736 echo EXPORTS > $output_objdir/$soname.def;
16737 cat $export_symbols >> $output_objdir/$soname.def;
16739 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16746 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16747 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16750 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16751 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16756 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16760 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16761 *** create shared libraries on Solaris systems. Therefore, libtool
16762 *** is disabling shared libraries support. We urge you to upgrade GNU
16763 *** binutils to release 2.9.1 or newer. Another option is to modify
16764 *** your PATH or compiler configuration so that the native linker is
16765 *** used, and then restart.
16768 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16769 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16770 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16777 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16779 hardcode_direct_GCJ
=yes
16780 hardcode_shlibpath_var_GCJ
=no
16784 if $LD --help 2>&1 |
egrep ': supported targets:.* elf' > /dev
/null
; then
16785 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16786 archive_cmds_GCJ
="$tmp_archive_cmds"
16787 supports_anon_versioning
=no
16788 case `$LD -v 2>/dev/null` in
16789 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16790 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16791 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16792 *\
2.11.
*) ;; # other 2.11 versions
16793 *) supports_anon_versioning
=yes ;;
16795 if test $supports_anon_versioning = yes; then
16796 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16797 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16798 $echo "local: *; };" >> $output_objdir/$libname.ver~
16799 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16801 archive_expsym_cmds_GCJ
="$tmp_archive_cmds"
16809 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16810 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16811 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16818 if test "$ld_shlibs_GCJ" = yes; then
16819 runpath_var
=LD_RUN_PATH
16820 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16821 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16822 # ancient GNU ld didn't support --whole-archive et. al.
16823 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16824 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16826 whole_archive_flag_spec_GCJ
=
16830 # PORTME fill in a description of your system's linker (not GNU ld)
16833 allow_undefined_flag_GCJ
=unsupported
16834 always_export_symbols_GCJ
=yes
16835 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'
16836 # Note: this linker hardcodes the directories in LIBPATH if there
16837 # are no directories specified by -L.
16838 hardcode_minus_L_GCJ
=yes
16839 if test "$GCC" = yes && test -z "$link_static_flag"; then
16840 # Neither direct hardcoding nor static linking is supported with a
16842 hardcode_direct_GCJ
=unsupported
16847 if test "$host_cpu" = ia64
; then
16848 # On IA64, the linker does run time linking by default, so we don't
16849 # have to do anything special.
16850 aix_use_runtimelinking
=no
16851 exp_sym_flag
='-Bexport'
16854 # If we're using GNU nm, then we don't want the "-C" option.
16855 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16856 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16857 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'
16859 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'
16861 aix_use_runtimelinking
=no
16863 # Test if we are trying to use run time linking or normal
16864 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16865 # need to do runtime linking.
16866 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16867 for ld_flag
in $LDFLAGS; do
16868 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16869 aix_use_runtimelinking
=yes
16875 exp_sym_flag
='-bexport'
16876 no_entry_flag
='-bnoentry'
16879 # When large executables or shared objects are built, AIX ld can
16880 # have problems creating the table of contents. If linking a library
16881 # or program results in "error TOC overflow" add -mminimal-toc to
16882 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16883 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16885 archive_cmds_GCJ
=''
16886 hardcode_direct_GCJ
=yes
16887 hardcode_libdir_separator_GCJ
=':'
16888 link_all_deplibs_GCJ
=yes
16890 if test "$GCC" = yes; then
16891 case $host_os in aix4.012|aix4.012.
*)
16892 # We only want to do this on AIX 4.2 and lower, the check
16893 # below for broken collect2 doesn't work under 4.3+
16894 collect2name
=`${CC} -print-prog-name=collect2`
16895 if test -f "$collect2name" && \
16896 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16898 # We have reworked collect2
16899 hardcode_direct_GCJ
=yes
16901 # We have old collect2
16902 hardcode_direct_GCJ
=unsupported
16903 # It fails to find uninstalled libraries when the uninstalled
16904 # path is not listed in the libpath. Setting hardcode_minus_L
16905 # to unsupported forces relinking
16906 hardcode_minus_L_GCJ
=yes
16907 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16908 hardcode_libdir_separator_GCJ
=
16911 shared_flag
='-shared'
16914 if test "$host_cpu" = ia64
; then
16915 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16916 # chokes on -Wl,-G. The following line is correct:
16919 if test "$aix_use_runtimelinking" = yes; then
16920 shared_flag
='${wl}-G'
16922 shared_flag
='${wl}-bM:SRE'
16927 # It seems that -bexpall does not export symbols beginning with
16928 # underscore (_), so it is better to generate a list of symbols to export.
16929 always_export_symbols_GCJ
=yes
16930 if test "$aix_use_runtimelinking" = yes; then
16931 # Warning - without using the other runtime loading flags (-brtl),
16932 # -berok will link without error, but may produce a broken library.
16933 allow_undefined_flag_GCJ
='-berok'
16934 # Determine the default libpath from the value encoded in an empty executable.
16935 cat >conftest.
$ac_ext <<_ACEOF
16938 cat confdefs.h
>>conftest.
$ac_ext
16939 cat >>conftest.
$ac_ext <<_ACEOF
16940 /* end confdefs.h. */
16950 rm -f conftest.
$ac_objext conftest
$ac_exeext
16951 if { (ac_try
="$ac_link"
16952 case "(($ac_try" in
16953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16954 *) ac_try_echo=$ac_try;;
16956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16957 (eval "$ac_link") 2>conftest.er1
16959 grep -v '^ *+' conftest.er1 >conftest.err
16961 cat conftest.err >&5
16962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16963 (exit $ac_status); } &&
16964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16965 { (case "(($ac_try" in
16966 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16967 *) ac_try_echo
=$ac_try;;
16969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16970 (eval "$ac_try") 2>&5
16972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973 (exit $ac_status); }; } &&
16974 { ac_try
='test -s conftest$ac_exeext'
16975 { (case "(($ac_try" in
16976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16977 *) ac_try_echo=$ac_try;;
16979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16980 (eval "$ac_try") 2>&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); }; }; then
16985 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16987 # Check for a 64-bit object if we didn't find anything.
16988 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; }
16991 echo "$as_me: failed program was:" >&5
16992 sed 's/^/| /' conftest.$ac_ext >&5
16997 rm -f core conftest.err conftest.$ac_objext \
16998 conftest$ac_exeext conftest.$ac_ext
16999 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17001 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17002 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"
17004 if test "$host_cpu" = ia64
; then
17005 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
17006 allow_undefined_flag_GCJ
="-z nodefs"
17007 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"
17009 # Determine the default libpath from the value encoded in an empty executable.
17010 cat >conftest.$ac_ext <<_ACEOF
17013 cat confdefs.h >>conftest.$ac_ext
17014 cat >>conftest.$ac_ext <<_ACEOF
17015 /* end confdefs.h. */
17025 rm -f conftest.$ac_objext conftest$ac_exeext
17026 if { (ac_try="$ac_link"
17027 case "(($ac_try" in
17028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17029 *) ac_try_echo=$ac_try;;
17031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17032 (eval "$ac_link") 2>conftest.er1
17034 grep -v '^
*+' conftest.er1 >conftest.err
17036 cat conftest.err >&5
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); } &&
17039 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
17040 { (case "(($ac_try" in
17041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17042 *) ac_try_echo=$ac_try;;
17044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17045 (eval "$ac_try") 2>&5
17047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048 (exit $ac_status); }; } &&
17049 { ac_try='test -s conftest
$ac_exeext'
17050 { (case "(($ac_try" in
17051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17052 *) ac_try_echo=$ac_try;;
17054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17055 (eval "$ac_try") 2>&5
17057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17058 (exit $ac_status); }; }; then
17060 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings
/,/^$
/ { /^
0/ { s
/^
0 *\
(.
*\
)$
/\
1/; p
; }
17062 # Check for a 64-bit object if we didn't
find anything.
17063 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; }
17066 echo "$as_me: failed program was:" >&5
17067 sed 's/^/| /' conftest.
$ac_ext >&5
17072 rm -f core conftest.err conftest.
$ac_objext \
17073 conftest
$ac_exeext conftest.
$ac_ext
17074 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17076 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17077 # Warning - without using the other run time loading flags,
17078 # -berok will link without error, but may produce a broken library.
17079 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17080 allow_undefined_flag_GCJ
=' ${wl}-berok'
17081 # -bexpall does not export symbols beginning with underscore (_)
17082 always_export_symbols_GCJ
=yes
17083 # Exported symbols can be pulled into shared objects from archives
17084 whole_archive_flag_spec_GCJ
=' '
17085 archive_cmds_need_lc_GCJ
=yes
17086 # This is similar to how AIX traditionally builds it's shared libraries.
17087 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'
17093 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)'
17094 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17095 hardcode_minus_L_GCJ
=yes
17096 # see comment about different semantics on the GNU ld section
17101 export_dynamic_flag_spec_GCJ
=-rdynamic
17104 cygwin
* | mingw
* | pw32
*)
17105 # When not using gcc, we currently assume that we are using
17106 # Microsoft Visual C++.
17107 # hardcode_libdir_flag_spec is actually meaningless, as there is
17108 # no search path for DLLs.
17109 hardcode_libdir_flag_spec_GCJ
=' '
17110 allow_undefined_flag_GCJ
=unsupported
17111 # Tell ltmain to make .lib files, not .a files.
17113 # Tell ltmain to make .dll files, not .so files.
17115 # FIXME: Setting linknames here is a bad hack.
17116 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17117 # The linker will automatically build a .lib file if we build a DLL.
17118 old_archive_From_new_cmds_GCJ
='true'
17119 # FIXME: Should let the user specify the lib program.
17120 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17121 fix_srcfile_path
='`cygpath -w "$srcfile"`'
17122 enable_shared_with_static_runtimes_GCJ
=yes
17125 darwin
* | rhapsody
*)
17126 if test "$GXX" = yes ; then
17127 archive_cmds_need_lc_GCJ
=no
17129 rhapsody
* | darwin1.
[012])
17130 allow_undefined_flag_GCJ
='-undefined suppress'
17133 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17134 allow_undefined_flag_GCJ
='-flat_namespace -undefined suppress'
17136 case ${MACOSX_DEPLOYMENT_TARGET} in
17138 allow_undefined_flag_GCJ
='-flat_namespace -undefined suppress'
17141 allow_undefined_flag_GCJ
='-undefined dynamic_lookup'
17147 lt_int_apple_cc_single_mod
=no
17148 output_verbose_link_cmd
='echo'
17149 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
17150 lt_int_apple_cc_single_mod
=yes
17152 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
17153 archive_cmds_GCJ
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17155 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'
17157 module_cmds_GCJ
='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17158 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
17159 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
17160 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}'
17162 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}'
17164 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}'
17165 hardcode_direct_GCJ
=no
17166 hardcode_automatic_GCJ
=yes
17167 hardcode_shlibpath_var_GCJ
=unsupported
17168 whole_archive_flag_spec_GCJ
='-all_load $convenience'
17169 link_all_deplibs_GCJ
=yes
17176 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17177 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17178 hardcode_shlibpath_var_GCJ
=no
17185 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17186 # support. Future versions do this automatically, but an explicit c++rt0.o
17187 # does not break anything, and helps significantly (at the cost of a little
17190 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17191 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17192 hardcode_direct_GCJ
=yes
17193 hardcode_shlibpath_var_GCJ
=no
17196 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17198 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17199 hardcode_direct_GCJ
=yes
17200 hardcode_minus_L_GCJ
=yes
17201 hardcode_shlibpath_var_GCJ
=no
17204 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17205 freebsd
* | kfreebsd
*-gnu)
17206 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17207 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17208 hardcode_direct_GCJ
=yes
17209 hardcode_shlibpath_var_GCJ
=no
17213 if test "$GCC" = yes; then
17214 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'
17216 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'
17218 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17219 hardcode_libdir_separator_GCJ
=:
17220 hardcode_direct_GCJ
=yes
17222 # hardcode_minus_L: Not really in the search PATH,
17223 # but as the default location of the library.
17224 hardcode_minus_L_GCJ
=yes
17225 export_dynamic_flag_spec_GCJ
='${wl}-E'
17229 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17230 case "$host_cpu" in
17232 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17235 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17239 case "$host_cpu" in
17241 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
17244 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17248 if test "$with_gnu_ld" = no
; then
17249 case "$host_cpu" in
17251 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17252 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17253 hardcode_libdir_separator_GCJ
=:
17254 hardcode_direct_GCJ
=no
17255 hardcode_shlibpath_var_GCJ
=no
17258 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17259 hardcode_direct_GCJ
=no
17260 hardcode_shlibpath_var_GCJ
=no
17262 # hardcode_minus_L: Not really in the search PATH,
17263 # but as the default location of the library.
17264 hardcode_minus_L_GCJ
=yes
17267 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17268 hardcode_libdir_separator_GCJ
=:
17269 hardcode_direct_GCJ
=yes
17270 export_dynamic_flag_spec_GCJ
='${wl}-E'
17272 # hardcode_minus_L: Not really in the search PATH,
17273 # but as the default location of the library.
17274 hardcode_minus_L_GCJ
=yes
17280 irix5
* | irix6
* | nonstopux
*)
17281 if test "$GCC" = yes; then
17282 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'
17284 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'
17285 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17287 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17288 hardcode_libdir_separator_GCJ
=:
17289 link_all_deplibs_GCJ
=yes
17293 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17294 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17296 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17298 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17299 hardcode_direct_GCJ
=yes
17300 hardcode_shlibpath_var_GCJ
=no
17304 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17305 hardcode_direct_GCJ
=yes
17306 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17307 hardcode_libdir_separator_GCJ
=:
17308 hardcode_shlibpath_var_GCJ
=no
17312 hardcode_direct_GCJ
=yes
17313 hardcode_shlibpath_var_GCJ
=no
17314 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17315 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17316 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17317 export_dynamic_flag_spec_GCJ
='${wl}-E'
17320 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17321 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17322 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17325 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17326 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17333 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17334 hardcode_minus_L_GCJ
=yes
17335 allow_undefined_flag_GCJ
=unsupported
17336 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'
17337 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17341 if test "$GCC" = yes; then
17342 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17343 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'
17345 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17346 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'
17348 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17349 hardcode_libdir_separator_GCJ
=:
17352 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17353 if test "$GCC" = yes; then
17354 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17355 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'
17356 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17358 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17359 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'
17360 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~
17361 $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'
17363 # Both c and cxx compiler support -rpath directly
17364 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17366 hardcode_libdir_separator_GCJ
=:
17370 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17371 hardcode_shlibpath_var_GCJ
=no
17372 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17373 runpath_var
=LD_RUN_PATH
17374 hardcode_runpath_var
=yes
17378 no_undefined_flag_GCJ
=' -z text'
17379 if test "$GCC" = yes; then
17380 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17381 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17382 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17384 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17385 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17386 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17388 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17389 hardcode_shlibpath_var_GCJ
=no
17391 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17392 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
17393 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17395 link_all_deplibs_GCJ
=yes
17399 if test "x$host_vendor" = xsequent
; then
17400 # Use $CC to link under sequent, because it throws in some extra .o
17401 # files that make .init and .fini sections work.
17402 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17404 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17406 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17407 hardcode_direct_GCJ
=yes
17408 hardcode_minus_L_GCJ
=yes
17409 hardcode_shlibpath_var_GCJ
=no
17413 case $host_vendor in
17415 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17416 hardcode_direct_GCJ
=yes # is this really true???
17419 ## LD is ld it makes a PLAMLIB
17420 ## CC just makes a GrossModule.
17421 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17422 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17423 hardcode_direct_GCJ
=no
17426 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17427 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17430 runpath_var
='LD_RUN_PATH'
17431 hardcode_shlibpath_var_GCJ
=no
17435 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17436 hardcode_shlibpath_var_GCJ
=no
17437 export_dynamic_flag_spec_GCJ
='-Bexport'
17441 if test -d /usr
/nec
; then
17442 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17443 hardcode_shlibpath_var_GCJ
=no
17444 runpath_var
=LD_RUN_PATH
17445 hardcode_runpath_var
=yes
17451 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17452 hardcode_direct_GCJ
=yes
17453 hardcode_minus_L_GCJ
=no
17454 hardcode_shlibpath_var_GCJ
=no
17455 hardcode_runpath_var
=yes
17456 runpath_var
=LD_RUN_PATH
17459 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
17460 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
17461 if test "$GCC" = yes; then
17462 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17464 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17466 runpath_var
='LD_RUN_PATH'
17467 hardcode_shlibpath_var_GCJ
=no
17471 no_undefined_flag_GCJ
=' -z text'
17472 # $CC -shared without GNU ld will not create a library from C++
17473 # object files and a static libstdc++, better avoid it by now
17474 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17475 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17476 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17477 hardcode_libdir_flag_spec_GCJ
=
17478 hardcode_shlibpath_var_GCJ
=no
17479 runpath_var
='LD_RUN_PATH'
17483 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17484 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17485 hardcode_shlibpath_var_GCJ
=no
17494 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17495 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17496 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17498 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17499 if test "$GCC" = yes; then
17500 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17504 # Do we need to explicitly link libc?
17506 case "x$archive_cmds_need_lc_GCJ" in
17508 # Assume -lc should be added
17509 archive_cmds_need_lc_GCJ
=yes
17511 if test "$enable_shared" = yes && test "$GCC" = yes; then
17512 case $archive_cmds_GCJ in
17514 # FIXME: we may have to deal with multi-command sequences.
17517 # Test whether the compiler implicitly links with -lc since on some
17518 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17519 # to ld, don't add -lc before -lgcc.
17520 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17521 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17523 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17526 (eval $ac_compile) 2>&5
17528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529 (exit $ac_status); } 2>conftest.err
; then
17532 libobjs
=conftest.
$ac_objext
17534 wl
=$lt_prog_compiler_wl_GCJ
17540 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17541 allow_undefined_flag_GCJ
=
17542 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17543 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); }
17548 archive_cmds_need_lc_GCJ
=no
17550 archive_cmds_need_lc_GCJ
=yes
17552 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17554 cat conftest.err
1>&5
17557 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17558 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17565 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17566 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17567 library_names_spec
=
17568 libname_spec
='lib$name'
17572 postuninstall_cmds
=
17576 shlibpath_overrides_runpath
=unknown
17578 dynamic_linker
="$host_os ld.so"
17579 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17580 if test "$GCC" = yes; then
17581 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17582 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17583 # if the path contains ";" then we assume it to be the separator
17584 # otherwise default to the standard path separator (i.e. ":") - it is
17585 # assumed that no part of a normal pathname contains ";" but that should
17586 # okay in the real world where ";" in dirpaths is itself problematic.
17587 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17589 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17592 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17594 need_lib_prefix
=unknown
17595 hardcode_into_libs
=no
17597 # when you set need_version to no, make sure it does not cause -set_version
17598 # flags to be left without arguments
17599 need_version
=unknown
17604 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17605 shlibpath_var
=LIBPATH
17607 # AIX 3 has no versioning support, so we append a major version to the name.
17608 soname_spec
='${libname}${release}${shared_ext}$major'
17615 hardcode_into_libs
=yes
17616 if test "$host_cpu" = ia64
; then
17617 # AIX 5 supports IA64
17618 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17619 shlibpath_var
=LD_LIBRARY_PATH
17621 # With GCC up to 2.95.x, collect2 would create an import file
17622 # for dependence libraries. The import file would start with
17623 # the line `#! .'. This would cause the generated library to
17624 # depend on `.', always an invalid library. This was fixed in
17625 # development snapshots of GCC prior to 3.0.
17627 aix4 | aix4.
[01] | aix4.
[01].
*)
17628 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17630 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17633 can_build_shared
=no
17637 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17638 # soname into executable. Probably we can add versioning support to
17639 # collect2, so additional links can be useful in future.
17640 if test "$aix_use_runtimelinking" = yes; then
17641 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17642 # instead of lib<name>.a to let people know that these are not
17643 # typical AIX shared libraries.
17644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17646 # We preserve .a as extension for shared libraries through AIX4.2
17647 # and later when we are not doing run time linking.
17648 library_names_spec
='${libname}${release}.a $libname.a'
17649 soname_spec
='${libname}${release}${shared_ext}$major'
17651 shlibpath_var
=LIBPATH
17656 library_names_spec
='$libname.ixlibrary $libname.a'
17657 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17658 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'
17662 library_names_spec
='${libname}${shared_ext}'
17663 dynamic_linker
="$host_os ld.so"
17664 shlibpath_var
=LIBRARY_PATH
17670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17671 soname_spec
='${libname}${release}${shared_ext}$major'
17672 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17673 shlibpath_var
=LD_LIBRARY_PATH
17674 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17675 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17676 # the default ld.so.conf also contains /usr/contrib/lib and
17677 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17678 # libtool to hard-code these into programs
17681 cygwin
* | mingw
* | pw32
*)
17682 version_type
=windows
17687 case $GCC,$host_os in
17688 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17689 library_names_spec
='$libname.dll.a'
17690 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17691 postinstall_cmds
='base_file=`basename \${file}`~
17692 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17693 dldir=$destdir/`dirname \$dlpath`~
17694 test -d \$dldir || mkdir -p \$dldir~
17695 $install_prog $dir/$dlname \$dldir/$dlname'
17696 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17697 dlpath=$dir/\$dldll~
17699 shlibpath_overrides_runpath
=yes
17703 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17704 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17705 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17708 # MinGW DLLs use traditional 'lib' prefix
17709 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17710 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17711 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17712 # It is most probably a Windows format PATH printed by
17713 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17714 # path with ; separators, and with drive letters. We can handle the
17715 # drive letters (cygwin fileutils understands them), so leave them,
17716 # especially as we might pass files found there to a mingw objdump,
17717 # which wouldn't understand a cygwinified path. Ahh.
17718 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17720 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17724 # pw32 DLLs use 'pw' prefix rather than 'lib'
17725 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
17731 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17734 dynamic_linker
='Win32 ld.exe'
17735 # FIXME: first we should search . and the directory the executable is in
17739 darwin
* | rhapsody
*)
17740 dynamic_linker
="$host_os dyld"
17741 version_type
=darwin
17744 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17745 soname_spec
='${libname}${release}${major}$shared_ext'
17746 shlibpath_overrides_runpath
=yes
17747 shlibpath_var
=DYLD_LIBRARY_PATH
17748 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
17749 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17750 if test "$GCC" = yes; then
17751 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"`
17753 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17755 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17763 soname_spec
='${libname}${release}${shared_ext}$major'
17764 shlibpath_var
=LD_LIBRARY_PATH
17775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17776 soname_spec
='${libname}${release}${shared_ext}$major'
17777 shlibpath_var
=LD_LIBRARY_PATH
17778 shlibpath_overrides_runpath
=no
17779 hardcode_into_libs
=yes
17780 dynamic_linker
='GNU ld.so'
17784 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
17785 version_type
=freebsd-
$objformat
17786 case $version_type in
17788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17793 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17797 shlibpath_var
=LD_LIBRARY_PATH
17800 shlibpath_overrides_runpath
=yes
17802 freebsd3.01
* | freebsdelf3.01
*)
17803 shlibpath_overrides_runpath
=yes
17804 hardcode_into_libs
=yes
17807 shlibpath_overrides_runpath
=no
17808 hardcode_into_libs
=yes
17817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17818 soname_spec
='${libname}${release}${shared_ext}$major'
17819 shlibpath_var
=LD_LIBRARY_PATH
17820 hardcode_into_libs
=yes
17823 hpux9
* | hpux10
* | hpux11
*)
17824 # Give a soname corresponding to the major version so that dld.sl refuses to
17825 # link against other versions.
17829 case "$host_cpu" in
17832 hardcode_into_libs
=yes
17833 dynamic_linker
="$host_os dld.so"
17834 shlibpath_var
=LD_LIBRARY_PATH
17835 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17837 soname_spec
='${libname}${release}${shared_ext}$major'
17838 if test "X$HPUX_IA64_MODE" = X32
; then
17839 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17841 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17843 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17847 hardcode_into_libs
=yes
17848 dynamic_linker
="$host_os dld.sl"
17849 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17850 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17852 soname_spec
='${libname}${release}${shared_ext}$major'
17853 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17854 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17858 dynamic_linker
="$host_os dld.sl"
17859 shlibpath_var
=SHLIB_PATH
17860 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17862 soname_spec
='${libname}${release}${shared_ext}$major'
17865 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17866 postinstall_cmds
='chmod 555 $lib'
17869 irix5
* | irix6
* | nonstopux
*)
17871 nonstopux
*) version_type
=nonstopux
;;
17873 if test "$lt_cv_prog_gnu_ld" = yes; then
17881 soname_spec
='${libname}${release}${shared_ext}$major'
17882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17884 irix5
* | nonstopux
*)
17885 libsuff
= shlibsuff
=
17888 case $LD in # libtool.m4 will add one of these switches to LD
17889 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17890 libsuff
= shlibsuff
= libmagic
=32-bit;;
17891 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17892 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17893 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17894 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17895 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17899 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17900 shlibpath_overrides_runpath
=no
17901 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17902 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17903 hardcode_into_libs
=yes
17906 # No shared lib support for Linux oldld, aout, or coff.
17907 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17911 # This must be Linux ELF.
17916 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17917 soname_spec
='${libname}${release}${shared_ext}$major'
17918 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17919 shlibpath_var
=LD_LIBRARY_PATH
17920 shlibpath_overrides_runpath
=no
17921 # This implies no fast_install, which is unacceptable.
17922 # Some rework will be needed to allow for fast_install
17923 # before this can be enabled.
17924 hardcode_into_libs
=yes
17926 # We used to test for /lib/ld.so.1 and disable shared libraries on
17927 # powerpc, because MkLinux only supported shared libraries with the
17928 # GNU dynamic linker. Since this was broken with cross compilers,
17929 # most powerpc-linux boxes support dynamic linking these days and
17930 # people can always --disable-shared, the test was removed, and we
17931 # assume the GNU/Linux dynamic linker is in use.
17932 dynamic_linker
='GNU/Linux ld.so'
17939 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17941 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17942 dynamic_linker
='NetBSD (a.out) ld.so'
17944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
17945 soname_spec
='${libname}${release}${shared_ext}$major'
17946 dynamic_linker
='NetBSD ld.elf_so'
17948 shlibpath_var
=LD_LIBRARY_PATH
17949 shlibpath_overrides_runpath
=yes
17950 hardcode_into_libs
=yes
17955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17956 shlibpath_var
=LD_LIBRARY_PATH
17957 shlibpath_overrides_runpath
=yes
17964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17965 soname_spec
='${libname}${release}${shared_ext}$major'
17966 shlibpath_var
=LD_LIBRARY_PATH
17967 shlibpath_overrides_runpath
=yes
17974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17975 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17976 shlibpath_var
=LD_LIBRARY_PATH
17977 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17979 openbsd2.
[89] | openbsd2.
[89].
*)
17980 shlibpath_overrides_runpath
=no
17983 shlibpath_overrides_runpath
=yes
17987 shlibpath_overrides_runpath
=yes
17992 libname_spec
='$name'
17995 library_names_spec
='$libname${shared_ext} $libname.a'
17996 dynamic_linker
='OS/2 ld.exe'
17997 shlibpath_var
=LIBPATH
18000 osf3
* | osf4
* | osf5
*)
18004 soname_spec
='${libname}${release}${shared_ext}$major'
18005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18006 shlibpath_var
=LD_LIBRARY_PATH
18007 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18008 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18013 soname_spec
='${libname}${release}${shared_ext}$major'
18014 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18015 shlibpath_var
=LD_LIBRARY_PATH
18022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18023 soname_spec
='${libname}${release}${shared_ext}$major'
18024 shlibpath_var
=LD_LIBRARY_PATH
18025 shlibpath_overrides_runpath
=yes
18026 hardcode_into_libs
=yes
18027 # ldd complains unless libraries are executable
18028 postinstall_cmds
='chmod +x $lib'
18033 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18034 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18035 shlibpath_var
=LD_LIBRARY_PATH
18036 shlibpath_overrides_runpath
=yes
18037 if test "$with_gnu_ld" = yes; then
18043 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
18045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18046 soname_spec
='${libname}${release}${shared_ext}$major'
18047 shlibpath_var
=LD_LIBRARY_PATH
18048 case $host_vendor in
18050 shlibpath_overrides_runpath
=no
18052 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18053 runpath_var
=LD_RUN_PATH
18061 shlibpath_overrides_runpath
=no
18062 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18068 if test -d /usr
/nec
;then
18070 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18071 soname_spec
='$libname${shared_ext}.$major'
18072 shlibpath_var
=LD_LIBRARY_PATH
18078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18079 soname_spec
='${libname}${release}${shared_ext}$major'
18080 shlibpath_var
=LD_LIBRARY_PATH
18087 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18088 echo "${ECHO_T}$dynamic_linker" >&6; }
18089 test "$dynamic_linker" = no
&& can_build_shared
=no
18091 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18092 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18093 hardcode_action_GCJ
=
18094 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18095 test -n "$runpath_var GCJ" || \
18096 test "X$hardcode_automatic_GCJ"="Xyes" ; then
18098 # We can hardcode non-existant directories.
18099 if test "$hardcode_direct_GCJ" != no
&&
18100 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18101 # have to relink, otherwise we might link with an installed library
18102 # when we should be linking with a yet-to-be-installed one
18103 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18104 test "$hardcode_minus_L_GCJ" != no
; then
18105 # Linking always hardcodes the temporary library directory.
18106 hardcode_action_GCJ
=relink
18108 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18109 hardcode_action_GCJ
=immediate
18112 # We cannot hardcode anything, or else we can only hardcode existing
18114 hardcode_action_GCJ
=unsupported
18116 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18117 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18119 if test "$hardcode_action_GCJ" = relink
; then
18120 # Fast installation is not supported
18121 enable_fast_install
=no
18122 elif test "$shlibpath_overrides_runpath" = yes ||
18123 test "$enable_shared" = no
; then
18124 # Fast installation is not necessary
18125 enable_fast_install
=needless
18130 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18131 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
18132 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
18133 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
18134 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
18135 { echo "$as_me:$LINENO: result: yes" >&5
18136 echo "${ECHO_T}yes" >&6; }
18138 # FIXME - insert some real tests, host_os isn't really good enough
18141 if test -n "$STRIP" ; then
18142 striplib
="$STRIP -x"
18143 { echo "$as_me:$LINENO: result: yes" >&5
18144 echo "${ECHO_T}yes" >&6; }
18146 { echo "$as_me:$LINENO: result: no" >&5
18147 echo "${ECHO_T}no" >&6; }
18151 { echo "$as_me:$LINENO: result: no" >&5
18152 echo "${ECHO_T}no" >&6; }
18157 if test "x$enable_dlopen" != xyes
; then
18158 enable_dlopen
=unknown
18159 enable_dlopen_self
=unknown
18160 enable_dlopen_self_static
=unknown
18167 lt_cv_dlopen
="load_add_on"
18169 lt_cv_dlopen_self
=yes
18173 lt_cv_dlopen
="LoadLibrary"
18178 lt_cv_dlopen
="dlopen"
18183 # if libdl is installed we need to link against it
18184 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18185 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18186 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18187 echo $ECHO_N "(cached) $ECHO_C" >&6
18189 ac_check_lib_save_LIBS
=$LIBS
18191 cat >conftest.
$ac_ext <<_ACEOF
18194 cat confdefs.h
>>conftest.
$ac_ext
18195 cat >>conftest.
$ac_ext <<_ACEOF
18196 /* end confdefs.h. */
18198 /* Override any GCC internal prototype to avoid an error.
18199 Use char because int might match the return type of a GCC
18200 builtin and then its argument prototype would still apply. */
18213 rm -f conftest.
$ac_objext conftest
$ac_exeext
18214 if { (ac_try
="$ac_link"
18215 case "(($ac_try" in
18216 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18217 *) ac_try_echo=$ac_try;;
18219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18220 (eval "$ac_link") 2>conftest.er1
18222 grep -v '^ *+' conftest.er1 >conftest.err
18224 cat conftest.err >&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); } &&
18227 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18228 { (case "(($ac_try" in
18229 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18230 *) ac_try_echo
=$ac_try;;
18232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18233 (eval "$ac_try") 2>&5
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); }; } &&
18237 { ac_try
='test -s conftest$ac_exeext'
18238 { (case "(($ac_try" in
18239 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18240 *) ac_try_echo=$ac_try;;
18242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18243 (eval "$ac_try") 2>&5
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); }; }; then
18247 ac_cv_lib_dl_dlopen=yes
18249 echo "$as_me: failed program was:" >&5
18250 sed 's/^/| /' conftest.$ac_ext >&5
18252 ac_cv_lib_dl_dlopen=no
18255 rm -f core conftest.err conftest.$ac_objext \
18256 conftest$ac_exeext conftest.$ac_ext
18257 LIBS=$ac_check_lib_save_LIBS
18259 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18260 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18261 if test $ac_cv_lib_dl_dlopen = yes; then
18262 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18265 lt_cv_dlopen="dyld"
18267 lt_cv_dlopen_self=yes
18274 { echo "$as_me:$LINENO: checking for shl_load" >&5
18275 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
18276 if test "${ac_cv_func_shl_load+set}" = set; then
18277 echo $ECHO_N "(cached) $ECHO_C" >&6
18279 cat >conftest.$ac_ext <<_ACEOF
18282 cat confdefs.h >>conftest.$ac_ext
18283 cat >>conftest.$ac_ext <<_ACEOF
18284 /* end confdefs.h. */
18285 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
18286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18287 #define shl_load innocuous_shl_load
18289 /* System header to define __stub macros and hopefully few prototypes,
18290 which can conflict with char shl_load (); below.
18291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18292 <limits.h> exists even on freestanding compilers. */
18295 # include <limits.h>
18297 # include <assert.h>
18302 /* Override any GCC internal prototype to avoid an error.
18303 Use char because int might match the return type of a GCC
18304 builtin and then its argument prototype would still apply. */
18309 /* The GNU C library defines this for functions which it implements
18310 to always fail with ENOSYS. Some functions are actually named
18311 something starting with __ and the normal name is an alias. */
18312 #if defined __stub_shl_load || defined __stub___shl_load
18319 return shl_load ();
18324 rm -f conftest.$ac_objext conftest$ac_exeext
18325 if { (ac_try="$ac_link"
18326 case "(($ac_try" in
18327 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18328 *) ac_try_echo
=$ac_try;;
18330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18331 (eval "$ac_link") 2>conftest.er1
18333 grep -v '^ *+' conftest.er1
>conftest.err
18335 cat conftest.err
>&5
18336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18337 (exit $ac_status); } &&
18338 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18339 { (case "(($ac_try" in
18340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18341 *) ac_try_echo=$ac_try;;
18343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18344 (eval "$ac_try") 2>&5
18346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18347 (exit $ac_status); }; } &&
18348 { ac_try='test -s conftest$ac_exeext'
18349 { (case "(($ac_try" in
18350 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18351 *) ac_try_echo
=$ac_try;;
18353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18354 (eval "$ac_try") 2>&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); }; }; then
18358 ac_cv_func_shl_load
=yes
18360 echo "$as_me: failed program was:" >&5
18361 sed 's/^/| /' conftest.
$ac_ext >&5
18363 ac_cv_func_shl_load
=no
18366 rm -f core conftest.err conftest.
$ac_objext \
18367 conftest
$ac_exeext conftest.
$ac_ext
18369 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18370 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
18371 if test $ac_cv_func_shl_load = yes; then
18372 lt_cv_dlopen
="shl_load"
18374 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18375 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
18376 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18377 echo $ECHO_N "(cached) $ECHO_C" >&6
18379 ac_check_lib_save_LIBS
=$LIBS
18381 cat >conftest.
$ac_ext <<_ACEOF
18384 cat confdefs.h
>>conftest.
$ac_ext
18385 cat >>conftest.
$ac_ext <<_ACEOF
18386 /* end confdefs.h. */
18388 /* Override any GCC internal prototype to avoid an error.
18389 Use char because int might match the return type of a GCC
18390 builtin and then its argument prototype would still apply. */
18398 return shl_load ();
18403 rm -f conftest.
$ac_objext conftest
$ac_exeext
18404 if { (ac_try
="$ac_link"
18405 case "(($ac_try" in
18406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18407 *) ac_try_echo=$ac_try;;
18409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18410 (eval "$ac_link") 2>conftest.er1
18412 grep -v '^ *+' conftest.er1 >conftest.err
18414 cat conftest.err >&5
18415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18416 (exit $ac_status); } &&
18417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18418 { (case "(($ac_try" in
18419 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18420 *) ac_try_echo
=$ac_try;;
18422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18423 (eval "$ac_try") 2>&5
18425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18426 (exit $ac_status); }; } &&
18427 { ac_try
='test -s conftest$ac_exeext'
18428 { (case "(($ac_try" in
18429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18430 *) ac_try_echo=$ac_try;;
18432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18433 (eval "$ac_try") 2>&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); }; }; then
18437 ac_cv_lib_dld_shl_load=yes
18439 echo "$as_me: failed program was:" >&5
18440 sed 's/^/| /' conftest.$ac_ext >&5
18442 ac_cv_lib_dld_shl_load=no
18445 rm -f core conftest.err conftest.$ac_objext \
18446 conftest$ac_exeext conftest.$ac_ext
18447 LIBS=$ac_check_lib_save_LIBS
18449 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18450 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
18451 if test $ac_cv_lib_dld_shl_load = yes; then
18452 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
18454 { echo "$as_me:$LINENO: checking for dlopen" >&5
18455 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
18456 if test "${ac_cv_func_dlopen+set}" = set; then
18457 echo $ECHO_N "(cached) $ECHO_C" >&6
18459 cat >conftest.$ac_ext <<_ACEOF
18462 cat confdefs.h >>conftest.$ac_ext
18463 cat >>conftest.$ac_ext <<_ACEOF
18464 /* end confdefs.h. */
18465 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18467 #define dlopen innocuous_dlopen
18469 /* System header to define __stub macros and hopefully few prototypes,
18470 which can conflict with char dlopen (); below.
18471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18472 <limits.h> exists even on freestanding compilers. */
18475 # include <limits.h>
18477 # include <assert.h>
18482 /* Override any GCC internal prototype to avoid an error.
18483 Use char because int might match the return type of a GCC
18484 builtin and then its argument prototype would still apply. */
18489 /* The GNU C library defines this for functions which it implements
18490 to always fail with ENOSYS. Some functions are actually named
18491 something starting with __ and the normal name is an alias. */
18492 #if defined __stub_dlopen || defined __stub___dlopen
18504 rm -f conftest.$ac_objext conftest$ac_exeext
18505 if { (ac_try="$ac_link"
18506 case "(($ac_try" in
18507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18508 *) ac_try_echo
=$ac_try;;
18510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18511 (eval "$ac_link") 2>conftest.er1
18513 grep -v '^ *+' conftest.er1
>conftest.err
18515 cat conftest.err
>&5
18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517 (exit $ac_status); } &&
18518 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18519 { (case "(($ac_try" in
18520 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18521 *) ac_try_echo=$ac_try;;
18523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18524 (eval "$ac_try") 2>&5
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); }; } &&
18528 { ac_try='test -s conftest$ac_exeext'
18529 { (case "(($ac_try" in
18530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18531 *) ac_try_echo
=$ac_try;;
18533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18534 (eval "$ac_try") 2>&5
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); }; }; then
18538 ac_cv_func_dlopen
=yes
18540 echo "$as_me: failed program was:" >&5
18541 sed 's/^/| /' conftest.
$ac_ext >&5
18543 ac_cv_func_dlopen
=no
18546 rm -f core conftest.err conftest.
$ac_objext \
18547 conftest
$ac_exeext conftest.
$ac_ext
18549 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18550 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
18551 if test $ac_cv_func_dlopen = yes; then
18552 lt_cv_dlopen
="dlopen"
18554 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18555 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18556 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18557 echo $ECHO_N "(cached) $ECHO_C" >&6
18559 ac_check_lib_save_LIBS
=$LIBS
18561 cat >conftest.
$ac_ext <<_ACEOF
18564 cat confdefs.h
>>conftest.
$ac_ext
18565 cat >>conftest.
$ac_ext <<_ACEOF
18566 /* end confdefs.h. */
18568 /* Override any GCC internal prototype to avoid an error.
18569 Use char because int might match the return type of a GCC
18570 builtin and then its argument prototype would still apply. */
18583 rm -f conftest.
$ac_objext conftest
$ac_exeext
18584 if { (ac_try
="$ac_link"
18585 case "(($ac_try" in
18586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18587 *) ac_try_echo=$ac_try;;
18589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18590 (eval "$ac_link") 2>conftest.er1
18592 grep -v '^ *+' conftest.er1 >conftest.err
18594 cat conftest.err >&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); } &&
18597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18598 { (case "(($ac_try" in
18599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18600 *) ac_try_echo
=$ac_try;;
18602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18603 (eval "$ac_try") 2>&5
18605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18606 (exit $ac_status); }; } &&
18607 { ac_try
='test -s conftest$ac_exeext'
18608 { (case "(($ac_try" in
18609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18610 *) ac_try_echo=$ac_try;;
18612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18613 (eval "$ac_try") 2>&5
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); }; }; then
18617 ac_cv_lib_dl_dlopen=yes
18619 echo "$as_me: failed program was:" >&5
18620 sed 's/^/| /' conftest.$ac_ext >&5
18622 ac_cv_lib_dl_dlopen=no
18625 rm -f core conftest.err conftest.$ac_objext \
18626 conftest$ac_exeext conftest.$ac_ext
18627 LIBS=$ac_check_lib_save_LIBS
18629 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18630 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18631 if test $ac_cv_lib_dl_dlopen = yes; then
18632 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18634 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18635 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
18636 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18637 echo $ECHO_N "(cached) $ECHO_C" >&6
18639 ac_check_lib_save_LIBS=$LIBS
18640 LIBS="-lsvld $LIBS"
18641 cat >conftest.$ac_ext <<_ACEOF
18644 cat confdefs.h >>conftest.$ac_ext
18645 cat >>conftest.$ac_ext <<_ACEOF
18646 /* end confdefs.h. */
18648 /* Override any GCC internal prototype to avoid an error.
18649 Use char because int might match the return type of a GCC
18650 builtin and then its argument prototype would still apply. */
18663 rm -f conftest.$ac_objext conftest$ac_exeext
18664 if { (ac_try="$ac_link"
18665 case "(($ac_try" in
18666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18667 *) ac_try_echo
=$ac_try;;
18669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18670 (eval "$ac_link") 2>conftest.er1
18672 grep -v '^ *+' conftest.er1
>conftest.err
18674 cat conftest.err
>&5
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); } &&
18677 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18678 { (case "(($ac_try" in
18679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18680 *) ac_try_echo=$ac_try;;
18682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18683 (eval "$ac_try") 2>&5
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); }; } &&
18687 { ac_try='test -s conftest$ac_exeext'
18688 { (case "(($ac_try" in
18689 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18690 *) ac_try_echo
=$ac_try;;
18692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18693 (eval "$ac_try") 2>&5
18695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 (exit $ac_status); }; }; then
18697 ac_cv_lib_svld_dlopen
=yes
18699 echo "$as_me: failed program was:" >&5
18700 sed 's/^/| /' conftest.
$ac_ext >&5
18702 ac_cv_lib_svld_dlopen
=no
18705 rm -f core conftest.err conftest.
$ac_objext \
18706 conftest
$ac_exeext conftest.
$ac_ext
18707 LIBS
=$ac_check_lib_save_LIBS
18709 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18710 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
18711 if test $ac_cv_lib_svld_dlopen = yes; then
18712 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
18714 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18715 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
18716 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18717 echo $ECHO_N "(cached) $ECHO_C" >&6
18719 ac_check_lib_save_LIBS
=$LIBS
18721 cat >conftest.
$ac_ext <<_ACEOF
18724 cat confdefs.h
>>conftest.
$ac_ext
18725 cat >>conftest.
$ac_ext <<_ACEOF
18726 /* end confdefs.h. */
18728 /* Override any GCC internal prototype to avoid an error.
18729 Use char because int might match the return type of a GCC
18730 builtin and then its argument prototype would still apply. */
18738 return dld_link ();
18743 rm -f conftest.
$ac_objext conftest
$ac_exeext
18744 if { (ac_try
="$ac_link"
18745 case "(($ac_try" in
18746 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18747 *) ac_try_echo=$ac_try;;
18749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18750 (eval "$ac_link") 2>conftest.er1
18752 grep -v '^ *+' conftest.er1 >conftest.err
18754 cat conftest.err >&5
18755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18756 (exit $ac_status); } &&
18757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18758 { (case "(($ac_try" in
18759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18760 *) ac_try_echo
=$ac_try;;
18762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18763 (eval "$ac_try") 2>&5
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); }; } &&
18767 { ac_try
='test -s conftest$ac_exeext'
18768 { (case "(($ac_try" in
18769 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18770 *) ac_try_echo=$ac_try;;
18772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18773 (eval "$ac_try") 2>&5
18775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18776 (exit $ac_status); }; }; then
18777 ac_cv_lib_dld_dld_link=yes
18779 echo "$as_me: failed program was:" >&5
18780 sed 's/^/| /' conftest.$ac_ext >&5
18782 ac_cv_lib_dld_dld_link=no
18785 rm -f core conftest.err conftest.$ac_objext \
18786 conftest$ac_exeext conftest.$ac_ext
18787 LIBS=$ac_check_lib_save_LIBS
18789 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18790 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
18791 if test $ac_cv_lib_dld_dld_link = yes; then
18792 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18813 if test "x$lt_cv_dlopen" != xno; then
18819 case $lt_cv_dlopen in
18821 save_CPPFLAGS="$CPPFLAGS"
18822 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18824 save_LDFLAGS="$LDFLAGS"
18825 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18828 LIBS="$lt_cv_dlopen_libs $LIBS"
18830 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18831 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
18832 if test "${lt_cv_dlopen_self+set}" = set; then
18833 echo $ECHO_N "(cached) $ECHO_C" >&6
18835 if test "$cross_compiling" = yes; then :
18836 lt_cv_dlopen_self=cross
18838 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18839 lt_status=$lt_dlunknown
18840 cat > conftest.$ac_ext <<EOF
18841 #line 18841 "configure"
18842 #include "confdefs.h"
18851 # define LT_DLGLOBAL RTLD_GLOBAL
18854 # define LT_DLGLOBAL DL_GLOBAL
18856 # define LT_DLGLOBAL 0
18860 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18861 find out it does not work in some platform. */
18862 #ifndef LT_DLLAZY_OR_NOW
18864 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18867 # define LT_DLLAZY_OR_NOW DL_LAZY
18870 # define LT_DLLAZY_OR_NOW RTLD_NOW
18873 # define LT_DLLAZY_OR_NOW DL_NOW
18875 # define LT_DLLAZY_OR_NOW 0
18883 extern "C" void exit (int);
18886 void fnord() { int i=42;}
18889 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18890 int status = $lt_dlunknown;
18894 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18895 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18896 /* dlclose (self); */
18902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18903 (eval $ac_link) 2>&5
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18907 (./conftest; exit; ) 2>/dev/null
18909 case x$lt_status in
18910 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18911 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
18912 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
18915 # compilation failed
18916 lt_cv_dlopen_self=no
18923 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18924 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
18926 if test "x$lt_cv_dlopen_self" = xyes; then
18927 LDFLAGS="$LDFLAGS $link_static_flag"
18928 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18929 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
18930 if test "${lt_cv_dlopen_self_static+set}" = set; then
18931 echo $ECHO_N "(cached) $ECHO_C" >&6
18933 if test "$cross_compiling" = yes; then :
18934 lt_cv_dlopen_self_static=cross
18936 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18937 lt_status=$lt_dlunknown
18938 cat > conftest.$ac_ext <<EOF
18939 #line 18939 "configure"
18940 #include "confdefs.h"
18949 # define LT_DLGLOBAL RTLD_GLOBAL
18952 # define LT_DLGLOBAL DL_GLOBAL
18954 # define LT_DLGLOBAL 0
18958 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18959 find out it does not work in some platform. */
18960 #ifndef LT_DLLAZY_OR_NOW
18962 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18965 # define LT_DLLAZY_OR_NOW DL_LAZY
18968 # define LT_DLLAZY_OR_NOW RTLD_NOW
18971 # define LT_DLLAZY_OR_NOW DL_NOW
18973 # define LT_DLLAZY_OR_NOW 0
18981 extern "C" void exit (int);
18984 void fnord() { int i=42;}
18987 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18988 int status = $lt_dlunknown;
18992 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18993 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18994 /* dlclose (self); */
19000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19001 (eval $ac_link) 2>&5
19003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19005 (./conftest; exit; ) 2>/dev/null
19007 case x$lt_status in
19008 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
19009 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
19010 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
19013 # compilation failed
19014 lt_cv_dlopen_self_static=no
19021 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19022 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
19025 CPPFLAGS="$save_CPPFLAGS"
19026 LDFLAGS="$save_LDFLAGS"
19031 case $lt_cv_dlopen_self in
19032 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
19033 *) enable_dlopen_self=unknown ;;
19036 case $lt_cv_dlopen_self_static in
19037 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
19038 *) enable_dlopen_self_static=unknown ;;
19043 # The else clause should only fire when bootstrapping the
19044 # libtool distribution, otherwise you forgot to ship ltmain.sh
19045 # with your package, and you will get complaints that there are
19046 # no rules to generate ltmain.sh.
19047 if test -f "$ltmain"; then
19048 # See if we are running on zsh, and set the options which allow our commands through
19049 # without removal of \ escapes.
19050 if test -n "${ZSH_VERSION+set}" ; then
19051 setopt NO_GLOB_SUBST
19053 # Now quote all the things that may contain metacharacters while being
19054 # careful not to overquote the AC_SUBSTed values. We take copies of the
19055 # variables and quote the copies for generation of the libtool script.
19056 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
19057 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19058 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19059 deplibs_check_method reload_flag reload_cmds need_locks \
19060 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19061 lt_cv_sys_global_symbol_to_c_name_address \
19062 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19063 old_postinstall_cmds old_postuninstall_cmds \
19067 lt_prog_compiler_wl_GCJ \
19068 lt_prog_compiler_pic_GCJ \
19069 lt_prog_compiler_static_GCJ \
19070 lt_prog_compiler_no_builtin_flag_GCJ \
19071 export_dynamic_flag_spec_GCJ \
19072 thread_safe_flag_spec_GCJ \
19073 whole_archive_flag_spec_GCJ \
19074 enable_shared_with_static_runtimes_GCJ \
19075 old_archive_cmds_GCJ \
19076 old_archive_from_new_cmds_GCJ \
19077 predep_objects_GCJ \
19078 postdep_objects_GCJ \
19081 compiler_lib_search_path_GCJ \
19083 archive_expsym_cmds_GCJ \
19084 postinstall_cmds_GCJ \
19085 postuninstall_cmds_GCJ \
19086 old_archive_from_expsyms_cmds_GCJ \
19087 allow_undefined_flag_GCJ \
19088 no_undefined_flag_GCJ \
19089 export_symbols_cmds_GCJ \
19090 hardcode_libdir_flag_spec_GCJ \
19091 hardcode_libdir_flag_spec_ld_GCJ \
19092 hardcode_libdir_separator_GCJ \
19093 hardcode_automatic_GCJ \
19095 module_expsym_cmds_GCJ \
19096 lt_cv_prog_compiler_c_o_GCJ \
19097 exclude_expsyms_GCJ \
19098 include_expsyms_GCJ; do
19101 old_archive_cmds_GCJ | \
19102 old_archive_from_new_cmds_GCJ | \
19103 archive_cmds_GCJ | \
19104 archive_expsym_cmds_GCJ | \
19105 module_cmds_GCJ | \
19106 module_expsym_cmds_GCJ | \
19107 old_archive_from_expsyms_cmds_GCJ | \
19108 export_symbols_cmds_GCJ | \
19109 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19110 postinstall_cmds | postuninstall_cmds | \
19111 old_postinstall_cmds | old_postuninstall_cmds | \
19112 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19113 # Double-quote double-evaled strings.
19114 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
19117 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
19123 *'\$0 --fallback-echo"')
19124 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19130 cat <<__EOF__ >> "$cfgfile"
19131 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19133 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
19135 # Shell to use when invoking shell scripts.
19138 # Whether or not to build shared libraries.
19139 build_libtool_libs=$enable_shared
19141 # Whether or not to build static libraries.
19142 build_old_libs=$enable_static
19144 # Whether or not to add -lc for building shared libraries.
19145 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19147 # Whether or not to disallow shared libs when runtime libs are static
19148 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19150 # Whether or not to optimize for fast installation.
19151 fast_install=$enable_fast_install
19154 host_alias=$host_alias
19157 # An echo program that does not interpret backslashes.
19162 AR_FLAGS=$lt_AR_FLAGS
19167 # A language-specific compiler.
19168 CC=$lt_compiler_GCJ
19170 # Is the compiler the GNU C compiler?
19176 # The linker used to build libraries.
19179 # Whether we need hard or soft links.
19182 # A BSD-compatible nm program.
19185 # A symbol stripping program
19188 # Used to examine libraries when file_magic_cmd begins "file"
19189 MAGIC_CMD=$MAGIC_CMD
19191 # Used on cygwin: DLL creation program.
19194 # Used on cygwin: object dumper.
19197 # Used on cygwin: assembler.
19200 # The name of the directory that contains temporary libtool files.
19203 # How to create reloadable object files.
19204 reload_flag=$lt_reload_flag
19205 reload_cmds=$lt_reload_cmds
19207 # How to pass a linker flag through the compiler.
19208 wl=$lt_lt_prog_compiler_wl_GCJ
19210 # Object file suffix (normally "o").
19211 objext="$ac_objext"
19213 # Old archive suffix (normally "a").
19216 # Shared library suffix (normally ".so").
19219 # Executable file suffix (normally "").
19222 # Additional compiler flags for building library objects.
19223 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19226 # What is the maximum length of a command?
19227 max_cmd_len=$lt_cv_sys_max_cmd_len
19229 # Does compiler simultaneously support -c and -o options?
19230 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19232 # Must we lock files when doing compilation ?
19233 need_locks=$lt_need_locks
19235 # Do we need the lib prefix for modules?
19236 need_lib_prefix=$need_lib_prefix
19238 # Do we need a version for libraries?
19239 need_version=$need_version
19241 # Whether dlopen is supported.
19242 dlopen_support=$enable_dlopen
19244 # Whether dlopen of programs is supported.
19245 dlopen_self=$enable_dlopen_self
19247 # Whether dlopen of statically linked programs is supported.
19248 dlopen_self_static=$enable_dlopen_self_static
19250 # Compiler flag to prevent dynamic linking.
19251 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19253 # Compiler flag to turn off builtin functions.
19254 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19256 # Compiler flag to allow reflexive dlopens.
19257 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19259 # Compiler flag to generate shared objects directly from archives.
19260 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19262 # Compiler flag to generate thread-safe objects.
19263 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19265 # Library versioning type.
19266 version_type=$version_type
19268 # Format of library name prefix.
19269 libname_spec=$lt_libname_spec
19271 # List of archive names. First name is the real one, the rest are links.
19272 # The last name is the one that the linker finds with -lNAME.
19273 library_names_spec=$lt_library_names_spec
19275 # The coded name of the library, if different from the real name.
19276 soname_spec=$lt_soname_spec
19278 # Commands used to build and install an old-style archive.
19280 old_archive_cmds=$lt_old_archive_cmds_GCJ
19281 old_postinstall_cmds=$lt_old_postinstall_cmds
19282 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19284 # Create an old-style archive from a shared archive.
19285 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19287 # Create a temporary old-style archive to link instead of a shared archive.
19288 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19290 # Commands used to build and install a shared archive.
19291 archive_cmds=$lt_archive_cmds_GCJ
19292 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19293 postinstall_cmds=$lt_postinstall_cmds
19294 postuninstall_cmds=$lt_postuninstall_cmds
19296 # Commands used to build a loadable module (assumed same as above if empty)
19297 module_cmds=$lt_module_cmds_GCJ
19298 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19300 # Commands to strip libraries.
19301 old_striplib=$lt_old_striplib
19302 striplib=$lt_striplib
19304 # Dependencies to place before the objects being linked to create a
19306 predep_objects=$lt_predep_objects_GCJ
19308 # Dependencies to place after the objects being linked to create a
19310 postdep_objects=$lt_postdep_objects_GCJ
19312 # Dependencies to place before the objects being linked to create a
19314 predeps=$lt_predeps_GCJ
19316 # Dependencies to place after the objects being linked to create a
19318 postdeps=$lt_postdeps_GCJ
19320 # The library search path used internally by the compiler when linking
19321 # a shared library.
19322 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19324 # Method to check whether dependent libraries are shared objects.
19325 deplibs_check_method=$lt_deplibs_check_method
19327 # Command to use when deplibs_check_method == file_magic.
19328 file_magic_cmd=$lt_file_magic_cmd
19330 # Flag that allows shared libraries with undefined symbols to be built.
19331 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19333 # Flag that forces no undefined symbols.
19334 no_undefined_flag=$lt_no_undefined_flag_GCJ
19336 # Commands used to finish a libtool library installation in a directory.
19337 finish_cmds=$lt_finish_cmds
19339 # Same as above, but a single script fragment to be evaled but not shown.
19340 finish_eval=$lt_finish_eval
19342 # Take the output of nm and produce a listing of raw symbols and C names.
19343 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19345 # Transform the output of nm in a proper C declaration
19346 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19348 # Transform the output of nm in a C name address pair
19349 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19351 # This is the shared library runtime path variable.
19352 runpath_var=$runpath_var
19354 # This is the shared library path variable.
19355 shlibpath_var=$shlibpath_var
19357 # Is shlibpath searched before the hard-coded library search path?
19358 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19360 # How to hardcode a shared library path into an executable.
19361 hardcode_action=$hardcode_action_GCJ
19363 # Whether we should hardcode library paths into libraries.
19364 hardcode_into_libs=$hardcode_into_libs
19366 # Flag to hardcode \$libdir into a binary during linking.
19367 # This must work even if \$libdir does not exist.
19368 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19370 # If ld is used when linking, flag to hardcode \$libdir into
19371 # a binary during linking. This must work even if \$libdir does
19373 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19375 # Whether we need a single -rpath flag with a separated argument.
19376 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19378 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19379 # resulting binary.
19380 hardcode_direct=$hardcode_direct_GCJ
19382 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19383 # resulting binary.
19384 hardcode_minus_L=$hardcode_minus_L_GCJ
19386 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19387 # the resulting binary.
19388 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19390 # Set to yes if building a shared library automatically hardcodes DIR into the library
19391 # and all subsequent libraries and executables linked against it.
19392 hardcode_automatic=$hardcode_automatic_GCJ
19394 # Variables whose values should be saved in libtool wrapper scripts and
19395 # restored at relink time.
19396 variables_saved_for_relink="$variables_saved_for_relink"
19398 # Whether libtool must link a program against all its dependency libraries.
19399 link_all_deplibs=$link_all_deplibs_GCJ
19401 # Compile-time system search path for libraries
19402 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19404 # Run-time system search path for libraries
19405 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19407 # Fix the shell variable \$srcfile for the compiler.
19408 fix_srcfile_path="$fix_srcfile_path_GCJ"
19410 # Set to yes if exported symbols are required.
19411 always_export_symbols=$always_export_symbols_GCJ
19413 # The commands to list exported symbols.
19414 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19416 # The commands to extract the exported symbol list from a shared archive.
19417 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19419 # Symbols that should not be listed in the preloaded symbols.
19420 exclude_expsyms=$lt_exclude_expsyms_GCJ
19422 # Symbols that must always be exported.
19423 include_expsyms=$lt_include_expsyms_GCJ
19425 # ### END LIBTOOL TAG CONFIG: $tagname
19431 # If there is no Makefile yet, we rely on a make rule to execute
19432 # `config.status
--recheck' to rerun these tests and create the
19433 # libtool script then.
19434 test -f Makefile && make "$ltmain"
19439 ac_cpp='$CPP $CPPFLAGS'
19440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
19441 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
19442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19454 # Source file extension for RC test sources.
19457 # Object file extension for compiled RC test sources.
19461 # Code to be used in simple compile tests
19462 lt_simple_compile_test_code='sample MENU
{ MENUITEM
"&Soup", 100, CHECKED
}\n'
19464 # Code to be used in simple link tests
19465 lt_simple_link_test_code="$lt_simple_compile_test_code"
19467 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19469 # If no C compiler was specified, use CC.
19472 # Allow CC to be a program name with arguments.
19476 # Allow CC to be a program name with arguments.
19481 lt_cv_prog_compiler_c_o_RC=yes
19483 # The else clause should only fire when bootstrapping the
19484 # libtool distribution, otherwise you forgot to ship ltmain.sh
19485 # with your package, and you will get complaints that there are
19486 # no rules to generate ltmain.sh.
19487 if test -f "$ltmain"; then
19488 # See if we are running on zsh, and set the options which allow our commands through
19489 # without removal of \ escapes.
19490 if test -n "${ZSH_VERSION+set}" ; then
19491 setopt NO_GLOB_SUBST
19493 # Now quote all the things that may contain metacharacters while being
19494 # careful not to overquote the AC_SUBSTed values. We take copies of the
19495 # variables and quote the copies for generation of the libtool script.
19496 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
19497 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19498 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19499 deplibs_check_method reload_flag reload_cmds need_locks \
19500 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19501 lt_cv_sys_global_symbol_to_c_name_address \
19502 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19503 old_postinstall_cmds old_postuninstall_cmds \
19507 lt_prog_compiler_wl_RC \
19508 lt_prog_compiler_pic_RC \
19509 lt_prog_compiler_static_RC \
19510 lt_prog_compiler_no_builtin_flag_RC \
19511 export_dynamic_flag_spec_RC \
19512 thread_safe_flag_spec_RC \
19513 whole_archive_flag_spec_RC \
19514 enable_shared_with_static_runtimes_RC \
19515 old_archive_cmds_RC \
19516 old_archive_from_new_cmds_RC \
19517 predep_objects_RC \
19518 postdep_objects_RC \
19521 compiler_lib_search_path_RC \
19523 archive_expsym_cmds_RC \
19524 postinstall_cmds_RC \
19525 postuninstall_cmds_RC \
19526 old_archive_from_expsyms_cmds_RC \
19527 allow_undefined_flag_RC \
19528 no_undefined_flag_RC \
19529 export_symbols_cmds_RC \
19530 hardcode_libdir_flag_spec_RC \
19531 hardcode_libdir_flag_spec_ld_RC \
19532 hardcode_libdir_separator_RC \
19533 hardcode_automatic_RC \
19535 module_expsym_cmds_RC \
19536 lt_cv_prog_compiler_c_o_RC \
19537 exclude_expsyms_RC \
19538 include_expsyms_RC; do
19541 old_archive_cmds_RC | \
19542 old_archive_from_new_cmds_RC | \
19543 archive_cmds_RC | \
19544 archive_expsym_cmds_RC | \
19546 module_expsym_cmds_RC | \
19547 old_archive_from_expsyms_cmds_RC | \
19548 export_symbols_cmds_RC | \
19549 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19550 postinstall_cmds | postuninstall_cmds | \
19551 old_postinstall_cmds | old_postuninstall_cmds | \
19552 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19553 # Double-quote double-evaled strings.
19554 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19557 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19563 *'\
$0 --fallback-echo"')
19564 lt_echo=`$echo "X
$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$
/$0 --fallback-echo"/'`
19570 cat <<__EOF__ >> "$cfgfile"
19571 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19573 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19575 # Shell to use when invoking shell scripts.
19578 # Whether or not to build shared libraries.
19579 build_libtool_libs=$enable_shared
19581 # Whether or not to build static libraries.
19582 build_old_libs=$enable_static
19584 # Whether or not to add -lc for building shared libraries.
19585 build_libtool_need_lc=$archive_cmds_need_lc_RC
19587 # Whether or not to disallow shared libs when runtime libs are static
19588 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19590 # Whether or not to optimize for fast installation.
19591 fast_install=$enable_fast_install
19594 host_alias=$host_alias
19597 # An echo program that does not interpret backslashes.
19602 AR_FLAGS=$lt_AR_FLAGS
19607 # A language-specific compiler.
19610 # Is the compiler the GNU C compiler?
19616 # The linker used to build libraries.
19619 # Whether we need hard or soft links.
19622 # A BSD-compatible nm program.
19625 # A symbol stripping program
19628 # Used to examine libraries when file_magic_cmd begins "file"
19629 MAGIC_CMD=$MAGIC_CMD
19631 # Used on cygwin: DLL creation program.
19634 # Used on cygwin: object dumper.
19637 # Used on cygwin: assembler.
19640 # The name of the directory that contains temporary libtool files.
19643 # How to create reloadable object files.
19644 reload_flag=$lt_reload_flag
19645 reload_cmds=$lt_reload_cmds
19647 # How to pass a linker flag through the compiler.
19648 wl=$lt_lt_prog_compiler_wl_RC
19650 # Object file suffix (normally "o
").
19651 objext="$ac_objext"
19653 # Old archive suffix (normally "a
").
19656 # Shared library suffix (normally ".so
").
19659 # Executable file suffix (normally "").
19662 # Additional compiler flags for building library objects.
19663 pic_flag=$lt_lt_prog_compiler_pic_RC
19666 # What is the maximum length of a command?
19667 max_cmd_len=$lt_cv_sys_max_cmd_len
19669 # Does compiler simultaneously support -c and -o options?
19670 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19672 # Must we lock files when doing compilation ?
19673 need_locks=$lt_need_locks
19675 # Do we need the lib prefix for modules?
19676 need_lib_prefix=$need_lib_prefix
19678 # Do we need a version for libraries?
19679 need_version=$need_version
19681 # Whether dlopen is supported.
19682 dlopen_support=$enable_dlopen
19684 # Whether dlopen of programs is supported.
19685 dlopen_self=$enable_dlopen_self
19687 # Whether dlopen of statically linked programs is supported.
19688 dlopen_self_static=$enable_dlopen_self_static
19690 # Compiler flag to prevent dynamic linking.
19691 link_static_flag=$lt_lt_prog_compiler_static_RC
19693 # Compiler flag to turn off builtin functions.
19694 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19696 # Compiler flag to allow reflexive dlopens.
19697 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19699 # Compiler flag to generate shared objects directly from archives.
19700 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19702 # Compiler flag to generate thread-safe objects.
19703 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19705 # Library versioning type.
19706 version_type=$version_type
19708 # Format of library name prefix.
19709 libname_spec=$lt_libname_spec
19711 # List of archive names. First name is the real one, the rest are links.
19712 # The last name is the one that the linker finds with -lNAME.
19713 library_names_spec=$lt_library_names_spec
19715 # The coded name of the library, if different from the real name.
19716 soname_spec=$lt_soname_spec
19718 # Commands used to build and install an old-style archive.
19720 old_archive_cmds=$lt_old_archive_cmds_RC
19721 old_postinstall_cmds=$lt_old_postinstall_cmds
19722 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19724 # Create an old-style archive from a shared archive.
19725 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19727 # Create a temporary old-style archive to link instead of a shared archive.
19728 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19730 # Commands used to build and install a shared archive.
19731 archive_cmds=$lt_archive_cmds_RC
19732 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19733 postinstall_cmds=$lt_postinstall_cmds
19734 postuninstall_cmds=$lt_postuninstall_cmds
19736 # Commands used to build a loadable module (assumed same as above if empty)
19737 module_cmds=$lt_module_cmds_RC
19738 module_expsym_cmds=$lt_module_expsym_cmds_RC
19740 # Commands to strip libraries.
19741 old_striplib=$lt_old_striplib
19742 striplib=$lt_striplib
19744 # Dependencies to place before the objects being linked to create a
19746 predep_objects=$lt_predep_objects_RC
19748 # Dependencies to place after the objects being linked to create a
19750 postdep_objects=$lt_postdep_objects_RC
19752 # Dependencies to place before the objects being linked to create a
19754 predeps=$lt_predeps_RC
19756 # Dependencies to place after the objects being linked to create a
19758 postdeps=$lt_postdeps_RC
19760 # The library search path used internally by the compiler when linking
19761 # a shared library.
19762 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19764 # Method to check whether dependent libraries are shared objects.
19765 deplibs_check_method=$lt_deplibs_check_method
19767 # Command to use when deplibs_check_method == file_magic.
19768 file_magic_cmd=$lt_file_magic_cmd
19770 # Flag that allows shared libraries with undefined symbols to be built.
19771 allow_undefined_flag=$lt_allow_undefined_flag_RC
19773 # Flag that forces no undefined symbols.
19774 no_undefined_flag=$lt_no_undefined_flag_RC
19776 # Commands used to finish a libtool library installation in a directory.
19777 finish_cmds=$lt_finish_cmds
19779 # Same as above, but a single script fragment to be evaled but not shown.
19780 finish_eval=$lt_finish_eval
19782 # Take the output of nm and produce a listing of raw symbols and C names.
19783 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19785 # Transform the output of nm in a proper C declaration
19786 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19788 # Transform the output of nm in a C name address pair
19789 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19791 # This is the shared library runtime path variable.
19792 runpath_var=$runpath_var
19794 # This is the shared library path variable.
19795 shlibpath_var=$shlibpath_var
19797 # Is shlibpath searched before the hard-coded library search path?
19798 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19800 # How to hardcode a shared library path into an executable.
19801 hardcode_action=$hardcode_action_RC
19803 # Whether we should hardcode library paths into libraries.
19804 hardcode_into_libs=$hardcode_into_libs
19806 # Flag to hardcode \$libdir into a binary during linking.
19807 # This must work even if \$libdir does not exist.
19808 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19810 # If ld is used when linking, flag to hardcode \$libdir into
19811 # a binary during linking. This must work even if \$libdir does
19813 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19815 # Whether we need a single -rpath flag with a separated argument.
19816 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19818 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19819 # resulting binary.
19820 hardcode_direct=$hardcode_direct_RC
19822 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19823 # resulting binary.
19824 hardcode_minus_L=$hardcode_minus_L_RC
19826 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19827 # the resulting binary.
19828 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19830 # Set to yes if building a shared library automatically hardcodes DIR into the library
19831 # and all subsequent libraries and executables linked against it.
19832 hardcode_automatic=$hardcode_automatic_RC
19834 # Variables whose values should be saved in libtool wrapper scripts and
19835 # restored at relink time.
19836 variables_saved_for_relink="$variables_saved_for_relink"
19838 # Whether libtool must link a program against all its dependency libraries.
19839 link_all_deplibs=$link_all_deplibs_RC
19841 # Compile-time system search path for libraries
19842 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19844 # Run-time system search path for libraries
19845 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19847 # Fix the shell variable \$srcfile for the compiler.
19848 fix_srcfile_path="$fix_srcfile_path_RC"
19850 # Set to yes if exported symbols are required.
19851 always_export_symbols=$always_export_symbols_RC
19853 # The commands to list exported symbols.
19854 export_symbols_cmds=$lt_export_symbols_cmds_RC
19856 # The commands to extract the exported symbol list from a shared archive.
19857 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19859 # Symbols that should not be listed in the preloaded symbols.
19860 exclude_expsyms=$lt_exclude_expsyms_RC
19862 # Symbols that must always be exported.
19863 include_expsyms=$lt_include_expsyms_RC
19865 # ### END LIBTOOL TAG CONFIG: $tagname
19871 # If there is no Makefile yet, we rely on a make rule to execute
19872 # `config.status --recheck' to rerun these tests and create the
19873 # libtool script then.
19874 test -f Makefile && make "$ltmain"
19879 ac_cpp='$CPP $CPPFLAGS'
19880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19889 { { echo "$as_me:$LINENO: error
: Unsupported tag name
: $tagname" >&5
19890 echo "$as_me: error
: Unsupported tag name
: $tagname" >&2;}
19891 { (exit 1); exit 1; }; }
19895 # Append the new tag name to the list of available tags.
19896 if test -n "$tagname" ; then
19897 available_tags="$available_tags $tagname"
19903 # Now substitute the updated list of available tags.
19904 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T
\""; then
19905 mv "${ofile}T
" "$ofile"
19909 { { echo "$as_me:$LINENO: error
: unable to update list of available tagged configurations.
" >&5
19910 echo "$as_me: error
: unable to update list of available tagged configurations.
" >&2;}
19911 { (exit 1); exit 1; }; }
19917 # This can be used to rebuild libtool when needed
19918 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh
"
19920 # Always use our own libtool.
19921 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19923 # Prevent multiple expansion
19944 { echo "$as_me:$LINENO: checking
for an ANSI C-conforming const
" >&5
19945 echo $ECHO_N "checking
for an ANSI C-conforming const...
$ECHO_C" >&6; }
19946 if test "${ac_cv_c_const+set}" = set; then
19947 echo $ECHO_N "(cached
) $ECHO_C" >&6
19949 cat >conftest.$ac_ext <<_ACEOF
19952 cat confdefs.h >>conftest.$ac_ext
19953 cat >>conftest.$ac_ext <<_ACEOF
19954 /* end confdefs.h. */
19959 /* FIXME: Include the comments suggested by Paul. */
19960 #ifndef __cplusplus
19961 /* Ultrix mips cc rejects this. */
19962 typedef int charset[2];
19964 /* SunOS 4.1.1 cc rejects this. */
19965 char const *const *ccp;
19967 /* NEC SVR4.0.2 mips cc rejects this. */
19968 struct point {int x, y;};
19969 static struct point const zero = {0,0};
19970 /* AIX XL C 1.02.0.0 rejects this.
19971 It does not let you subtract one const X* pointer from another in
19972 an arm of an if-expression whose if-part is not a constant
19974 const char *g = "string
";
19975 ccp = &g + (g ? g-g : 0);
19976 /* HPUX 7.0 cc rejects these. */
19979 ccp = (char const *const *) p;
19980 { /* SCO 3.2v4 cc rejects this. */
19982 char const *s = 0 ? (char *) 0 : (char const *) 0;
19987 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19988 int x[] = {25, 17};
19989 const int *foo = &x[0];
19992 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19993 typedef const int *iptr;
19997 { /* AIX XL C 1.02.0.0 rejects this saying
19998 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19999 struct s { int j; const int *ap[3]; };
20000 struct s *b; b->j = 5;
20002 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20003 const int foo = 10;
20004 if (!foo) return 0;
20006 return !x[0] && !zero.x;
20013 rm -f conftest.$ac_objext
20014 if { (ac_try="$ac_compile"
20015 case "(($ac_try" in
20016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20017 *) ac_try_echo=$ac_try;;
20019 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20020 (eval "$ac_compile") 2>conftest.er1
20022 grep -v '^ *+' conftest.er1 >conftest.err
20024 cat conftest.err >&5
20025 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20026 (exit $ac_status); } &&
20027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20028 { (case "(($ac_try" in
20029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20030 *) ac_try_echo=$ac_try;;
20032 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20033 (eval "$ac_try") 2>&5
20035 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20036 (exit $ac_status); }; } &&
20037 { ac_try='test -s conftest.$ac_objext'
20038 { (case "(($ac_try" in
20039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20040 *) ac_try_echo=$ac_try;;
20042 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20043 (eval "$ac_try") 2>&5
20045 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20046 (exit $ac_status); }; }; then
20049 echo "$as_me: failed program was
:" >&5
20050 sed 's/^/| /' conftest.$ac_ext >&5
20055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20057 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
20058 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20059 if test $ac_cv_c_const = no; then
20061 cat >>confdefs.h <<\_ACEOF
20072 ac_header_dirent=no
20073 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
20074 as_ac_Header=`echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
20075 { echo "$as_me:$LINENO: checking
for $ac_hdr that defines DIR
" >&5
20076 echo $ECHO_N "checking
for $ac_hdr that defines DIR...
$ECHO_C" >&6; }
20077 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20078 echo $ECHO_N "(cached
) $ECHO_C" >&6
20080 cat >conftest.$ac_ext <<_ACEOF
20083 cat confdefs.h >>conftest.$ac_ext
20084 cat >>conftest.$ac_ext <<_ACEOF
20085 /* end confdefs.h. */
20086 #include <sys/types.h>
20098 rm -f conftest.$ac_objext
20099 if { (ac_try="$ac_compile"
20100 case "(($ac_try" in
20101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20102 *) ac_try_echo=$ac_try;;
20104 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20105 (eval "$ac_compile") 2>conftest.er1
20107 grep -v '^ *+' conftest.er1 >conftest.err
20109 cat conftest.err >&5
20110 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20111 (exit $ac_status); } &&
20112 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20113 { (case "(($ac_try" in
20114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20115 *) ac_try_echo=$ac_try;;
20117 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20118 (eval "$ac_try") 2>&5
20120 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20121 (exit $ac_status); }; } &&
20122 { ac_try='test -s conftest.$ac_objext'
20123 { (case "(($ac_try" in
20124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20125 *) ac_try_echo=$ac_try;;
20127 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20128 (eval "$ac_try") 2>&5
20130 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20131 (exit $ac_status); }; }; then
20132 eval "$as_ac_Header=yes"
20134 echo "$as_me: failed program was
:" >&5
20135 sed 's/^/| /' conftest.$ac_ext >&5
20137 eval "$as_ac_Header=no
"
20140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20142 ac_res=`eval echo '${'$as_ac_Header'}'`
20143 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20144 echo "${ECHO_T}$ac_res" >&6; }
20145 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20146 cat >>confdefs.h <<_ACEOF
20147 #define `echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
20150 ac_header_dirent=$ac_hdr; break
20154 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
20155 if test $ac_header_dirent = dirent.h; then
20156 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
20157 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
20158 if test "${ac_cv_search_opendir+set}" = set; then
20159 echo $ECHO_N "(cached
) $ECHO_C" >&6
20161 ac_func_search_save_LIBS=$LIBS
20162 cat >conftest.$ac_ext <<_ACEOF
20165 cat confdefs.h >>conftest.$ac_ext
20166 cat >>conftest.$ac_ext <<_ACEOF
20167 /* end confdefs.h. */
20169 /* Override any GCC internal prototype to avoid an error.
20170 Use char because int might match the return type of a GCC
20171 builtin and then its argument prototype would still apply. */
20184 for ac_lib in '' dir; do
20185 if test -z "$ac_lib"; then
20186 ac_res="none required
"
20189 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20191 rm -f conftest.$ac_objext conftest$ac_exeext
20192 if { (ac_try="$ac_link"
20193 case "(($ac_try" in
20194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20195 *) ac_try_echo=$ac_try;;
20197 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20198 (eval "$ac_link") 2>conftest.er1
20200 grep -v '^ *+' conftest.er1 >conftest.err
20202 cat conftest.err >&5
20203 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20204 (exit $ac_status); } &&
20205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20206 { (case "(($ac_try" in
20207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20208 *) ac_try_echo=$ac_try;;
20210 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20211 (eval "$ac_try") 2>&5
20213 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20214 (exit $ac_status); }; } &&
20215 { ac_try='test -s conftest$ac_exeext'
20216 { (case "(($ac_try" in
20217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20218 *) ac_try_echo=$ac_try;;
20220 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20221 (eval "$ac_try") 2>&5
20223 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20224 (exit $ac_status); }; }; then
20225 ac_cv_search_opendir=$ac_res
20227 echo "$as_me: failed program was
:" >&5
20228 sed 's/^/| /' conftest.$ac_ext >&5
20233 rm -f core conftest.err conftest.$ac_objext \
20235 if test "${ac_cv_search_opendir+set}" = set; then
20239 if test "${ac_cv_search_opendir+set}" = set; then
20242 ac_cv_search_opendir=no
20244 rm conftest.$ac_ext
20245 LIBS=$ac_func_search_save_LIBS
20247 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
20248 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
20249 ac_res=$ac_cv_search_opendir
20250 if test "$ac_res" != no; then
20251 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
20256 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
20257 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
20258 if test "${ac_cv_search_opendir+set}" = set; then
20259 echo $ECHO_N "(cached
) $ECHO_C" >&6
20261 ac_func_search_save_LIBS=$LIBS
20262 cat >conftest.$ac_ext <<_ACEOF
20265 cat confdefs.h >>conftest.$ac_ext
20266 cat >>conftest.$ac_ext <<_ACEOF
20267 /* end confdefs.h. */
20269 /* Override any GCC internal prototype to avoid an error.
20270 Use char because int might match the return type of a GCC
20271 builtin and then its argument prototype would still apply. */
20284 for ac_lib in '' x; do
20285 if test -z "$ac_lib"; then
20286 ac_res="none required
"
20289 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20291 rm -f conftest.$ac_objext conftest$ac_exeext
20292 if { (ac_try="$ac_link"
20293 case "(($ac_try" in
20294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20295 *) ac_try_echo=$ac_try;;
20297 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20298 (eval "$ac_link") 2>conftest.er1
20300 grep -v '^ *+' conftest.er1 >conftest.err
20302 cat conftest.err >&5
20303 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20304 (exit $ac_status); } &&
20305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20306 { (case "(($ac_try" in
20307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20308 *) ac_try_echo=$ac_try;;
20310 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20311 (eval "$ac_try") 2>&5
20313 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20314 (exit $ac_status); }; } &&
20315 { ac_try='test -s conftest$ac_exeext'
20316 { (case "(($ac_try" in
20317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20318 *) ac_try_echo=$ac_try;;
20320 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20321 (eval "$ac_try") 2>&5
20323 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20324 (exit $ac_status); }; }; then
20325 ac_cv_search_opendir=$ac_res
20327 echo "$as_me: failed program was
:" >&5
20328 sed 's/^/| /' conftest.$ac_ext >&5
20333 rm -f core conftest.err conftest.$ac_objext \
20335 if test "${ac_cv_search_opendir+set}" = set; then
20339 if test "${ac_cv_search_opendir+set}" = set; then
20342 ac_cv_search_opendir=no
20344 rm conftest.$ac_ext
20345 LIBS=$ac_func_search_save_LIBS
20347 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
20348 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
20349 ac_res=$ac_cv_search_opendir
20350 if test "$ac_res" != no; then
20351 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
20357 # Check whether --enable-ltdl-install was given.
20358 if test "${enable_ltdl_install+set}" = set; then
20359 enableval=$enable_ltdl_install;
20363 if test x"${enable_ltdl_install-no}" != xno; then
20364 cat >>confdefs.h <<\_ACEOF
20365 #define INSTALL_LTDL 1
20369 if test x"${enable_ltdl_convenience-no}" != xno; then
20370 cat >>confdefs.h <<\_ACEOF
20371 #define CONVENIENCE_LTDL 1
20377 { echo "$as_me:$LINENO: checking
which extension is used
for loadable modules
" >&5
20378 echo $ECHO_N "checking
which extension is used
for loadable modules...
$ECHO_C" >&6; }
20379 if test "${libltdl_cv_shlibext+set}" = set; then
20380 echo $ECHO_N "(cached
) $ECHO_C" >&6
20384 eval libltdl_cv_shlibext=$shrext
20387 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibext" >&5
20388 echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
20389 if test -n "$libltdl_cv_shlibext"; then
20391 cat >>confdefs.h <<_ACEOF
20392 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
20398 { echo "$as_me:$LINENO: checking
which variable specifies run-time library path
" >&5
20399 echo $ECHO_N "checking
which variable specifies run-time library path...
$ECHO_C" >&6; }
20400 if test "${libltdl_cv_shlibpath_var+set}" = set; then
20401 echo $ECHO_N "(cached
) $ECHO_C" >&6
20403 libltdl_cv_shlibpath_var="$shlibpath_var"
20405 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibpath_var" >&5
20406 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
20407 if test -n "$libltdl_cv_shlibpath_var"; then
20409 cat >>confdefs.h <<_ACEOF
20410 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
20416 { echo "$as_me:$LINENO: checking
for the default library search path
" >&5
20417 echo $ECHO_N "checking
for the default library search path...
$ECHO_C" >&6; }
20418 if test "${libltdl_cv_sys_search_path+set}" = set; then
20419 echo $ECHO_N "(cached
) $ECHO_C" >&6
20421 libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"
20423 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_search_path" >&5
20424 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6; }
20425 if test -n "$libltdl_cv_sys_search_path"; then
20427 for dir in $libltdl_cv_sys_search_path; do
20428 if test -z "$sys_search_path"; then
20429 sys_search_path="$dir"
20431 sys_search_path="$sys_search_path$PATH_SEPARATOR$dir"
20435 cat >>confdefs.h <<_ACEOF
20436 #define LTDL_SYSSEARCHPATH "$sys_search_path"
20441 { echo "$as_me:$LINENO: checking
for objdir
" >&5
20442 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6; }
20443 if test "${libltdl_cv_objdir+set}" = set; then
20444 echo $ECHO_N "(cached
) $ECHO_C" >&6
20446 libltdl_cv_objdir="$objdir"
20447 if test -n "$objdir"; then
20450 rm -f .libs 2>/dev/null
20451 mkdir .libs 2>/dev/null
20452 if test -d .libs; then
20453 libltdl_cv_objdir=.libs
20455 # MS-DOS does not allow filenames that begin with a dot.
20456 libltdl_cv_objdir=_libs
20458 rmdir .libs 2>/dev/null
20462 { echo "$as_me:$LINENO: result
: $libltdl_cv_objdir" >&5
20463 echo "${ECHO_T}$libltdl_cv_objdir" >&6; }
20465 cat >>confdefs.h <<_ACEOF
20466 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
20471 { echo "$as_me:$LINENO: checking whether libtool supports
-dlopen/-dlpreopen" >&5
20472 echo $ECHO_N "checking whether libtool supports
-dlopen/-dlpreopen...
$ECHO_C" >&6; }
20473 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
20474 echo $ECHO_N "(cached
) $ECHO_C" >&6
20476 if test -n "$lt_cv_sys_global_symbol_pipe"; then
20477 libltdl_cv_preloaded_symbols=yes
20479 libltdl_cv_preloaded_symbols=no
20483 { echo "$as_me:$LINENO: result
: $libltdl_cv_preloaded_symbols" >&5
20484 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
20485 if test x"$libltdl_cv_preloaded_symbols" = xyes; then
20487 cat >>confdefs.h <<\_ACEOF
20488 #define HAVE_PRELOADED_SYMBOLS 1
20496 ac_cpp='$CPP $CPPFLAGS'
20497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20502 { echo "$as_me:$LINENO: checking
for shl_load
" >&5
20503 echo $ECHO_N "checking
for shl_load...
$ECHO_C" >&6; }
20504 if test "${ac_cv_func_shl_load+set}" = set; then
20505 echo $ECHO_N "(cached
) $ECHO_C" >&6
20507 cat >conftest.$ac_ext <<_ACEOF
20510 cat confdefs.h >>conftest.$ac_ext
20511 cat >>conftest.$ac_ext <<_ACEOF
20512 /* end confdefs.h. */
20513 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
20514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20515 #define shl_load innocuous_shl_load
20517 /* System header to define __stub macros and hopefully few prototypes,
20518 which can conflict with char shl_load (); below.
20519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20520 <limits.h> exists even on freestanding compilers. */
20523 # include <limits.h>
20525 # include <assert.h>
20530 /* Override any GCC internal prototype to avoid an error.
20531 Use char because int might match the return type of a GCC
20532 builtin and then its argument prototype would still apply. */
20537 /* The GNU C library defines this for functions which it implements
20538 to always fail with ENOSYS. Some functions are actually named
20539 something starting with __ and the normal name is an alias. */
20540 #if defined __stub_shl_load || defined __stub___shl_load
20547 return shl_load ();
20552 rm -f conftest.$ac_objext conftest$ac_exeext
20553 if { (ac_try="$ac_link"
20554 case "(($ac_try" in
20555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20556 *) ac_try_echo=$ac_try;;
20558 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20559 (eval "$ac_link") 2>conftest.er1
20561 grep -v '^ *+' conftest.er1 >conftest.err
20563 cat conftest.err >&5
20564 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20565 (exit $ac_status); } &&
20566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20567 { (case "(($ac_try" in
20568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20569 *) ac_try_echo=$ac_try;;
20571 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20572 (eval "$ac_try") 2>&5
20574 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20575 (exit $ac_status); }; } &&
20576 { ac_try='test -s conftest$ac_exeext'
20577 { (case "(($ac_try" in
20578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20579 *) ac_try_echo=$ac_try;;
20581 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20582 (eval "$ac_try") 2>&5
20584 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20585 (exit $ac_status); }; }; then
20586 ac_cv_func_shl_load=yes
20588 echo "$as_me: failed program was
:" >&5
20589 sed 's/^/| /' conftest.$ac_ext >&5
20591 ac_cv_func_shl_load=no
20594 rm -f core conftest.err conftest.$ac_objext \
20595 conftest$ac_exeext conftest.$ac_ext
20597 { echo "$as_me:$LINENO: result
: $ac_cv_func_shl_load" >&5
20598 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
20599 if test $ac_cv_func_shl_load = yes; then
20601 cat >>confdefs.h <<\_ACEOF
20602 #define HAVE_SHL_LOAD 1
20606 { echo "$as_me:$LINENO: checking
for shl_load
in -ldld" >&5
20607 echo $ECHO_N "checking
for shl_load
in -ldld...
$ECHO_C" >&6; }
20608 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
20609 echo $ECHO_N "(cached
) $ECHO_C" >&6
20611 ac_check_lib_save_LIBS=$LIBS
20613 cat >conftest.$ac_ext <<_ACEOF
20616 cat confdefs.h >>conftest.$ac_ext
20617 cat >>conftest.$ac_ext <<_ACEOF
20618 /* end confdefs.h. */
20620 /* Override any GCC internal prototype to avoid an error.
20621 Use char because int might match the return type of a GCC
20622 builtin and then its argument prototype would still apply. */
20630 return shl_load ();
20635 rm -f conftest.$ac_objext conftest$ac_exeext
20636 if { (ac_try="$ac_link"
20637 case "(($ac_try" in
20638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20639 *) ac_try_echo=$ac_try;;
20641 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20642 (eval "$ac_link") 2>conftest.er1
20644 grep -v '^ *+' conftest.er1 >conftest.err
20646 cat conftest.err >&5
20647 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20648 (exit $ac_status); } &&
20649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20650 { (case "(($ac_try" in
20651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20652 *) ac_try_echo=$ac_try;;
20654 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20655 (eval "$ac_try") 2>&5
20657 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20658 (exit $ac_status); }; } &&
20659 { ac_try='test -s conftest$ac_exeext'
20660 { (case "(($ac_try" in
20661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20662 *) ac_try_echo=$ac_try;;
20664 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20665 (eval "$ac_try") 2>&5
20667 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20668 (exit $ac_status); }; }; then
20669 ac_cv_lib_dld_shl_load=yes
20671 echo "$as_me: failed program was
:" >&5
20672 sed 's/^/| /' conftest.$ac_ext >&5
20674 ac_cv_lib_dld_shl_load=no
20677 rm -f core conftest.err conftest.$ac_objext \
20678 conftest$ac_exeext conftest.$ac_ext
20679 LIBS=$ac_check_lib_save_LIBS
20681 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_shl_load" >&5
20682 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
20683 if test $ac_cv_lib_dld_shl_load = yes; then
20685 cat >>confdefs.h <<\_ACEOF
20686 #define HAVE_SHL_LOAD 1
20689 LIBADD_DL="$LIBADD_DL -ldld"
20691 { echo "$as_me:$LINENO: checking
for dlopen
in -ldl" >&5
20692 echo $ECHO_N "checking
for dlopen
in -ldl...
$ECHO_C" >&6; }
20693 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20694 echo $ECHO_N "(cached
) $ECHO_C" >&6
20696 ac_check_lib_save_LIBS=$LIBS
20698 cat >conftest.$ac_ext <<_ACEOF
20701 cat confdefs.h >>conftest.$ac_ext
20702 cat >>conftest.$ac_ext <<_ACEOF
20703 /* end confdefs.h. */
20705 /* Override any GCC internal prototype to avoid an error.
20706 Use char because int might match the return type of a GCC
20707 builtin and then its argument prototype would still apply. */
20720 rm -f conftest.$ac_objext conftest$ac_exeext
20721 if { (ac_try="$ac_link"
20722 case "(($ac_try" in
20723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20724 *) ac_try_echo=$ac_try;;
20726 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20727 (eval "$ac_link") 2>conftest.er1
20729 grep -v '^ *+' conftest.er1 >conftest.err
20731 cat conftest.err >&5
20732 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20733 (exit $ac_status); } &&
20734 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20735 { (case "(($ac_try" in
20736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20737 *) ac_try_echo=$ac_try;;
20739 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20740 (eval "$ac_try") 2>&5
20742 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20743 (exit $ac_status); }; } &&
20744 { ac_try='test -s conftest$ac_exeext'
20745 { (case "(($ac_try" in
20746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20747 *) ac_try_echo=$ac_try;;
20749 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20750 (eval "$ac_try") 2>&5
20752 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20753 (exit $ac_status); }; }; then
20754 ac_cv_lib_dl_dlopen=yes
20756 echo "$as_me: failed program was
:" >&5
20757 sed 's/^/| /' conftest.$ac_ext >&5
20759 ac_cv_lib_dl_dlopen=no
20762 rm -f core conftest.err conftest.$ac_objext \
20763 conftest$ac_exeext conftest.$ac_ext
20764 LIBS=$ac_check_lib_save_LIBS
20766 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dl_dlopen" >&5
20767 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
20768 if test $ac_cv_lib_dl_dlopen = yes; then
20770 cat >>confdefs.h <<\_ACEOF
20771 #define HAVE_LIBDL 1
20774 LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"
20776 cat >conftest.$ac_ext <<_ACEOF
20779 cat confdefs.h >>conftest.$ac_ext
20780 cat >>conftest.$ac_ext <<_ACEOF
20781 /* end confdefs.h. */
20783 # include <dlfcn.h>
20794 rm -f conftest.$ac_objext conftest$ac_exeext
20795 if { (ac_try="$ac_link"
20796 case "(($ac_try" in
20797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20798 *) ac_try_echo=$ac_try;;
20800 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20801 (eval "$ac_link") 2>conftest.er1
20803 grep -v '^ *+' conftest.er1 >conftest.err
20805 cat conftest.err >&5
20806 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20807 (exit $ac_status); } &&
20808 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20809 { (case "(($ac_try" in
20810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20811 *) ac_try_echo=$ac_try;;
20813 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20814 (eval "$ac_try") 2>&5
20816 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20817 (exit $ac_status); }; } &&
20818 { ac_try='test -s conftest$ac_exeext'
20819 { (case "(($ac_try" in
20820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20821 *) ac_try_echo=$ac_try;;
20823 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20824 (eval "$ac_try") 2>&5
20826 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20827 (exit $ac_status); }; }; then
20829 cat >>confdefs.h <<\_ACEOF
20830 #define HAVE_LIBDL 1
20832 libltdl_cv_func_dlopen="yes"
20834 echo "$as_me: failed program was
:" >&5
20835 sed 's/^/| /' conftest.$ac_ext >&5
20837 { echo "$as_me:$LINENO: checking
for dlopen
in -lsvld" >&5
20838 echo $ECHO_N "checking
for dlopen
in -lsvld...
$ECHO_C" >&6; }
20839 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
20840 echo $ECHO_N "(cached
) $ECHO_C" >&6
20842 ac_check_lib_save_LIBS=$LIBS
20843 LIBS="-lsvld $LIBS"
20844 cat >conftest.$ac_ext <<_ACEOF
20847 cat confdefs.h >>conftest.$ac_ext
20848 cat >>conftest.$ac_ext <<_ACEOF
20849 /* end confdefs.h. */
20851 /* Override any GCC internal prototype to avoid an error.
20852 Use char because int might match the return type of a GCC
20853 builtin and then its argument prototype would still apply. */
20866 rm -f conftest.$ac_objext conftest$ac_exeext
20867 if { (ac_try="$ac_link"
20868 case "(($ac_try" in
20869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20870 *) ac_try_echo=$ac_try;;
20872 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20873 (eval "$ac_link") 2>conftest.er1
20875 grep -v '^ *+' conftest.er1 >conftest.err
20877 cat conftest.err >&5
20878 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20879 (exit $ac_status); } &&
20880 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20881 { (case "(($ac_try" in
20882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20883 *) ac_try_echo=$ac_try;;
20885 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20886 (eval "$ac_try") 2>&5
20888 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20889 (exit $ac_status); }; } &&
20890 { ac_try='test -s conftest$ac_exeext'
20891 { (case "(($ac_try" in
20892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20893 *) ac_try_echo=$ac_try;;
20895 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20896 (eval "$ac_try") 2>&5
20898 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20899 (exit $ac_status); }; }; then
20900 ac_cv_lib_svld_dlopen=yes
20902 echo "$as_me: failed program was
:" >&5
20903 sed 's/^/| /' conftest.$ac_ext >&5
20905 ac_cv_lib_svld_dlopen=no
20908 rm -f core conftest.err conftest.$ac_objext \
20909 conftest$ac_exeext conftest.$ac_ext
20910 LIBS=$ac_check_lib_save_LIBS
20912 { echo "$as_me:$LINENO: result
: $ac_cv_lib_svld_dlopen" >&5
20913 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
20914 if test $ac_cv_lib_svld_dlopen = yes; then
20916 cat >>confdefs.h <<\_ACEOF
20917 #define HAVE_LIBDL 1
20920 LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"
20922 { echo "$as_me:$LINENO: checking
for dld_link
in -ldld" >&5
20923 echo $ECHO_N "checking
for dld_link
in -ldld...
$ECHO_C" >&6; }
20924 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
20925 echo $ECHO_N "(cached
) $ECHO_C" >&6
20927 ac_check_lib_save_LIBS=$LIBS
20929 cat >conftest.$ac_ext <<_ACEOF
20932 cat confdefs.h >>conftest.$ac_ext
20933 cat >>conftest.$ac_ext <<_ACEOF
20934 /* end confdefs.h. */
20936 /* Override any GCC internal prototype to avoid an error.
20937 Use char because int might match the return type of a GCC
20938 builtin and then its argument prototype would still apply. */
20946 return dld_link ();
20951 rm -f conftest.$ac_objext conftest$ac_exeext
20952 if { (ac_try="$ac_link"
20953 case "(($ac_try" in
20954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20955 *) ac_try_echo=$ac_try;;
20957 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20958 (eval "$ac_link") 2>conftest.er1
20960 grep -v '^ *+' conftest.er1 >conftest.err
20962 cat conftest.err >&5
20963 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20964 (exit $ac_status); } &&
20965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20966 { (case "(($ac_try" in
20967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20968 *) ac_try_echo=$ac_try;;
20970 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20971 (eval "$ac_try") 2>&5
20973 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20974 (exit $ac_status); }; } &&
20975 { ac_try='test -s conftest$ac_exeext'
20976 { (case "(($ac_try" in
20977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20978 *) ac_try_echo=$ac_try;;
20980 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20981 (eval "$ac_try") 2>&5
20983 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20984 (exit $ac_status); }; }; then
20985 ac_cv_lib_dld_dld_link=yes
20987 echo "$as_me: failed program was
:" >&5
20988 sed 's/^/| /' conftest.$ac_ext >&5
20990 ac_cv_lib_dld_dld_link=no
20993 rm -f core conftest.err conftest.$ac_objext \
20994 conftest$ac_exeext conftest.$ac_ext
20995 LIBS=$ac_check_lib_save_LIBS
20997 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_dld_link" >&5
20998 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
20999 if test $ac_cv_lib_dld_dld_link = yes; then
21001 cat >>confdefs.h <<\_ACEOF
21005 LIBADD_DL="$LIBADD_DL -ldld"
21007 { echo "$as_me:$LINENO: checking
for _dyld_func_lookup
" >&5
21008 echo $ECHO_N "checking
for _dyld_func_lookup...
$ECHO_C" >&6; }
21009 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
21010 echo $ECHO_N "(cached
) $ECHO_C" >&6
21012 cat >conftest.$ac_ext <<_ACEOF
21015 cat confdefs.h >>conftest.$ac_ext
21016 cat >>conftest.$ac_ext <<_ACEOF
21017 /* end confdefs.h. */
21018 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
21019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21020 #define _dyld_func_lookup innocuous__dyld_func_lookup
21022 /* System header to define __stub macros and hopefully few prototypes,
21023 which can conflict with char _dyld_func_lookup (); below.
21024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21025 <limits.h> exists even on freestanding compilers. */
21028 # include <limits.h>
21030 # include <assert.h>
21033 #undef _dyld_func_lookup
21035 /* Override any GCC internal prototype to avoid an error.
21036 Use char because int might match the return type of a GCC
21037 builtin and then its argument prototype would still apply. */
21041 char _dyld_func_lookup ();
21042 /* The GNU C library defines this for functions which it implements
21043 to always fail with ENOSYS. Some functions are actually named
21044 something starting with __ and the normal name is an alias. */
21045 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
21052 return _dyld_func_lookup ();
21057 rm -f conftest.$ac_objext conftest$ac_exeext
21058 if { (ac_try="$ac_link"
21059 case "(($ac_try" in
21060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21061 *) ac_try_echo=$ac_try;;
21063 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21064 (eval "$ac_link") 2>conftest.er1
21066 grep -v '^ *+' conftest.er1 >conftest.err
21068 cat conftest.err >&5
21069 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21070 (exit $ac_status); } &&
21071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21072 { (case "(($ac_try" in
21073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21074 *) ac_try_echo=$ac_try;;
21076 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21077 (eval "$ac_try") 2>&5
21079 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21080 (exit $ac_status); }; } &&
21081 { ac_try='test -s conftest$ac_exeext'
21082 { (case "(($ac_try" in
21083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21084 *) ac_try_echo=$ac_try;;
21086 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21087 (eval "$ac_try") 2>&5
21089 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21090 (exit $ac_status); }; }; then
21091 ac_cv_func__dyld_func_lookup=yes
21093 echo "$as_me: failed program was
:" >&5
21094 sed 's/^/| /' conftest.$ac_ext >&5
21096 ac_cv_func__dyld_func_lookup=no
21099 rm -f core conftest.err conftest.$ac_objext \
21100 conftest$ac_exeext conftest.$ac_ext
21102 { echo "$as_me:$LINENO: result
: $ac_cv_func__dyld_func_lookup" >&5
21103 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
21104 if test $ac_cv_func__dyld_func_lookup = yes; then
21106 cat >>confdefs.h <<\_ACEOF
21107 #define HAVE_DYLD 1
21121 rm -f core conftest.err conftest.$ac_objext \
21122 conftest$ac_exeext conftest.$ac_ext
21133 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
21135 lt_save_LIBS="$LIBS"
21136 LIBS="$LIBS $LIBADD_DL"
21138 for ac_func in dlerror
21140 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
21141 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
21142 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
21143 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
21144 echo $ECHO_N "(cached
) $ECHO_C" >&6
21146 cat >conftest.$ac_ext <<_ACEOF
21149 cat confdefs.h >>conftest.$ac_ext
21150 cat >>conftest.$ac_ext <<_ACEOF
21151 /* end confdefs.h. */
21152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21154 #define $ac_func innocuous_$ac_func
21156 /* System header to define __stub macros and hopefully few prototypes,
21157 which can conflict with char $ac_func (); below.
21158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21159 <limits.h> exists even on freestanding compilers. */
21162 # include <limits.h>
21164 # include <assert.h>
21169 /* Override any GCC internal prototype to avoid an error.
21170 Use char because int might match the return type of a GCC
21171 builtin and then its argument prototype would still apply. */
21176 /* The GNU C library defines this for functions which it implements
21177 to always fail with ENOSYS. Some functions are actually named
21178 something starting with __ and the normal name is an alias. */
21179 #if defined __stub_$ac_func || defined __stub___$ac_func
21186 return $ac_func ();
21191 rm -f conftest.$ac_objext conftest$ac_exeext
21192 if { (ac_try="$ac_link"
21193 case "(($ac_try" in
21194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21195 *) ac_try_echo=$ac_try;;
21197 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21198 (eval "$ac_link") 2>conftest.er1
21200 grep -v '^ *+' conftest.er1 >conftest.err
21202 cat conftest.err >&5
21203 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21204 (exit $ac_status); } &&
21205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
21213 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21214 (exit $ac_status); }; } &&
21215 { ac_try='test -s conftest$ac_exeext'
21216 { (case "(($ac_try" in
21217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21218 *) ac_try_echo=$ac_try;;
21220 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21221 (eval "$ac_try") 2>&5
21223 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21224 (exit $ac_status); }; }; then
21225 eval "$as_ac_var=yes"
21227 echo "$as_me: failed program was
:" >&5
21228 sed 's/^/| /' conftest.$ac_ext >&5
21230 eval "$as_ac_var=no
"
21233 rm -f core conftest.err conftest.$ac_objext \
21234 conftest$ac_exeext conftest.$ac_ext
21236 ac_res=`eval echo '${'$as_ac_var'}'`
21237 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21238 echo "${ECHO_T}$ac_res" >&6; }
21239 if test `eval echo '${'$as_ac_var'}'` = yes; then
21240 cat >>confdefs.h <<_ACEOF
21241 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
21247 LIBS="$lt_save_LIBS"
21250 ac_cpp='$CPP $CPPFLAGS'
21251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21257 { echo "$as_me:$LINENO: checking
for _ prefix
in compiled symbols
" >&5
21258 echo $ECHO_N "checking
for _ prefix
in compiled symbols...
$ECHO_C" >&6; }
21259 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
21260 echo $ECHO_N "(cached
) $ECHO_C" >&6
21262 ac_cv_sys_symbol_underscore=no
21263 cat > conftest.$ac_ext <<EOF
21264 void nm_test_func(){}
21265 int main(){nm_test_func;return 0;}
21267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21268 (eval $ac_compile) 2>&5
21270 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21271 (exit $ac_status); }; then
21272 # Now try to grab the symbols.
21273 ac_nlist=conftest.nm
21274 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist\"") >&5
21275 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
21277 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21278 (exit $ac_status); } && test -s "$ac_nlist"; then
21279 # See whether the symbols have a leading underscore.
21280 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
21281 ac_cv_sys_symbol_underscore=yes
21283 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
21286 echo "configure
: cannot
find nm_test_func
in $ac_nlist" >&5
21290 echo "configure
: cannot run
$lt_cv_sys_global_symbol_pipe" >&5
21293 echo "configure
: failed program was
:" >&5
21299 { echo "$as_me:$LINENO: result
: $ac_cv_sys_symbol_underscore" >&5
21300 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
21303 if test x"$ac_cv_sys_symbol_underscore" = xyes; then
21304 if test x"$libltdl_cv_func_dlopen" = xyes ||
21305 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
21306 { echo "$as_me:$LINENO: checking whether we have to add an underscore
for dlsym
" >&5
21307 echo $ECHO_N "checking whether we have to add an underscore
for dlsym...
$ECHO_C" >&6; }
21308 if test "${libltdl_cv_need_uscore+set}" = set; then
21309 echo $ECHO_N "(cached
) $ECHO_C" >&6
21311 libltdl_cv_need_uscore=unknown
21313 LIBS="$LIBS $LIBADD_DL"
21314 if test "$cross_compiling" = yes; then :
21315 libltdl_cv_need_uscore=cross
21317 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
21318 lt_status=$lt_dlunknown
21319 cat > conftest.$ac_ext <<EOF
21320 #line 21320 "configure
"
21321 #include "confdefs.h
"
21330 # define LT_DLGLOBAL RTLD_GLOBAL
21333 # define LT_DLGLOBAL DL_GLOBAL
21335 # define LT_DLGLOBAL 0
21339 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
21340 find out it does not work in some platform. */
21341 #ifndef LT_DLLAZY_OR_NOW
21343 # define LT_DLLAZY_OR_NOW RTLD_LAZY
21346 # define LT_DLLAZY_OR_NOW DL_LAZY
21349 # define LT_DLLAZY_OR_NOW RTLD_NOW
21352 # define LT_DLLAZY_OR_NOW DL_NOW
21354 # define LT_DLLAZY_OR_NOW 0
21362 extern "C
" void exit (int);
21365 void fnord() { int i=42;}
21368 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
21369 int status = $lt_dlunknown;
21373 if (dlsym (self,"fnord
")) status = $lt_dlno_uscore;
21374 else if (dlsym( self,"_fnord
")) status = $lt_dlneed_uscore;
21375 /* dlclose (self); */
21381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21382 (eval $ac_link) 2>&5
21384 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21385 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
21386 (./conftest; exit; ) 2>/dev/null
21388 case x$lt_status in
21389 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
21390 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
21391 x$lt_unknown|x*) ;;
21394 # compilation failed
21403 { echo "$as_me:$LINENO: result
: $libltdl_cv_need_uscore" >&5
21404 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
21408 if test x"$libltdl_cv_need_uscore" = xyes; then
21410 cat >>confdefs.h <<\_ACEOF
21411 #define NEED_USCORE 1
21417 { echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen
" >&5
21418 echo $ECHO_N "checking whether deplibs are loaded by dlopen...
$ECHO_C" >&6; }
21419 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
21420 echo $ECHO_N "(cached
) $ECHO_C" >&6
21422 # PORTME does your system automatically load deplibs for dlopen?
21423 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
21424 # For now, we just catch OSes we know something about -- in the
21425 # future, we'll try test this programmatically.
21426 libltdl_cv_sys_dlopen_deplibs=unknown
21428 aix3*|aix4.1.*|aix4.2.*)
21429 # Unknown whether this is true for these versions of AIX, but
21430 # we want this `case' here to explicitly catch those versions.
21431 libltdl_cv_sys_dlopen_deplibs=unknown
21434 libltdl_cv_sys_dlopen_deplibs=yes
21437 # Assuming the user has installed a libdl from somewhere, this is true
21438 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
21439 libltdl_cv_sys_dlopen_deplibs=yes
21442 libltdl_cv_sys_dlopen_deplibs=yes
21445 libltdl_cv_sys_dlopen_deplibs=yes
21448 libltdl_cv_sys_dlopen_deplibs=yes
21450 irix[12345]*|irix6.[01]*)
21451 # Catch all versions of IRIX before 6.2, and indicate that we don't
21452 # know how it worked for any of those versions.
21453 libltdl_cv_sys_dlopen_deplibs=unknown
21456 # The case above catches anything before 6.2, and it's known that
21457 # at 6.2 and later dlopen does load deplibs.
21458 libltdl_cv_sys_dlopen_deplibs=yes
21461 libltdl_cv_sys_dlopen_deplibs=yes
21464 libltdl_cv_sys_dlopen_deplibs=yes
21467 libltdl_cv_sys_dlopen_deplibs=yes
21470 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
21471 # it did *not* use an RPATH in a shared library to find objects the
21472 # library depends on, so we explictly say `no'.
21473 libltdl_cv_sys_dlopen_deplibs=no
21475 osf5.0|osf5.0a|osf5.1)
21476 # dlopen *does* load deplibs and with the right loader patch applied
21477 # it even uses RPATH in a shared library to search for shared objects
21478 # that the library depends on, but there's no easy way to know if that
21479 # patch is installed. Since this is the case, all we can really
21480 # say is unknown -- it depends on the patch being installed. If
21481 # it is, this changes to `yes'. Without it, it would be `no'.
21482 libltdl_cv_sys_dlopen_deplibs=unknown
21485 # the two cases above should catch all versions of osf <= 5.1. Read
21486 # the comments above for what we know about them.
21487 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
21488 # is used to find them so we can finally say `yes'.
21489 libltdl_cv_sys_dlopen_deplibs=yes
21492 libltdl_cv_sys_dlopen_deplibs=yes
21497 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_dlopen_deplibs" >&5
21498 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6; }
21499 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
21501 cat >>confdefs.h <<\_ACEOF
21502 #define LTDL_DLOPEN_DEPLIBS 1
21508 for ac_header in argz.h
21510 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21511 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21512 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21513 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21514 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21515 echo $ECHO_N "(cached
) $ECHO_C" >&6
21517 ac_res=`eval echo '${'$as_ac_Header'}'`
21518 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21519 echo "${ECHO_T}$ac_res" >&6; }
21521 # Is the header compilable?
21522 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
21523 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
21524 cat >conftest.$ac_ext <<_ACEOF
21527 cat confdefs.h >>conftest.$ac_ext
21528 cat >>conftest.$ac_ext <<_ACEOF
21529 /* end confdefs.h. */
21530 $ac_includes_default
21531 #include <$ac_header>
21533 rm -f conftest.$ac_objext
21534 if { (ac_try="$ac_compile"
21535 case "(($ac_try" in
21536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21537 *) ac_try_echo=$ac_try;;
21539 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21540 (eval "$ac_compile") 2>conftest.er1
21542 grep -v '^ *+' conftest.er1 >conftest.err
21544 cat conftest.err >&5
21545 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21546 (exit $ac_status); } &&
21547 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21548 { (case "(($ac_try" in
21549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21550 *) ac_try_echo=$ac_try;;
21552 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21553 (eval "$ac_try") 2>&5
21555 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21556 (exit $ac_status); }; } &&
21557 { ac_try='test -s conftest.$ac_objext'
21558 { (case "(($ac_try" in
21559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21560 *) ac_try_echo=$ac_try;;
21562 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21563 (eval "$ac_try") 2>&5
21565 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21566 (exit $ac_status); }; }; then
21567 ac_header_compiler=yes
21569 echo "$as_me: failed program was
:" >&5
21570 sed 's/^/| /' conftest.$ac_ext >&5
21572 ac_header_compiler=no
21575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21576 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21577 echo "${ECHO_T}$ac_header_compiler" >&6; }
21579 # Is the header present?
21580 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
21581 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
21582 cat >conftest.$ac_ext <<_ACEOF
21585 cat confdefs.h >>conftest.$ac_ext
21586 cat >>conftest.$ac_ext <<_ACEOF
21587 /* end confdefs.h. */
21588 #include <$ac_header>
21590 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21591 case "(($ac_try" in
21592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21593 *) ac_try_echo=$ac_try;;
21595 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21596 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21598 grep -v '^ *+' conftest.er1 >conftest.err
21600 cat conftest.err >&5
21601 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21602 (exit $ac_status); } >/dev/null; then
21603 if test -s conftest.err; then
21604 ac_cpp_err=$ac_c_preproc_warn_flag
21605 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21612 if test -z "$ac_cpp_err"; then
21613 ac_header_preproc=yes
21615 echo "$as_me: failed program was
:" >&5
21616 sed 's/^/| /' conftest.$ac_ext >&5
21618 ac_header_preproc=no
21621 rm -f conftest.err conftest.$ac_ext
21622 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21623 echo "${ECHO_T}$ac_header_preproc" >&6; }
21625 # So? What about this header?
21626 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21628 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
21629 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21630 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
21631 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
21632 ac_header_preproc=yes
21635 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
21636 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
21637 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
21638 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
21639 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
21640 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
21641 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
21642 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
21643 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
21644 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
21645 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
21646 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
21650 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21651 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21652 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21653 echo $ECHO_N "(cached
) $ECHO_C" >&6
21655 eval "$as_ac_Header=\
$ac_header_preproc"
21657 ac_res=`eval echo '${'$as_ac_Header'}'`
21658 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21659 echo "${ECHO_T}$ac_res" >&6; }
21662 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21663 cat >>confdefs.h <<_ACEOF
21664 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21672 { echo "$as_me:$LINENO: checking
for error_t
" >&5
21673 echo $ECHO_N "checking
for error_t...
$ECHO_C" >&6; }
21674 if test "${ac_cv_type_error_t+set}" = set; then
21675 echo $ECHO_N "(cached
) $ECHO_C" >&6
21677 cat >conftest.$ac_ext <<_ACEOF
21680 cat confdefs.h >>conftest.$ac_ext
21681 cat >>conftest.$ac_ext <<_ACEOF
21682 /* end confdefs.h. */
21687 typedef error_t ac__type_new_;
21691 if ((ac__type_new_ *) 0)
21693 if (sizeof (ac__type_new_))
21699 rm -f conftest.$ac_objext
21700 if { (ac_try="$ac_compile"
21701 case "(($ac_try" in
21702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21703 *) ac_try_echo=$ac_try;;
21705 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21706 (eval "$ac_compile") 2>conftest.er1
21708 grep -v '^ *+' conftest.er1 >conftest.err
21710 cat conftest.err >&5
21711 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21712 (exit $ac_status); } &&
21713 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21714 { (case "(($ac_try" in
21715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21716 *) ac_try_echo=$ac_try;;
21718 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21719 (eval "$ac_try") 2>&5
21721 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21722 (exit $ac_status); }; } &&
21723 { ac_try='test -s conftest.$ac_objext'
21724 { (case "(($ac_try" in
21725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21726 *) ac_try_echo=$ac_try;;
21728 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21729 (eval "$ac_try") 2>&5
21731 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21732 (exit $ac_status); }; }; then
21733 ac_cv_type_error_t=yes
21735 echo "$as_me: failed program was
:" >&5
21736 sed 's/^/| /' conftest.$ac_ext >&5
21738 ac_cv_type_error_t=no
21741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21743 { echo "$as_me:$LINENO: result
: $ac_cv_type_error_t" >&5
21744 echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
21745 if test $ac_cv_type_error_t = yes; then
21747 cat >>confdefs.h <<_ACEOF
21748 #define HAVE_ERROR_T 1
21754 cat >>confdefs.h <<\_ACEOF
21755 #define error_t int
21766 for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
21768 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
21769 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
21770 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
21771 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
21772 echo $ECHO_N "(cached
) $ECHO_C" >&6
21774 cat >conftest.$ac_ext <<_ACEOF
21777 cat confdefs.h >>conftest.$ac_ext
21778 cat >>conftest.$ac_ext <<_ACEOF
21779 /* end confdefs.h. */
21780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21782 #define $ac_func innocuous_$ac_func
21784 /* System header to define __stub macros and hopefully few prototypes,
21785 which can conflict with char $ac_func (); below.
21786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21787 <limits.h> exists even on freestanding compilers. */
21790 # include <limits.h>
21792 # include <assert.h>
21797 /* Override any GCC internal prototype to avoid an error.
21798 Use char because int might match the return type of a GCC
21799 builtin and then its argument prototype would still apply. */
21804 /* The GNU C library defines this for functions which it implements
21805 to always fail with ENOSYS. Some functions are actually named
21806 something starting with __ and the normal name is an alias. */
21807 #if defined __stub_$ac_func || defined __stub___$ac_func
21814 return $ac_func ();
21819 rm -f conftest.$ac_objext conftest$ac_exeext
21820 if { (ac_try="$ac_link"
21821 case "(($ac_try" in
21822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21823 *) ac_try_echo=$ac_try;;
21825 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21826 (eval "$ac_link") 2>conftest.er1
21828 grep -v '^ *+' conftest.er1 >conftest.err
21830 cat conftest.err >&5
21831 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21832 (exit $ac_status); } &&
21833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21834 { (case "(($ac_try" in
21835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21836 *) ac_try_echo=$ac_try;;
21838 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21839 (eval "$ac_try") 2>&5
21841 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21842 (exit $ac_status); }; } &&
21843 { ac_try='test -s conftest$ac_exeext'
21844 { (case "(($ac_try" in
21845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21846 *) ac_try_echo=$ac_try;;
21848 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21849 (eval "$ac_try") 2>&5
21851 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21852 (exit $ac_status); }; }; then
21853 eval "$as_ac_var=yes"
21855 echo "$as_me: failed program was
:" >&5
21856 sed 's/^/| /' conftest.$ac_ext >&5
21858 eval "$as_ac_var=no
"
21861 rm -f core conftest.err conftest.$ac_objext \
21862 conftest$ac_exeext conftest.$ac_ext
21864 ac_res=`eval echo '${'$as_ac_var'}'`
21865 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21866 echo "${ECHO_T}$ac_res" >&6; }
21867 if test `eval echo '${'$as_ac_var'}'` = yes; then
21868 cat >>confdefs.h <<_ACEOF
21869 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
21902 for ac_header in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
21905 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21906 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21907 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21908 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21909 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21910 echo $ECHO_N "(cached
) $ECHO_C" >&6
21912 ac_res=`eval echo '${'$as_ac_Header'}'`
21913 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21914 echo "${ECHO_T}$ac_res" >&6; }
21916 # Is the header compilable?
21917 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
21918 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
21919 cat >conftest.$ac_ext <<_ACEOF
21922 cat confdefs.h >>conftest.$ac_ext
21923 cat >>conftest.$ac_ext <<_ACEOF
21924 /* end confdefs.h. */
21925 $ac_includes_default
21926 #include <$ac_header>
21928 rm -f conftest.$ac_objext
21929 if { (ac_try="$ac_compile"
21930 case "(($ac_try" in
21931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21932 *) ac_try_echo=$ac_try;;
21934 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21935 (eval "$ac_compile") 2>conftest.er1
21937 grep -v '^ *+' conftest.er1 >conftest.err
21939 cat conftest.err >&5
21940 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21941 (exit $ac_status); } &&
21942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21943 { (case "(($ac_try" in
21944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21945 *) ac_try_echo=$ac_try;;
21947 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21948 (eval "$ac_try") 2>&5
21950 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21951 (exit $ac_status); }; } &&
21952 { ac_try='test -s conftest.$ac_objext'
21953 { (case "(($ac_try" in
21954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21955 *) ac_try_echo=$ac_try;;
21957 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21958 (eval "$ac_try") 2>&5
21960 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21961 (exit $ac_status); }; }; then
21962 ac_header_compiler=yes
21964 echo "$as_me: failed program was
:" >&5
21965 sed 's/^/| /' conftest.$ac_ext >&5
21967 ac_header_compiler=no
21970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21971 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21972 echo "${ECHO_T}$ac_header_compiler" >&6; }
21974 # Is the header present?
21975 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
21976 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
21977 cat >conftest.$ac_ext <<_ACEOF
21980 cat confdefs.h >>conftest.$ac_ext
21981 cat >>conftest.$ac_ext <<_ACEOF
21982 /* end confdefs.h. */
21983 #include <$ac_header>
21985 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21986 case "(($ac_try" in
21987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21988 *) ac_try_echo=$ac_try;;
21990 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21991 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21993 grep -v '^ *+' conftest.er1 >conftest.err
21995 cat conftest.err >&5
21996 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21997 (exit $ac_status); } >/dev/null; then
21998 if test -s conftest.err; then
21999 ac_cpp_err=$ac_c_preproc_warn_flag
22000 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22007 if test -z "$ac_cpp_err"; then
22008 ac_header_preproc=yes
22010 echo "$as_me: failed program was
:" >&5
22011 sed 's/^/| /' conftest.$ac_ext >&5
22013 ac_header_preproc=no
22016 rm -f conftest.err conftest.$ac_ext
22017 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
22018 echo "${ECHO_T}$ac_header_preproc" >&6; }
22020 # So? What about this header?
22021 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22023 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
22024 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
22025 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
22026 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
22027 ac_header_preproc=yes
22030 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
22031 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
22032 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
22033 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
22034 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
22035 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
22036 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
22037 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
22038 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
22039 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
22040 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
22041 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
22045 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
22046 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
22047 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22048 echo $ECHO_N "(cached
) $ECHO_C" >&6
22050 eval "$as_ac_Header=\
$ac_header_preproc"
22052 ac_res=`eval echo '${'$as_ac_Header'}'`
22053 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22054 echo "${ECHO_T}$ac_res" >&6; }
22057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22058 cat >>confdefs.h <<_ACEOF
22059 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
22070 for ac_header in dl.h sys/dl.h dld.h mach-o/dyld.h
22072 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
22073 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22074 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
22075 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
22076 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22077 echo $ECHO_N "(cached
) $ECHO_C" >&6
22079 ac_res=`eval echo '${'$as_ac_Header'}'`
22080 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22081 echo "${ECHO_T}$ac_res" >&6; }
22083 # Is the header compilable?
22084 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
22085 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
22086 cat >conftest.$ac_ext <<_ACEOF
22089 cat confdefs.h >>conftest.$ac_ext
22090 cat >>conftest.$ac_ext <<_ACEOF
22091 /* end confdefs.h. */
22092 $ac_includes_default
22093 #include <$ac_header>
22095 rm -f conftest.$ac_objext
22096 if { (ac_try="$ac_compile"
22097 case "(($ac_try" in
22098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22099 *) ac_try_echo=$ac_try;;
22101 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22102 (eval "$ac_compile") 2>conftest.er1
22104 grep -v '^ *+' conftest.er1 >conftest.err
22106 cat conftest.err >&5
22107 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22108 (exit $ac_status); } &&
22109 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22110 { (case "(($ac_try" in
22111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22112 *) ac_try_echo=$ac_try;;
22114 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22115 (eval "$ac_try") 2>&5
22117 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22118 (exit $ac_status); }; } &&
22119 { ac_try='test -s conftest.$ac_objext'
22120 { (case "(($ac_try" in
22121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22122 *) ac_try_echo=$ac_try;;
22124 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22125 (eval "$ac_try") 2>&5
22127 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22128 (exit $ac_status); }; }; then
22129 ac_header_compiler=yes
22131 echo "$as_me: failed program was
:" >&5
22132 sed 's/^/| /' conftest.$ac_ext >&5
22134 ac_header_compiler=no
22137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22138 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
22139 echo "${ECHO_T}$ac_header_compiler" >&6; }
22141 # Is the header present?
22142 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
22143 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
22144 cat >conftest.$ac_ext <<_ACEOF
22147 cat confdefs.h >>conftest.$ac_ext
22148 cat >>conftest.$ac_ext <<_ACEOF
22149 /* end confdefs.h. */
22150 #include <$ac_header>
22152 if { (ac_try="$ac_cpp conftest.
$ac_ext"
22153 case "(($ac_try" in
22154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22155 *) ac_try_echo=$ac_try;;
22157 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22158 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
22160 grep -v '^ *+' conftest.er1 >conftest.err
22162 cat conftest.err >&5
22163 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22164 (exit $ac_status); } >/dev/null; then
22165 if test -s conftest.err; then
22166 ac_cpp_err=$ac_c_preproc_warn_flag
22167 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22174 if test -z "$ac_cpp_err"; then
22175 ac_header_preproc=yes
22177 echo "$as_me: failed program was
:" >&5
22178 sed 's/^/| /' conftest.$ac_ext >&5
22180 ac_header_preproc=no
22183 rm -f conftest.err conftest.$ac_ext
22184 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
22185 echo "${ECHO_T}$ac_header_preproc" >&6; }
22187 # So? What about this header?
22188 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22190 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
22191 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
22192 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
22193 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
22194 ac_header_preproc=yes
22197 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
22198 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
22199 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
22200 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
22201 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
22202 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
22203 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
22204 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
22205 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
22206 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
22207 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
22208 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
22212 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
22213 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
22214 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22215 echo $ECHO_N "(cached
) $ECHO_C" >&6
22217 eval "$as_ac_Header=\
$ac_header_preproc"
22219 ac_res=`eval echo '${'$as_ac_Header'}'`
22220 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22221 echo "${ECHO_T}$ac_res" >&6; }
22224 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22225 cat >>confdefs.h <<_ACEOF
22226 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
22235 for ac_header in string.h strings.h
22237 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
22238 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22239 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
22240 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
22241 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22242 echo $ECHO_N "(cached
) $ECHO_C" >&6
22244 ac_res=`eval echo '${'$as_ac_Header'}'`
22245 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22246 echo "${ECHO_T}$ac_res" >&6; }
22248 # Is the header compilable?
22249 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
22250 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
22251 cat >conftest.$ac_ext <<_ACEOF
22254 cat confdefs.h >>conftest.$ac_ext
22255 cat >>conftest.$ac_ext <<_ACEOF
22256 /* end confdefs.h. */
22257 $ac_includes_default
22258 #include <$ac_header>
22260 rm -f conftest.$ac_objext
22261 if { (ac_try="$ac_compile"
22262 case "(($ac_try" in
22263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22264 *) ac_try_echo=$ac_try;;
22266 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22267 (eval "$ac_compile") 2>conftest.er1
22269 grep -v '^ *+' conftest.er1 >conftest.err
22271 cat conftest.err >&5
22272 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22273 (exit $ac_status); } &&
22274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22275 { (case "(($ac_try" in
22276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22277 *) ac_try_echo=$ac_try;;
22279 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22280 (eval "$ac_try") 2>&5
22282 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22283 (exit $ac_status); }; } &&
22284 { ac_try='test -s conftest.$ac_objext'
22285 { (case "(($ac_try" in
22286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22287 *) ac_try_echo=$ac_try;;
22289 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22290 (eval "$ac_try") 2>&5
22292 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22293 (exit $ac_status); }; }; then
22294 ac_header_compiler=yes
22296 echo "$as_me: failed program was
:" >&5
22297 sed 's/^/| /' conftest.$ac_ext >&5
22299 ac_header_compiler=no
22302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22303 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
22304 echo "${ECHO_T}$ac_header_compiler" >&6; }
22306 # Is the header present?
22307 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
22308 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
22309 cat >conftest.$ac_ext <<_ACEOF
22312 cat confdefs.h >>conftest.$ac_ext
22313 cat >>conftest.$ac_ext <<_ACEOF
22314 /* end confdefs.h. */
22315 #include <$ac_header>
22317 if { (ac_try="$ac_cpp conftest.
$ac_ext"
22318 case "(($ac_try" in
22319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22320 *) ac_try_echo=$ac_try;;
22322 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22323 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
22325 grep -v '^ *+' conftest.er1 >conftest.err
22327 cat conftest.err >&5
22328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22329 (exit $ac_status); } >/dev/null; then
22330 if test -s conftest.err; then
22331 ac_cpp_err=$ac_c_preproc_warn_flag
22332 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22339 if test -z "$ac_cpp_err"; then
22340 ac_header_preproc=yes
22342 echo "$as_me: failed program was
:" >&5
22343 sed 's/^/| /' conftest.$ac_ext >&5
22345 ac_header_preproc=no
22348 rm -f conftest.err conftest.$ac_ext
22349 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
22350 echo "${ECHO_T}$ac_header_preproc" >&6; }
22352 # So? What about this header?
22353 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22355 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
22356 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
22357 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
22358 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
22359 ac_header_preproc=yes
22362 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
22363 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
22364 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
22365 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
22366 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
22367 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
22368 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
22369 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
22370 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
22371 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
22372 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
22373 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
22377 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
22378 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
22379 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22380 echo $ECHO_N "(cached
) $ECHO_C" >&6
22382 eval "$as_ac_Header=\
$ac_header_preproc"
22384 ac_res=`eval echo '${'$as_ac_Header'}'`
22385 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22386 echo "${ECHO_T}$ac_res" >&6; }
22389 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22390 cat >>confdefs.h <<_ACEOF
22391 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
22401 for ac_func in strchr index
22403 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
22404 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
22405 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
22406 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
22407 echo $ECHO_N "(cached
) $ECHO_C" >&6
22409 cat >conftest.$ac_ext <<_ACEOF
22412 cat confdefs.h >>conftest.$ac_ext
22413 cat >>conftest.$ac_ext <<_ACEOF
22414 /* end confdefs.h. */
22415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22417 #define $ac_func innocuous_$ac_func
22419 /* System header to define __stub macros and hopefully few prototypes,
22420 which can conflict with char $ac_func (); below.
22421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22422 <limits.h> exists even on freestanding compilers. */
22425 # include <limits.h>
22427 # include <assert.h>
22432 /* Override any GCC internal prototype to avoid an error.
22433 Use char because int might match the return type of a GCC
22434 builtin and then its argument prototype would still apply. */
22439 /* The GNU C library defines this for functions which it implements
22440 to always fail with ENOSYS. Some functions are actually named
22441 something starting with __ and the normal name is an alias. */
22442 #if defined __stub_$ac_func || defined __stub___$ac_func
22449 return $ac_func ();
22454 rm -f conftest.$ac_objext conftest$ac_exeext
22455 if { (ac_try="$ac_link"
22456 case "(($ac_try" in
22457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22458 *) ac_try_echo=$ac_try;;
22460 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22461 (eval "$ac_link") 2>conftest.er1
22463 grep -v '^ *+' conftest.er1 >conftest.err
22465 cat conftest.err >&5
22466 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22467 (exit $ac_status); } &&
22468 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22469 { (case "(($ac_try" in
22470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22471 *) ac_try_echo=$ac_try;;
22473 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22474 (eval "$ac_try") 2>&5
22476 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22477 (exit $ac_status); }; } &&
22478 { ac_try='test -s conftest$ac_exeext'
22479 { (case "(($ac_try" in
22480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22481 *) ac_try_echo=$ac_try;;
22483 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22484 (eval "$ac_try") 2>&5
22486 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22487 (exit $ac_status); }; }; then
22488 eval "$as_ac_var=yes"
22490 echo "$as_me: failed program was
:" >&5
22491 sed 's/^/| /' conftest.$ac_ext >&5
22493 eval "$as_ac_var=no
"
22496 rm -f core conftest.err conftest.$ac_objext \
22497 conftest$ac_exeext conftest.$ac_ext
22499 ac_res=`eval echo '${'$as_ac_var'}'`
22500 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22501 echo "${ECHO_T}$ac_res" >&6; }
22502 if test `eval echo '${'$as_ac_var'}'` = yes; then
22503 cat >>confdefs.h <<_ACEOF
22504 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
22512 for ac_func in strrchr rindex
22514 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
22515 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
22516 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
22517 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
22518 echo $ECHO_N "(cached
) $ECHO_C" >&6
22520 cat >conftest.$ac_ext <<_ACEOF
22523 cat confdefs.h >>conftest.$ac_ext
22524 cat >>conftest.$ac_ext <<_ACEOF
22525 /* end confdefs.h. */
22526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22528 #define $ac_func innocuous_$ac_func
22530 /* System header to define __stub macros and hopefully few prototypes,
22531 which can conflict with char $ac_func (); below.
22532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22533 <limits.h> exists even on freestanding compilers. */
22536 # include <limits.h>
22538 # include <assert.h>
22543 /* Override any GCC internal prototype to avoid an error.
22544 Use char because int might match the return type of a GCC
22545 builtin and then its argument prototype would still apply. */
22550 /* The GNU C library defines this for functions which it implements
22551 to always fail with ENOSYS. Some functions are actually named
22552 something starting with __ and the normal name is an alias. */
22553 #if defined __stub_$ac_func || defined __stub___$ac_func
22560 return $ac_func ();
22565 rm -f conftest.$ac_objext conftest$ac_exeext
22566 if { (ac_try="$ac_link"
22567 case "(($ac_try" in
22568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22569 *) ac_try_echo=$ac_try;;
22571 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22572 (eval "$ac_link") 2>conftest.er1
22574 grep -v '^ *+' conftest.er1 >conftest.err
22576 cat conftest.err >&5
22577 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22578 (exit $ac_status); } &&
22579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22580 { (case "(($ac_try" in
22581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22582 *) ac_try_echo=$ac_try;;
22584 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22585 (eval "$ac_try") 2>&5
22587 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22588 (exit $ac_status); }; } &&
22589 { ac_try='test -s conftest$ac_exeext'
22590 { (case "(($ac_try" in
22591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22592 *) ac_try_echo=$ac_try;;
22594 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22595 (eval "$ac_try") 2>&5
22597 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22598 (exit $ac_status); }; }; then
22599 eval "$as_ac_var=yes"
22601 echo "$as_me: failed program was
:" >&5
22602 sed 's/^/| /' conftest.$ac_ext >&5
22604 eval "$as_ac_var=no
"
22607 rm -f core conftest.err conftest.$ac_objext \
22608 conftest$ac_exeext conftest.$ac_ext
22610 ac_res=`eval echo '${'$as_ac_var'}'`
22611 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22612 echo "${ECHO_T}$ac_res" >&6; }
22613 if test `eval echo '${'$as_ac_var'}'` = yes; then
22614 cat >>confdefs.h <<_ACEOF
22615 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
22623 for ac_func in memcpy bcopy
22625 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
22626 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
22627 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
22628 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
22629 echo $ECHO_N "(cached
) $ECHO_C" >&6
22631 cat >conftest.$ac_ext <<_ACEOF
22634 cat confdefs.h >>conftest.$ac_ext
22635 cat >>conftest.$ac_ext <<_ACEOF
22636 /* end confdefs.h. */
22637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22639 #define $ac_func innocuous_$ac_func
22641 /* System header to define __stub macros and hopefully few prototypes,
22642 which can conflict with char $ac_func (); below.
22643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22644 <limits.h> exists even on freestanding compilers. */
22647 # include <limits.h>
22649 # include <assert.h>
22654 /* Override any GCC internal prototype to avoid an error.
22655 Use char because int might match the return type of a GCC
22656 builtin and then its argument prototype would still apply. */
22661 /* The GNU C library defines this for functions which it implements
22662 to always fail with ENOSYS. Some functions are actually named
22663 something starting with __ and the normal name is an alias. */
22664 #if defined __stub_$ac_func || defined __stub___$ac_func
22671 return $ac_func ();
22676 rm -f conftest.$ac_objext conftest$ac_exeext
22677 if { (ac_try="$ac_link"
22678 case "(($ac_try" in
22679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22680 *) ac_try_echo=$ac_try;;
22682 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22683 (eval "$ac_link") 2>conftest.er1
22685 grep -v '^ *+' conftest.er1 >conftest.err
22687 cat conftest.err >&5
22688 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22689 (exit $ac_status); } &&
22690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22691 { (case "(($ac_try" in
22692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22693 *) ac_try_echo=$ac_try;;
22695 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22696 (eval "$ac_try") 2>&5
22698 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22699 (exit $ac_status); }; } &&
22700 { ac_try='test -s conftest$ac_exeext'
22701 { (case "(($ac_try" in
22702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22703 *) ac_try_echo=$ac_try;;
22705 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22706 (eval "$ac_try") 2>&5
22708 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22709 (exit $ac_status); }; }; then
22710 eval "$as_ac_var=yes"
22712 echo "$as_me: failed program was
:" >&5
22713 sed 's/^/| /' conftest.$ac_ext >&5
22715 eval "$as_ac_var=no
"
22718 rm -f core conftest.err conftest.$ac_objext \
22719 conftest$ac_exeext conftest.$ac_ext
22721 ac_res=`eval echo '${'$as_ac_var'}'`
22722 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22723 echo "${ECHO_T}$ac_res" >&6; }
22724 if test `eval echo '${'$as_ac_var'}'` = yes; then
22725 cat >>confdefs.h <<_ACEOF
22726 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
22734 for ac_func in memmove strcmp
22736 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
22737 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
22738 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
22739 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
22740 echo $ECHO_N "(cached
) $ECHO_C" >&6
22742 cat >conftest.$ac_ext <<_ACEOF
22745 cat confdefs.h >>conftest.$ac_ext
22746 cat >>conftest.$ac_ext <<_ACEOF
22747 /* end confdefs.h. */
22748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22750 #define $ac_func innocuous_$ac_func
22752 /* System header to define __stub macros and hopefully few prototypes,
22753 which can conflict with char $ac_func (); below.
22754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22755 <limits.h> exists even on freestanding compilers. */
22758 # include <limits.h>
22760 # include <assert.h>
22765 /* Override any GCC internal prototype to avoid an error.
22766 Use char because int might match the return type of a GCC
22767 builtin and then its argument prototype would still apply. */
22772 /* The GNU C library defines this for functions which it implements
22773 to always fail with ENOSYS. Some functions are actually named
22774 something starting with __ and the normal name is an alias. */
22775 #if defined __stub_$ac_func || defined __stub___$ac_func
22782 return $ac_func ();
22787 rm -f conftest.$ac_objext conftest$ac_exeext
22788 if { (ac_try="$ac_link"
22789 case "(($ac_try" in
22790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22791 *) ac_try_echo=$ac_try;;
22793 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22794 (eval "$ac_link") 2>conftest.er1
22796 grep -v '^ *+' conftest.er1 >conftest.err
22798 cat conftest.err >&5
22799 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22800 (exit $ac_status); } &&
22801 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22802 { (case "(($ac_try" in
22803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22804 *) ac_try_echo=$ac_try;;
22806 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22807 (eval "$ac_try") 2>&5
22809 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22810 (exit $ac_status); }; } &&
22811 { ac_try='test -s conftest$ac_exeext'
22812 { (case "(($ac_try" in
22813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22814 *) ac_try_echo=$ac_try;;
22816 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22817 (eval "$ac_try") 2>&5
22819 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22820 (exit $ac_status); }; }; then
22821 eval "$as_ac_var=yes"
22823 echo "$as_me: failed program was
:" >&5
22824 sed 's/^/| /' conftest.$ac_ext >&5
22826 eval "$as_ac_var=no
"
22829 rm -f core conftest.err conftest.$ac_objext \
22830 conftest$ac_exeext conftest.$ac_ext
22832 ac_res=`eval echo '${'$as_ac_var'}'`
22833 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22834 echo "${ECHO_T}$ac_res" >&6; }
22835 if test `eval echo '${'$as_ac_var'}'` = yes; then
22836 cat >>confdefs.h <<_ACEOF
22837 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
22846 for ac_func in closedir opendir readdir
22848 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
22849 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
22850 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
22851 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
22852 echo $ECHO_N "(cached
) $ECHO_C" >&6
22854 cat >conftest.$ac_ext <<_ACEOF
22857 cat confdefs.h >>conftest.$ac_ext
22858 cat >>conftest.$ac_ext <<_ACEOF
22859 /* end confdefs.h. */
22860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22862 #define $ac_func innocuous_$ac_func
22864 /* System header to define __stub macros and hopefully few prototypes,
22865 which can conflict with char $ac_func (); below.
22866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22867 <limits.h> exists even on freestanding compilers. */
22870 # include <limits.h>
22872 # include <assert.h>
22877 /* Override any GCC internal prototype to avoid an error.
22878 Use char because int might match the return type of a GCC
22879 builtin and then its argument prototype would still apply. */
22884 /* The GNU C library defines this for functions which it implements
22885 to always fail with ENOSYS. Some functions are actually named
22886 something starting with __ and the normal name is an alias. */
22887 #if defined __stub_$ac_func || defined __stub___$ac_func
22894 return $ac_func ();
22899 rm -f conftest.$ac_objext conftest$ac_exeext
22900 if { (ac_try="$ac_link"
22901 case "(($ac_try" in
22902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22903 *) ac_try_echo=$ac_try;;
22905 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22906 (eval "$ac_link") 2>conftest.er1
22908 grep -v '^ *+' conftest.er1 >conftest.err
22910 cat conftest.err >&5
22911 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22912 (exit $ac_status); } &&
22913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22914 { (case "(($ac_try" in
22915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22916 *) ac_try_echo=$ac_try;;
22918 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22919 (eval "$ac_try") 2>&5
22921 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22922 (exit $ac_status); }; } &&
22923 { ac_try='test -s conftest$ac_exeext'
22924 { (case "(($ac_try" in
22925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22926 *) ac_try_echo=$ac_try;;
22928 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22929 (eval "$ac_try") 2>&5
22931 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22932 (exit $ac_status); }; }; then
22933 eval "$as_ac_var=yes"
22935 echo "$as_me: failed program was
:" >&5
22936 sed 's/^/| /' conftest.$ac_ext >&5
22938 eval "$as_ac_var=no
"
22941 rm -f core conftest.err conftest.$ac_objext \
22942 conftest$ac_exeext conftest.$ac_ext
22944 ac_res=`eval echo '${'$as_ac_var'}'`
22945 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22946 echo "${ECHO_T}$ac_res" >&6; }
22947 if test `eval echo '${'$as_ac_var'}'` = yes; then
22948 cat >>confdefs.h <<_ACEOF
22949 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
22957 { echo "$as_me:$LINENO: checking
for X
" >&5
22958 echo $ECHO_N "checking
for X...
$ECHO_C" >&6; }
22961 # Check whether --with-x was given.
22962 if test "${with_x+set}" = set; then
22966 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22967 if test "x
$with_x" = xno; then
22968 # The user explicitly disabled X.
22971 case $x_includes,$x_libraries in #(
22972 *\'*) { { echo "$as_me:$LINENO: error
: Cannot use X directory names containing
'" >&5
22973 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
22974 { (exit 1); exit 1; }; };; #(
22975 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
22976 echo $ECHO_N "(cached
) $ECHO_C" >&6
22978 # One or both of the vars are not set, and there is no cached value.
22979 ac_x_includes=no ac_x_libraries=no
22980 rm -f -r conftest.dir
22981 if mkdir conftest.dir; then
22983 cat >Imakefile <<'_ACEOF'
22985 @echo incroot='${INCROOT}'
22987 @echo usrlibdir='${USRLIBDIR}'
22989 @echo libdir='${LIBDIR}'
22991 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
22992 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
22993 for ac_var in incroot usrlibdir libdir; do
22994 eval "ac_im_
$ac_var=\
`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
22996 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22997 for ac_extension in a so sl; do
22998 if test ! -f "$ac_im_usrlibdir/libX11.
$ac_extension" &&
22999 test -f "$ac_im_libdir/libX11.
$ac_extension"; then
23000 ac_im_usrlibdir=$ac_im_libdir; break
23003 # Screen out bogus values from the imake configuration. They are
23004 # bogus both because they are the default anyway, and because
23005 # using them would break gcc on systems where it needs fixed includes.
23006 case $ac_im_incroot in
23007 /usr/include) ac_x_includes= ;;
23008 *) test -f "$ac_im_incroot/X11
/Xos.h
" && ac_x_includes=$ac_im_incroot;;
23010 case $ac_im_usrlibdir in
23011 /usr/lib | /lib) ;;
23012 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
23016 rm -f -r conftest.dir
23019 # Standard set of common directories for X headers.
23020 # Check X11 before X11Rn because it is often a symlink to the current release.
23032 /usr/local/X11/include
23033 /usr/local/X11R6/include
23034 /usr/local/X11R5/include
23035 /usr/local/X11R4/include
23037 /usr/local/include/X11
23038 /usr/local/include/X11R6
23039 /usr/local/include/X11R5
23040 /usr/local/include/X11R4
23044 /usr/XFree86/include/X11
23048 /usr/unsupported/include
23049 /usr/athena/include
23050 /usr/local/x11r5/include
23051 /usr/lpp/Xamples/include
23053 /usr/openwin/include
23054 /usr/openwin/share/include'
23056 if test "$ac_x_includes" = no; then
23057 # Guess where to find include files, by looking for Xlib.h.
23058 # First, try using that file with no special directory specified.
23059 cat >conftest.$ac_ext <<_ACEOF
23062 cat confdefs.h >>conftest.$ac_ext
23063 cat >>conftest.$ac_ext <<_ACEOF
23064 /* end confdefs.h. */
23065 #include <X11/Xlib.h>
23067 if { (ac_try="$ac_cpp conftest.
$ac_ext"
23068 case "(($ac_try" in
23069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23070 *) ac_try_echo=$ac_try;;
23072 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23073 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
23075 grep -v '^ *+' conftest.er1 >conftest.err
23077 cat conftest.err >&5
23078 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23079 (exit $ac_status); } >/dev/null; then
23080 if test -s conftest.err; then
23081 ac_cpp_err=$ac_c_preproc_warn_flag
23082 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23089 if test -z "$ac_cpp_err"; then
23090 # We can compile using X headers with no special include directory.
23093 echo "$as_me: failed program was
:" >&5
23094 sed 's/^/| /' conftest.$ac_ext >&5
23096 for ac_dir in $ac_x_header_dirs; do
23097 if test -r "$ac_dir/X11
/Xlib.h
"; then
23098 ac_x_includes=$ac_dir
23104 rm -f conftest.err conftest.$ac_ext
23105 fi # $ac_x_includes = no
23107 if test "$ac_x_libraries" = no; then
23108 # Check for the libraries.
23109 # See if we find them without any special options.
23110 # Don't add to $LIBS permanently.
23113 cat >conftest.$ac_ext <<_ACEOF
23116 cat confdefs.h >>conftest.$ac_ext
23117 cat >>conftest.$ac_ext <<_ACEOF
23118 /* end confdefs.h. */
23119 #include <X11/Xlib.h>
23128 rm -f conftest.$ac_objext conftest$ac_exeext
23129 if { (ac_try="$ac_link"
23130 case "(($ac_try" in
23131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23132 *) ac_try_echo=$ac_try;;
23134 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23135 (eval "$ac_link") 2>conftest.er1
23137 grep -v '^ *+' conftest.er1 >conftest.err
23139 cat conftest.err >&5
23140 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23141 (exit $ac_status); } &&
23142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23143 { (case "(($ac_try" in
23144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23145 *) ac_try_echo=$ac_try;;
23147 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23148 (eval "$ac_try") 2>&5
23150 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23151 (exit $ac_status); }; } &&
23152 { ac_try='test -s conftest$ac_exeext'
23153 { (case "(($ac_try" in
23154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23155 *) ac_try_echo=$ac_try;;
23157 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23158 (eval "$ac_try") 2>&5
23160 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23161 (exit $ac_status); }; }; then
23163 # We can link X programs with no special library path.
23166 echo "$as_me: failed program was
:" >&5
23167 sed 's/^/| /' conftest.$ac_ext >&5
23170 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23172 # Don't even attempt the hair of trying to link an X program!
23173 for ac_extension in a so sl; do
23174 if test -r "$ac_dir/libXt.
$ac_extension"; then
23175 ac_x_libraries=$ac_dir
23182 rm -f core conftest.err conftest.$ac_objext \
23183 conftest$ac_exeext conftest.$ac_ext
23184 fi # $ac_x_libraries = no
23186 case $ac_x_includes,$ac_x_libraries in #(
23187 no,* | *,no | *\'*)
23188 # Didn't find X, or a directory has "'" in its name.
23189 ac_cv_have_x="have_x=no";; #(
23191 # Record where we found X for the cache.
23192 ac_cv_have_x="have_x=yes\
23193 ac_x_includes='$ac_x_includes'\
23194 ac_x_libraries='$ac_x_libraries'"
23200 eval "$ac_cv_have_x"
23203 if test "$have_x" != yes; then
23204 { echo "$as_me:$LINENO: result: $have_x" >&5
23205 echo "${ECHO_T}$have_x" >&6; }
23208 # If each of the values was on the command line, it overrides each guess.
23209 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
23210 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
23211 # Update the cache value to reflect the command line values.
23212 ac_cv_have_x="have_x=yes\
23213 ac_x_includes='$x_includes'\
23214 ac_x_libraries='$x_libraries'"
23215 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
23216 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
23219 if test "$no_x" = yes; then
23220 # Not all programs may use this symbol, but it does not hurt to define it.
23222 cat >>confdefs.h <<\_ACEOF
23223 #define X_DISPLAY_MISSING 1
23226 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23228 if test -n "$x_includes"; then
23229 X_CFLAGS="$X_CFLAGS -I$x_includes"
23232 # It would also be nice to do this for all -L options, not just this one.
23233 if test -n "$x_libraries"; then
23234 X_LIBS="$X_LIBS -L$x_libraries"
23235 # For Solaris; some versions of Sun CC require a space after -R and
23236 # others require no space. Words are not sufficient . . . .
23237 case `(uname -sr) 2>/dev/null` in
23239 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23240 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
23241 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23242 cat >conftest.$ac_ext <<_ACEOF
23245 cat confdefs.h >>conftest.$ac_ext
23246 cat >>conftest.$ac_ext <<_ACEOF
23247 /* end confdefs.h. */
23257 rm -f conftest.$ac_objext conftest$ac_exeext
23258 if { (ac_try="$ac_link"
23259 case "(($ac_try" in
23260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23261 *) ac_try_echo=$ac_try;;
23263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23264 (eval "$ac_link") 2>conftest.er1
23266 grep -v '^
*+' conftest.er1 >conftest.err
23268 cat conftest.err >&5
23269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270 (exit $ac_status); } &&
23271 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
23272 { (case "(($ac_try" in
23273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23274 *) ac_try_echo=$ac_try;;
23276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23277 (eval "$ac_try") 2>&5
23279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23280 (exit $ac_status); }; } &&
23281 { ac_try='test -s conftest
$ac_exeext'
23282 { (case "(($ac_try" in
23283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23284 *) ac_try_echo=$ac_try;;
23286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23287 (eval "$ac_try") 2>&5
23289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23290 (exit $ac_status); }; }; then
23293 echo "$as_me: failed program was:" >&5
23294 sed 's
/^
/|
/' conftest.$ac_ext >&5
23299 rm -f core conftest.err conftest.$ac_objext \
23300 conftest$ac_exeext conftest.$ac_ext
23301 if test $ac_R_nospace = yes; then
23302 { echo "$as_me:$LINENO: result: no" >&5
23303 echo "${ECHO_T}no" >&6; }
23304 X_LIBS="$X_LIBS -R$x_libraries"
23306 LIBS="$ac_xsave_LIBS -R $x_libraries"
23307 cat >conftest.$ac_ext <<_ACEOF
23310 cat confdefs.h >>conftest.$ac_ext
23311 cat >>conftest.$ac_ext <<_ACEOF
23312 /* end confdefs.h. */
23322 rm -f conftest.$ac_objext conftest$ac_exeext
23323 if { (ac_try="$ac_link"
23324 case "(($ac_try" in
23325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23326 *) ac_try_echo=$ac_try;;
23328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23329 (eval "$ac_link") 2>conftest.er1
23331 grep -v '^
*+' conftest.er1 >conftest.err
23333 cat conftest.err >&5
23334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23335 (exit $ac_status); } &&
23336 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
23337 { (case "(($ac_try" in
23338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23339 *) ac_try_echo=$ac_try;;
23341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23342 (eval "$ac_try") 2>&5
23344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23345 (exit $ac_status); }; } &&
23346 { ac_try='test -s conftest
$ac_exeext'
23347 { (case "(($ac_try" in
23348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23349 *) ac_try_echo=$ac_try;;
23351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23352 (eval "$ac_try") 2>&5
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); }; }; then
23358 echo "$as_me: failed program was:" >&5
23359 sed 's
/^
/|
/' conftest.$ac_ext >&5
23364 rm -f core conftest.err conftest.$ac_objext \
23365 conftest$ac_exeext conftest.$ac_ext
23366 if test $ac_R_space = yes; then
23367 { echo "$as_me:$LINENO: result: yes" >&5
23368 echo "${ECHO_T}yes" >&6; }
23369 X_LIBS="$X_LIBS -R $x_libraries"
23371 { echo "$as_me:$LINENO: result: neither works" >&5
23372 echo "${ECHO_T}neither works" >&6; }
23375 LIBS=$ac_xsave_LIBS
23379 # Check for system-dependent libraries X programs must link with.
23380 # Do this before checking for the system-independent R6 libraries
23381 # (-lICE), since we may need -lsocket or whatever for X linking.
23383 if test "$ISC" = yes; then
23384 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23386 # Martyn Johnson says this is needed for Ultrix, if the X
23387 # libraries were built with DECnet support. And Karl Berry says
23388 # the Alpha needs dnet_stub (dnet does not exist).
23389 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23390 cat >conftest.$ac_ext <<_ACEOF
23393 cat confdefs.h >>conftest.$ac_ext
23394 cat >>conftest.$ac_ext <<_ACEOF
23395 /* end confdefs.h. */
23397 /* Override any GCC internal prototype to avoid an error.
23398 Use char because int might match the return type of a GCC
23399 builtin and then its argument prototype would still apply. */
23403 char XOpenDisplay ();
23407 return XOpenDisplay ();
23412 rm -f conftest.$ac_objext conftest$ac_exeext
23413 if { (ac_try="$ac_link"
23414 case "(($ac_try" in
23415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23416 *) ac_try_echo=$ac_try;;
23418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23419 (eval "$ac_link") 2>conftest.er1
23421 grep -v '^
*+' conftest.er1 >conftest.err
23423 cat conftest.err >&5
23424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23425 (exit $ac_status); } &&
23426 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
23427 { (case "(($ac_try" in
23428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23429 *) ac_try_echo=$ac_try;;
23431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23432 (eval "$ac_try") 2>&5
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); }; } &&
23436 { ac_try='test -s conftest
$ac_exeext'
23437 { (case "(($ac_try" in
23438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23439 *) ac_try_echo=$ac_try;;
23441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23442 (eval "$ac_try") 2>&5
23444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23445 (exit $ac_status); }; }; then
23448 echo "$as_me: failed program was:" >&5
23449 sed 's
/^
/|
/' conftest.$ac_ext >&5
23451 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23452 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
23453 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23454 echo $ECHO_N "(cached) $ECHO_C" >&6
23456 ac_check_lib_save_LIBS=$LIBS
23457 LIBS="-ldnet $LIBS"
23458 cat >conftest.$ac_ext <<_ACEOF
23461 cat confdefs.h >>conftest.$ac_ext
23462 cat >>conftest.$ac_ext <<_ACEOF
23463 /* end confdefs.h. */
23465 /* Override any GCC internal prototype to avoid an error.
23466 Use char because int might match the return type of a GCC
23467 builtin and then its argument prototype would still apply. */
23475 return dnet_ntoa ();
23480 rm -f conftest.$ac_objext conftest$ac_exeext
23481 if { (ac_try="$ac_link"
23482 case "(($ac_try" in
23483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23484 *) ac_try_echo=$ac_try;;
23486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23487 (eval "$ac_link") 2>conftest.er1
23489 grep -v '^
*+' conftest.er1 >conftest.err
23491 cat conftest.err >&5
23492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493 (exit $ac_status); } &&
23494 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
23495 { (case "(($ac_try" in
23496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23497 *) ac_try_echo=$ac_try;;
23499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23500 (eval "$ac_try") 2>&5
23502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23503 (exit $ac_status); }; } &&
23504 { ac_try='test -s conftest
$ac_exeext'
23505 { (case "(($ac_try" in
23506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23507 *) ac_try_echo=$ac_try;;
23509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23510 (eval "$ac_try") 2>&5
23512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23513 (exit $ac_status); }; }; then
23514 ac_cv_lib_dnet_dnet_ntoa=yes
23516 echo "$as_me: failed program was:" >&5
23517 sed 's
/^
/|
/' conftest.$ac_ext >&5
23519 ac_cv_lib_dnet_dnet_ntoa=no
23522 rm -f core conftest.err conftest.$ac_objext \
23523 conftest$ac_exeext conftest.$ac_ext
23524 LIBS=$ac_check_lib_save_LIBS
23526 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23527 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
23528 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23529 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23532 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23533 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23534 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
23535 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23536 echo $ECHO_N "(cached) $ECHO_C" >&6
23538 ac_check_lib_save_LIBS=$LIBS
23539 LIBS="-ldnet_stub $LIBS"
23540 cat >conftest.$ac_ext <<_ACEOF
23543 cat confdefs.h >>conftest.$ac_ext
23544 cat >>conftest.$ac_ext <<_ACEOF
23545 /* end confdefs.h. */
23547 /* Override any GCC internal prototype to avoid an error.
23548 Use char because int might match the return type of a GCC
23549 builtin and then its argument prototype would still apply. */
23557 return dnet_ntoa ();
23562 rm -f conftest.$ac_objext conftest$ac_exeext
23563 if { (ac_try="$ac_link"
23564 case "(($ac_try" in
23565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23566 *) ac_try_echo=$ac_try;;
23568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23569 (eval "$ac_link") 2>conftest.er1
23571 grep -v '^
*+' conftest.er1 >conftest.err
23573 cat conftest.err >&5
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); } &&
23576 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
23577 { (case "(($ac_try" in
23578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23579 *) ac_try_echo=$ac_try;;
23581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23582 (eval "$ac_try") 2>&5
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); }; } &&
23586 { ac_try='test -s conftest
$ac_exeext'
23587 { (case "(($ac_try" in
23588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23589 *) ac_try_echo=$ac_try;;
23591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23592 (eval "$ac_try") 2>&5
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); }; }; then
23596 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23598 echo "$as_me: failed program was:" >&5
23599 sed 's
/^
/|
/' conftest.$ac_ext >&5
23601 ac_cv_lib_dnet_stub_dnet_ntoa=no
23604 rm -f core conftest.err conftest.$ac_objext \
23605 conftest$ac_exeext conftest.$ac_ext
23606 LIBS=$ac_check_lib_save_LIBS
23608 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23609 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
23610 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23611 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23617 rm -f core conftest.err conftest.$ac_objext \
23618 conftest$ac_exeext conftest.$ac_ext
23619 LIBS="$ac_xsave_LIBS"
23621 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23622 # to get the SysV transport functions.
23623 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23625 # The nsl library prevents programs from opening the X display
23626 # on Irix 5.2, according to T.E. Dickey.
23627 # The functions gethostbyname, getservbyname, and inet_addr are
23628 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23629 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
23630 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
23631 if test "${ac_cv_func_gethostbyname+set}" = set; then
23632 echo $ECHO_N "(cached) $ECHO_C" >&6
23634 cat >conftest.$ac_ext <<_ACEOF
23637 cat confdefs.h >>conftest.$ac_ext
23638 cat >>conftest.$ac_ext <<_ACEOF
23639 /* end confdefs.h. */
23640 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
23641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23642 #define gethostbyname innocuous_gethostbyname
23644 /* System header to define __stub macros and hopefully few prototypes,
23645 which can conflict with char gethostbyname (); below.
23646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23647 <limits.h> exists even on freestanding compilers. */
23650 # include <limits.h>
23652 # include <assert.h>
23655 #undef gethostbyname
23657 /* Override any GCC internal prototype to avoid an error.
23658 Use char because int might match the return type of a GCC
23659 builtin and then its argument prototype would still apply. */
23663 char gethostbyname ();
23664 /* The GNU C library defines this for functions which it implements
23665 to always fail with ENOSYS. Some functions are actually named
23666 something starting with __ and the normal name is an alias. */
23667 #if defined __stub_gethostbyname || defined __stub___gethostbyname
23674 return gethostbyname ();
23679 rm -f conftest.$ac_objext conftest$ac_exeext
23680 if { (ac_try="$ac_link"
23681 case "(($ac_try" in
23682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23683 *) ac_try_echo=$ac_try;;
23685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23686 (eval "$ac_link") 2>conftest.er1
23688 grep -v '^
*+' conftest.er1 >conftest.err
23690 cat conftest.err >&5
23691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23692 (exit $ac_status); } &&
23693 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
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_try") 2>&5
23701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23702 (exit $ac_status); }; } &&
23703 { ac_try='test -s conftest
$ac_exeext'
23704 { (case "(($ac_try" in
23705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23706 *) ac_try_echo=$ac_try;;
23708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23709 (eval "$ac_try") 2>&5
23711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23712 (exit $ac_status); }; }; then
23713 ac_cv_func_gethostbyname=yes
23715 echo "$as_me: failed program was:" >&5
23716 sed 's
/^
/|
/' conftest.$ac_ext >&5
23718 ac_cv_func_gethostbyname=no
23721 rm -f core conftest.err conftest.$ac_objext \
23722 conftest$ac_exeext conftest.$ac_ext
23724 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23725 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
23727 if test $ac_cv_func_gethostbyname = no; then
23728 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23729 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
23730 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23731 echo $ECHO_N "(cached) $ECHO_C" >&6
23733 ac_check_lib_save_LIBS=$LIBS
23735 cat >conftest.$ac_ext <<_ACEOF
23738 cat confdefs.h >>conftest.$ac_ext
23739 cat >>conftest.$ac_ext <<_ACEOF
23740 /* end confdefs.h. */
23742 /* Override any GCC internal prototype to avoid an error.
23743 Use char because int might match the return type of a GCC
23744 builtin and then its argument prototype would still apply. */
23748 char gethostbyname ();
23752 return gethostbyname ();
23757 rm -f conftest.$ac_objext conftest$ac_exeext
23758 if { (ac_try="$ac_link"
23759 case "(($ac_try" in
23760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23761 *) ac_try_echo=$ac_try;;
23763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23764 (eval "$ac_link") 2>conftest.er1
23766 grep -v '^
*+' conftest.er1 >conftest.err
23768 cat conftest.err >&5
23769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23770 (exit $ac_status); } &&
23771 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
23772 { (case "(($ac_try" in
23773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23774 *) ac_try_echo=$ac_try;;
23776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23777 (eval "$ac_try") 2>&5
23779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23780 (exit $ac_status); }; } &&
23781 { ac_try='test -s 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_lib_nsl_gethostbyname=yes
23793 echo "$as_me: failed program was:" >&5
23794 sed 's
/^
/|
/' conftest.$ac_ext >&5
23796 ac_cv_lib_nsl_gethostbyname=no
23799 rm -f core conftest.err conftest.$ac_objext \
23800 conftest$ac_exeext conftest.$ac_ext
23801 LIBS=$ac_check_lib_save_LIBS
23803 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23804 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
23805 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23806 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23809 if test $ac_cv_lib_nsl_gethostbyname = no; then
23810 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23811 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
23812 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23813 echo $ECHO_N "(cached) $ECHO_C" >&6
23815 ac_check_lib_save_LIBS=$LIBS
23817 cat >conftest.$ac_ext <<_ACEOF
23820 cat confdefs.h >>conftest.$ac_ext
23821 cat >>conftest.$ac_ext <<_ACEOF
23822 /* end confdefs.h. */
23824 /* Override any GCC internal prototype to avoid an error.
23825 Use char because int might match the return type of a GCC
23826 builtin and then its argument prototype would still apply. */
23830 char gethostbyname ();
23834 return gethostbyname ();
23839 rm -f conftest.$ac_objext conftest$ac_exeext
23840 if { (ac_try="$ac_link"
23841 case "(($ac_try" in
23842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23843 *) ac_try_echo=$ac_try;;
23845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23846 (eval "$ac_link") 2>conftest.er1
23848 grep -v '^
*+' conftest.er1 >conftest.err
23850 cat conftest.err >&5
23851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23852 (exit $ac_status); } &&
23853 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
23854 { (case "(($ac_try" in
23855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23856 *) ac_try_echo=$ac_try;;
23858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23859 (eval "$ac_try") 2>&5
23861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23862 (exit $ac_status); }; } &&
23863 { ac_try='test -s conftest
$ac_exeext'
23864 { (case "(($ac_try" in
23865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23866 *) ac_try_echo=$ac_try;;
23868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23869 (eval "$ac_try") 2>&5
23871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23872 (exit $ac_status); }; }; then
23873 ac_cv_lib_bsd_gethostbyname=yes
23875 echo "$as_me: failed program was:" >&5
23876 sed 's
/^
/|
/' conftest.$ac_ext >&5
23878 ac_cv_lib_bsd_gethostbyname=no
23881 rm -f core conftest.err conftest.$ac_objext \
23882 conftest$ac_exeext conftest.$ac_ext
23883 LIBS=$ac_check_lib_save_LIBS
23885 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23886 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
23887 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23888 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23894 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23895 # socket/setsockopt and other routines are undefined under SCO ODT
23896 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23897 # on later versions), says Simon Leinen: it contains gethostby*
23898 # variants that don't use the name server
(or something
).
-lsocket
23899 # must be given before -lnsl if both are needed. We assume that
23900 # if connect needs -lnsl, so does gethostbyname.
23901 { echo "$as_me:$LINENO: checking for connect" >&5
23902 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
23903 if test "${ac_cv_func_connect+set}" = set; then
23904 echo $ECHO_N "(cached) $ECHO_C" >&6
23906 cat >conftest.
$ac_ext <<_ACEOF
23909 cat confdefs.h
>>conftest.
$ac_ext
23910 cat >>conftest.
$ac_ext <<_ACEOF
23911 /* end confdefs.h. */
23912 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
23913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23914 #define connect innocuous_connect
23916 /* System header to define __stub macros and hopefully few prototypes,
23917 which can conflict with char connect (); below.
23918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23919 <limits.h> exists even on freestanding compilers. */
23922 # include <limits.h>
23924 # include <assert.h>
23929 /* Override any GCC internal prototype to avoid an error.
23930 Use char because int might match the return type of a GCC
23931 builtin and then its argument prototype would still apply. */
23936 /* The GNU C library defines this for functions which it implements
23937 to always fail with ENOSYS. Some functions are actually named
23938 something starting with __ and the normal name is an alias. */
23939 #if defined __stub_connect || defined __stub___connect
23951 rm -f conftest.
$ac_objext conftest
$ac_exeext
23952 if { (ac_try
="$ac_link"
23953 case "(($ac_try" in
23954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23955 *) ac_try_echo=$ac_try;;
23957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23958 (eval "$ac_link") 2>conftest.er1
23960 grep -v '^ *+' conftest.er1 >conftest.err
23962 cat conftest.err >&5
23963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23964 (exit $ac_status); } &&
23965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23966 { (case "(($ac_try" in
23967 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23968 *) ac_try_echo
=$ac_try;;
23970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23971 (eval "$ac_try") 2>&5
23973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23974 (exit $ac_status); }; } &&
23975 { ac_try
='test -s conftest$ac_exeext'
23976 { (case "(($ac_try" in
23977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23978 *) ac_try_echo=$ac_try;;
23980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23981 (eval "$ac_try") 2>&5
23983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23984 (exit $ac_status); }; }; then
23985 ac_cv_func_connect=yes
23987 echo "$as_me: failed program was:" >&5
23988 sed 's/^/| /' conftest.$ac_ext >&5
23990 ac_cv_func_connect=no
23993 rm -f core conftest.err conftest.$ac_objext \
23994 conftest$ac_exeext conftest.$ac_ext
23996 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23997 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
23999 if test $ac_cv_func_connect = no; then
24000 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24001 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
24002 if test "${ac_cv_lib_socket_connect+set}" = set; then
24003 echo $ECHO_N "(cached) $ECHO_C" >&6
24005 ac_check_lib_save_LIBS=$LIBS
24006 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24007 cat >conftest.$ac_ext <<_ACEOF
24010 cat confdefs.h >>conftest.$ac_ext
24011 cat >>conftest.$ac_ext <<_ACEOF
24012 /* end confdefs.h. */
24014 /* Override any GCC internal prototype to avoid an error.
24015 Use char because int might match the return type of a GCC
24016 builtin and then its argument prototype would still apply. */
24029 rm -f conftest.$ac_objext conftest$ac_exeext
24030 if { (ac_try="$ac_link"
24031 case "(($ac_try" in
24032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24033 *) ac_try_echo
=$ac_try;;
24035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24036 (eval "$ac_link") 2>conftest.er1
24038 grep -v '^ *+' conftest.er1
>conftest.err
24040 cat conftest.err
>&5
24041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24042 (exit $ac_status); } &&
24043 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24044 { (case "(($ac_try" in
24045 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24046 *) ac_try_echo=$ac_try;;
24048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24049 (eval "$ac_try") 2>&5
24051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24052 (exit $ac_status); }; } &&
24053 { ac_try='test -s conftest$ac_exeext'
24054 { (case "(($ac_try" in
24055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24056 *) ac_try_echo
=$ac_try;;
24058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24059 (eval "$ac_try") 2>&5
24061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24062 (exit $ac_status); }; }; then
24063 ac_cv_lib_socket_connect
=yes
24065 echo "$as_me: failed program was:" >&5
24066 sed 's/^/| /' conftest.
$ac_ext >&5
24068 ac_cv_lib_socket_connect
=no
24071 rm -f core conftest.err conftest.
$ac_objext \
24072 conftest
$ac_exeext conftest.
$ac_ext
24073 LIBS
=$ac_check_lib_save_LIBS
24075 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24076 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
24077 if test $ac_cv_lib_socket_connect = yes; then
24078 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24083 # Guillermo Gomez says -lposix is necessary on A/UX.
24084 { echo "$as_me:$LINENO: checking for remove" >&5
24085 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
24086 if test "${ac_cv_func_remove+set}" = set; then
24087 echo $ECHO_N "(cached) $ECHO_C" >&6
24089 cat >conftest.
$ac_ext <<_ACEOF
24092 cat confdefs.h
>>conftest.
$ac_ext
24093 cat >>conftest.
$ac_ext <<_ACEOF
24094 /* end confdefs.h. */
24095 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24097 #define remove innocuous_remove
24099 /* System header to define __stub macros and hopefully few prototypes,
24100 which can conflict with char remove (); below.
24101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24102 <limits.h> exists even on freestanding compilers. */
24105 # include <limits.h>
24107 # include <assert.h>
24112 /* Override any GCC internal prototype to avoid an error.
24113 Use char because int might match the return type of a GCC
24114 builtin and then its argument prototype would still apply. */
24119 /* The GNU C library defines this for functions which it implements
24120 to always fail with ENOSYS. Some functions are actually named
24121 something starting with __ and the normal name is an alias. */
24122 #if defined __stub_remove || defined __stub___remove
24134 rm -f conftest.
$ac_objext conftest
$ac_exeext
24135 if { (ac_try
="$ac_link"
24136 case "(($ac_try" in
24137 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24138 *) ac_try_echo=$ac_try;;
24140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24141 (eval "$ac_link") 2>conftest.er1
24143 grep -v '^ *+' conftest.er1 >conftest.err
24145 cat conftest.err >&5
24146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24147 (exit $ac_status); } &&
24148 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24149 { (case "(($ac_try" in
24150 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24151 *) ac_try_echo
=$ac_try;;
24153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24154 (eval "$ac_try") 2>&5
24156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24157 (exit $ac_status); }; } &&
24158 { ac_try
='test -s conftest$ac_exeext'
24159 { (case "(($ac_try" in
24160 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24161 *) ac_try_echo=$ac_try;;
24163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24164 (eval "$ac_try") 2>&5
24166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24167 (exit $ac_status); }; }; then
24168 ac_cv_func_remove=yes
24170 echo "$as_me: failed program was:" >&5
24171 sed 's/^/| /' conftest.$ac_ext >&5
24173 ac_cv_func_remove=no
24176 rm -f core conftest.err conftest.$ac_objext \
24177 conftest$ac_exeext conftest.$ac_ext
24179 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24180 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
24182 if test $ac_cv_func_remove = no; then
24183 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24184 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
24185 if test "${ac_cv_lib_posix_remove+set}" = set; then
24186 echo $ECHO_N "(cached) $ECHO_C" >&6
24188 ac_check_lib_save_LIBS=$LIBS
24189 LIBS="-lposix $LIBS"
24190 cat >conftest.$ac_ext <<_ACEOF
24193 cat confdefs.h >>conftest.$ac_ext
24194 cat >>conftest.$ac_ext <<_ACEOF
24195 /* end confdefs.h. */
24197 /* Override any GCC internal prototype to avoid an error.
24198 Use char because int might match the return type of a GCC
24199 builtin and then its argument prototype would still apply. */
24212 rm -f conftest.$ac_objext conftest$ac_exeext
24213 if { (ac_try="$ac_link"
24214 case "(($ac_try" in
24215 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24216 *) ac_try_echo
=$ac_try;;
24218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24219 (eval "$ac_link") 2>conftest.er1
24221 grep -v '^ *+' conftest.er1
>conftest.err
24223 cat conftest.err
>&5
24224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24225 (exit $ac_status); } &&
24226 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24227 { (case "(($ac_try" in
24228 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24229 *) ac_try_echo=$ac_try;;
24231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24232 (eval "$ac_try") 2>&5
24234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24235 (exit $ac_status); }; } &&
24236 { ac_try='test -s conftest$ac_exeext'
24237 { (case "(($ac_try" in
24238 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24239 *) ac_try_echo
=$ac_try;;
24241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24242 (eval "$ac_try") 2>&5
24244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24245 (exit $ac_status); }; }; then
24246 ac_cv_lib_posix_remove
=yes
24248 echo "$as_me: failed program was:" >&5
24249 sed 's/^/| /' conftest.
$ac_ext >&5
24251 ac_cv_lib_posix_remove
=no
24254 rm -f core conftest.err conftest.
$ac_objext \
24255 conftest
$ac_exeext conftest.
$ac_ext
24256 LIBS
=$ac_check_lib_save_LIBS
24258 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24259 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
24260 if test $ac_cv_lib_posix_remove = yes; then
24261 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
24266 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24267 { echo "$as_me:$LINENO: checking for shmat" >&5
24268 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
24269 if test "${ac_cv_func_shmat+set}" = set; then
24270 echo $ECHO_N "(cached) $ECHO_C" >&6
24272 cat >conftest.
$ac_ext <<_ACEOF
24275 cat confdefs.h
>>conftest.
$ac_ext
24276 cat >>conftest.
$ac_ext <<_ACEOF
24277 /* end confdefs.h. */
24278 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24280 #define shmat innocuous_shmat
24282 /* System header to define __stub macros and hopefully few prototypes,
24283 which can conflict with char shmat (); below.
24284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24285 <limits.h> exists even on freestanding compilers. */
24288 # include <limits.h>
24290 # include <assert.h>
24295 /* Override any GCC internal prototype to avoid an error.
24296 Use char because int might match the return type of a GCC
24297 builtin and then its argument prototype would still apply. */
24302 /* The GNU C library defines this for functions which it implements
24303 to always fail with ENOSYS. Some functions are actually named
24304 something starting with __ and the normal name is an alias. */
24305 #if defined __stub_shmat || defined __stub___shmat
24317 rm -f conftest.
$ac_objext conftest
$ac_exeext
24318 if { (ac_try
="$ac_link"
24319 case "(($ac_try" in
24320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24321 *) ac_try_echo=$ac_try;;
24323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24324 (eval "$ac_link") 2>conftest.er1
24326 grep -v '^ *+' conftest.er1 >conftest.err
24328 cat conftest.err >&5
24329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24330 (exit $ac_status); } &&
24331 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24332 { (case "(($ac_try" in
24333 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24334 *) ac_try_echo
=$ac_try;;
24336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24337 (eval "$ac_try") 2>&5
24339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24340 (exit $ac_status); }; } &&
24341 { ac_try
='test -s conftest$ac_exeext'
24342 { (case "(($ac_try" in
24343 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24344 *) ac_try_echo=$ac_try;;
24346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24347 (eval "$ac_try") 2>&5
24349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24350 (exit $ac_status); }; }; then
24351 ac_cv_func_shmat=yes
24353 echo "$as_me: failed program was:" >&5
24354 sed 's/^/| /' conftest.$ac_ext >&5
24356 ac_cv_func_shmat=no
24359 rm -f core conftest.err conftest.$ac_objext \
24360 conftest$ac_exeext conftest.$ac_ext
24362 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24363 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
24365 if test $ac_cv_func_shmat = no; then
24366 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24367 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
24368 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24369 echo $ECHO_N "(cached) $ECHO_C" >&6
24371 ac_check_lib_save_LIBS=$LIBS
24373 cat >conftest.$ac_ext <<_ACEOF
24376 cat confdefs.h >>conftest.$ac_ext
24377 cat >>conftest.$ac_ext <<_ACEOF
24378 /* end confdefs.h. */
24380 /* Override any GCC internal prototype to avoid an error.
24381 Use char because int might match the return type of a GCC
24382 builtin and then its argument prototype would still apply. */
24395 rm -f conftest.$ac_objext conftest$ac_exeext
24396 if { (ac_try="$ac_link"
24397 case "(($ac_try" in
24398 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24399 *) ac_try_echo
=$ac_try;;
24401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24402 (eval "$ac_link") 2>conftest.er1
24404 grep -v '^ *+' conftest.er1
>conftest.err
24406 cat conftest.err
>&5
24407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24408 (exit $ac_status); } &&
24409 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24410 { (case "(($ac_try" in
24411 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24412 *) ac_try_echo=$ac_try;;
24414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24415 (eval "$ac_try") 2>&5
24417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24418 (exit $ac_status); }; } &&
24419 { ac_try='test -s conftest$ac_exeext'
24420 { (case "(($ac_try" in
24421 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24422 *) ac_try_echo
=$ac_try;;
24424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24425 (eval "$ac_try") 2>&5
24427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24428 (exit $ac_status); }; }; then
24429 ac_cv_lib_ipc_shmat
=yes
24431 echo "$as_me: failed program was:" >&5
24432 sed 's/^/| /' conftest.
$ac_ext >&5
24434 ac_cv_lib_ipc_shmat
=no
24437 rm -f core conftest.err conftest.
$ac_objext \
24438 conftest
$ac_exeext conftest.
$ac_ext
24439 LIBS
=$ac_check_lib_save_LIBS
24441 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24442 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
24443 if test $ac_cv_lib_ipc_shmat = yes; then
24444 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
24450 # Check for libraries that X11R6 Xt/Xaw programs need.
24451 ac_save_LDFLAGS
=$LDFLAGS
24452 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
24453 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24454 # check for ICE first), but we must link in the order -lSM -lICE or
24455 # we get undefined symbols. So assume we have SM if we have ICE.
24456 # These have to be linked with before -lX11, unlike the other
24457 # libraries we check for below, so use a different variable.
24458 # John Interrante, Karl Berry
24459 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24460 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
24461 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24462 echo $ECHO_N "(cached) $ECHO_C" >&6
24464 ac_check_lib_save_LIBS
=$LIBS
24465 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
24466 cat >conftest.
$ac_ext <<_ACEOF
24469 cat confdefs.h
>>conftest.
$ac_ext
24470 cat >>conftest.
$ac_ext <<_ACEOF
24471 /* end confdefs.h. */
24473 /* Override any GCC internal prototype to avoid an error.
24474 Use char because int might match the return type of a GCC
24475 builtin and then its argument prototype would still apply. */
24479 char IceConnectionNumber ();
24483 return IceConnectionNumber ();
24488 rm -f conftest.
$ac_objext conftest
$ac_exeext
24489 if { (ac_try
="$ac_link"
24490 case "(($ac_try" in
24491 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24492 *) ac_try_echo=$ac_try;;
24494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24495 (eval "$ac_link") 2>conftest.er1
24497 grep -v '^ *+' conftest.er1 >conftest.err
24499 cat conftest.err >&5
24500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24501 (exit $ac_status); } &&
24502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24503 { (case "(($ac_try" in
24504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24505 *) ac_try_echo
=$ac_try;;
24507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24508 (eval "$ac_try") 2>&5
24510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24511 (exit $ac_status); }; } &&
24512 { ac_try
='test -s conftest$ac_exeext'
24513 { (case "(($ac_try" in
24514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24515 *) ac_try_echo=$ac_try;;
24517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24518 (eval "$ac_try") 2>&5
24520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24521 (exit $ac_status); }; }; then
24522 ac_cv_lib_ICE_IceConnectionNumber=yes
24524 echo "$as_me: failed program was:" >&5
24525 sed 's/^/| /' conftest.$ac_ext >&5
24527 ac_cv_lib_ICE_IceConnectionNumber=no
24530 rm -f core conftest.err conftest.$ac_objext \
24531 conftest$ac_exeext conftest.$ac_ext
24532 LIBS=$ac_check_lib_save_LIBS
24534 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24535 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
24536 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24537 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
24540 LDFLAGS=$ac_save_LDFLAGS
24545 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24546 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24547 if test "${ac_cv_c_bigendian+set}" = set; then
24548 echo $ECHO_N "(cached) $ECHO_C" >&6
24550 # See if sys/param.h defines the BYTE_ORDER macro.
24551 cat >conftest.$ac_ext <<_ACEOF
24554 cat confdefs.h >>conftest.$ac_ext
24555 cat >>conftest.$ac_ext <<_ACEOF
24556 /* end confdefs.h. */
24557 #include <sys/types.h>
24558 #include <sys/param.h>
24563 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24564 bogus endian macros
24571 rm -f conftest.$ac_objext
24572 if { (ac_try="$ac_compile"
24573 case "(($ac_try" in
24574 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24575 *) ac_try_echo
=$ac_try;;
24577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24578 (eval "$ac_compile") 2>conftest.er1
24580 grep -v '^ *+' conftest.er1
>conftest.err
24582 cat conftest.err
>&5
24583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24584 (exit $ac_status); } &&
24585 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24586 { (case "(($ac_try" in
24587 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24588 *) ac_try_echo=$ac_try;;
24590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24591 (eval "$ac_try") 2>&5
24593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24594 (exit $ac_status); }; } &&
24595 { ac_try='test -s conftest.$ac_objext'
24596 { (case "(($ac_try" in
24597 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24598 *) ac_try_echo
=$ac_try;;
24600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24601 (eval "$ac_try") 2>&5
24603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24604 (exit $ac_status); }; }; then
24605 # It does; now see whether it defined to BIG_ENDIAN or not.
24606 cat >conftest.
$ac_ext <<_ACEOF
24609 cat confdefs.h
>>conftest.
$ac_ext
24610 cat >>conftest.
$ac_ext <<_ACEOF
24611 /* end confdefs.h. */
24612 #include <sys/types.h>
24613 #include <sys/param.h>
24618 #if BYTE_ORDER != BIG_ENDIAN
24626 rm -f conftest.
$ac_objext
24627 if { (ac_try
="$ac_compile"
24628 case "(($ac_try" in
24629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24630 *) ac_try_echo=$ac_try;;
24632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24633 (eval "$ac_compile") 2>conftest.er1
24635 grep -v '^ *+' conftest.er1 >conftest.err
24637 cat conftest.err >&5
24638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24639 (exit $ac_status); } &&
24640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24641 { (case "(($ac_try" in
24642 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24643 *) ac_try_echo
=$ac_try;;
24645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24646 (eval "$ac_try") 2>&5
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); }; } &&
24650 { ac_try
='test -s conftest.$ac_objext'
24651 { (case "(($ac_try" in
24652 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24653 *) ac_try_echo=$ac_try;;
24655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24656 (eval "$ac_try") 2>&5
24658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24659 (exit $ac_status); }; }; then
24660 ac_cv_c_bigendian=yes
24662 echo "$as_me: failed program was:" >&5
24663 sed 's/^/| /' conftest.$ac_ext >&5
24665 ac_cv_c_bigendian=no
24668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24670 echo "$as_me: failed program was:" >&5
24671 sed 's/^/| /' conftest.$ac_ext >&5
24673 # It does not; compile a test program.
24674 if test "$cross_compiling" = yes; then
24675 # try to guess the endianness by grepping values into an object file
24676 ac_cv_c_bigendian=unknown
24677 cat >conftest.$ac_ext <<_ACEOF
24680 cat confdefs.h >>conftest.$ac_ext
24681 cat >>conftest.$ac_ext <<_ACEOF
24682 /* end confdefs.h. */
24683 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
24684 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
24685 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
24686 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
24687 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
24688 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
24692 _ascii (); _ebcdic ();
24697 rm -f conftest.$ac_objext
24698 if { (ac_try="$ac_compile"
24699 case "(($ac_try" in
24700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24701 *) ac_try_echo
=$ac_try;;
24703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24704 (eval "$ac_compile") 2>conftest.er1
24706 grep -v '^ *+' conftest.er1
>conftest.err
24708 cat conftest.err
>&5
24709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24710 (exit $ac_status); } &&
24711 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24712 { (case "(($ac_try" in
24713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24714 *) ac_try_echo=$ac_try;;
24716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24717 (eval "$ac_try") 2>&5
24719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24720 (exit $ac_status); }; } &&
24721 { ac_try='test -s conftest.$ac_objext'
24722 { (case "(($ac_try" in
24723 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24724 *) ac_try_echo
=$ac_try;;
24726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24727 (eval "$ac_try") 2>&5
24729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24730 (exit $ac_status); }; }; then
24731 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
24732 ac_cv_c_bigendian
=yes
24734 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
24735 if test "$ac_cv_c_bigendian" = unknown
; then
24736 ac_cv_c_bigendian
=no
24738 # finding both strings is unlikely to happen, but who knows?
24739 ac_cv_c_bigendian
=unknown
24743 echo "$as_me: failed program was:" >&5
24744 sed 's/^/| /' conftest.
$ac_ext >&5
24749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24751 cat >conftest.
$ac_ext <<_ACEOF
24754 cat confdefs.h
>>conftest.
$ac_ext
24755 cat >>conftest.
$ac_ext <<_ACEOF
24756 /* end confdefs.h. */
24757 $ac_includes_default
24762 /* Are we little or big endian? From Harbison&Steele. */
24766 char c[sizeof (long int)];
24769 return u.c[sizeof (long int) - 1] == 1;
24775 rm -f conftest
$ac_exeext
24776 if { (ac_try
="$ac_link"
24777 case "(($ac_try" in
24778 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24779 *) ac_try_echo=$ac_try;;
24781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24782 (eval "$ac_link") 2>&5
24784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24785 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24786 { (case "(($ac_try" in
24787 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24788 *) ac_try_echo
=$ac_try;;
24790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24791 (eval "$ac_try") 2>&5
24793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24794 (exit $ac_status); }; }; then
24795 ac_cv_c_bigendian
=no
24797 echo "$as_me: program exited with status $ac_status" >&5
24798 echo "$as_me: failed program was:" >&5
24799 sed 's/^/| /' conftest.
$ac_ext >&5
24801 ( exit $ac_status )
24802 ac_cv_c_bigendian
=yes
24804 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24812 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24813 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24814 case $ac_cv_c_bigendian in
24817 cat >>confdefs.h
<<\_ACEOF
24818 #define WORDS_BIGENDIAN 1
24824 { { echo "$as_me:$LINENO: error: unknown endianness
24825 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
24826 echo "$as_me: error: unknown endianness
24827 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
24828 { (exit 1); exit 1; }; } ;;
24831 { echo "$as_me:$LINENO: checking for inline" >&5
24832 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
24833 if test "${ac_cv_c_inline+set}" = set; then
24834 echo $ECHO_N "(cached) $ECHO_C" >&6
24837 for ac_kw
in inline __inline__ __inline
; do
24838 cat >conftest.
$ac_ext <<_ACEOF
24841 cat confdefs.h
>>conftest.
$ac_ext
24842 cat >>conftest.
$ac_ext <<_ACEOF
24843 /* end confdefs.h. */
24844 #ifndef __cplusplus
24846 static $ac_kw foo_t static_foo () {return 0; }
24847 $ac_kw foo_t foo () {return 0; }
24851 rm -f conftest.
$ac_objext
24852 if { (ac_try
="$ac_compile"
24853 case "(($ac_try" in
24854 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24855 *) ac_try_echo=$ac_try;;
24857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24858 (eval "$ac_compile") 2>conftest.er1
24860 grep -v '^ *+' conftest.er1 >conftest.err
24862 cat conftest.err >&5
24863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24864 (exit $ac_status); } &&
24865 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24866 { (case "(($ac_try" in
24867 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24868 *) ac_try_echo
=$ac_try;;
24870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24871 (eval "$ac_try") 2>&5
24873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24874 (exit $ac_status); }; } &&
24875 { ac_try
='test -s conftest.$ac_objext'
24876 { (case "(($ac_try" in
24877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24878 *) ac_try_echo=$ac_try;;
24880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24881 (eval "$ac_try") 2>&5
24883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24884 (exit $ac_status); }; }; then
24885 ac_cv_c_inline=$ac_kw
24887 echo "$as_me: failed program was:" >&5
24888 sed 's/^/| /' conftest.$ac_ext >&5
24893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24894 test "$ac_cv_c_inline" != no && break
24898 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
24899 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
24902 case $ac_cv_c_inline in
24905 case $ac_cv_c_inline in
24907 *) ac_val=$ac_cv_c_inline;;
24909 cat >>confdefs.h <<_ACEOF
24910 #ifndef __cplusplus
24911 #define inline $ac_val
24917 { echo "$as_me:$LINENO: checking for unsigned char" >&5
24918 echo $ECHO_N "checking for unsigned char... $ECHO_C" >&6; }
24919 if test "${ac_cv_type_unsigned_char+set}" = set; then
24920 echo $ECHO_N "(cached) $ECHO_C" >&6
24922 cat >conftest.$ac_ext <<_ACEOF
24925 cat confdefs.h >>conftest.$ac_ext
24926 cat >>conftest.$ac_ext <<_ACEOF
24927 /* end confdefs.h. */
24928 $ac_includes_default
24929 typedef unsigned char ac__type_new_;
24933 if ((ac__type_new_ *) 0)
24935 if (sizeof (ac__type_new_))
24941 rm -f conftest.$ac_objext
24942 if { (ac_try="$ac_compile"
24943 case "(($ac_try" in
24944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24945 *) ac_try_echo
=$ac_try;;
24947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24948 (eval "$ac_compile") 2>conftest.er1
24950 grep -v '^ *+' conftest.er1
>conftest.err
24952 cat conftest.err
>&5
24953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24954 (exit $ac_status); } &&
24955 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24956 { (case "(($ac_try" in
24957 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24958 *) ac_try_echo=$ac_try;;
24960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24961 (eval "$ac_try") 2>&5
24963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24964 (exit $ac_status); }; } &&
24965 { ac_try='test -s conftest.$ac_objext'
24966 { (case "(($ac_try" in
24967 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24968 *) ac_try_echo
=$ac_try;;
24970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24971 (eval "$ac_try") 2>&5
24973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24974 (exit $ac_status); }; }; then
24975 ac_cv_type_unsigned_char
=yes
24977 echo "$as_me: failed program was:" >&5
24978 sed 's/^/| /' conftest.
$ac_ext >&5
24980 ac_cv_type_unsigned_char
=no
24983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24985 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char" >&5
24986 echo "${ECHO_T}$ac_cv_type_unsigned_char" >&6; }
24988 { echo "$as_me:$LINENO: checking size of unsigned char" >&5
24989 echo $ECHO_N "checking size of unsigned char... $ECHO_C" >&6; }
24990 if test "${ac_cv_sizeof_unsigned_char+set}" = set; then
24991 echo $ECHO_N "(cached) $ECHO_C" >&6
24993 if test "$ac_cv_type_unsigned_char" = yes; then
24994 # The cast to long int works around a bug in the HP C Compiler
24995 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24996 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24997 # This bug is HP SR number 8606223364.
24998 if test "$cross_compiling" = yes; then
24999 # Depending upon the size, compute the lo and hi bounds.
25000 cat >conftest.
$ac_ext <<_ACEOF
25003 cat confdefs.h
>>conftest.
$ac_ext
25004 cat >>conftest.
$ac_ext <<_ACEOF
25005 /* end confdefs.h. */
25006 $ac_includes_default
25007 typedef unsigned char ac__type_sizeof_;
25011 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25018 rm -f conftest.
$ac_objext
25019 if { (ac_try
="$ac_compile"
25020 case "(($ac_try" in
25021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25022 *) ac_try_echo=$ac_try;;
25024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25025 (eval "$ac_compile") 2>conftest.er1
25027 grep -v '^ *+' conftest.er1 >conftest.err
25029 cat conftest.err >&5
25030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25031 (exit $ac_status); } &&
25032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25033 { (case "(($ac_try" in
25034 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25035 *) ac_try_echo
=$ac_try;;
25037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25038 (eval "$ac_try") 2>&5
25040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25041 (exit $ac_status); }; } &&
25042 { ac_try
='test -s conftest.$ac_objext'
25043 { (case "(($ac_try" in
25044 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25045 *) ac_try_echo=$ac_try;;
25047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25048 (eval "$ac_try") 2>&5
25050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25051 (exit $ac_status); }; }; then
25054 cat >conftest.$ac_ext <<_ACEOF
25057 cat confdefs.h >>conftest.$ac_ext
25058 cat >>conftest.$ac_ext <<_ACEOF
25059 /* end confdefs.h. */
25060 $ac_includes_default
25061 typedef unsigned char ac__type_sizeof_;
25065 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25072 rm -f conftest.$ac_objext
25073 if { (ac_try="$ac_compile"
25074 case "(($ac_try" in
25075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25076 *) ac_try_echo
=$ac_try;;
25078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25079 (eval "$ac_compile") 2>conftest.er1
25081 grep -v '^ *+' conftest.er1
>conftest.err
25083 cat conftest.err
>&5
25084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25085 (exit $ac_status); } &&
25086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25087 { (case "(($ac_try" in
25088 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25089 *) ac_try_echo=$ac_try;;
25091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25092 (eval "$ac_try") 2>&5
25094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25095 (exit $ac_status); }; } &&
25096 { ac_try='test -s conftest.$ac_objext'
25097 { (case "(($ac_try" in
25098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25099 *) ac_try_echo
=$ac_try;;
25101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25102 (eval "$ac_try") 2>&5
25104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25105 (exit $ac_status); }; }; then
25106 ac_hi
=$ac_mid; break
25108 echo "$as_me: failed program was:" >&5
25109 sed 's/^/| /' conftest.
$ac_ext >&5
25111 ac_lo
=`expr $ac_mid + 1`
25112 if test $ac_lo -le $ac_mid; then
25116 ac_mid
=`expr 2 '*' $ac_mid + 1`
25119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25122 echo "$as_me: failed program was:" >&5
25123 sed 's/^/| /' conftest.
$ac_ext >&5
25125 cat >conftest.
$ac_ext <<_ACEOF
25128 cat confdefs.h
>>conftest.
$ac_ext
25129 cat >>conftest.
$ac_ext <<_ACEOF
25130 /* end confdefs.h. */
25131 $ac_includes_default
25132 typedef unsigned char ac__type_sizeof_;
25136 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25143 rm -f conftest.
$ac_objext
25144 if { (ac_try
="$ac_compile"
25145 case "(($ac_try" in
25146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25147 *) ac_try_echo=$ac_try;;
25149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25150 (eval "$ac_compile") 2>conftest.er1
25152 grep -v '^ *+' conftest.er1 >conftest.err
25154 cat conftest.err >&5
25155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25156 (exit $ac_status); } &&
25157 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25158 { (case "(($ac_try" in
25159 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25160 *) ac_try_echo
=$ac_try;;
25162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25163 (eval "$ac_try") 2>&5
25165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25166 (exit $ac_status); }; } &&
25167 { ac_try
='test -s conftest.$ac_objext'
25168 { (case "(($ac_try" in
25169 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25170 *) ac_try_echo=$ac_try;;
25172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25173 (eval "$ac_try") 2>&5
25175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25176 (exit $ac_status); }; }; then
25179 cat >conftest.$ac_ext <<_ACEOF
25182 cat confdefs.h >>conftest.$ac_ext
25183 cat >>conftest.$ac_ext <<_ACEOF
25184 /* end confdefs.h. */
25185 $ac_includes_default
25186 typedef unsigned char ac__type_sizeof_;
25190 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25197 rm -f conftest.$ac_objext
25198 if { (ac_try="$ac_compile"
25199 case "(($ac_try" in
25200 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25201 *) ac_try_echo
=$ac_try;;
25203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25204 (eval "$ac_compile") 2>conftest.er1
25206 grep -v '^ *+' conftest.er1
>conftest.err
25208 cat conftest.err
>&5
25209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210 (exit $ac_status); } &&
25211 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25212 { (case "(($ac_try" in
25213 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25214 *) ac_try_echo=$ac_try;;
25216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25217 (eval "$ac_try") 2>&5
25219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25220 (exit $ac_status); }; } &&
25221 { ac_try='test -s conftest.$ac_objext'
25222 { (case "(($ac_try" in
25223 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25224 *) ac_try_echo
=$ac_try;;
25226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25227 (eval "$ac_try") 2>&5
25229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25230 (exit $ac_status); }; }; then
25231 ac_lo
=$ac_mid; break
25233 echo "$as_me: failed program was:" >&5
25234 sed 's/^/| /' conftest.
$ac_ext >&5
25236 ac_hi
=`expr '(' $ac_mid ')' - 1`
25237 if test $ac_mid -le $ac_hi; then
25241 ac_mid
=`expr 2 '*' $ac_mid`
25244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25247 echo "$as_me: failed program was:" >&5
25248 sed 's/^/| /' conftest.
$ac_ext >&5
25253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25257 # Binary search between lo and hi bounds.
25258 while test "x$ac_lo" != "x$ac_hi"; do
25259 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25260 cat >conftest.
$ac_ext <<_ACEOF
25263 cat confdefs.h
>>conftest.
$ac_ext
25264 cat >>conftest.
$ac_ext <<_ACEOF
25265 /* end confdefs.h. */
25266 $ac_includes_default
25267 typedef unsigned char ac__type_sizeof_;
25271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25278 rm -f conftest.
$ac_objext
25279 if { (ac_try
="$ac_compile"
25280 case "(($ac_try" in
25281 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25282 *) ac_try_echo=$ac_try;;
25284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25285 (eval "$ac_compile") 2>conftest.er1
25287 grep -v '^ *+' conftest.er1 >conftest.err
25289 cat conftest.err >&5
25290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291 (exit $ac_status); } &&
25292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25293 { (case "(($ac_try" in
25294 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25295 *) ac_try_echo
=$ac_try;;
25297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25298 (eval "$ac_try") 2>&5
25300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25301 (exit $ac_status); }; } &&
25302 { ac_try
='test -s conftest.$ac_objext'
25303 { (case "(($ac_try" in
25304 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25305 *) ac_try_echo=$ac_try;;
25307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25308 (eval "$ac_try") 2>&5
25310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25311 (exit $ac_status); }; }; then
25314 echo "$as_me: failed program was:" >&5
25315 sed 's/^/| /' conftest.$ac_ext >&5
25317 ac_lo=`expr '(' $ac_mid ')' + 1`
25320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25323 ?*) ac_cv_sizeof_unsigned_char=$ac_lo;;
25324 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char)
25325 See \`config.log
' for more details." >&5
25326 echo "$as_me: error: cannot compute sizeof (unsigned char)
25327 See \`config.log' for more details.
" >&2;}
25328 { (exit 77); exit 77; }; } ;;
25331 cat >conftest.$ac_ext <<_ACEOF
25334 cat confdefs.h >>conftest.$ac_ext
25335 cat >>conftest.$ac_ext <<_ACEOF
25336 /* end confdefs.h. */
25337 $ac_includes_default
25338 typedef unsigned char ac__type_sizeof_;
25339 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25340 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25342 #include <stdlib.h>
25347 FILE *f = fopen ("conftest.val
", "w
");
25350 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25352 long int i = longval ();
25353 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25355 fprintf (f, "%ld
\n", i);
25359 unsigned long int i = ulongval ();
25360 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25362 fprintf (f, "%lu
\n", i);
25364 return ferror (f) || fclose (f) != 0;
25370 rm -f conftest$ac_exeext
25371 if { (ac_try="$ac_link"
25372 case "(($ac_try" in
25373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25374 *) ac_try_echo=$ac_try;;
25376 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25377 (eval "$ac_link") 2>&5
25379 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25380 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25381 { (case "(($ac_try" in
25382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25383 *) ac_try_echo=$ac_try;;
25385 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25386 (eval "$ac_try") 2>&5
25388 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25389 (exit $ac_status); }; }; then
25390 ac_cv_sizeof_unsigned_char=`cat conftest.val`
25392 echo "$as_me: program exited with status
$ac_status" >&5
25393 echo "$as_me: failed program was
:" >&5
25394 sed 's/^/| /' conftest.$ac_ext >&5
25396 ( exit $ac_status )
25397 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned char
)
25398 See \
`config.log' for more details." >&5
25399 echo "$as_me: error: cannot compute sizeof (unsigned char)
25400 See \`config.log
' for more details." >&2;}
25401 { (exit 77); exit 77; }; }
25403 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25407 ac_cv_sizeof_unsigned_char=0
25410 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char" >&5
25411 echo "${ECHO_T}$ac_cv_sizeof_unsigned_char" >&6; }
25412 cat >>confdefs.h <<_ACEOF
25413 #define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char
25417 { echo "$as_me:$LINENO: checking for unsigned short" >&5
25418 echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6; }
25419 if test "${ac_cv_type_unsigned_short+set}" = set; then
25420 echo $ECHO_N "(cached) $ECHO_C" >&6
25422 cat >conftest.$ac_ext <<_ACEOF
25425 cat confdefs.h >>conftest.$ac_ext
25426 cat >>conftest.$ac_ext <<_ACEOF
25427 /* end confdefs.h. */
25428 $ac_includes_default
25429 typedef unsigned short ac__type_new_;
25433 if ((ac__type_new_ *) 0)
25435 if (sizeof (ac__type_new_))
25441 rm -f conftest.$ac_objext
25442 if { (ac_try="$ac_compile"
25443 case "(($ac_try" in
25444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25445 *) ac_try_echo=$ac_try;;
25447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25448 (eval "$ac_compile") 2>conftest.er1
25450 grep -v '^
*+' conftest.er1 >conftest.err
25452 cat conftest.err >&5
25453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25454 (exit $ac_status); } &&
25455 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
25456 { (case "(($ac_try" in
25457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25458 *) ac_try_echo=$ac_try;;
25460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25461 (eval "$ac_try") 2>&5
25463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25464 (exit $ac_status); }; } &&
25465 { ac_try='test -s conftest.
$ac_objext'
25466 { (case "(($ac_try" in
25467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25468 *) ac_try_echo=$ac_try;;
25470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25471 (eval "$ac_try") 2>&5
25473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25474 (exit $ac_status); }; }; then
25475 ac_cv_type_unsigned_short=yes
25477 echo "$as_me: failed program was:" >&5
25478 sed 's
/^
/|
/' conftest.$ac_ext >&5
25480 ac_cv_type_unsigned_short=no
25483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25485 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
25486 echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6; }
25488 { echo "$as_me:$LINENO: checking size of unsigned short" >&5
25489 echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6; }
25490 if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
25491 echo $ECHO_N "(cached) $ECHO_C" >&6
25493 if test "$ac_cv_type_unsigned_short" = yes; then
25494 # The cast to long int works around a bug in the HP C Compiler
25495 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25496 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25497 # This bug is HP SR number 8606223364.
25498 if test "$cross_compiling" = yes; then
25499 # Depending upon the size, compute the lo and hi bounds.
25500 cat >conftest.
$ac_ext <<_ACEOF
25503 cat confdefs.h
>>conftest.
$ac_ext
25504 cat >>conftest.
$ac_ext <<_ACEOF
25505 /* end confdefs.h. */
25506 $ac_includes_default
25507 typedef unsigned short ac__type_sizeof_;
25511 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25518 rm -f conftest.
$ac_objext
25519 if { (ac_try
="$ac_compile"
25520 case "(($ac_try" in
25521 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25522 *) ac_try_echo=$ac_try;;
25524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25525 (eval "$ac_compile") 2>conftest.er1
25527 grep -v '^ *+' conftest.er1 >conftest.err
25529 cat conftest.err >&5
25530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25531 (exit $ac_status); } &&
25532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25533 { (case "(($ac_try" in
25534 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25535 *) ac_try_echo
=$ac_try;;
25537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25538 (eval "$ac_try") 2>&5
25540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25541 (exit $ac_status); }; } &&
25542 { ac_try
='test -s conftest.$ac_objext'
25543 { (case "(($ac_try" in
25544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25545 *) ac_try_echo=$ac_try;;
25547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25548 (eval "$ac_try") 2>&5
25550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25551 (exit $ac_status); }; }; then
25554 cat >conftest.$ac_ext <<_ACEOF
25557 cat confdefs.h >>conftest.$ac_ext
25558 cat >>conftest.$ac_ext <<_ACEOF
25559 /* end confdefs.h. */
25560 $ac_includes_default
25561 typedef unsigned short ac__type_sizeof_;
25565 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25572 rm -f conftest.$ac_objext
25573 if { (ac_try="$ac_compile"
25574 case "(($ac_try" in
25575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25576 *) ac_try_echo
=$ac_try;;
25578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25579 (eval "$ac_compile") 2>conftest.er1
25581 grep -v '^ *+' conftest.er1
>conftest.err
25583 cat conftest.err
>&5
25584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25585 (exit $ac_status); } &&
25586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25587 { (case "(($ac_try" in
25588 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25589 *) ac_try_echo=$ac_try;;
25591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25592 (eval "$ac_try") 2>&5
25594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25595 (exit $ac_status); }; } &&
25596 { ac_try='test -s conftest.$ac_objext'
25597 { (case "(($ac_try" in
25598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25599 *) ac_try_echo
=$ac_try;;
25601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25602 (eval "$ac_try") 2>&5
25604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25605 (exit $ac_status); }; }; then
25606 ac_hi
=$ac_mid; break
25608 echo "$as_me: failed program was:" >&5
25609 sed 's/^/| /' conftest.
$ac_ext >&5
25611 ac_lo
=`expr $ac_mid + 1`
25612 if test $ac_lo -le $ac_mid; then
25616 ac_mid
=`expr 2 '*' $ac_mid + 1`
25619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25622 echo "$as_me: failed program was:" >&5
25623 sed 's/^/| /' conftest.
$ac_ext >&5
25625 cat >conftest.
$ac_ext <<_ACEOF
25628 cat confdefs.h
>>conftest.
$ac_ext
25629 cat >>conftest.
$ac_ext <<_ACEOF
25630 /* end confdefs.h. */
25631 $ac_includes_default
25632 typedef unsigned short ac__type_sizeof_;
25636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25643 rm -f conftest.
$ac_objext
25644 if { (ac_try
="$ac_compile"
25645 case "(($ac_try" in
25646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25647 *) ac_try_echo=$ac_try;;
25649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25650 (eval "$ac_compile") 2>conftest.er1
25652 grep -v '^ *+' conftest.er1 >conftest.err
25654 cat conftest.err >&5
25655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25656 (exit $ac_status); } &&
25657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25658 { (case "(($ac_try" in
25659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25660 *) ac_try_echo
=$ac_try;;
25662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25663 (eval "$ac_try") 2>&5
25665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25666 (exit $ac_status); }; } &&
25667 { ac_try
='test -s conftest.$ac_objext'
25668 { (case "(($ac_try" in
25669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25670 *) ac_try_echo=$ac_try;;
25672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25673 (eval "$ac_try") 2>&5
25675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25676 (exit $ac_status); }; }; then
25679 cat >conftest.$ac_ext <<_ACEOF
25682 cat confdefs.h >>conftest.$ac_ext
25683 cat >>conftest.$ac_ext <<_ACEOF
25684 /* end confdefs.h. */
25685 $ac_includes_default
25686 typedef unsigned short ac__type_sizeof_;
25690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25697 rm -f conftest.$ac_objext
25698 if { (ac_try="$ac_compile"
25699 case "(($ac_try" in
25700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25701 *) ac_try_echo
=$ac_try;;
25703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25704 (eval "$ac_compile") 2>conftest.er1
25706 grep -v '^ *+' conftest.er1
>conftest.err
25708 cat conftest.err
>&5
25709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25710 (exit $ac_status); } &&
25711 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25712 { (case "(($ac_try" in
25713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25714 *) ac_try_echo=$ac_try;;
25716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25717 (eval "$ac_try") 2>&5
25719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25720 (exit $ac_status); }; } &&
25721 { ac_try='test -s conftest.$ac_objext'
25722 { (case "(($ac_try" in
25723 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25724 *) ac_try_echo
=$ac_try;;
25726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25727 (eval "$ac_try") 2>&5
25729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25730 (exit $ac_status); }; }; then
25731 ac_lo
=$ac_mid; break
25733 echo "$as_me: failed program was:" >&5
25734 sed 's/^/| /' conftest.
$ac_ext >&5
25736 ac_hi
=`expr '(' $ac_mid ')' - 1`
25737 if test $ac_mid -le $ac_hi; then
25741 ac_mid
=`expr 2 '*' $ac_mid`
25744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25747 echo "$as_me: failed program was:" >&5
25748 sed 's/^/| /' conftest.
$ac_ext >&5
25753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25757 # Binary search between lo and hi bounds.
25758 while test "x$ac_lo" != "x$ac_hi"; do
25759 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25760 cat >conftest.
$ac_ext <<_ACEOF
25763 cat confdefs.h
>>conftest.
$ac_ext
25764 cat >>conftest.
$ac_ext <<_ACEOF
25765 /* end confdefs.h. */
25766 $ac_includes_default
25767 typedef unsigned short ac__type_sizeof_;
25771 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25778 rm -f conftest.
$ac_objext
25779 if { (ac_try
="$ac_compile"
25780 case "(($ac_try" in
25781 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25782 *) ac_try_echo=$ac_try;;
25784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25785 (eval "$ac_compile") 2>conftest.er1
25787 grep -v '^ *+' conftest.er1 >conftest.err
25789 cat conftest.err >&5
25790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25791 (exit $ac_status); } &&
25792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25793 { (case "(($ac_try" in
25794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25795 *) ac_try_echo
=$ac_try;;
25797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25798 (eval "$ac_try") 2>&5
25800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25801 (exit $ac_status); }; } &&
25802 { ac_try
='test -s conftest.$ac_objext'
25803 { (case "(($ac_try" in
25804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25805 *) ac_try_echo=$ac_try;;
25807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25808 (eval "$ac_try") 2>&5
25810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25811 (exit $ac_status); }; }; then
25814 echo "$as_me: failed program was:" >&5
25815 sed 's/^/| /' conftest.$ac_ext >&5
25817 ac_lo=`expr '(' $ac_mid ')' + 1`
25820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25823 ?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
25824 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
25825 See \`config.log
' for more details." >&5
25826 echo "$as_me: error: cannot compute sizeof (unsigned short)
25827 See \`config.log' for more details.
" >&2;}
25828 { (exit 77); exit 77; }; } ;;
25831 cat >conftest.$ac_ext <<_ACEOF
25834 cat confdefs.h >>conftest.$ac_ext
25835 cat >>conftest.$ac_ext <<_ACEOF
25836 /* end confdefs.h. */
25837 $ac_includes_default
25838 typedef unsigned short ac__type_sizeof_;
25839 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25840 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25842 #include <stdlib.h>
25847 FILE *f = fopen ("conftest.val
", "w
");
25850 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25852 long int i = longval ();
25853 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25855 fprintf (f, "%ld
\n", i);
25859 unsigned long int i = ulongval ();
25860 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25862 fprintf (f, "%lu
\n", i);
25864 return ferror (f) || fclose (f) != 0;
25870 rm -f conftest$ac_exeext
25871 if { (ac_try="$ac_link"
25872 case "(($ac_try" in
25873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25874 *) ac_try_echo=$ac_try;;
25876 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25877 (eval "$ac_link") 2>&5
25879 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25880 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25881 { (case "(($ac_try" in
25882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25883 *) ac_try_echo=$ac_try;;
25885 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25886 (eval "$ac_try") 2>&5
25888 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25889 (exit $ac_status); }; }; then
25890 ac_cv_sizeof_unsigned_short=`cat conftest.val`
25892 echo "$as_me: program exited with status
$ac_status" >&5
25893 echo "$as_me: failed program was
:" >&5
25894 sed 's/^/| /' conftest.$ac_ext >&5
25896 ( exit $ac_status )
25897 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned short
)
25898 See \
`config.log' for more details." >&5
25899 echo "$as_me: error: cannot compute sizeof (unsigned short)
25900 See \`config.log
' for more details." >&2;}
25901 { (exit 77); exit 77; }; }
25903 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25907 ac_cv_sizeof_unsigned_short=0
25910 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
25911 echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6; }
25912 cat >>confdefs.h <<_ACEOF
25913 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
25917 { echo "$as_me:$LINENO: checking for unsigned int" >&5
25918 echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6; }
25919 if test "${ac_cv_type_unsigned_int+set}" = set; then
25920 echo $ECHO_N "(cached) $ECHO_C" >&6
25922 cat >conftest.$ac_ext <<_ACEOF
25925 cat confdefs.h >>conftest.$ac_ext
25926 cat >>conftest.$ac_ext <<_ACEOF
25927 /* end confdefs.h. */
25928 $ac_includes_default
25929 typedef unsigned int ac__type_new_;
25933 if ((ac__type_new_ *) 0)
25935 if (sizeof (ac__type_new_))
25941 rm -f conftest.$ac_objext
25942 if { (ac_try="$ac_compile"
25943 case "(($ac_try" in
25944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25945 *) ac_try_echo=$ac_try;;
25947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25948 (eval "$ac_compile") 2>conftest.er1
25950 grep -v '^
*+' conftest.er1 >conftest.err
25952 cat conftest.err >&5
25953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25954 (exit $ac_status); } &&
25955 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
25956 { (case "(($ac_try" in
25957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25958 *) ac_try_echo=$ac_try;;
25960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25961 (eval "$ac_try") 2>&5
25963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25964 (exit $ac_status); }; } &&
25965 { ac_try='test -s conftest.
$ac_objext'
25966 { (case "(($ac_try" in
25967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25968 *) ac_try_echo=$ac_try;;
25970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25971 (eval "$ac_try") 2>&5
25973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25974 (exit $ac_status); }; }; then
25975 ac_cv_type_unsigned_int=yes
25977 echo "$as_me: failed program was:" >&5
25978 sed 's
/^
/|
/' conftest.$ac_ext >&5
25980 ac_cv_type_unsigned_int=no
25983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25985 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
25986 echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6; }
25988 { echo "$as_me:$LINENO: checking size of unsigned int" >&5
25989 echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6; }
25990 if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
25991 echo $ECHO_N "(cached) $ECHO_C" >&6
25993 if test "$ac_cv_type_unsigned_int" = yes; then
25994 # The cast to long int works around a bug in the HP C Compiler
25995 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25996 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25997 # This bug is HP SR number 8606223364.
25998 if test "$cross_compiling" = yes; then
25999 # Depending upon the size, compute the lo and hi bounds.
26000 cat >conftest.
$ac_ext <<_ACEOF
26003 cat confdefs.h
>>conftest.
$ac_ext
26004 cat >>conftest.
$ac_ext <<_ACEOF
26005 /* end confdefs.h. */
26006 $ac_includes_default
26007 typedef unsigned int ac__type_sizeof_;
26011 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26018 rm -f conftest.
$ac_objext
26019 if { (ac_try
="$ac_compile"
26020 case "(($ac_try" in
26021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26022 *) ac_try_echo=$ac_try;;
26024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26025 (eval "$ac_compile") 2>conftest.er1
26027 grep -v '^ *+' conftest.er1 >conftest.err
26029 cat conftest.err >&5
26030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26031 (exit $ac_status); } &&
26032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26033 { (case "(($ac_try" in
26034 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26035 *) ac_try_echo
=$ac_try;;
26037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26038 (eval "$ac_try") 2>&5
26040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26041 (exit $ac_status); }; } &&
26042 { ac_try
='test -s conftest.$ac_objext'
26043 { (case "(($ac_try" in
26044 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26045 *) ac_try_echo=$ac_try;;
26047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26048 (eval "$ac_try") 2>&5
26050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26051 (exit $ac_status); }; }; then
26054 cat >conftest.$ac_ext <<_ACEOF
26057 cat confdefs.h >>conftest.$ac_ext
26058 cat >>conftest.$ac_ext <<_ACEOF
26059 /* end confdefs.h. */
26060 $ac_includes_default
26061 typedef unsigned int ac__type_sizeof_;
26065 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26072 rm -f conftest.$ac_objext
26073 if { (ac_try="$ac_compile"
26074 case "(($ac_try" in
26075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26076 *) ac_try_echo
=$ac_try;;
26078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26079 (eval "$ac_compile") 2>conftest.er1
26081 grep -v '^ *+' conftest.er1
>conftest.err
26083 cat conftest.err
>&5
26084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26085 (exit $ac_status); } &&
26086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26087 { (case "(($ac_try" in
26088 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26089 *) ac_try_echo=$ac_try;;
26091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26092 (eval "$ac_try") 2>&5
26094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26095 (exit $ac_status); }; } &&
26096 { ac_try='test -s conftest.$ac_objext'
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_try") 2>&5
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); }; }; then
26106 ac_hi
=$ac_mid; break
26108 echo "$as_me: failed program was:" >&5
26109 sed 's/^/| /' conftest.
$ac_ext >&5
26111 ac_lo
=`expr $ac_mid + 1`
26112 if test $ac_lo -le $ac_mid; then
26116 ac_mid
=`expr 2 '*' $ac_mid + 1`
26119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26122 echo "$as_me: failed program was:" >&5
26123 sed 's/^/| /' conftest.
$ac_ext >&5
26125 cat >conftest.
$ac_ext <<_ACEOF
26128 cat confdefs.h
>>conftest.
$ac_ext
26129 cat >>conftest.
$ac_ext <<_ACEOF
26130 /* end confdefs.h. */
26131 $ac_includes_default
26132 typedef unsigned int ac__type_sizeof_;
26136 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26143 rm -f conftest.
$ac_objext
26144 if { (ac_try
="$ac_compile"
26145 case "(($ac_try" in
26146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26147 *) ac_try_echo=$ac_try;;
26149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26150 (eval "$ac_compile") 2>conftest.er1
26152 grep -v '^ *+' conftest.er1 >conftest.err
26154 cat conftest.err >&5
26155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26156 (exit $ac_status); } &&
26157 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26158 { (case "(($ac_try" in
26159 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26160 *) ac_try_echo
=$ac_try;;
26162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26163 (eval "$ac_try") 2>&5
26165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26166 (exit $ac_status); }; } &&
26167 { ac_try
='test -s conftest.$ac_objext'
26168 { (case "(($ac_try" in
26169 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26170 *) ac_try_echo=$ac_try;;
26172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26173 (eval "$ac_try") 2>&5
26175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26176 (exit $ac_status); }; }; then
26179 cat >conftest.$ac_ext <<_ACEOF
26182 cat confdefs.h >>conftest.$ac_ext
26183 cat >>conftest.$ac_ext <<_ACEOF
26184 /* end confdefs.h. */
26185 $ac_includes_default
26186 typedef unsigned int ac__type_sizeof_;
26190 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26197 rm -f conftest.$ac_objext
26198 if { (ac_try="$ac_compile"
26199 case "(($ac_try" in
26200 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26201 *) ac_try_echo
=$ac_try;;
26203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26204 (eval "$ac_compile") 2>conftest.er1
26206 grep -v '^ *+' conftest.er1
>conftest.err
26208 cat conftest.err
>&5
26209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26210 (exit $ac_status); } &&
26211 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26212 { (case "(($ac_try" in
26213 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26214 *) ac_try_echo=$ac_try;;
26216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26217 (eval "$ac_try") 2>&5
26219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220 (exit $ac_status); }; } &&
26221 { ac_try='test -s conftest.$ac_objext'
26222 { (case "(($ac_try" in
26223 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26224 *) ac_try_echo
=$ac_try;;
26226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26227 (eval "$ac_try") 2>&5
26229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26230 (exit $ac_status); }; }; then
26231 ac_lo
=$ac_mid; break
26233 echo "$as_me: failed program was:" >&5
26234 sed 's/^/| /' conftest.
$ac_ext >&5
26236 ac_hi
=`expr '(' $ac_mid ')' - 1`
26237 if test $ac_mid -le $ac_hi; then
26241 ac_mid
=`expr 2 '*' $ac_mid`
26244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26247 echo "$as_me: failed program was:" >&5
26248 sed 's/^/| /' conftest.
$ac_ext >&5
26253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26257 # Binary search between lo and hi bounds.
26258 while test "x$ac_lo" != "x$ac_hi"; do
26259 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26260 cat >conftest.
$ac_ext <<_ACEOF
26263 cat confdefs.h
>>conftest.
$ac_ext
26264 cat >>conftest.
$ac_ext <<_ACEOF
26265 /* end confdefs.h. */
26266 $ac_includes_default
26267 typedef unsigned int ac__type_sizeof_;
26271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26278 rm -f conftest.
$ac_objext
26279 if { (ac_try
="$ac_compile"
26280 case "(($ac_try" in
26281 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26282 *) ac_try_echo=$ac_try;;
26284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26285 (eval "$ac_compile") 2>conftest.er1
26287 grep -v '^ *+' conftest.er1 >conftest.err
26289 cat conftest.err >&5
26290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26291 (exit $ac_status); } &&
26292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26293 { (case "(($ac_try" in
26294 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26295 *) ac_try_echo
=$ac_try;;
26297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26298 (eval "$ac_try") 2>&5
26300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26301 (exit $ac_status); }; } &&
26302 { ac_try
='test -s conftest.$ac_objext'
26303 { (case "(($ac_try" in
26304 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26305 *) ac_try_echo=$ac_try;;
26307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26308 (eval "$ac_try") 2>&5
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); }; }; then
26314 echo "$as_me: failed program was:" >&5
26315 sed 's/^/| /' conftest.$ac_ext >&5
26317 ac_lo=`expr '(' $ac_mid ')' + 1`
26320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26323 ?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
26324 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
26325 See \`config.log
' for more details." >&5
26326 echo "$as_me: error: cannot compute sizeof (unsigned int)
26327 See \`config.log' for more details.
" >&2;}
26328 { (exit 77); exit 77; }; } ;;
26331 cat >conftest.$ac_ext <<_ACEOF
26334 cat confdefs.h >>conftest.$ac_ext
26335 cat >>conftest.$ac_ext <<_ACEOF
26336 /* end confdefs.h. */
26337 $ac_includes_default
26338 typedef unsigned int ac__type_sizeof_;
26339 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26340 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26342 #include <stdlib.h>
26347 FILE *f = fopen ("conftest.val
", "w
");
26350 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26352 long int i = longval ();
26353 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26355 fprintf (f, "%ld
\n", i);
26359 unsigned long int i = ulongval ();
26360 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26362 fprintf (f, "%lu
\n", i);
26364 return ferror (f) || fclose (f) != 0;
26370 rm -f conftest$ac_exeext
26371 if { (ac_try="$ac_link"
26372 case "(($ac_try" in
26373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26374 *) ac_try_echo=$ac_try;;
26376 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26377 (eval "$ac_link") 2>&5
26379 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26380 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26381 { (case "(($ac_try" in
26382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26383 *) ac_try_echo=$ac_try;;
26385 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26386 (eval "$ac_try") 2>&5
26388 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26389 (exit $ac_status); }; }; then
26390 ac_cv_sizeof_unsigned_int=`cat conftest.val`
26392 echo "$as_me: program exited with status
$ac_status" >&5
26393 echo "$as_me: failed program was
:" >&5
26394 sed 's/^/| /' conftest.$ac_ext >&5
26396 ( exit $ac_status )
26397 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned int
)
26398 See \
`config.log' for more details." >&5
26399 echo "$as_me: error: cannot compute sizeof (unsigned int)
26400 See \`config.log
' for more details." >&2;}
26401 { (exit 77); exit 77; }; }
26403 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26407 ac_cv_sizeof_unsigned_int=0
26410 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
26411 echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6; }
26412 cat >>confdefs.h <<_ACEOF
26413 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
26417 { echo "$as_me:$LINENO: checking for unsigned long" >&5
26418 echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
26419 if test "${ac_cv_type_unsigned_long+set}" = set; then
26420 echo $ECHO_N "(cached) $ECHO_C" >&6
26422 cat >conftest.$ac_ext <<_ACEOF
26425 cat confdefs.h >>conftest.$ac_ext
26426 cat >>conftest.$ac_ext <<_ACEOF
26427 /* end confdefs.h. */
26428 $ac_includes_default
26429 typedef unsigned long ac__type_new_;
26433 if ((ac__type_new_ *) 0)
26435 if (sizeof (ac__type_new_))
26441 rm -f conftest.$ac_objext
26442 if { (ac_try="$ac_compile"
26443 case "(($ac_try" in
26444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26445 *) ac_try_echo=$ac_try;;
26447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26448 (eval "$ac_compile") 2>conftest.er1
26450 grep -v '^
*+' conftest.er1 >conftest.err
26452 cat conftest.err >&5
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); } &&
26455 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
26456 { (case "(($ac_try" in
26457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26458 *) ac_try_echo=$ac_try;;
26460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26461 (eval "$ac_try") 2>&5
26463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26464 (exit $ac_status); }; } &&
26465 { ac_try='test -s conftest.
$ac_objext'
26466 { (case "(($ac_try" in
26467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26468 *) ac_try_echo=$ac_try;;
26470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26471 (eval "$ac_try") 2>&5
26473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26474 (exit $ac_status); }; }; then
26475 ac_cv_type_unsigned_long=yes
26477 echo "$as_me: failed program was:" >&5
26478 sed 's
/^
/|
/' conftest.$ac_ext >&5
26480 ac_cv_type_unsigned_long=no
26483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26485 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
26486 echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
26488 { echo "$as_me:$LINENO: checking size of unsigned long" >&5
26489 echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
26490 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
26491 echo $ECHO_N "(cached) $ECHO_C" >&6
26493 if test "$ac_cv_type_unsigned_long" = yes; then
26494 # The cast to long int works around a bug in the HP C Compiler
26495 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26496 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26497 # This bug is HP SR number 8606223364.
26498 if test "$cross_compiling" = yes; then
26499 # Depending upon the size, compute the lo and hi bounds.
26500 cat >conftest.
$ac_ext <<_ACEOF
26503 cat confdefs.h
>>conftest.
$ac_ext
26504 cat >>conftest.
$ac_ext <<_ACEOF
26505 /* end confdefs.h. */
26506 $ac_includes_default
26507 typedef unsigned long ac__type_sizeof_;
26511 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26518 rm -f conftest.
$ac_objext
26519 if { (ac_try
="$ac_compile"
26520 case "(($ac_try" in
26521 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26522 *) ac_try_echo=$ac_try;;
26524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26525 (eval "$ac_compile") 2>conftest.er1
26527 grep -v '^ *+' conftest.er1 >conftest.err
26529 cat conftest.err >&5
26530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26531 (exit $ac_status); } &&
26532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26533 { (case "(($ac_try" in
26534 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26535 *) ac_try_echo
=$ac_try;;
26537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26538 (eval "$ac_try") 2>&5
26540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26541 (exit $ac_status); }; } &&
26542 { ac_try
='test -s conftest.$ac_objext'
26543 { (case "(($ac_try" in
26544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26545 *) ac_try_echo=$ac_try;;
26547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26548 (eval "$ac_try") 2>&5
26550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26551 (exit $ac_status); }; }; then
26554 cat >conftest.$ac_ext <<_ACEOF
26557 cat confdefs.h >>conftest.$ac_ext
26558 cat >>conftest.$ac_ext <<_ACEOF
26559 /* end confdefs.h. */
26560 $ac_includes_default
26561 typedef unsigned long ac__type_sizeof_;
26565 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26572 rm -f conftest.$ac_objext
26573 if { (ac_try="$ac_compile"
26574 case "(($ac_try" in
26575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26576 *) ac_try_echo
=$ac_try;;
26578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26579 (eval "$ac_compile") 2>conftest.er1
26581 grep -v '^ *+' conftest.er1
>conftest.err
26583 cat conftest.err
>&5
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); } &&
26586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26587 { (case "(($ac_try" in
26588 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26589 *) ac_try_echo=$ac_try;;
26591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26592 (eval "$ac_try") 2>&5
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); }; } &&
26596 { ac_try='test -s conftest.$ac_objext'
26597 { (case "(($ac_try" in
26598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26599 *) ac_try_echo
=$ac_try;;
26601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26602 (eval "$ac_try") 2>&5
26604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26605 (exit $ac_status); }; }; then
26606 ac_hi
=$ac_mid; break
26608 echo "$as_me: failed program was:" >&5
26609 sed 's/^/| /' conftest.
$ac_ext >&5
26611 ac_lo
=`expr $ac_mid + 1`
26612 if test $ac_lo -le $ac_mid; then
26616 ac_mid
=`expr 2 '*' $ac_mid + 1`
26619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26622 echo "$as_me: failed program was:" >&5
26623 sed 's/^/| /' conftest.
$ac_ext >&5
26625 cat >conftest.
$ac_ext <<_ACEOF
26628 cat confdefs.h
>>conftest.
$ac_ext
26629 cat >>conftest.
$ac_ext <<_ACEOF
26630 /* end confdefs.h. */
26631 $ac_includes_default
26632 typedef unsigned long ac__type_sizeof_;
26636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26643 rm -f conftest.
$ac_objext
26644 if { (ac_try
="$ac_compile"
26645 case "(($ac_try" in
26646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26647 *) ac_try_echo=$ac_try;;
26649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26650 (eval "$ac_compile") 2>conftest.er1
26652 grep -v '^ *+' conftest.er1 >conftest.err
26654 cat conftest.err >&5
26655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656 (exit $ac_status); } &&
26657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26658 { (case "(($ac_try" in
26659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26660 *) ac_try_echo
=$ac_try;;
26662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26663 (eval "$ac_try") 2>&5
26665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26666 (exit $ac_status); }; } &&
26667 { ac_try
='test -s conftest.$ac_objext'
26668 { (case "(($ac_try" in
26669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26670 *) ac_try_echo=$ac_try;;
26672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26673 (eval "$ac_try") 2>&5
26675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676 (exit $ac_status); }; }; then
26679 cat >conftest.$ac_ext <<_ACEOF
26682 cat confdefs.h >>conftest.$ac_ext
26683 cat >>conftest.$ac_ext <<_ACEOF
26684 /* end confdefs.h. */
26685 $ac_includes_default
26686 typedef unsigned long ac__type_sizeof_;
26690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26697 rm -f conftest.$ac_objext
26698 if { (ac_try="$ac_compile"
26699 case "(($ac_try" in
26700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26701 *) ac_try_echo
=$ac_try;;
26703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26704 (eval "$ac_compile") 2>conftest.er1
26706 grep -v '^ *+' conftest.er1
>conftest.err
26708 cat conftest.err
>&5
26709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26710 (exit $ac_status); } &&
26711 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26712 { (case "(($ac_try" in
26713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26714 *) ac_try_echo=$ac_try;;
26716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26717 (eval "$ac_try") 2>&5
26719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26720 (exit $ac_status); }; } &&
26721 { ac_try='test -s conftest.$ac_objext'
26722 { (case "(($ac_try" in
26723 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26724 *) ac_try_echo
=$ac_try;;
26726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26727 (eval "$ac_try") 2>&5
26729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26730 (exit $ac_status); }; }; then
26731 ac_lo
=$ac_mid; break
26733 echo "$as_me: failed program was:" >&5
26734 sed 's/^/| /' conftest.
$ac_ext >&5
26736 ac_hi
=`expr '(' $ac_mid ')' - 1`
26737 if test $ac_mid -le $ac_hi; then
26741 ac_mid
=`expr 2 '*' $ac_mid`
26744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26747 echo "$as_me: failed program was:" >&5
26748 sed 's/^/| /' conftest.
$ac_ext >&5
26753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26757 # Binary search between lo and hi bounds.
26758 while test "x$ac_lo" != "x$ac_hi"; do
26759 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26760 cat >conftest.
$ac_ext <<_ACEOF
26763 cat confdefs.h
>>conftest.
$ac_ext
26764 cat >>conftest.
$ac_ext <<_ACEOF
26765 /* end confdefs.h. */
26766 $ac_includes_default
26767 typedef unsigned long ac__type_sizeof_;
26771 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26778 rm -f conftest.
$ac_objext
26779 if { (ac_try
="$ac_compile"
26780 case "(($ac_try" in
26781 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26782 *) ac_try_echo=$ac_try;;
26784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26785 (eval "$ac_compile") 2>conftest.er1
26787 grep -v '^ *+' conftest.er1 >conftest.err
26789 cat conftest.err >&5
26790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26791 (exit $ac_status); } &&
26792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26793 { (case "(($ac_try" in
26794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26795 *) ac_try_echo
=$ac_try;;
26797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26798 (eval "$ac_try") 2>&5
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); }; } &&
26802 { ac_try
='test -s conftest.$ac_objext'
26803 { (case "(($ac_try" in
26804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26805 *) ac_try_echo=$ac_try;;
26807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26808 (eval "$ac_try") 2>&5
26810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26811 (exit $ac_status); }; }; then
26814 echo "$as_me: failed program was:" >&5
26815 sed 's/^/| /' conftest.$ac_ext >&5
26817 ac_lo=`expr '(' $ac_mid ')' + 1`
26820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26823 ?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
26824 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
26825 See \`config.log
' for more details." >&5
26826 echo "$as_me: error: cannot compute sizeof (unsigned long)
26827 See \`config.log' for more details.
" >&2;}
26828 { (exit 77); exit 77; }; } ;;
26831 cat >conftest.$ac_ext <<_ACEOF
26834 cat confdefs.h >>conftest.$ac_ext
26835 cat >>conftest.$ac_ext <<_ACEOF
26836 /* end confdefs.h. */
26837 $ac_includes_default
26838 typedef unsigned long ac__type_sizeof_;
26839 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26840 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26842 #include <stdlib.h>
26847 FILE *f = fopen ("conftest.val
", "w
");
26850 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26852 long int i = longval ();
26853 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26855 fprintf (f, "%ld
\n", i);
26859 unsigned long int i = ulongval ();
26860 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26862 fprintf (f, "%lu
\n", i);
26864 return ferror (f) || fclose (f) != 0;
26870 rm -f conftest$ac_exeext
26871 if { (ac_try="$ac_link"
26872 case "(($ac_try" in
26873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26874 *) ac_try_echo=$ac_try;;
26876 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26877 (eval "$ac_link") 2>&5
26879 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26880 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26881 { (case "(($ac_try" in
26882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26883 *) ac_try_echo=$ac_try;;
26885 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26886 (eval "$ac_try") 2>&5
26888 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26889 (exit $ac_status); }; }; then
26890 ac_cv_sizeof_unsigned_long=`cat conftest.val`
26892 echo "$as_me: program exited with status
$ac_status" >&5
26893 echo "$as_me: failed program was
:" >&5
26894 sed 's/^/| /' conftest.$ac_ext >&5
26896 ( exit $ac_status )
26897 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned long
)
26898 See \
`config.log' for more details." >&5
26899 echo "$as_me: error: cannot compute sizeof (unsigned long)
26900 See \`config.log
' for more details." >&2;}
26901 { (exit 77); exit 77; }; }
26903 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26907 ac_cv_sizeof_unsigned_long=0
26910 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
26911 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
26912 cat >>confdefs.h <<_ACEOF
26913 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
26917 { echo "$as_me:$LINENO: checking for unsigned long long" >&5
26918 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; }
26919 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
26920 echo $ECHO_N "(cached) $ECHO_C" >&6
26922 cat >conftest.$ac_ext <<_ACEOF
26925 cat confdefs.h >>conftest.$ac_ext
26926 cat >>conftest.$ac_ext <<_ACEOF
26927 /* end confdefs.h. */
26928 $ac_includes_default
26929 typedef unsigned long long ac__type_new_;
26933 if ((ac__type_new_ *) 0)
26935 if (sizeof (ac__type_new_))
26941 rm -f conftest.$ac_objext
26942 if { (ac_try="$ac_compile"
26943 case "(($ac_try" in
26944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26945 *) ac_try_echo=$ac_try;;
26947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26948 (eval "$ac_compile") 2>conftest.er1
26950 grep -v '^
*+' conftest.er1 >conftest.err
26952 cat conftest.err >&5
26953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26954 (exit $ac_status); } &&
26955 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
26956 { (case "(($ac_try" in
26957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26958 *) ac_try_echo=$ac_try;;
26960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26961 (eval "$ac_try") 2>&5
26963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26964 (exit $ac_status); }; } &&
26965 { ac_try='test -s conftest.
$ac_objext'
26966 { (case "(($ac_try" in
26967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26968 *) ac_try_echo=$ac_try;;
26970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26971 (eval "$ac_try") 2>&5
26973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26974 (exit $ac_status); }; }; then
26975 ac_cv_type_unsigned_long_long=yes
26977 echo "$as_me: failed program was:" >&5
26978 sed 's
/^
/|
/' conftest.$ac_ext >&5
26980 ac_cv_type_unsigned_long_long=no
26983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26985 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
26986 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; }
26988 { echo "$as_me:$LINENO: checking size of unsigned long long" >&5
26989 echo $ECHO_N "checking size of unsigned long long... $ECHO_C" >&6; }
26990 if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then
26991 echo $ECHO_N "(cached) $ECHO_C" >&6
26993 if test "$ac_cv_type_unsigned_long_long" = yes; then
26994 # The cast to long int works around a bug in the HP C Compiler
26995 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26996 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26997 # This bug is HP SR number 8606223364.
26998 if test "$cross_compiling" = yes; then
26999 # Depending upon the size, compute the lo and hi bounds.
27000 cat >conftest.
$ac_ext <<_ACEOF
27003 cat confdefs.h
>>conftest.
$ac_ext
27004 cat >>conftest.
$ac_ext <<_ACEOF
27005 /* end confdefs.h. */
27006 $ac_includes_default
27007 typedef unsigned long long ac__type_sizeof_;
27011 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27018 rm -f conftest.
$ac_objext
27019 if { (ac_try
="$ac_compile"
27020 case "(($ac_try" in
27021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27022 *) ac_try_echo=$ac_try;;
27024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27025 (eval "$ac_compile") 2>conftest.er1
27027 grep -v '^ *+' conftest.er1 >conftest.err
27029 cat conftest.err >&5
27030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27031 (exit $ac_status); } &&
27032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27033 { (case "(($ac_try" in
27034 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27035 *) ac_try_echo
=$ac_try;;
27037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27038 (eval "$ac_try") 2>&5
27040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27041 (exit $ac_status); }; } &&
27042 { ac_try
='test -s conftest.$ac_objext'
27043 { (case "(($ac_try" in
27044 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27045 *) ac_try_echo=$ac_try;;
27047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27048 (eval "$ac_try") 2>&5
27050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27051 (exit $ac_status); }; }; then
27054 cat >conftest.$ac_ext <<_ACEOF
27057 cat confdefs.h >>conftest.$ac_ext
27058 cat >>conftest.$ac_ext <<_ACEOF
27059 /* end confdefs.h. */
27060 $ac_includes_default
27061 typedef unsigned long long ac__type_sizeof_;
27065 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27072 rm -f conftest.$ac_objext
27073 if { (ac_try="$ac_compile"
27074 case "(($ac_try" in
27075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27076 *) ac_try_echo
=$ac_try;;
27078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27079 (eval "$ac_compile") 2>conftest.er1
27081 grep -v '^ *+' conftest.er1
>conftest.err
27083 cat conftest.err
>&5
27084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27085 (exit $ac_status); } &&
27086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27087 { (case "(($ac_try" in
27088 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27089 *) ac_try_echo=$ac_try;;
27091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27092 (eval "$ac_try") 2>&5
27094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27095 (exit $ac_status); }; } &&
27096 { ac_try='test -s conftest.$ac_objext'
27097 { (case "(($ac_try" in
27098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27099 *) ac_try_echo
=$ac_try;;
27101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27102 (eval "$ac_try") 2>&5
27104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27105 (exit $ac_status); }; }; then
27106 ac_hi
=$ac_mid; break
27108 echo "$as_me: failed program was:" >&5
27109 sed 's/^/| /' conftest.
$ac_ext >&5
27111 ac_lo
=`expr $ac_mid + 1`
27112 if test $ac_lo -le $ac_mid; then
27116 ac_mid
=`expr 2 '*' $ac_mid + 1`
27119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27122 echo "$as_me: failed program was:" >&5
27123 sed 's/^/| /' conftest.
$ac_ext >&5
27125 cat >conftest.
$ac_ext <<_ACEOF
27128 cat confdefs.h
>>conftest.
$ac_ext
27129 cat >>conftest.
$ac_ext <<_ACEOF
27130 /* end confdefs.h. */
27131 $ac_includes_default
27132 typedef unsigned long long ac__type_sizeof_;
27136 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27143 rm -f conftest.
$ac_objext
27144 if { (ac_try
="$ac_compile"
27145 case "(($ac_try" in
27146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27147 *) ac_try_echo=$ac_try;;
27149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27150 (eval "$ac_compile") 2>conftest.er1
27152 grep -v '^ *+' conftest.er1 >conftest.err
27154 cat conftest.err >&5
27155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27156 (exit $ac_status); } &&
27157 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27158 { (case "(($ac_try" in
27159 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27160 *) ac_try_echo
=$ac_try;;
27162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27163 (eval "$ac_try") 2>&5
27165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27166 (exit $ac_status); }; } &&
27167 { ac_try
='test -s conftest.$ac_objext'
27168 { (case "(($ac_try" in
27169 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27170 *) ac_try_echo=$ac_try;;
27172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27173 (eval "$ac_try") 2>&5
27175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27176 (exit $ac_status); }; }; then
27179 cat >conftest.$ac_ext <<_ACEOF
27182 cat confdefs.h >>conftest.$ac_ext
27183 cat >>conftest.$ac_ext <<_ACEOF
27184 /* end confdefs.h. */
27185 $ac_includes_default
27186 typedef unsigned long long ac__type_sizeof_;
27190 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27197 rm -f conftest.$ac_objext
27198 if { (ac_try="$ac_compile"
27199 case "(($ac_try" in
27200 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27201 *) ac_try_echo
=$ac_try;;
27203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27204 (eval "$ac_compile") 2>conftest.er1
27206 grep -v '^ *+' conftest.er1
>conftest.err
27208 cat conftest.err
>&5
27209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27210 (exit $ac_status); } &&
27211 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27212 { (case "(($ac_try" in
27213 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27214 *) ac_try_echo=$ac_try;;
27216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27217 (eval "$ac_try") 2>&5
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); }; } &&
27221 { ac_try='test -s conftest.$ac_objext'
27222 { (case "(($ac_try" in
27223 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27224 *) ac_try_echo
=$ac_try;;
27226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27227 (eval "$ac_try") 2>&5
27229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27230 (exit $ac_status); }; }; then
27231 ac_lo
=$ac_mid; break
27233 echo "$as_me: failed program was:" >&5
27234 sed 's/^/| /' conftest.
$ac_ext >&5
27236 ac_hi
=`expr '(' $ac_mid ')' - 1`
27237 if test $ac_mid -le $ac_hi; then
27241 ac_mid
=`expr 2 '*' $ac_mid`
27244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27247 echo "$as_me: failed program was:" >&5
27248 sed 's/^/| /' conftest.
$ac_ext >&5
27253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27257 # Binary search between lo and hi bounds.
27258 while test "x$ac_lo" != "x$ac_hi"; do
27259 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27260 cat >conftest.
$ac_ext <<_ACEOF
27263 cat confdefs.h
>>conftest.
$ac_ext
27264 cat >>conftest.
$ac_ext <<_ACEOF
27265 /* end confdefs.h. */
27266 $ac_includes_default
27267 typedef unsigned long long ac__type_sizeof_;
27271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27278 rm -f conftest.
$ac_objext
27279 if { (ac_try
="$ac_compile"
27280 case "(($ac_try" in
27281 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27282 *) ac_try_echo=$ac_try;;
27284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27285 (eval "$ac_compile") 2>conftest.er1
27287 grep -v '^ *+' conftest.er1 >conftest.err
27289 cat conftest.err >&5
27290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27291 (exit $ac_status); } &&
27292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
27300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27301 (exit $ac_status); }; } &&
27302 { ac_try
='test -s conftest.$ac_objext'
27303 { (case "(($ac_try" in
27304 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27305 *) ac_try_echo=$ac_try;;
27307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27308 (eval "$ac_try") 2>&5
27310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27311 (exit $ac_status); }; }; then
27314 echo "$as_me: failed program was:" >&5
27315 sed 's/^/| /' conftest.$ac_ext >&5
27317 ac_lo=`expr '(' $ac_mid ')' + 1`
27320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27323 ?*) ac_cv_sizeof_unsigned_long_long=$ac_lo;;
27324 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long)
27325 See \`config.log
' for more details." >&5
27326 echo "$as_me: error: cannot compute sizeof (unsigned long long)
27327 See \`config.log' for more details.
" >&2;}
27328 { (exit 77); exit 77; }; } ;;
27331 cat >conftest.$ac_ext <<_ACEOF
27334 cat confdefs.h >>conftest.$ac_ext
27335 cat >>conftest.$ac_ext <<_ACEOF
27336 /* end confdefs.h. */
27337 $ac_includes_default
27338 typedef unsigned long long ac__type_sizeof_;
27339 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27340 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27342 #include <stdlib.h>
27347 FILE *f = fopen ("conftest.val
", "w
");
27350 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27352 long int i = longval ();
27353 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27355 fprintf (f, "%ld
\n", i);
27359 unsigned long int i = ulongval ();
27360 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27362 fprintf (f, "%lu
\n", i);
27364 return ferror (f) || fclose (f) != 0;
27370 rm -f conftest$ac_exeext
27371 if { (ac_try="$ac_link"
27372 case "(($ac_try" in
27373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27374 *) ac_try_echo=$ac_try;;
27376 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27377 (eval "$ac_link") 2>&5
27379 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27380 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27381 { (case "(($ac_try" in
27382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27383 *) ac_try_echo=$ac_try;;
27385 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27386 (eval "$ac_try") 2>&5
27388 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27389 (exit $ac_status); }; }; then
27390 ac_cv_sizeof_unsigned_long_long=`cat conftest.val`
27392 echo "$as_me: program exited with status
$ac_status" >&5
27393 echo "$as_me: failed program was
:" >&5
27394 sed 's/^/| /' conftest.$ac_ext >&5
27396 ( exit $ac_status )
27397 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned long long
)
27398 See \
`config.log' for more details." >&5
27399 echo "$as_me: error: cannot compute sizeof (unsigned long long)
27400 See \`config.log
' for more details." >&2;}
27401 { (exit 77); exit 77; }; }
27403 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27407 ac_cv_sizeof_unsigned_long_long=0
27410 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long" >&5
27411 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long" >&6; }
27412 cat >>confdefs.h <<_ACEOF
27413 #define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
27417 { echo "$as_me:$LINENO: checking for int *" >&5
27418 echo $ECHO_N "checking for int *... $ECHO_C" >&6; }
27419 if test "${ac_cv_type_int_p+set}" = set; then
27420 echo $ECHO_N "(cached) $ECHO_C" >&6
27422 cat >conftest.$ac_ext <<_ACEOF
27425 cat confdefs.h >>conftest.$ac_ext
27426 cat >>conftest.$ac_ext <<_ACEOF
27427 /* end confdefs.h. */
27428 $ac_includes_default
27429 typedef int * ac__type_new_;
27433 if ((ac__type_new_ *) 0)
27435 if (sizeof (ac__type_new_))
27441 rm -f conftest.$ac_objext
27442 if { (ac_try="$ac_compile"
27443 case "(($ac_try" in
27444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27445 *) ac_try_echo=$ac_try;;
27447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27448 (eval "$ac_compile") 2>conftest.er1
27450 grep -v '^
*+' conftest.er1 >conftest.err
27452 cat conftest.err >&5
27453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27454 (exit $ac_status); } &&
27455 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
27456 { (case "(($ac_try" in
27457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27458 *) ac_try_echo=$ac_try;;
27460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27461 (eval "$ac_try") 2>&5
27463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27464 (exit $ac_status); }; } &&
27465 { ac_try='test -s conftest.
$ac_objext'
27466 { (case "(($ac_try" in
27467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27468 *) ac_try_echo=$ac_try;;
27470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27471 (eval "$ac_try") 2>&5
27473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27474 (exit $ac_status); }; }; then
27475 ac_cv_type_int_p=yes
27477 echo "$as_me: failed program was:" >&5
27478 sed 's
/^
/|
/' conftest.$ac_ext >&5
27480 ac_cv_type_int_p=no
27483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27485 { echo "$as_me:$LINENO: result: $ac_cv_type_int_p" >&5
27486 echo "${ECHO_T}$ac_cv_type_int_p" >&6; }
27488 { echo "$as_me:$LINENO: checking size of int *" >&5
27489 echo $ECHO_N "checking size of int *... $ECHO_C" >&6; }
27490 if test "${ac_cv_sizeof_int_p+set}" = set; then
27491 echo $ECHO_N "(cached) $ECHO_C" >&6
27493 if test "$ac_cv_type_int_p" = yes; then
27494 # The cast to long int works around a bug in the HP C Compiler
27495 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27496 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27497 # This bug is HP SR number 8606223364.
27498 if test "$cross_compiling" = yes; then
27499 # Depending upon the size, compute the lo and hi bounds.
27500 cat >conftest.
$ac_ext <<_ACEOF
27503 cat confdefs.h
>>conftest.
$ac_ext
27504 cat >>conftest.
$ac_ext <<_ACEOF
27505 /* end confdefs.h. */
27506 $ac_includes_default
27507 typedef int * ac__type_sizeof_;
27511 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27518 rm -f conftest.
$ac_objext
27519 if { (ac_try
="$ac_compile"
27520 case "(($ac_try" in
27521 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27522 *) ac_try_echo=$ac_try;;
27524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27525 (eval "$ac_compile") 2>conftest.er1
27527 grep -v '^ *+' conftest.er1 >conftest.err
27529 cat conftest.err >&5
27530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27531 (exit $ac_status); } &&
27532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27533 { (case "(($ac_try" in
27534 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27535 *) ac_try_echo
=$ac_try;;
27537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27538 (eval "$ac_try") 2>&5
27540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27541 (exit $ac_status); }; } &&
27542 { ac_try
='test -s conftest.$ac_objext'
27543 { (case "(($ac_try" in
27544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27545 *) ac_try_echo=$ac_try;;
27547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27548 (eval "$ac_try") 2>&5
27550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27551 (exit $ac_status); }; }; then
27554 cat >conftest.$ac_ext <<_ACEOF
27557 cat confdefs.h >>conftest.$ac_ext
27558 cat >>conftest.$ac_ext <<_ACEOF
27559 /* end confdefs.h. */
27560 $ac_includes_default
27561 typedef int * ac__type_sizeof_;
27565 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27572 rm -f conftest.$ac_objext
27573 if { (ac_try="$ac_compile"
27574 case "(($ac_try" in
27575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27576 *) ac_try_echo
=$ac_try;;
27578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27579 (eval "$ac_compile") 2>conftest.er1
27581 grep -v '^ *+' conftest.er1
>conftest.err
27583 cat conftest.err
>&5
27584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27585 (exit $ac_status); } &&
27586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27587 { (case "(($ac_try" in
27588 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27589 *) ac_try_echo=$ac_try;;
27591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27592 (eval "$ac_try") 2>&5
27594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27595 (exit $ac_status); }; } &&
27596 { ac_try='test -s conftest.$ac_objext'
27597 { (case "(($ac_try" in
27598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27599 *) ac_try_echo
=$ac_try;;
27601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27602 (eval "$ac_try") 2>&5
27604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27605 (exit $ac_status); }; }; then
27606 ac_hi
=$ac_mid; break
27608 echo "$as_me: failed program was:" >&5
27609 sed 's/^/| /' conftest.
$ac_ext >&5
27611 ac_lo
=`expr $ac_mid + 1`
27612 if test $ac_lo -le $ac_mid; then
27616 ac_mid
=`expr 2 '*' $ac_mid + 1`
27619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27622 echo "$as_me: failed program was:" >&5
27623 sed 's/^/| /' conftest.
$ac_ext >&5
27625 cat >conftest.
$ac_ext <<_ACEOF
27628 cat confdefs.h
>>conftest.
$ac_ext
27629 cat >>conftest.
$ac_ext <<_ACEOF
27630 /* end confdefs.h. */
27631 $ac_includes_default
27632 typedef int * ac__type_sizeof_;
27636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27643 rm -f conftest.
$ac_objext
27644 if { (ac_try
="$ac_compile"
27645 case "(($ac_try" in
27646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27647 *) ac_try_echo=$ac_try;;
27649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27650 (eval "$ac_compile") 2>conftest.er1
27652 grep -v '^ *+' conftest.er1 >conftest.err
27654 cat conftest.err >&5
27655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27656 (exit $ac_status); } &&
27657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27658 { (case "(($ac_try" in
27659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27660 *) ac_try_echo
=$ac_try;;
27662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27663 (eval "$ac_try") 2>&5
27665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27666 (exit $ac_status); }; } &&
27667 { ac_try
='test -s conftest.$ac_objext'
27668 { (case "(($ac_try" in
27669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27670 *) ac_try_echo=$ac_try;;
27672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27673 (eval "$ac_try") 2>&5
27675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27676 (exit $ac_status); }; }; then
27679 cat >conftest.$ac_ext <<_ACEOF
27682 cat confdefs.h >>conftest.$ac_ext
27683 cat >>conftest.$ac_ext <<_ACEOF
27684 /* end confdefs.h. */
27685 $ac_includes_default
27686 typedef int * ac__type_sizeof_;
27690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27697 rm -f conftest.$ac_objext
27698 if { (ac_try="$ac_compile"
27699 case "(($ac_try" in
27700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27701 *) ac_try_echo
=$ac_try;;
27703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27704 (eval "$ac_compile") 2>conftest.er1
27706 grep -v '^ *+' conftest.er1
>conftest.err
27708 cat conftest.err
>&5
27709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710 (exit $ac_status); } &&
27711 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27712 { (case "(($ac_try" in
27713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27714 *) ac_try_echo=$ac_try;;
27716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27717 (eval "$ac_try") 2>&5
27719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27720 (exit $ac_status); }; } &&
27721 { ac_try='test -s conftest.$ac_objext'
27722 { (case "(($ac_try" in
27723 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27724 *) ac_try_echo
=$ac_try;;
27726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27727 (eval "$ac_try") 2>&5
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); }; }; then
27731 ac_lo
=$ac_mid; break
27733 echo "$as_me: failed program was:" >&5
27734 sed 's/^/| /' conftest.
$ac_ext >&5
27736 ac_hi
=`expr '(' $ac_mid ')' - 1`
27737 if test $ac_mid -le $ac_hi; then
27741 ac_mid
=`expr 2 '*' $ac_mid`
27744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27747 echo "$as_me: failed program was:" >&5
27748 sed 's/^/| /' conftest.
$ac_ext >&5
27753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27757 # Binary search between lo and hi bounds.
27758 while test "x$ac_lo" != "x$ac_hi"; do
27759 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27760 cat >conftest.
$ac_ext <<_ACEOF
27763 cat confdefs.h
>>conftest.
$ac_ext
27764 cat >>conftest.
$ac_ext <<_ACEOF
27765 /* end confdefs.h. */
27766 $ac_includes_default
27767 typedef int * ac__type_sizeof_;
27771 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27778 rm -f conftest.
$ac_objext
27779 if { (ac_try
="$ac_compile"
27780 case "(($ac_try" in
27781 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27782 *) ac_try_echo=$ac_try;;
27784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27785 (eval "$ac_compile") 2>conftest.er1
27787 grep -v '^ *+' conftest.er1 >conftest.err
27789 cat conftest.err >&5
27790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27791 (exit $ac_status); } &&
27792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27793 { (case "(($ac_try" in
27794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27795 *) ac_try_echo
=$ac_try;;
27797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27798 (eval "$ac_try") 2>&5
27800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27801 (exit $ac_status); }; } &&
27802 { ac_try
='test -s conftest.$ac_objext'
27803 { (case "(($ac_try" in
27804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27805 *) ac_try_echo=$ac_try;;
27807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27808 (eval "$ac_try") 2>&5
27810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27811 (exit $ac_status); }; }; then
27814 echo "$as_me: failed program was:" >&5
27815 sed 's/^/| /' conftest.$ac_ext >&5
27817 ac_lo=`expr '(' $ac_mid ')' + 1`
27820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27823 ?*) ac_cv_sizeof_int_p=$ac_lo;;
27824 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *)
27825 See \`config.log
' for more details." >&5
27826 echo "$as_me: error: cannot compute sizeof (int *)
27827 See \`config.log' for more details.
" >&2;}
27828 { (exit 77); exit 77; }; } ;;
27831 cat >conftest.$ac_ext <<_ACEOF
27834 cat confdefs.h >>conftest.$ac_ext
27835 cat >>conftest.$ac_ext <<_ACEOF
27836 /* end confdefs.h. */
27837 $ac_includes_default
27838 typedef int * ac__type_sizeof_;
27839 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27840 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27842 #include <stdlib.h>
27847 FILE *f = fopen ("conftest.val
", "w
");
27850 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27852 long int i = longval ();
27853 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27855 fprintf (f, "%ld
\n", i);
27859 unsigned long int i = ulongval ();
27860 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27862 fprintf (f, "%lu
\n", i);
27864 return ferror (f) || fclose (f) != 0;
27870 rm -f conftest$ac_exeext
27871 if { (ac_try="$ac_link"
27872 case "(($ac_try" in
27873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27874 *) ac_try_echo=$ac_try;;
27876 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27877 (eval "$ac_link") 2>&5
27879 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27880 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27881 { (case "(($ac_try" in
27882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27883 *) ac_try_echo=$ac_try;;
27885 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27886 (eval "$ac_try") 2>&5
27888 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27889 (exit $ac_status); }; }; then
27890 ac_cv_sizeof_int_p=`cat conftest.val`
27892 echo "$as_me: program exited with status
$ac_status" >&5
27893 echo "$as_me: failed program was
:" >&5
27894 sed 's/^/| /' conftest.$ac_ext >&5
27896 ( exit $ac_status )
27897 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
*)
27898 See \
`config.log' for more details." >&5
27899 echo "$as_me: error: cannot compute sizeof (int *)
27900 See \`config.log
' for more details." >&2;}
27901 { (exit 77); exit 77; }; }
27903 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27907 ac_cv_sizeof_int_p=0
27910 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int_p" >&5
27911 echo "${ECHO_T}$ac_cv_sizeof_int_p" >&6; }
27912 cat >>confdefs.h <<_ACEOF
27913 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
27918 for ac_func in getenv
27920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27921 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27923 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27924 echo $ECHO_N "(cached) $ECHO_C" >&6
27926 cat >conftest.$ac_ext <<_ACEOF
27929 cat confdefs.h >>conftest.$ac_ext
27930 cat >>conftest.$ac_ext <<_ACEOF
27931 /* end confdefs.h. */
27932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27934 #define $ac_func innocuous_$ac_func
27936 /* System header to define __stub macros and hopefully few prototypes,
27937 which can conflict with char $ac_func (); below.
27938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27939 <limits.h> exists even on freestanding compilers. */
27942 # include <limits.h>
27944 # include <assert.h>
27949 /* Override any GCC internal prototype to avoid an error.
27950 Use char because int might match the return type of a GCC
27951 builtin and then its argument prototype would still apply. */
27956 /* The GNU C library defines this for functions which it implements
27957 to always fail with ENOSYS. Some functions are actually named
27958 something starting with __ and the normal name is an alias. */
27959 #if defined __stub_$ac_func || defined __stub___$ac_func
27966 return $ac_func ();
27971 rm -f conftest.$ac_objext conftest$ac_exeext
27972 if { (ac_try="$ac_link"
27973 case "(($ac_try" in
27974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27975 *) ac_try_echo=$ac_try;;
27977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27978 (eval "$ac_link") 2>conftest.er1
27980 grep -v '^
*+' conftest.er1 >conftest.err
27982 cat conftest.err >&5
27983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27984 (exit $ac_status); } &&
27985 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
27986 { (case "(($ac_try" in
27987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27988 *) ac_try_echo=$ac_try;;
27990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27991 (eval "$ac_try") 2>&5
27993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27994 (exit $ac_status); }; } &&
27995 { ac_try='test -s conftest
$ac_exeext'
27996 { (case "(($ac_try" in
27997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27998 *) ac_try_echo=$ac_try;;
28000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28001 (eval "$ac_try") 2>&5
28003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28004 (exit $ac_status); }; }; then
28005 eval "$as_ac_var=yes"
28007 echo "$as_me: failed program was:" >&5
28008 sed 's
/^
/|
/' conftest.$ac_ext >&5
28010 eval "$as_ac_var=no"
28013 rm -f core conftest.err conftest.$ac_objext \
28014 conftest$ac_exeext conftest.$ac_ext
28016 ac_res=`eval echo '${'$as_ac_var'}'`
28017 { echo "$as_me:$LINENO: result: $ac_res" >&5
28018 echo "${ECHO_T}$ac_res" >&6; }
28019 if test `eval echo '${'$as_ac_var'}'` = yes; then
28020 cat >>confdefs.h <<_ACEOF
28021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28023 cat >>confdefs.h <<\_ACEOF
28024 #define BX_HAVE_GETENV 1
28031 for ac_func in setenv
28033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28034 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28036 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28037 echo $ECHO_N "(cached) $ECHO_C" >&6
28039 cat >conftest.$ac_ext <<_ACEOF
28042 cat confdefs.h >>conftest.$ac_ext
28043 cat >>conftest.$ac_ext <<_ACEOF
28044 /* end confdefs.h. */
28045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28047 #define $ac_func innocuous_$ac_func
28049 /* System header to define __stub macros and hopefully few prototypes,
28050 which can conflict with char $ac_func (); below.
28051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28052 <limits.h> exists even on freestanding compilers. */
28055 # include <limits.h>
28057 # include <assert.h>
28062 /* Override any GCC internal prototype to avoid an error.
28063 Use char because int might match the return type of a GCC
28064 builtin and then its argument prototype would still apply. */
28069 /* The GNU C library defines this for functions which it implements
28070 to always fail with ENOSYS. Some functions are actually named
28071 something starting with __ and the normal name is an alias. */
28072 #if defined __stub_$ac_func || defined __stub___$ac_func
28079 return $ac_func ();
28084 rm -f conftest.$ac_objext conftest$ac_exeext
28085 if { (ac_try="$ac_link"
28086 case "(($ac_try" in
28087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28088 *) ac_try_echo=$ac_try;;
28090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28091 (eval "$ac_link") 2>conftest.er1
28093 grep -v '^
*+' conftest.er1 >conftest.err
28095 cat conftest.err >&5
28096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28097 (exit $ac_status); } &&
28098 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
28099 { (case "(($ac_try" in
28100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28101 *) ac_try_echo=$ac_try;;
28103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28104 (eval "$ac_try") 2>&5
28106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28107 (exit $ac_status); }; } &&
28108 { ac_try='test -s conftest
$ac_exeext'
28109 { (case "(($ac_try" in
28110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28111 *) ac_try_echo=$ac_try;;
28113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28114 (eval "$ac_try") 2>&5
28116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28117 (exit $ac_status); }; }; then
28118 eval "$as_ac_var=yes"
28120 echo "$as_me: failed program was:" >&5
28121 sed 's
/^
/|
/' conftest.$ac_ext >&5
28123 eval "$as_ac_var=no"
28126 rm -f core conftest.err conftest.$ac_objext \
28127 conftest$ac_exeext conftest.$ac_ext
28129 ac_res=`eval echo '${'$as_ac_var'}'`
28130 { echo "$as_me:$LINENO: result: $ac_res" >&5
28131 echo "${ECHO_T}$ac_res" >&6; }
28132 if test `eval echo '${'$as_ac_var'}'` = yes; then
28133 cat >>confdefs.h <<_ACEOF
28134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28136 cat >>confdefs.h <<\_ACEOF
28137 #define BX_HAVE_SETENV 1
28144 for ac_func in select
28146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28147 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28149 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28150 echo $ECHO_N "(cached) $ECHO_C" >&6
28152 cat >conftest.$ac_ext <<_ACEOF
28155 cat confdefs.h >>conftest.$ac_ext
28156 cat >>conftest.$ac_ext <<_ACEOF
28157 /* end confdefs.h. */
28158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28160 #define $ac_func innocuous_$ac_func
28162 /* System header to define __stub macros and hopefully few prototypes,
28163 which can conflict with char $ac_func (); below.
28164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28165 <limits.h> exists even on freestanding compilers. */
28168 # include <limits.h>
28170 # include <assert.h>
28175 /* Override any GCC internal prototype to avoid an error.
28176 Use char because int might match the return type of a GCC
28177 builtin and then its argument prototype would still apply. */
28182 /* The GNU C library defines this for functions which it implements
28183 to always fail with ENOSYS. Some functions are actually named
28184 something starting with __ and the normal name is an alias. */
28185 #if defined __stub_$ac_func || defined __stub___$ac_func
28192 return $ac_func ();
28197 rm -f conftest.$ac_objext conftest$ac_exeext
28198 if { (ac_try="$ac_link"
28199 case "(($ac_try" in
28200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28201 *) ac_try_echo=$ac_try;;
28203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28204 (eval "$ac_link") 2>conftest.er1
28206 grep -v '^
*+' conftest.er1 >conftest.err
28208 cat conftest.err >&5
28209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28210 (exit $ac_status); } &&
28211 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
28212 { (case "(($ac_try" in
28213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28214 *) ac_try_echo=$ac_try;;
28216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28217 (eval "$ac_try") 2>&5
28219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28220 (exit $ac_status); }; } &&
28221 { ac_try='test -s conftest
$ac_exeext'
28222 { (case "(($ac_try" in
28223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28224 *) ac_try_echo=$ac_try;;
28226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28227 (eval "$ac_try") 2>&5
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); }; }; then
28231 eval "$as_ac_var=yes"
28233 echo "$as_me: failed program was:" >&5
28234 sed 's
/^
/|
/' conftest.$ac_ext >&5
28236 eval "$as_ac_var=no"
28239 rm -f core conftest.err conftest.$ac_objext \
28240 conftest$ac_exeext conftest.$ac_ext
28242 ac_res=`eval echo '${'$as_ac_var'}'`
28243 { echo "$as_me:$LINENO: result: $ac_res" >&5
28244 echo "${ECHO_T}$ac_res" >&6; }
28245 if test `eval echo '${'$as_ac_var'}'` = yes; then
28246 cat >>confdefs.h <<_ACEOF
28247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28249 cat >>confdefs.h <<\_ACEOF
28250 #define BX_HAVE_SELECT 1
28257 for ac_func in snprintf
28259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28260 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28262 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28263 echo $ECHO_N "(cached) $ECHO_C" >&6
28265 cat >conftest.$ac_ext <<_ACEOF
28268 cat confdefs.h >>conftest.$ac_ext
28269 cat >>conftest.$ac_ext <<_ACEOF
28270 /* end confdefs.h. */
28271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28273 #define $ac_func innocuous_$ac_func
28275 /* System header to define __stub macros and hopefully few prototypes,
28276 which can conflict with char $ac_func (); below.
28277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28278 <limits.h> exists even on freestanding compilers. */
28281 # include <limits.h>
28283 # include <assert.h>
28288 /* Override any GCC internal prototype to avoid an error.
28289 Use char because int might match the return type of a GCC
28290 builtin and then its argument prototype would still apply. */
28295 /* The GNU C library defines this for functions which it implements
28296 to always fail with ENOSYS. Some functions are actually named
28297 something starting with __ and the normal name is an alias. */
28298 #if defined __stub_$ac_func || defined __stub___$ac_func
28305 return $ac_func ();
28310 rm -f conftest.$ac_objext conftest$ac_exeext
28311 if { (ac_try="$ac_link"
28312 case "(($ac_try" in
28313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28314 *) ac_try_echo=$ac_try;;
28316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28317 (eval "$ac_link") 2>conftest.er1
28319 grep -v '^
*+' conftest.er1 >conftest.err
28321 cat conftest.err >&5
28322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28323 (exit $ac_status); } &&
28324 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
28325 { (case "(($ac_try" in
28326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28327 *) ac_try_echo=$ac_try;;
28329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28330 (eval "$ac_try") 2>&5
28332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28333 (exit $ac_status); }; } &&
28334 { ac_try='test -s conftest
$ac_exeext'
28335 { (case "(($ac_try" in
28336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28337 *) ac_try_echo=$ac_try;;
28339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28340 (eval "$ac_try") 2>&5
28342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28343 (exit $ac_status); }; }; then
28344 eval "$as_ac_var=yes"
28346 echo "$as_me: failed program was:" >&5
28347 sed 's
/^
/|
/' conftest.$ac_ext >&5
28349 eval "$as_ac_var=no"
28352 rm -f core conftest.err conftest.$ac_objext \
28353 conftest$ac_exeext conftest.$ac_ext
28355 ac_res=`eval echo '${'$as_ac_var'}'`
28356 { echo "$as_me:$LINENO: result: $ac_res" >&5
28357 echo "${ECHO_T}$ac_res" >&6; }
28358 if test `eval echo '${'$as_ac_var'}'` = yes; then
28359 cat >>confdefs.h <<_ACEOF
28360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28362 cat >>confdefs.h <<\_ACEOF
28363 #define BX_HAVE_SNPRINTF 1
28370 for ac_func in vsnprintf
28372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28373 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28375 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28376 echo $ECHO_N "(cached) $ECHO_C" >&6
28378 cat >conftest.$ac_ext <<_ACEOF
28381 cat confdefs.h >>conftest.$ac_ext
28382 cat >>conftest.$ac_ext <<_ACEOF
28383 /* end confdefs.h. */
28384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28386 #define $ac_func innocuous_$ac_func
28388 /* System header to define __stub macros and hopefully few prototypes,
28389 which can conflict with char $ac_func (); below.
28390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28391 <limits.h> exists even on freestanding compilers. */
28394 # include <limits.h>
28396 # include <assert.h>
28401 /* Override any GCC internal prototype to avoid an error.
28402 Use char because int might match the return type of a GCC
28403 builtin and then its argument prototype would still apply. */
28408 /* The GNU C library defines this for functions which it implements
28409 to always fail with ENOSYS. Some functions are actually named
28410 something starting with __ and the normal name is an alias. */
28411 #if defined __stub_$ac_func || defined __stub___$ac_func
28418 return $ac_func ();
28423 rm -f conftest.$ac_objext conftest$ac_exeext
28424 if { (ac_try="$ac_link"
28425 case "(($ac_try" in
28426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28427 *) ac_try_echo=$ac_try;;
28429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28430 (eval "$ac_link") 2>conftest.er1
28432 grep -v '^
*+' conftest.er1 >conftest.err
28434 cat conftest.err >&5
28435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28436 (exit $ac_status); } &&
28437 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
28438 { (case "(($ac_try" in
28439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28440 *) ac_try_echo=$ac_try;;
28442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28443 (eval "$ac_try") 2>&5
28445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28446 (exit $ac_status); }; } &&
28447 { ac_try='test -s conftest
$ac_exeext'
28448 { (case "(($ac_try" in
28449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28450 *) ac_try_echo=$ac_try;;
28452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28453 (eval "$ac_try") 2>&5
28455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28456 (exit $ac_status); }; }; then
28457 eval "$as_ac_var=yes"
28459 echo "$as_me: failed program was:" >&5
28460 sed 's
/^
/|
/' conftest.$ac_ext >&5
28462 eval "$as_ac_var=no"
28465 rm -f core conftest.err conftest.$ac_objext \
28466 conftest$ac_exeext conftest.$ac_ext
28468 ac_res=`eval echo '${'$as_ac_var'}'`
28469 { echo "$as_me:$LINENO: result: $ac_res" >&5
28470 echo "${ECHO_T}$ac_res" >&6; }
28471 if test `eval echo '${'$as_ac_var'}'` = yes; then
28472 cat >>confdefs.h <<_ACEOF
28473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28475 cat >>confdefs.h <<\_ACEOF
28476 #define BX_HAVE_VSNPRINTF 1
28483 for ac_func in strtoull
28485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28486 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28488 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28489 echo $ECHO_N "(cached) $ECHO_C" >&6
28491 cat >conftest.$ac_ext <<_ACEOF
28494 cat confdefs.h >>conftest.$ac_ext
28495 cat >>conftest.$ac_ext <<_ACEOF
28496 /* end confdefs.h. */
28497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28499 #define $ac_func innocuous_$ac_func
28501 /* System header to define __stub macros and hopefully few prototypes,
28502 which can conflict with char $ac_func (); below.
28503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28504 <limits.h> exists even on freestanding compilers. */
28507 # include <limits.h>
28509 # include <assert.h>
28514 /* Override any GCC internal prototype to avoid an error.
28515 Use char because int might match the return type of a GCC
28516 builtin and then its argument prototype would still apply. */
28521 /* The GNU C library defines this for functions which it implements
28522 to always fail with ENOSYS. Some functions are actually named
28523 something starting with __ and the normal name is an alias. */
28524 #if defined __stub_$ac_func || defined __stub___$ac_func
28531 return $ac_func ();
28536 rm -f conftest.$ac_objext conftest$ac_exeext
28537 if { (ac_try="$ac_link"
28538 case "(($ac_try" in
28539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28540 *) ac_try_echo=$ac_try;;
28542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28543 (eval "$ac_link") 2>conftest.er1
28545 grep -v '^
*+' conftest.er1 >conftest.err
28547 cat conftest.err >&5
28548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28549 (exit $ac_status); } &&
28550 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
28551 { (case "(($ac_try" in
28552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28553 *) ac_try_echo=$ac_try;;
28555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28556 (eval "$ac_try") 2>&5
28558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28559 (exit $ac_status); }; } &&
28560 { ac_try='test -s conftest
$ac_exeext'
28561 { (case "(($ac_try" in
28562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28563 *) ac_try_echo=$ac_try;;
28565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28566 (eval "$ac_try") 2>&5
28568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28569 (exit $ac_status); }; }; then
28570 eval "$as_ac_var=yes"
28572 echo "$as_me: failed program was:" >&5
28573 sed 's
/^
/|
/' conftest.$ac_ext >&5
28575 eval "$as_ac_var=no"
28578 rm -f core conftest.err conftest.$ac_objext \
28579 conftest$ac_exeext conftest.$ac_ext
28581 ac_res=`eval echo '${'$as_ac_var'}'`
28582 { echo "$as_me:$LINENO: result: $ac_res" >&5
28583 echo "${ECHO_T}$ac_res" >&6; }
28584 if test `eval echo '${'$as_ac_var'}'` = yes; then
28585 cat >>confdefs.h <<_ACEOF
28586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28588 cat >>confdefs.h <<\_ACEOF
28589 #define BX_HAVE_STRTOULL 1
28596 for ac_func in strtouq
28598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28599 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28601 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28602 echo $ECHO_N "(cached) $ECHO_C" >&6
28604 cat >conftest.$ac_ext <<_ACEOF
28607 cat confdefs.h >>conftest.$ac_ext
28608 cat >>conftest.$ac_ext <<_ACEOF
28609 /* end confdefs.h. */
28610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28612 #define $ac_func innocuous_$ac_func
28614 /* System header to define __stub macros and hopefully few prototypes,
28615 which can conflict with char $ac_func (); below.
28616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28617 <limits.h> exists even on freestanding compilers. */
28620 # include <limits.h>
28622 # include <assert.h>
28627 /* Override any GCC internal prototype to avoid an error.
28628 Use char because int might match the return type of a GCC
28629 builtin and then its argument prototype would still apply. */
28634 /* The GNU C library defines this for functions which it implements
28635 to always fail with ENOSYS. Some functions are actually named
28636 something starting with __ and the normal name is an alias. */
28637 #if defined __stub_$ac_func || defined __stub___$ac_func
28644 return $ac_func ();
28649 rm -f conftest.$ac_objext conftest$ac_exeext
28650 if { (ac_try="$ac_link"
28651 case "(($ac_try" in
28652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28653 *) ac_try_echo=$ac_try;;
28655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28656 (eval "$ac_link") 2>conftest.er1
28658 grep -v '^
*+' conftest.er1 >conftest.err
28660 cat conftest.err >&5
28661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662 (exit $ac_status); } &&
28663 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
28664 { (case "(($ac_try" in
28665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28666 *) ac_try_echo=$ac_try;;
28668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28669 (eval "$ac_try") 2>&5
28671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28672 (exit $ac_status); }; } &&
28673 { ac_try='test -s conftest
$ac_exeext'
28674 { (case "(($ac_try" in
28675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28676 *) ac_try_echo=$ac_try;;
28678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28679 (eval "$ac_try") 2>&5
28681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682 (exit $ac_status); }; }; then
28683 eval "$as_ac_var=yes"
28685 echo "$as_me: failed program was:" >&5
28686 sed 's
/^
/|
/' conftest.$ac_ext >&5
28688 eval "$as_ac_var=no"
28691 rm -f core conftest.err conftest.$ac_objext \
28692 conftest$ac_exeext conftest.$ac_ext
28694 ac_res=`eval echo '${'$as_ac_var'}'`
28695 { echo "$as_me:$LINENO: result: $ac_res" >&5
28696 echo "${ECHO_T}$ac_res" >&6; }
28697 if test `eval echo '${'$as_ac_var'}'` = yes; then
28698 cat >>confdefs.h <<_ACEOF
28699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28701 cat >>confdefs.h <<\_ACEOF
28702 #define BX_HAVE_STRTOUQ 1
28709 for ac_func in strdup
28711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28712 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28714 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28715 echo $ECHO_N "(cached) $ECHO_C" >&6
28717 cat >conftest.$ac_ext <<_ACEOF
28720 cat confdefs.h >>conftest.$ac_ext
28721 cat >>conftest.$ac_ext <<_ACEOF
28722 /* end confdefs.h. */
28723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28725 #define $ac_func innocuous_$ac_func
28727 /* System header to define __stub macros and hopefully few prototypes,
28728 which can conflict with char $ac_func (); below.
28729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28730 <limits.h> exists even on freestanding compilers. */
28733 # include <limits.h>
28735 # include <assert.h>
28740 /* Override any GCC internal prototype to avoid an error.
28741 Use char because int might match the return type of a GCC
28742 builtin and then its argument prototype would still apply. */
28747 /* The GNU C library defines this for functions which it implements
28748 to always fail with ENOSYS. Some functions are actually named
28749 something starting with __ and the normal name is an alias. */
28750 #if defined __stub_$ac_func || defined __stub___$ac_func
28757 return $ac_func ();
28762 rm -f conftest.$ac_objext conftest$ac_exeext
28763 if { (ac_try="$ac_link"
28764 case "(($ac_try" in
28765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28766 *) ac_try_echo=$ac_try;;
28768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28769 (eval "$ac_link") 2>conftest.er1
28771 grep -v '^
*+' conftest.er1 >conftest.err
28773 cat conftest.err >&5
28774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28775 (exit $ac_status); } &&
28776 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
28777 { (case "(($ac_try" in
28778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28779 *) ac_try_echo=$ac_try;;
28781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28782 (eval "$ac_try") 2>&5
28784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28785 (exit $ac_status); }; } &&
28786 { ac_try='test -s conftest
$ac_exeext'
28787 { (case "(($ac_try" in
28788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28789 *) ac_try_echo=$ac_try;;
28791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28792 (eval "$ac_try") 2>&5
28794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28795 (exit $ac_status); }; }; then
28796 eval "$as_ac_var=yes"
28798 echo "$as_me: failed program was:" >&5
28799 sed 's
/^
/|
/' conftest.$ac_ext >&5
28801 eval "$as_ac_var=no"
28804 rm -f core conftest.err conftest.$ac_objext \
28805 conftest$ac_exeext conftest.$ac_ext
28807 ac_res=`eval echo '${'$as_ac_var'}'`
28808 { echo "$as_me:$LINENO: result: $ac_res" >&5
28809 echo "${ECHO_T}$ac_res" >&6; }
28810 if test `eval echo '${'$as_ac_var'}'` = yes; then
28811 cat >>confdefs.h <<_ACEOF
28812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28814 cat >>confdefs.h <<\_ACEOF
28815 #define BX_HAVE_STRDUP 1
28822 for ac_func in strrev
28824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28825 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28827 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28828 echo $ECHO_N "(cached) $ECHO_C" >&6
28830 cat >conftest.$ac_ext <<_ACEOF
28833 cat confdefs.h >>conftest.$ac_ext
28834 cat >>conftest.$ac_ext <<_ACEOF
28835 /* end confdefs.h. */
28836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28838 #define $ac_func innocuous_$ac_func
28840 /* System header to define __stub macros and hopefully few prototypes,
28841 which can conflict with char $ac_func (); below.
28842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28843 <limits.h> exists even on freestanding compilers. */
28846 # include <limits.h>
28848 # include <assert.h>
28853 /* Override any GCC internal prototype to avoid an error.
28854 Use char because int might match the return type of a GCC
28855 builtin and then its argument prototype would still apply. */
28860 /* The GNU C library defines this for functions which it implements
28861 to always fail with ENOSYS. Some functions are actually named
28862 something starting with __ and the normal name is an alias. */
28863 #if defined __stub_$ac_func || defined __stub___$ac_func
28870 return $ac_func ();
28875 rm -f conftest.$ac_objext conftest$ac_exeext
28876 if { (ac_try="$ac_link"
28877 case "(($ac_try" in
28878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28879 *) ac_try_echo=$ac_try;;
28881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28882 (eval "$ac_link") 2>conftest.er1
28884 grep -v '^
*+' conftest.er1 >conftest.err
28886 cat conftest.err >&5
28887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28888 (exit $ac_status); } &&
28889 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
28890 { (case "(($ac_try" in
28891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28892 *) ac_try_echo=$ac_try;;
28894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28895 (eval "$ac_try") 2>&5
28897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28898 (exit $ac_status); }; } &&
28899 { ac_try='test -s conftest
$ac_exeext'
28900 { (case "(($ac_try" in
28901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28902 *) ac_try_echo=$ac_try;;
28904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28905 (eval "$ac_try") 2>&5
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); }; }; then
28909 eval "$as_ac_var=yes"
28911 echo "$as_me: failed program was:" >&5
28912 sed 's
/^
/|
/' conftest.$ac_ext >&5
28914 eval "$as_ac_var=no"
28917 rm -f core conftest.err conftest.$ac_objext \
28918 conftest$ac_exeext conftest.$ac_ext
28920 ac_res=`eval echo '${'$as_ac_var'}'`
28921 { echo "$as_me:$LINENO: result: $ac_res" >&5
28922 echo "${ECHO_T}$ac_res" >&6; }
28923 if test `eval echo '${'$as_ac_var'}'` = yes; then
28924 cat >>confdefs.h <<_ACEOF
28925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28927 cat >>confdefs.h <<\_ACEOF
28928 #define BX_HAVE_STRREV 1
28935 for ac_func in sleep
28937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28938 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28940 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28941 echo $ECHO_N "(cached) $ECHO_C" >&6
28943 cat >conftest.$ac_ext <<_ACEOF
28946 cat confdefs.h >>conftest.$ac_ext
28947 cat >>conftest.$ac_ext <<_ACEOF
28948 /* end confdefs.h. */
28949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28951 #define $ac_func innocuous_$ac_func
28953 /* System header to define __stub macros and hopefully few prototypes,
28954 which can conflict with char $ac_func (); below.
28955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28956 <limits.h> exists even on freestanding compilers. */
28959 # include <limits.h>
28961 # include <assert.h>
28966 /* Override any GCC internal prototype to avoid an error.
28967 Use char because int might match the return type of a GCC
28968 builtin and then its argument prototype would still apply. */
28973 /* The GNU C library defines this for functions which it implements
28974 to always fail with ENOSYS. Some functions are actually named
28975 something starting with __ and the normal name is an alias. */
28976 #if defined __stub_$ac_func || defined __stub___$ac_func
28983 return $ac_func ();
28988 rm -f conftest.$ac_objext conftest$ac_exeext
28989 if { (ac_try="$ac_link"
28990 case "(($ac_try" in
28991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28992 *) ac_try_echo=$ac_try;;
28994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28995 (eval "$ac_link") 2>conftest.er1
28997 grep -v '^
*+' conftest.er1 >conftest.err
28999 cat conftest.err >&5
29000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29001 (exit $ac_status); } &&
29002 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
29003 { (case "(($ac_try" in
29004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29005 *) ac_try_echo=$ac_try;;
29007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29008 (eval "$ac_try") 2>&5
29010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29011 (exit $ac_status); }; } &&
29012 { ac_try='test -s conftest
$ac_exeext'
29013 { (case "(($ac_try" in
29014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29015 *) ac_try_echo=$ac_try;;
29017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29018 (eval "$ac_try") 2>&5
29020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29021 (exit $ac_status); }; }; then
29022 eval "$as_ac_var=yes"
29024 echo "$as_me: failed program was:" >&5
29025 sed 's
/^
/|
/' conftest.$ac_ext >&5
29027 eval "$as_ac_var=no"
29030 rm -f core conftest.err conftest.$ac_objext \
29031 conftest$ac_exeext conftest.$ac_ext
29033 ac_res=`eval echo '${'$as_ac_var'}'`
29034 { echo "$as_me:$LINENO: result: $ac_res" >&5
29035 echo "${ECHO_T}$ac_res" >&6; }
29036 if test `eval echo '${'$as_ac_var'}'` = yes; then
29037 cat >>confdefs.h <<_ACEOF
29038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29040 cat >>confdefs.h <<\_ACEOF
29041 #define BX_HAVE_SLEEP 1
29048 for ac_func in usleep
29050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29051 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29053 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29054 echo $ECHO_N "(cached) $ECHO_C" >&6
29056 cat >conftest.$ac_ext <<_ACEOF
29059 cat confdefs.h >>conftest.$ac_ext
29060 cat >>conftest.$ac_ext <<_ACEOF
29061 /* end confdefs.h. */
29062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29064 #define $ac_func innocuous_$ac_func
29066 /* System header to define __stub macros and hopefully few prototypes,
29067 which can conflict with char $ac_func (); below.
29068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29069 <limits.h> exists even on freestanding compilers. */
29072 # include <limits.h>
29074 # include <assert.h>
29079 /* Override any GCC internal prototype to avoid an error.
29080 Use char because int might match the return type of a GCC
29081 builtin and then its argument prototype would still apply. */
29086 /* The GNU C library defines this for functions which it implements
29087 to always fail with ENOSYS. Some functions are actually named
29088 something starting with __ and the normal name is an alias. */
29089 #if defined __stub_$ac_func || defined __stub___$ac_func
29096 return $ac_func ();
29101 rm -f conftest.$ac_objext conftest$ac_exeext
29102 if { (ac_try="$ac_link"
29103 case "(($ac_try" in
29104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29105 *) ac_try_echo=$ac_try;;
29107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29108 (eval "$ac_link") 2>conftest.er1
29110 grep -v '^
*+' conftest.er1 >conftest.err
29112 cat conftest.err >&5
29113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29114 (exit $ac_status); } &&
29115 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
29116 { (case "(($ac_try" in
29117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29118 *) ac_try_echo=$ac_try;;
29120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29121 (eval "$ac_try") 2>&5
29123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29124 (exit $ac_status); }; } &&
29125 { ac_try='test -s conftest
$ac_exeext'
29126 { (case "(($ac_try" in
29127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29128 *) ac_try_echo=$ac_try;;
29130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29131 (eval "$ac_try") 2>&5
29133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29134 (exit $ac_status); }; }; then
29135 eval "$as_ac_var=yes"
29137 echo "$as_me: failed program was:" >&5
29138 sed 's
/^
/|
/' conftest.$ac_ext >&5
29140 eval "$as_ac_var=no"
29143 rm -f core conftest.err conftest.$ac_objext \
29144 conftest$ac_exeext conftest.$ac_ext
29146 ac_res=`eval echo '${'$as_ac_var'}'`
29147 { echo "$as_me:$LINENO: result: $ac_res" >&5
29148 echo "${ECHO_T}$ac_res" >&6; }
29149 if test `eval echo '${'$as_ac_var'}'` = yes; then
29150 cat >>confdefs.h <<_ACEOF
29151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29153 cat >>confdefs.h <<\_ACEOF
29154 #define BX_HAVE_USLEEP 1
29161 for ac_func in nanosleep
29163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29164 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29166 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29167 echo $ECHO_N "(cached) $ECHO_C" >&6
29169 cat >conftest.$ac_ext <<_ACEOF
29172 cat confdefs.h >>conftest.$ac_ext
29173 cat >>conftest.$ac_ext <<_ACEOF
29174 /* end confdefs.h. */
29175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29177 #define $ac_func innocuous_$ac_func
29179 /* System header to define __stub macros and hopefully few prototypes,
29180 which can conflict with char $ac_func (); below.
29181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29182 <limits.h> exists even on freestanding compilers. */
29185 # include <limits.h>
29187 # include <assert.h>
29192 /* Override any GCC internal prototype to avoid an error.
29193 Use char because int might match the return type of a GCC
29194 builtin and then its argument prototype would still apply. */
29199 /* The GNU C library defines this for functions which it implements
29200 to always fail with ENOSYS. Some functions are actually named
29201 something starting with __ and the normal name is an alias. */
29202 #if defined __stub_$ac_func || defined __stub___$ac_func
29209 return $ac_func ();
29214 rm -f conftest.$ac_objext conftest$ac_exeext
29215 if { (ac_try="$ac_link"
29216 case "(($ac_try" in
29217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29218 *) ac_try_echo=$ac_try;;
29220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29221 (eval "$ac_link") 2>conftest.er1
29223 grep -v '^
*+' conftest.er1 >conftest.err
29225 cat conftest.err >&5
29226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29227 (exit $ac_status); } &&
29228 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
29229 { (case "(($ac_try" in
29230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29231 *) ac_try_echo=$ac_try;;
29233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29234 (eval "$ac_try") 2>&5
29236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29237 (exit $ac_status); }; } &&
29238 { ac_try='test -s conftest
$ac_exeext'
29239 { (case "(($ac_try" in
29240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29241 *) ac_try_echo=$ac_try;;
29243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29244 (eval "$ac_try") 2>&5
29246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29247 (exit $ac_status); }; }; then
29248 eval "$as_ac_var=yes"
29250 echo "$as_me: failed program was:" >&5
29251 sed 's
/^
/|
/' conftest.$ac_ext >&5
29253 eval "$as_ac_var=no"
29256 rm -f core conftest.err conftest.$ac_objext \
29257 conftest$ac_exeext conftest.$ac_ext
29259 ac_res=`eval echo '${'$as_ac_var'}'`
29260 { echo "$as_me:$LINENO: result: $ac_res" >&5
29261 echo "${ECHO_T}$ac_res" >&6; }
29262 if test `eval echo '${'$as_ac_var'}'` = yes; then
29263 cat >>confdefs.h <<_ACEOF
29264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29266 cat >>confdefs.h <<\_ACEOF
29267 #define BX_HAVE_NANOSLEEP 1
29274 for ac_func in abort
29276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29277 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29279 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29280 echo $ECHO_N "(cached) $ECHO_C" >&6
29282 cat >conftest.$ac_ext <<_ACEOF
29285 cat confdefs.h >>conftest.$ac_ext
29286 cat >>conftest.$ac_ext <<_ACEOF
29287 /* end confdefs.h. */
29288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29290 #define $ac_func innocuous_$ac_func
29292 /* System header to define __stub macros and hopefully few prototypes,
29293 which can conflict with char $ac_func (); below.
29294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29295 <limits.h> exists even on freestanding compilers. */
29298 # include <limits.h>
29300 # include <assert.h>
29305 /* Override any GCC internal prototype to avoid an error.
29306 Use char because int might match the return type of a GCC
29307 builtin and then its argument prototype would still apply. */
29312 /* The GNU C library defines this for functions which it implements
29313 to always fail with ENOSYS. Some functions are actually named
29314 something starting with __ and the normal name is an alias. */
29315 #if defined __stub_$ac_func || defined __stub___$ac_func
29322 return $ac_func ();
29327 rm -f conftest.$ac_objext conftest$ac_exeext
29328 if { (ac_try="$ac_link"
29329 case "(($ac_try" in
29330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29331 *) ac_try_echo=$ac_try;;
29333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29334 (eval "$ac_link") 2>conftest.er1
29336 grep -v '^
*+' conftest.er1 >conftest.err
29338 cat conftest.err >&5
29339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29340 (exit $ac_status); } &&
29341 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
29342 { (case "(($ac_try" in
29343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29344 *) ac_try_echo=$ac_try;;
29346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29347 (eval "$ac_try") 2>&5
29349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29350 (exit $ac_status); }; } &&
29351 { ac_try='test -s conftest
$ac_exeext'
29352 { (case "(($ac_try" in
29353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29354 *) ac_try_echo=$ac_try;;
29356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29357 (eval "$ac_try") 2>&5
29359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29360 (exit $ac_status); }; }; then
29361 eval "$as_ac_var=yes"
29363 echo "$as_me: failed program was:" >&5
29364 sed 's
/^
/|
/' conftest.$ac_ext >&5
29366 eval "$as_ac_var=no"
29369 rm -f core conftest.err conftest.$ac_objext \
29370 conftest$ac_exeext conftest.$ac_ext
29372 ac_res=`eval echo '${'$as_ac_var'}'`
29373 { echo "$as_me:$LINENO: result: $ac_res" >&5
29374 echo "${ECHO_T}$ac_res" >&6; }
29375 if test `eval echo '${'$as_ac_var'}'` = yes; then
29376 cat >>confdefs.h <<_ACEOF
29377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29379 cat >>confdefs.h <<\_ACEOF
29380 #define BX_HAVE_ABORT 1
29387 for ac_func in gettimeofday
29389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29390 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29392 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29393 echo $ECHO_N "(cached) $ECHO_C" >&6
29395 cat >conftest.$ac_ext <<_ACEOF
29398 cat confdefs.h >>conftest.$ac_ext
29399 cat >>conftest.$ac_ext <<_ACEOF
29400 /* end confdefs.h. */
29401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29403 #define $ac_func innocuous_$ac_func
29405 /* System header to define __stub macros and hopefully few prototypes,
29406 which can conflict with char $ac_func (); below.
29407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29408 <limits.h> exists even on freestanding compilers. */
29411 # include <limits.h>
29413 # include <assert.h>
29418 /* Override any GCC internal prototype to avoid an error.
29419 Use char because int might match the return type of a GCC
29420 builtin and then its argument prototype would still apply. */
29425 /* The GNU C library defines this for functions which it implements
29426 to always fail with ENOSYS. Some functions are actually named
29427 something starting with __ and the normal name is an alias. */
29428 #if defined __stub_$ac_func || defined __stub___$ac_func
29435 return $ac_func ();
29440 rm -f conftest.$ac_objext conftest$ac_exeext
29441 if { (ac_try="$ac_link"
29442 case "(($ac_try" in
29443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29444 *) ac_try_echo=$ac_try;;
29446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29447 (eval "$ac_link") 2>conftest.er1
29449 grep -v '^
*+' conftest.er1 >conftest.err
29451 cat conftest.err >&5
29452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29453 (exit $ac_status); } &&
29454 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
29455 { (case "(($ac_try" in
29456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29457 *) ac_try_echo=$ac_try;;
29459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29460 (eval "$ac_try") 2>&5
29462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29463 (exit $ac_status); }; } &&
29464 { ac_try='test -s conftest
$ac_exeext'
29465 { (case "(($ac_try" in
29466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29467 *) ac_try_echo=$ac_try;;
29469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29470 (eval "$ac_try") 2>&5
29472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29473 (exit $ac_status); }; }; then
29474 eval "$as_ac_var=yes"
29476 echo "$as_me: failed program was:" >&5
29477 sed 's
/^
/|
/' conftest.$ac_ext >&5
29479 eval "$as_ac_var=no"
29482 rm -f core conftest.err conftest.$ac_objext \
29483 conftest$ac_exeext conftest.$ac_ext
29485 ac_res=`eval echo '${'$as_ac_var'}'`
29486 { echo "$as_me:$LINENO: result: $ac_res" >&5
29487 echo "${ECHO_T}$ac_res" >&6; }
29488 if test `eval echo '${'$as_ac_var'}'` = yes; then
29489 cat >>confdefs.h <<_ACEOF
29490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29492 cat >>confdefs.h <<\_ACEOF
29493 #define BX_HAVE_GETTIMEOFDAY 1
29499 { echo "$as_me:$LINENO: checking for socklen_t" >&5
29500 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
29501 if test "${ac_cv_type_socklen_t+set}" = set; then
29502 echo $ECHO_N "(cached) $ECHO_C" >&6
29504 cat >conftest.$ac_ext <<_ACEOF
29507 cat confdefs.h >>conftest.$ac_ext
29508 cat >>conftest.$ac_ext <<_ACEOF
29509 /* end confdefs.h. */
29510 #include <sys/types.h>
29511 #include <sys/socket.h>
29513 typedef socklen_t ac__type_new_;
29517 if ((ac__type_new_ *) 0)
29519 if (sizeof (ac__type_new_))
29525 rm -f conftest.$ac_objext
29526 if { (ac_try="$ac_compile"
29527 case "(($ac_try" in
29528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29529 *) ac_try_echo=$ac_try;;
29531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29532 (eval "$ac_compile") 2>conftest.er1
29534 grep -v '^
*+' conftest.er1 >conftest.err
29536 cat conftest.err >&5
29537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29538 (exit $ac_status); } &&
29539 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
29540 { (case "(($ac_try" in
29541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29542 *) ac_try_echo=$ac_try;;
29544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29545 (eval "$ac_try") 2>&5
29547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29548 (exit $ac_status); }; } &&
29549 { ac_try='test -s conftest.
$ac_objext'
29550 { (case "(($ac_try" in
29551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29552 *) ac_try_echo=$ac_try;;
29554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29555 (eval "$ac_try") 2>&5
29557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29558 (exit $ac_status); }; }; then
29559 ac_cv_type_socklen_t=yes
29561 echo "$as_me: failed program was:" >&5
29562 sed 's
/^
/|
/' conftest.$ac_ext >&5
29564 ac_cv_type_socklen_t=no
29567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29569 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
29570 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
29571 if test $ac_cv_type_socklen_t = yes; then
29572 cat >>confdefs.h <<\_ACEOF
29573 #define BX_HAVE_SOCKLEN_T 1
29578 { echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
29579 echo $ECHO_N "checking for struct sockaddr_in.sin_len... $ECHO_C" >&6; }
29580 if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then
29581 echo $ECHO_N "(cached) $ECHO_C" >&6
29583 cat >conftest.$ac_ext <<_ACEOF
29586 cat confdefs.h >>conftest.$ac_ext
29587 cat >>conftest.$ac_ext <<_ACEOF
29588 /* end confdefs.h. */
29589 #include <sys/socket.h>
29590 #include <netinet/in.h>
29595 static struct sockaddr_in ac_aggr;
29596 if (ac_aggr.sin_len)
29602 rm -f conftest.$ac_objext
29603 if { (ac_try="$ac_compile"
29604 case "(($ac_try" in
29605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29606 *) ac_try_echo=$ac_try;;
29608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29609 (eval "$ac_compile") 2>conftest.er1
29611 grep -v '^
*+' conftest.er1 >conftest.err
29613 cat conftest.err >&5
29614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29615 (exit $ac_status); } &&
29616 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
29617 { (case "(($ac_try" in
29618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29619 *) ac_try_echo=$ac_try;;
29621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29622 (eval "$ac_try") 2>&5
29624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29625 (exit $ac_status); }; } &&
29626 { ac_try='test -s conftest.
$ac_objext'
29627 { (case "(($ac_try" in
29628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29629 *) ac_try_echo=$ac_try;;
29631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29632 (eval "$ac_try") 2>&5
29634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29635 (exit $ac_status); }; }; then
29636 ac_cv_member_struct_sockaddr_in_sin_len=yes
29638 echo "$as_me: failed program was:" >&5
29639 sed 's
/^
/|
/' conftest.$ac_ext >&5
29641 cat >conftest.$ac_ext <<_ACEOF
29644 cat confdefs.h >>conftest.$ac_ext
29645 cat >>conftest.$ac_ext <<_ACEOF
29646 /* end confdefs.h. */
29647 #include <sys/socket.h>
29648 #include <netinet/in.h>
29653 static struct sockaddr_in ac_aggr;
29654 if (sizeof ac_aggr.sin_len)
29660 rm -f conftest.$ac_objext
29661 if { (ac_try="$ac_compile"
29662 case "(($ac_try" in
29663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29664 *) ac_try_echo=$ac_try;;
29666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29667 (eval "$ac_compile") 2>conftest.er1
29669 grep -v '^
*+' conftest.er1 >conftest.err
29671 cat conftest.err >&5
29672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29673 (exit $ac_status); } &&
29674 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
29675 { (case "(($ac_try" in
29676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29677 *) ac_try_echo=$ac_try;;
29679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29680 (eval "$ac_try") 2>&5
29682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29683 (exit $ac_status); }; } &&
29684 { ac_try='test -s conftest.
$ac_objext'
29685 { (case "(($ac_try" in
29686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29687 *) ac_try_echo=$ac_try;;
29689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29690 (eval "$ac_try") 2>&5
29692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29693 (exit $ac_status); }; }; then
29694 ac_cv_member_struct_sockaddr_in_sin_len=yes
29696 echo "$as_me: failed program was:" >&5
29697 sed 's
/^
/|
/' conftest.$ac_ext >&5
29699 ac_cv_member_struct_sockaddr_in_sin_len=no
29702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29707 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
29708 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in_sin_len" >&6; }
29709 if test $ac_cv_member_struct_sockaddr_in_sin_len = yes; then
29710 cat >>confdefs.h <<\_ACEOF
29711 #define BX_HAVE_SOCKADDR_IN_SIN_LEN 1
29717 for ac_func in mkstemp
29719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29720 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29722 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29723 echo $ECHO_N "(cached) $ECHO_C" >&6
29725 cat >conftest.$ac_ext <<_ACEOF
29728 cat confdefs.h >>conftest.$ac_ext
29729 cat >>conftest.$ac_ext <<_ACEOF
29730 /* end confdefs.h. */
29731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29733 #define $ac_func innocuous_$ac_func
29735 /* System header to define __stub macros and hopefully few prototypes,
29736 which can conflict with char $ac_func (); below.
29737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29738 <limits.h> exists even on freestanding compilers. */
29741 # include <limits.h>
29743 # include <assert.h>
29748 /* Override any GCC internal prototype to avoid an error.
29749 Use char because int might match the return type of a GCC
29750 builtin and then its argument prototype would still apply. */
29755 /* The GNU C library defines this for functions which it implements
29756 to always fail with ENOSYS. Some functions are actually named
29757 something starting with __ and the normal name is an alias. */
29758 #if defined __stub_$ac_func || defined __stub___$ac_func
29765 return $ac_func ();
29770 rm -f conftest.$ac_objext conftest$ac_exeext
29771 if { (ac_try="$ac_link"
29772 case "(($ac_try" in
29773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29774 *) ac_try_echo=$ac_try;;
29776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29777 (eval "$ac_link") 2>conftest.er1
29779 grep -v '^
*+' conftest.er1 >conftest.err
29781 cat conftest.err >&5
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); } &&
29784 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
29785 { (case "(($ac_try" in
29786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29787 *) ac_try_echo=$ac_try;;
29789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29790 (eval "$ac_try") 2>&5
29792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29793 (exit $ac_status); }; } &&
29794 { ac_try='test -s conftest
$ac_exeext'
29795 { (case "(($ac_try" in
29796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29797 *) ac_try_echo=$ac_try;;
29799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29800 (eval "$ac_try") 2>&5
29802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29803 (exit $ac_status); }; }; then
29804 eval "$as_ac_var=yes"
29806 echo "$as_me: failed program was:" >&5
29807 sed 's
/^
/|
/' conftest.$ac_ext >&5
29809 eval "$as_ac_var=no"
29812 rm -f core conftest.err conftest.$ac_objext \
29813 conftest$ac_exeext conftest.$ac_ext
29815 ac_res=`eval echo '${'$as_ac_var'}'`
29816 { echo "$as_me:$LINENO: result: $ac_res" >&5
29817 echo "${ECHO_T}$ac_res" >&6; }
29818 if test `eval echo '${'$as_ac_var'}'` = yes; then
29819 cat >>confdefs.h <<_ACEOF
29820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29822 cat >>confdefs.h <<\_ACEOF
29823 #define BX_HAVE_MKSTEMP 1
29829 if test "${ac_cv_header_sys_mman_h+set}" = set; then
29830 { echo "$as_me:$LINENO: checking for sys/mman.h" >&5
29831 echo $ECHO_N "checking for sys/mman.h... $ECHO_C" >&6; }
29832 if test "${ac_cv_header_sys_mman_h+set}" = set; then
29833 echo $ECHO_N "(cached) $ECHO_C" >&6
29835 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
29836 echo "${ECHO_T}$ac_cv_header_sys_mman_h" >&6; }
29838 # Is the header compilable?
29839 { echo "$as_me:$LINENO: checking sys/mman.h usability" >&5
29840 echo $ECHO_N "checking sys/mman.h usability... $ECHO_C" >&6; }
29841 cat >conftest.$ac_ext <<_ACEOF
29844 cat confdefs.h >>conftest.$ac_ext
29845 cat >>conftest.$ac_ext <<_ACEOF
29846 /* end confdefs.h. */
29847 $ac_includes_default
29848 #include <sys/mman.h>
29850 rm -f conftest.$ac_objext
29851 if { (ac_try="$ac_compile"
29852 case "(($ac_try" in
29853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29854 *) ac_try_echo=$ac_try;;
29856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29857 (eval "$ac_compile") 2>conftest.er1
29859 grep -v '^
*+' conftest.er1 >conftest.err
29861 cat conftest.err >&5
29862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29863 (exit $ac_status); } &&
29864 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
29865 { (case "(($ac_try" in
29866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29867 *) ac_try_echo=$ac_try;;
29869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29870 (eval "$ac_try") 2>&5
29872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29873 (exit $ac_status); }; } &&
29874 { ac_try='test -s conftest.
$ac_objext'
29875 { (case "(($ac_try" in
29876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29877 *) ac_try_echo=$ac_try;;
29879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29880 (eval "$ac_try") 2>&5
29882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29883 (exit $ac_status); }; }; then
29884 ac_header_compiler=yes
29886 echo "$as_me: failed program was:" >&5
29887 sed 's
/^
/|
/' conftest.$ac_ext >&5
29889 ac_header_compiler=no
29892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29893 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29894 echo "${ECHO_T}$ac_header_compiler" >&6; }
29896 # Is the header present?
29897 { echo "$as_me:$LINENO: checking sys/mman.h presence" >&5
29898 echo $ECHO_N "checking sys/mman.h presence... $ECHO_C" >&6; }
29899 cat >conftest.$ac_ext <<_ACEOF
29902 cat confdefs.h >>conftest.$ac_ext
29903 cat >>conftest.$ac_ext <<_ACEOF
29904 /* end confdefs.h. */
29905 #include <sys/mman.h>
29907 if { (ac_try="$ac_cpp conftest.$ac_ext"
29908 case "(($ac_try" in
29909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29910 *) ac_try_echo=$ac_try;;
29912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29913 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29915 grep -v '^
*+' conftest.er1 >conftest.err
29917 cat conftest.err >&5
29918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29919 (exit $ac_status); } >/dev/null; then
29920 if test -s conftest.err; then
29921 ac_cpp_err=$ac_c_preproc_warn_flag
29922 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29929 if test -z "$ac_cpp_err"; then
29930 ac_header_preproc=yes
29932 echo "$as_me: failed program was:" >&5
29933 sed 's
/^
/|
/' conftest.$ac_ext >&5
29935 ac_header_preproc=no
29938 rm -f conftest.err conftest.$ac_ext
29939 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29940 echo "${ECHO_T}$ac_header_preproc" >&6; }
29942 # So? What about this header?
29943 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29945 { echo "$as_me:$LINENO: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&5
29946 echo "$as_me: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29947 { echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the compiler's result
" >&5
29948 echo "$as_me: WARNING
: sys
/mman.h
: proceeding with the compiler
's result" >&2;}
29949 ac_header_preproc=yes
29952 { echo "$as_me:$LINENO: WARNING: sys/mman.h: present but cannot be compiled" >&5
29953 echo "$as_me: WARNING: sys/mman.h: present but cannot be compiled" >&2;}
29954 { echo "$as_me:$LINENO: WARNING: sys/mman.h: check for missing prerequisite headers?" >&5
29955 echo "$as_me: WARNING: sys/mman.h: check for missing prerequisite headers?" >&2;}
29956 { echo "$as_me:$LINENO: WARNING: sys/mman.h: see the Autoconf documentation" >&5
29957 echo "$as_me: WARNING: sys/mman.h: see the Autoconf documentation" >&2;}
29958 { echo "$as_me:$LINENO: WARNING: sys/mman.h: section \"Present But Cannot Be Compiled\"" >&5
29959 echo "$as_me: WARNING: sys/mman.h: section \"Present But Cannot Be Compiled\"" >&2;}
29960 { echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the preprocessor's result
" >&5
29961 echo "$as_me: WARNING
: sys
/mman.h
: proceeding with the preprocessor
's result" >&2;}
29962 { echo "$as_me:$LINENO: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&5
29963 echo "$as_me: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&2;}
29967 { echo "$as_me:$LINENO: checking for sys/mman.h" >&5
29968 echo $ECHO_N "checking for sys/mman.h... $ECHO_C" >&6; }
29969 if test "${ac_cv_header_sys_mman_h+set}" = set; then
29970 echo $ECHO_N "(cached) $ECHO_C" >&6
29972 ac_cv_header_sys_mman_h=$ac_header_preproc
29974 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
29975 echo "${ECHO_T}$ac_cv_header_sys_mman_h" >&6; }
29978 if test $ac_cv_header_sys_mman_h = yes; then
29979 cat >>confdefs.h <<\_ACEOF
29980 #define BX_HAVE_SYS_MMAN_H 1
29987 for ac_func in timelocal
29989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29990 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29992 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29993 echo $ECHO_N "(cached) $ECHO_C" >&6
29995 cat >conftest.$ac_ext <<_ACEOF
29998 cat confdefs.h >>conftest.$ac_ext
29999 cat >>conftest.$ac_ext <<_ACEOF
30000 /* end confdefs.h. */
30001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30003 #define $ac_func innocuous_$ac_func
30005 /* System header to define __stub macros and hopefully few prototypes,
30006 which can conflict with char $ac_func (); below.
30007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30008 <limits.h> exists even on freestanding compilers. */
30011 # include <limits.h>
30013 # include <assert.h>
30018 /* Override any GCC internal prototype to avoid an error.
30019 Use char because int might match the return type of a GCC
30020 builtin and then its argument prototype would still apply. */
30025 /* The GNU C library defines this for functions which it implements
30026 to always fail with ENOSYS. Some functions are actually named
30027 something starting with __ and the normal name is an alias. */
30028 #if defined __stub_$ac_func || defined __stub___$ac_func
30035 return $ac_func ();
30040 rm -f conftest.$ac_objext conftest$ac_exeext
30041 if { (ac_try="$ac_link"
30042 case "(($ac_try" in
30043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30044 *) ac_try_echo=$ac_try;;
30046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30047 (eval "$ac_link") 2>conftest.er1
30049 grep -v '^
*+' conftest.er1 >conftest.err
30051 cat conftest.err >&5
30052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30053 (exit $ac_status); } &&
30054 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
30055 { (case "(($ac_try" in
30056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30057 *) ac_try_echo=$ac_try;;
30059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30060 (eval "$ac_try") 2>&5
30062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30063 (exit $ac_status); }; } &&
30064 { ac_try='test -s conftest
$ac_exeext'
30065 { (case "(($ac_try" in
30066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30067 *) ac_try_echo=$ac_try;;
30069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30070 (eval "$ac_try") 2>&5
30072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30073 (exit $ac_status); }; }; then
30074 eval "$as_ac_var=yes"
30076 echo "$as_me: failed program was:" >&5
30077 sed 's
/^
/|
/' conftest.$ac_ext >&5
30079 eval "$as_ac_var=no"
30082 rm -f core conftest.err conftest.$ac_objext \
30083 conftest$ac_exeext conftest.$ac_ext
30085 ac_res=`eval echo '${'$as_ac_var'}'`
30086 { echo "$as_me:$LINENO: result: $ac_res" >&5
30087 echo "${ECHO_T}$ac_res" >&6; }
30088 if test `eval echo '${'$as_ac_var'}'` = yes; then
30089 cat >>confdefs.h <<_ACEOF
30090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30092 cat >>confdefs.h <<\_ACEOF
30093 #define BX_HAVE_TIMELOCAL 1
30100 for ac_func in gmtime
30102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30103 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30105 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30106 echo $ECHO_N "(cached) $ECHO_C" >&6
30108 cat >conftest.$ac_ext <<_ACEOF
30111 cat confdefs.h >>conftest.$ac_ext
30112 cat >>conftest.$ac_ext <<_ACEOF
30113 /* end confdefs.h. */
30114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30116 #define $ac_func innocuous_$ac_func
30118 /* System header to define __stub macros and hopefully few prototypes,
30119 which can conflict with char $ac_func (); below.
30120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30121 <limits.h> exists even on freestanding compilers. */
30124 # include <limits.h>
30126 # include <assert.h>
30131 /* Override any GCC internal prototype to avoid an error.
30132 Use char because int might match the return type of a GCC
30133 builtin and then its argument prototype would still apply. */
30138 /* The GNU C library defines this for functions which it implements
30139 to always fail with ENOSYS. Some functions are actually named
30140 something starting with __ and the normal name is an alias. */
30141 #if defined __stub_$ac_func || defined __stub___$ac_func
30148 return $ac_func ();
30153 rm -f conftest.$ac_objext conftest$ac_exeext
30154 if { (ac_try="$ac_link"
30155 case "(($ac_try" in
30156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30157 *) ac_try_echo=$ac_try;;
30159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30160 (eval "$ac_link") 2>conftest.er1
30162 grep -v '^
*+' conftest.er1 >conftest.err
30164 cat conftest.err >&5
30165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30166 (exit $ac_status); } &&
30167 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
30168 { (case "(($ac_try" in
30169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30170 *) ac_try_echo=$ac_try;;
30172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30173 (eval "$ac_try") 2>&5
30175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30176 (exit $ac_status); }; } &&
30177 { ac_try='test -s conftest
$ac_exeext'
30178 { (case "(($ac_try" in
30179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30180 *) ac_try_echo=$ac_try;;
30182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30183 (eval "$ac_try") 2>&5
30185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30186 (exit $ac_status); }; }; then
30187 eval "$as_ac_var=yes"
30189 echo "$as_me: failed program was:" >&5
30190 sed 's
/^
/|
/' conftest.$ac_ext >&5
30192 eval "$as_ac_var=no"
30195 rm -f core conftest.err conftest.$ac_objext \
30196 conftest$ac_exeext conftest.$ac_ext
30198 ac_res=`eval echo '${'$as_ac_var'}'`
30199 { echo "$as_me:$LINENO: result: $ac_res" >&5
30200 echo "${ECHO_T}$ac_res" >&6; }
30201 if test `eval echo '${'$as_ac_var'}'` = yes; then
30202 cat >>confdefs.h <<_ACEOF
30203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30205 cat >>confdefs.h <<\_ACEOF
30206 #define BX_HAVE_GMTIME 1
30213 for ac_func in mktime
30215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30216 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30218 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30219 echo $ECHO_N "(cached) $ECHO_C" >&6
30221 cat >conftest.$ac_ext <<_ACEOF
30224 cat confdefs.h >>conftest.$ac_ext
30225 cat >>conftest.$ac_ext <<_ACEOF
30226 /* end confdefs.h. */
30227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30229 #define $ac_func innocuous_$ac_func
30231 /* System header to define __stub macros and hopefully few prototypes,
30232 which can conflict with char $ac_func (); below.
30233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30234 <limits.h> exists even on freestanding compilers. */
30237 # include <limits.h>
30239 # include <assert.h>
30244 /* Override any GCC internal prototype to avoid an error.
30245 Use char because int might match the return type of a GCC
30246 builtin and then its argument prototype would still apply. */
30251 /* The GNU C library defines this for functions which it implements
30252 to always fail with ENOSYS. Some functions are actually named
30253 something starting with __ and the normal name is an alias. */
30254 #if defined __stub_$ac_func || defined __stub___$ac_func
30261 return $ac_func ();
30266 rm -f conftest.$ac_objext conftest$ac_exeext
30267 if { (ac_try="$ac_link"
30268 case "(($ac_try" in
30269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30270 *) ac_try_echo=$ac_try;;
30272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30273 (eval "$ac_link") 2>conftest.er1
30275 grep -v '^
*+' conftest.er1 >conftest.err
30277 cat conftest.err >&5
30278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30279 (exit $ac_status); } &&
30280 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
30281 { (case "(($ac_try" in
30282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30283 *) ac_try_echo=$ac_try;;
30285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30286 (eval "$ac_try") 2>&5
30288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30289 (exit $ac_status); }; } &&
30290 { ac_try='test -s conftest
$ac_exeext'
30291 { (case "(($ac_try" in
30292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30293 *) ac_try_echo=$ac_try;;
30295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30296 (eval "$ac_try") 2>&5
30298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30299 (exit $ac_status); }; }; then
30300 eval "$as_ac_var=yes"
30302 echo "$as_me: failed program was:" >&5
30303 sed 's
/^
/|
/' conftest.$ac_ext >&5
30305 eval "$as_ac_var=no"
30308 rm -f core conftest.err conftest.$ac_objext \
30309 conftest$ac_exeext conftest.$ac_ext
30311 ac_res=`eval echo '${'$as_ac_var'}'`
30312 { echo "$as_me:$LINENO: result: $ac_res" >&5
30313 echo "${ECHO_T}$ac_res" >&6; }
30314 if test `eval echo '${'$as_ac_var'}'` = yes; then
30315 cat >>confdefs.h <<_ACEOF
30316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30318 cat >>confdefs.h <<\_ACEOF
30319 #define BX_HAVE_MKTIME 1
30326 # Check whether --enable-largefile was given.
30327 if test "${enable_largefile+set}" = set; then
30328 enableval=$enable_largefile;
30331 if test "$enable_largefile" != no; then
30334 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
30335 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
30336 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
30337 echo $ECHO_N "(cached) $ECHO_C" >&6
30340 cat >conftest.$ac_ext <<_ACEOF
30343 cat confdefs.h >>conftest.$ac_ext
30344 cat >>conftest.$ac_ext <<_ACEOF
30345 /* end confdefs.h. */
30346 #define _FILE_OFFSET_BITS 64
30347 #include <sys/types.h>
30352 unsigned int field: sizeof(off_t) == 8;
30359 rm -f conftest.$ac_objext
30360 if { (ac_try="$ac_compile"
30361 case "(($ac_try" in
30362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30363 *) ac_try_echo=$ac_try;;
30365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30366 (eval "$ac_compile") 2>conftest.er1
30368 grep -v '^
*+' conftest.er1 >conftest.err
30370 cat conftest.err >&5
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); } &&
30373 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
30374 { (case "(($ac_try" in
30375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30376 *) ac_try_echo=$ac_try;;
30378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30379 (eval "$ac_try") 2>&5
30381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30382 (exit $ac_status); }; } &&
30383 { ac_try='test -s conftest.
$ac_objext'
30384 { (case "(($ac_try" in
30385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30386 *) ac_try_echo=$ac_try;;
30388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30389 (eval "$ac_try") 2>&5
30391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30392 (exit $ac_status); }; }; then
30393 ac_cv_sys_file_offset_bits=64
30395 echo "$as_me: failed program was:" >&5
30396 sed 's
/^
/|
/' conftest.$ac_ext >&5
30398 ac_cv_sys_file_offset_bits=no
30401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30405 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
30406 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
30408 if test "$ac_cv_sys_file_offset_bits" != no; then
30410 cat >>confdefs.h <<_ACEOF
30411 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
30416 if test "x$wx_largefile" != "xyes"; then
30418 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
30419 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
30420 if test "${ac_cv_sys_large_files+set}" = set; then
30421 echo $ECHO_N "(cached) $ECHO_C" >&6
30424 cat >conftest.$ac_ext <<_ACEOF
30427 cat confdefs.h >>conftest.$ac_ext
30428 cat >>conftest.$ac_ext <<_ACEOF
30429 /* end confdefs.h. */
30430 #define _LARGE_FILES 1
30431 #include <sys/types.h>
30436 unsigned int field: sizeof(off_t) == 8;
30443 rm -f conftest.$ac_objext
30444 if { (ac_try="$ac_compile"
30445 case "(($ac_try" in
30446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30447 *) ac_try_echo=$ac_try;;
30449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30450 (eval "$ac_compile") 2>conftest.er1
30452 grep -v '^
*+' conftest.er1 >conftest.err
30454 cat conftest.err >&5
30455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30456 (exit $ac_status); } &&
30457 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
30458 { (case "(($ac_try" in
30459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30460 *) ac_try_echo=$ac_try;;
30462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30463 (eval "$ac_try") 2>&5
30465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30466 (exit $ac_status); }; } &&
30467 { ac_try='test -s conftest.
$ac_objext'
30468 { (case "(($ac_try" in
30469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30470 *) ac_try_echo=$ac_try;;
30472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30473 (eval "$ac_try") 2>&5
30475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30476 (exit $ac_status); }; }; then
30477 ac_cv_sys_large_files=1
30479 echo "$as_me: failed program was:" >&5
30480 sed 's
/^
/|
/' conftest.$ac_ext >&5
30482 ac_cv_sys_large_files=no
30485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30489 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
30490 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
30492 if test "$ac_cv_sys_large_files" != no; then
30494 cat >>confdefs.h <<_ACEOF
30495 #define _LARGE_FILES $ac_cv_sys_large_files
30502 { echo "$as_me:$LINENO: checking if large file support is available" >&5
30503 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
30504 if test "x$wx_largefile" = "xyes"; then
30505 cat >>confdefs.h <<\_ACEOF
30506 #define HAVE_LARGEFILE_SUPPORT 1
30510 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
30511 echo "${ECHO_T}$wx_largefile" >&6; }
30515 if test "x$wx_largefile" = "xyes"; then
30516 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
30517 BX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
30519 BX_LARGEFILE_FLAGS="-D_LARGE_FILES"
30521 CPPFLAGS="$CPPFLAGS $BX_LARGEFILE_FLAGS"
30522 CFLAGS="$CFLAGS $BX_LARGEFILE_FLAGS"
30523 CXXFLAGS="$CXXFLAGS $BX_LARGEFILE_FLAGS"
30531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30532 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30534 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30535 echo $ECHO_N "(cached) $ECHO_C" >&6
30537 cat >conftest.$ac_ext <<_ACEOF
30540 cat confdefs.h >>conftest.$ac_ext
30541 cat >>conftest.$ac_ext <<_ACEOF
30542 /* end confdefs.h. */
30543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30545 #define $ac_func innocuous_$ac_func
30547 /* System header to define __stub macros and hopefully few prototypes,
30548 which can conflict with char $ac_func (); below.
30549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30550 <limits.h> exists even on freestanding compilers. */
30553 # include <limits.h>
30555 # include <assert.h>
30560 /* Override any GCC internal prototype to avoid an error.
30561 Use char because int might match the return type of a GCC
30562 builtin and then its argument prototype would still apply. */
30567 /* The GNU C library defines this for functions which it implements
30568 to always fail with ENOSYS. Some functions are actually named
30569 something starting with __ and the normal name is an alias. */
30570 #if defined __stub_$ac_func || defined __stub___$ac_func
30577 return $ac_func ();
30582 rm -f conftest.$ac_objext conftest$ac_exeext
30583 if { (ac_try="$ac_link"
30584 case "(($ac_try" in
30585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30586 *) ac_try_echo=$ac_try;;
30588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30589 (eval "$ac_link") 2>conftest.er1
30591 grep -v '^
*+' conftest.er1 >conftest.err
30593 cat conftest.err >&5
30594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30595 (exit $ac_status); } &&
30596 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
30597 { (case "(($ac_try" in
30598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30599 *) ac_try_echo=$ac_try;;
30601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30602 (eval "$ac_try") 2>&5
30604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30605 (exit $ac_status); }; } &&
30606 { ac_try='test -s conftest
$ac_exeext'
30607 { (case "(($ac_try" in
30608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30609 *) ac_try_echo=$ac_try;;
30611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30612 (eval "$ac_try") 2>&5
30614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30615 (exit $ac_status); }; }; then
30616 eval "$as_ac_var=yes"
30618 echo "$as_me: failed program was:" >&5
30619 sed 's
/^
/|
/' conftest.$ac_ext >&5
30621 eval "$as_ac_var=no"
30624 rm -f core conftest.err conftest.$ac_objext \
30625 conftest$ac_exeext conftest.$ac_ext
30627 ac_res=`eval echo '${'$as_ac_var'}'`
30628 { echo "$as_me:$LINENO: result: $ac_res" >&5
30629 echo "${ECHO_T}$ac_res" >&6; }
30630 if test `eval echo '${'$as_ac_var'}'` = yes; then
30631 cat >>confdefs.h <<_ACEOF
30632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30639 for ac_func in floor
30641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30642 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30644 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30645 echo $ECHO_N "(cached) $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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30655 #define $ac_func innocuous_$ac_func
30657 /* System header to define __stub macros and hopefully few prototypes,
30658 which can conflict with char $ac_func (); below.
30659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30660 <limits.h> exists even on freestanding compilers. */
30663 # include <limits.h>
30665 # include <assert.h>
30670 /* Override any GCC internal prototype to avoid an error.
30671 Use char because int might match the return type of a GCC
30672 builtin and then its argument prototype would still apply. */
30677 /* The GNU C library defines this for functions which it implements
30678 to always fail with ENOSYS. Some functions are actually named
30679 something starting with __ and the normal name is an alias. */
30680 #if defined __stub_$ac_func || defined __stub___$ac_func
30687 return $ac_func ();
30692 rm -f conftest.$ac_objext conftest$ac_exeext
30693 if { (ac_try="$ac_link"
30694 case "(($ac_try" in
30695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30696 *) ac_try_echo=$ac_try;;
30698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30699 (eval "$ac_link") 2>conftest.er1
30701 grep -v '^
*+' conftest.er1 >conftest.err
30703 cat conftest.err >&5
30704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30705 (exit $ac_status); } &&
30706 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
30707 { (case "(($ac_try" in
30708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30709 *) ac_try_echo=$ac_try;;
30711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30712 (eval "$ac_try") 2>&5
30714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30715 (exit $ac_status); }; } &&
30716 { ac_try='test -s conftest
$ac_exeext'
30717 { (case "(($ac_try" in
30718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30719 *) ac_try_echo=$ac_try;;
30721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30722 (eval "$ac_try") 2>&5
30724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30725 (exit $ac_status); }; }; then
30726 eval "$as_ac_var=yes"
30728 echo "$as_me: failed program was:" >&5
30729 sed 's
/^
/|
/' conftest.$ac_ext >&5
30731 eval "$as_ac_var=no"
30734 rm -f core conftest.err conftest.$ac_objext \
30735 conftest$ac_exeext conftest.$ac_ext
30737 ac_res=`eval echo '${'$as_ac_var'}'`
30738 { echo "$as_me:$LINENO: result: $ac_res" >&5
30739 echo "${ECHO_T}$ac_res" >&6; }
30740 if test `eval echo '${'$as_ac_var'}'` = yes; then
30741 cat >>confdefs.h <<_ACEOF
30742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30748 { echo "$as_me:$LINENO: checking if math functions link without -lm" >&5
30749 echo $ECHO_N "checking if math functions link without -lm... $ECHO_C" >&6; }
30750 if test "$have_cos" = 1 -a "$have_floor" = 1; then
30751 { echo "$as_me:$LINENO: result: yes" >&5
30752 echo "${ECHO_T}yes" >&6; }
30754 { echo "$as_me:$LINENO: result: no" >&5
30755 echo "${ECHO_T}no" >&6; }
30757 # use different functions to bypass configure caching
30763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30764 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30766 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30767 echo $ECHO_N "(cached) $ECHO_C" >&6
30769 cat >conftest.$ac_ext <<_ACEOF
30772 cat confdefs.h >>conftest.$ac_ext
30773 cat >>conftest.$ac_ext <<_ACEOF
30774 /* end confdefs.h. */
30775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30777 #define $ac_func innocuous_$ac_func
30779 /* System header to define __stub macros and hopefully few prototypes,
30780 which can conflict with char $ac_func (); below.
30781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30782 <limits.h> exists even on freestanding compilers. */
30785 # include <limits.h>
30787 # include <assert.h>
30792 /* Override any GCC internal prototype to avoid an error.
30793 Use char because int might match the return type of a GCC
30794 builtin and then its argument prototype would still apply. */
30799 /* The GNU C library defines this for functions which it implements
30800 to always fail with ENOSYS. Some functions are actually named
30801 something starting with __ and the normal name is an alias. */
30802 #if defined __stub_$ac_func || defined __stub___$ac_func
30809 return $ac_func ();
30814 rm -f conftest.$ac_objext conftest$ac_exeext
30815 if { (ac_try="$ac_link"
30816 case "(($ac_try" in
30817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30818 *) ac_try_echo=$ac_try;;
30820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30821 (eval "$ac_link") 2>conftest.er1
30823 grep -v '^
*+' conftest.er1 >conftest.err
30825 cat conftest.err >&5
30826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30827 (exit $ac_status); } &&
30828 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
30829 { (case "(($ac_try" in
30830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30831 *) ac_try_echo=$ac_try;;
30833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30834 (eval "$ac_try") 2>&5
30836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30837 (exit $ac_status); }; } &&
30838 { ac_try='test -s conftest
$ac_exeext'
30839 { (case "(($ac_try" in
30840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30841 *) ac_try_echo=$ac_try;;
30843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30844 (eval "$ac_try") 2>&5
30846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30847 (exit $ac_status); }; }; then
30848 eval "$as_ac_var=yes"
30850 echo "$as_me: failed program was:" >&5
30851 sed 's
/^
/|
/' conftest.$ac_ext >&5
30853 eval "$as_ac_var=no"
30856 rm -f core conftest.err conftest.$ac_objext \
30857 conftest$ac_exeext conftest.$ac_ext
30859 ac_res=`eval echo '${'$as_ac_var'}'`
30860 { echo "$as_me:$LINENO: result: $ac_res" >&5
30861 echo "${ECHO_T}$ac_res" >&6; }
30862 if test `eval echo '${'$as_ac_var'}'` = yes; then
30863 cat >>confdefs.h <<_ACEOF
30864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30871 for ac_func in ceil
30873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30874 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30876 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30877 echo $ECHO_N "(cached) $ECHO_C" >&6
30879 cat >conftest.$ac_ext <<_ACEOF
30882 cat confdefs.h >>conftest.$ac_ext
30883 cat >>conftest.$ac_ext <<_ACEOF
30884 /* end confdefs.h. */
30885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30887 #define $ac_func innocuous_$ac_func
30889 /* System header to define __stub macros and hopefully few prototypes,
30890 which can conflict with char $ac_func (); below.
30891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30892 <limits.h> exists even on freestanding compilers. */
30895 # include <limits.h>
30897 # include <assert.h>
30902 /* Override any GCC internal prototype to avoid an error.
30903 Use char because int might match the return type of a GCC
30904 builtin and then its argument prototype would still apply. */
30909 /* The GNU C library defines this for functions which it implements
30910 to always fail with ENOSYS. Some functions are actually named
30911 something starting with __ and the normal name is an alias. */
30912 #if defined __stub_$ac_func || defined __stub___$ac_func
30919 return $ac_func ();
30924 rm -f conftest.$ac_objext conftest$ac_exeext
30925 if { (ac_try="$ac_link"
30926 case "(($ac_try" in
30927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30928 *) ac_try_echo=$ac_try;;
30930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30931 (eval "$ac_link") 2>conftest.er1
30933 grep -v '^
*+' conftest.er1 >conftest.err
30935 cat conftest.err >&5
30936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30937 (exit $ac_status); } &&
30938 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
30939 { (case "(($ac_try" in
30940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30941 *) ac_try_echo=$ac_try;;
30943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30944 (eval "$ac_try") 2>&5
30946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30947 (exit $ac_status); }; } &&
30948 { ac_try='test -s conftest
$ac_exeext'
30949 { (case "(($ac_try" in
30950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30951 *) ac_try_echo=$ac_try;;
30953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30954 (eval "$ac_try") 2>&5
30956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30957 (exit $ac_status); }; }; then
30958 eval "$as_ac_var=yes"
30960 echo "$as_me: failed program was:" >&5
30961 sed 's
/^
/|
/' conftest.$ac_ext >&5
30963 eval "$as_ac_var=no"
30966 rm -f core conftest.err conftest.$ac_objext \
30967 conftest$ac_exeext conftest.$ac_ext
30969 ac_res=`eval echo '${'$as_ac_var'}'`
30970 { echo "$as_me:$LINENO: result: $ac_res" >&5
30971 echo "${ECHO_T}$ac_res" >&6; }
30972 if test `eval echo '${'$as_ac_var'}'` = yes; then
30973 cat >>confdefs.h <<_ACEOF
30974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30980 { echo "$as_me:$LINENO: checking if math functions link with -lm" >&5
30981 echo $ECHO_N "checking if math functions link with -lm... $ECHO_C" >&6; }
30982 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
30983 { echo "$as_me:$LINENO: result: yes" >&5
30984 echo "${ECHO_T}yes" >&6; }
30986 { echo "$as_me:$LINENO: result: no" >&5
30987 echo "${ECHO_T}no" >&6; }
30988 # not sure we should warn the user, crash, etc.
30989 # expect link failure
30993 { echo "$as_me:$LINENO: checking for struct timeval" >&5
30994 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6; }
30995 cat >conftest.$ac_ext <<_ACEOF
30998 cat confdefs.h >>conftest.$ac_ext
30999 cat >>conftest.$ac_ext <<_ACEOF
31000 /* end confdefs.h. */
31001 #include <sys/time.h>
31010 rm -f conftest.$ac_objext
31011 if { (ac_try="$ac_compile"
31012 case "(($ac_try" in
31013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31014 *) ac_try_echo=$ac_try;;
31016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31017 (eval "$ac_compile") 2>conftest.er1
31019 grep -v '^
*+' conftest.er1 >conftest.err
31021 cat conftest.err >&5
31022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31023 (exit $ac_status); } &&
31024 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
31025 { (case "(($ac_try" in
31026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31027 *) ac_try_echo=$ac_try;;
31029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31030 (eval "$ac_try") 2>&5
31032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31033 (exit $ac_status); }; } &&
31034 { ac_try='test -s conftest.
$ac_objext'
31035 { (case "(($ac_try" in
31036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31037 *) ac_try_echo=$ac_try;;
31039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31040 (eval "$ac_try") 2>&5
31042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31043 (exit $ac_status); }; }; then
31045 { echo "$as_me:$LINENO: result: yes" >&5
31046 echo "${ECHO_T}yes" >&6; }
31047 cat >>confdefs.h <<\_ACEOF
31048 #define BX_HAVE_STRUCT_TIMEVAL 1
31053 echo "$as_me: failed program was:" >&5
31054 sed 's
/^
/|
/' conftest.$ac_ext >&5
31056 { echo "$as_me:$LINENO: result: no" >&5
31057 echo "${ECHO_T}no" >&6; }
31060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31062 { echo "$as_me:$LINENO: checking if compiler allows empty structs" >&5
31063 echo $ECHO_N "checking if compiler allows empty structs... $ECHO_C" >&6; }
31064 cat >conftest.$ac_ext <<_ACEOF
31067 cat confdefs.h >>conftest.$ac_ext
31068 cat >>conftest.$ac_ext <<_ACEOF
31069 /* end confdefs.h. */
31074 typedef struct { } junk;
31079 rm -f conftest.$ac_objext
31080 if { (ac_try="$ac_compile"
31081 case "(($ac_try" in
31082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31083 *) ac_try_echo=$ac_try;;
31085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31086 (eval "$ac_compile") 2>conftest.er1
31088 grep -v '^
*+' conftest.er1 >conftest.err
31090 cat conftest.err >&5
31091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31092 (exit $ac_status); } &&
31093 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
31094 { (case "(($ac_try" in
31095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31096 *) ac_try_echo=$ac_try;;
31098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31099 (eval "$ac_try") 2>&5
31101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31102 (exit $ac_status); }; } &&
31103 { ac_try='test -s conftest.
$ac_objext'
31104 { (case "(($ac_try" in
31105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31106 *) ac_try_echo=$ac_try;;
31108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31109 (eval "$ac_try") 2>&5
31111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31112 (exit $ac_status); }; }; then
31113 { echo "$as_me:$LINENO: result: yes" >&5
31114 echo "${ECHO_T}yes" >&6; }
31116 echo "$as_me: failed program was:" >&5
31117 sed 's
/^
/|
/' conftest.$ac_ext >&5
31120 cat >>confdefs.h <<\_ACEOF
31121 #define BX_NO_EMPTY_STRUCTS 1
31124 { echo "$as_me:$LINENO: result: no" >&5
31125 echo "${ECHO_T}no" >&6; }
31129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31131 { echo "$as_me:$LINENO: checking if compiler allows __attribute__" >&5
31132 echo $ECHO_N "checking if compiler allows __attribute__... $ECHO_C" >&6; }
31133 cat >conftest.$ac_ext <<_ACEOF
31136 cat confdefs.h >>conftest.$ac_ext
31137 cat >>conftest.$ac_ext <<_ACEOF
31138 /* end confdefs.h. */
31143 typedef struct { } __attribute__ ((packed)) junk;
31148 rm -f conftest.$ac_objext
31149 if { (ac_try="$ac_compile"
31150 case "(($ac_try" in
31151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31152 *) ac_try_echo=$ac_try;;
31154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31155 (eval "$ac_compile") 2>conftest.er1
31157 grep -v '^
*+' conftest.er1 >conftest.err
31159 cat conftest.err >&5
31160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31161 (exit $ac_status); } &&
31162 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
31163 { (case "(($ac_try" in
31164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31165 *) ac_try_echo=$ac_try;;
31167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31168 (eval "$ac_try") 2>&5
31170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31171 (exit $ac_status); }; } &&
31172 { ac_try='test -s conftest.
$ac_objext'
31173 { (case "(($ac_try" in
31174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31175 *) ac_try_echo=$ac_try;;
31177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31178 (eval "$ac_try") 2>&5
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); }; }; then
31182 { echo "$as_me:$LINENO: result: yes" >&5
31183 echo "${ECHO_T}yes" >&6; }
31185 echo "$as_me: failed program was:" >&5
31186 sed 's
/^
/|
/' conftest.$ac_ext >&5
31189 { echo "$as_me:$LINENO: result: no" >&5
31190 echo "${ECHO_T}no" >&6; }
31191 cat >>confdefs.h <<\_ACEOF
31192 #define BX_NO_ATTRIBUTES 1
31198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31202 ac_cpp='$CXXCPP $CPPFLAGS'
31203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
31204 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
31205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31207 { echo "$as_me:$LINENO: checking for hash_map" >&5
31208 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
31209 cat >conftest.$ac_ext <<_ACEOF
31212 cat confdefs.h >>conftest.$ac_ext
31213 cat >>conftest.$ac_ext <<_ACEOF
31214 /* end confdefs.h. */
31215 #include <hash_map>
31224 rm -f conftest.$ac_objext
31225 if { (ac_try="$ac_compile"
31226 case "(($ac_try" in
31227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31228 *) ac_try_echo=$ac_try;;
31230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31231 (eval "$ac_compile") 2>conftest.er1
31233 grep -v '^
*+' conftest.er1 >conftest.err
31235 cat conftest.err >&5
31236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31237 (exit $ac_status); } &&
31238 { ac_try='test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
'
31239 { (case "(($ac_try" in
31240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31241 *) ac_try_echo=$ac_try;;
31243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31244 (eval "$ac_try") 2>&5
31246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31247 (exit $ac_status); }; } &&
31248 { ac_try='test -s conftest.
$ac_objext'
31249 { (case "(($ac_try" in
31250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31251 *) ac_try_echo=$ac_try;;
31253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31254 (eval "$ac_try") 2>&5
31256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31257 (exit $ac_status); }; }; then
31259 { echo "$as_me:$LINENO: result: yes" >&5
31260 echo "${ECHO_T}yes" >&6; }
31261 cat >>confdefs.h <<\_ACEOF
31262 #define BX_HAVE_HASH_MAP 1
31267 echo "$as_me: failed program was:" >&5
31268 sed 's
/^
/|
/' conftest.$ac_ext >&5
31270 { echo "$as_me:$LINENO: result: no" >&5
31271 echo "${ECHO_T}no" >&6; }
31274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31275 { echo "$as_me:$LINENO: checking for hash_map.h" >&5
31276 echo $ECHO_N "checking for hash_map.h... $ECHO_C" >&6; }
31277 cat >conftest.$ac_ext <<_ACEOF
31280 cat confdefs.h >>conftest.$ac_ext
31281 cat >>conftest.$ac_ext <<_ACEOF
31282 /* end confdefs.h. */
31283 #include <hash_map.h>
31292 rm -f conftest.$ac_objext
31293 if { (ac_try="$ac_compile"
31294 case "(($ac_try" in
31295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31296 *) ac_try_echo=$ac_try;;
31298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31299 (eval "$ac_compile") 2>conftest.er1
31301 grep -v '^
*+' conftest.er1 >conftest.err
31303 cat conftest.err >&5
31304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31305 (exit $ac_status); } &&
31306 { ac_try='test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
'
31307 { (case "(($ac_try" in
31308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31309 *) ac_try_echo=$ac_try;;
31311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31312 (eval "$ac_try") 2>&5
31314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31315 (exit $ac_status); }; } &&
31316 { ac_try='test -s conftest.
$ac_objext'
31317 { (case "(($ac_try" in
31318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31319 *) ac_try_echo=$ac_try;;
31321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31322 (eval "$ac_try") 2>&5
31324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31325 (exit $ac_status); }; }; then
31327 { echo "$as_me:$LINENO: result: yes" >&5
31328 echo "${ECHO_T}yes" >&6; }
31329 cat >>confdefs.h <<\_ACEOF
31330 #define BX_HAVE_HASH_MAP_H 1
31335 echo "$as_me: failed program was:" >&5
31336 sed 's
/^
/|
/' conftest.$ac_ext >&5
31338 { echo "$as_me:$LINENO: result: no" >&5
31339 echo "${ECHO_T}no" >&6; }
31342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31343 { echo "$as_me:$LINENO: checking for set" >&5
31344 echo $ECHO_N "checking for set... $ECHO_C" >&6; }
31345 cat >conftest.$ac_ext <<_ACEOF
31348 cat confdefs.h >>conftest.$ac_ext
31349 cat >>conftest.$ac_ext <<_ACEOF
31350 /* end confdefs.h. */
31360 rm -f conftest.$ac_objext
31361 if { (ac_try="$ac_compile"
31362 case "(($ac_try" in
31363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31364 *) ac_try_echo=$ac_try;;
31366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31367 (eval "$ac_compile") 2>conftest.er1
31369 grep -v '^
*+' conftest.er1 >conftest.err
31371 cat conftest.err >&5
31372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31373 (exit $ac_status); } &&
31374 { ac_try='test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
'
31375 { (case "(($ac_try" in
31376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31377 *) ac_try_echo=$ac_try;;
31379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31380 (eval "$ac_try") 2>&5
31382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31383 (exit $ac_status); }; } &&
31384 { ac_try='test -s conftest.
$ac_objext'
31385 { (case "(($ac_try" in
31386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31387 *) ac_try_echo=$ac_try;;
31389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31390 (eval "$ac_try") 2>&5
31392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31393 (exit $ac_status); }; }; then
31395 { echo "$as_me:$LINENO: result: yes" >&5
31396 echo "${ECHO_T}yes" >&6; }
31397 cat >>confdefs.h <<\_ACEOF
31398 #define BX_HAVE_SET 1
31403 echo "$as_me: failed program was:" >&5
31404 sed 's
/^
/|
/' conftest.$ac_ext >&5
31406 { echo "$as_me:$LINENO: result: no" >&5
31407 echo "${ECHO_T}no" >&6; }
31410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31411 { echo "$as_me:$LINENO: checking for set.h" >&5
31412 echo $ECHO_N "checking for set.h... $ECHO_C" >&6; }
31413 cat >conftest.$ac_ext <<_ACEOF
31416 cat confdefs.h >>conftest.$ac_ext
31417 cat >>conftest.$ac_ext <<_ACEOF
31418 /* end confdefs.h. */
31428 rm -f conftest.$ac_objext
31429 if { (ac_try="$ac_compile"
31430 case "(($ac_try" in
31431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31432 *) ac_try_echo=$ac_try;;
31434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31435 (eval "$ac_compile") 2>conftest.er1
31437 grep -v '^
*+' conftest.er1 >conftest.err
31439 cat conftest.err >&5
31440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31441 (exit $ac_status); } &&
31442 { ac_try='test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
'
31443 { (case "(($ac_try" in
31444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31445 *) ac_try_echo=$ac_try;;
31447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31448 (eval "$ac_try") 2>&5
31450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31451 (exit $ac_status); }; } &&
31452 { ac_try='test -s conftest.
$ac_objext'
31453 { (case "(($ac_try" in
31454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31455 *) ac_try_echo=$ac_try;;
31457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31458 (eval "$ac_try") 2>&5
31460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31461 (exit $ac_status); }; }; then
31463 { echo "$as_me:$LINENO: result: yes" >&5
31464 echo "${ECHO_T}yes" >&6; }
31465 cat >>confdefs.h <<\_ACEOF
31466 #define BX_HAVE_SET_H 1
31471 echo "$as_me: failed program was:" >&5
31472 sed 's
/^
/|
/' conftest.$ac_ext >&5
31474 { echo "$as_me:$LINENO: result: no" >&5
31475 echo "${ECHO_T}no" >&6; }
31478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31480 ac_cpp='$CPP $CPPFLAGS'
31481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
31482 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
31483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31486 if test "$with_all_libs" = yes; then
31487 if test "$cross_configure" = 1; then
31488 { 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
31489 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;}
31491 if test "$with_beos" != yes; then
31493 if test "${ac_cv_header_app_Application_h+set}" = set; then
31494 { echo "$as_me:$LINENO: checking for app/Application.h" >&5
31495 echo $ECHO_N "checking for app/Application.h... $ECHO_C" >&6; }
31496 if test "${ac_cv_header_app_Application_h+set}" = set; then
31497 echo $ECHO_N "(cached) $ECHO_C" >&6
31499 { echo "$as_me:$LINENO: result: $ac_cv_header_app_Application_h" >&5
31500 echo "${ECHO_T}$ac_cv_header_app_Application_h" >&6; }
31502 # Is the header compilable?
31503 { echo "$as_me:$LINENO: checking app/Application.h usability" >&5
31504 echo $ECHO_N "checking app/Application.h usability... $ECHO_C" >&6; }
31505 cat >conftest.$ac_ext <<_ACEOF
31508 cat confdefs.h >>conftest.$ac_ext
31509 cat >>conftest.$ac_ext <<_ACEOF
31510 /* end confdefs.h. */
31511 $ac_includes_default
31512 #include <app/Application.h>
31514 rm -f conftest.$ac_objext
31515 if { (ac_try="$ac_compile"
31516 case "(($ac_try" in
31517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31518 *) ac_try_echo=$ac_try;;
31520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31521 (eval "$ac_compile") 2>conftest.er1
31523 grep -v '^
*+' conftest.er1 >conftest.err
31525 cat conftest.err >&5
31526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31527 (exit $ac_status); } &&
31528 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
31529 { (case "(($ac_try" in
31530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31531 *) ac_try_echo=$ac_try;;
31533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31534 (eval "$ac_try") 2>&5
31536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31537 (exit $ac_status); }; } &&
31538 { ac_try='test -s conftest.
$ac_objext'
31539 { (case "(($ac_try" in
31540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31541 *) ac_try_echo=$ac_try;;
31543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31544 (eval "$ac_try") 2>&5
31546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31547 (exit $ac_status); }; }; then
31548 ac_header_compiler=yes
31550 echo "$as_me: failed program was:" >&5
31551 sed 's
/^
/|
/' conftest.$ac_ext >&5
31553 ac_header_compiler=no
31556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31557 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31558 echo "${ECHO_T}$ac_header_compiler" >&6; }
31560 # Is the header present?
31561 { echo "$as_me:$LINENO: checking app/Application.h presence" >&5
31562 echo $ECHO_N "checking app/Application.h presence... $ECHO_C" >&6; }
31563 cat >conftest.$ac_ext <<_ACEOF
31566 cat confdefs.h >>conftest.$ac_ext
31567 cat >>conftest.$ac_ext <<_ACEOF
31568 /* end confdefs.h. */
31569 #include <app/Application.h>
31571 if { (ac_try="$ac_cpp conftest.$ac_ext"
31572 case "(($ac_try" in
31573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31574 *) ac_try_echo=$ac_try;;
31576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31577 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31579 grep -v '^
*+' conftest.er1 >conftest.err
31581 cat conftest.err >&5
31582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31583 (exit $ac_status); } >/dev/null; then
31584 if test -s conftest.err; then
31585 ac_cpp_err=$ac_c_preproc_warn_flag
31586 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31593 if test -z "$ac_cpp_err"; then
31594 ac_header_preproc=yes
31596 echo "$as_me: failed program was:" >&5
31597 sed 's
/^
/|
/' conftest.$ac_ext >&5
31599 ac_header_preproc=no
31602 rm -f conftest.err conftest.$ac_ext
31603 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31604 echo "${ECHO_T}$ac_header_preproc" >&6; }
31606 # So? What about this header?
31607 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31609 { echo "$as_me:$LINENO: WARNING: app/Application.h: accepted by the compiler, rejected by the preprocessor!" >&5
31610 echo "$as_me: WARNING: app/Application.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31611 { echo "$as_me:$LINENO: WARNING: app/Application.h: proceeding with the compiler's result
" >&5
31612 echo "$as_me: WARNING
: app
/Application.h
: proceeding with the compiler
's result" >&2;}
31613 ac_header_preproc=yes
31616 { echo "$as_me:$LINENO: WARNING: app/Application.h: present but cannot be compiled" >&5
31617 echo "$as_me: WARNING: app/Application.h: present but cannot be compiled" >&2;}
31618 { echo "$as_me:$LINENO: WARNING: app/Application.h: check for missing prerequisite headers?" >&5
31619 echo "$as_me: WARNING: app/Application.h: check for missing prerequisite headers?" >&2;}
31620 { echo "$as_me:$LINENO: WARNING: app/Application.h: see the Autoconf documentation" >&5
31621 echo "$as_me: WARNING: app/Application.h: see the Autoconf documentation" >&2;}
31622 { echo "$as_me:$LINENO: WARNING: app/Application.h: section \"Present But Cannot Be Compiled\"" >&5
31623 echo "$as_me: WARNING: app/Application.h: section \"Present But Cannot Be Compiled\"" >&2;}
31624 { echo "$as_me:$LINENO: WARNING: app/Application.h: proceeding with the preprocessor's result
" >&5
31625 echo "$as_me: WARNING
: app
/Application.h
: proceeding with the preprocessor
's result" >&2;}
31626 { echo "$as_me:$LINENO: WARNING: app/Application.h: in the future, the compiler will take precedence" >&5
31627 echo "$as_me: WARNING: app/Application.h: in the future, the compiler will take precedence" >&2;}
31631 { echo "$as_me:$LINENO: checking for app/Application.h" >&5
31632 echo $ECHO_N "checking for app/Application.h... $ECHO_C" >&6; }
31633 if test "${ac_cv_header_app_Application_h+set}" = set; then
31634 echo $ECHO_N "(cached) $ECHO_C" >&6
31636 ac_cv_header_app_Application_h=$ac_header_preproc
31638 { echo "$as_me:$LINENO: result: $ac_cv_header_app_Application_h" >&5
31639 echo "${ECHO_T}$ac_cv_header_app_Application_h" >&6; }
31642 if test $ac_cv_header_app_Application_h = yes; then
31649 if test "${ac_cv_header_interface_Window_h+set}" = set; then
31650 { echo "$as_me:$LINENO: checking for interface/Window.h" >&5
31651 echo $ECHO_N "checking for interface/Window.h... $ECHO_C" >&6; }
31652 if test "${ac_cv_header_interface_Window_h+set}" = set; then
31653 echo $ECHO_N "(cached) $ECHO_C" >&6
31655 { echo "$as_me:$LINENO: result: $ac_cv_header_interface_Window_h" >&5
31656 echo "${ECHO_T}$ac_cv_header_interface_Window_h" >&6; }
31658 # Is the header compilable?
31659 { echo "$as_me:$LINENO: checking interface/Window.h usability" >&5
31660 echo $ECHO_N "checking interface/Window.h usability... $ECHO_C" >&6; }
31661 cat >conftest.$ac_ext <<_ACEOF
31664 cat confdefs.h >>conftest.$ac_ext
31665 cat >>conftest.$ac_ext <<_ACEOF
31666 /* end confdefs.h. */
31667 $ac_includes_default
31668 #include <interface/Window.h>
31670 rm -f conftest.$ac_objext
31671 if { (ac_try="$ac_compile"
31672 case "(($ac_try" in
31673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31674 *) ac_try_echo=$ac_try;;
31676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31677 (eval "$ac_compile") 2>conftest.er1
31679 grep -v '^
*+' conftest.er1 >conftest.err
31681 cat conftest.err >&5
31682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31683 (exit $ac_status); } &&
31684 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
31685 { (case "(($ac_try" in
31686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31687 *) ac_try_echo=$ac_try;;
31689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31690 (eval "$ac_try") 2>&5
31692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693 (exit $ac_status); }; } &&
31694 { ac_try='test -s conftest.
$ac_objext'
31695 { (case "(($ac_try" in
31696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31697 *) ac_try_echo=$ac_try;;
31699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31700 (eval "$ac_try") 2>&5
31702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31703 (exit $ac_status); }; }; then
31704 ac_header_compiler=yes
31706 echo "$as_me: failed program was:" >&5
31707 sed 's
/^
/|
/' conftest.$ac_ext >&5
31709 ac_header_compiler=no
31712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31713 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31714 echo "${ECHO_T}$ac_header_compiler" >&6; }
31716 # Is the header present?
31717 { echo "$as_me:$LINENO: checking interface/Window.h presence" >&5
31718 echo $ECHO_N "checking interface/Window.h presence... $ECHO_C" >&6; }
31719 cat >conftest.$ac_ext <<_ACEOF
31722 cat confdefs.h >>conftest.$ac_ext
31723 cat >>conftest.$ac_ext <<_ACEOF
31724 /* end confdefs.h. */
31725 #include <interface/Window.h>
31727 if { (ac_try="$ac_cpp conftest.$ac_ext"
31728 case "(($ac_try" in
31729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31730 *) ac_try_echo=$ac_try;;
31732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31733 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31735 grep -v '^
*+' conftest.er1 >conftest.err
31737 cat conftest.err >&5
31738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739 (exit $ac_status); } >/dev/null; then
31740 if test -s conftest.err; then
31741 ac_cpp_err=$ac_c_preproc_warn_flag
31742 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31749 if test -z "$ac_cpp_err"; then
31750 ac_header_preproc=yes
31752 echo "$as_me: failed program was:" >&5
31753 sed 's
/^
/|
/' conftest.$ac_ext >&5
31755 ac_header_preproc=no
31758 rm -f conftest.err conftest.$ac_ext
31759 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31760 echo "${ECHO_T}$ac_header_preproc" >&6; }
31762 # So? What about this header?
31763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31765 { echo "$as_me:$LINENO: WARNING: interface/Window.h: accepted by the compiler, rejected by the preprocessor!" >&5
31766 echo "$as_me: WARNING: interface/Window.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31767 { echo "$as_me:$LINENO: WARNING: interface/Window.h: proceeding with the compiler's result
" >&5
31768 echo "$as_me: WARNING
: interface
/Window.h
: proceeding with the compiler
's result" >&2;}
31769 ac_header_preproc=yes
31772 { echo "$as_me:$LINENO: WARNING: interface/Window.h: present but cannot be compiled" >&5
31773 echo "$as_me: WARNING: interface/Window.h: present but cannot be compiled" >&2;}
31774 { echo "$as_me:$LINENO: WARNING: interface/Window.h: check for missing prerequisite headers?" >&5
31775 echo "$as_me: WARNING: interface/Window.h: check for missing prerequisite headers?" >&2;}
31776 { echo "$as_me:$LINENO: WARNING: interface/Window.h: see the Autoconf documentation" >&5
31777 echo "$as_me: WARNING: interface/Window.h: see the Autoconf documentation" >&2;}
31778 { echo "$as_me:$LINENO: WARNING: interface/Window.h: section \"Present But Cannot Be Compiled\"" >&5
31779 echo "$as_me: WARNING: interface/Window.h: section \"Present But Cannot Be Compiled\"" >&2;}
31780 { echo "$as_me:$LINENO: WARNING: interface/Window.h: proceeding with the preprocessor's result
" >&5
31781 echo "$as_me: WARNING
: interface
/Window.h
: proceeding with the preprocessor
's result" >&2;}
31782 { echo "$as_me:$LINENO: WARNING: interface/Window.h: in the future, the compiler will take precedence" >&5
31783 echo "$as_me: WARNING: interface/Window.h: in the future, the compiler will take precedence" >&2;}
31787 { echo "$as_me:$LINENO: checking for interface/Window.h" >&5
31788 echo $ECHO_N "checking for interface/Window.h... $ECHO_C" >&6; }
31789 if test "${ac_cv_header_interface_Window_h+set}" = set; then
31790 echo $ECHO_N "(cached) $ECHO_C" >&6
31792 ac_cv_header_interface_Window_h=$ac_header_preproc
31794 { echo "$as_me:$LINENO: result: $ac_cv_header_interface_Window_h" >&5
31795 echo "${ECHO_T}$ac_cv_header_interface_Window_h" >&6; }
31798 if test $ac_cv_header_interface_Window_h = yes; then
31805 if test "${ac_cv_header_interface_View_h+set}" = set; then
31806 { echo "$as_me:$LINENO: checking for interface/View.h" >&5
31807 echo $ECHO_N "checking for interface/View.h... $ECHO_C" >&6; }
31808 if test "${ac_cv_header_interface_View_h+set}" = set; then
31809 echo $ECHO_N "(cached) $ECHO_C" >&6
31811 { echo "$as_me:$LINENO: result: $ac_cv_header_interface_View_h" >&5
31812 echo "${ECHO_T}$ac_cv_header_interface_View_h" >&6; }
31814 # Is the header compilable?
31815 { echo "$as_me:$LINENO: checking interface/View.h usability" >&5
31816 echo $ECHO_N "checking interface/View.h usability... $ECHO_C" >&6; }
31817 cat >conftest.$ac_ext <<_ACEOF
31820 cat confdefs.h >>conftest.$ac_ext
31821 cat >>conftest.$ac_ext <<_ACEOF
31822 /* end confdefs.h. */
31823 $ac_includes_default
31824 #include <interface/View.h>
31826 rm -f conftest.$ac_objext
31827 if { (ac_try="$ac_compile"
31828 case "(($ac_try" in
31829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31830 *) ac_try_echo=$ac_try;;
31832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31833 (eval "$ac_compile") 2>conftest.er1
31835 grep -v '^
*+' conftest.er1 >conftest.err
31837 cat conftest.err >&5
31838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31839 (exit $ac_status); } &&
31840 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
31841 { (case "(($ac_try" in
31842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31843 *) ac_try_echo=$ac_try;;
31845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31846 (eval "$ac_try") 2>&5
31848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31849 (exit $ac_status); }; } &&
31850 { ac_try='test -s conftest.
$ac_objext'
31851 { (case "(($ac_try" in
31852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31853 *) ac_try_echo=$ac_try;;
31855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31856 (eval "$ac_try") 2>&5
31858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31859 (exit $ac_status); }; }; then
31860 ac_header_compiler=yes
31862 echo "$as_me: failed program was:" >&5
31863 sed 's
/^
/|
/' conftest.$ac_ext >&5
31865 ac_header_compiler=no
31868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31869 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31870 echo "${ECHO_T}$ac_header_compiler" >&6; }
31872 # Is the header present?
31873 { echo "$as_me:$LINENO: checking interface/View.h presence" >&5
31874 echo $ECHO_N "checking interface/View.h presence... $ECHO_C" >&6; }
31875 cat >conftest.$ac_ext <<_ACEOF
31878 cat confdefs.h >>conftest.$ac_ext
31879 cat >>conftest.$ac_ext <<_ACEOF
31880 /* end confdefs.h. */
31881 #include <interface/View.h>
31883 if { (ac_try="$ac_cpp conftest.$ac_ext"
31884 case "(($ac_try" in
31885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31886 *) ac_try_echo=$ac_try;;
31888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31889 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31891 grep -v '^
*+' conftest.er1 >conftest.err
31893 cat conftest.err >&5
31894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31895 (exit $ac_status); } >/dev/null; then
31896 if test -s conftest.err; then
31897 ac_cpp_err=$ac_c_preproc_warn_flag
31898 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31905 if test -z "$ac_cpp_err"; then
31906 ac_header_preproc=yes
31908 echo "$as_me: failed program was:" >&5
31909 sed 's
/^
/|
/' conftest.$ac_ext >&5
31911 ac_header_preproc=no
31914 rm -f conftest.err conftest.$ac_ext
31915 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31916 echo "${ECHO_T}$ac_header_preproc" >&6; }
31918 # So? What about this header?
31919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31921 { echo "$as_me:$LINENO: WARNING: interface/View.h: accepted by the compiler, rejected by the preprocessor!" >&5
31922 echo "$as_me: WARNING: interface/View.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31923 { echo "$as_me:$LINENO: WARNING: interface/View.h: proceeding with the compiler's result
" >&5
31924 echo "$as_me: WARNING
: interface
/View.h
: proceeding with the compiler
's result" >&2;}
31925 ac_header_preproc=yes
31928 { echo "$as_me:$LINENO: WARNING: interface/View.h: present but cannot be compiled" >&5
31929 echo "$as_me: WARNING: interface/View.h: present but cannot be compiled" >&2;}
31930 { echo "$as_me:$LINENO: WARNING: interface/View.h: check for missing prerequisite headers?" >&5
31931 echo "$as_me: WARNING: interface/View.h: check for missing prerequisite headers?" >&2;}
31932 { echo "$as_me:$LINENO: WARNING: interface/View.h: see the Autoconf documentation" >&5
31933 echo "$as_me: WARNING: interface/View.h: see the Autoconf documentation" >&2;}
31934 { echo "$as_me:$LINENO: WARNING: interface/View.h: section \"Present But Cannot Be Compiled\"" >&5
31935 echo "$as_me: WARNING: interface/View.h: section \"Present But Cannot Be Compiled\"" >&2;}
31936 { echo "$as_me:$LINENO: WARNING: interface/View.h: proceeding with the preprocessor's result
" >&5
31937 echo "$as_me: WARNING
: interface
/View.h
: proceeding with the preprocessor
's result" >&2;}
31938 { echo "$as_me:$LINENO: WARNING: interface/View.h: in the future, the compiler will take precedence" >&5
31939 echo "$as_me: WARNING: interface/View.h: in the future, the compiler will take precedence" >&2;}
31943 { echo "$as_me:$LINENO: checking for interface/View.h" >&5
31944 echo $ECHO_N "checking for interface/View.h... $ECHO_C" >&6; }
31945 if test "${ac_cv_header_interface_View_h+set}" = set; then
31946 echo $ECHO_N "(cached) $ECHO_C" >&6
31948 ac_cv_header_interface_View_h=$ac_header_preproc
31950 { echo "$as_me:$LINENO: result: $ac_cv_header_interface_View_h" >&5
31951 echo "${ECHO_T}$ac_cv_header_interface_View_h" >&6; }
31954 if test $ac_cv_header_interface_View_h = yes; then
31961 if test $can_compile_beos = 1; then
31966 if test "$with_amigaos" != yes; then
31967 can_compile_amigaos=1
31968 if test "${ac_cv_header_proto_intuition_h+set}" = set; then
31969 { echo "$as_me:$LINENO: checking for proto/intuition.h" >&5
31970 echo $ECHO_N "checking for proto/intuition.h... $ECHO_C" >&6; }
31971 if test "${ac_cv_header_proto_intuition_h+set}" = set; then
31972 echo $ECHO_N "(cached) $ECHO_C" >&6
31974 { echo "$as_me:$LINENO: result: $ac_cv_header_proto_intuition_h" >&5
31975 echo "${ECHO_T}$ac_cv_header_proto_intuition_h" >&6; }
31977 # Is the header compilable?
31978 { echo "$as_me:$LINENO: checking proto/intuition.h usability" >&5
31979 echo $ECHO_N "checking proto/intuition.h usability... $ECHO_C" >&6; }
31980 cat >conftest.$ac_ext <<_ACEOF
31983 cat confdefs.h >>conftest.$ac_ext
31984 cat >>conftest.$ac_ext <<_ACEOF
31985 /* end confdefs.h. */
31986 $ac_includes_default
31987 #include <proto/intuition.h>
31989 rm -f conftest.$ac_objext
31990 if { (ac_try="$ac_compile"
31991 case "(($ac_try" in
31992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31993 *) ac_try_echo=$ac_try;;
31995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31996 (eval "$ac_compile") 2>conftest.er1
31998 grep -v '^
*+' conftest.er1 >conftest.err
32000 cat conftest.err >&5
32001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32002 (exit $ac_status); } &&
32003 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
32004 { (case "(($ac_try" in
32005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32006 *) ac_try_echo=$ac_try;;
32008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32009 (eval "$ac_try") 2>&5
32011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32012 (exit $ac_status); }; } &&
32013 { ac_try='test -s conftest.
$ac_objext'
32014 { (case "(($ac_try" in
32015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32016 *) ac_try_echo=$ac_try;;
32018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32019 (eval "$ac_try") 2>&5
32021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32022 (exit $ac_status); }; }; then
32023 ac_header_compiler=yes
32025 echo "$as_me: failed program was:" >&5
32026 sed 's
/^
/|
/' conftest.$ac_ext >&5
32028 ac_header_compiler=no
32031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32032 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32033 echo "${ECHO_T}$ac_header_compiler" >&6; }
32035 # Is the header present?
32036 { echo "$as_me:$LINENO: checking proto/intuition.h presence" >&5
32037 echo $ECHO_N "checking proto/intuition.h presence... $ECHO_C" >&6; }
32038 cat >conftest.$ac_ext <<_ACEOF
32041 cat confdefs.h >>conftest.$ac_ext
32042 cat >>conftest.$ac_ext <<_ACEOF
32043 /* end confdefs.h. */
32044 #include <proto/intuition.h>
32046 if { (ac_try="$ac_cpp conftest.$ac_ext"
32047 case "(($ac_try" in
32048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32049 *) ac_try_echo=$ac_try;;
32051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32052 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32054 grep -v '^
*+' conftest.er1 >conftest.err
32056 cat conftest.err >&5
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); } >/dev/null; then
32059 if test -s conftest.err; then
32060 ac_cpp_err=$ac_c_preproc_warn_flag
32061 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32068 if test -z "$ac_cpp_err"; then
32069 ac_header_preproc=yes
32071 echo "$as_me: failed program was:" >&5
32072 sed 's
/^
/|
/' conftest.$ac_ext >&5
32074 ac_header_preproc=no
32077 rm -f conftest.err conftest.$ac_ext
32078 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32079 echo "${ECHO_T}$ac_header_preproc" >&6; }
32081 # So? What about this header?
32082 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32084 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: accepted by the compiler, rejected by the preprocessor!" >&5
32085 echo "$as_me: WARNING: proto/intuition.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32086 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: proceeding with the compiler's result
" >&5
32087 echo "$as_me: WARNING
: proto
/intuition.h
: proceeding with the compiler
's result" >&2;}
32088 ac_header_preproc=yes
32091 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: present but cannot be compiled" >&5
32092 echo "$as_me: WARNING: proto/intuition.h: present but cannot be compiled" >&2;}
32093 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: check for missing prerequisite headers?" >&5
32094 echo "$as_me: WARNING: proto/intuition.h: check for missing prerequisite headers?" >&2;}
32095 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: see the Autoconf documentation" >&5
32096 echo "$as_me: WARNING: proto/intuition.h: see the Autoconf documentation" >&2;}
32097 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: section \"Present But Cannot Be Compiled\"" >&5
32098 echo "$as_me: WARNING: proto/intuition.h: section \"Present But Cannot Be Compiled\"" >&2;}
32099 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: proceeding with the preprocessor's result
" >&5
32100 echo "$as_me: WARNING
: proto
/intuition.h
: proceeding with the preprocessor
's result" >&2;}
32101 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: in the future, the compiler will take precedence" >&5
32102 echo "$as_me: WARNING: proto/intuition.h: in the future, the compiler will take precedence" >&2;}
32106 { echo "$as_me:$LINENO: checking for proto/intuition.h" >&5
32107 echo $ECHO_N "checking for proto/intuition.h... $ECHO_C" >&6; }
32108 if test "${ac_cv_header_proto_intuition_h+set}" = set; then
32109 echo $ECHO_N "(cached) $ECHO_C" >&6
32111 ac_cv_header_proto_intuition_h=$ac_header_preproc
32113 { echo "$as_me:$LINENO: result: $ac_cv_header_proto_intuition_h" >&5
32114 echo "${ECHO_T}$ac_cv_header_proto_intuition_h" >&6; }
32117 if test $ac_cv_header_proto_intuition_h = yes; then
32120 can_compile_amigaos=0
32124 if test "${ac_cv_header_intuition_intuitionbase_h+set}" = set; then
32125 { echo "$as_me:$LINENO: checking for intuition/intuitionbase.h" >&5
32126 echo $ECHO_N "checking for intuition/intuitionbase.h... $ECHO_C" >&6; }
32127 if test "${ac_cv_header_intuition_intuitionbase_h+set}" = set; then
32128 echo $ECHO_N "(cached) $ECHO_C" >&6
32130 { echo "$as_me:$LINENO: result: $ac_cv_header_intuition_intuitionbase_h" >&5
32131 echo "${ECHO_T}$ac_cv_header_intuition_intuitionbase_h" >&6; }
32133 # Is the header compilable?
32134 { echo "$as_me:$LINENO: checking intuition/intuitionbase.h usability" >&5
32135 echo $ECHO_N "checking intuition/intuitionbase.h usability... $ECHO_C" >&6; }
32136 cat >conftest.$ac_ext <<_ACEOF
32139 cat confdefs.h >>conftest.$ac_ext
32140 cat >>conftest.$ac_ext <<_ACEOF
32141 /* end confdefs.h. */
32142 $ac_includes_default
32143 #include <intuition/intuitionbase.h>
32145 rm -f conftest.$ac_objext
32146 if { (ac_try="$ac_compile"
32147 case "(($ac_try" in
32148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32149 *) ac_try_echo=$ac_try;;
32151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32152 (eval "$ac_compile") 2>conftest.er1
32154 grep -v '^
*+' conftest.er1 >conftest.err
32156 cat conftest.err >&5
32157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32158 (exit $ac_status); } &&
32159 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
32160 { (case "(($ac_try" in
32161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32162 *) ac_try_echo=$ac_try;;
32164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32165 (eval "$ac_try") 2>&5
32167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32168 (exit $ac_status); }; } &&
32169 { ac_try='test -s conftest.
$ac_objext'
32170 { (case "(($ac_try" in
32171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32172 *) ac_try_echo=$ac_try;;
32174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32175 (eval "$ac_try") 2>&5
32177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32178 (exit $ac_status); }; }; then
32179 ac_header_compiler=yes
32181 echo "$as_me: failed program was:" >&5
32182 sed 's
/^
/|
/' conftest.$ac_ext >&5
32184 ac_header_compiler=no
32187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32188 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32189 echo "${ECHO_T}$ac_header_compiler" >&6; }
32191 # Is the header present?
32192 { echo "$as_me:$LINENO: checking intuition/intuitionbase.h presence" >&5
32193 echo $ECHO_N "checking intuition/intuitionbase.h presence... $ECHO_C" >&6; }
32194 cat >conftest.$ac_ext <<_ACEOF
32197 cat confdefs.h >>conftest.$ac_ext
32198 cat >>conftest.$ac_ext <<_ACEOF
32199 /* end confdefs.h. */
32200 #include <intuition/intuitionbase.h>
32202 if { (ac_try="$ac_cpp conftest.$ac_ext"
32203 case "(($ac_try" in
32204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32205 *) ac_try_echo=$ac_try;;
32207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32208 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32210 grep -v '^
*+' conftest.er1 >conftest.err
32212 cat conftest.err >&5
32213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32214 (exit $ac_status); } >/dev/null; then
32215 if test -s conftest.err; then
32216 ac_cpp_err=$ac_c_preproc_warn_flag
32217 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32224 if test -z "$ac_cpp_err"; then
32225 ac_header_preproc=yes
32227 echo "$as_me: failed program was:" >&5
32228 sed 's
/^
/|
/' conftest.$ac_ext >&5
32230 ac_header_preproc=no
32233 rm -f conftest.err conftest.$ac_ext
32234 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32235 echo "${ECHO_T}$ac_header_preproc" >&6; }
32237 # So? What about this header?
32238 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32240 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: accepted by the compiler, rejected by the preprocessor!" >&5
32241 echo "$as_me: WARNING: intuition/intuitionbase.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32242 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: proceeding with the compiler's result
" >&5
32243 echo "$as_me: WARNING
: intuition
/intuitionbase.h
: proceeding with the compiler
's result" >&2;}
32244 ac_header_preproc=yes
32247 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: present but cannot be compiled" >&5
32248 echo "$as_me: WARNING: intuition/intuitionbase.h: present but cannot be compiled" >&2;}
32249 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: check for missing prerequisite headers?" >&5
32250 echo "$as_me: WARNING: intuition/intuitionbase.h: check for missing prerequisite headers?" >&2;}
32251 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: see the Autoconf documentation" >&5
32252 echo "$as_me: WARNING: intuition/intuitionbase.h: see the Autoconf documentation" >&2;}
32253 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: section \"Present But Cannot Be Compiled\"" >&5
32254 echo "$as_me: WARNING: intuition/intuitionbase.h: section \"Present But Cannot Be Compiled\"" >&2;}
32255 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: proceeding with the preprocessor's result
" >&5
32256 echo "$as_me: WARNING
: intuition
/intuitionbase.h
: proceeding with the preprocessor
's result" >&2;}
32257 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: in the future, the compiler will take precedence" >&5
32258 echo "$as_me: WARNING: intuition/intuitionbase.h: in the future, the compiler will take precedence" >&2;}
32262 { echo "$as_me:$LINENO: checking for intuition/intuitionbase.h" >&5
32263 echo $ECHO_N "checking for intuition/intuitionbase.h... $ECHO_C" >&6; }
32264 if test "${ac_cv_header_intuition_intuitionbase_h+set}" = set; then
32265 echo $ECHO_N "(cached) $ECHO_C" >&6
32267 ac_cv_header_intuition_intuitionbase_h=$ac_header_preproc
32269 { echo "$as_me:$LINENO: result: $ac_cv_header_intuition_intuitionbase_h" >&5
32270 echo "${ECHO_T}$ac_cv_header_intuition_intuitionbase_h" >&6; }
32273 if test $ac_cv_header_intuition_intuitionbase_h = yes; then
32276 can_compile_amigaos=0
32280 if test "${ac_cv_header_cybergraphx_cybergraphics_h+set}" = set; then
32281 { echo "$as_me:$LINENO: checking for cybergraphx/cybergraphics.h" >&5
32282 echo $ECHO_N "checking for cybergraphx/cybergraphics.h... $ECHO_C" >&6; }
32283 if test "${ac_cv_header_cybergraphx_cybergraphics_h+set}" = set; then
32284 echo $ECHO_N "(cached) $ECHO_C" >&6
32286 { echo "$as_me:$LINENO: result: $ac_cv_header_cybergraphx_cybergraphics_h" >&5
32287 echo "${ECHO_T}$ac_cv_header_cybergraphx_cybergraphics_h" >&6; }
32289 # Is the header compilable?
32290 { echo "$as_me:$LINENO: checking cybergraphx/cybergraphics.h usability" >&5
32291 echo $ECHO_N "checking cybergraphx/cybergraphics.h usability... $ECHO_C" >&6; }
32292 cat >conftest.$ac_ext <<_ACEOF
32295 cat confdefs.h >>conftest.$ac_ext
32296 cat >>conftest.$ac_ext <<_ACEOF
32297 /* end confdefs.h. */
32298 $ac_includes_default
32299 #include <cybergraphx/cybergraphics.h>
32301 rm -f conftest.$ac_objext
32302 if { (ac_try="$ac_compile"
32303 case "(($ac_try" in
32304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32305 *) ac_try_echo=$ac_try;;
32307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32308 (eval "$ac_compile") 2>conftest.er1
32310 grep -v '^
*+' conftest.er1 >conftest.err
32312 cat conftest.err >&5
32313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32314 (exit $ac_status); } &&
32315 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
32316 { (case "(($ac_try" in
32317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32318 *) ac_try_echo=$ac_try;;
32320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32321 (eval "$ac_try") 2>&5
32323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32324 (exit $ac_status); }; } &&
32325 { ac_try='test -s conftest.
$ac_objext'
32326 { (case "(($ac_try" in
32327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32328 *) ac_try_echo=$ac_try;;
32330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32331 (eval "$ac_try") 2>&5
32333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32334 (exit $ac_status); }; }; then
32335 ac_header_compiler=yes
32337 echo "$as_me: failed program was:" >&5
32338 sed 's
/^
/|
/' conftest.$ac_ext >&5
32340 ac_header_compiler=no
32343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32344 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32345 echo "${ECHO_T}$ac_header_compiler" >&6; }
32347 # Is the header present?
32348 { echo "$as_me:$LINENO: checking cybergraphx/cybergraphics.h presence" >&5
32349 echo $ECHO_N "checking cybergraphx/cybergraphics.h presence... $ECHO_C" >&6; }
32350 cat >conftest.$ac_ext <<_ACEOF
32353 cat confdefs.h >>conftest.$ac_ext
32354 cat >>conftest.$ac_ext <<_ACEOF
32355 /* end confdefs.h. */
32356 #include <cybergraphx/cybergraphics.h>
32358 if { (ac_try="$ac_cpp conftest.$ac_ext"
32359 case "(($ac_try" in
32360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32361 *) ac_try_echo=$ac_try;;
32363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32364 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32366 grep -v '^
*+' conftest.er1 >conftest.err
32368 cat conftest.err >&5
32369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32370 (exit $ac_status); } >/dev/null; then
32371 if test -s conftest.err; then
32372 ac_cpp_err=$ac_c_preproc_warn_flag
32373 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32380 if test -z "$ac_cpp_err"; then
32381 ac_header_preproc=yes
32383 echo "$as_me: failed program was:" >&5
32384 sed 's
/^
/|
/' conftest.$ac_ext >&5
32386 ac_header_preproc=no
32389 rm -f conftest.err conftest.$ac_ext
32390 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32391 echo "${ECHO_T}$ac_header_preproc" >&6; }
32393 # So? What about this header?
32394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32396 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: accepted by the compiler, rejected by the preprocessor!" >&5
32397 echo "$as_me: WARNING: cybergraphx/cybergraphics.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32398 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: proceeding with the compiler's result
" >&5
32399 echo "$as_me: WARNING
: cybergraphx
/cybergraphics.h
: proceeding with the compiler
's result" >&2;}
32400 ac_header_preproc=yes
32403 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: present but cannot be compiled" >&5
32404 echo "$as_me: WARNING: cybergraphx/cybergraphics.h: present but cannot be compiled" >&2;}
32405 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: check for missing prerequisite headers?" >&5
32406 echo "$as_me: WARNING: cybergraphx/cybergraphics.h: check for missing prerequisite headers?" >&2;}
32407 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: see the Autoconf documentation" >&5
32408 echo "$as_me: WARNING: cybergraphx/cybergraphics.h: see the Autoconf documentation" >&2;}
32409 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: section \"Present But Cannot Be Compiled\"" >&5
32410 echo "$as_me: WARNING: cybergraphx/cybergraphics.h: section \"Present But Cannot Be Compiled\"" >&2;}
32411 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: proceeding with the preprocessor's result
" >&5
32412 echo "$as_me: WARNING
: cybergraphx
/cybergraphics.h
: proceeding with the preprocessor
's result" >&2;}
32413 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: in the future, the compiler will take precedence" >&5
32414 echo "$as_me: WARNING: cybergraphx/cybergraphics.h: in the future, the compiler will take precedence" >&2;}
32418 { echo "$as_me:$LINENO: checking for cybergraphx/cybergraphics.h" >&5
32419 echo $ECHO_N "checking for cybergraphx/cybergraphics.h... $ECHO_C" >&6; }
32420 if test "${ac_cv_header_cybergraphx_cybergraphics_h+set}" = set; then
32421 echo $ECHO_N "(cached) $ECHO_C" >&6
32423 ac_cv_header_cybergraphx_cybergraphics_h=$ac_header_preproc
32425 { echo "$as_me:$LINENO: result: $ac_cv_header_cybergraphx_cybergraphics_h" >&5
32426 echo "${ECHO_T}$ac_cv_header_cybergraphx_cybergraphics_h" >&6; }
32429 if test $ac_cv_header_cybergraphx_cybergraphics_h = yes; then
32432 can_compile_amigaos=0
32436 if test "${ac_cv_header_devices_trackdisk_h+set}" = set; then
32437 { echo "$as_me:$LINENO: checking for devices/trackdisk.h" >&5
32438 echo $ECHO_N "checking for devices/trackdisk.h... $ECHO_C" >&6; }
32439 if test "${ac_cv_header_devices_trackdisk_h+set}" = set; then
32440 echo $ECHO_N "(cached) $ECHO_C" >&6
32442 { echo "$as_me:$LINENO: result: $ac_cv_header_devices_trackdisk_h" >&5
32443 echo "${ECHO_T}$ac_cv_header_devices_trackdisk_h" >&6; }
32445 # Is the header compilable?
32446 { echo "$as_me:$LINENO: checking devices/trackdisk.h usability" >&5
32447 echo $ECHO_N "checking devices/trackdisk.h usability... $ECHO_C" >&6; }
32448 cat >conftest.$ac_ext <<_ACEOF
32451 cat confdefs.h >>conftest.$ac_ext
32452 cat >>conftest.$ac_ext <<_ACEOF
32453 /* end confdefs.h. */
32454 $ac_includes_default
32455 #include <devices/trackdisk.h>
32457 rm -f conftest.$ac_objext
32458 if { (ac_try="$ac_compile"
32459 case "(($ac_try" in
32460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32461 *) ac_try_echo=$ac_try;;
32463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32464 (eval "$ac_compile") 2>conftest.er1
32466 grep -v '^
*+' conftest.er1 >conftest.err
32468 cat conftest.err >&5
32469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32470 (exit $ac_status); } &&
32471 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
32472 { (case "(($ac_try" in
32473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32474 *) ac_try_echo=$ac_try;;
32476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32477 (eval "$ac_try") 2>&5
32479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32480 (exit $ac_status); }; } &&
32481 { ac_try='test -s conftest.
$ac_objext'
32482 { (case "(($ac_try" in
32483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32484 *) ac_try_echo=$ac_try;;
32486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32487 (eval "$ac_try") 2>&5
32489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32490 (exit $ac_status); }; }; then
32491 ac_header_compiler=yes
32493 echo "$as_me: failed program was:" >&5
32494 sed 's
/^
/|
/' conftest.$ac_ext >&5
32496 ac_header_compiler=no
32499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32500 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32501 echo "${ECHO_T}$ac_header_compiler" >&6; }
32503 # Is the header present?
32504 { echo "$as_me:$LINENO: checking devices/trackdisk.h presence" >&5
32505 echo $ECHO_N "checking devices/trackdisk.h presence... $ECHO_C" >&6; }
32506 cat >conftest.$ac_ext <<_ACEOF
32509 cat confdefs.h >>conftest.$ac_ext
32510 cat >>conftest.$ac_ext <<_ACEOF
32511 /* end confdefs.h. */
32512 #include <devices/trackdisk.h>
32514 if { (ac_try="$ac_cpp conftest.$ac_ext"
32515 case "(($ac_try" in
32516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32517 *) ac_try_echo=$ac_try;;
32519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32520 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32522 grep -v '^
*+' conftest.er1 >conftest.err
32524 cat conftest.err >&5
32525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32526 (exit $ac_status); } >/dev/null; then
32527 if test -s conftest.err; then
32528 ac_cpp_err=$ac_c_preproc_warn_flag
32529 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32536 if test -z "$ac_cpp_err"; then
32537 ac_header_preproc=yes
32539 echo "$as_me: failed program was:" >&5
32540 sed 's
/^
/|
/' conftest.$ac_ext >&5
32542 ac_header_preproc=no
32545 rm -f conftest.err conftest.$ac_ext
32546 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32547 echo "${ECHO_T}$ac_header_preproc" >&6; }
32549 # So? What about this header?
32550 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32552 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: accepted by the compiler, rejected by the preprocessor!" >&5
32553 echo "$as_me: WARNING: devices/trackdisk.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32554 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: proceeding with the compiler's result
" >&5
32555 echo "$as_me: WARNING
: devices
/trackdisk.h
: proceeding with the compiler
's result" >&2;}
32556 ac_header_preproc=yes
32559 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: present but cannot be compiled" >&5
32560 echo "$as_me: WARNING: devices/trackdisk.h: present but cannot be compiled" >&2;}
32561 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: check for missing prerequisite headers?" >&5
32562 echo "$as_me: WARNING: devices/trackdisk.h: check for missing prerequisite headers?" >&2;}
32563 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: see the Autoconf documentation" >&5
32564 echo "$as_me: WARNING: devices/trackdisk.h: see the Autoconf documentation" >&2;}
32565 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: section \"Present But Cannot Be Compiled\"" >&5
32566 echo "$as_me: WARNING: devices/trackdisk.h: section \"Present But Cannot Be Compiled\"" >&2;}
32567 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: proceeding with the preprocessor's result
" >&5
32568 echo "$as_me: WARNING
: devices
/trackdisk.h
: proceeding with the preprocessor
's result" >&2;}
32569 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: in the future, the compiler will take precedence" >&5
32570 echo "$as_me: WARNING: devices/trackdisk.h: in the future, the compiler will take precedence" >&2;}
32574 { echo "$as_me:$LINENO: checking for devices/trackdisk.h" >&5
32575 echo $ECHO_N "checking for devices/trackdisk.h... $ECHO_C" >&6; }
32576 if test "${ac_cv_header_devices_trackdisk_h+set}" = set; then
32577 echo $ECHO_N "(cached) $ECHO_C" >&6
32579 ac_cv_header_devices_trackdisk_h=$ac_header_preproc
32581 { echo "$as_me:$LINENO: result: $ac_cv_header_devices_trackdisk_h" >&5
32582 echo "${ECHO_T}$ac_cv_header_devices_trackdisk_h" >&6; }
32585 if test $ac_cv_header_devices_trackdisk_h = yes; then
32588 can_compile_amigaos=0
32592 if test $can_compile_amigaos = 1; then
32597 if test "$with_macos" != yes; then
32598 can_compile_macos=1
32599 if test "${ac_cv_header_Quickdraw_h+set}" = set; then
32600 { echo "$as_me:$LINENO: checking for Quickdraw.h" >&5
32601 echo $ECHO_N "checking for Quickdraw.h... $ECHO_C" >&6; }
32602 if test "${ac_cv_header_Quickdraw_h+set}" = set; then
32603 echo $ECHO_N "(cached) $ECHO_C" >&6
32605 { echo "$as_me:$LINENO: result: $ac_cv_header_Quickdraw_h" >&5
32606 echo "${ECHO_T}$ac_cv_header_Quickdraw_h" >&6; }
32608 # Is the header compilable?
32609 { echo "$as_me:$LINENO: checking Quickdraw.h usability" >&5
32610 echo $ECHO_N "checking Quickdraw.h usability... $ECHO_C" >&6; }
32611 cat >conftest.$ac_ext <<_ACEOF
32614 cat confdefs.h >>conftest.$ac_ext
32615 cat >>conftest.$ac_ext <<_ACEOF
32616 /* end confdefs.h. */
32617 $ac_includes_default
32618 #include <Quickdraw.h>
32620 rm -f conftest.$ac_objext
32621 if { (ac_try="$ac_compile"
32622 case "(($ac_try" in
32623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32624 *) ac_try_echo=$ac_try;;
32626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32627 (eval "$ac_compile") 2>conftest.er1
32629 grep -v '^
*+' conftest.er1 >conftest.err
32631 cat conftest.err >&5
32632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32633 (exit $ac_status); } &&
32634 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
32635 { (case "(($ac_try" in
32636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32637 *) ac_try_echo=$ac_try;;
32639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32640 (eval "$ac_try") 2>&5
32642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32643 (exit $ac_status); }; } &&
32644 { ac_try='test -s conftest.
$ac_objext'
32645 { (case "(($ac_try" in
32646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32647 *) ac_try_echo=$ac_try;;
32649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32650 (eval "$ac_try") 2>&5
32652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32653 (exit $ac_status); }; }; then
32654 ac_header_compiler=yes
32656 echo "$as_me: failed program was:" >&5
32657 sed 's
/^
/|
/' conftest.$ac_ext >&5
32659 ac_header_compiler=no
32662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32663 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32664 echo "${ECHO_T}$ac_header_compiler" >&6; }
32666 # Is the header present?
32667 { echo "$as_me:$LINENO: checking Quickdraw.h presence" >&5
32668 echo $ECHO_N "checking Quickdraw.h presence... $ECHO_C" >&6; }
32669 cat >conftest.$ac_ext <<_ACEOF
32672 cat confdefs.h >>conftest.$ac_ext
32673 cat >>conftest.$ac_ext <<_ACEOF
32674 /* end confdefs.h. */
32675 #include <Quickdraw.h>
32677 if { (ac_try="$ac_cpp conftest.$ac_ext"
32678 case "(($ac_try" in
32679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32680 *) ac_try_echo=$ac_try;;
32682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32683 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32685 grep -v '^
*+' conftest.er1 >conftest.err
32687 cat conftest.err >&5
32688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32689 (exit $ac_status); } >/dev/null; then
32690 if test -s conftest.err; then
32691 ac_cpp_err=$ac_c_preproc_warn_flag
32692 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32699 if test -z "$ac_cpp_err"; then
32700 ac_header_preproc=yes
32702 echo "$as_me: failed program was:" >&5
32703 sed 's
/^
/|
/' conftest.$ac_ext >&5
32705 ac_header_preproc=no
32708 rm -f conftest.err conftest.$ac_ext
32709 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32710 echo "${ECHO_T}$ac_header_preproc" >&6; }
32712 # So? What about this header?
32713 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32715 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: accepted by the compiler, rejected by the preprocessor!" >&5
32716 echo "$as_me: WARNING: Quickdraw.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32717 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: proceeding with the compiler's result
" >&5
32718 echo "$as_me: WARNING
: Quickdraw.h
: proceeding with the compiler
's result" >&2;}
32719 ac_header_preproc=yes
32722 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: present but cannot be compiled" >&5
32723 echo "$as_me: WARNING: Quickdraw.h: present but cannot be compiled" >&2;}
32724 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: check for missing prerequisite headers?" >&5
32725 echo "$as_me: WARNING: Quickdraw.h: check for missing prerequisite headers?" >&2;}
32726 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: see the Autoconf documentation" >&5
32727 echo "$as_me: WARNING: Quickdraw.h: see the Autoconf documentation" >&2;}
32728 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: section \"Present But Cannot Be Compiled\"" >&5
32729 echo "$as_me: WARNING: Quickdraw.h: section \"Present But Cannot Be Compiled\"" >&2;}
32730 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: proceeding with the preprocessor's result
" >&5
32731 echo "$as_me: WARNING
: Quickdraw.h
: proceeding with the preprocessor
's result" >&2;}
32732 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: in the future, the compiler will take precedence" >&5
32733 echo "$as_me: WARNING: Quickdraw.h: in the future, the compiler will take precedence" >&2;}
32737 { echo "$as_me:$LINENO: checking for Quickdraw.h" >&5
32738 echo $ECHO_N "checking for Quickdraw.h... $ECHO_C" >&6; }
32739 if test "${ac_cv_header_Quickdraw_h+set}" = set; then
32740 echo $ECHO_N "(cached) $ECHO_C" >&6
32742 ac_cv_header_Quickdraw_h=$ac_header_preproc
32744 { echo "$as_me:$LINENO: result: $ac_cv_header_Quickdraw_h" >&5
32745 echo "${ECHO_T}$ac_cv_header_Quickdraw_h" >&6; }
32748 if test $ac_cv_header_Quickdraw_h = yes; then
32751 can_compile_macos=0
32755 if test "${ac_cv_header_Dialogs_h+set}" = set; then
32756 { echo "$as_me:$LINENO: checking for Dialogs.h" >&5
32757 echo $ECHO_N "checking for Dialogs.h... $ECHO_C" >&6; }
32758 if test "${ac_cv_header_Dialogs_h+set}" = set; then
32759 echo $ECHO_N "(cached) $ECHO_C" >&6
32761 { echo "$as_me:$LINENO: result: $ac_cv_header_Dialogs_h" >&5
32762 echo "${ECHO_T}$ac_cv_header_Dialogs_h" >&6; }
32764 # Is the header compilable?
32765 { echo "$as_me:$LINENO: checking Dialogs.h usability" >&5
32766 echo $ECHO_N "checking Dialogs.h usability... $ECHO_C" >&6; }
32767 cat >conftest.$ac_ext <<_ACEOF
32770 cat confdefs.h >>conftest.$ac_ext
32771 cat >>conftest.$ac_ext <<_ACEOF
32772 /* end confdefs.h. */
32773 $ac_includes_default
32774 #include <Dialogs.h>
32776 rm -f conftest.$ac_objext
32777 if { (ac_try="$ac_compile"
32778 case "(($ac_try" in
32779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32780 *) ac_try_echo=$ac_try;;
32782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32783 (eval "$ac_compile") 2>conftest.er1
32785 grep -v '^
*+' conftest.er1 >conftest.err
32787 cat conftest.err >&5
32788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32789 (exit $ac_status); } &&
32790 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
32791 { (case "(($ac_try" in
32792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32793 *) ac_try_echo=$ac_try;;
32795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32796 (eval "$ac_try") 2>&5
32798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32799 (exit $ac_status); }; } &&
32800 { ac_try='test -s conftest.
$ac_objext'
32801 { (case "(($ac_try" in
32802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32803 *) ac_try_echo=$ac_try;;
32805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32806 (eval "$ac_try") 2>&5
32808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32809 (exit $ac_status); }; }; then
32810 ac_header_compiler=yes
32812 echo "$as_me: failed program was:" >&5
32813 sed 's
/^
/|
/' conftest.$ac_ext >&5
32815 ac_header_compiler=no
32818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32819 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32820 echo "${ECHO_T}$ac_header_compiler" >&6; }
32822 # Is the header present?
32823 { echo "$as_me:$LINENO: checking Dialogs.h presence" >&5
32824 echo $ECHO_N "checking Dialogs.h presence... $ECHO_C" >&6; }
32825 cat >conftest.$ac_ext <<_ACEOF
32828 cat confdefs.h >>conftest.$ac_ext
32829 cat >>conftest.$ac_ext <<_ACEOF
32830 /* end confdefs.h. */
32831 #include <Dialogs.h>
32833 if { (ac_try="$ac_cpp conftest.$ac_ext"
32834 case "(($ac_try" in
32835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32836 *) ac_try_echo=$ac_try;;
32838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32839 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32841 grep -v '^
*+' conftest.er1 >conftest.err
32843 cat conftest.err >&5
32844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32845 (exit $ac_status); } >/dev/null; then
32846 if test -s conftest.err; then
32847 ac_cpp_err=$ac_c_preproc_warn_flag
32848 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32855 if test -z "$ac_cpp_err"; then
32856 ac_header_preproc=yes
32858 echo "$as_me: failed program was:" >&5
32859 sed 's
/^
/|
/' conftest.$ac_ext >&5
32861 ac_header_preproc=no
32864 rm -f conftest.err conftest.$ac_ext
32865 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32866 echo "${ECHO_T}$ac_header_preproc" >&6; }
32868 # So? What about this header?
32869 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32871 { echo "$as_me:$LINENO: WARNING: Dialogs.h: accepted by the compiler, rejected by the preprocessor!" >&5
32872 echo "$as_me: WARNING: Dialogs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32873 { echo "$as_me:$LINENO: WARNING: Dialogs.h: proceeding with the compiler's result
" >&5
32874 echo "$as_me: WARNING
: Dialogs.h
: proceeding with the compiler
's result" >&2;}
32875 ac_header_preproc=yes
32878 { echo "$as_me:$LINENO: WARNING: Dialogs.h: present but cannot be compiled" >&5
32879 echo "$as_me: WARNING: Dialogs.h: present but cannot be compiled" >&2;}
32880 { echo "$as_me:$LINENO: WARNING: Dialogs.h: check for missing prerequisite headers?" >&5
32881 echo "$as_me: WARNING: Dialogs.h: check for missing prerequisite headers?" >&2;}
32882 { echo "$as_me:$LINENO: WARNING: Dialogs.h: see the Autoconf documentation" >&5
32883 echo "$as_me: WARNING: Dialogs.h: see the Autoconf documentation" >&2;}
32884 { echo "$as_me:$LINENO: WARNING: Dialogs.h: section \"Present But Cannot Be Compiled\"" >&5
32885 echo "$as_me: WARNING: Dialogs.h: section \"Present But Cannot Be Compiled\"" >&2;}
32886 { echo "$as_me:$LINENO: WARNING: Dialogs.h: proceeding with the preprocessor's result
" >&5
32887 echo "$as_me: WARNING
: Dialogs.h
: proceeding with the preprocessor
's result" >&2;}
32888 { echo "$as_me:$LINENO: WARNING: Dialogs.h: in the future, the compiler will take precedence" >&5
32889 echo "$as_me: WARNING: Dialogs.h: in the future, the compiler will take precedence" >&2;}
32893 { echo "$as_me:$LINENO: checking for Dialogs.h" >&5
32894 echo $ECHO_N "checking for Dialogs.h... $ECHO_C" >&6; }
32895 if test "${ac_cv_header_Dialogs_h+set}" = set; then
32896 echo $ECHO_N "(cached) $ECHO_C" >&6
32898 ac_cv_header_Dialogs_h=$ac_header_preproc
32900 { echo "$as_me:$LINENO: result: $ac_cv_header_Dialogs_h" >&5
32901 echo "${ECHO_T}$ac_cv_header_Dialogs_h" >&6; }
32904 if test $ac_cv_header_Dialogs_h = yes; then
32907 can_compile_macos=0
32911 if test $can_compile_macos = 1; then
32916 if test "$with_carbon" != yes; then
32917 can_compile_carbon=1
32918 if test "${ac_cv_header_Carbon_h+set}" = set; then
32919 { echo "$as_me:$LINENO: checking for Carbon.h" >&5
32920 echo $ECHO_N "checking for Carbon.h... $ECHO_C" >&6; }
32921 if test "${ac_cv_header_Carbon_h+set}" = set; then
32922 echo $ECHO_N "(cached) $ECHO_C" >&6
32924 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_h" >&5
32925 echo "${ECHO_T}$ac_cv_header_Carbon_h" >&6; }
32927 # Is the header compilable?
32928 { echo "$as_me:$LINENO: checking Carbon.h usability" >&5
32929 echo $ECHO_N "checking Carbon.h usability... $ECHO_C" >&6; }
32930 cat >conftest.$ac_ext <<_ACEOF
32933 cat confdefs.h >>conftest.$ac_ext
32934 cat >>conftest.$ac_ext <<_ACEOF
32935 /* end confdefs.h. */
32936 $ac_includes_default
32937 #include <Carbon.h>
32939 rm -f conftest.$ac_objext
32940 if { (ac_try="$ac_compile"
32941 case "(($ac_try" in
32942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32943 *) ac_try_echo=$ac_try;;
32945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32946 (eval "$ac_compile") 2>conftest.er1
32948 grep -v '^
*+' conftest.er1 >conftest.err
32950 cat conftest.err >&5
32951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32952 (exit $ac_status); } &&
32953 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
32954 { (case "(($ac_try" in
32955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32956 *) ac_try_echo=$ac_try;;
32958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32959 (eval "$ac_try") 2>&5
32961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32962 (exit $ac_status); }; } &&
32963 { ac_try='test -s conftest.
$ac_objext'
32964 { (case "(($ac_try" in
32965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32966 *) ac_try_echo=$ac_try;;
32968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32969 (eval "$ac_try") 2>&5
32971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32972 (exit $ac_status); }; }; then
32973 ac_header_compiler=yes
32975 echo "$as_me: failed program was:" >&5
32976 sed 's
/^
/|
/' conftest.$ac_ext >&5
32978 ac_header_compiler=no
32981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32982 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32983 echo "${ECHO_T}$ac_header_compiler" >&6; }
32985 # Is the header present?
32986 { echo "$as_me:$LINENO: checking Carbon.h presence" >&5
32987 echo $ECHO_N "checking Carbon.h presence... $ECHO_C" >&6; }
32988 cat >conftest.$ac_ext <<_ACEOF
32991 cat confdefs.h >>conftest.$ac_ext
32992 cat >>conftest.$ac_ext <<_ACEOF
32993 /* end confdefs.h. */
32994 #include <Carbon.h>
32996 if { (ac_try="$ac_cpp conftest.$ac_ext"
32997 case "(($ac_try" in
32998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32999 *) ac_try_echo=$ac_try;;
33001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33002 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33004 grep -v '^
*+' conftest.er1 >conftest.err
33006 cat conftest.err >&5
33007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33008 (exit $ac_status); } >/dev/null; then
33009 if test -s conftest.err; then
33010 ac_cpp_err=$ac_c_preproc_warn_flag
33011 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33018 if test -z "$ac_cpp_err"; then
33019 ac_header_preproc=yes
33021 echo "$as_me: failed program was:" >&5
33022 sed 's
/^
/|
/' conftest.$ac_ext >&5
33024 ac_header_preproc=no
33027 rm -f conftest.err conftest.$ac_ext
33028 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33029 echo "${ECHO_T}$ac_header_preproc" >&6; }
33031 # So? What about this header?
33032 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33034 { echo "$as_me:$LINENO: WARNING: Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
33035 echo "$as_me: WARNING: Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33036 { echo "$as_me:$LINENO: WARNING: Carbon.h: proceeding with the compiler's result
" >&5
33037 echo "$as_me: WARNING
: Carbon.h
: proceeding with the compiler
's result" >&2;}
33038 ac_header_preproc=yes
33041 { echo "$as_me:$LINENO: WARNING: Carbon.h: present but cannot be compiled" >&5
33042 echo "$as_me: WARNING: Carbon.h: present but cannot be compiled" >&2;}
33043 { echo "$as_me:$LINENO: WARNING: Carbon.h: check for missing prerequisite headers?" >&5
33044 echo "$as_me: WARNING: Carbon.h: check for missing prerequisite headers?" >&2;}
33045 { echo "$as_me:$LINENO: WARNING: Carbon.h: see the Autoconf documentation" >&5
33046 echo "$as_me: WARNING: Carbon.h: see the Autoconf documentation" >&2;}
33047 { echo "$as_me:$LINENO: WARNING: Carbon.h: section \"Present But Cannot Be Compiled\"" >&5
33048 echo "$as_me: WARNING: Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;}
33049 { echo "$as_me:$LINENO: WARNING: Carbon.h: proceeding with the preprocessor's result
" >&5
33050 echo "$as_me: WARNING
: Carbon.h
: proceeding with the preprocessor
's result" >&2;}
33051 { echo "$as_me:$LINENO: WARNING: Carbon.h: in the future, the compiler will take precedence" >&5
33052 echo "$as_me: WARNING: Carbon.h: in the future, the compiler will take precedence" >&2;}
33056 { echo "$as_me:$LINENO: checking for Carbon.h" >&5
33057 echo $ECHO_N "checking for Carbon.h... $ECHO_C" >&6; }
33058 if test "${ac_cv_header_Carbon_h+set}" = set; then
33059 echo $ECHO_N "(cached) $ECHO_C" >&6
33061 ac_cv_header_Carbon_h=$ac_header_preproc
33063 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_h" >&5
33064 echo "${ECHO_T}$ac_cv_header_Carbon_h" >&6; }
33067 if test $ac_cv_header_Carbon_h = yes; then
33070 can_compile_carbon=0
33074 if test "${ac_cv_header_ApplicationServices_ApplicationServices_h+set}" = set; then
33075 { echo "$as_me:$LINENO: checking for ApplicationServices/ApplicationServices.h" >&5
33076 echo $ECHO_N "checking for ApplicationServices/ApplicationServices.h... $ECHO_C" >&6; }
33077 if test "${ac_cv_header_ApplicationServices_ApplicationServices_h+set}" = set; then
33078 echo $ECHO_N "(cached) $ECHO_C" >&6
33080 { echo "$as_me:$LINENO: result: $ac_cv_header_ApplicationServices_ApplicationServices_h" >&5
33081 echo "${ECHO_T}$ac_cv_header_ApplicationServices_ApplicationServices_h" >&6; }
33083 # Is the header compilable?
33084 { echo "$as_me:$LINENO: checking ApplicationServices/ApplicationServices.h usability" >&5
33085 echo $ECHO_N "checking ApplicationServices/ApplicationServices.h usability... $ECHO_C" >&6; }
33086 cat >conftest.$ac_ext <<_ACEOF
33089 cat confdefs.h >>conftest.$ac_ext
33090 cat >>conftest.$ac_ext <<_ACEOF
33091 /* end confdefs.h. */
33092 $ac_includes_default
33093 #include <ApplicationServices/ApplicationServices.h>
33095 rm -f conftest.$ac_objext
33096 if { (ac_try="$ac_compile"
33097 case "(($ac_try" in
33098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33099 *) ac_try_echo=$ac_try;;
33101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33102 (eval "$ac_compile") 2>conftest.er1
33104 grep -v '^
*+' conftest.er1 >conftest.err
33106 cat conftest.err >&5
33107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33108 (exit $ac_status); } &&
33109 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
33110 { (case "(($ac_try" in
33111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33112 *) ac_try_echo=$ac_try;;
33114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33115 (eval "$ac_try") 2>&5
33117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33118 (exit $ac_status); }; } &&
33119 { ac_try='test -s conftest.
$ac_objext'
33120 { (case "(($ac_try" in
33121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33122 *) ac_try_echo=$ac_try;;
33124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33125 (eval "$ac_try") 2>&5
33127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33128 (exit $ac_status); }; }; then
33129 ac_header_compiler=yes
33131 echo "$as_me: failed program was:" >&5
33132 sed 's
/^
/|
/' conftest.$ac_ext >&5
33134 ac_header_compiler=no
33137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33138 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33139 echo "${ECHO_T}$ac_header_compiler" >&6; }
33141 # Is the header present?
33142 { echo "$as_me:$LINENO: checking ApplicationServices/ApplicationServices.h presence" >&5
33143 echo $ECHO_N "checking ApplicationServices/ApplicationServices.h presence... $ECHO_C" >&6; }
33144 cat >conftest.$ac_ext <<_ACEOF
33147 cat confdefs.h >>conftest.$ac_ext
33148 cat >>conftest.$ac_ext <<_ACEOF
33149 /* end confdefs.h. */
33150 #include <ApplicationServices/ApplicationServices.h>
33152 if { (ac_try="$ac_cpp conftest.$ac_ext"
33153 case "(($ac_try" in
33154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33155 *) ac_try_echo=$ac_try;;
33157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33158 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33160 grep -v '^
*+' conftest.er1 >conftest.err
33162 cat conftest.err >&5
33163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33164 (exit $ac_status); } >/dev/null; then
33165 if test -s conftest.err; then
33166 ac_cpp_err=$ac_c_preproc_warn_flag
33167 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33174 if test -z "$ac_cpp_err"; then
33175 ac_header_preproc=yes
33177 echo "$as_me: failed program was:" >&5
33178 sed 's
/^
/|
/' conftest.$ac_ext >&5
33180 ac_header_preproc=no
33183 rm -f conftest.err conftest.$ac_ext
33184 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33185 echo "${ECHO_T}$ac_header_preproc" >&6; }
33187 # So? What about this header?
33188 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33190 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: accepted by the compiler, rejected by the preprocessor!" >&5
33191 echo "$as_me: WARNING: ApplicationServices/ApplicationServices.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33192 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: proceeding with the compiler's result
" >&5
33193 echo "$as_me: WARNING
: ApplicationServices
/ApplicationServices.h
: proceeding with the compiler
's result" >&2;}
33194 ac_header_preproc=yes
33197 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: present but cannot be compiled" >&5
33198 echo "$as_me: WARNING: ApplicationServices/ApplicationServices.h: present but cannot be compiled" >&2;}
33199 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: check for missing prerequisite headers?" >&5
33200 echo "$as_me: WARNING: ApplicationServices/ApplicationServices.h: check for missing prerequisite headers?" >&2;}
33201 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: see the Autoconf documentation" >&5
33202 echo "$as_me: WARNING: ApplicationServices/ApplicationServices.h: see the Autoconf documentation" >&2;}
33203 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: section \"Present But Cannot Be Compiled\"" >&5
33204 echo "$as_me: WARNING: ApplicationServices/ApplicationServices.h: section \"Present But Cannot Be Compiled\"" >&2;}
33205 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: proceeding with the preprocessor's result
" >&5
33206 echo "$as_me: WARNING
: ApplicationServices
/ApplicationServices.h
: proceeding with the preprocessor
's result" >&2;}
33207 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: in the future, the compiler will take precedence" >&5
33208 echo "$as_me: WARNING: ApplicationServices/ApplicationServices.h: in the future, the compiler will take precedence" >&2;}
33212 { echo "$as_me:$LINENO: checking for ApplicationServices/ApplicationServices.h" >&5
33213 echo $ECHO_N "checking for ApplicationServices/ApplicationServices.h... $ECHO_C" >&6; }
33214 if test "${ac_cv_header_ApplicationServices_ApplicationServices_h+set}" = set; then
33215 echo $ECHO_N "(cached) $ECHO_C" >&6
33217 ac_cv_header_ApplicationServices_ApplicationServices_h=$ac_header_preproc
33219 { echo "$as_me:$LINENO: result: $ac_cv_header_ApplicationServices_ApplicationServices_h" >&5
33220 echo "${ECHO_T}$ac_cv_header_ApplicationServices_ApplicationServices_h" >&6; }
33223 if test $ac_cv_header_ApplicationServices_ApplicationServices_h = yes; then
33226 can_compile_carbon=0
33230 if test $can_compile_carbon = 1; then
33235 if test "$with_win32" != yes; then
33236 can_compile_win32=1
33237 if test "${ac_cv_header_windows_h+set}" = set; then
33238 { echo "$as_me:$LINENO: checking for windows.h" >&5
33239 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
33240 if test "${ac_cv_header_windows_h+set}" = set; then
33241 echo $ECHO_N "(cached) $ECHO_C" >&6
33243 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
33244 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
33246 # Is the header compilable?
33247 { echo "$as_me:$LINENO: checking windows.h usability" >&5
33248 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6; }
33249 cat >conftest.$ac_ext <<_ACEOF
33252 cat confdefs.h >>conftest.$ac_ext
33253 cat >>conftest.$ac_ext <<_ACEOF
33254 /* end confdefs.h. */
33255 $ac_includes_default
33256 #include <windows.h>
33258 rm -f conftest.$ac_objext
33259 if { (ac_try="$ac_compile"
33260 case "(($ac_try" in
33261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33262 *) ac_try_echo=$ac_try;;
33264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33265 (eval "$ac_compile") 2>conftest.er1
33267 grep -v '^
*+' conftest.er1 >conftest.err
33269 cat conftest.err >&5
33270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33271 (exit $ac_status); } &&
33272 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
33273 { (case "(($ac_try" in
33274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33275 *) ac_try_echo=$ac_try;;
33277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33278 (eval "$ac_try") 2>&5
33280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33281 (exit $ac_status); }; } &&
33282 { ac_try='test -s conftest.
$ac_objext'
33283 { (case "(($ac_try" in
33284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33285 *) ac_try_echo=$ac_try;;
33287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33288 (eval "$ac_try") 2>&5
33290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33291 (exit $ac_status); }; }; then
33292 ac_header_compiler=yes
33294 echo "$as_me: failed program was:" >&5
33295 sed 's
/^
/|
/' conftest.$ac_ext >&5
33297 ac_header_compiler=no
33300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33301 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33302 echo "${ECHO_T}$ac_header_compiler" >&6; }
33304 # Is the header present?
33305 { echo "$as_me:$LINENO: checking windows.h presence" >&5
33306 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6; }
33307 cat >conftest.$ac_ext <<_ACEOF
33310 cat confdefs.h >>conftest.$ac_ext
33311 cat >>conftest.$ac_ext <<_ACEOF
33312 /* end confdefs.h. */
33313 #include <windows.h>
33315 if { (ac_try="$ac_cpp conftest.$ac_ext"
33316 case "(($ac_try" in
33317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33318 *) ac_try_echo=$ac_try;;
33320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33321 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33323 grep -v '^
*+' conftest.er1 >conftest.err
33325 cat conftest.err >&5
33326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33327 (exit $ac_status); } >/dev/null; then
33328 if test -s conftest.err; then
33329 ac_cpp_err=$ac_c_preproc_warn_flag
33330 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33337 if test -z "$ac_cpp_err"; then
33338 ac_header_preproc=yes
33340 echo "$as_me: failed program was:" >&5
33341 sed 's
/^
/|
/' conftest.$ac_ext >&5
33343 ac_header_preproc=no
33346 rm -f conftest.err conftest.$ac_ext
33347 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33348 echo "${ECHO_T}$ac_header_preproc" >&6; }
33350 # So? What about this header?
33351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33353 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
33354 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33355 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result
" >&5
33356 echo "$as_me: WARNING
: windows.h
: proceeding with the compiler
's result" >&2;}
33357 ac_header_preproc=yes
33360 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
33361 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
33362 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
33363 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
33364 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
33365 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
33366 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
33367 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
33368 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result
" >&5
33369 echo "$as_me: WARNING
: windows.h
: proceeding with the preprocessor
's result" >&2;}
33370 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
33371 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
33375 { echo "$as_me:$LINENO: checking for windows.h" >&5
33376 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
33377 if test "${ac_cv_header_windows_h+set}" = set; then
33378 echo $ECHO_N "(cached) $ECHO_C" >&6
33380 ac_cv_header_windows_h=$ac_header_preproc
33382 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
33383 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
33386 if test $ac_cv_header_windows_h = yes; then
33389 can_compile_win32=0
33393 if test "${ac_cv_header_commctrl_h+set}" = set; then
33394 { echo "$as_me:$LINENO: checking for commctrl.h" >&5
33395 echo $ECHO_N "checking for commctrl.h... $ECHO_C" >&6; }
33396 if test "${ac_cv_header_commctrl_h+set}" = set; then
33397 echo $ECHO_N "(cached) $ECHO_C" >&6
33399 { echo "$as_me:$LINENO: result: $ac_cv_header_commctrl_h" >&5
33400 echo "${ECHO_T}$ac_cv_header_commctrl_h" >&6; }
33402 # Is the header compilable?
33403 { echo "$as_me:$LINENO: checking commctrl.h usability" >&5
33404 echo $ECHO_N "checking commctrl.h usability... $ECHO_C" >&6; }
33405 cat >conftest.$ac_ext <<_ACEOF
33408 cat confdefs.h >>conftest.$ac_ext
33409 cat >>conftest.$ac_ext <<_ACEOF
33410 /* end confdefs.h. */
33411 $ac_includes_default
33412 #include <commctrl.h>
33414 rm -f conftest.$ac_objext
33415 if { (ac_try="$ac_compile"
33416 case "(($ac_try" in
33417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33418 *) ac_try_echo=$ac_try;;
33420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33421 (eval "$ac_compile") 2>conftest.er1
33423 grep -v '^
*+' conftest.er1 >conftest.err
33425 cat conftest.err >&5
33426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33427 (exit $ac_status); } &&
33428 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
33429 { (case "(($ac_try" in
33430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33431 *) ac_try_echo=$ac_try;;
33433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33434 (eval "$ac_try") 2>&5
33436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33437 (exit $ac_status); }; } &&
33438 { ac_try='test -s conftest.
$ac_objext'
33439 { (case "(($ac_try" in
33440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33441 *) ac_try_echo=$ac_try;;
33443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33444 (eval "$ac_try") 2>&5
33446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33447 (exit $ac_status); }; }; then
33448 ac_header_compiler=yes
33450 echo "$as_me: failed program was:" >&5
33451 sed 's
/^
/|
/' conftest.$ac_ext >&5
33453 ac_header_compiler=no
33456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33457 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33458 echo "${ECHO_T}$ac_header_compiler" >&6; }
33460 # Is the header present?
33461 { echo "$as_me:$LINENO: checking commctrl.h presence" >&5
33462 echo $ECHO_N "checking commctrl.h presence... $ECHO_C" >&6; }
33463 cat >conftest.$ac_ext <<_ACEOF
33466 cat confdefs.h >>conftest.$ac_ext
33467 cat >>conftest.$ac_ext <<_ACEOF
33468 /* end confdefs.h. */
33469 #include <commctrl.h>
33471 if { (ac_try="$ac_cpp conftest.$ac_ext"
33472 case "(($ac_try" in
33473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33474 *) ac_try_echo=$ac_try;;
33476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33477 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33479 grep -v '^
*+' conftest.er1 >conftest.err
33481 cat conftest.err >&5
33482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33483 (exit $ac_status); } >/dev/null; then
33484 if test -s conftest.err; then
33485 ac_cpp_err=$ac_c_preproc_warn_flag
33486 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33493 if test -z "$ac_cpp_err"; then
33494 ac_header_preproc=yes
33496 echo "$as_me: failed program was:" >&5
33497 sed 's
/^
/|
/' conftest.$ac_ext >&5
33499 ac_header_preproc=no
33502 rm -f conftest.err conftest.$ac_ext
33503 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33504 echo "${ECHO_T}$ac_header_preproc" >&6; }
33506 # So? What about this header?
33507 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33509 { echo "$as_me:$LINENO: WARNING: commctrl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33510 echo "$as_me: WARNING: commctrl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33511 { echo "$as_me:$LINENO: WARNING: commctrl.h: proceeding with the compiler's result
" >&5
33512 echo "$as_me: WARNING
: commctrl.h
: proceeding with the compiler
's result" >&2;}
33513 ac_header_preproc=yes
33516 { echo "$as_me:$LINENO: WARNING: commctrl.h: present but cannot be compiled" >&5
33517 echo "$as_me: WARNING: commctrl.h: present but cannot be compiled" >&2;}
33518 { echo "$as_me:$LINENO: WARNING: commctrl.h: check for missing prerequisite headers?" >&5
33519 echo "$as_me: WARNING: commctrl.h: check for missing prerequisite headers?" >&2;}
33520 { echo "$as_me:$LINENO: WARNING: commctrl.h: see the Autoconf documentation" >&5
33521 echo "$as_me: WARNING: commctrl.h: see the Autoconf documentation" >&2;}
33522 { echo "$as_me:$LINENO: WARNING: commctrl.h: section \"Present But Cannot Be Compiled\"" >&5
33523 echo "$as_me: WARNING: commctrl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33524 { echo "$as_me:$LINENO: WARNING: commctrl.h: proceeding with the preprocessor's result
" >&5
33525 echo "$as_me: WARNING
: commctrl.h
: proceeding with the preprocessor
's result" >&2;}
33526 { echo "$as_me:$LINENO: WARNING: commctrl.h: in the future, the compiler will take precedence" >&5
33527 echo "$as_me: WARNING: commctrl.h: in the future, the compiler will take precedence" >&2;}
33531 { echo "$as_me:$LINENO: checking for commctrl.h" >&5
33532 echo $ECHO_N "checking for commctrl.h... $ECHO_C" >&6; }
33533 if test "${ac_cv_header_commctrl_h+set}" = set; then
33534 echo $ECHO_N "(cached) $ECHO_C" >&6
33536 ac_cv_header_commctrl_h=$ac_header_preproc
33538 { echo "$as_me:$LINENO: result: $ac_cv_header_commctrl_h" >&5
33539 echo "${ECHO_T}$ac_cv_header_commctrl_h" >&6; }
33542 if test $ac_cv_header_commctrl_h = yes; then
33545 can_compile_win32=0
33549 if test $can_compile_win32 = 1; then
33554 if test "$with_sdl" != yes; then
33556 if test "${ac_cv_header_SDL_SDL_h+set}" = set; then
33557 { echo "$as_me:$LINENO: checking for SDL/SDL.h" >&5
33558 echo $ECHO_N "checking for SDL/SDL.h... $ECHO_C" >&6; }
33559 if test "${ac_cv_header_SDL_SDL_h+set}" = set; then
33560 echo $ECHO_N "(cached) $ECHO_C" >&6
33562 { echo "$as_me:$LINENO: result: $ac_cv_header_SDL_SDL_h" >&5
33563 echo "${ECHO_T}$ac_cv_header_SDL_SDL_h" >&6; }
33565 # Is the header compilable?
33566 { echo "$as_me:$LINENO: checking SDL/SDL.h usability" >&5
33567 echo $ECHO_N "checking SDL/SDL.h usability... $ECHO_C" >&6; }
33568 cat >conftest.$ac_ext <<_ACEOF
33571 cat confdefs.h >>conftest.$ac_ext
33572 cat >>conftest.$ac_ext <<_ACEOF
33573 /* end confdefs.h. */
33574 $ac_includes_default
33575 #include <SDL/SDL.h>
33577 rm -f conftest.$ac_objext
33578 if { (ac_try="$ac_compile"
33579 case "(($ac_try" in
33580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33581 *) ac_try_echo=$ac_try;;
33583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33584 (eval "$ac_compile") 2>conftest.er1
33586 grep -v '^
*+' conftest.er1 >conftest.err
33588 cat conftest.err >&5
33589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33590 (exit $ac_status); } &&
33591 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
33592 { (case "(($ac_try" in
33593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33594 *) ac_try_echo=$ac_try;;
33596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33597 (eval "$ac_try") 2>&5
33599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33600 (exit $ac_status); }; } &&
33601 { ac_try='test -s conftest.
$ac_objext'
33602 { (case "(($ac_try" in
33603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33604 *) ac_try_echo=$ac_try;;
33606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33607 (eval "$ac_try") 2>&5
33609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33610 (exit $ac_status); }; }; then
33611 ac_header_compiler=yes
33613 echo "$as_me: failed program was:" >&5
33614 sed 's
/^
/|
/' conftest.$ac_ext >&5
33616 ac_header_compiler=no
33619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33620 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33621 echo "${ECHO_T}$ac_header_compiler" >&6; }
33623 # Is the header present?
33624 { echo "$as_me:$LINENO: checking SDL/SDL.h presence" >&5
33625 echo $ECHO_N "checking SDL/SDL.h presence... $ECHO_C" >&6; }
33626 cat >conftest.$ac_ext <<_ACEOF
33629 cat confdefs.h >>conftest.$ac_ext
33630 cat >>conftest.$ac_ext <<_ACEOF
33631 /* end confdefs.h. */
33632 #include <SDL/SDL.h>
33634 if { (ac_try="$ac_cpp conftest.$ac_ext"
33635 case "(($ac_try" in
33636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33637 *) ac_try_echo=$ac_try;;
33639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33640 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33642 grep -v '^
*+' conftest.er1 >conftest.err
33644 cat conftest.err >&5
33645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33646 (exit $ac_status); } >/dev/null; then
33647 if test -s conftest.err; then
33648 ac_cpp_err=$ac_c_preproc_warn_flag
33649 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33656 if test -z "$ac_cpp_err"; then
33657 ac_header_preproc=yes
33659 echo "$as_me: failed program was:" >&5
33660 sed 's
/^
/|
/' conftest.$ac_ext >&5
33662 ac_header_preproc=no
33665 rm -f conftest.err conftest.$ac_ext
33666 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33667 echo "${ECHO_T}$ac_header_preproc" >&6; }
33669 # So? What about this header?
33670 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33672 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: accepted by the compiler, rejected by the preprocessor!" >&5
33673 echo "$as_me: WARNING: SDL/SDL.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33674 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: proceeding with the compiler's result
" >&5
33675 echo "$as_me: WARNING
: SDL
/SDL.h
: proceeding with the compiler
's result" >&2;}
33676 ac_header_preproc=yes
33679 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: present but cannot be compiled" >&5
33680 echo "$as_me: WARNING: SDL/SDL.h: present but cannot be compiled" >&2;}
33681 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: check for missing prerequisite headers?" >&5
33682 echo "$as_me: WARNING: SDL/SDL.h: check for missing prerequisite headers?" >&2;}
33683 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: see the Autoconf documentation" >&5
33684 echo "$as_me: WARNING: SDL/SDL.h: see the Autoconf documentation" >&2;}
33685 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: section \"Present But Cannot Be Compiled\"" >&5
33686 echo "$as_me: WARNING: SDL/SDL.h: section \"Present But Cannot Be Compiled\"" >&2;}
33687 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: proceeding with the preprocessor's result
" >&5
33688 echo "$as_me: WARNING
: SDL
/SDL.h
: proceeding with the preprocessor
's result" >&2;}
33689 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: in the future, the compiler will take precedence" >&5
33690 echo "$as_me: WARNING: SDL/SDL.h: in the future, the compiler will take precedence" >&2;}
33694 { echo "$as_me:$LINENO: checking for SDL/SDL.h" >&5
33695 echo $ECHO_N "checking for SDL/SDL.h... $ECHO_C" >&6; }
33696 if test "${ac_cv_header_SDL_SDL_h+set}" = set; then
33697 echo $ECHO_N "(cached) $ECHO_C" >&6
33699 ac_cv_header_SDL_SDL_h=$ac_header_preproc
33701 { echo "$as_me:$LINENO: result: $ac_cv_header_SDL_SDL_h" >&5
33702 echo "${ECHO_T}$ac_cv_header_SDL_SDL_h" >&6; }
33705 if test $ac_cv_header_SDL_SDL_h = yes; then
33712 if test "${ac_cv_header_SDL_SDL_main_h+set}" = set; then
33713 { echo "$as_me:$LINENO: checking for SDL/SDL_main.h" >&5
33714 echo $ECHO_N "checking for SDL/SDL_main.h... $ECHO_C" >&6; }
33715 if test "${ac_cv_header_SDL_SDL_main_h+set}" = set; then
33716 echo $ECHO_N "(cached) $ECHO_C" >&6
33718 { echo "$as_me:$LINENO: result: $ac_cv_header_SDL_SDL_main_h" >&5
33719 echo "${ECHO_T}$ac_cv_header_SDL_SDL_main_h" >&6; }
33721 # Is the header compilable?
33722 { echo "$as_me:$LINENO: checking SDL/SDL_main.h usability" >&5
33723 echo $ECHO_N "checking SDL/SDL_main.h usability... $ECHO_C" >&6; }
33724 cat >conftest.$ac_ext <<_ACEOF
33727 cat confdefs.h >>conftest.$ac_ext
33728 cat >>conftest.$ac_ext <<_ACEOF
33729 /* end confdefs.h. */
33730 $ac_includes_default
33731 #include <SDL/SDL_main.h>
33733 rm -f conftest.$ac_objext
33734 if { (ac_try="$ac_compile"
33735 case "(($ac_try" in
33736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33737 *) ac_try_echo=$ac_try;;
33739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33740 (eval "$ac_compile") 2>conftest.er1
33742 grep -v '^
*+' conftest.er1 >conftest.err
33744 cat conftest.err >&5
33745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33746 (exit $ac_status); } &&
33747 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
33748 { (case "(($ac_try" in
33749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33750 *) ac_try_echo=$ac_try;;
33752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33753 (eval "$ac_try") 2>&5
33755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33756 (exit $ac_status); }; } &&
33757 { ac_try='test -s conftest.
$ac_objext'
33758 { (case "(($ac_try" in
33759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33760 *) ac_try_echo=$ac_try;;
33762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33763 (eval "$ac_try") 2>&5
33765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33766 (exit $ac_status); }; }; then
33767 ac_header_compiler=yes
33769 echo "$as_me: failed program was:" >&5
33770 sed 's
/^
/|
/' conftest.$ac_ext >&5
33772 ac_header_compiler=no
33775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33776 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33777 echo "${ECHO_T}$ac_header_compiler" >&6; }
33779 # Is the header present?
33780 { echo "$as_me:$LINENO: checking SDL/SDL_main.h presence" >&5
33781 echo $ECHO_N "checking SDL/SDL_main.h presence... $ECHO_C" >&6; }
33782 cat >conftest.$ac_ext <<_ACEOF
33785 cat confdefs.h >>conftest.$ac_ext
33786 cat >>conftest.$ac_ext <<_ACEOF
33787 /* end confdefs.h. */
33788 #include <SDL/SDL_main.h>
33790 if { (ac_try="$ac_cpp conftest.$ac_ext"
33791 case "(($ac_try" in
33792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33793 *) ac_try_echo=$ac_try;;
33795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33798 grep -v '^
*+' conftest.er1 >conftest.err
33800 cat conftest.err >&5
33801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33802 (exit $ac_status); } >/dev/null; then
33803 if test -s conftest.err; then
33804 ac_cpp_err=$ac_c_preproc_warn_flag
33805 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33812 if test -z "$ac_cpp_err"; then
33813 ac_header_preproc=yes
33815 echo "$as_me: failed program was:" >&5
33816 sed 's
/^
/|
/' conftest.$ac_ext >&5
33818 ac_header_preproc=no
33821 rm -f conftest.err conftest.$ac_ext
33822 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33823 echo "${ECHO_T}$ac_header_preproc" >&6; }
33825 # So? What about this header?
33826 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33828 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: accepted by the compiler, rejected by the preprocessor!" >&5
33829 echo "$as_me: WARNING: SDL/SDL_main.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33830 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: proceeding with the compiler's result
" >&5
33831 echo "$as_me: WARNING
: SDL
/SDL_main.h
: proceeding with the compiler
's result" >&2;}
33832 ac_header_preproc=yes
33835 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: present but cannot be compiled" >&5
33836 echo "$as_me: WARNING: SDL/SDL_main.h: present but cannot be compiled" >&2;}
33837 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: check for missing prerequisite headers?" >&5
33838 echo "$as_me: WARNING: SDL/SDL_main.h: check for missing prerequisite headers?" >&2;}
33839 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: see the Autoconf documentation" >&5
33840 echo "$as_me: WARNING: SDL/SDL_main.h: see the Autoconf documentation" >&2;}
33841 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: section \"Present But Cannot Be Compiled\"" >&5
33842 echo "$as_me: WARNING: SDL/SDL_main.h: section \"Present But Cannot Be Compiled\"" >&2;}
33843 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: proceeding with the preprocessor's result
" >&5
33844 echo "$as_me: WARNING
: SDL
/SDL_main.h
: proceeding with the preprocessor
's result" >&2;}
33845 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: in the future, the compiler will take precedence" >&5
33846 echo "$as_me: WARNING: SDL/SDL_main.h: in the future, the compiler will take precedence" >&2;}
33850 { echo "$as_me:$LINENO: checking for SDL/SDL_main.h" >&5
33851 echo $ECHO_N "checking for SDL/SDL_main.h... $ECHO_C" >&6; }
33852 if test "${ac_cv_header_SDL_SDL_main_h+set}" = set; then
33853 echo $ECHO_N "(cached) $ECHO_C" >&6
33855 ac_cv_header_SDL_SDL_main_h=$ac_header_preproc
33857 { echo "$as_me:$LINENO: result: $ac_cv_header_SDL_SDL_main_h" >&5
33858 echo "${ECHO_T}$ac_cv_header_SDL_SDL_main_h" >&6; }
33861 if test $ac_cv_header_SDL_SDL_main_h = yes; then
33868 if test $can_compile_sdl = 1; then
33873 if test "$with_svga" != yes; then
33875 if test "${ac_cv_header_vga_h+set}" = set; then
33876 { echo "$as_me:$LINENO: checking for vga.h" >&5
33877 echo $ECHO_N "checking for vga.h... $ECHO_C" >&6; }
33878 if test "${ac_cv_header_vga_h+set}" = set; then
33879 echo $ECHO_N "(cached) $ECHO_C" >&6
33881 { echo "$as_me:$LINENO: result: $ac_cv_header_vga_h" >&5
33882 echo "${ECHO_T}$ac_cv_header_vga_h" >&6; }
33884 # Is the header compilable?
33885 { echo "$as_me:$LINENO: checking vga.h usability" >&5
33886 echo $ECHO_N "checking vga.h usability... $ECHO_C" >&6; }
33887 cat >conftest.$ac_ext <<_ACEOF
33890 cat confdefs.h >>conftest.$ac_ext
33891 cat >>conftest.$ac_ext <<_ACEOF
33892 /* end confdefs.h. */
33893 $ac_includes_default
33896 rm -f conftest.$ac_objext
33897 if { (ac_try="$ac_compile"
33898 case "(($ac_try" in
33899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33900 *) ac_try_echo=$ac_try;;
33902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33903 (eval "$ac_compile") 2>conftest.er1
33905 grep -v '^
*+' conftest.er1 >conftest.err
33907 cat conftest.err >&5
33908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33909 (exit $ac_status); } &&
33910 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
33911 { (case "(($ac_try" in
33912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33913 *) ac_try_echo=$ac_try;;
33915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33916 (eval "$ac_try") 2>&5
33918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33919 (exit $ac_status); }; } &&
33920 { ac_try='test -s conftest.
$ac_objext'
33921 { (case "(($ac_try" in
33922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33923 *) ac_try_echo=$ac_try;;
33925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33926 (eval "$ac_try") 2>&5
33928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33929 (exit $ac_status); }; }; then
33930 ac_header_compiler=yes
33932 echo "$as_me: failed program was:" >&5
33933 sed 's
/^
/|
/' conftest.$ac_ext >&5
33935 ac_header_compiler=no
33938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33939 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33940 echo "${ECHO_T}$ac_header_compiler" >&6; }
33942 # Is the header present?
33943 { echo "$as_me:$LINENO: checking vga.h presence" >&5
33944 echo $ECHO_N "checking vga.h presence... $ECHO_C" >&6; }
33945 cat >conftest.$ac_ext <<_ACEOF
33948 cat confdefs.h >>conftest.$ac_ext
33949 cat >>conftest.$ac_ext <<_ACEOF
33950 /* end confdefs.h. */
33953 if { (ac_try="$ac_cpp conftest.$ac_ext"
33954 case "(($ac_try" in
33955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33956 *) ac_try_echo=$ac_try;;
33958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33959 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33961 grep -v '^
*+' conftest.er1 >conftest.err
33963 cat conftest.err >&5
33964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33965 (exit $ac_status); } >/dev/null; then
33966 if test -s conftest.err; then
33967 ac_cpp_err=$ac_c_preproc_warn_flag
33968 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33975 if test -z "$ac_cpp_err"; then
33976 ac_header_preproc=yes
33978 echo "$as_me: failed program was:" >&5
33979 sed 's
/^
/|
/' conftest.$ac_ext >&5
33981 ac_header_preproc=no
33984 rm -f conftest.err conftest.$ac_ext
33985 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33986 echo "${ECHO_T}$ac_header_preproc" >&6; }
33988 # So? What about this header?
33989 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33991 { echo "$as_me:$LINENO: WARNING: vga.h: accepted by the compiler, rejected by the preprocessor!" >&5
33992 echo "$as_me: WARNING: vga.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33993 { echo "$as_me:$LINENO: WARNING: vga.h: proceeding with the compiler's result
" >&5
33994 echo "$as_me: WARNING
: vga.h
: proceeding with the compiler
's result" >&2;}
33995 ac_header_preproc=yes
33998 { echo "$as_me:$LINENO: WARNING: vga.h: present but cannot be compiled" >&5
33999 echo "$as_me: WARNING: vga.h: present but cannot be compiled" >&2;}
34000 { echo "$as_me:$LINENO: WARNING: vga.h: check for missing prerequisite headers?" >&5
34001 echo "$as_me: WARNING: vga.h: check for missing prerequisite headers?" >&2;}
34002 { echo "$as_me:$LINENO: WARNING: vga.h: see the Autoconf documentation" >&5
34003 echo "$as_me: WARNING: vga.h: see the Autoconf documentation" >&2;}
34004 { echo "$as_me:$LINENO: WARNING: vga.h: section \"Present But Cannot Be Compiled\"" >&5
34005 echo "$as_me: WARNING: vga.h: section \"Present But Cannot Be Compiled\"" >&2;}
34006 { echo "$as_me:$LINENO: WARNING: vga.h: proceeding with the preprocessor's result
" >&5
34007 echo "$as_me: WARNING
: vga.h
: proceeding with the preprocessor
's result" >&2;}
34008 { echo "$as_me:$LINENO: WARNING: vga.h: in the future, the compiler will take precedence" >&5
34009 echo "$as_me: WARNING: vga.h: in the future, the compiler will take precedence" >&2;}
34013 { echo "$as_me:$LINENO: checking for vga.h" >&5
34014 echo $ECHO_N "checking for vga.h... $ECHO_C" >&6; }
34015 if test "${ac_cv_header_vga_h+set}" = set; then
34016 echo $ECHO_N "(cached) $ECHO_C" >&6
34018 ac_cv_header_vga_h=$ac_header_preproc
34020 { echo "$as_me:$LINENO: result: $ac_cv_header_vga_h" >&5
34021 echo "${ECHO_T}$ac_cv_header_vga_h" >&6; }
34024 if test $ac_cv_header_vga_h = yes; then
34031 if test "${ac_cv_header_vgagl_h+set}" = set; then
34032 { echo "$as_me:$LINENO: checking for vgagl.h" >&5
34033 echo $ECHO_N "checking for vgagl.h... $ECHO_C" >&6; }
34034 if test "${ac_cv_header_vgagl_h+set}" = set; then
34035 echo $ECHO_N "(cached) $ECHO_C" >&6
34037 { echo "$as_me:$LINENO: result: $ac_cv_header_vgagl_h" >&5
34038 echo "${ECHO_T}$ac_cv_header_vgagl_h" >&6; }
34040 # Is the header compilable?
34041 { echo "$as_me:$LINENO: checking vgagl.h usability" >&5
34042 echo $ECHO_N "checking vgagl.h usability... $ECHO_C" >&6; }
34043 cat >conftest.$ac_ext <<_ACEOF
34046 cat confdefs.h >>conftest.$ac_ext
34047 cat >>conftest.$ac_ext <<_ACEOF
34048 /* end confdefs.h. */
34049 $ac_includes_default
34052 rm -f conftest.$ac_objext
34053 if { (ac_try="$ac_compile"
34054 case "(($ac_try" in
34055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34056 *) ac_try_echo=$ac_try;;
34058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34059 (eval "$ac_compile") 2>conftest.er1
34061 grep -v '^
*+' conftest.er1 >conftest.err
34063 cat conftest.err >&5
34064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34065 (exit $ac_status); } &&
34066 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
34067 { (case "(($ac_try" in
34068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34069 *) ac_try_echo=$ac_try;;
34071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34072 (eval "$ac_try") 2>&5
34074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34075 (exit $ac_status); }; } &&
34076 { ac_try='test -s conftest.
$ac_objext'
34077 { (case "(($ac_try" in
34078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34079 *) ac_try_echo=$ac_try;;
34081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34082 (eval "$ac_try") 2>&5
34084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34085 (exit $ac_status); }; }; then
34086 ac_header_compiler=yes
34088 echo "$as_me: failed program was:" >&5
34089 sed 's
/^
/|
/' conftest.$ac_ext >&5
34091 ac_header_compiler=no
34094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34095 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34096 echo "${ECHO_T}$ac_header_compiler" >&6; }
34098 # Is the header present?
34099 { echo "$as_me:$LINENO: checking vgagl.h presence" >&5
34100 echo $ECHO_N "checking vgagl.h presence... $ECHO_C" >&6; }
34101 cat >conftest.$ac_ext <<_ACEOF
34104 cat confdefs.h >>conftest.$ac_ext
34105 cat >>conftest.$ac_ext <<_ACEOF
34106 /* end confdefs.h. */
34109 if { (ac_try="$ac_cpp conftest.$ac_ext"
34110 case "(($ac_try" in
34111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34112 *) ac_try_echo=$ac_try;;
34114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34115 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34117 grep -v '^
*+' conftest.er1 >conftest.err
34119 cat conftest.err >&5
34120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34121 (exit $ac_status); } >/dev/null; then
34122 if test -s conftest.err; then
34123 ac_cpp_err=$ac_c_preproc_warn_flag
34124 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34131 if test -z "$ac_cpp_err"; then
34132 ac_header_preproc=yes
34134 echo "$as_me: failed program was:" >&5
34135 sed 's
/^
/|
/' conftest.$ac_ext >&5
34137 ac_header_preproc=no
34140 rm -f conftest.err conftest.$ac_ext
34141 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34142 echo "${ECHO_T}$ac_header_preproc" >&6; }
34144 # So? What about this header?
34145 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34147 { echo "$as_me:$LINENO: WARNING: vgagl.h: accepted by the compiler, rejected by the preprocessor!" >&5
34148 echo "$as_me: WARNING: vgagl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34149 { echo "$as_me:$LINENO: WARNING: vgagl.h: proceeding with the compiler's result
" >&5
34150 echo "$as_me: WARNING
: vgagl.h
: proceeding with the compiler
's result" >&2;}
34151 ac_header_preproc=yes
34154 { echo "$as_me:$LINENO: WARNING: vgagl.h: present but cannot be compiled" >&5
34155 echo "$as_me: WARNING: vgagl.h: present but cannot be compiled" >&2;}
34156 { echo "$as_me:$LINENO: WARNING: vgagl.h: check for missing prerequisite headers?" >&5
34157 echo "$as_me: WARNING: vgagl.h: check for missing prerequisite headers?" >&2;}
34158 { echo "$as_me:$LINENO: WARNING: vgagl.h: see the Autoconf documentation" >&5
34159 echo "$as_me: WARNING: vgagl.h: see the Autoconf documentation" >&2;}
34160 { echo "$as_me:$LINENO: WARNING: vgagl.h: section \"Present But Cannot Be Compiled\"" >&5
34161 echo "$as_me: WARNING: vgagl.h: section \"Present But Cannot Be Compiled\"" >&2;}
34162 { echo "$as_me:$LINENO: WARNING: vgagl.h: proceeding with the preprocessor's result
" >&5
34163 echo "$as_me: WARNING
: vgagl.h
: proceeding with the preprocessor
's result" >&2;}
34164 { echo "$as_me:$LINENO: WARNING: vgagl.h: in the future, the compiler will take precedence" >&5
34165 echo "$as_me: WARNING: vgagl.h: in the future, the compiler will take precedence" >&2;}
34169 { echo "$as_me:$LINENO: checking for vgagl.h" >&5
34170 echo $ECHO_N "checking for vgagl.h... $ECHO_C" >&6; }
34171 if test "${ac_cv_header_vgagl_h+set}" = set; then
34172 echo $ECHO_N "(cached) $ECHO_C" >&6
34174 ac_cv_header_vgagl_h=$ac_header_preproc
34176 { echo "$as_me:$LINENO: result: $ac_cv_header_vgagl_h" >&5
34177 echo "${ECHO_T}$ac_cv_header_vgagl_h" >&6; }
34180 if test $ac_cv_header_vgagl_h = yes; then
34187 if test $can_compile_svga = 1; then
34192 if test "$with_x11" != yes; then
34194 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
34195 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
34196 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
34197 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
34198 echo $ECHO_N "(cached) $ECHO_C" >&6
34200 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
34201 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
34203 # Is the header compilable?
34204 { echo "$as_me:$LINENO: checking X11/Xlib.h usability" >&5
34205 echo $ECHO_N "checking X11/Xlib.h usability... $ECHO_C" >&6; }
34206 cat >conftest.$ac_ext <<_ACEOF
34209 cat confdefs.h >>conftest.$ac_ext
34210 cat >>conftest.$ac_ext <<_ACEOF
34211 /* end confdefs.h. */
34212 $ac_includes_default
34213 #include <X11/Xlib.h>
34215 rm -f conftest.$ac_objext
34216 if { (ac_try="$ac_compile"
34217 case "(($ac_try" in
34218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34219 *) ac_try_echo=$ac_try;;
34221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34222 (eval "$ac_compile") 2>conftest.er1
34224 grep -v '^
*+' conftest.er1 >conftest.err
34226 cat conftest.err >&5
34227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34228 (exit $ac_status); } &&
34229 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
34230 { (case "(($ac_try" in
34231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34232 *) ac_try_echo=$ac_try;;
34234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34235 (eval "$ac_try") 2>&5
34237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34238 (exit $ac_status); }; } &&
34239 { ac_try='test -s conftest.
$ac_objext'
34240 { (case "(($ac_try" in
34241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34242 *) ac_try_echo=$ac_try;;
34244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34245 (eval "$ac_try") 2>&5
34247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34248 (exit $ac_status); }; }; then
34249 ac_header_compiler=yes
34251 echo "$as_me: failed program was:" >&5
34252 sed 's
/^
/|
/' conftest.$ac_ext >&5
34254 ac_header_compiler=no
34257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34258 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34259 echo "${ECHO_T}$ac_header_compiler" >&6; }
34261 # Is the header present?
34262 { echo "$as_me:$LINENO: checking X11/Xlib.h presence" >&5
34263 echo $ECHO_N "checking X11/Xlib.h presence... $ECHO_C" >&6; }
34264 cat >conftest.$ac_ext <<_ACEOF
34267 cat confdefs.h >>conftest.$ac_ext
34268 cat >>conftest.$ac_ext <<_ACEOF
34269 /* end confdefs.h. */
34270 #include <X11/Xlib.h>
34272 if { (ac_try="$ac_cpp conftest.$ac_ext"
34273 case "(($ac_try" in
34274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34275 *) ac_try_echo=$ac_try;;
34277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34278 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34280 grep -v '^
*+' conftest.er1 >conftest.err
34282 cat conftest.err >&5
34283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34284 (exit $ac_status); } >/dev/null; then
34285 if test -s conftest.err; then
34286 ac_cpp_err=$ac_c_preproc_warn_flag
34287 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34294 if test -z "$ac_cpp_err"; then
34295 ac_header_preproc=yes
34297 echo "$as_me: failed program was:" >&5
34298 sed 's
/^
/|
/' conftest.$ac_ext >&5
34300 ac_header_preproc=no
34303 rm -f conftest.err conftest.$ac_ext
34304 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34305 echo "${ECHO_T}$ac_header_preproc" >&6; }
34307 # So? What about this header?
34308 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34310 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
34311 echo "$as_me: WARNING: X11/Xlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34312 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: proceeding with the compiler's result
" >&5
34313 echo "$as_me: WARNING
: X11
/Xlib.h
: proceeding with the compiler
's result" >&2;}
34314 ac_header_preproc=yes
34317 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: present but cannot be compiled" >&5
34318 echo "$as_me: WARNING: X11/Xlib.h: present but cannot be compiled" >&2;}
34319 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: check for missing prerequisite headers?" >&5
34320 echo "$as_me: WARNING: X11/Xlib.h: check for missing prerequisite headers?" >&2;}
34321 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: see the Autoconf documentation" >&5
34322 echo "$as_me: WARNING: X11/Xlib.h: see the Autoconf documentation" >&2;}
34323 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: section \"Present But Cannot Be Compiled\"" >&5
34324 echo "$as_me: WARNING: X11/Xlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
34325 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: proceeding with the preprocessor's result
" >&5
34326 echo "$as_me: WARNING
: X11
/Xlib.h
: proceeding with the preprocessor
's result" >&2;}
34327 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: in the future, the compiler will take precedence" >&5
34328 echo "$as_me: WARNING: X11/Xlib.h: in the future, the compiler will take precedence" >&2;}
34332 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
34333 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
34334 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
34335 echo $ECHO_N "(cached) $ECHO_C" >&6
34337 ac_cv_header_X11_Xlib_h=$ac_header_preproc
34339 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
34340 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
34343 if test $ac_cv_header_X11_Xlib_h = yes; then
34350 if test "${ac_cv_header_X11_Xutil_h+set}" = set; then
34351 { echo "$as_me:$LINENO: checking for X11/Xutil.h" >&5
34352 echo $ECHO_N "checking for X11/Xutil.h... $ECHO_C" >&6; }
34353 if test "${ac_cv_header_X11_Xutil_h+set}" = set; then
34354 echo $ECHO_N "(cached) $ECHO_C" >&6
34356 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xutil_h" >&5
34357 echo "${ECHO_T}$ac_cv_header_X11_Xutil_h" >&6; }
34359 # Is the header compilable?
34360 { echo "$as_me:$LINENO: checking X11/Xutil.h usability" >&5
34361 echo $ECHO_N "checking X11/Xutil.h usability... $ECHO_C" >&6; }
34362 cat >conftest.$ac_ext <<_ACEOF
34365 cat confdefs.h >>conftest.$ac_ext
34366 cat >>conftest.$ac_ext <<_ACEOF
34367 /* end confdefs.h. */
34368 $ac_includes_default
34369 #include <X11/Xutil.h>
34371 rm -f conftest.$ac_objext
34372 if { (ac_try="$ac_compile"
34373 case "(($ac_try" in
34374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34375 *) ac_try_echo=$ac_try;;
34377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34378 (eval "$ac_compile") 2>conftest.er1
34380 grep -v '^
*+' conftest.er1 >conftest.err
34382 cat conftest.err >&5
34383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34384 (exit $ac_status); } &&
34385 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
34386 { (case "(($ac_try" in
34387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34388 *) ac_try_echo=$ac_try;;
34390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34391 (eval "$ac_try") 2>&5
34393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34394 (exit $ac_status); }; } &&
34395 { ac_try='test -s conftest.
$ac_objext'
34396 { (case "(($ac_try" in
34397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34398 *) ac_try_echo=$ac_try;;
34400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34401 (eval "$ac_try") 2>&5
34403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34404 (exit $ac_status); }; }; then
34405 ac_header_compiler=yes
34407 echo "$as_me: failed program was:" >&5
34408 sed 's
/^
/|
/' conftest.$ac_ext >&5
34410 ac_header_compiler=no
34413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34414 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34415 echo "${ECHO_T}$ac_header_compiler" >&6; }
34417 # Is the header present?
34418 { echo "$as_me:$LINENO: checking X11/Xutil.h presence" >&5
34419 echo $ECHO_N "checking X11/Xutil.h presence... $ECHO_C" >&6; }
34420 cat >conftest.$ac_ext <<_ACEOF
34423 cat confdefs.h >>conftest.$ac_ext
34424 cat >>conftest.$ac_ext <<_ACEOF
34425 /* end confdefs.h. */
34426 #include <X11/Xutil.h>
34428 if { (ac_try="$ac_cpp conftest.$ac_ext"
34429 case "(($ac_try" in
34430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34431 *) ac_try_echo=$ac_try;;
34433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34434 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34436 grep -v '^
*+' conftest.er1 >conftest.err
34438 cat conftest.err >&5
34439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34440 (exit $ac_status); } >/dev/null; then
34441 if test -s conftest.err; then
34442 ac_cpp_err=$ac_c_preproc_warn_flag
34443 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34450 if test -z "$ac_cpp_err"; then
34451 ac_header_preproc=yes
34453 echo "$as_me: failed program was:" >&5
34454 sed 's
/^
/|
/' conftest.$ac_ext >&5
34456 ac_header_preproc=no
34459 rm -f conftest.err conftest.$ac_ext
34460 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34461 echo "${ECHO_T}$ac_header_preproc" >&6; }
34463 # So? What about this header?
34464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34466 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: accepted by the compiler, rejected by the preprocessor!" >&5
34467 echo "$as_me: WARNING: X11/Xutil.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34468 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: proceeding with the compiler's result
" >&5
34469 echo "$as_me: WARNING
: X11
/Xutil.h
: proceeding with the compiler
's result" >&2;}
34470 ac_header_preproc=yes
34473 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: present but cannot be compiled" >&5
34474 echo "$as_me: WARNING: X11/Xutil.h: present but cannot be compiled" >&2;}
34475 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: check for missing prerequisite headers?" >&5
34476 echo "$as_me: WARNING: X11/Xutil.h: check for missing prerequisite headers?" >&2;}
34477 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: see the Autoconf documentation" >&5
34478 echo "$as_me: WARNING: X11/Xutil.h: see the Autoconf documentation" >&2;}
34479 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: section \"Present But Cannot Be Compiled\"" >&5
34480 echo "$as_me: WARNING: X11/Xutil.h: section \"Present But Cannot Be Compiled\"" >&2;}
34481 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: proceeding with the preprocessor's result
" >&5
34482 echo "$as_me: WARNING
: X11
/Xutil.h
: proceeding with the preprocessor
's result" >&2;}
34483 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: in the future, the compiler will take precedence" >&5
34484 echo "$as_me: WARNING: X11/Xutil.h: in the future, the compiler will take precedence" >&2;}
34488 { echo "$as_me:$LINENO: checking for X11/Xutil.h" >&5
34489 echo $ECHO_N "checking for X11/Xutil.h... $ECHO_C" >&6; }
34490 if test "${ac_cv_header_X11_Xutil_h+set}" = set; then
34491 echo $ECHO_N "(cached) $ECHO_C" >&6
34493 ac_cv_header_X11_Xutil_h=$ac_header_preproc
34495 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xutil_h" >&5
34496 echo "${ECHO_T}$ac_cv_header_X11_Xutil_h" >&6; }
34499 if test $ac_cv_header_X11_Xutil_h = yes; then
34506 if test $can_compile_x11 = 1; then
34511 if test "$with_rfb" != yes; then
34514 *-pc-windows* | *-pc-winnt* | *-pc-cygwin* | *-pc-mingw32*)
34515 if test "${ac_cv_header_winsock_h+set}" = set; then
34516 { echo "$as_me:$LINENO: checking for winsock.h" >&5
34517 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; }
34518 if test "${ac_cv_header_winsock_h+set}" = set; then
34519 echo $ECHO_N "(cached) $ECHO_C" >&6
34521 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5
34522 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; }
34524 # Is the header compilable?
34525 { echo "$as_me:$LINENO: checking winsock.h usability" >&5
34526 echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6; }
34527 cat >conftest.$ac_ext <<_ACEOF
34530 cat confdefs.h >>conftest.$ac_ext
34531 cat >>conftest.$ac_ext <<_ACEOF
34532 /* end confdefs.h. */
34533 $ac_includes_default
34534 #include <winsock.h>
34536 rm -f conftest.$ac_objext
34537 if { (ac_try="$ac_compile"
34538 case "(($ac_try" in
34539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34540 *) ac_try_echo=$ac_try;;
34542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34543 (eval "$ac_compile") 2>conftest.er1
34545 grep -v '^
*+' conftest.er1 >conftest.err
34547 cat conftest.err >&5
34548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34549 (exit $ac_status); } &&
34550 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
34551 { (case "(($ac_try" in
34552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34553 *) ac_try_echo=$ac_try;;
34555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34556 (eval "$ac_try") 2>&5
34558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34559 (exit $ac_status); }; } &&
34560 { ac_try='test -s conftest.
$ac_objext'
34561 { (case "(($ac_try" in
34562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34563 *) ac_try_echo=$ac_try;;
34565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34566 (eval "$ac_try") 2>&5
34568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34569 (exit $ac_status); }; }; then
34570 ac_header_compiler=yes
34572 echo "$as_me: failed program was:" >&5
34573 sed 's
/^
/|
/' conftest.$ac_ext >&5
34575 ac_header_compiler=no
34578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34579 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34580 echo "${ECHO_T}$ac_header_compiler" >&6; }
34582 # Is the header present?
34583 { echo "$as_me:$LINENO: checking winsock.h presence" >&5
34584 echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6; }
34585 cat >conftest.$ac_ext <<_ACEOF
34588 cat confdefs.h >>conftest.$ac_ext
34589 cat >>conftest.$ac_ext <<_ACEOF
34590 /* end confdefs.h. */
34591 #include <winsock.h>
34593 if { (ac_try="$ac_cpp conftest.$ac_ext"
34594 case "(($ac_try" in
34595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34596 *) ac_try_echo=$ac_try;;
34598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34599 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34601 grep -v '^
*+' conftest.er1 >conftest.err
34603 cat conftest.err >&5
34604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34605 (exit $ac_status); } >/dev/null; then
34606 if test -s conftest.err; then
34607 ac_cpp_err=$ac_c_preproc_warn_flag
34608 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34615 if test -z "$ac_cpp_err"; then
34616 ac_header_preproc=yes
34618 echo "$as_me: failed program was:" >&5
34619 sed 's
/^
/|
/' conftest.$ac_ext >&5
34621 ac_header_preproc=no
34624 rm -f conftest.err conftest.$ac_ext
34625 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34626 echo "${ECHO_T}$ac_header_preproc" >&6; }
34628 # So? What about this header?
34629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34631 { echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5
34632 echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34633 { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the compiler's result
" >&5
34634 echo "$as_me: WARNING
: winsock.h
: proceeding with the compiler
's result" >&2;}
34635 ac_header_preproc=yes
34638 { echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5
34639 echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;}
34640 { echo "$as_me:$LINENO: WARNING: winsock.h: check for missing prerequisite headers?" >&5
34641 echo "$as_me: WARNING: winsock.h: check for missing prerequisite headers?" >&2;}
34642 { echo "$as_me:$LINENO: WARNING: winsock.h: see the Autoconf documentation" >&5
34643 echo "$as_me: WARNING: winsock.h: see the Autoconf documentation" >&2;}
34644 { echo "$as_me:$LINENO: WARNING: winsock.h: section \"Present But Cannot Be Compiled\"" >&5
34645 echo "$as_me: WARNING: winsock.h: section \"Present But Cannot Be Compiled\"" >&2;}
34646 { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result
" >&5
34647 echo "$as_me: WARNING
: winsock.h
: proceeding with the preprocessor
's result" >&2;}
34648 { echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5
34649 echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;}
34653 { echo "$as_me:$LINENO: checking for winsock.h" >&5
34654 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; }
34655 if test "${ac_cv_header_winsock_h+set}" = set; then
34656 echo $ECHO_N "(cached) $ECHO_C" >&6
34658 ac_cv_header_winsock_h=$ac_header_preproc
34660 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5
34661 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; }
34664 if test $ac_cv_header_winsock_h = yes; then
34671 if test "${ac_cv_header_process_h+set}" = set; then
34672 { echo "$as_me:$LINENO: checking for process.h" >&5
34673 echo $ECHO_N "checking for process.h... $ECHO_C" >&6; }
34674 if test "${ac_cv_header_process_h+set}" = set; then
34675 echo $ECHO_N "(cached) $ECHO_C" >&6
34677 { echo "$as_me:$LINENO: result: $ac_cv_header_process_h" >&5
34678 echo "${ECHO_T}$ac_cv_header_process_h" >&6; }
34680 # Is the header compilable?
34681 { echo "$as_me:$LINENO: checking process.h usability" >&5
34682 echo $ECHO_N "checking process.h usability... $ECHO_C" >&6; }
34683 cat >conftest.$ac_ext <<_ACEOF
34686 cat confdefs.h >>conftest.$ac_ext
34687 cat >>conftest.$ac_ext <<_ACEOF
34688 /* end confdefs.h. */
34689 $ac_includes_default
34690 #include <process.h>
34692 rm -f conftest.$ac_objext
34693 if { (ac_try="$ac_compile"
34694 case "(($ac_try" in
34695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34696 *) ac_try_echo=$ac_try;;
34698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34699 (eval "$ac_compile") 2>conftest.er1
34701 grep -v '^
*+' conftest.er1 >conftest.err
34703 cat conftest.err >&5
34704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34705 (exit $ac_status); } &&
34706 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
34707 { (case "(($ac_try" in
34708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34709 *) ac_try_echo=$ac_try;;
34711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34712 (eval "$ac_try") 2>&5
34714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34715 (exit $ac_status); }; } &&
34716 { ac_try='test -s conftest.
$ac_objext'
34717 { (case "(($ac_try" in
34718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34719 *) ac_try_echo=$ac_try;;
34721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34722 (eval "$ac_try") 2>&5
34724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34725 (exit $ac_status); }; }; then
34726 ac_header_compiler=yes
34728 echo "$as_me: failed program was:" >&5
34729 sed 's
/^
/|
/' conftest.$ac_ext >&5
34731 ac_header_compiler=no
34734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34735 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34736 echo "${ECHO_T}$ac_header_compiler" >&6; }
34738 # Is the header present?
34739 { echo "$as_me:$LINENO: checking process.h presence" >&5
34740 echo $ECHO_N "checking process.h presence... $ECHO_C" >&6; }
34741 cat >conftest.$ac_ext <<_ACEOF
34744 cat confdefs.h >>conftest.$ac_ext
34745 cat >>conftest.$ac_ext <<_ACEOF
34746 /* end confdefs.h. */
34747 #include <process.h>
34749 if { (ac_try="$ac_cpp conftest.$ac_ext"
34750 case "(($ac_try" in
34751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34752 *) ac_try_echo=$ac_try;;
34754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34755 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34757 grep -v '^
*+' conftest.er1 >conftest.err
34759 cat conftest.err >&5
34760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34761 (exit $ac_status); } >/dev/null; then
34762 if test -s conftest.err; then
34763 ac_cpp_err=$ac_c_preproc_warn_flag
34764 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34771 if test -z "$ac_cpp_err"; then
34772 ac_header_preproc=yes
34774 echo "$as_me: failed program was:" >&5
34775 sed 's
/^
/|
/' conftest.$ac_ext >&5
34777 ac_header_preproc=no
34780 rm -f conftest.err conftest.$ac_ext
34781 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34782 echo "${ECHO_T}$ac_header_preproc" >&6; }
34784 # So? What about this header?
34785 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34787 { echo "$as_me:$LINENO: WARNING: process.h: accepted by the compiler, rejected by the preprocessor!" >&5
34788 echo "$as_me: WARNING: process.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34789 { echo "$as_me:$LINENO: WARNING: process.h: proceeding with the compiler's result
" >&5
34790 echo "$as_me: WARNING
: process.h
: proceeding with the compiler
's result" >&2;}
34791 ac_header_preproc=yes
34794 { echo "$as_me:$LINENO: WARNING: process.h: present but cannot be compiled" >&5
34795 echo "$as_me: WARNING: process.h: present but cannot be compiled" >&2;}
34796 { echo "$as_me:$LINENO: WARNING: process.h: check for missing prerequisite headers?" >&5
34797 echo "$as_me: WARNING: process.h: check for missing prerequisite headers?" >&2;}
34798 { echo "$as_me:$LINENO: WARNING: process.h: see the Autoconf documentation" >&5
34799 echo "$as_me: WARNING: process.h: see the Autoconf documentation" >&2;}
34800 { echo "$as_me:$LINENO: WARNING: process.h: section \"Present But Cannot Be Compiled\"" >&5
34801 echo "$as_me: WARNING: process.h: section \"Present But Cannot Be Compiled\"" >&2;}
34802 { echo "$as_me:$LINENO: WARNING: process.h: proceeding with the preprocessor's result
" >&5
34803 echo "$as_me: WARNING
: process.h
: proceeding with the preprocessor
's result" >&2;}
34804 { echo "$as_me:$LINENO: WARNING: process.h: in the future, the compiler will take precedence" >&5
34805 echo "$as_me: WARNING: process.h: in the future, the compiler will take precedence" >&2;}
34809 { echo "$as_me:$LINENO: checking for process.h" >&5
34810 echo $ECHO_N "checking for process.h... $ECHO_C" >&6; }
34811 if test "${ac_cv_header_process_h+set}" = set; then
34812 echo $ECHO_N "(cached) $ECHO_C" >&6
34814 ac_cv_header_process_h=$ac_header_preproc
34816 { echo "$as_me:$LINENO: result: $ac_cv_header_process_h" >&5
34817 echo "${ECHO_T}$ac_cv_header_process_h" >&6; }
34820 if test $ac_cv_header_process_h = yes; then
34829 if test "${ac_cv_header_sys_socket_h+set}" = set; then
34830 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5
34831 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; }
34832 if test "${ac_cv_header_sys_socket_h+set}" = set; then
34833 echo $ECHO_N "(cached) $ECHO_C" >&6
34835 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5
34836 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; }
34838 # Is the header compilable?
34839 { echo "$as_me:$LINENO: checking sys/socket.h usability" >&5
34840 echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6; }
34841 cat >conftest.$ac_ext <<_ACEOF
34844 cat confdefs.h >>conftest.$ac_ext
34845 cat >>conftest.$ac_ext <<_ACEOF
34846 /* end confdefs.h. */
34847 $ac_includes_default
34848 #include <sys/socket.h>
34850 rm -f conftest.$ac_objext
34851 if { (ac_try="$ac_compile"
34852 case "(($ac_try" in
34853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34854 *) ac_try_echo=$ac_try;;
34856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34857 (eval "$ac_compile") 2>conftest.er1
34859 grep -v '^
*+' conftest.er1 >conftest.err
34861 cat conftest.err >&5
34862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34863 (exit $ac_status); } &&
34864 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
34865 { (case "(($ac_try" in
34866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34867 *) ac_try_echo=$ac_try;;
34869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34870 (eval "$ac_try") 2>&5
34872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34873 (exit $ac_status); }; } &&
34874 { ac_try='test -s conftest.
$ac_objext'
34875 { (case "(($ac_try" in
34876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34877 *) ac_try_echo=$ac_try;;
34879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34880 (eval "$ac_try") 2>&5
34882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34883 (exit $ac_status); }; }; then
34884 ac_header_compiler=yes
34886 echo "$as_me: failed program was:" >&5
34887 sed 's
/^
/|
/' conftest.$ac_ext >&5
34889 ac_header_compiler=no
34892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34893 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34894 echo "${ECHO_T}$ac_header_compiler" >&6; }
34896 # Is the header present?
34897 { echo "$as_me:$LINENO: checking sys/socket.h presence" >&5
34898 echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6; }
34899 cat >conftest.$ac_ext <<_ACEOF
34902 cat confdefs.h >>conftest.$ac_ext
34903 cat >>conftest.$ac_ext <<_ACEOF
34904 /* end confdefs.h. */
34905 #include <sys/socket.h>
34907 if { (ac_try="$ac_cpp conftest.$ac_ext"
34908 case "(($ac_try" in
34909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34910 *) ac_try_echo=$ac_try;;
34912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34913 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34915 grep -v '^
*+' conftest.er1 >conftest.err
34917 cat conftest.err >&5
34918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919 (exit $ac_status); } >/dev/null; then
34920 if test -s conftest.err; then
34921 ac_cpp_err=$ac_c_preproc_warn_flag
34922 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34929 if test -z "$ac_cpp_err"; then
34930 ac_header_preproc=yes
34932 echo "$as_me: failed program was:" >&5
34933 sed 's
/^
/|
/' conftest.$ac_ext >&5
34935 ac_header_preproc=no
34938 rm -f conftest.err conftest.$ac_ext
34939 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34940 echo "${ECHO_T}$ac_header_preproc" >&6; }
34942 # So? What about this header?
34943 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34945 { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5
34946 echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34947 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result
" >&5
34948 echo "$as_me: WARNING
: sys
/socket.h
: proceeding with the compiler
's result" >&2;}
34949 ac_header_preproc=yes
34952 { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5
34953 echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;}
34954 { echo "$as_me:$LINENO: WARNING: sys/socket.h: check for missing prerequisite headers?" >&5
34955 echo "$as_me: WARNING: sys/socket.h: check for missing prerequisite headers?" >&2;}
34956 { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5
34957 echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;}
34958 { echo "$as_me:$LINENO: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&5
34959 echo "$as_me: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&2;}
34960 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result
" >&5
34961 echo "$as_me: WARNING
: sys
/socket.h
: proceeding with the preprocessor
's result" >&2;}
34962 { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5
34963 echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;}
34967 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5
34968 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; }
34969 if test "${ac_cv_header_sys_socket_h+set}" = set; then
34970 echo $ECHO_N "(cached) $ECHO_C" >&6
34972 ac_cv_header_sys_socket_h=$ac_header_preproc
34974 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5
34975 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; }
34978 if test $ac_cv_header_sys_socket_h = yes; then
34985 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then
34986 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5
34987 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; }
34988 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then
34989 echo $ECHO_N "(cached) $ECHO_C" >&6
34991 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5
34992 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; }
34994 # Is the header compilable?
34995 { echo "$as_me:$LINENO: checking netinet/tcp.h usability" >&5
34996 echo $ECHO_N "checking netinet/tcp.h usability... $ECHO_C" >&6; }
34997 cat >conftest.$ac_ext <<_ACEOF
35000 cat confdefs.h >>conftest.$ac_ext
35001 cat >>conftest.$ac_ext <<_ACEOF
35002 /* end confdefs.h. */
35003 $ac_includes_default
35004 #include <netinet/tcp.h>
35006 rm -f conftest.$ac_objext
35007 if { (ac_try="$ac_compile"
35008 case "(($ac_try" in
35009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35010 *) ac_try_echo=$ac_try;;
35012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35013 (eval "$ac_compile") 2>conftest.er1
35015 grep -v '^
*+' conftest.er1 >conftest.err
35017 cat conftest.err >&5
35018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35019 (exit $ac_status); } &&
35020 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
35021 { (case "(($ac_try" in
35022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35023 *) ac_try_echo=$ac_try;;
35025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35026 (eval "$ac_try") 2>&5
35028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35029 (exit $ac_status); }; } &&
35030 { ac_try='test -s conftest.
$ac_objext'
35031 { (case "(($ac_try" in
35032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35033 *) ac_try_echo=$ac_try;;
35035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35036 (eval "$ac_try") 2>&5
35038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35039 (exit $ac_status); }; }; then
35040 ac_header_compiler=yes
35042 echo "$as_me: failed program was:" >&5
35043 sed 's
/^
/|
/' conftest.$ac_ext >&5
35045 ac_header_compiler=no
35048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35049 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35050 echo "${ECHO_T}$ac_header_compiler" >&6; }
35052 # Is the header present?
35053 { echo "$as_me:$LINENO: checking netinet/tcp.h presence" >&5
35054 echo $ECHO_N "checking netinet/tcp.h presence... $ECHO_C" >&6; }
35055 cat >conftest.$ac_ext <<_ACEOF
35058 cat confdefs.h >>conftest.$ac_ext
35059 cat >>conftest.$ac_ext <<_ACEOF
35060 /* end confdefs.h. */
35061 #include <netinet/tcp.h>
35063 if { (ac_try="$ac_cpp conftest.$ac_ext"
35064 case "(($ac_try" in
35065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35066 *) ac_try_echo=$ac_try;;
35068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35069 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35071 grep -v '^
*+' conftest.er1 >conftest.err
35073 cat conftest.err >&5
35074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35075 (exit $ac_status); } >/dev/null; then
35076 if test -s conftest.err; then
35077 ac_cpp_err=$ac_c_preproc_warn_flag
35078 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35085 if test -z "$ac_cpp_err"; then
35086 ac_header_preproc=yes
35088 echo "$as_me: failed program was:" >&5
35089 sed 's
/^
/|
/' conftest.$ac_ext >&5
35091 ac_header_preproc=no
35094 rm -f conftest.err conftest.$ac_ext
35095 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35096 echo "${ECHO_T}$ac_header_preproc" >&6; }
35098 # So? What about this header?
35099 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35101 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&5
35102 echo "$as_me: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35103 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the compiler's result
" >&5
35104 echo "$as_me: WARNING
: netinet
/tcp.h
: proceeding with the compiler
's result" >&2;}
35105 ac_header_preproc=yes
35108 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: present but cannot be compiled" >&5
35109 echo "$as_me: WARNING: netinet/tcp.h: present but cannot be compiled" >&2;}
35110 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: check for missing prerequisite headers?" >&5
35111 echo "$as_me: WARNING: netinet/tcp.h: check for missing prerequisite headers?" >&2;}
35112 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: see the Autoconf documentation" >&5
35113 echo "$as_me: WARNING: netinet/tcp.h: see the Autoconf documentation" >&2;}
35114 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: section \"Present But Cannot Be Compiled\"" >&5
35115 echo "$as_me: WARNING: netinet/tcp.h: section \"Present But Cannot Be Compiled\"" >&2;}
35116 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the preprocessor's result
" >&5
35117 echo "$as_me: WARNING
: netinet
/tcp.h
: proceeding with the preprocessor
's result" >&2;}
35118 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&5
35119 echo "$as_me: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&2;}
35123 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5
35124 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; }
35125 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then
35126 echo $ECHO_N "(cached) $ECHO_C" >&6
35128 ac_cv_header_netinet_tcp_h=$ac_header_preproc
35130 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5
35131 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; }
35134 if test $ac_cv_header_netinet_tcp_h = yes; then
35141 if test "${ac_cv_header_pthread_h+set}" = set; then
35142 { echo "$as_me:$LINENO: checking for pthread.h" >&5
35143 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
35144 if test "${ac_cv_header_pthread_h+set}" = set; then
35145 echo $ECHO_N "(cached) $ECHO_C" >&6
35147 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
35148 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
35150 # Is the header compilable?
35151 { echo "$as_me:$LINENO: checking pthread.h usability" >&5
35152 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; }
35153 cat >conftest.$ac_ext <<_ACEOF
35156 cat confdefs.h >>conftest.$ac_ext
35157 cat >>conftest.$ac_ext <<_ACEOF
35158 /* end confdefs.h. */
35159 $ac_includes_default
35160 #include <pthread.h>
35162 rm -f conftest.$ac_objext
35163 if { (ac_try="$ac_compile"
35164 case "(($ac_try" in
35165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35166 *) ac_try_echo=$ac_try;;
35168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35169 (eval "$ac_compile") 2>conftest.er1
35171 grep -v '^
*+' conftest.er1 >conftest.err
35173 cat conftest.err >&5
35174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35175 (exit $ac_status); } &&
35176 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
35177 { (case "(($ac_try" in
35178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35179 *) ac_try_echo=$ac_try;;
35181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35182 (eval "$ac_try") 2>&5
35184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35185 (exit $ac_status); }; } &&
35186 { ac_try='test -s conftest.
$ac_objext'
35187 { (case "(($ac_try" in
35188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35189 *) ac_try_echo=$ac_try;;
35191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35192 (eval "$ac_try") 2>&5
35194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35195 (exit $ac_status); }; }; then
35196 ac_header_compiler=yes
35198 echo "$as_me: failed program was:" >&5
35199 sed 's
/^
/|
/' conftest.$ac_ext >&5
35201 ac_header_compiler=no
35204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35205 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35206 echo "${ECHO_T}$ac_header_compiler" >&6; }
35208 # Is the header present?
35209 { echo "$as_me:$LINENO: checking pthread.h presence" >&5
35210 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6; }
35211 cat >conftest.$ac_ext <<_ACEOF
35214 cat confdefs.h >>conftest.$ac_ext
35215 cat >>conftest.$ac_ext <<_ACEOF
35216 /* end confdefs.h. */
35217 #include <pthread.h>
35219 if { (ac_try="$ac_cpp conftest.$ac_ext"
35220 case "(($ac_try" in
35221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35222 *) ac_try_echo=$ac_try;;
35224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35225 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35227 grep -v '^
*+' conftest.er1 >conftest.err
35229 cat conftest.err >&5
35230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35231 (exit $ac_status); } >/dev/null; then
35232 if test -s conftest.err; then
35233 ac_cpp_err=$ac_c_preproc_warn_flag
35234 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35241 if test -z "$ac_cpp_err"; then
35242 ac_header_preproc=yes
35244 echo "$as_me: failed program was:" >&5
35245 sed 's
/^
/|
/' conftest.$ac_ext >&5
35247 ac_header_preproc=no
35250 rm -f conftest.err conftest.$ac_ext
35251 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35252 echo "${ECHO_T}$ac_header_preproc" >&6; }
35254 # So? What about this header?
35255 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35257 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
35258 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35259 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result
" >&5
35260 echo "$as_me: WARNING
: pthread.h
: proceeding with the compiler
's result" >&2;}
35261 ac_header_preproc=yes
35264 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
35265 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
35266 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
35267 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
35268 { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
35269 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
35270 { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
35271 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
35272 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result
" >&5
35273 echo "$as_me: WARNING
: pthread.h
: proceeding with the preprocessor
's result" >&2;}
35274 { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
35275 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
35279 { echo "$as_me:$LINENO: checking for pthread.h" >&5
35280 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
35281 if test "${ac_cv_header_pthread_h+set}" = set; then
35282 echo $ECHO_N "(cached) $ECHO_C" >&6
35284 ac_cv_header_pthread_h=$ac_header_preproc
35286 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
35287 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
35290 if test $ac_cv_header_pthread_h = yes; then
35299 if test $can_compile_rfb = 1; then
35304 if test "$with_term" != yes; then
35306 if test "${ac_cv_header_curses_h+set}" = set; then
35307 { echo "$as_me:$LINENO: checking for curses.h" >&5
35308 echo $ECHO_N "checking for curses.h... $ECHO_C" >&6; }
35309 if test "${ac_cv_header_curses_h+set}" = set; then
35310 echo $ECHO_N "(cached) $ECHO_C" >&6
35312 { echo "$as_me:$LINENO: result: $ac_cv_header_curses_h" >&5
35313 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
35315 # Is the header compilable?
35316 { echo "$as_me:$LINENO: checking curses.h usability" >&5
35317 echo $ECHO_N "checking curses.h usability... $ECHO_C" >&6; }
35318 cat >conftest.$ac_ext <<_ACEOF
35321 cat confdefs.h >>conftest.$ac_ext
35322 cat >>conftest.$ac_ext <<_ACEOF
35323 /* end confdefs.h. */
35324 $ac_includes_default
35325 #include <curses.h>
35327 rm -f conftest.$ac_objext
35328 if { (ac_try="$ac_compile"
35329 case "(($ac_try" in
35330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35331 *) ac_try_echo=$ac_try;;
35333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35334 (eval "$ac_compile") 2>conftest.er1
35336 grep -v '^
*+' conftest.er1 >conftest.err
35338 cat conftest.err >&5
35339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35340 (exit $ac_status); } &&
35341 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
35342 { (case "(($ac_try" in
35343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35344 *) ac_try_echo=$ac_try;;
35346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35347 (eval "$ac_try") 2>&5
35349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35350 (exit $ac_status); }; } &&
35351 { ac_try='test -s conftest.
$ac_objext'
35352 { (case "(($ac_try" in
35353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35354 *) ac_try_echo=$ac_try;;
35356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35357 (eval "$ac_try") 2>&5
35359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35360 (exit $ac_status); }; }; then
35361 ac_header_compiler=yes
35363 echo "$as_me: failed program was:" >&5
35364 sed 's
/^
/|
/' conftest.$ac_ext >&5
35366 ac_header_compiler=no
35369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35370 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35371 echo "${ECHO_T}$ac_header_compiler" >&6; }
35373 # Is the header present?
35374 { echo "$as_me:$LINENO: checking curses.h presence" >&5
35375 echo $ECHO_N "checking curses.h presence... $ECHO_C" >&6; }
35376 cat >conftest.$ac_ext <<_ACEOF
35379 cat confdefs.h >>conftest.$ac_ext
35380 cat >>conftest.$ac_ext <<_ACEOF
35381 /* end confdefs.h. */
35382 #include <curses.h>
35384 if { (ac_try="$ac_cpp conftest.$ac_ext"
35385 case "(($ac_try" in
35386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35387 *) ac_try_echo=$ac_try;;
35389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35390 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35392 grep -v '^
*+' conftest.er1 >conftest.err
35394 cat conftest.err >&5
35395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35396 (exit $ac_status); } >/dev/null; then
35397 if test -s conftest.err; then
35398 ac_cpp_err=$ac_c_preproc_warn_flag
35399 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35406 if test -z "$ac_cpp_err"; then
35407 ac_header_preproc=yes
35409 echo "$as_me: failed program was:" >&5
35410 sed 's
/^
/|
/' conftest.$ac_ext >&5
35412 ac_header_preproc=no
35415 rm -f conftest.err conftest.$ac_ext
35416 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35417 echo "${ECHO_T}$ac_header_preproc" >&6; }
35419 # So? What about this header?
35420 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35422 { echo "$as_me:$LINENO: WARNING: curses.h: accepted by the compiler, rejected by the preprocessor!" >&5
35423 echo "$as_me: WARNING: curses.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35424 { echo "$as_me:$LINENO: WARNING: curses.h: proceeding with the compiler's result
" >&5
35425 echo "$as_me: WARNING
: curses.h
: proceeding with the compiler
's result" >&2;}
35426 ac_header_preproc=yes
35429 { echo "$as_me:$LINENO: WARNING: curses.h: present but cannot be compiled" >&5
35430 echo "$as_me: WARNING: curses.h: present but cannot be compiled" >&2;}
35431 { echo "$as_me:$LINENO: WARNING: curses.h: check for missing prerequisite headers?" >&5
35432 echo "$as_me: WARNING: curses.h: check for missing prerequisite headers?" >&2;}
35433 { echo "$as_me:$LINENO: WARNING: curses.h: see the Autoconf documentation" >&5
35434 echo "$as_me: WARNING: curses.h: see the Autoconf documentation" >&2;}
35435 { echo "$as_me:$LINENO: WARNING: curses.h: section \"Present But Cannot Be Compiled\"" >&5
35436 echo "$as_me: WARNING: curses.h: section \"Present But Cannot Be Compiled\"" >&2;}
35437 { echo "$as_me:$LINENO: WARNING: curses.h: proceeding with the preprocessor's result
" >&5
35438 echo "$as_me: WARNING
: curses.h
: proceeding with the preprocessor
's result" >&2;}
35439 { echo "$as_me:$LINENO: WARNING: curses.h: in the future, the compiler will take precedence" >&5
35440 echo "$as_me: WARNING: curses.h: in the future, the compiler will take precedence" >&2;}
35444 { echo "$as_me:$LINENO: checking for curses.h" >&5
35445 echo $ECHO_N "checking for curses.h... $ECHO_C" >&6; }
35446 if test "${ac_cv_header_curses_h+set}" = set; then
35447 echo $ECHO_N "(cached) $ECHO_C" >&6
35449 ac_cv_header_curses_h=$ac_header_preproc
35451 { echo "$as_me:$LINENO: result: $ac_cv_header_curses_h" >&5
35452 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
35455 if test $ac_cv_header_curses_h = yes; then
35462 if test "${ac_cv_header_signal_h+set}" = set; then
35463 { echo "$as_me:$LINENO: checking for signal.h" >&5
35464 echo $ECHO_N "checking for signal.h... $ECHO_C" >&6; }
35465 if test "${ac_cv_header_signal_h+set}" = set; then
35466 echo $ECHO_N "(cached) $ECHO_C" >&6
35468 { echo "$as_me:$LINENO: result: $ac_cv_header_signal_h" >&5
35469 echo "${ECHO_T}$ac_cv_header_signal_h" >&6; }
35471 # Is the header compilable?
35472 { echo "$as_me:$LINENO: checking signal.h usability" >&5
35473 echo $ECHO_N "checking signal.h usability... $ECHO_C" >&6; }
35474 cat >conftest.$ac_ext <<_ACEOF
35477 cat confdefs.h >>conftest.$ac_ext
35478 cat >>conftest.$ac_ext <<_ACEOF
35479 /* end confdefs.h. */
35480 $ac_includes_default
35481 #include <signal.h>
35483 rm -f conftest.$ac_objext
35484 if { (ac_try="$ac_compile"
35485 case "(($ac_try" in
35486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35487 *) ac_try_echo=$ac_try;;
35489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35490 (eval "$ac_compile") 2>conftest.er1
35492 grep -v '^
*+' conftest.er1 >conftest.err
35494 cat conftest.err >&5
35495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35496 (exit $ac_status); } &&
35497 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
35498 { (case "(($ac_try" in
35499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35500 *) ac_try_echo=$ac_try;;
35502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35503 (eval "$ac_try") 2>&5
35505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35506 (exit $ac_status); }; } &&
35507 { ac_try='test -s conftest.
$ac_objext'
35508 { (case "(($ac_try" in
35509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35510 *) ac_try_echo=$ac_try;;
35512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35513 (eval "$ac_try") 2>&5
35515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35516 (exit $ac_status); }; }; then
35517 ac_header_compiler=yes
35519 echo "$as_me: failed program was:" >&5
35520 sed 's
/^
/|
/' conftest.$ac_ext >&5
35522 ac_header_compiler=no
35525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35526 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35527 echo "${ECHO_T}$ac_header_compiler" >&6; }
35529 # Is the header present?
35530 { echo "$as_me:$LINENO: checking signal.h presence" >&5
35531 echo $ECHO_N "checking signal.h presence... $ECHO_C" >&6; }
35532 cat >conftest.$ac_ext <<_ACEOF
35535 cat confdefs.h >>conftest.$ac_ext
35536 cat >>conftest.$ac_ext <<_ACEOF
35537 /* end confdefs.h. */
35538 #include <signal.h>
35540 if { (ac_try="$ac_cpp conftest.$ac_ext"
35541 case "(($ac_try" in
35542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35543 *) ac_try_echo=$ac_try;;
35545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35546 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35548 grep -v '^
*+' conftest.er1 >conftest.err
35550 cat conftest.err >&5
35551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35552 (exit $ac_status); } >/dev/null; then
35553 if test -s conftest.err; then
35554 ac_cpp_err=$ac_c_preproc_warn_flag
35555 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35562 if test -z "$ac_cpp_err"; then
35563 ac_header_preproc=yes
35565 echo "$as_me: failed program was:" >&5
35566 sed 's
/^
/|
/' conftest.$ac_ext >&5
35568 ac_header_preproc=no
35571 rm -f conftest.err conftest.$ac_ext
35572 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35573 echo "${ECHO_T}$ac_header_preproc" >&6; }
35575 # So? What about this header?
35576 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35578 { echo "$as_me:$LINENO: WARNING: signal.h: accepted by the compiler, rejected by the preprocessor!" >&5
35579 echo "$as_me: WARNING: signal.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35580 { echo "$as_me:$LINENO: WARNING: signal.h: proceeding with the compiler's result
" >&5
35581 echo "$as_me: WARNING
: signal.h
: proceeding with the compiler
's result" >&2;}
35582 ac_header_preproc=yes
35585 { echo "$as_me:$LINENO: WARNING: signal.h: present but cannot be compiled" >&5
35586 echo "$as_me: WARNING: signal.h: present but cannot be compiled" >&2;}
35587 { echo "$as_me:$LINENO: WARNING: signal.h: check for missing prerequisite headers?" >&5
35588 echo "$as_me: WARNING: signal.h: check for missing prerequisite headers?" >&2;}
35589 { echo "$as_me:$LINENO: WARNING: signal.h: see the Autoconf documentation" >&5
35590 echo "$as_me: WARNING: signal.h: see the Autoconf documentation" >&2;}
35591 { echo "$as_me:$LINENO: WARNING: signal.h: section \"Present But Cannot Be Compiled\"" >&5
35592 echo "$as_me: WARNING: signal.h: section \"Present But Cannot Be Compiled\"" >&2;}
35593 { echo "$as_me:$LINENO: WARNING: signal.h: proceeding with the preprocessor's result
" >&5
35594 echo "$as_me: WARNING
: signal.h
: proceeding with the preprocessor
's result" >&2;}
35595 { echo "$as_me:$LINENO: WARNING: signal.h: in the future, the compiler will take precedence" >&5
35596 echo "$as_me: WARNING: signal.h: in the future, the compiler will take precedence" >&2;}
35600 { echo "$as_me:$LINENO: checking for signal.h" >&5
35601 echo $ECHO_N "checking for signal.h... $ECHO_C" >&6; }
35602 if test "${ac_cv_header_signal_h+set}" = set; then
35603 echo $ECHO_N "(cached) $ECHO_C" >&6
35605 ac_cv_header_signal_h=$ac_header_preproc
35607 { echo "$as_me:$LINENO: result: $ac_cv_header_signal_h" >&5
35608 echo "${ECHO_T}$ac_cv_header_signal_h" >&6; }
35611 if test $ac_cv_header_signal_h = yes; then
35618 if test $can_compile_term = 1; then
35623 if test "$with_nogui" != yes; then
35626 fi # end of if $with_all_libs = yes
35628 { echo "$as_me:$LINENO: checking for idle hack" >&5
35629 echo $ECHO_N "checking for idle hack... $ECHO_C" >&6; }
35630 # Check whether --enable-idle-hack was given.
35631 if test "${enable_idle_hack+set}" = set; then
35632 enableval=$enable_idle_hack; if test "$enableval" = yes; then
35633 { echo "$as_me:$LINENO: result: yes" >&5
35634 echo "${ECHO_T}yes" >&6; }
35635 cat >>confdefs.h <<\_ACEOF
35636 #define BX_USE_IDLE_HACK 1
35640 { echo "$as_me:$LINENO: result: no" >&5
35641 echo "${ECHO_T}no" >&6; }
35642 cat >>confdefs.h <<\_ACEOF
35643 #define BX_USE_IDLE_HACK 0
35649 { echo "$as_me:$LINENO: result: no" >&5
35650 echo "${ECHO_T}no" >&6; }
35651 cat >>confdefs.h <<\_ACEOF
35652 #define BX_USE_IDLE_HACK 0
35661 if test "${ac_cv_header_dlfcn_h+set}" = set; then
35662 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5
35663 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
35664 if test "${ac_cv_header_dlfcn_h+set}" = set; then
35665 echo $ECHO_N "(cached) $ECHO_C" >&6
35667 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
35668 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
35670 # Is the header compilable?
35671 { echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
35672 echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; }
35673 cat >conftest.$ac_ext <<_ACEOF
35676 cat confdefs.h >>conftest.$ac_ext
35677 cat >>conftest.$ac_ext <<_ACEOF
35678 /* end confdefs.h. */
35679 $ac_includes_default
35682 rm -f conftest.$ac_objext
35683 if { (ac_try="$ac_compile"
35684 case "(($ac_try" in
35685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35686 *) ac_try_echo=$ac_try;;
35688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35689 (eval "$ac_compile") 2>conftest.er1
35691 grep -v '^
*+' conftest.er1 >conftest.err
35693 cat conftest.err >&5
35694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35695 (exit $ac_status); } &&
35696 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
35697 { (case "(($ac_try" in
35698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35699 *) ac_try_echo=$ac_try;;
35701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35702 (eval "$ac_try") 2>&5
35704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35705 (exit $ac_status); }; } &&
35706 { ac_try='test -s conftest.
$ac_objext'
35707 { (case "(($ac_try" in
35708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35709 *) ac_try_echo=$ac_try;;
35711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35712 (eval "$ac_try") 2>&5
35714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35715 (exit $ac_status); }; }; then
35716 ac_header_compiler=yes
35718 echo "$as_me: failed program was:" >&5
35719 sed 's
/^
/|
/' conftest.$ac_ext >&5
35721 ac_header_compiler=no
35724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35725 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35726 echo "${ECHO_T}$ac_header_compiler" >&6; }
35728 # Is the header present?
35729 { echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
35730 echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; }
35731 cat >conftest.$ac_ext <<_ACEOF
35734 cat confdefs.h >>conftest.$ac_ext
35735 cat >>conftest.$ac_ext <<_ACEOF
35736 /* end confdefs.h. */
35739 if { (ac_try="$ac_cpp conftest.$ac_ext"
35740 case "(($ac_try" in
35741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35742 *) ac_try_echo=$ac_try;;
35744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35745 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35747 grep -v '^
*+' conftest.er1 >conftest.err
35749 cat conftest.err >&5
35750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35751 (exit $ac_status); } >/dev/null; then
35752 if test -s conftest.err; then
35753 ac_cpp_err=$ac_c_preproc_warn_flag
35754 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35761 if test -z "$ac_cpp_err"; then
35762 ac_header_preproc=yes
35764 echo "$as_me: failed program was:" >&5
35765 sed 's
/^
/|
/' conftest.$ac_ext >&5
35767 ac_header_preproc=no
35770 rm -f conftest.err conftest.$ac_ext
35771 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35772 echo "${ECHO_T}$ac_header_preproc" >&6; }
35774 # So? What about this header?
35775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35777 { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
35778 echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35779 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result
" >&5
35780 echo "$as_me: WARNING
: dlfcn.h
: proceeding with the compiler
's result" >&2;}
35781 ac_header_preproc=yes
35784 { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
35785 echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
35786 { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5
35787 echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;}
35788 { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
35789 echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
35790 { echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5
35791 echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;}
35792 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result
" >&5
35793 echo "$as_me: WARNING
: dlfcn.h
: proceeding with the preprocessor
's result" >&2;}
35794 { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
35795 echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
35799 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5
35800 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
35801 if test "${ac_cv_header_dlfcn_h+set}" = set; then
35802 echo $ECHO_N "(cached) $ECHO_C" >&6
35804 ac_cv_header_dlfcn_h=$ac_header_preproc
35806 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
35807 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
35810 if test $ac_cv_header_dlfcn_h = yes; then
35811 cat >>confdefs.h <<\_ACEOF
35812 #define BX_HAVE_DLFCN_H 1
35818 if test "${ac_cv_header_assert_h+set}" = set; then
35819 { echo "$as_me:$LINENO: checking for assert.h" >&5
35820 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; }
35821 if test "${ac_cv_header_assert_h+set}" = set; then
35822 echo $ECHO_N "(cached) $ECHO_C" >&6
35824 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5
35825 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; }
35827 # Is the header compilable?
35828 { echo "$as_me:$LINENO: checking assert.h usability" >&5
35829 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; }
35830 cat >conftest.$ac_ext <<_ACEOF
35833 cat confdefs.h >>conftest.$ac_ext
35834 cat >>conftest.$ac_ext <<_ACEOF
35835 /* end confdefs.h. */
35836 $ac_includes_default
35837 #include <assert.h>
35839 rm -f conftest.$ac_objext
35840 if { (ac_try="$ac_compile"
35841 case "(($ac_try" in
35842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35843 *) ac_try_echo=$ac_try;;
35845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35846 (eval "$ac_compile") 2>conftest.er1
35848 grep -v '^
*+' conftest.er1 >conftest.err
35850 cat conftest.err >&5
35851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35852 (exit $ac_status); } &&
35853 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
35854 { (case "(($ac_try" in
35855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35856 *) ac_try_echo=$ac_try;;
35858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35859 (eval "$ac_try") 2>&5
35861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35862 (exit $ac_status); }; } &&
35863 { ac_try='test -s conftest.
$ac_objext'
35864 { (case "(($ac_try" in
35865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35866 *) ac_try_echo=$ac_try;;
35868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35869 (eval "$ac_try") 2>&5
35871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35872 (exit $ac_status); }; }; then
35873 ac_header_compiler=yes
35875 echo "$as_me: failed program was:" >&5
35876 sed 's
/^
/|
/' conftest.$ac_ext >&5
35878 ac_header_compiler=no
35881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35882 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35883 echo "${ECHO_T}$ac_header_compiler" >&6; }
35885 # Is the header present?
35886 { echo "$as_me:$LINENO: checking assert.h presence" >&5
35887 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; }
35888 cat >conftest.$ac_ext <<_ACEOF
35891 cat confdefs.h >>conftest.$ac_ext
35892 cat >>conftest.$ac_ext <<_ACEOF
35893 /* end confdefs.h. */
35894 #include <assert.h>
35896 if { (ac_try="$ac_cpp conftest.$ac_ext"
35897 case "(($ac_try" in
35898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35899 *) ac_try_echo=$ac_try;;
35901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35902 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35904 grep -v '^
*+' conftest.er1 >conftest.err
35906 cat conftest.err >&5
35907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35908 (exit $ac_status); } >/dev/null; then
35909 if test -s conftest.err; then
35910 ac_cpp_err=$ac_c_preproc_warn_flag
35911 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35918 if test -z "$ac_cpp_err"; then
35919 ac_header_preproc=yes
35921 echo "$as_me: failed program was:" >&5
35922 sed 's
/^
/|
/' conftest.$ac_ext >&5
35924 ac_header_preproc=no
35927 rm -f conftest.err conftest.$ac_ext
35928 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35929 echo "${ECHO_T}$ac_header_preproc" >&6; }
35931 # So? What about this header?
35932 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35934 { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5
35935 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35936 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result
" >&5
35937 echo "$as_me: WARNING
: assert.h
: proceeding with the compiler
's result" >&2;}
35938 ac_header_preproc=yes
35941 { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5
35942 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;}
35943 { echo "$as_me:$LINENO: WARNING: assert.h: check for missing prerequisite headers?" >&5
35944 echo "$as_me: WARNING: assert.h: check for missing prerequisite headers?" >&2;}
35945 { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5
35946 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;}
35947 { echo "$as_me:$LINENO: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&5
35948 echo "$as_me: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&2;}
35949 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result
" >&5
35950 echo "$as_me: WARNING
: assert.h
: proceeding with the preprocessor
's result" >&2;}
35951 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5
35952 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;}
35956 { echo "$as_me:$LINENO: checking for assert.h" >&5
35957 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; }
35958 if test "${ac_cv_header_assert_h+set}" = set; then
35959 echo $ECHO_N "(cached) $ECHO_C" >&6
35961 ac_cv_header_assert_h=$ac_header_preproc
35963 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5
35964 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; }
35967 if test $ac_cv_header_assert_h = yes; then
35968 cat >>confdefs.h <<\_ACEOF
35969 #define HAVE_ASSERT_H 1
35976 { echo "$as_me:$LINENO: checking for plugins support" >&5
35977 echo $ECHO_N "checking for plugins support... $ECHO_C" >&6; }
35978 # Check whether --enable-plugins was given.
35979 if test "${enable_plugins+set}" = set; then
35980 enableval=$enable_plugins; if test "$enableval" = yes; then
35993 if test "$bx_plugins" = 1; then
35994 { echo "$as_me:$LINENO: result: yes" >&5
35995 echo "${ECHO_T}yes" >&6; }
35996 cat >>confdefs.h <<\_ACEOF
35997 #define BX_PLUGINS 1
36000 GUI_NON_PLUGIN_OBJS='$
(OBJS_THAT_CANNOT_BE_PLUGINS
)'
36001 GUI_PLUGIN_OBJS='$
(OBJS_THAT_CAN_BE_PLUGINS
)'
36002 DEFINE_PLUGIN_PATH='-DBX_PLUGIN_PATH="\"${plugdir}\""'
36003 # and the $(OBJS_THAT_SUPPORT_OTHER_PLUGINS) will be built and linked
36004 # by special link rules for the plugins that they support.
36005 LIBS="$LIBS $LIBADD_DL"
36006 PLUGIN_VAR='ltdl.o
'
36007 PLUGIN_TARGET=bochs_plugins
36008 INSTALL_PLUGINS_VAR=install_libtool_plugins
36009 NONPLUGIN_GUI_LINK_OPTS=''
36011 { echo "$as_me:$LINENO: result: no" >&5
36012 echo "${ECHO_T}no" >&6; }
36014 cat >>confdefs.h <<\_ACEOF
36015 #define BX_PLUGINS 0
36018 GUI_NON_PLUGIN_OBJS='$
(OBJS_THAT_CANNOT_BE_PLUGINS
) $
(OBJS_THAT_CAN_BE_PLUGINS
) $
(OBJS_THAT_SUPPORT_OTHER_PLUGINS
)'
36020 NONPLUGIN_GUI_LINK_OPTS='$
(GUI_LINK_OPTS
)'
36025 # copy gui variables into iodev variables. Later, we will add to the gui
36026 # objs list, according to which display libraries are enabled.
36027 IODEV_NON_PLUGIN_OBJS=$GUI_NON_PLUGIN_OBJS
36028 IODEV_PLUGIN_OBJS=$GUI_PLUGIN_OBJS
36030 # on MacOSX if they enabled plugins, make sure that dlopen() was found.
36031 # It is provided by a library called dlcompat.
36032 if test "$bx_plugins" = 1 -a "$need_dlcompat_for_plugins" = 1; then
36034 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
36035 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
36036 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
36037 echo $ECHO_N "(cached) $ECHO_C" >&6
36039 ac_check_lib_save_LIBS=$LIBS
36041 cat >conftest.$ac_ext <<_ACEOF
36044 cat confdefs.h >>conftest.$ac_ext
36045 cat >>conftest.$ac_ext <<_ACEOF
36046 /* end confdefs.h. */
36048 /* Override any GCC internal prototype to avoid an error.
36049 Use char because int might match the return type of a GCC
36050 builtin and then its argument prototype would still apply. */
36063 rm -f conftest.$ac_objext conftest$ac_exeext
36064 if { (ac_try="$ac_link"
36065 case "(($ac_try" in
36066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36067 *) ac_try_echo=$ac_try;;
36069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36070 (eval "$ac_link") 2>conftest.er1
36072 grep -v '^
*+' conftest.er1 >conftest.err
36074 cat conftest.err >&5
36075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36076 (exit $ac_status); } &&
36077 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
36078 { (case "(($ac_try" in
36079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36080 *) ac_try_echo=$ac_try;;
36082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36083 (eval "$ac_try") 2>&5
36085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36086 (exit $ac_status); }; } &&
36087 { ac_try='test -s conftest
$ac_exeext'
36088 { (case "(($ac_try" in
36089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36090 *) ac_try_echo=$ac_try;;
36092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36093 (eval "$ac_try") 2>&5
36095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36096 (exit $ac_status); }; }; then
36097 ac_cv_lib_dl_dlopen=yes
36099 echo "$as_me: failed program was:" >&5
36100 sed 's
/^
/|
/' conftest.$ac_ext >&5
36102 ac_cv_lib_dl_dlopen=no
36105 rm -f core conftest.err conftest.$ac_objext \
36106 conftest$ac_exeext conftest.$ac_ext
36107 LIBS=$ac_check_lib_save_LIBS
36109 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
36110 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
36111 if test $ac_cv_lib_dl_dlopen = yes; then
36115 { echo "$as_me:$LINENO: checking if you have dlcompat" >&5
36116 echo $ECHO_N "checking if you have dlcompat... $ECHO_C" >&6; }
36117 if test "$have_dlopen" = 0; then
36118 { echo "$as_me:$LINENO: result: no" >&5
36119 echo "${ECHO_T}no" >&6; }
36120 { { 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
36121 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;}
36122 { (exit 1); exit 1; }; }
36124 { echo "$as_me:$LINENO: result: yes" >&5
36125 echo "${ECHO_T}yes" >&6; }
36129 { echo "$as_me:$LINENO: checking if compiler allows blank labels" >&5
36130 echo $ECHO_N "checking if compiler allows blank labels... $ECHO_C" >&6; }
36131 cat >conftest.$ac_ext <<_ACEOF
36134 cat confdefs.h >>conftest.$ac_ext
36135 cat >>conftest.$ac_ext <<_ACEOF
36136 /* end confdefs.h. */
36146 rm -f conftest.$ac_objext
36147 if { (ac_try="$ac_compile"
36148 case "(($ac_try" in
36149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36150 *) ac_try_echo=$ac_try;;
36152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36153 (eval "$ac_compile") 2>conftest.er1
36155 grep -v '^
*+' conftest.er1 >conftest.err
36157 cat conftest.err >&5
36158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36159 (exit $ac_status); } &&
36160 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
36161 { (case "(($ac_try" in
36162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36163 *) ac_try_echo=$ac_try;;
36165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36166 (eval "$ac_try") 2>&5
36168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36169 (exit $ac_status); }; } &&
36170 { ac_try='test -s conftest.
$ac_objext'
36171 { (case "(($ac_try" in
36172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36173 *) ac_try_echo=$ac_try;;
36175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36176 (eval "$ac_try") 2>&5
36178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36179 (exit $ac_status); }; }; then
36180 { echo "$as_me:$LINENO: result: yes" >&5
36181 echo "${ECHO_T}yes" >&6; }
36183 echo "$as_me: failed program was:" >&5
36184 sed 's
/^
/|
/' conftest.$ac_ext >&5
36187 { echo "$as_me:$LINENO: result: no" >&5
36188 echo "${ECHO_T}no" >&6; }
36189 cat >>confdefs.h <<\_ACEOF
36190 #define BX_NO_BLANK_LABELS 1
36196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36198 { echo "$as_me:$LINENO: checking if compiler allows LL for 64-bit constants" >&5
36199 echo $ECHO_N "checking if compiler allows LL for 64-bit constants... $ECHO_C" >&6; }
36200 cat >conftest.$ac_ext <<_ACEOF
36203 cat confdefs.h >>conftest.$ac_ext
36204 cat >>conftest.$ac_ext <<_ACEOF
36205 /* end confdefs.h. */
36215 rm -f conftest.$ac_objext
36216 if { (ac_try="$ac_compile"
36217 case "(($ac_try" in
36218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36219 *) ac_try_echo=$ac_try;;
36221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36222 (eval "$ac_compile") 2>conftest.er1
36224 grep -v '^
*+' conftest.er1 >conftest.err
36226 cat conftest.err >&5
36227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36228 (exit $ac_status); } &&
36229 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
36230 { (case "(($ac_try" in
36231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36232 *) ac_try_echo=$ac_try;;
36234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36235 (eval "$ac_try") 2>&5
36237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36238 (exit $ac_status); }; } &&
36239 { ac_try='test -s conftest.
$ac_objext'
36240 { (case "(($ac_try" in
36241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36242 *) ac_try_echo=$ac_try;;
36244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36245 (eval "$ac_try") 2>&5
36247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36248 (exit $ac_status); }; }; then
36249 { echo "$as_me:$LINENO: result: yes" >&5
36250 echo "${ECHO_T}yes" >&6; }
36252 echo "$as_me: failed program was:" >&5
36253 sed 's
/^
/|
/' conftest.$ac_ext >&5
36256 { echo "$as_me:$LINENO: result: no" >&5
36257 echo "${ECHO_T}no" >&6; }
36258 cat >>confdefs.h <<\_ACEOF
36259 #define BX_64BIT_CONSTANTS_USE_LL 0
36265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36268 { echo "$as_me:$LINENO: checking for x86-64 support" >&5
36269 echo $ECHO_N "checking for x86-64 support... $ECHO_C" >&6; }
36270 # Check whether --enable-x86-64 was given.
36271 if test "${enable_x86_64+set}" = set; then
36272 enableval=$enable_x86_64; if test "$enableval" = yes; then
36273 { echo "$as_me:$LINENO: result: yes" >&5
36274 echo "${ECHO_T}yes" >&6; }
36276 cat >>confdefs.h <<\_ACEOF
36277 #define BX_SUPPORT_X86_64 1
36282 { echo "$as_me:$LINENO: result: no" >&5
36283 echo "${ECHO_T}no" >&6; }
36285 cat >>confdefs.h <<\_ACEOF
36286 #define BX_SUPPORT_X86_64 0
36293 { echo "$as_me:$LINENO: result: no" >&5
36294 echo "${ECHO_T}no" >&6; }
36296 cat >>confdefs.h <<\_ACEOF
36297 #define BX_SUPPORT_X86_64 0
36307 { echo "$as_me:$LINENO: checking for SMP support" >&5
36308 echo $ECHO_N "checking for SMP support... $ECHO_C" >&6; }
36309 # Check whether --enable-smp was given.
36310 if test "${enable_smp+set}" = set; then
36311 enableval=$enable_smp; if test "$enableval" = yes; then
36312 { echo "$as_me:$LINENO: result: yes" >&5
36313 echo "${ECHO_T}yes" >&6; }
36314 cat >>confdefs.h <<\_ACEOF
36315 #define BX_SUPPORT_SMP 1
36318 cat >>confdefs.h <<\_ACEOF
36319 #define BX_USE_CPU_SMF 0
36324 { echo "$as_me:$LINENO: result: no" >&5
36325 echo "${ECHO_T}no" >&6; }
36326 cat >>confdefs.h <<\_ACEOF
36327 #define BX_SUPPORT_SMP 0
36334 { echo "$as_me:$LINENO: result: no" >&5
36335 echo "${ECHO_T}no" >&6; }
36336 cat >>confdefs.h <<\_ACEOF
36337 #define BX_SUPPORT_SMP 0
36345 { echo "$as_me:$LINENO: checking for cpu level" >&5
36346 echo $ECHO_N "checking for cpu level... $ECHO_C" >&6; }
36347 # Check whether --enable-cpu-level was given.
36348 if test "${enable_cpu_level+set}" = set; then
36349 enableval=$enable_cpu_level; case "$enableval" in
36351 { echo "$as_me:$LINENO: result: 3" >&5
36352 echo "${ECHO_T}3" >&6; }
36353 cat >>confdefs.h <<\_ACEOF
36354 #define BX_CPU_LEVEL 3
36357 cat >>confdefs.h <<\_ACEOF
36358 #define BX_CPU_LEVEL_HACKED 3
36363 { echo "$as_me:$LINENO: result: 4" >&5
36364 echo "${ECHO_T}4" >&6; }
36365 cat >>confdefs.h <<\_ACEOF
36366 #define BX_CPU_LEVEL 4
36369 cat >>confdefs.h <<\_ACEOF
36370 #define BX_CPU_LEVEL_HACKED 4
36375 { echo "$as_me:$LINENO: result: 5" >&5
36376 echo "${ECHO_T}5" >&6; }
36377 cat >>confdefs.h <<\_ACEOF
36378 #define BX_CPU_LEVEL 5
36381 cat >>confdefs.h <<\_ACEOF
36382 #define BX_CPU_LEVEL_HACKED 5
36387 { echo "$as_me:$LINENO: result: 6" >&5
36388 echo "${ECHO_T}6" >&6; }
36389 cat >>confdefs.h <<\_ACEOF
36390 #define BX_CPU_LEVEL 6
36393 cat >>confdefs.h <<\_ACEOF
36394 #define BX_CPU_LEVEL_HACKED 6
36400 echo "ERROR: you must supply a valid CPU level to --enable-cpu-level"
36404 bx_cpu_level=$enableval
36405 if test "$use_smp" = 1 -a "$enableval" -lt 6; then
36406 echo "ERROR: with >1 processor, use --enable-cpu-level=6"
36412 # for multiprocessors or x86-64, cpu level must be 6
36413 if test "$use_smp" = 1 -o "$use_x86_64" = 1; then
36414 { echo "$as_me:$LINENO: result: 6" >&5
36415 echo "${ECHO_T}6" >&6; }
36416 cat >>confdefs.h <<\_ACEOF
36417 #define BX_CPU_LEVEL 6
36420 cat >>confdefs.h <<\_ACEOF
36421 #define BX_CPU_LEVEL_HACKED 6
36426 { echo "$as_me:$LINENO: result: 5" >&5
36427 echo "${ECHO_T}5" >&6; }
36428 cat >>confdefs.h <<\_ACEOF
36429 #define BX_CPU_LEVEL 5
36432 cat >>confdefs.h <<\_ACEOF
36433 #define BX_CPU_LEVEL_HACKED 5
36444 { echo "$as_me:$LINENO: checking for APIC support" >&5
36445 echo $ECHO_N "checking for APIC support... $ECHO_C" >&6; }
36446 # Check whether --enable-apic was given.
36447 if test "${enable_apic+set}" = set; then
36448 enableval=$enable_apic; if test "$enableval" = yes; then
36449 { echo "$as_me:$LINENO: result: yes" >&5
36450 echo "${ECHO_T}yes" >&6; }
36451 cat >>confdefs.h <<\_ACEOF
36452 #define BX_SUPPORT_APIC 1
36455 IOAPIC_OBJS='ioapic.o
'
36457 { echo "$as_me:$LINENO: result: no" >&5
36458 echo "${ECHO_T}no" >&6; }
36459 if test "$use_smp" = 1; then
36460 echo "ERROR: With SMP configuration you must use --enable-apic"
36463 cat >>confdefs.h <<\_ACEOF
36464 #define BX_SUPPORT_APIC 0
36472 if test "$use_smp" = 1 -o "$bx_cpu_level" -gt 5; then
36473 # enable APIC by default, if SMP configuration or if cpulevel>5
36474 { echo "$as_me:$LINENO: result: yes" >&5
36475 echo "${ECHO_T}yes" >&6; }
36476 cat >>confdefs.h <<\_ACEOF
36477 #define BX_SUPPORT_APIC 1
36480 IOAPIC_OBJS='ioapic.o
'
36482 { echo "$as_me:$LINENO: result: no" >&5
36483 echo "${ECHO_T}no" >&6; }
36484 cat >>confdefs.h <<\_ACEOF
36485 #define BX_SUPPORT_APIC 0
36496 if test "${ac_cv_header_zlib_h+set}" = set; then
36497 { echo "$as_me:$LINENO: checking for zlib.h" >&5
36498 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
36499 if test "${ac_cv_header_zlib_h+set}" = set; then
36500 echo $ECHO_N "(cached) $ECHO_C" >&6
36502 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
36503 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
36505 # Is the header compilable?
36506 { echo "$as_me:$LINENO: checking zlib.h usability" >&5
36507 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
36508 cat >conftest.$ac_ext <<_ACEOF
36511 cat confdefs.h >>conftest.$ac_ext
36512 cat >>conftest.$ac_ext <<_ACEOF
36513 /* end confdefs.h. */
36514 $ac_includes_default
36517 rm -f conftest.$ac_objext
36518 if { (ac_try="$ac_compile"
36519 case "(($ac_try" in
36520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36521 *) ac_try_echo=$ac_try;;
36523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36524 (eval "$ac_compile") 2>conftest.er1
36526 grep -v '^
*+' conftest.er1 >conftest.err
36528 cat conftest.err >&5
36529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36530 (exit $ac_status); } &&
36531 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
36532 { (case "(($ac_try" in
36533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36534 *) ac_try_echo=$ac_try;;
36536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36537 (eval "$ac_try") 2>&5
36539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36540 (exit $ac_status); }; } &&
36541 { ac_try='test -s conftest.
$ac_objext'
36542 { (case "(($ac_try" in
36543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36544 *) ac_try_echo=$ac_try;;
36546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36547 (eval "$ac_try") 2>&5
36549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36550 (exit $ac_status); }; }; then
36551 ac_header_compiler=yes
36553 echo "$as_me: failed program was:" >&5
36554 sed 's
/^
/|
/' conftest.$ac_ext >&5
36556 ac_header_compiler=no
36559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36560 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36561 echo "${ECHO_T}$ac_header_compiler" >&6; }
36563 # Is the header present?
36564 { echo "$as_me:$LINENO: checking zlib.h presence" >&5
36565 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
36566 cat >conftest.$ac_ext <<_ACEOF
36569 cat confdefs.h >>conftest.$ac_ext
36570 cat >>conftest.$ac_ext <<_ACEOF
36571 /* end confdefs.h. */
36574 if { (ac_try="$ac_cpp conftest.$ac_ext"
36575 case "(($ac_try" in
36576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36577 *) ac_try_echo=$ac_try;;
36579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36580 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36582 grep -v '^
*+' conftest.er1 >conftest.err
36584 cat conftest.err >&5
36585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36586 (exit $ac_status); } >/dev/null; then
36587 if test -s conftest.err; then
36588 ac_cpp_err=$ac_c_preproc_warn_flag
36589 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36596 if test -z "$ac_cpp_err"; then
36597 ac_header_preproc=yes
36599 echo "$as_me: failed program was:" >&5
36600 sed 's
/^
/|
/' conftest.$ac_ext >&5
36602 ac_header_preproc=no
36605 rm -f conftest.err conftest.$ac_ext
36606 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36607 echo "${ECHO_T}$ac_header_preproc" >&6; }
36609 # So? What about this header?
36610 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36612 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
36613 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
36614 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result
" >&5
36615 echo "$as_me: WARNING
: zlib.h
: proceeding with the compiler
's result" >&2;}
36616 ac_header_preproc=yes
36619 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
36620 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
36621 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
36622 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
36623 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
36624 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
36625 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
36626 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
36627 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result
" >&5
36628 echo "$as_me: WARNING
: zlib.h
: proceeding with the preprocessor
's result" >&2;}
36629 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
36630 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
36634 { echo "$as_me:$LINENO: checking for zlib.h" >&5
36635 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
36636 if test "${ac_cv_header_zlib_h+set}" = set; then
36637 echo $ECHO_N "(cached) $ECHO_C" >&6
36639 ac_cv_header_zlib_h=$ac_header_preproc
36641 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
36642 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
36645 if test $ac_cv_header_zlib_h = yes; then
36646 { echo "$as_me:$LINENO: checking for gzopen in -lz" >&5
36647 echo $ECHO_N "checking for gzopen in -lz... $ECHO_C" >&6; }
36648 if test "${ac_cv_lib_z_gzopen+set}" = set; then
36649 echo $ECHO_N "(cached) $ECHO_C" >&6
36651 ac_check_lib_save_LIBS=$LIBS
36653 cat >conftest.$ac_ext <<_ACEOF
36656 cat confdefs.h >>conftest.$ac_ext
36657 cat >>conftest.$ac_ext <<_ACEOF
36658 /* end confdefs.h. */
36660 /* Override any GCC internal prototype to avoid an error.
36661 Use char because int might match the return type of a GCC
36662 builtin and then its argument prototype would still apply. */
36675 rm -f conftest.$ac_objext conftest$ac_exeext
36676 if { (ac_try="$ac_link"
36677 case "(($ac_try" in
36678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36679 *) ac_try_echo=$ac_try;;
36681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36682 (eval "$ac_link") 2>conftest.er1
36684 grep -v '^
*+' conftest.er1 >conftest.err
36686 cat conftest.err >&5
36687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36688 (exit $ac_status); } &&
36689 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
36690 { (case "(($ac_try" in
36691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36692 *) ac_try_echo=$ac_try;;
36694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36695 (eval "$ac_try") 2>&5
36697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36698 (exit $ac_status); }; } &&
36699 { ac_try='test -s conftest
$ac_exeext'
36700 { (case "(($ac_try" in
36701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36702 *) ac_try_echo=$ac_try;;
36704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36705 (eval "$ac_try") 2>&5
36707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36708 (exit $ac_status); }; }; then
36709 ac_cv_lib_z_gzopen=yes
36711 echo "$as_me: failed program was:" >&5
36712 sed 's
/^
/|
/' conftest.$ac_ext >&5
36714 ac_cv_lib_z_gzopen=no
36717 rm -f core conftest.err conftest.$ac_objext \
36718 conftest$ac_exeext conftest.$ac_ext
36719 LIBS=$ac_check_lib_save_LIBS
36721 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzopen" >&5
36722 echo "${ECHO_T}$ac_cv_lib_z_gzopen" >&6; }
36723 if test $ac_cv_lib_z_gzopen = yes; then
36724 cat >>confdefs.h <<\_ACEOF
36725 #define BX_HAVE_ZLIB 1
36734 { echo "$as_me:$LINENO: checking for compressed hard disk image support" >&5
36735 echo $ECHO_N "checking for compressed hard disk image support... $ECHO_C" >&6; }
36736 # Check whether --enable-compressed-hd was given.
36737 if test "${enable_compressed_hd+set}" = set; then
36738 enableval=$enable_compressed_hd; if test "$enableval" = yes; then
36739 { echo "$as_me:$LINENO: result: yes" >&5
36740 echo "${ECHO_T}yes" >&6; }
36741 cat >>confdefs.h <<\_ACEOF
36742 #define BX_COMPRESSED_HD_SUPPORT 1
36747 { echo "$as_me:$LINENO: result: no" >&5
36748 echo "${ECHO_T}no" >&6; }
36749 cat >>confdefs.h <<\_ACEOF
36750 #define BX_COMPRESSED_HD_SUPPORT 0
36756 { echo "$as_me:$LINENO: result: no" >&5
36757 echo "${ECHO_T}no" >&6; }
36758 cat >>confdefs.h <<\_ACEOF
36759 #define BX_COMPRESSED_HD_SUPPORT 0
36768 { echo "$as_me:$LINENO: checking for NE2000 support" >&5
36769 echo $ECHO_N "checking for NE2000 support... $ECHO_C" >&6; }
36770 # Check whether --enable-ne2000 was given.
36771 if test "${enable_ne2000+set}" = set; then
36772 enableval=$enable_ne2000; if test "$enableval" = yes; then
36773 { echo "$as_me:$LINENO: result: yes" >&5
36774 echo "${ECHO_T}yes" >&6; }
36775 cat >>confdefs.h <<\_ACEOF
36776 #define BX_SUPPORT_NE2K 1
36782 { echo "$as_me:$LINENO: result: no" >&5
36783 echo "${ECHO_T}no" >&6; }
36784 cat >>confdefs.h <<\_ACEOF
36785 #define BX_SUPPORT_NE2K 0
36793 { echo "$as_me:$LINENO: result: no" >&5
36794 echo "${ECHO_T}no" >&6; }
36795 cat >>confdefs.h <<\_ACEOF
36796 #define BX_SUPPORT_NE2K 0
36807 { echo "$as_me:$LINENO: checking for ACPI support" >&5
36808 echo $ECHO_N "checking for ACPI support... $ECHO_C" >&6; }
36809 # Check whether --enable-acpi was given.
36810 if test "${enable_acpi+set}" = set; then
36811 enableval=$enable_acpi; if test "$enableval" = yes; then
36812 { echo "$as_me:$LINENO: result: yes" >&5
36813 echo "${ECHO_T}yes" >&6; }
36814 cat >>confdefs.h <<\_ACEOF
36815 #define BX_SUPPORT_ACPI 1
36819 { echo "$as_me:$LINENO: result: no" >&5
36820 echo "${ECHO_T}no" >&6; }
36821 cat >>confdefs.h <<\_ACEOF
36822 #define BX_SUPPORT_ACPI 0
36828 { echo "$as_me:$LINENO: result: no" >&5
36829 echo "${ECHO_T}no" >&6; }
36830 cat >>confdefs.h <<\_ACEOF
36831 #define BX_SUPPORT_ACPI 0
36840 { echo "$as_me:$LINENO: checking for i440FX PCI support" >&5
36841 echo $ECHO_N "checking for i440FX PCI support... $ECHO_C" >&6; }
36842 # Check whether --enable-pci was given.
36843 if test "${enable_pci+set}" = set; then
36844 enableval=$enable_pci; if test "$enableval" = yes; then
36845 { echo "$as_me:$LINENO: result: yes" >&5
36846 echo "${ECHO_T}yes" >&6; }
36847 cat >>confdefs.h <<\_ACEOF
36848 #define BX_SUPPORT_PCI 1
36852 PCI_OBJ='pci.o pci2isa.o pci_ide.o pcivga.o acpi.o
'
36854 { echo "$as_me:$LINENO: result: no" >&5
36855 echo "${ECHO_T}no" >&6; }
36856 cat >>confdefs.h <<\_ACEOF
36857 #define BX_SUPPORT_PCI 0
36865 { echo "$as_me:$LINENO: result: no" >&5
36866 echo "${ECHO_T}no" >&6; }
36867 cat >>confdefs.h <<\_ACEOF
36868 #define BX_SUPPORT_PCI 0
36880 # PCI host device support
36882 { echo "$as_me:$LINENO: checking for PCI host device mapping support" >&5
36883 echo $ECHO_N "checking for PCI host device mapping support... $ECHO_C" >&6; }
36884 # Check whether --enable-pcidev was given.
36885 if test "${enable_pcidev+set}" = set; then
36886 enableval=$enable_pcidev;
36887 if test "$enableval" = "yes"; then
36888 { echo "$as_me:$LINENO: result: yes" >&5
36889 echo "${ECHO_T}yes" >&6; }
36890 if test "$pci" != "1"; then
36891 { { echo "$as_me:$LINENO: error: PCI host device mapping requires PCI support" >&5
36892 echo "$as_me: error: PCI host device mapping requires PCI support" >&2;}
36893 { (exit 1); exit 1; }; }
36897 { echo "$as_me:$LINENO: Linux detected as host for PCI host device mapping" >&5
36898 echo "$as_me: Linux detected as host for PCI host device mapping" >&6;}
36899 linux_version=`uname -r`
36900 case "$linux_version" in
36902 PCIDEV_MODULE_MAKE_ALL="all-kernel24"
36903 KERNEL_MODULE_SUFFIX="o"
36906 PCIDEV_MODULE_MAKE_ALL="all-kernel26"
36907 KERNEL_MODULE_SUFFIX="ko"
36910 { { echo "$as_me:$LINENO: error: Linux kernel 2.4 or 2.6 is required" >&5
36911 echo "$as_me: error: Linux kernel 2.4 or 2.6 is required" >&2;}
36912 { (exit 1); exit 1; }; }
36915 KERNELDIR="/lib/modules/$linux_version/build"
36929 { { echo "$as_me:$LINENO: error: PCI host device mapping requires Linux as host" >&5
36930 echo "$as_me: error: PCI host device mapping requires Linux as host" >&2;}
36931 { (exit 1); exit 1; }; }
36934 cat >>confdefs.h <<\_ACEOF
36935 #define BX_SUPPORT_PCIDEV 1
36938 PCI_OBJ="$PCI_OBJ pcidev.o"
36940 { echo "$as_me:$LINENO: result: no" >&5
36941 echo "${ECHO_T}no" >&6; }
36942 cat >>confdefs.h <<\_ACEOF
36943 #define BX_SUPPORT_PCIDEV 0
36950 { echo "$as_me:$LINENO: result: no" >&5
36951 echo "${ECHO_T}no" >&6; }
36952 cat >>confdefs.h <<\_ACEOF
36953 #define BX_SUPPORT_PCIDEV 0
36963 { echo "$as_me:$LINENO: checking for limited USB support" >&5
36964 echo $ECHO_N "checking for limited USB support... $ECHO_C" >&6; }
36965 # Check whether --enable-usb was given.
36966 if test "${enable_usb+set}" = set; then
36967 enableval=$enable_usb; if test "$enableval" = yes; then
36968 { echo "$as_me:$LINENO: result: yes" >&5
36969 echo "${ECHO_T}yes" >&6; }
36970 cat >>confdefs.h <<\_ACEOF
36971 #define BX_SUPPORT_PCIUSB 1
36974 PCI_OBJ="$PCI_OBJ pciusb.o"
36975 USBDEV_OBJS="usb_hid.o usb_msd.o"
36976 SCSI_OBJS="scsi_device.o"
36978 { echo "$as_me:$LINENO: result: no" >&5
36979 echo "${ECHO_T}no" >&6; }
36980 cat >>confdefs.h <<\_ACEOF
36981 #define BX_SUPPORT_PCIUSB 0
36987 { echo "$as_me:$LINENO: result: no" >&5
36988 echo "${ECHO_T}no" >&6; }
36989 cat >>confdefs.h <<\_ACEOF
36990 #define BX_SUPPORT_PCIUSB 0
37001 { echo "$as_me:$LINENO: checking for PCI pseudo NIC support" >&5
37002 echo $ECHO_N "checking for PCI pseudo NIC support... $ECHO_C" >&6; }
37003 # Check whether --enable-pnic was given.
37004 if test "${enable_pnic+set}" = set; then
37005 enableval=$enable_pnic; if test "$enableval" = yes; then
37006 { echo "$as_me:$LINENO: result: yes" >&5
37007 echo "${ECHO_T}yes" >&6; }
37008 cat >>confdefs.h <<\_ACEOF
37009 #define BX_SUPPORT_PCIPNIC 1
37012 PCI_OBJ="$PCI_OBJ pcipnic.o"
37015 { echo "$as_me:$LINENO: result: no" >&5
37016 echo "${ECHO_T}no" >&6; }
37017 cat >>confdefs.h <<\_ACEOF
37018 #define BX_SUPPORT_PCIPNIC 0
37024 { echo "$as_me:$LINENO: result: no" >&5
37025 echo "${ECHO_T}no" >&6; }
37026 cat >>confdefs.h <<\_ACEOF
37027 #define BX_SUPPORT_PCIPNIC 0
37036 if test "$networking" = yes; then
37037 NETLOW_OBJS='eth.o eth_null.o eth_vnet.o
'
37038 if test "${ac_cv_header_net_bpf_h+set}" = set; then
37039 { echo "$as_me:$LINENO: checking for net/bpf.h" >&5
37040 echo $ECHO_N "checking for net/bpf.h... $ECHO_C" >&6; }
37041 if test "${ac_cv_header_net_bpf_h+set}" = set; then
37042 echo $ECHO_N "(cached) $ECHO_C" >&6
37044 { echo "$as_me:$LINENO: result: $ac_cv_header_net_bpf_h" >&5
37045 echo "${ECHO_T}$ac_cv_header_net_bpf_h" >&6; }
37047 # Is the header compilable?
37048 { echo "$as_me:$LINENO: checking net/bpf.h usability" >&5
37049 echo $ECHO_N "checking net/bpf.h usability... $ECHO_C" >&6; }
37050 cat >conftest.$ac_ext <<_ACEOF
37053 cat confdefs.h >>conftest.$ac_ext
37054 cat >>conftest.$ac_ext <<_ACEOF
37055 /* end confdefs.h. */
37056 $ac_includes_default
37057 #include <net/bpf.h>
37059 rm -f conftest.$ac_objext
37060 if { (ac_try="$ac_compile"
37061 case "(($ac_try" in
37062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37063 *) ac_try_echo=$ac_try;;
37065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37066 (eval "$ac_compile") 2>conftest.er1
37068 grep -v '^
*+' conftest.er1 >conftest.err
37070 cat conftest.err >&5
37071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37072 (exit $ac_status); } &&
37073 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
37074 { (case "(($ac_try" in
37075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37076 *) ac_try_echo=$ac_try;;
37078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37079 (eval "$ac_try") 2>&5
37081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37082 (exit $ac_status); }; } &&
37083 { ac_try='test -s conftest.
$ac_objext'
37084 { (case "(($ac_try" in
37085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37086 *) ac_try_echo=$ac_try;;
37088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37089 (eval "$ac_try") 2>&5
37091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37092 (exit $ac_status); }; }; then
37093 ac_header_compiler=yes
37095 echo "$as_me: failed program was:" >&5
37096 sed 's
/^
/|
/' conftest.$ac_ext >&5
37098 ac_header_compiler=no
37101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37102 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37103 echo "${ECHO_T}$ac_header_compiler" >&6; }
37105 # Is the header present?
37106 { echo "$as_me:$LINENO: checking net/bpf.h presence" >&5
37107 echo $ECHO_N "checking net/bpf.h presence... $ECHO_C" >&6; }
37108 cat >conftest.$ac_ext <<_ACEOF
37111 cat confdefs.h >>conftest.$ac_ext
37112 cat >>conftest.$ac_ext <<_ACEOF
37113 /* end confdefs.h. */
37114 #include <net/bpf.h>
37116 if { (ac_try="$ac_cpp conftest.$ac_ext"
37117 case "(($ac_try" in
37118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37119 *) ac_try_echo=$ac_try;;
37121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37122 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37124 grep -v '^
*+' conftest.er1 >conftest.err
37126 cat conftest.err >&5
37127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37128 (exit $ac_status); } >/dev/null; then
37129 if test -s conftest.err; then
37130 ac_cpp_err=$ac_c_preproc_warn_flag
37131 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37138 if test -z "$ac_cpp_err"; then
37139 ac_header_preproc=yes
37141 echo "$as_me: failed program was:" >&5
37142 sed 's
/^
/|
/' conftest.$ac_ext >&5
37144 ac_header_preproc=no
37147 rm -f conftest.err conftest.$ac_ext
37148 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37149 echo "${ECHO_T}$ac_header_preproc" >&6; }
37151 # So? What about this header?
37152 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37154 { echo "$as_me:$LINENO: WARNING: net/bpf.h: accepted by the compiler, rejected by the preprocessor!" >&5
37155 echo "$as_me: WARNING: net/bpf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
37156 { echo "$as_me:$LINENO: WARNING: net/bpf.h: proceeding with the compiler's result
" >&5
37157 echo "$as_me: WARNING
: net
/bpf.h
: proceeding with the compiler
's result" >&2;}
37158 ac_header_preproc=yes
37161 { echo "$as_me:$LINENO: WARNING: net/bpf.h: present but cannot be compiled" >&5
37162 echo "$as_me: WARNING: net/bpf.h: present but cannot be compiled" >&2;}
37163 { echo "$as_me:$LINENO: WARNING: net/bpf.h: check for missing prerequisite headers?" >&5
37164 echo "$as_me: WARNING: net/bpf.h: check for missing prerequisite headers?" >&2;}
37165 { echo "$as_me:$LINENO: WARNING: net/bpf.h: see the Autoconf documentation" >&5
37166 echo "$as_me: WARNING: net/bpf.h: see the Autoconf documentation" >&2;}
37167 { echo "$as_me:$LINENO: WARNING: net/bpf.h: section \"Present But Cannot Be Compiled\"" >&5
37168 echo "$as_me: WARNING: net/bpf.h: section \"Present But Cannot Be Compiled\"" >&2;}
37169 { echo "$as_me:$LINENO: WARNING: net/bpf.h: proceeding with the preprocessor's result
" >&5
37170 echo "$as_me: WARNING
: net
/bpf.h
: proceeding with the preprocessor
's result" >&2;}
37171 { echo "$as_me:$LINENO: WARNING: net/bpf.h: in the future, the compiler will take precedence" >&5
37172 echo "$as_me: WARNING: net/bpf.h: in the future, the compiler will take precedence" >&2;}
37176 { echo "$as_me:$LINENO: checking for net/bpf.h" >&5
37177 echo $ECHO_N "checking for net/bpf.h... $ECHO_C" >&6; }
37178 if test "${ac_cv_header_net_bpf_h+set}" = set; then
37179 echo $ECHO_N "(cached) $ECHO_C" >&6
37181 ac_cv_header_net_bpf_h=$ac_header_preproc
37183 { echo "$as_me:$LINENO: result: $ac_cv_header_net_bpf_h" >&5
37184 echo "${ECHO_T}$ac_cv_header_net_bpf_h" >&6; }
37187 if test $ac_cv_header_net_bpf_h = yes; then
37188 NETLOW_OBJS="$NETLOW_OBJS eth_fbsd.o"
37192 if test "${ac_cv_header_netpacket_packet_h+set}" = set; then
37193 { echo "$as_me:$LINENO: checking for netpacket/packet.h" >&5
37194 echo $ECHO_N "checking for netpacket/packet.h... $ECHO_C" >&6; }
37195 if test "${ac_cv_header_netpacket_packet_h+set}" = set; then
37196 echo $ECHO_N "(cached) $ECHO_C" >&6
37198 { echo "$as_me:$LINENO: result: $ac_cv_header_netpacket_packet_h" >&5
37199 echo "${ECHO_T}$ac_cv_header_netpacket_packet_h" >&6; }
37201 # Is the header compilable?
37202 { echo "$as_me:$LINENO: checking netpacket/packet.h usability" >&5
37203 echo $ECHO_N "checking netpacket/packet.h usability... $ECHO_C" >&6; }
37204 cat >conftest.$ac_ext <<_ACEOF
37207 cat confdefs.h >>conftest.$ac_ext
37208 cat >>conftest.$ac_ext <<_ACEOF
37209 /* end confdefs.h. */
37210 $ac_includes_default
37211 #include <netpacket/packet.h>
37213 rm -f conftest.$ac_objext
37214 if { (ac_try="$ac_compile"
37215 case "(($ac_try" in
37216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37217 *) ac_try_echo=$ac_try;;
37219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37220 (eval "$ac_compile") 2>conftest.er1
37222 grep -v '^
*+' conftest.er1 >conftest.err
37224 cat conftest.err >&5
37225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37226 (exit $ac_status); } &&
37227 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
37228 { (case "(($ac_try" in
37229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37230 *) ac_try_echo=$ac_try;;
37232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37233 (eval "$ac_try") 2>&5
37235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37236 (exit $ac_status); }; } &&
37237 { ac_try='test -s conftest.
$ac_objext'
37238 { (case "(($ac_try" in
37239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37240 *) ac_try_echo=$ac_try;;
37242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37243 (eval "$ac_try") 2>&5
37245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37246 (exit $ac_status); }; }; then
37247 ac_header_compiler=yes
37249 echo "$as_me: failed program was:" >&5
37250 sed 's
/^
/|
/' conftest.$ac_ext >&5
37252 ac_header_compiler=no
37255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37256 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37257 echo "${ECHO_T}$ac_header_compiler" >&6; }
37259 # Is the header present?
37260 { echo "$as_me:$LINENO: checking netpacket/packet.h presence" >&5
37261 echo $ECHO_N "checking netpacket/packet.h presence... $ECHO_C" >&6; }
37262 cat >conftest.$ac_ext <<_ACEOF
37265 cat confdefs.h >>conftest.$ac_ext
37266 cat >>conftest.$ac_ext <<_ACEOF
37267 /* end confdefs.h. */
37268 #include <netpacket/packet.h>
37270 if { (ac_try="$ac_cpp conftest.$ac_ext"
37271 case "(($ac_try" in
37272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37273 *) ac_try_echo=$ac_try;;
37275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37276 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37278 grep -v '^
*+' conftest.er1 >conftest.err
37280 cat conftest.err >&5
37281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37282 (exit $ac_status); } >/dev/null; then
37283 if test -s conftest.err; then
37284 ac_cpp_err=$ac_c_preproc_warn_flag
37285 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37292 if test -z "$ac_cpp_err"; then
37293 ac_header_preproc=yes
37295 echo "$as_me: failed program was:" >&5
37296 sed 's
/^
/|
/' conftest.$ac_ext >&5
37298 ac_header_preproc=no
37301 rm -f conftest.err conftest.$ac_ext
37302 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37303 echo "${ECHO_T}$ac_header_preproc" >&6; }
37305 # So? What about this header?
37306 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37308 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: accepted by the compiler, rejected by the preprocessor!" >&5
37309 echo "$as_me: WARNING: netpacket/packet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
37310 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: proceeding with the compiler's result
" >&5
37311 echo "$as_me: WARNING
: netpacket
/packet.h
: proceeding with the compiler
's result" >&2;}
37312 ac_header_preproc=yes
37315 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: present but cannot be compiled" >&5
37316 echo "$as_me: WARNING: netpacket/packet.h: present but cannot be compiled" >&2;}
37317 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: check for missing prerequisite headers?" >&5
37318 echo "$as_me: WARNING: netpacket/packet.h: check for missing prerequisite headers?" >&2;}
37319 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: see the Autoconf documentation" >&5
37320 echo "$as_me: WARNING: netpacket/packet.h: see the Autoconf documentation" >&2;}
37321 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: section \"Present But Cannot Be Compiled\"" >&5
37322 echo "$as_me: WARNING: netpacket/packet.h: section \"Present But Cannot Be Compiled\"" >&2;}
37323 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: proceeding with the preprocessor's result
" >&5
37324 echo "$as_me: WARNING
: netpacket
/packet.h
: proceeding with the preprocessor
's result" >&2;}
37325 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: in the future, the compiler will take precedence" >&5
37326 echo "$as_me: WARNING: netpacket/packet.h: in the future, the compiler will take precedence" >&2;}
37330 { echo "$as_me:$LINENO: checking for netpacket/packet.h" >&5
37331 echo $ECHO_N "checking for netpacket/packet.h... $ECHO_C" >&6; }
37332 if test "${ac_cv_header_netpacket_packet_h+set}" = set; then
37333 echo $ECHO_N "(cached) $ECHO_C" >&6
37335 ac_cv_header_netpacket_packet_h=$ac_header_preproc
37337 { echo "$as_me:$LINENO: result: $ac_cv_header_netpacket_packet_h" >&5
37338 echo "${ECHO_T}$ac_cv_header_netpacket_packet_h" >&6; }
37341 if test $ac_cv_header_netpacket_packet_h = yes; then
37342 NETLOW_OBJS="$NETLOW_OBJS eth_linux.o"
37347 *-pc-windows* | *-pc-winnt* | *-pc-cygwin* | *-pc-mingw32*)
37348 NETLOW_OBJS="$NETLOW_OBJS eth_win32.o"
37350 *-macosx* | *-darwin*)
37351 NETLOW_OBJS="$NETLOW_OBJS eth_tuntap.o"
37352 cat >>confdefs.h <<\_ACEOF
37353 #define HAVE_TUNTAP 1
37358 { echo "$as_me:$LINENO: checking for net/if.h" >&5
37359 echo $ECHO_N "checking for net/if.h... $ECHO_C" >&6; }
37360 if test "${ac_cv_header_net_if_h+set}" = set; then
37361 echo $ECHO_N "(cached) $ECHO_C" >&6
37363 cat >conftest.$ac_ext <<_ACEOF
37366 cat confdefs.h >>conftest.$ac_ext
37367 cat >>conftest.$ac_ext <<_ACEOF
37368 /* end confdefs.h. */
37370 #include <sys/types.h>
37371 #include <sys/socket.h>
37374 #include <net/if.h>
37376 rm -f conftest.$ac_objext
37377 if { (ac_try="$ac_compile"
37378 case "(($ac_try" in
37379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37380 *) ac_try_echo=$ac_try;;
37382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37383 (eval "$ac_compile") 2>conftest.er1
37385 grep -v '^
*+' conftest.er1 >conftest.err
37387 cat conftest.err >&5
37388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37389 (exit $ac_status); } &&
37390 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
37391 { (case "(($ac_try" in
37392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37393 *) ac_try_echo=$ac_try;;
37395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37396 (eval "$ac_try") 2>&5
37398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37399 (exit $ac_status); }; } &&
37400 { ac_try='test -s conftest.
$ac_objext'
37401 { (case "(($ac_try" in
37402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37403 *) ac_try_echo=$ac_try;;
37405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37406 (eval "$ac_try") 2>&5
37408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37409 (exit $ac_status); }; }; then
37410 ac_cv_header_net_if_h=yes
37412 echo "$as_me: failed program was:" >&5
37413 sed 's
/^
/|
/' conftest.$ac_ext >&5
37415 ac_cv_header_net_if_h=no
37418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37420 { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_h" >&5
37421 echo "${ECHO_T}$ac_cv_header_net_if_h" >&6; }
37422 if test $ac_cv_header_net_if_h = yes; then
37425 cat >>confdefs.h <<\_ACEOF
37426 #define BX_HAVE_NET_IF_H 1
37433 { echo "$as_me:$LINENO: checking for linux/netlink.h" >&5
37434 echo $ECHO_N "checking for linux/netlink.h... $ECHO_C" >&6; }
37435 if test "${ac_cv_header_linux_netlink_h+set}" = set; then
37436 echo $ECHO_N "(cached) $ECHO_C" >&6
37438 cat >conftest.$ac_ext <<_ACEOF
37441 cat confdefs.h >>conftest.$ac_ext
37442 cat >>conftest.$ac_ext <<_ACEOF
37443 /* end confdefs.h. */
37445 #include <asm/types.h>
37446 #include <sys/socket.h>
37449 #include <linux/netlink.h>
37451 rm -f conftest.$ac_objext
37452 if { (ac_try="$ac_compile"
37453 case "(($ac_try" in
37454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37455 *) ac_try_echo=$ac_try;;
37457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37458 (eval "$ac_compile") 2>conftest.er1
37460 grep -v '^
*+' conftest.er1 >conftest.err
37462 cat conftest.err >&5
37463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37464 (exit $ac_status); } &&
37465 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
37466 { (case "(($ac_try" in
37467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37468 *) ac_try_echo=$ac_try;;
37470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37471 (eval "$ac_try") 2>&5
37473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37474 (exit $ac_status); }; } &&
37475 { ac_try='test -s conftest.
$ac_objext'
37476 { (case "(($ac_try" in
37477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37478 *) ac_try_echo=$ac_try;;
37480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37481 (eval "$ac_try") 2>&5
37483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37484 (exit $ac_status); }; }; then
37485 ac_cv_header_linux_netlink_h=yes
37487 echo "$as_me: failed program was:" >&5
37488 sed 's
/^
/|
/' conftest.$ac_ext >&5
37490 ac_cv_header_linux_netlink_h=no
37493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37495 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_netlink_h" >&5
37496 echo "${ECHO_T}$ac_cv_header_linux_netlink_h" >&6; }
37497 if test $ac_cv_header_linux_netlink_h = yes; then
37505 if test "$use_ethertap" = yes; then
37506 NETLOW_OBJS="$NETLOW_OBJS eth_tap.o eth_vde.o"
37507 cat >>confdefs.h <<\_ACEOF
37508 #define HAVE_ETHERTAP 1
37511 cat >>confdefs.h <<\_ACEOF
37517 { echo "$as_me:$LINENO: checking for net/if_tun.h" >&5
37518 echo $ECHO_N "checking for net/if_tun.h... $ECHO_C" >&6; }
37519 if test "${ac_cv_header_net_if_tun_h+set}" = set; then
37520 echo $ECHO_N "(cached) $ECHO_C" >&6
37522 cat >conftest.$ac_ext <<_ACEOF
37525 cat confdefs.h >>conftest.$ac_ext
37526 cat >>conftest.$ac_ext <<_ACEOF
37527 /* end confdefs.h. */
37529 #include <sys/types.h>
37530 #include <sys/socket.h>
37531 #include <net/if.h>
37534 #include <net/if_tun.h>
37536 rm -f conftest.$ac_objext
37537 if { (ac_try="$ac_compile"
37538 case "(($ac_try" in
37539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37540 *) ac_try_echo=$ac_try;;
37542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37543 (eval "$ac_compile") 2>conftest.er1
37545 grep -v '^
*+' conftest.er1 >conftest.err
37547 cat conftest.err >&5
37548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37549 (exit $ac_status); } &&
37550 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
37551 { (case "(($ac_try" in
37552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37553 *) ac_try_echo=$ac_try;;
37555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37556 (eval "$ac_try") 2>&5
37558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37559 (exit $ac_status); }; } &&
37560 { ac_try='test -s conftest.
$ac_objext'
37561 { (case "(($ac_try" in
37562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37563 *) ac_try_echo=$ac_try;;
37565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37566 (eval "$ac_try") 2>&5
37568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37569 (exit $ac_status); }; }; then
37570 ac_cv_header_net_if_tun_h=yes
37572 echo "$as_me: failed program was:" >&5
37573 sed 's
/^
/|
/' conftest.$ac_ext >&5
37575 ac_cv_header_net_if_tun_h=no
37578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37580 { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tun_h" >&5
37581 echo "${ECHO_T}$ac_cv_header_net_if_tun_h" >&6; }
37582 if test $ac_cv_header_net_if_tun_h = yes; then
37589 { echo "$as_me:$LINENO: checking for linux/if_tun.h" >&5
37590 echo $ECHO_N "checking for linux/if_tun.h... $ECHO_C" >&6; }
37591 if test "${ac_cv_header_linux_if_tun_h+set}" = set; then
37592 echo $ECHO_N "(cached) $ECHO_C" >&6
37594 cat >conftest.$ac_ext <<_ACEOF
37597 cat confdefs.h >>conftest.$ac_ext
37598 cat >>conftest.$ac_ext <<_ACEOF
37599 /* end confdefs.h. */
37601 #include <asm/types.h>
37602 #include <sys/socket.h>
37605 #include <linux/if_tun.h>
37607 rm -f conftest.$ac_objext
37608 if { (ac_try="$ac_compile"
37609 case "(($ac_try" in
37610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37611 *) ac_try_echo=$ac_try;;
37613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37614 (eval "$ac_compile") 2>conftest.er1
37616 grep -v '^
*+' conftest.er1 >conftest.err
37618 cat conftest.err >&5
37619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37620 (exit $ac_status); } &&
37621 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
37622 { (case "(($ac_try" in
37623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37624 *) ac_try_echo=$ac_try;;
37626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37627 (eval "$ac_try") 2>&5
37629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37630 (exit $ac_status); }; } &&
37631 { ac_try='test -s conftest.
$ac_objext'
37632 { (case "(($ac_try" in
37633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37634 *) ac_try_echo=$ac_try;;
37636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37637 (eval "$ac_try") 2>&5
37639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37640 (exit $ac_status); }; }; then
37641 ac_cv_header_linux_if_tun_h=yes
37643 echo "$as_me: failed program was:" >&5
37644 sed 's
/^
/|
/' conftest.$ac_ext >&5
37646 ac_cv_header_linux_if_tun_h=no
37649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37651 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_if_tun_h" >&5
37652 echo "${ECHO_T}$ac_cv_header_linux_if_tun_h" >&6; }
37653 if test $ac_cv_header_linux_if_tun_h = yes; then
37660 if test "$use_tuntap" = yes; then
37661 NETLOW_OBJS="$NETLOW_OBJS eth_tuntap.o"
37662 cat >>confdefs.h <<\_ACEOF
37663 #define HAVE_TUNTAP 1
37670 cat >>confdefs.h <<\_ACEOF
37671 #define BX_NETWORKING 1
37675 cat >>confdefs.h <<\_ACEOF
37676 #define BX_NETWORKING 0
37684 { echo "$as_me:$LINENO: checking for large pages support" >&5
37685 echo $ECHO_N "checking for large pages support... $ECHO_C" >&6; }
37686 # Check whether --enable-large-pages was given.
37687 if test "${enable_large_pages+set}" = set; then
37688 enableval=$enable_large_pages; if test "$enableval" = yes; then
37689 { echo "$as_me:$LINENO: result: yes" >&5
37690 echo "${ECHO_T}yes" >&6; }
37691 cat >>confdefs.h <<\_ACEOF
37692 #define BX_SUPPORT_LARGE_PAGES 1
37695 support_large_pages=1
37697 { echo "$as_me:$LINENO: result: no" >&5
37698 echo "${ECHO_T}no" >&6; }
37699 cat >>confdefs.h <<\_ACEOF
37700 #define BX_SUPPORT_LARGE_PAGES 0
37703 support_large_pages=0
37707 if test "$bx_cpu_level" -gt 4; then
37708 { echo "$as_me:$LINENO: result: yes" >&5
37709 echo "${ECHO_T}yes" >&6; }
37710 cat >>confdefs.h <<\_ACEOF
37711 #define BX_SUPPORT_LARGE_PAGES 1
37714 support_large_pages=1
37716 { echo "$as_me:$LINENO: result: no" >&5
37717 echo "${ECHO_T}no" >&6; }
37718 cat >>confdefs.h <<\_ACEOF
37719 #define BX_SUPPORT_LARGE_PAGES 0
37722 support_large_pages=0
37730 { echo "$as_me:$LINENO: checking for PAE support" >&5
37731 echo $ECHO_N "checking for PAE support... $ECHO_C" >&6; }
37732 # Check whether --enable-pae was given.
37733 if test "${enable_pae+set}" = set; then
37734 enableval=$enable_pae; if test "$enableval" = yes; then
37735 { echo "$as_me:$LINENO: result: yes" >&5
37736 echo "${ECHO_T}yes" >&6; }
37737 cat >>confdefs.h <<\_ACEOF
37738 #define BX_SUPPORT_PAE 1
37743 { echo "$as_me:$LINENO: result: no" >&5
37744 echo "${ECHO_T}no" >&6; }
37745 cat >>confdefs.h <<\_ACEOF
37746 #define BX_SUPPORT_PAE 0
37753 if test "$bx_cpu_level" -gt 5; then
37754 { echo "$as_me:$LINENO: result: yes" >&5
37755 echo "${ECHO_T}yes" >&6; }
37756 cat >>confdefs.h <<\_ACEOF
37757 #define BX_SUPPORT_PAE 1
37762 { echo "$as_me:$LINENO: result: no" >&5
37763 echo "${ECHO_T}no" >&6; }
37764 cat >>confdefs.h <<\_ACEOF
37765 #define BX_SUPPORT_PAE 0
37775 { echo "$as_me:$LINENO: checking for global pages support" >&5
37776 echo $ECHO_N "checking for global pages support... $ECHO_C" >&6; }
37777 # Check whether --enable-global-pages was given.
37778 if test "${enable_global_pages+set}" = set; then
37779 enableval=$enable_global_pages; if test "$enableval" = yes; then
37780 { echo "$as_me:$LINENO: result: yes" >&5
37781 echo "${ECHO_T}yes" >&6; }
37782 cat >>confdefs.h <<\_ACEOF
37783 #define BX_SUPPORT_GLOBAL_PAGES 1
37786 support_global_pages=1
37788 { echo "$as_me:$LINENO: result: no" >&5
37789 echo "${ECHO_T}no" >&6; }
37790 cat >>confdefs.h <<\_ACEOF
37791 #define BX_SUPPORT_GLOBAL_PAGES 0
37794 support_global_pages=0
37798 if test "$bx_cpu_level" -gt 5; then
37799 # enable by default
37800 { echo "$as_me:$LINENO: result: yes" >&5
37801 echo "${ECHO_T}yes" >&6; }
37802 cat >>confdefs.h <<\_ACEOF
37803 #define BX_SUPPORT_GLOBAL_PAGES 1
37806 support_global_pages=1
37808 { echo "$as_me:$LINENO: result: no" >&5
37809 echo "${ECHO_T}no" >&6; }
37810 cat >>confdefs.h <<\_ACEOF
37811 #define BX_SUPPORT_GLOBAL_PAGES 0
37814 support_global_pages=0
37821 if test "$bx_cpu_level" -lt 4 -a "$support_large_pages" = 1; then
37822 { { echo "$as_me:$LINENO: error: for large paging support the CPU level must be >= 4" >&5
37823 echo "$as_me: error: for large paging support the CPU level must be >= 4" >&2;}
37824 { (exit 1); exit 1; }; }
37827 if test "$bx_cpu_level" -lt 5 -a "$support_pae" = 1; then
37828 { { echo "$as_me:$LINENO: error: for PAE support the CPU level must be >= 5" >&5
37829 echo "$as_me: error: for PAE support the CPU level must be >= 5" >&2;}
37830 { (exit 1); exit 1; }; }
37833 if test "$bx_cpu_level" -lt 5 -a "$support_global_pages" = 1; then
37834 { { echo "$as_me:$LINENO: error: for Global Pages support the CPU level must be >= 5" >&5
37835 echo "$as_me: error: for Global Pages support the CPU level must be >= 5" >&2;}
37836 { (exit 1); exit 1; }; }
37839 { echo "$as_me:$LINENO: checking for MTRRs support" >&5
37840 echo $ECHO_N "checking for MTRRs support... $ECHO_C" >&6; }
37841 # Check whether --enable-mtrr was given.
37842 if test "${enable_mtrr+set}" = set; then
37843 enableval=$enable_mtrr; if test "$enableval" = yes; then
37844 { echo "$as_me:$LINENO: result: yes" >&5
37845 echo "${ECHO_T}yes" >&6; }
37846 cat >>confdefs.h <<\_ACEOF
37847 #define BX_SUPPORT_MTRR 1
37851 { echo "$as_me:$LINENO: result: no" >&5
37852 echo "${ECHO_T}no" >&6; }
37853 cat >>confdefs.h <<\_ACEOF
37854 #define BX_SUPPORT_MTRR 0
37860 if test "$bx_cpu_level" -gt 5; then
37861 # enable by default
37862 { echo "$as_me:$LINENO: result: yes" >&5
37863 echo "${ECHO_T}yes" >&6; }
37864 cat >>confdefs.h <<\_ACEOF
37865 #define BX_SUPPORT_MTRR 1
37869 { echo "$as_me:$LINENO: result: no" >&5
37870 echo "${ECHO_T}no" >&6; }
37871 cat >>confdefs.h <<\_ACEOF
37872 #define BX_SUPPORT_MTRR 0
37881 { echo "$as_me:$LINENO: checking for guest to host TLB support" >&5
37882 echo $ECHO_N "checking for guest to host TLB support... $ECHO_C" >&6; }
37883 # Check whether --enable-guest2host-tlb was given.
37884 if test "${enable_guest2host_tlb+set}" = set; then
37885 enableval=$enable_guest2host_tlb; if test "$enableval" = yes; then
37886 { echo "$as_me:$LINENO: result: yes" >&5
37887 echo "${ECHO_T}yes" >&6; }
37888 speedup_guest2host_tlb=1
37890 { echo "$as_me:$LINENO: result: no" >&5
37891 echo "${ECHO_T}no" >&6; }
37892 speedup_guest2host_tlb=0
37896 { echo "$as_me:$LINENO: result: no" >&5
37897 echo "${ECHO_T}no" >&6; }
37898 speedup_guest2host_tlb=0
37904 { echo "$as_me:$LINENO: checking for repeated IO and mem copy speedups" >&5
37905 echo $ECHO_N "checking for repeated IO and mem copy speedups... $ECHO_C" >&6; }
37906 # Check whether --enable-repeat-speedups was given.
37907 if test "${enable_repeat_speedups+set}" = set; then
37908 enableval=$enable_repeat_speedups; if test "$enableval" = yes; then
37909 { echo "$as_me:$LINENO: result: yes" >&5
37910 echo "${ECHO_T}yes" >&6; }
37913 { echo "$as_me:$LINENO: result: no" >&5
37914 echo "${ECHO_T}no" >&6; }
37919 { echo "$as_me:$LINENO: result: no" >&5
37920 echo "${ECHO_T}no" >&6; }
37927 { echo "$as_me:$LINENO: checking for instruction trace cache support" >&5
37928 echo $ECHO_N "checking for instruction trace cache support... $ECHO_C" >&6; }
37929 # Check whether --enable-trace-cache was given.
37930 if test "${enable_trace_cache+set}" = set; then
37931 enableval=$enable_trace_cache; if test "$enableval" = yes; then
37932 { echo "$as_me:$LINENO: result: yes" >&5
37933 echo "${ECHO_T}yes" >&6; }
37934 speedup_TraceCache=1
37936 { echo "$as_me:$LINENO: result: no" >&5
37937 echo "${ECHO_T}no" >&6; }
37938 speedup_TraceCache=0
37942 if test "$speedup_TraceCache " = 1; then
37943 { echo "$as_me:$LINENO: result: yes" >&5
37944 echo "${ECHO_T}yes" >&6; }
37945 speedup_TraceCache=1
37947 { echo "$as_me:$LINENO: result: no" >&5
37948 echo "${ECHO_T}no" >&6; }
37949 speedup_TraceCache=0
37956 { echo "$as_me:$LINENO: checking for instruction cache support" >&5
37957 echo $ECHO_N "checking for instruction cache support... $ECHO_C" >&6; }
37958 # Check whether --enable-icache was given.
37959 if test "${enable_icache+set}" = set; then
37960 enableval=$enable_icache; if test "$enableval" = yes; then
37961 { echo "$as_me:$LINENO: result: yes" >&5
37962 echo "${ECHO_T}yes" >&6; }
37965 { echo "$as_me:$LINENO: result: no" >&5
37966 echo "${ECHO_T}no" >&6; }
37971 { echo "$as_me:$LINENO: result: no" >&5
37972 echo "${ECHO_T}no" >&6; }
37979 { echo "$as_me:$LINENO: checking for gcc fast function calls optimization" >&5
37980 echo $ECHO_N "checking for gcc fast function calls optimization... $ECHO_C" >&6; }
37981 # Check whether --enable-fast-function-calls was given.
37982 if test "${enable_fast_function_calls+set}" = set; then
37983 enableval=$enable_fast_function_calls; if test "$enableval" = yes; then
37984 { echo "$as_me:$LINENO: result: yes" >&5
37985 echo "${ECHO_T}yes" >&6; }
37988 { echo "$as_me:$LINENO: result: no" >&5
37989 echo "${ECHO_T}no" >&6; }
37994 { echo "$as_me:$LINENO: result: no" >&5
37995 echo "${ECHO_T}no" >&6; }
38002 { echo "$as_me:$LINENO: checking for host specific inline assembly accelerations" >&5
38003 echo $ECHO_N "checking for host specific inline assembly accelerations... $ECHO_C" >&6; }
38004 # Check whether --enable-host-specific-asms was given.
38005 if test "${enable_host_specific_asms+set}" = set; then
38006 enableval=$enable_host_specific_asms; if test "$enableval" = yes; then
38007 { echo "$as_me:$LINENO: result: yes" >&5
38008 echo "${ECHO_T}yes" >&6; }
38009 speedup_host_specific_asms=1
38011 { echo "$as_me:$LINENO: result: no" >&5
38012 echo "${ECHO_T}no" >&6; }
38013 speedup_host_specific_asms=0
38017 { echo "$as_me:$LINENO: result: no" >&5
38018 echo "${ECHO_T}no" >&6; }
38019 speedup_host_specific_asms=0
38025 { echo "$as_me:$LINENO: checking whether to ignore bad MSR references" >&5
38026 echo $ECHO_N "checking whether to ignore bad MSR references... $ECHO_C" >&6; }
38027 # Check whether --enable-ignore-bad-msr was given.
38028 if test "${enable_ignore_bad_msr+set}" = set; then
38029 enableval=$enable_ignore_bad_msr; if test "$enableval" = yes; then
38030 { echo "$as_me:$LINENO: result: yes" >&5
38031 echo "${ECHO_T}yes" >&6; }
38032 cat >>confdefs.h <<\_ACEOF
38033 #define BX_IGNORE_BAD_MSR 1
38037 { echo "$as_me:$LINENO: result: no" >&5
38038 echo "${ECHO_T}no" >&6; }
38039 cat >>confdefs.h <<\_ACEOF
38040 #define BX_IGNORE_BAD_MSR 0
38046 { echo "$as_me:$LINENO: result: yes" >&5
38047 echo "${ECHO_T}yes" >&6; }
38048 cat >>confdefs.h <<\_ACEOF
38049 #define BX_IGNORE_BAD_MSR 1
38057 { echo "$as_me:$LINENO: checking for port e9 hack" >&5
38058 echo $ECHO_N "checking for port e9 hack... $ECHO_C" >&6; }
38059 # Check whether --enable-port-e9-hack was given.
38060 if test "${enable_port_e9_hack+set}" = set; then
38061 enableval=$enable_port_e9_hack; if test "$enableval" = yes; then
38062 { echo "$as_me:$LINENO: result: yes" >&5
38063 echo "${ECHO_T}yes" >&6; }
38064 cat >>confdefs.h <<\_ACEOF
38065 #define BX_PORT_E9_HACK 1
38069 { echo "$as_me:$LINENO: result: no" >&5
38070 echo "${ECHO_T}no" >&6; }
38071 cat >>confdefs.h <<\_ACEOF
38072 #define BX_PORT_E9_HACK 0
38078 { echo "$as_me:$LINENO: result: yes" >&5
38079 echo "${ECHO_T}yes" >&6; }
38080 cat >>confdefs.h <<\_ACEOF
38081 #define BX_PORT_E9_HACK 1
38089 { echo "$as_me:$LINENO: checking show IPS" >&5
38090 echo $ECHO_N "checking show IPS... $ECHO_C" >&6; }
38091 # Check whether --enable-show-ips was given.
38092 if test "${enable_show_ips+set}" = set; then
38093 enableval=$enable_show_ips; if test "$enableval" = yes; then
38094 { echo "$as_me:$LINENO: result: yes" >&5
38095 echo "${ECHO_T}yes" >&6; }
38096 cat >>confdefs.h <<\_ACEOF
38097 #define BX_SHOW_IPS 1
38101 { echo "$as_me:$LINENO: result: no" >&5
38102 echo "${ECHO_T}no" >&6; }
38103 cat >>confdefs.h <<\_ACEOF
38104 #define BX_SHOW_IPS 0
38110 { echo "$as_me:$LINENO: result: no" >&5
38111 echo "${ECHO_T}no" >&6; }
38112 cat >>confdefs.h <<\_ACEOF
38113 #define BX_SHOW_IPS 0
38121 { echo "$as_me:$LINENO: checking for use of .cpp as suffix" >&5
38122 echo $ECHO_N "checking for use of .cpp as suffix... $ECHO_C" >&6; }
38123 # Check whether --enable-cpp was given.
38124 if test "${enable_cpp+set}" = set; then
38125 enableval=$enable_cpp; if test "$enableval" = yes; then
38126 { echo "$as_me:$LINENO: result: yes" >&5
38127 echo "${ECHO_T}yes" >&6; }
38128 SUFFIX_LINE='.SUFFIXES
: .cpp
'
38131 { echo "$as_me:$LINENO: result: no" >&5
38132 echo "${ECHO_T}no" >&6; }
38133 SUFFIX_LINE='.SUFFIXES
: .cc
'
38138 { echo "$as_me:$LINENO: result: no" >&5
38139 echo "${ECHO_T}no" >&6; }
38140 SUFFIX_LINE='.SUFFIXES
: .cc
'
38149 if test "$enable_cpp" = yes; then
38150 echo "moving .cc source files to .cpp"
38151 sourcefiles=`find . -name "*.cc" -print`
38152 if test "$sourcefiles" != ""; then
38153 for ccname in $sourcefiles
38155 cppname=`echo $ccname | sed -e "s/\.cc$/.cpp/"`
38156 echo "mv $ccname $cppname"
38157 mv $ccname $cppname
38160 echo "no more .cc source files to rename"
38166 { echo "$as_me:$LINENO: checking for Bochs internal debugger support" >&5
38167 echo $ECHO_N "checking for Bochs internal debugger support... $ECHO_C" >&6; }
38168 # Check whether --enable-debugger was given.
38169 if test "${enable_debugger+set}" = set; then
38170 enableval=$enable_debugger; if test "$enableval" = yes; then
38171 { echo "$as_me:$LINENO: result: yes" >&5
38172 echo "${ECHO_T}yes" >&6; }
38173 cat >>confdefs.h <<\_ACEOF
38174 #define BX_DEBUGGER 1
38177 DEBUGGER_VAR='$
(DEBUGGER_LIB
)'
38180 { echo "$as_me:$LINENO: result: no" >&5
38181 echo "${ECHO_T}no" >&6; }
38182 cat >>confdefs.h <<\_ACEOF
38183 #define BX_DEBUGGER 0
38192 { echo "$as_me:$LINENO: result: no" >&5
38193 echo "${ECHO_T}no" >&6; }
38194 cat >>confdefs.h <<\_ACEOF
38195 #define BX_DEBUGGER 0
38206 { echo "$as_me:$LINENO: checking for external debugger" >&5
38207 echo $ECHO_N "checking for external debugger... $ECHO_C" >&6; }
38209 # Check whether --enable-external-debugger was given.
38210 if test "${enable_external_debugger+set}" = set; then
38211 enableval=$enable_external_debugger; if test "$enableval" = yes; then
38213 *-pc-windows* | *-cygwin* | *-mingw32*)
38214 { echo "$as_me:$LINENO: result: yes" >&5
38215 echo "${ECHO_T}yes" >&6; }
38216 cat >>confdefs.h <<\_ACEOF
38217 #define BX_EXTERNAL_DEBUGGER 1
38220 EXT_DEBUG_OBJS=extdb.o
38223 echo "ERROR: external debugger is currently supported on win32 only"
38228 { echo "$as_me:$LINENO: result: no" >&5
38229 echo "${ECHO_T}no" >&6; }
38233 { echo "$as_me:$LINENO: result: no" >&5
38234 echo "${ECHO_T}no" >&6; }
38240 { echo "$as_me:$LINENO: checking for disassembler support" >&5
38241 echo $ECHO_N "checking for disassembler support... $ECHO_C" >&6; }
38242 # Check whether --enable-disasm was given.
38243 if test "${enable_disasm+set}" = set; then
38244 enableval=$enable_disasm; if test "$enableval" = yes; then
38245 { echo "$as_me:$LINENO: result: yes" >&5
38246 echo "${ECHO_T}yes" >&6; }
38247 cat >>confdefs.h <<\_ACEOF
38248 #define BX_DISASM 1
38251 DISASM_VAR='$
(DISASM_LIB
)'
38253 { echo "$as_me:$LINENO: result: no" >&5
38254 echo "${ECHO_T}no" >&6; }
38255 if test "$bx_debugger" = 1; then
38256 echo "ERROR: debugger is enabled, so --enable-disasm is required"
38259 cat >>confdefs.h <<\_ACEOF
38260 #define BX_DISASM 0
38267 { echo "$as_me:$LINENO: result: yes" >&5
38268 echo "${ECHO_T}yes" >&6; }
38269 cat >>confdefs.h <<\_ACEOF
38270 #define BX_DISASM 1
38273 DISASM_VAR='$
(DISASM_LIB
)'
38279 { echo "$as_me:$LINENO: checking for ALL optimizations enabled" >&5
38280 echo $ECHO_N "checking for ALL optimizations enabled... $ECHO_C" >&6; }
38281 # Check whether --enable-all-optimizations was given.
38282 if test "${enable_all_optimizations+set}" = set; then
38283 enableval=$enable_all_optimizations; if test "$enableval" = yes; then
38284 { echo "$as_me:$LINENO: result: yes" >&5
38285 echo "${ECHO_T}yes" >&6; }
38288 { echo "$as_me:$LINENO: result: no" >&5
38289 echo "${ECHO_T}no" >&6; }
38295 { echo "$as_me:$LINENO: result: no" >&5
38296 echo "${ECHO_T}no" >&6; }
38304 # Optimizations section. Decide what the status of various optimizations
38305 # should be based on configure choices and other factors.
38308 if test "$speedups_all" = 1; then
38309 # Configure requested to force all options enabled.
38310 speedup_guest2host_tlb=1
38313 speedup_TraceCache=1
38317 if test "$speedup_iCache" = 0 -a "$speedup_TraceCache" = 1; then
38318 { { echo "$as_me:$LINENO: error: iCache is required to compile with trace cache optimization" >&5
38319 echo "$as_me: error: iCache is required to compile with trace cache optimization" >&2;}
38320 { (exit 1); exit 1; }; }
38323 if test "$speedup_guest2host_tlb" = 1; then
38324 cat >>confdefs.h <<\_ACEOF
38325 #define BX_SupportGuest2HostTLB 1
38329 cat >>confdefs.h <<\_ACEOF
38330 #define BX_SupportGuest2HostTLB 0
38335 if test "$speedup_repeat" = 1; then
38336 cat >>confdefs.h <<\_ACEOF
38337 #define BX_SupportRepeatSpeedups 1
38341 cat >>confdefs.h <<\_ACEOF
38342 #define BX_SupportRepeatSpeedups 0
38347 if test "$speedup_iCache" = 1; then
38348 cat >>confdefs.h <<\_ACEOF
38349 #define BX_SUPPORT_ICACHE 1
38353 cat >>confdefs.h <<\_ACEOF
38354 #define BX_SUPPORT_ICACHE 0
38359 if test "$speedup_host_specific_asms" = 1; then
38360 cat >>confdefs.h <<\_ACEOF
38361 #define BX_SupportHostAsms 1
38365 cat >>confdefs.h <<\_ACEOF
38366 #define BX_SupportHostAsms 0
38371 if test "$speedup_fastcall" = 1; then
38372 cat >>confdefs.h <<\_ACEOF
38373 #define BX_FAST_FUNC_CALL 1
38377 cat >>confdefs.h <<\_ACEOF
38378 #define BX_FAST_FUNC_CALL 0
38383 if test "$speedup_TraceCache" = 1; then
38384 cat >>confdefs.h <<\_ACEOF
38385 #define BX_SUPPORT_TRACE_CACHE 1
38389 cat >>confdefs.h <<\_ACEOF
38390 #define BX_SUPPORT_TRACE_CACHE 0
38397 rl_without_curses_ok=no
38398 rl_with_curses_ok=no
38400 { echo "$as_me:$LINENO: checking whether user wants readline" >&5
38401 echo $ECHO_N "checking whether user wants readline... $ECHO_C" >&6; }
38402 # Check whether --enable-readline was given.
38403 if test "${enable_readline+set}" = set; then
38404 enableval=$enable_readline; if test "$enableval" = yes; then
38405 { echo "$as_me:$LINENO: result: yes" >&5
38406 echo "${ECHO_T}yes" >&6; }
38409 { echo "$as_me:$LINENO: result: no" >&5
38410 echo "${ECHO_T}no" >&6; }
38415 { echo "$as_me:$LINENO: result: yes" >&5
38416 echo "${ECHO_T}yes" >&6; }
38424 { echo "$as_me:$LINENO: checking whether to use readline" >&5
38425 echo $ECHO_N "checking whether to use readline... $ECHO_C" >&6; }
38426 if test "$want_readline" = yes; then
38427 if test "$bx_debugger" = 1; then
38429 { echo "$as_me:$LINENO: checking if readline works without -lcurses" >&5
38430 echo $ECHO_N "checking if readline works without -lcurses... $ECHO_C" >&6; }
38432 LIBS="$LIBS -lreadline"
38433 if test "$cross_compiling" = yes; then
38434 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
38435 See \`config.log' for more details.
" >&5
38436 echo "$as_me: error
: cannot run
test program
while cross compiling
38437 See \
`config.log' for more details." >&2;}
38438 { (exit 1); exit 1; }; }
38440 cat >conftest.$ac_ext <<_ACEOF
38443 cat confdefs.h >>conftest.$ac_ext
38444 cat >>conftest.$ac_ext <<_ACEOF
38445 /* end confdefs.h. */
38448 #include <readline/readline.h>
38449 int main() { rl_initialize(); exit(0); }
38452 rm -f conftest$ac_exeext
38453 if { (ac_try="$ac_link"
38454 case "(($ac_try" in
38455 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
38456 *) ac_try_echo
=$ac_try;;
38458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38459 (eval "$ac_link") 2>&5
38461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38462 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
38463 { (case "(($ac_try" in
38464 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
38465 *) ac_try_echo=$ac_try;;
38467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38468 (eval "$ac_try") 2>&5
38470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38471 (exit $ac_status); }; }; then
38472 { echo "$as_me:$LINENO: result: yes" >&5
38473 echo "${ECHO_T}yes" >&6; }
38474 rl_without_curses_ok=yes
38476 echo "$as_me: program exited with status $ac_status" >&5
38477 echo "$as_me: failed program was:" >&5
38478 sed 's/^/| /' conftest.$ac_ext >&5
38480 ( exit $ac_status )
38481 { echo "$as_me:$LINENO: result: no" >&5
38482 echo "${ECHO_T}no" >&6; }
38485 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38489 { echo "$as_me:$LINENO: checking if readline works with -lcurses" >&5
38490 echo $ECHO_N "checking if readline works with -lcurses... $ECHO_C" >&6; }
38491 LIBS="$LIBS -lcurses"
38492 if test "$cross_compiling" = yes; then
38493 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
38494 See \`config.log
' for more details." >&5
38495 echo "$as_me: error: cannot run test program while cross compiling
38496 See \`config.log' for more details.
" >&2;}
38497 { (exit 1); exit 1; }; }
38499 cat >conftest.$ac_ext <<_ACEOF
38502 cat confdefs.h >>conftest.$ac_ext
38503 cat >>conftest.$ac_ext <<_ACEOF
38504 /* end confdefs.h. */
38507 #include <readline/readline.h>
38508 int main() { rl_initialize(); exit(0); }
38511 rm -f conftest$ac_exeext
38512 if { (ac_try="$ac_link"
38513 case "(($ac_try" in
38514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38515 *) ac_try_echo=$ac_try;;
38517 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38518 (eval "$ac_link") 2>&5
38520 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38521 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38522 { (case "(($ac_try" in
38523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38524 *) ac_try_echo=$ac_try;;
38526 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38527 (eval "$ac_try") 2>&5
38529 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38530 (exit $ac_status); }; }; then
38531 { echo "$as_me:$LINENO: result
: yes" >&5
38532 echo "${ECHO_T}yes" >&6; }
38533 rl_with_curses_ok=yes
38535 echo "$as_me: program exited with status
$ac_status" >&5
38536 echo "$as_me: failed program was
:" >&5
38537 sed 's/^/| /' conftest.$ac_ext >&5
38539 ( exit $ac_status )
38540 { echo "$as_me:$LINENO: result
: no
" >&5
38541 echo "${ECHO_T}no
" >&6; }
38544 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38550 if test "$rl_without_curses_ok" = yes; then
38551 { echo "$as_me:$LINENO: result
: yes" >&5
38552 echo "${ECHO_T}yes" >&6; }
38553 cat >>confdefs.h <<\_ACEOF
38554 #define HAVE_LIBREADLINE 1
38557 READLINE_LIB="-lreadline"
38559 elif test "$rl_with_curses_ok" = yes; then
38560 { echo "$as_me:$LINENO: result
: yes" >&5
38561 echo "${ECHO_T}yes" >&6; }
38562 cat >>confdefs.h <<\_ACEOF
38563 #define HAVE_LIBREADLINE 1
38566 READLINE_LIB="-lreadline -lcurses"
38569 { echo "$as_me:$LINENO: result
: no
" >&5
38570 echo "${ECHO_T}no
" >&6; }
38571 echo WARNING: The readline library was disabled because it was not found.
38574 { echo "$as_me:$LINENO: result
: no
" >&5
38575 echo "${ECHO_T}no
" >&6; }
38578 { echo "$as_me:$LINENO: result
: no
" >&5
38579 echo "${ECHO_T}no
" >&6; }
38583 if test "${ac_cv_header_readline_history_h+set}" = set; then
38584 { echo "$as_me:$LINENO: checking
for readline
/history.h
" >&5
38585 echo $ECHO_N "checking
for readline
/history.h...
$ECHO_C" >&6; }
38586 if test "${ac_cv_header_readline_history_h+set}" = set; then
38587 echo $ECHO_N "(cached
) $ECHO_C" >&6
38589 { echo "$as_me:$LINENO: result
: $ac_cv_header_readline_history_h" >&5
38590 echo "${ECHO_T}$ac_cv_header_readline_history_h" >&6; }
38592 # Is the header compilable?
38593 { echo "$as_me:$LINENO: checking readline
/history.h usability
" >&5
38594 echo $ECHO_N "checking readline
/history.h usability...
$ECHO_C" >&6; }
38595 cat >conftest.$ac_ext <<_ACEOF
38598 cat confdefs.h >>conftest.$ac_ext
38599 cat >>conftest.$ac_ext <<_ACEOF
38600 /* end confdefs.h. */
38601 $ac_includes_default
38602 #include <readline/history.h>
38604 rm -f conftest.$ac_objext
38605 if { (ac_try="$ac_compile"
38606 case "(($ac_try" in
38607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38608 *) ac_try_echo=$ac_try;;
38610 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38611 (eval "$ac_compile") 2>conftest.er1
38613 grep -v '^ *+' conftest.er1 >conftest.err
38615 cat conftest.err >&5
38616 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38617 (exit $ac_status); } &&
38618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38619 { (case "(($ac_try" in
38620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38621 *) ac_try_echo=$ac_try;;
38623 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38624 (eval "$ac_try") 2>&5
38626 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38627 (exit $ac_status); }; } &&
38628 { ac_try='test -s conftest.$ac_objext'
38629 { (case "(($ac_try" in
38630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38631 *) ac_try_echo=$ac_try;;
38633 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38634 (eval "$ac_try") 2>&5
38636 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38637 (exit $ac_status); }; }; then
38638 ac_header_compiler=yes
38640 echo "$as_me: failed program was
:" >&5
38641 sed 's/^/| /' conftest.$ac_ext >&5
38643 ac_header_compiler=no
38646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38647 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
38648 echo "${ECHO_T}$ac_header_compiler" >&6; }
38650 # Is the header present?
38651 { echo "$as_me:$LINENO: checking readline
/history.h presence
" >&5
38652 echo $ECHO_N "checking readline
/history.h presence...
$ECHO_C" >&6; }
38653 cat >conftest.$ac_ext <<_ACEOF
38656 cat confdefs.h >>conftest.$ac_ext
38657 cat >>conftest.$ac_ext <<_ACEOF
38658 /* end confdefs.h. */
38659 #include <readline/history.h>
38661 if { (ac_try="$ac_cpp conftest.
$ac_ext"
38662 case "(($ac_try" in
38663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38664 *) ac_try_echo=$ac_try;;
38666 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38667 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
38669 grep -v '^ *+' conftest.er1 >conftest.err
38671 cat conftest.err >&5
38672 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38673 (exit $ac_status); } >/dev/null; then
38674 if test -s conftest.err; then
38675 ac_cpp_err=$ac_c_preproc_warn_flag
38676 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38683 if test -z "$ac_cpp_err"; then
38684 ac_header_preproc=yes
38686 echo "$as_me: failed program was
:" >&5
38687 sed 's/^/| /' conftest.$ac_ext >&5
38689 ac_header_preproc=no
38692 rm -f conftest.err conftest.$ac_ext
38693 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
38694 echo "${ECHO_T}$ac_header_preproc" >&6; }
38696 # So? What about this header?
38697 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38699 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
38700 echo "$as_me: WARNING
: readline
/history.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
38701 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: proceeding with the compiler
's result" >&5
38702 echo "$as_me: WARNING: readline/history.h: proceeding with the compiler's result
" >&2;}
38703 ac_header_preproc=yes
38706 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: present but cannot be compiled
" >&5
38707 echo "$as_me: WARNING
: readline
/history.h
: present but cannot be compiled
" >&2;}
38708 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: check
for missing prerequisite headers?
" >&5
38709 echo "$as_me: WARNING
: readline
/history.h
: check
for missing prerequisite headers?
" >&2;}
38710 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: see the Autoconf documentation
" >&5
38711 echo "$as_me: WARNING
: readline
/history.h
: see the Autoconf documentation
" >&2;}
38712 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: section
\"Present But Cannot Be Compiled
\"" >&5
38713 echo "$as_me: WARNING
: readline
/history.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
38714 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: proceeding with the preprocessor
's result" >&5
38715 echo "$as_me: WARNING: readline/history.h: proceeding with the preprocessor's result
" >&2;}
38716 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: in the future
, the compiler will take precedence
" >&5
38717 echo "$as_me: WARNING
: readline
/history.h
: in the future
, the compiler will take precedence
" >&2;}
38721 { echo "$as_me:$LINENO: checking
for readline
/history.h
" >&5
38722 echo $ECHO_N "checking
for readline
/history.h...
$ECHO_C" >&6; }
38723 if test "${ac_cv_header_readline_history_h+set}" = set; then
38724 echo $ECHO_N "(cached
) $ECHO_C" >&6
38726 ac_cv_header_readline_history_h=$ac_header_preproc
38728 { echo "$as_me:$LINENO: result
: $ac_cv_header_readline_history_h" >&5
38729 echo "${ECHO_T}$ac_cv_header_readline_history_h" >&6; }
38732 if test $ac_cv_header_readline_history_h = yes; then
38733 cat >>confdefs.h <<\_ACEOF
38734 #define HAVE_READLINE_HISTORY_H 1
38742 INSTRUMENT_DIR='instrument/stubs'
38744 { echo "$as_me:$LINENO: checking
for instrumentation support
" >&5
38745 echo $ECHO_N "checking
for instrumentation support...
$ECHO_C" >&6; }
38746 # Check whether --enable-instrumentation was given.
38747 if test "${enable_instrumentation+set}" = set; then
38748 enableval=$enable_instrumentation; if test "$enableval" = yes; then
38749 { echo "$as_me:$LINENO: result
: yes" >&5
38750 echo "${ECHO_T}yes" >&6; }
38751 cat >>confdefs.h <<\_ACEOF
38752 #define BX_INSTRUMENTATION 1
38755 INSTRUMENT_VAR='$(INSTRUMENT_LIB)'
38756 elif test "$enableval" = no; then
38757 { echo "$as_me:$LINENO: result
: no
" >&5
38758 echo "${ECHO_T}no
" >&6; }
38759 cat >>confdefs.h <<\_ACEOF
38760 #define BX_INSTRUMENTATION 0
38765 { echo "$as_me:$LINENO: result
: yes" >&5
38766 echo "${ECHO_T}yes" >&6; }
38767 cat >>confdefs.h <<\_ACEOF
38768 #define BX_INSTRUMENTATION 1
38771 INSTRUMENT_DIR=$enableval
38772 INSTRUMENT_VAR='$(INSTRUMENT_LIB)'
38776 { echo "$as_me:$LINENO: result
: no
" >&5
38777 echo "${ECHO_T}no
" >&6; }
38778 cat >>confdefs.h <<\_ACEOF
38779 #define BX_INSTRUMENTATION 0
38790 if test "$bx_plugins" = 0; then
38793 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS wsock32.lib
"
38795 *-cygwin* | *-mingw32*)
38796 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -lwsock32"
38801 { echo "$as_me:$LINENO: checking
enable logging
" >&5
38802 echo $ECHO_N "checking
enable logging...
$ECHO_C" >&6; }
38803 # Check whether --enable-logging was given.
38804 if test "${enable_logging+set}" = set; then
38805 enableval=$enable_logging; if test "$enableval" = yes; then
38806 { echo "$as_me:$LINENO: result
: yes" >&5
38807 echo "${ECHO_T}yes" >&6; }
38808 cat >>confdefs.h <<\_ACEOF
38809 #define BX_NO_LOGGING 0
38813 { echo "$as_me:$LINENO: result
: no
" >&5
38814 echo "${ECHO_T}no
" >&6; }
38815 cat >>confdefs.h <<\_ACEOF
38816 #define BX_NO_LOGGING 1
38822 { echo "$as_me:$LINENO: result
: yes" >&5
38823 echo "${ECHO_T}yes" >&6; }
38824 cat >>confdefs.h <<\_ACEOF
38825 #define BX_NO_LOGGING 0
38833 { echo "$as_me:$LINENO: checking
for raw serial support
" >&5
38834 echo $ECHO_N "checking
for raw serial support...
$ECHO_C" >&6; }
38835 # Check whether --enable-raw-serial was given.
38836 if test "${enable_raw_serial+set}" = set; then
38837 enableval=$enable_raw_serial; if test "$enableval" = yes; then
38838 { echo "$as_me:$LINENO: result
: yes" >&5
38839 echo "${ECHO_T}yes" >&6; }
38840 cat >>confdefs.h <<\_ACEOF
38841 #define USE_RAW_SERIAL 1
38845 { echo "$as_me:$LINENO: result
: no
" >&5
38846 echo "${ECHO_T}no
" >&6; }
38847 cat >>confdefs.h <<\_ACEOF
38848 #define USE_RAW_SERIAL 0
38854 { echo "$as_me:$LINENO: result
: no
" >&5
38855 echo "${ECHO_T}no
" >&6; }
38856 cat >>confdefs.h <<\_ACEOF
38857 #define USE_RAW_SERIAL 0
38865 { echo "$as_me:$LINENO: checking
for VESA BIOS extensions
" >&5
38866 echo $ECHO_N "checking
for VESA BIOS extensions...
$ECHO_C" >&6; }
38867 # Check whether --enable-vbe was given.
38868 if test "${enable_vbe+set}" = set; then
38869 enableval=$enable_vbe; if test "$enableval" = yes; then
38870 { echo "$as_me:$LINENO: result
: yes" >&5
38871 echo "${ECHO_T}yes" >&6; }
38872 cat >>confdefs.h <<\_ACEOF
38873 #define BX_SUPPORT_VBE 1
38876 if test "$pci" = 1; then
38877 cat >>confdefs.h <<\_ACEOF
38878 #define BX_SUPPORT_PCIVGA 1
38883 { echo "$as_me:$LINENO: result
: no
" >&5
38884 echo "${ECHO_T}no
" >&6; }
38885 cat >>confdefs.h <<\_ACEOF
38886 #define BX_SUPPORT_VBE 0
38892 { echo "$as_me:$LINENO: result
: yes" >&5
38893 echo "${ECHO_T}yes" >&6; }
38894 cat >>confdefs.h <<\_ACEOF
38895 #define BX_SUPPORT_VBE 1
38898 if test "$pci" = 1; then
38899 cat >>confdefs.h <<\_ACEOF
38900 #define BX_SUPPORT_PCIVGA 1
38909 { echo "$as_me:$LINENO: checking
for CLGD54XX emulation
" >&5
38910 echo $ECHO_N "checking
for CLGD54XX emulation...
$ECHO_C" >&6; }
38911 # Check whether --enable-clgd54xx was given.
38912 if test "${enable_clgd54xx+set}" = set; then
38913 enableval=$enable_clgd54xx; if test "$enableval" = yes; then
38914 { echo "$as_me:$LINENO: result
: yes" >&5
38915 echo "${ECHO_T}yes" >&6; }
38916 cat >>confdefs.h <<\_ACEOF
38917 #define BX_SUPPORT_CLGD54XX 1
38920 if test "$pci" = 1; then
38921 cat >>confdefs.h <<\_ACEOF
38922 #define BX_SUPPORT_CLGD54XX_PCI 1
38927 { echo "$as_me:$LINENO: result
: no
" >&5
38928 echo "${ECHO_T}no
" >&6; }
38929 cat >>confdefs.h <<\_ACEOF
38930 #define BX_SUPPORT_CLGD54XX 0
38936 { echo "$as_me:$LINENO: result
: no
" >&5
38937 echo "${ECHO_T}no
" >&6; }
38938 cat >>confdefs.h <<\_ACEOF
38939 #define BX_SUPPORT_CLGD54XX 0
38948 { echo "$as_me:$LINENO: checking
for FPU emulation
" >&5
38949 echo $ECHO_N "checking
for FPU emulation...
$ECHO_C" >&6; }
38951 # Check whether --enable-fpu was given.
38952 if test "${enable_fpu+set}" = set; then
38953 enableval=$enable_fpu; if test "$enableval" = yes; then
38954 { echo "$as_me:$LINENO: result
: yes" >&5
38955 echo "${ECHO_T}yes" >&6; }
38956 cat >>confdefs.h <<\_ACEOF
38957 #define BX_SUPPORT_FPU 1
38960 FPU_VAR='$(FPU_LIB)'
38961 elif test "$enableval" = no; then
38962 { echo "$as_me:$LINENO: result
: no
" >&5
38963 echo "${ECHO_T}no
" >&6; }
38964 cat >>confdefs.h <<\_ACEOF
38965 #define BX_SUPPORT_FPU 0
38971 echo "ERROR
: --enable-fpu does not accept a path
"
38977 { echo "$as_me:$LINENO: result
: yes" >&5
38978 echo "${ECHO_T}yes" >&6; }
38979 cat >>confdefs.h <<\_ACEOF
38980 #define BX_SUPPORT_FPU 1
38983 FPU_VAR='$(FPU_LIB)'
38990 { echo "$as_me:$LINENO: checking
for VME support
" >&5
38991 echo $ECHO_N "checking
for VME support...
$ECHO_C" >&6; }
38992 # Check whether --enable-vme was given.
38993 if test "${enable_vme+set}" = set; then
38994 enableval=$enable_vme; if test "$enableval" = yes; then
38995 { echo "$as_me:$LINENO: result
: yes" >&5
38996 echo "${ECHO_T}yes" >&6; }
38997 cat >>confdefs.h <<\_ACEOF
38998 #define BX_SUPPORT_VME 1
39001 elif test "$enableval" = no; then
39002 { echo "$as_me:$LINENO: result
: no
" >&5
39003 echo "${ECHO_T}no
" >&6; }
39004 cat >>confdefs.h <<\_ACEOF
39005 #define BX_SUPPORT_VME 0
39012 if test "$bx_cpu_level" -ge 5; then
39013 { echo "$as_me:$LINENO: result
: yes" >&5
39014 echo "${ECHO_T}yes" >&6; }
39015 cat >>confdefs.h <<\_ACEOF
39016 #define BX_SUPPORT_VME 1
39026 { echo "$as_me:$LINENO: checking
for MMX support
" >&5
39027 echo $ECHO_N "checking
for MMX support...
$ECHO_C" >&6; }
39028 # Check whether --enable-mmx was given.
39029 if test "${enable_mmx+set}" = set; then
39030 enableval=$enable_mmx; if test "$enableval" = yes; then
39031 { echo "$as_me:$LINENO: result
: yes" >&5
39032 echo "${ECHO_T}yes" >&6; }
39033 cat >>confdefs.h <<\_ACEOF
39034 #define BX_SUPPORT_MMX 1
39037 elif test "$enableval" = no; then
39038 { echo "$as_me:$LINENO: result
: no
" >&5
39039 echo "${ECHO_T}no
" >&6; }
39040 cat >>confdefs.h <<\_ACEOF
39041 #define BX_SUPPORT_MMX 0
39049 if test "$bx_cpu_level" -ge 5; then
39050 { echo "$as_me:$LINENO: result
: yes" >&5
39051 echo "${ECHO_T}yes" >&6; }
39052 cat >>confdefs.h <<\_ACEOF
39053 #define BX_SUPPORT_MMX 1
39062 { echo "$as_me:$LINENO: checking
for 3DNow
! support
" >&5
39063 echo $ECHO_N "checking
for 3DNow
! support...
$ECHO_C" >&6; }
39064 # Check whether --enable-3dnow was given.
39065 if test "${enable_3dnow+set}" = set; then
39066 enableval=$enable_3dnow; if test "$enableval" = yes; then
39067 { echo "$as_me:$LINENO: result
: yes" >&5
39068 echo "${ECHO_T}yes" >&6; }
39069 cat >>confdefs.h <<\_ACEOF
39070 #define BX_SUPPORT_3DNOW 1
39073 elif test "$enableval" = no; then
39074 { echo "$as_me:$LINENO: result
: no
" >&5
39075 echo "${ECHO_T}no
" >&6; }
39076 cat >>confdefs.h <<\_ACEOF
39077 #define BX_SUPPORT_3DNOW 0
39084 { echo "$as_me:$LINENO: result
: no
" >&5
39085 echo "${ECHO_T}no
" >&6; }
39086 cat >>confdefs.h <<\_ACEOF
39087 #define BX_SUPPORT_3DNOW 0
39096 { echo "$as_me:$LINENO: checking
for SSE support
" >&5
39097 echo $ECHO_N "checking
for SSE support...
$ECHO_C" >&6; }
39098 # Check whether --enable-sse was given.
39099 if test "${enable_sse+set}" = set; then
39100 enableval=$enable_sse; case "$enableval" in
39103 { echo "$as_me:$LINENO: result
: no
" >&5
39104 echo "${ECHO_T}no
" >&6; }
39108 { echo "$as_me:$LINENO: result
: SSE1
" >&5
39109 echo "${ECHO_T}SSE1
" >&6; }
39113 { echo "$as_me:$LINENO: result
: SSE2
" >&5
39114 echo "${ECHO_T}SSE2
" >&6; }
39118 { echo "$as_me:$LINENO: result
: SSE3
" >&5
39119 echo "${ECHO_T}SSE3
" >&6; }
39123 { echo "$as_me:$LINENO: result
: SSE4
" >&5
39124 echo "${ECHO_T}SSE4
" >&6; }
39127 echo "ERROR
: --enable-sse=$enableval not understood. Use
--enable-sse=no|
1|
2|
3|
4"
39134 if test "$use_x86_64" = 1; then
39136 { echo "$as_me:$LINENO: result
: SSE2
" >&5
39137 echo "${ECHO_T}SSE2
" >&6; }
39139 { echo "$as_me:$LINENO: result
: no
" >&5
39140 echo "${ECHO_T}no
" >&6; }
39147 if test "$support_sse" -gt 0 -a "$bx_cpu_level" -lt 6; then
39148 { { echo "$as_me:$LINENO: error
: for SSE support the CPU level must be
set to
6" >&5
39149 echo "$as_me: error
: for SSE support the CPU level must be
set to
6" >&2;}
39150 { (exit 1); exit 1; }; }
39153 if test "$support_sse" -lt 2 -a "$use_x86_64" = 1; then
39154 { { echo "$as_me:$LINENO: error
: x86-64 needs SSE2 support
" >&5
39155 echo "$as_me: error
: x86-64 needs SSE2 support
" >&2;}
39156 { (exit 1); exit 1; }; }
39159 if test "$support_sse" = 4; then
39160 cat >>confdefs.h <<\_ACEOF
39161 #define BX_SUPPORT_SSE 4
39164 elif test "$support_sse" = 3; then
39165 cat >>confdefs.h <<\_ACEOF
39166 #define BX_SUPPORT_SSE 3
39169 elif test "$support_sse" = 2; then
39170 cat >>confdefs.h <<\_ACEOF
39171 #define BX_SUPPORT_SSE 2
39174 elif test "$support_sse" = 1; then
39175 cat >>confdefs.h <<\_ACEOF
39176 #define BX_SUPPORT_SSE 1
39180 cat >>confdefs.h <<\_ACEOF
39181 #define BX_SUPPORT_SSE 0
39186 { echo "$as_me:$LINENO: checking
for SSE extensions support
" >&5
39187 echo $ECHO_N "checking
for SSE extensions support...
$ECHO_C" >&6; }
39188 # Check whether --enable-sse-extension was given.
39189 if test "${enable_sse_extension+set}" = set; then
39190 enableval=$enable_sse_extension; if test "$enableval" = yes; then
39191 { echo "$as_me:$LINENO: result
: yes" >&5
39192 echo "${ECHO_T}yes" >&6; }
39193 cat >>confdefs.h <<\_ACEOF
39194 #define BX_SUPPORT_SSE_EXTENSION 1
39197 elif test "$enableval" = no; then
39198 { echo "$as_me:$LINENO: result
: no
" >&5
39199 echo "${ECHO_T}no
" >&6; }
39200 cat >>confdefs.h <<\_ACEOF
39201 #define BX_SUPPORT_SSE_EXTENSION 0
39208 { echo "$as_me:$LINENO: result
: no
" >&5
39209 echo "${ECHO_T}no
" >&6; }
39210 cat >>confdefs.h <<\_ACEOF
39211 #define BX_SUPPORT_SSE_EXTENSION 0
39219 { echo "$as_me:$LINENO: checking
for DAZ support
" >&5
39220 echo $ECHO_N "checking
for DAZ support...
$ECHO_C" >&6; }
39221 # Check whether --enable-daz was given.
39222 if test "${enable_daz+set}" = set; then
39223 enableval=$enable_daz; if test "$enableval" = yes; then
39224 { echo "$as_me:$LINENO: result
: yes" >&5
39225 echo "${ECHO_T}yes" >&6; }
39226 cat >>confdefs.h <<\_ACEOF
39227 #define BX_SUPPORT_DAZ 1
39230 elif test "$enableval" = no; then
39231 { echo "$as_me:$LINENO: result
: no
" >&5
39232 echo "${ECHO_T}no
" >&6; }
39233 cat >>confdefs.h <<\_ACEOF
39234 #define BX_SUPPORT_DAZ 0
39241 if test "$support_sse" -ge 2; then
39242 { echo "$as_me:$LINENO: result
: yes" >&5
39243 echo "${ECHO_T}yes" >&6; }
39244 cat >>confdefs.h <<\_ACEOF
39245 #define BX_SUPPORT_DAZ 1
39249 { echo "$as_me:$LINENO: result
: no
" >&5
39250 echo "${ECHO_T}no
" >&6; }
39251 cat >>confdefs.h <<\_ACEOF
39252 #define BX_SUPPORT_DAZ 0
39261 { echo "$as_me:$LINENO: checking
for alignment check support
" >&5
39262 echo $ECHO_N "checking
for alignment check support...
$ECHO_C" >&6; }
39263 # Check whether --enable-alignment-check was given.
39264 if test "${enable_alignment_check+set}" = set; then
39265 enableval=$enable_alignment_check; if test "$enableval" = yes; then
39266 { echo "$as_me:$LINENO: result
: yes" >&5
39267 echo "${ECHO_T}yes" >&6; }
39268 cat >>confdefs.h <<\_ACEOF
39269 #define BX_SUPPORT_ALIGNMENT_CHECK 1
39272 elif test "$enableval" = no; then
39273 { echo "$as_me:$LINENO: result
: no
" >&5
39274 echo "${ECHO_T}no
" >&6; }
39275 cat >>confdefs.h <<\_ACEOF
39276 #define BX_SUPPORT_ALIGNMENT_CHECK 0
39283 if test "$bx_cpu_level" -gt 3; then
39284 { echo "$as_me:$LINENO: result
: yes" >&5
39285 echo "${ECHO_T}yes" >&6; }
39286 cat >>confdefs.h <<\_ACEOF
39287 #define BX_SUPPORT_ALIGNMENT_CHECK 1
39291 { echo "$as_me:$LINENO: result
: no
" >&5
39292 echo "${ECHO_T}no
" >&6; }
39293 cat >>confdefs.h <<\_ACEOF
39294 #define BX_SUPPORT_ALIGNMENT_CHECK 0
39303 { echo "$as_me:$LINENO: checking
for misaligned SSE support
" >&5
39304 echo $ECHO_N "checking
for misaligned SSE support...
$ECHO_C" >&6; }
39305 # Check whether --enable-misaligned-sse was given.
39306 if test "${enable_misaligned_sse+set}" = set; then
39307 enableval=$enable_misaligned_sse; if test "$enableval" = yes; then
39308 { echo "$as_me:$LINENO: result
: yes" >&5
39309 echo "${ECHO_T}yes" >&6; }
39310 cat >>confdefs.h <<\_ACEOF
39311 #define BX_SUPPORT_MISALIGNED_SSE 1
39314 elif test "$enableval" = no; then
39315 { echo "$as_me:$LINENO: result
: no
" >&5
39316 echo "${ECHO_T}no
" >&6; }
39317 cat >>confdefs.h <<\_ACEOF
39318 #define BX_SUPPORT_MISALIGNED_SSE 0
39325 { echo "$as_me:$LINENO: result
: no
" >&5
39326 echo "${ECHO_T}no
" >&6; }
39327 cat >>confdefs.h <<\_ACEOF
39328 #define BX_SUPPORT_MISALIGNED_SSE 0
39336 { echo "$as_me:$LINENO: checking
for SEP support
" >&5
39337 echo $ECHO_N "checking
for SEP support...
$ECHO_C" >&6; }
39338 # Check whether --enable-sep was given.
39339 if test "${enable_sep+set}" = set; then
39340 enableval=$enable_sep; if test "$enableval" = yes; then
39341 { echo "$as_me:$LINENO: result
: yes" >&5
39342 echo "${ECHO_T}yes" >&6; }
39343 cat >>confdefs.h <<\_ACEOF
39344 #define BX_SUPPORT_SEP 1
39347 elif test "$enableval" = no; then
39348 { echo "$as_me:$LINENO: result
: no
" >&5
39349 echo "${ECHO_T}no
" >&6; }
39350 cat >>confdefs.h <<\_ACEOF
39351 #define BX_SUPPORT_SEP 0
39358 if test "$bx_cpu_level" -ge 6 -a "$support_mmx" = 1; then
39359 { echo "$as_me:$LINENO: result
: yes" >&5
39360 echo "${ECHO_T}yes" >&6; }
39361 cat >>confdefs.h <<\_ACEOF
39362 #define BX_SUPPORT_SEP 1
39366 { echo "$as_me:$LINENO: result
: no
" >&5
39367 echo "${ECHO_T}no
" >&6; }
39368 cat >>confdefs.h <<\_ACEOF
39369 #define BX_SUPPORT_SEP 0
39378 { echo "$as_me:$LINENO: checking
for POPCNT instruction support
" >&5
39379 echo $ECHO_N "checking
for POPCNT instruction support...
$ECHO_C" >&6; }
39380 # Check whether --enable-popcnt was given.
39381 if test "${enable_popcnt+set}" = set; then
39382 enableval=$enable_popcnt; if test "$enableval" = yes; then
39383 { echo "$as_me:$LINENO: result
: yes" >&5
39384 echo "${ECHO_T}yes" >&6; }
39385 cat >>confdefs.h <<\_ACEOF
39386 #define BX_SUPPORT_POPCNT 1
39389 elif test "$enableval" = no; then
39390 { echo "$as_me:$LINENO: result
: no
" >&5
39391 echo "${ECHO_T}no
" >&6; }
39392 cat >>confdefs.h <<\_ACEOF
39393 #define BX_SUPPORT_POPCNT 0
39400 { echo "$as_me:$LINENO: result
: no
" >&5
39401 echo "${ECHO_T}no
" >&6; }
39402 cat >>confdefs.h <<\_ACEOF
39403 #define BX_SUPPORT_POPCNT 0
39411 { echo "$as_me:$LINENO: checking
for MONITOR
/MWAIT instructions support
(experimental
)" >&5
39412 echo $ECHO_N "checking
for MONITOR
/MWAIT instructions support
(experimental
)...
$ECHO_C" >&6; }
39413 # Check whether --enable-monitor_mwait was given.
39414 if test "${enable_monitor_mwait+set}" = set; then
39415 enableval=$enable_monitor_mwait; if test "$enableval" = yes; then
39416 { echo "$as_me:$LINENO: result
: yes" >&5
39417 echo "${ECHO_T}yes" >&6; }
39418 cat >>confdefs.h <<\_ACEOF
39419 #define BX_SUPPORT_MONITOR_MWAIT 1
39422 elif test "$enableval" = no; then
39423 { echo "$as_me:$LINENO: result
: no
" >&5
39424 echo "${ECHO_T}no
" >&6; }
39425 cat >>confdefs.h <<\_ACEOF
39426 #define BX_SUPPORT_MONITOR_MWAIT 0
39433 { echo "$as_me:$LINENO: result
: no
" >&5
39434 echo "${ECHO_T}no
" >&6; }
39435 cat >>confdefs.h <<\_ACEOF
39436 #define BX_SUPPORT_MONITOR_MWAIT 0
39444 { echo "$as_me:$LINENO: checking
for x86 debugger support
" >&5
39445 echo $ECHO_N "checking
for x86 debugger support...
$ECHO_C" >&6; }
39446 # Check whether --enable-x86-debugger was given.
39447 if test "${enable_x86_debugger+set}" = set; then
39448 enableval=$enable_x86_debugger; if test "$enableval" = yes; then
39449 { echo "$as_me:$LINENO: result
: yes" >&5
39450 echo "${ECHO_T}yes" >&6; }
39451 cat >>confdefs.h <<\_ACEOF
39452 #define BX_X86_DEBUGGER 1
39455 elif test "$enableval" = no; then
39456 { echo "$as_me:$LINENO: result
: no
" >&5
39457 echo "${ECHO_T}no
" >&6; }
39458 cat >>confdefs.h <<\_ACEOF
39459 #define BX_X86_DEBUGGER 0
39463 { echo "$as_me:$LINENO: result
: yes" >&5
39464 echo "${ECHO_T}yes" >&6; }
39465 cat >>confdefs.h <<\_ACEOF
39466 #define BX_X86_DEBUGGER 1
39472 { echo "$as_me:$LINENO: result
: no
" >&5
39473 echo "${ECHO_T}no
" >&6; }
39474 cat >>confdefs.h <<\_ACEOF
39475 #define BX_X86_DEBUGGER 0
39483 if test "${ac_cv_header_IOKit_storage_IOCDMedia_h+set}" = set; then
39484 { echo "$as_me:$LINENO: checking
for IOKit
/storage
/IOCDMedia.h
" >&5
39485 echo $ECHO_N "checking
for IOKit
/storage
/IOCDMedia.h...
$ECHO_C" >&6; }
39486 if test "${ac_cv_header_IOKit_storage_IOCDMedia_h+set}" = set; then
39487 echo $ECHO_N "(cached
) $ECHO_C" >&6
39489 { echo "$as_me:$LINENO: result
: $ac_cv_header_IOKit_storage_IOCDMedia_h" >&5
39490 echo "${ECHO_T}$ac_cv_header_IOKit_storage_IOCDMedia_h" >&6; }
39492 # Is the header compilable?
39493 { echo "$as_me:$LINENO: checking IOKit
/storage
/IOCDMedia.h usability
" >&5
39494 echo $ECHO_N "checking IOKit
/storage
/IOCDMedia.h usability...
$ECHO_C" >&6; }
39495 cat >conftest.$ac_ext <<_ACEOF
39498 cat confdefs.h >>conftest.$ac_ext
39499 cat >>conftest.$ac_ext <<_ACEOF
39500 /* end confdefs.h. */
39501 $ac_includes_default
39502 #include <IOKit/storage/IOCDMedia.h>
39504 rm -f conftest.$ac_objext
39505 if { (ac_try="$ac_compile"
39506 case "(($ac_try" in
39507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39508 *) ac_try_echo=$ac_try;;
39510 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39511 (eval "$ac_compile") 2>conftest.er1
39513 grep -v '^ *+' conftest.er1 >conftest.err
39515 cat conftest.err >&5
39516 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39517 (exit $ac_status); } &&
39518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39519 { (case "(($ac_try" in
39520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39521 *) ac_try_echo=$ac_try;;
39523 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39524 (eval "$ac_try") 2>&5
39526 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39527 (exit $ac_status); }; } &&
39528 { ac_try='test -s conftest.$ac_objext'
39529 { (case "(($ac_try" in
39530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39531 *) ac_try_echo=$ac_try;;
39533 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39534 (eval "$ac_try") 2>&5
39536 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39537 (exit $ac_status); }; }; then
39538 ac_header_compiler=yes
39540 echo "$as_me: failed program was
:" >&5
39541 sed 's/^/| /' conftest.$ac_ext >&5
39543 ac_header_compiler=no
39546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39547 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
39548 echo "${ECHO_T}$ac_header_compiler" >&6; }
39550 # Is the header present?
39551 { echo "$as_me:$LINENO: checking IOKit
/storage
/IOCDMedia.h presence
" >&5
39552 echo $ECHO_N "checking IOKit
/storage
/IOCDMedia.h presence...
$ECHO_C" >&6; }
39553 cat >conftest.$ac_ext <<_ACEOF
39556 cat confdefs.h >>conftest.$ac_ext
39557 cat >>conftest.$ac_ext <<_ACEOF
39558 /* end confdefs.h. */
39559 #include <IOKit/storage/IOCDMedia.h>
39561 if { (ac_try="$ac_cpp conftest.
$ac_ext"
39562 case "(($ac_try" in
39563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39564 *) ac_try_echo=$ac_try;;
39566 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39567 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
39569 grep -v '^ *+' conftest.er1 >conftest.err
39571 cat conftest.err >&5
39572 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39573 (exit $ac_status); } >/dev/null; then
39574 if test -s conftest.err; then
39575 ac_cpp_err=$ac_c_preproc_warn_flag
39576 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39583 if test -z "$ac_cpp_err"; then
39584 ac_header_preproc=yes
39586 echo "$as_me: failed program was
:" >&5
39587 sed 's/^/| /' conftest.$ac_ext >&5
39589 ac_header_preproc=no
39592 rm -f conftest.err conftest.$ac_ext
39593 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
39594 echo "${ECHO_T}$ac_header_preproc" >&6; }
39596 # So? What about this header?
39597 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39599 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
39600 echo "$as_me: WARNING
: IOKit
/storage
/IOCDMedia.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
39601 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: proceeding with the compiler
's result" >&5
39602 echo "$as_me: WARNING: IOKit/storage/IOCDMedia.h: proceeding with the compiler's result
" >&2;}
39603 ac_header_preproc=yes
39606 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: present but cannot be compiled
" >&5
39607 echo "$as_me: WARNING
: IOKit
/storage
/IOCDMedia.h
: present but cannot be compiled
" >&2;}
39608 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: check
for missing prerequisite headers?
" >&5
39609 echo "$as_me: WARNING
: IOKit
/storage
/IOCDMedia.h
: check
for missing prerequisite headers?
" >&2;}
39610 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: see the Autoconf documentation
" >&5
39611 echo "$as_me: WARNING
: IOKit
/storage
/IOCDMedia.h
: see the Autoconf documentation
" >&2;}
39612 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: section
\"Present But Cannot Be Compiled
\"" >&5
39613 echo "$as_me: WARNING
: IOKit
/storage
/IOCDMedia.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
39614 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: proceeding with the preprocessor
's result" >&5
39615 echo "$as_me: WARNING: IOKit/storage/IOCDMedia.h: proceeding with the preprocessor's result
" >&2;}
39616 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: in the future
, the compiler will take precedence
" >&5
39617 echo "$as_me: WARNING
: IOKit
/storage
/IOCDMedia.h
: in the future
, the compiler will take precedence
" >&2;}
39621 { echo "$as_me:$LINENO: checking
for IOKit
/storage
/IOCDMedia.h
" >&5
39622 echo $ECHO_N "checking
for IOKit
/storage
/IOCDMedia.h...
$ECHO_C" >&6; }
39623 if test "${ac_cv_header_IOKit_storage_IOCDMedia_h+set}" = set; then
39624 echo $ECHO_N "(cached
) $ECHO_C" >&6
39626 ac_cv_header_IOKit_storage_IOCDMedia_h=$ac_header_preproc
39628 { echo "$as_me:$LINENO: result
: $ac_cv_header_IOKit_storage_IOCDMedia_h" >&5
39629 echo "${ECHO_T}$ac_cv_header_IOKit_storage_IOCDMedia_h" >&6; }
39632 if test $ac_cv_header_IOKit_storage_IOCDMedia_h = yes; then
39633 can_use_osx_cdrom=yes
39639 { echo "$as_me:$LINENO: checking
for CDROM support
" >&5
39640 echo $ECHO_N "checking
for CDROM support...
$ECHO_C" >&6; }
39641 # Check whether --enable-cdrom was given.
39642 if test "${enable_cdrom+set}" = set; then
39643 enableval=$enable_cdrom; if test "$enableval" = no; then
39654 if test "$bx_cdrom" = 1; then
39655 { echo "$as_me:$LINENO: result
: yes" >&5
39656 echo "${ECHO_T}yes" >&6; }
39657 CDROM_OBJS='cdrom.o'
39658 if test "$with_amigaos" = yes; then
39659 # use the amiga cdrom file instead.
39660 CDROM_OBJS="cdrom_amigaos.o
"
39661 elif test "$can_use_osx_cdrom" = yes; then
39663 { echo "$as_me:$LINENO: result
: Using OSX IOKit CD Interface
" >&5
39664 echo "${ECHO_T}Using OSX IOKit CD Interface
" >&6; }
39665 CDROM_OBJS="cdrom.o
"
39666 EXTRA_LINK_OPTS="${EXTRA_LINK_OPTS} -framework IOKit
-framework CoreFoundation
"'$(GUI_LINK_OPTS)'
39670 # use the beos cdrom file instead
39671 CDROM_OBJS="$CDROM_OBJS cdrom_beos.o
"
39673 cat >>confdefs.h <<\_ACEOF
39674 #define BX_SUPPORT_CDROM 1
39678 { echo "$as_me:$LINENO: result
: no
" >&5
39679 echo "${ECHO_T}no
" >&6; }
39681 cat >>confdefs.h <<\_ACEOF
39682 #define BX_SUPPORT_CDROM 0
39690 { echo "$as_me:$LINENO: checking
for Sound Blaster
16 support
" >&5
39691 echo $ECHO_N "checking
for Sound Blaster
16 support...
$ECHO_C" >&6; }
39696 # Check whether --enable-sb16 was given.
39697 if test "${enable_sb16+set}" = set; then
39698 enableval=$enable_sb16; if test "$enableval" = no; then
39699 { echo "$as_me:$LINENO: result
: no
" >&5
39700 echo "${ECHO_T}no
" >&6; }
39701 cat >>confdefs.h <<\_ACEOF
39702 #define BX_SUPPORT_SB16 0
39706 case "$enableval" in
39709 cat >>confdefs.h <<\_ACEOF
39710 #define BX_SOUND_OUTPUT_C bx_sound_output_c
39713 { echo "$as_me:$LINENO: result
: dummy
" >&5
39714 echo "${ECHO_T}dummy
" >&6; }
39717 SOUNDLOW_OBJS='soundlnx.o'
39718 cat >>confdefs.h <<\_ACEOF
39719 #define BX_SOUND_OUTPUT_C bx_sound_linux_c
39722 { echo "$as_me:$LINENO: result
: linux
" >&5
39723 echo "${ECHO_T}linux
" >&6; }
39726 SOUNDLOW_OBJS='soundwin.o'
39727 cat >>confdefs.h <<\_ACEOF
39728 #define BX_SOUND_OUTPUT_C bx_sound_windows_c
39731 { echo "$as_me:$LINENO: result
: win
" >&5
39732 echo "${ECHO_T}win
" >&6; }
39735 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS winmm.lib
"
39738 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -lwinmm"
39743 SOUNDLOW_OBJS='soundosx.o'
39744 cat >>confdefs.h <<\_ACEOF
39745 #define BX_SOUND_OUTPUT_C bx_sound_osx_c
39748 { echo "$as_me:$LINENO: result
: osx
" >&5
39749 echo "${ECHO_T}osx
" >&6; }
39750 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -framework AudioUnit
-framework AudioToolbox
"
39754 *-linux* | *-freebsd*)
39755 SOUNDLOW_OBJS='soundlnx.o'
39756 cat >>confdefs.h <<\_ACEOF
39757 #define BX_SOUND_OUTPUT_C bx_sound_linux_c
39760 { echo "$as_me:$LINENO: result
: linux
" >&5
39761 echo "${ECHO_T}linux
" >&6; }
39764 SOUNDLOW_OBJS='soundwin.o'
39765 cat >>confdefs.h <<\_ACEOF
39766 #define BX_SOUND_OUTPUT_C bx_sound_windows_c
39769 { echo "$as_me:$LINENO: result
: win
" >&5
39770 echo "${ECHO_T}win
" >&6; }
39771 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS winmm.lib
"
39773 *-cygwin* | *-mingw32*)
39774 SOUNDLOW_OBJS='soundwin.o'
39775 cat >>confdefs.h <<\_ACEOF
39776 #define BX_SOUND_OUTPUT_C bx_sound_windows_c
39779 { echo "$as_me:$LINENO: result
: win
" >&5
39780 echo "${ECHO_T}win
" >&6; }
39781 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -lwinmm"
39783 *-macosx* | *-macos*)
39784 SOUNDLOW_OBJS='soundosx.o'
39785 cat >>confdefs.h <<\_ACEOF
39786 #define BX_SOUND_OUTPUT_C bx_sound_osx_c
39789 { echo "$as_me:$LINENO: result
: osx
" >&5
39790 echo "${ECHO_T}osx
" >&6; }
39791 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -framework AudioUnit
-framework AudioToolbox
"
39795 cat >>confdefs.h <<\_ACEOF
39796 #define BX_SOUND_OUTPUT_C bx_sound_output_c
39799 { echo "$as_me:$LINENO: result
: dummy
" >&5
39800 echo "${ECHO_T}dummy
" >&6; }
39806 echo \!\!\!Error\!\!\!
39807 echo "You must pass one of dummy
, linux
, win
, freebsd
, osx to
--enable-sb16"
39811 cat >>confdefs.h <<\_ACEOF
39812 #define BX_SUPPORT_SB16 1
39815 GAME_OBJS='gameport.o'
39820 { echo "$as_me:$LINENO: result
: no
" >&5
39821 echo "${ECHO_T}no
" >&6; }
39822 cat >>confdefs.h <<\_ACEOF
39823 #define BX_SUPPORT_SB16 0
39834 { echo "$as_me:$LINENO: checking
for standard PC gameport support
" >&5
39835 echo $ECHO_N "checking
for standard PC gameport support...
$ECHO_C" >&6; }
39836 # Check whether --enable-gameport was given.
39837 if test "${enable_gameport+set}" = set; then
39838 enableval=$enable_gameport; if test "$enableval" = yes; then
39839 { echo "$as_me:$LINENO: result
: yes" >&5
39840 echo "${ECHO_T}yes" >&6; }
39841 cat >>confdefs.h <<\_ACEOF
39842 #define BX_SUPPORT_GAMEPORT 1
39845 if test "$gameport_present" = 0; then
39846 GAME_OBJS='gameport.o'
39848 *-cygwin* | *-mingw32*)
39849 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -lwinmm"
39854 { echo "$as_me:$LINENO: result
: no
" >&5
39855 echo "${ECHO_T}no
" >&6; }
39857 cat >>confdefs.h <<\_ACEOF
39858 #define BX_SUPPORT_GAMEPORT 0
39864 if test "$gameport_present" = 1; then
39865 cat >>confdefs.h <<\_ACEOF
39866 #define BX_SUPPORT_GAMEPORT 1
39869 { echo "$as_me:$LINENO: result
: yes" >&5
39870 echo "${ECHO_T}yes" >&6; }
39872 cat >>confdefs.h <<\_ACEOF
39873 #define BX_SUPPORT_GAMEPORT 0
39876 { echo "$as_me:$LINENO: result
: no
" >&5
39877 echo "${ECHO_T}no
" >&6; }
39885 { echo "$as_me:$LINENO: checking
for gdb stub
enable" >&5
39886 echo $ECHO_N "checking
for gdb stub
enable...
$ECHO_C" >&6; }
39887 # Check whether --enable-gdb-stub was given.
39888 if test "${enable_gdb_stub+set}" = set; then
39889 enableval=$enable_gdb_stub; if test "$enableval" = yes; then
39890 { echo "$as_me:$LINENO: result
: yes" >&5
39891 echo "${ECHO_T}yes" >&6; }
39892 cat >>confdefs.h <<\_ACEOF
39893 #define BX_GDBSTUB 1
39896 GDBSTUB_VAR='$(GDBSTUB_OBJS)'
39897 if test "$bx_debugger" = 1; then
39898 { { echo "$as_me:$LINENO: error
: --enable-debugger and
--enable-gdb-stub are mutually exclusive
" >&5
39899 echo "$as_me: error
: --enable-debugger and
--enable-gdb-stub are mutually exclusive
" >&2;}
39900 { (exit 1); exit 1; }; }
39903 { echo "$as_me:$LINENO: result
: no
" >&5
39904 echo "${ECHO_T}no
" >&6; }
39905 cat >>confdefs.h <<\_ACEOF
39906 #define BX_GDBSTUB 0
39913 { echo "$as_me:$LINENO: result
: no
" >&5
39914 echo "${ECHO_T}no
" >&6; }
39915 cat >>confdefs.h <<\_ACEOF
39916 #define BX_GDBSTUB 0
39927 { echo "$as_me:$LINENO: checking
for I
/O Interface to the debugger
" >&5
39928 echo $ECHO_N "checking
for I
/O Interface to the debugger...
$ECHO_C" >&6; }
39930 # Check whether --enable-iodebug was given.
39931 if test "${enable_iodebug+set}" = set; then
39932 enableval=$enable_iodebug; if test "$enableval" = yes; then
39933 { echo "$as_me:$LINENO: result
: yes" >&5
39934 echo "${ECHO_T}yes" >&6; }
39935 cat >>confdefs.h <<\_ACEOF
39936 #define BX_SUPPORT_IODEBUG 1
39939 IODEBUG_OBJS='iodebug.o'
39941 { echo "$as_me:$LINENO: result
: no
" >&5
39942 echo "${ECHO_T}no
" >&6; }
39943 cat >>confdefs.h <<\_ACEOF
39944 #define BX_SUPPORT_IODEBUG 0
39951 if test "" = 1; then
39952 # enable by default if debugger is on
39953 { echo "$as_me:$LINENO: result
: yes" >&5
39954 echo "${ECHO_T}yes" >&6; }
39955 cat >>confdefs.h <<\_ACEOF
39956 #define BX_SUPPORT_IODEBUG 1
39959 IODEBUG_OBJS='iodebug.o'
39961 { echo "$as_me:$LINENO: result
: no
" >&5
39962 echo "${ECHO_T}no
" >&6; }
39971 # Extract the first word of "docbook2html
", so it can be a program name with args.
39972 set dummy docbook2html; ac_word=$2
39973 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
39974 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
39975 if test "${ac_cv_path_DOCBOOK2HTML+set}" = set; then
39976 echo $ECHO_N "(cached
) $ECHO_C" >&6
39978 case $DOCBOOK2HTML in
39980 ac_cv_path_DOCBOOK2HTML="$DOCBOOK2HTML" # Let the user override the test with a path.
39983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39984 for as_dir in $PATH
39987 test -z "$as_dir" && as_dir=.
39988 for ac_exec_ext in '' $ac_executable_extensions; do
39989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
39990 ac_cv_path_DOCBOOK2HTML="$as_dir/$ac_word$ac_exec_ext"
39991 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
39998 test -z "$ac_cv_path_DOCBOOK2HTML" && ac_cv_path_DOCBOOK2HTML="not_found
"
40002 DOCBOOK2HTML=$ac_cv_path_DOCBOOK2HTML
40003 if test -n "$DOCBOOK2HTML"; then
40004 { echo "$as_me:$LINENO: result
: $DOCBOOK2HTML" >&5
40005 echo "${ECHO_T}$DOCBOOK2HTML" >&6; }
40007 { echo "$as_me:$LINENO: result
: no
" >&5
40008 echo "${ECHO_T}no
" >&6; }
40012 { echo "$as_me:$LINENO: checking whether to build docbook documentation
" >&5
40013 echo $ECHO_N "checking whether to build docbook documentation...
$ECHO_C" >&6; }
40015 # Check whether --enable-docbook was given.
40016 if test "${enable_docbook+set}" = set; then
40017 enableval=$enable_docbook;
40018 if test "$enableval" = yes; then build_docbook=1; fi
40022 if test "$DOCBOOK2HTML" != not_found; then build_docbook=1; fi
40028 if test $build_docbook = 1; then
40029 { echo "$as_me:$LINENO: result
: yes" >&5
40030 echo "${ECHO_T}yes" >&6; }
40031 BUILD_DOCBOOK_VAR=build_docbook
40032 INSTALL_DOCBOOK_VAR=install_docbook
40033 if test "$DOCBOOK2HTML" = not_found; then
40034 echo "ERROR
: docbook2html must be installed to build the documentation
"
40038 { echo "$as_me:$LINENO: result
: no
" >&5
40039 echo "${ECHO_T}no
" >&6; }
40045 PRIMARY_TARGET='bochs'
40046 PLUGIN_LIBNAME_TRANSFORMATION='%.o=libbx_%.la'
40048 cat >>confdefs.h <<\_ACEOF
40049 #define BX_PROVIDE_DEVICE_MODELS 1
40052 IODEV_LIB_VAR='iodev/libiodev.a'
40053 cat >>confdefs.h <<\_ACEOF
40054 #define BX_PROVIDE_CPU_MEMORY 1
40057 NONINLINE_VAR='$(NONINLINE_OBJS)'
40069 # Check whether --with-x11 was given.
40070 if test "${with_x11+set}" = set; then
40076 # Check whether --with-beos was given.
40077 if test "${with_beos+set}" = set; then
40078 withval=$with_beos;
40083 # Check whether --with-win32 was given.
40084 if test "${with_win32+set}" = set; then
40085 withval=$with_win32;
40090 # Check whether --with-macos was given.
40091 if test "${with_macos+set}" = set; then
40092 withval=$with_macos;
40097 # Check whether --with-carbon was given.
40098 if test "${with_carbon+set}" = set; then
40099 withval=$with_carbon;
40104 # Check whether --with-nogui was given.
40105 if test "${with_nogui+set}" = set; then
40106 withval=$with_nogui;
40111 # Check whether --with-term was given.
40112 if test "${with_term+set}" = set; then
40113 withval=$with_term;
40118 # Check whether --with-rfb was given.
40119 if test "${with_rfb+set}" = set; then
40125 # Check whether --with-amigaos was given.
40126 if test "${with_amigaos+set}" = set; then
40127 withval=$with_amigaos;
40132 # Check whether --with-sdl was given.
40133 if test "${with_sdl+set}" = set; then
40139 # Check whether --with-svga was given.
40140 if test "${with_svga+set}" = set; then
40141 withval=$with_svga;
40146 # Check whether --with-wx was given.
40147 if test "${with_wx+set}" = set; then
40153 # Check whether --with-all-libs was given.
40154 if test "${with_all_libs+set}" = set; then
40155 withval=$with_all_libs;
40164 MAKELIB="ar rv \$@
"
40166 # first define link variables without libtool
40167 LINK="\$
(CXX
) -o \$@ \$
(CXXFLAGS
) \$
(LDFLAGS
)"
40168 LINK_CONSOLE="\$
(CXX
) -o \$@ \$
(CXXFLAGS_CONSOLE
) \$
(LDFLAGS
)"
40169 # unless NO_LT is set, add libtool to the front of the link command
40170 if test "$NO_LT" != 1; then
40171 LINK="\$
(LIBTOOL
) --mode=link
$LINK"
40172 LINK_CONSOLE="\$
(LIBTOOL
) --mode=link
$LINK_CONSOLE"
40175 COMMAND_SEPARATOR="&& \\"
40176 CD_UP_ONE="echo done"
40177 CD_UP_TWO="echo done"
40178 CD_UP_THREE="echo done"
40180 INSTALL_TARGET=install_unix
40181 INSTALL_LIST_FOR_PLATFORM=
40183 # check for existence of and usable version of wxWidgets. This comes
40184 # early so that it could affect which one gets chosen.
40185 if test x$WX_CONFIG = x; then
40186 # Extract the first word of " wx-config
--version ", so it can be a program name with args.
40187 set dummy wx-config --version ; ac_word=$2
40188 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
40189 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
40190 if test "${ac_cv_prog_WX_CONFIG+set}" = set; then
40191 echo $ECHO_N "(cached
) $ECHO_C" >&6
40193 if test -n "$WX_CONFIG"; then
40194 ac_cv_prog_WX_CONFIG="$WX_CONFIG" # Let the user override the test.
40196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40197 for as_dir in $PATH
40200 test -z "$as_dir" && as_dir=.
40201 for ac_exec_ext in '' $ac_executable_extensions; do
40202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
40203 ac_cv_prog_WX_CONFIG="wx-config
"
40204 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
40211 test -z "$ac_cv_prog_WX_CONFIG" && ac_cv_prog_WX_CONFIG="not_found
"
40214 WX_CONFIG=$ac_cv_prog_WX_CONFIG
40215 if test -n "$WX_CONFIG"; then
40216 { echo "$as_me:$LINENO: result
: $WX_CONFIG" >&5
40217 echo "${ECHO_T}$WX_CONFIG" >&6; }
40219 { echo "$as_me:$LINENO: result
: no
" >&5
40220 echo "${ECHO_T}no
" >&6; }
40225 { echo "$as_me:$LINENO: checking
for wxWidgets configuration
script" >&5
40226 echo $ECHO_N "checking
for wxWidgets configuration
script...
$ECHO_C" >&6; }
40227 { echo "$as_me:$LINENO: result
: $WX_CONFIG" >&5
40228 echo "${ECHO_T}$WX_CONFIG" >&6; }
40233 { echo "$as_me:$LINENO: checking
for wxWidgets library version
" >&5
40234 echo $ECHO_N "checking
for wxWidgets library version...
$ECHO_C" >&6; }
40235 if test x$WX_CONFIG != xnot_found; then
40236 WX_VERSION=`$WX_CONFIG --version`
40237 WX_BASENAME=`$WX_CONFIG --basename`
40239 # test that version >= 2.3.2. Anybody have a better way to do this? Yuck.
40240 case x$WX_VERSION in
40241 x2.[012]*) ;; # less than version 2.3.x
40242 x2.3.[01]) ;; # less than version 2.3.2
40243 x2.3.[2-4]*) ok_wx_version=1 ;; # 2.3.2 or greater
40244 x2.[4-5]*) ok_wx_version=1 ;; # version 2.4 / 2.5
40245 x2.[6-9]*) # version 2.6 or greater
40248 case x$WX_BASENAME in
40249 xwx_gtk2|xwx_gtk2u) wx_needs_gtk2=1 ;;
40253 x[3-9]*) ok_wx_version=1 ;; # version 3 or greater
40258 { echo "$as_me:$LINENO: result
: $WX_VERSION" >&5
40259 echo "${ECHO_T}$WX_VERSION" >&6; }
40260 if test "$cross_configure" = 0; then
40261 if test "$ok_wx_version" = 1; then
40262 # detected a usable version
40263 if test "$with_all_libs" = yes; then
40267 if test "$with_wx" = yes; then
40268 { echo "$as_me:$LINENO: WARNING
: Bochs
for wxWidgets cannot be compiled here
, disabling it
" >&5
40269 echo "$as_me: WARNING
: Bochs
for wxWidgets cannot be compiled here
, disabling it
" >&2;}
40275 { echo "$as_me:$LINENO: checking
for default gui on this platform
" >&5
40276 echo $ECHO_N "checking
for default gui on this platform...
$ECHO_C" >&6; }
40277 { echo "$as_me:$LINENO: result
: $DEFAULT_GUI" >&5
40278 echo "${ECHO_T}$DEFAULT_GUI" >&6; }
40282 # the $with_* variable tells the gui library to use, but does NOT necessarily
40283 # indicate the platform. Settings that depend on the platform should be
40287 if test "$with_x11" = yes; then
40288 display_libs="$display_libs X11
"
40289 if test "$no_x" = yes; then
40290 echo ERROR: X windows gui was selected, but X windows libraries were not found.
40293 cat >>confdefs.h <<\_ACEOF
40294 #define BX_WITH_X11 1
40297 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_X11
)"
40298 GUI_CFLAGS="$GUI_CFLAGS \$
(X_CFLAGS
)"
40299 GUI_CXXFLAGS="$GUI_CXXFLAGS \$
(X_CFLAGS
)"
40300 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_X
)"
40302 { echo "$as_me:$LINENO: checking whether user wants XPM support
" >&5
40303 echo $ECHO_N "checking whether user wants XPM support...
$ECHO_C" >&6; }
40304 # Check whether --enable-xpm was given.
40305 if test "${enable_xpm+set}" = set; then
40306 enableval=$enable_xpm; if test "$enableval" = yes; then
40308 { echo "$as_me:$LINENO: result
: yes" >&5
40309 echo "${ECHO_T}yes" >&6; }
40312 { echo "$as_me:$LINENO: result
: no
" >&5
40313 echo "${ECHO_T}no
" >&6; }
40318 { echo "$as_me:$LINENO: result
: yes" >&5
40319 echo "${ECHO_T}yes" >&6; }
40325 if test $check_xpm = 1; then
40326 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
40327 { echo "$as_me:$LINENO: checking
for X11
/xpm.h
" >&5
40328 echo $ECHO_N "checking
for X11
/xpm.h...
$ECHO_C" >&6; }
40329 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
40330 echo $ECHO_N "(cached
) $ECHO_C" >&6
40332 { echo "$as_me:$LINENO: result
: $ac_cv_header_X11_xpm_h" >&5
40333 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6; }
40335 # Is the header compilable?
40336 { echo "$as_me:$LINENO: checking X11
/xpm.h usability
" >&5
40337 echo $ECHO_N "checking X11
/xpm.h usability...
$ECHO_C" >&6; }
40338 cat >conftest.$ac_ext <<_ACEOF
40341 cat confdefs.h >>conftest.$ac_ext
40342 cat >>conftest.$ac_ext <<_ACEOF
40343 /* end confdefs.h. */
40344 $ac_includes_default
40345 #include <X11/xpm.h>
40347 rm -f conftest.$ac_objext
40348 if { (ac_try="$ac_compile"
40349 case "(($ac_try" in
40350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40351 *) ac_try_echo=$ac_try;;
40353 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
40354 (eval "$ac_compile") 2>conftest.er1
40356 grep -v '^ *+' conftest.er1 >conftest.err
40358 cat conftest.err >&5
40359 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
40360 (exit $ac_status); } &&
40361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40362 { (case "(($ac_try" in
40363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40364 *) ac_try_echo=$ac_try;;
40366 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
40367 (eval "$ac_try") 2>&5
40369 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
40370 (exit $ac_status); }; } &&
40371 { ac_try='test -s conftest.$ac_objext'
40372 { (case "(($ac_try" in
40373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40374 *) ac_try_echo=$ac_try;;
40376 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
40377 (eval "$ac_try") 2>&5
40379 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
40380 (exit $ac_status); }; }; then
40381 ac_header_compiler=yes
40383 echo "$as_me: failed program was
:" >&5
40384 sed 's/^/| /' conftest.$ac_ext >&5
40386 ac_header_compiler=no
40389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40390 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
40391 echo "${ECHO_T}$ac_header_compiler" >&6; }
40393 # Is the header present?
40394 { echo "$as_me:$LINENO: checking X11
/xpm.h presence
" >&5
40395 echo $ECHO_N "checking X11
/xpm.h presence...
$ECHO_C" >&6; }
40396 cat >conftest.$ac_ext <<_ACEOF
40399 cat confdefs.h >>conftest.$ac_ext
40400 cat >>conftest.$ac_ext <<_ACEOF
40401 /* end confdefs.h. */
40402 #include <X11/xpm.h>
40404 if { (ac_try="$ac_cpp conftest.
$ac_ext"
40405 case "(($ac_try" in
40406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40407 *) ac_try_echo=$ac_try;;
40409 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
40410 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
40412 grep -v '^ *+' conftest.er1 >conftest.err
40414 cat conftest.err >&5
40415 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
40416 (exit $ac_status); } >/dev/null; then
40417 if test -s conftest.err; then
40418 ac_cpp_err=$ac_c_preproc_warn_flag
40419 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
40426 if test -z "$ac_cpp_err"; then
40427 ac_header_preproc=yes
40429 echo "$as_me: failed program was
:" >&5
40430 sed 's/^/| /' conftest.$ac_ext >&5
40432 ac_header_preproc=no
40435 rm -f conftest.err conftest.$ac_ext
40436 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
40437 echo "${ECHO_T}$ac_header_preproc" >&6; }
40439 # So? What about this header?
40440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40442 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
40443 echo "$as_me: WARNING
: X11
/xpm.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
40444 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: proceeding with the compiler
's result" >&5
40445 echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result
" >&2;}
40446 ac_header_preproc=yes
40449 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: present but cannot be compiled
" >&5
40450 echo "$as_me: WARNING
: X11
/xpm.h
: present but cannot be compiled
" >&2;}
40451 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: check
for missing prerequisite headers?
" >&5
40452 echo "$as_me: WARNING
: X11
/xpm.h
: check
for missing prerequisite headers?
" >&2;}
40453 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: see the Autoconf documentation
" >&5
40454 echo "$as_me: WARNING
: X11
/xpm.h
: see the Autoconf documentation
" >&2;}
40455 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: section
\"Present But Cannot Be Compiled
\"" >&5
40456 echo "$as_me: WARNING
: X11
/xpm.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
40457 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: proceeding with the preprocessor
's result" >&5
40458 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result
" >&2;}
40459 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: in the future
, the compiler will take precedence
" >&5
40460 echo "$as_me: WARNING
: X11
/xpm.h
: in the future
, the compiler will take precedence
" >&2;}
40464 { echo "$as_me:$LINENO: checking
for X11
/xpm.h
" >&5
40465 echo $ECHO_N "checking
for X11
/xpm.h...
$ECHO_C" >&6; }
40466 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
40467 echo $ECHO_N "(cached
) $ECHO_C" >&6
40469 ac_cv_header_X11_xpm_h=$ac_header_preproc
40471 { echo "$as_me:$LINENO: result
: $ac_cv_header_X11_xpm_h" >&5
40472 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6; }
40475 if test $ac_cv_header_X11_xpm_h = yes; then
40477 cat >>confdefs.h <<\_ACEOF
40478 #define BX_HAVE_XPM_H 1
40490 if test "$with_beos" = yes; then
40491 display_libs="$display_libs beos
"
40492 cat >>confdefs.h <<\_ACEOF
40493 #define BX_WITH_BEOS 1
40496 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_BEOS
)"
40497 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_BEOS
)"
40500 if test "$with_sdl" = yes; then
40501 display_libs="$display_libs sdl
"
40502 cat >>confdefs.h <<\_ACEOF
40503 #define BX_WITH_SDL 1
40506 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_SDL
)"
40507 # GUI_*FLAGS are added to the compilation of every bochs file, not just
40508 # the files in gui/*.cc.
40509 SDL_CFLAGS=`sdl-config --cflags`
40510 GUI_CFLAGS="$GUI_CFLAGS $SDL_CFLAGS"
40511 GUI_CXXFLAGS="$GUI_CXXFLAGS $SDL_CFLAGS"
40512 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_SDL
)"
40513 if test "$with_win32" != yes -a "$with_wx" != yes; then
40517 EXTRA_BX_OBJS="$EXTRA_BX_OBJS win32res.o
"
40519 *-cygwin* | *-mingw32*)
40520 RC_CMD="windres
-o "
40521 EXTRA_BX_OBJS="$EXTRA_BX_OBJS win32res.o
"
40527 if test "$with_svga" = yes; then
40528 display_libs="$display_libs svga
"
40529 cat >>confdefs.h <<\_ACEOF
40530 #define BX_WITH_SVGA 1
40533 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_SVGA
)"
40534 # GUI_*FLAGS are added to the compilation of every bochs file, not just
40535 # the files in gui/*.cc.
40536 GUI_CFLAGS="$GUI_CFLAGS"
40537 GUI_CXXFLAGS="$GUI_CXXFLAGS"
40538 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_SVGA
)"
40541 if test "$with_rfb" = yes; then
40542 display_libs="$display_libs rfb
"
40543 cat >>confdefs.h <<\_ACEOF
40544 #define BX_WITH_RFB 1
40547 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_RFB
)"
40548 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_RFB
)"
40551 if test "$with_amigaos" = yes; then
40552 display_libs="$display_libs amigaos
"
40553 cat >>confdefs.h <<\_ACEOF
40554 #define BX_WITH_AMIGAOS 1
40557 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_AMIGAOS
)"
40558 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_AMIGAOS
)"
40561 if test "$with_win32" = yes; then
40562 display_libs="$display_libs win32
"
40563 cat >>confdefs.h <<\_ACEOF
40564 #define BX_WITH_WIN32 1
40567 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_WIN32
)"
40570 if test "$with_wx" != yes; then
40572 EXTRA_BX_OBJS="$EXTRA_BX_OBJS win32res.o
"
40574 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_WIN32_VCPP
)"
40576 *-cygwin* | *-mingw32*)
40577 if test "$with_wx" != yes; then
40578 RC_CMD="windres
-o "
40579 EXTRA_BX_OBJS="$EXTRA_BX_OBJS win32res.o
"
40581 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_WIN32
)"
40583 *) echo Unsupported compile setup: GUI library is win32, but target is neither windows nor cygwin.
40588 if test "$with_macos" = yes; then
40589 display_libs="$display_libs macos
"
40590 cat >>confdefs.h <<\_ACEOF
40591 #define BX_WITH_MACOS 1
40594 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_MACOS
)"
40595 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_MACOS
)"
40598 if test "$with_carbon" = yes; then
40599 display_libs="$display_libs carbon
"
40600 cat >>confdefs.h <<\_ACEOF
40601 #define BX_WITH_CARBON 1
40604 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_CARBON
)"
40605 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_CARBON
)"
40606 if test "$bx_plugins" = 1; then
40607 PRIMARY_TARGET=bochs.app/.build_plugins # only for carbon application
40609 PRIMARY_TARGET=bochs.app/.build # only for carbon application
40611 INSTALL_TARGET='install_macosx'
40614 if test "$with_term" = yes; then
40615 display_libs="$display_libs term
"
40616 cat >>confdefs.h <<\_ACEOF
40617 #define BX_WITH_TERM 1
40620 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_TERM
)"
40621 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_TERM
)"
40625 if test "$with_wx" = yes; then
40626 display_libs="$display_libs wxWidgets
"
40627 if test "$cross_configure" = 1; then
40628 true # do not insist, if configuring for another machine
40630 if test x$ok_wx_version != x1; then
40631 echo ERROR: A usable version of wxWidgets was not found.
40632 echo Upgrade the library or choose another gui.
40636 cat >>confdefs.h <<\_ACEOF
40637 #define BX_WITH_WX 1
40640 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_WX
)"
40641 SPECIFIC_GUI_SUPPORT_OBJS="$SPECIFIC_GUI_SUPPORT_OBJS \$
(GUI_OBJS_WX_SUPPORT
)"
40642 WX_CFLAGS="`$WX_CONFIG --cflags`"
40643 WX_CXXFLAGS="`$WX_CONFIG --cxxflags`"
40644 if test "$wx_multi_lib" = 1; then
40645 GUI_LINK_OPTS_WX="`$WX_CONFIG --libs core,base`"
40647 GUI_LINK_OPTS_WX="`$WX_CONFIG --libs`"
40649 if test "$wx_needs_gtk2" = 1; then
40652 if test "x
$ac_cv_env_PKG_CONFIG_set" != "xset
"; then
40653 if test -n "$ac_tool_prefix"; then
40654 # Extract the first word of "${ac_tool_prefix}pkg-config
", so it can be a program name with args.
40655 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
40656 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
40657 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
40658 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40659 echo $ECHO_N "(cached
) $ECHO_C" >&6
40661 case $PKG_CONFIG in
40663 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
40666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40667 for as_dir in $PATH
40670 test -z "$as_dir" && as_dir=.
40671 for ac_exec_ext in '' $ac_executable_extensions; do
40672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
40673 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40674 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
40684 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
40685 if test -n "$PKG_CONFIG"; then
40686 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
40687 echo "${ECHO_T}$PKG_CONFIG" >&6; }
40689 { echo "$as_me:$LINENO: result
: no
" >&5
40690 echo "${ECHO_T}no
" >&6; }
40695 if test -z "$ac_cv_path_PKG_CONFIG"; then
40696 ac_pt_PKG_CONFIG=$PKG_CONFIG
40697 # Extract the first word of "pkg-config
", so it can be a program name with args.
40698 set dummy pkg-config; ac_word=$2
40699 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
40700 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
40701 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
40702 echo $ECHO_N "(cached
) $ECHO_C" >&6
40704 case $ac_pt_PKG_CONFIG in
40706 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
40709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40710 for as_dir in $PATH
40713 test -z "$as_dir" && as_dir=.
40714 for ac_exec_ext in '' $ac_executable_extensions; do
40715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
40716 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40717 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
40727 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
40728 if test -n "$ac_pt_PKG_CONFIG"; then
40729 { echo "$as_me:$LINENO: result
: $ac_pt_PKG_CONFIG" >&5
40730 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
40732 { echo "$as_me:$LINENO: result
: no
" >&5
40733 echo "${ECHO_T}no
" >&6; }
40736 if test "x
$ac_pt_PKG_CONFIG" = x; then
40739 case $cross_compiling:$ac_tool_warned in
40741 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
40742 whose name does not start with the
host triplet. If you think this
40743 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
40744 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
40745 whose name does not start with the
host triplet. If you think this
40746 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
40747 ac_tool_warned=yes ;;
40749 PKG_CONFIG=$ac_pt_PKG_CONFIG
40752 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
40756 if test -n "$PKG_CONFIG"; then
40757 _pkg_min_version=0.9.0
40758 { echo "$as_me:$LINENO: checking pkg-config is
at least version
$_pkg_min_version" >&5
40759 echo $ECHO_N "checking pkg-config is
at least version
$_pkg_min_version...
$ECHO_C" >&6; }
40760 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
40761 { echo "$as_me:$LINENO: result
: yes" >&5
40762 echo "${ECHO_T}yes" >&6; }
40764 { echo "$as_me:$LINENO: result
: no
" >&5
40765 echo "${ECHO_T}no
" >&6; }
40772 { echo "$as_me:$LINENO: checking
for GTK
" >&5
40773 echo $ECHO_N "checking
for GTK...
$ECHO_C" >&6; }
40775 if test -n "$PKG_CONFIG"; then
40776 if test -n "$GTK_CFLAGS"; then
40777 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
40779 if test -n "$PKG_CONFIG" && \
40780 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"gtk
+-2.0
\"") >&5
40781 ($PKG_CONFIG --exists --print-errors "gtk
+-2.0
") 2>&5
40783 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
40784 (exit $ac_status); }; then
40785 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk
+-2.0
" 2>/dev/null`
40793 if test -n "$PKG_CONFIG"; then
40794 if test -n "$GTK_LIBS"; then
40795 pkg_cv_GTK_LIBS="$GTK_LIBS"
40797 if test -n "$PKG_CONFIG" && \
40798 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"gtk
+-2.0
\"") >&5
40799 ($PKG_CONFIG --exists --print-errors "gtk
+-2.0
") 2>&5
40801 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
40802 (exit $ac_status); }; then
40803 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk
+-2.0
" 2>/dev/null`
40814 if test $pkg_failed = yes; then
40816 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
40817 _pkg_short_errors_supported=yes
40819 _pkg_short_errors_supported=no
40821 if test $_pkg_short_errors_supported = yes; then
40822 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk
+-2.0
"`
40824 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk
+-2.0
"`
40826 # Put the nasty error message in config.log where it belongs
40827 echo "$GTK_PKG_ERRORS" >&5
40829 { { echo "$as_me:$LINENO: error
: Package requirements
(gtk
+-2.0
) were not met
:
40833 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
40834 installed software
in a non-standard prefix.
40836 Alternatively
, you may
set the environment variables GTK_CFLAGS
40837 and GTK_LIBS to avoid the need to call pkg-config.
40838 See the pkg-config man page
for more details.
40840 echo "$as_me: error
: Package requirements
(gtk
+-2.0
) were not met
:
40844 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
40845 installed software
in a non-standard prefix.
40847 Alternatively
, you may
set the environment variables GTK_CFLAGS
40848 and GTK_LIBS to avoid the need to call pkg-config.
40849 See the pkg-config man page
for more details.
40851 { (exit 1); exit 1; }; }
40852 elif test $pkg_failed = untried; then
40853 { { echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
40854 is
in your PATH or
set the PKG_CONFIG environment variable to the full
40855 path to pkg-config.
40857 Alternatively
, you may
set the environment variables GTK_CFLAGS
40858 and GTK_LIBS to avoid the need to call pkg-config.
40859 See the pkg-config man page
for more details.
40861 To get pkg-config
, see
<http
://www.freedesktop.org
/software
/pkgconfig
>.
40862 See \
`config.log' for more details." >&5
40863 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
40864 is in your PATH or set the PKG_CONFIG environment variable to the full
40865 path to pkg-config.
40867 Alternatively, you may set the environment variables GTK_CFLAGS
40868 and GTK_LIBS to avoid the need to call pkg-config.
40869 See the pkg-config man page for more details.
40871 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
40872 See \`config.log
' for more details." >&2;}
40873 { (exit 1); exit 1; }; }
40875 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
40876 GTK_LIBS=$pkg_cv_GTK_LIBS
40877 { echo "$as_me:$LINENO: result: yes" >&5
40878 echo "${ECHO_T}yes" >&6; }
40880 WX_CFLAGS="$WX_CFLAGS $GTK_CFLAGS"
40881 WX_CXXFLAGS="$WX_CXXFLAGS $GTK_CFLAGS"
40885 # if gtk-config exists, then add it to the cflags.
40886 gtkconf=`gtk-config --cflags`
40887 if test $? = 0; then
40888 # gtk-config was found and returned 0, so it must return valid output
40889 WX_CFLAGS="$WX_CFLAGS $gtkconf"
40890 WX_CXXFLAGS="$WX_CXXFLAGS $gtkconf"
40893 # GUI_C*FLAGS are added to the compilation of every bochs file, not just
40894 # the files in gui/*.cc. They are not used when building other things
40896 GUI_CFLAGS="$GUI_CFLAGS $WX_CFLAGS"
40897 GUI_CXXFLAGS="$GUI_CXXFLAGS $WX_CXXFLAGS"
40898 GUI_LINK_OPTS="$GUI_LINK_OPTS \$(GUI_LINK_OPTS_WX)"
40899 # using debugger with readline is failing due to thread/signal handler
40902 *-pc-windows* | *-cygwin* | *-mingw32*)
40903 EXTRA_BX_OBJS="$EXTRA_BX_OBJS wxbochs_resources.o"
40904 GUI_LINK_OPTS_WX="$GUI_LINK_OPTS_WX --subsystem,windows -mwindows"
40909 if test "$with_nogui" = yes; then
40910 display_libs="$display_libs nogui"
40911 cat >>confdefs.h <<\_ACEOF
40912 #define BX_WITH_NOGUI 1
40915 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$(GUI_OBJS_NOGUI)"
40918 { echo "$as_me:$LINENO: checking for display libraries" >&5
40919 echo $ECHO_N "checking for display libraries... $ECHO_C" >&6; }
40920 { echo "$as_me:$LINENO: result: $display_libs" >&5
40921 echo "${ECHO_T}$display_libs" >&6; }
40923 if test "$display_libs" = ""; then
40924 echo "No display libraries were selected. Use --with-* options to enable"
40925 echo "individual display libraries, or --with-all-libs to detect the ones"
40926 echo "that Bochs supports."
40930 if test "$display_libs" = " wxWidgets"; then
40931 { echo "$as_me:$LINENO: checking for default configuration interface" >&5
40932 echo $ECHO_N "checking for default configuration interface... $ECHO_C" >&6; }
40933 { echo "$as_me:$LINENO: result: wxWidgets" >&5
40934 echo "${ECHO_T}wxWidgets" >&6; }
40935 { echo "$as_me:$LINENO: checking for default display library" >&5
40936 echo $ECHO_N "checking for default display library... $ECHO_C" >&6; }
40937 { echo "$as_me:$LINENO: result: wxWidgets" >&5
40938 echo "${ECHO_T}wxWidgets" >&6; }
40939 cat >>confdefs.h <<\_ACEOF
40940 #define BX_DEFAULT_CONFIG_INTERFACE "wx"
40943 cat >>confdefs.h <<\_ACEOF
40944 #define BX_DEFAULT_DISPLAY_LIBRARY "wx"
40947 cat >>confdefs.h <<\_ACEOF
40948 #define BX_USE_TEXTCONFIG 0
40952 cat >>confdefs.h <<\_ACEOF
40953 #define BX_USE_TEXTCONFIG 1
40958 if test "$bx_plugins" = 1; then
40959 # every item in this list will be compiled as a plugin. Do not include
40960 # support objs; they will be mentioned in plugin-specific makefile rules.
40961 GUI_PLUGIN_OBJS="$GUI_PLUGIN_OBJS $SPECIFIC_GUI_OBJS"
40963 # include support objs
40964 GUI_NON_PLUGIN_OBJS="$GUI_NON_PLUGIN_OBJS $SPECIFIC_GUI_OBJS $SPECIFIC_GUI_SUPPORT_OBJS"
40973 for ac_prog in wget curl fetch
40975 # Extract the first word of "$ac_prog", so it can be a program name with args.
40976 set dummy $ac_prog; ac_word=$2
40977 { echo "$as_me:$LINENO: checking for $ac_word" >&5
40978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
40979 if test "${ac_cv_prog_WGET+set}" = set; then
40980 echo $ECHO_N "(cached) $ECHO_C" >&6
40982 if test -n "$WGET"; then
40983 ac_cv_prog_WGET="$WGET" # Let the user override the test.
40985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40986 for as_dir in $PATH
40989 test -z "$as_dir" && as_dir=.
40990 for ac_exec_ext in '' $ac_executable_extensions; do
40991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
40992 ac_cv_prog_WGET="$ac_prog"
40993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41002 WGET=$ac_cv_prog_WGET
41003 if test -n "$WGET"; then
41004 { echo "$as_me:$LINENO: result: $WGET" >&5
41005 echo "${ECHO_T}$WGET" >&6; }
41007 { echo "$as_me:$LINENO: result: no" >&5
41008 echo "${ECHO_T}no" >&6; }
41012 test -n "$WGET" && break
41014 test -n "$WGET" || WGET="not_found"
41016 if test "$WGET" = not_found; then
41017 { echo "$as_me:$LINENO: WARNING: cannot find wget (or equivalent) command" >&5
41018 echo "$as_me: WARNING: cannot find wget (or equivalent) command" >&2;}
41020 # everybody has to re-invent the wheel. differently.
41021 test "${WGET}" = "curl" && WGET="curl -O"
41023 # modify settings based on target platform
41026 cat >>confdefs.h <<\_ACEOF
41027 #define BX_HAVE_STRDUP 0
41032 cat >>confdefs.h <<\_ACEOF
41033 #define BX_HAVE_STRDUP 0
41036 cat >>confdefs.h <<\_ACEOF
41037 #define BX_PLUGINS 0
41040 cat >>confdefs.h <<\_ACEOF
41041 #define BX_HAVE_DLFCN_H 0
41044 cat >>confdefs.h <<\_ACEOF
41045 #define BX_HAVE_SOCKLEN_T 0
41048 cat >>confdefs.h <<\_ACEOF
41049 #define BX_HAVE_SELECT 0
41052 cat >>confdefs.h <<\_ACEOF
41053 #define BX_HAVE_GETTIMEOFDAY 0
41056 cat >>confdefs.h <<\_ACEOF
41057 #define BX_NO_ATTRIBUTES 1
41060 cat >>confdefs.h <<\_ACEOF
41061 #define HAVE_TUNTAP 0
41064 cat >>confdefs.h <<\_ACEOF
41065 #define HAVE_ETHERTAP 0
41068 cat >>confdefs.h <<\_ACEOF
41069 #define BX_HAVE_HASH_MAP 0
41074 INSTALL_TARGET='install_win32
'
41077 #C_OPT="/Zi" # for debugging
41078 C_OPT="/Ox" # optimize for speed
41079 CFLAGS="/nologo /G6 /MT /W3 /GX- /DNDEBUG /DWIN32 /D_WINDOWS $C_OPT"
41087 MAKELIB="lib /nologo /subsystem:console /machine:I386 /verbose /out:\$@"
41090 #L_OPT="/debug" # for debugging
41091 L_OPT="" # no debug info
41092 LINK="link $L_OPT /nologo /subsystem:console /incremental:no /machine:I386 /out:\$@ "
41095 PRIMARY_TARGET="bochs.exe"
41096 BXIMAGE_LINK_OPTS="user32.lib"
41097 # also compile niclist if networking is on
41098 if test "$networking" = yes; then
41099 PRIMARY_TARGET="$PRIMARY_TARGET niclist.exe"
41101 COMMAND_SEPARATOR=""
41103 CD_UP_TWO="cd ..\.."
41104 CD_UP_THREE="cd ..\..\.."
41105 have_gettimeofday=0 # even though it may exist in build environment
41106 cat >>confdefs.h <<\_ACEOF
41107 #define BX_64BIT_CONSTANTS_USE_LL 0
41110 cat >>confdefs.h <<\_ACEOF
41111 #define inline __inline
41114 cat >>confdefs.h <<\_ACEOF
41115 #define BX_NO_EMPTY_STRUCTS 1
41118 cat >>confdefs.h <<\_ACEOF
41119 #define BX_NO_ATTRIBUTES 1
41122 cat >>confdefs.h <<\_ACEOF
41123 #define BX_HAVE_HASH_MAP 0
41126 cat >>confdefs.h <<\_ACEOF
41127 #define BX_HAVE_HASH_MAP_H 0
41130 cat >>confdefs.h <<\_ACEOF
41131 #define BX_HAVE_STRTOULL 0
41134 cat >>confdefs.h <<\_ACEOF
41135 #define BX_HAVE_STRTOUQ 0
41138 cat >>confdefs.h <<\_ACEOF
41139 #define HAVE_LIBREADLINE 0
41142 cat >>confdefs.h <<\_ACEOF
41143 #define BX_HAVE_GETTIMEOFDAY 0
41146 cat >>confdefs.h <<\_ACEOF
41147 #define BX_HAVE_DLFCN_H 0
41150 cat >>confdefs.h <<\_ACEOF
41151 #define BX_HAVE_MKSTEMP 0
41154 cat >>confdefs.h <<\_ACEOF
41155 #define BX_HAVE_SYS_MMAN_H 0
41158 cat >>confdefs.h <<\_ACEOF
41159 #define BX_HAVE_USLEEP 0
41162 cat >>confdefs.h <<\_ACEOF
41163 #define HAVE_ETHERTAP 0
41166 cat >>confdefs.h <<\_ACEOF
41167 #define BX_HAVE_SELECT 1
41170 cat >>confdefs.h <<\_ACEOF
41171 #define BX_HAVE_SOCKLEN_T 0
41177 PRIMARY_TARGET="bochs.exe"
41178 BXIMAGE_LINK_OPTS="-luser32"
41179 if test "$networking" = yes; then
41180 PRIMARY_TARGET="$PRIMARY_TARGET niclist.exe"
41182 cat >>confdefs.h <<\_ACEOF
41183 #define BX_HAVE_SELECT 1
41188 BXIMAGE_LINK_OPTS="-luser32"
41189 if test "$networking" = yes; then
41190 PRIMARY_TARGET="$PRIMARY_TARGET niclist"
41192 cat >>confdefs.h <<\_ACEOF
41193 #define BX_HAVE_SELECT 1
41198 PRIMARY_TARGET=.bochs_beos_target
41203 EXPORT_DYNAMIC="-export-dynamic"
41205 *-pc-windows* | *-pc-winnt* | *-cygwin* | *-mingw*)
41206 if test "$bx_plugins" = 1; then
41207 { echo "$as_me:$LINENO: checking for opendir in -lmingwex" >&5
41208 echo $ECHO_N "checking for opendir in -lmingwex... $ECHO_C" >&6; }
41209 if test "${ac_cv_lib_mingwex_opendir+set}" = set; then
41210 echo $ECHO_N "(cached) $ECHO_C" >&6
41212 ac_check_lib_save_LIBS=$LIBS
41213 LIBS="-lmingwex $LIBS"
41214 cat >conftest.$ac_ext <<_ACEOF
41217 cat confdefs.h >>conftest.$ac_ext
41218 cat >>conftest.$ac_ext <<_ACEOF
41219 /* end confdefs.h. */
41221 /* Override any GCC internal prototype to avoid an error.
41222 Use char because int might match the return type of a GCC
41223 builtin and then its argument prototype would still apply. */
41236 rm -f conftest.$ac_objext conftest$ac_exeext
41237 if { (ac_try="$ac_link"
41238 case "(($ac_try" in
41239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41240 *) ac_try_echo=$ac_try;;
41242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41243 (eval "$ac_link") 2>conftest.er1
41245 grep -v '^
*+' conftest.er1 >conftest.err
41247 cat conftest.err >&5
41248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41249 (exit $ac_status); } &&
41250 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
41251 { (case "(($ac_try" in
41252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41253 *) ac_try_echo=$ac_try;;
41255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41256 (eval "$ac_try") 2>&5
41258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41259 (exit $ac_status); }; } &&
41260 { ac_try='test -s conftest
$ac_exeext'
41261 { (case "(($ac_try" in
41262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41263 *) ac_try_echo=$ac_try;;
41265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41266 (eval "$ac_try") 2>&5
41268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41269 (exit $ac_status); }; }; then
41270 ac_cv_lib_mingwex_opendir=yes
41272 echo "$as_me: failed program was:" >&5
41273 sed 's
/^
/|
/' conftest.$ac_ext >&5
41275 ac_cv_lib_mingwex_opendir=no
41278 rm -f core conftest.err conftest.$ac_objext \
41279 conftest$ac_exeext conftest.$ac_ext
41280 LIBS=$ac_check_lib_save_LIBS
41282 { echo "$as_me:$LINENO: result: $ac_cv_lib_mingwex_opendir" >&5
41283 echo "${ECHO_T}$ac_cv_lib_mingwex_opendir" >&6; }
41284 if test $ac_cv_lib_mingwex_opendir = yes; then
41285 LIBS="$LIBS -lmingwex"
41288 # set variables for building DLL plugins
41289 PRIMARY_TARGET=".win32_dll_plugin_target"
41290 PLUGIN_LIBNAME_TRANSFORMATION='%.o
=bx_
%.dll
'
41291 INSTALL_PLUGINS_VAR=install_dll_plugins
41293 if test "$with_win32" != yes; then
41294 LIBS="$LIBS -lcomctl32"
41297 DIALOG_OBJS="win32dialog.o"
41304 if test "$use_curses" = yes -a "$cross_configure" = 0; then
41305 { echo "$as_me:$LINENO: checking for mvaddch in -lcurses" >&5
41306 echo $ECHO_N "checking for mvaddch in -lcurses... $ECHO_C" >&6; }
41307 if test "${ac_cv_lib_curses_mvaddch+set}" = set; then
41308 echo $ECHO_N "(cached) $ECHO_C" >&6
41310 ac_check_lib_save_LIBS=$LIBS
41311 LIBS="-lcurses $LIBS"
41312 cat >conftest.$ac_ext <<_ACEOF
41315 cat confdefs.h >>conftest.$ac_ext
41316 cat >>conftest.$ac_ext <<_ACEOF
41317 /* end confdefs.h. */
41319 /* Override any GCC internal prototype to avoid an error.
41320 Use char because int might match the return type of a GCC
41321 builtin and then its argument prototype would still apply. */
41334 rm -f conftest.$ac_objext conftest$ac_exeext
41335 if { (ac_try="$ac_link"
41336 case "(($ac_try" in
41337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41338 *) ac_try_echo=$ac_try;;
41340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41341 (eval "$ac_link") 2>conftest.er1
41343 grep -v '^
*+' conftest.er1 >conftest.err
41345 cat conftest.err >&5
41346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41347 (exit $ac_status); } &&
41348 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
41349 { (case "(($ac_try" in
41350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41351 *) ac_try_echo=$ac_try;;
41353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41354 (eval "$ac_try") 2>&5
41356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41357 (exit $ac_status); }; } &&
41358 { ac_try='test -s conftest
$ac_exeext'
41359 { (case "(($ac_try" in
41360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41361 *) ac_try_echo=$ac_try;;
41363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41364 (eval "$ac_try") 2>&5
41366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41367 (exit $ac_status); }; }; then
41368 ac_cv_lib_curses_mvaddch=yes
41370 echo "$as_me: failed program was:" >&5
41371 sed 's
/^
/|
/' conftest.$ac_ext >&5
41373 ac_cv_lib_curses_mvaddch=no
41376 rm -f core conftest.err conftest.$ac_objext \
41377 conftest$ac_exeext conftest.$ac_ext
41378 LIBS=$ac_check_lib_save_LIBS
41380 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_mvaddch" >&5
41381 echo "${ECHO_T}$ac_cv_lib_curses_mvaddch" >&6; }
41382 if test $ac_cv_lib_curses_mvaddch = yes; then
41383 GUI_LINK_OPTS_TERM='-lcurses'
41386 { echo "$as_me:$LINENO: checking for mvaddch in -lncurses" >&5
41387 echo $ECHO_N "checking for mvaddch in -lncurses... $ECHO_C" >&6; }
41388 if test "${ac_cv_lib_ncurses_mvaddch+set}" = set; then
41389 echo $ECHO_N "(cached) $ECHO_C" >&6
41391 ac_check_lib_save_LIBS=$LIBS
41392 LIBS="-lncurses $LIBS"
41393 cat >conftest.$ac_ext <<_ACEOF
41396 cat confdefs.h >>conftest.$ac_ext
41397 cat >>conftest.$ac_ext <<_ACEOF
41398 /* end confdefs.h. */
41400 /* Override any GCC internal prototype to avoid an error.
41401 Use char because int might match the return type of a GCC
41402 builtin and then its argument prototype would still apply. */
41415 rm -f conftest.$ac_objext conftest$ac_exeext
41416 if { (ac_try="$ac_link"
41417 case "(($ac_try" in
41418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41419 *) ac_try_echo=$ac_try;;
41421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41422 (eval "$ac_link") 2>conftest.er1
41424 grep -v '^
*+' conftest.er1 >conftest.err
41426 cat conftest.err >&5
41427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41428 (exit $ac_status); } &&
41429 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
41430 { (case "(($ac_try" in
41431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41432 *) ac_try_echo=$ac_try;;
41434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41435 (eval "$ac_try") 2>&5
41437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41438 (exit $ac_status); }; } &&
41439 { ac_try='test -s conftest
$ac_exeext'
41440 { (case "(($ac_try" in
41441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41442 *) ac_try_echo=$ac_try;;
41444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41445 (eval "$ac_try") 2>&5
41447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41448 (exit $ac_status); }; }; then
41449 ac_cv_lib_ncurses_mvaddch=yes
41451 echo "$as_me: failed program was:" >&5
41452 sed 's
/^
/|
/' conftest.$ac_ext >&5
41454 ac_cv_lib_ncurses_mvaddch=no
41457 rm -f core conftest.err conftest.$ac_objext \
41458 conftest$ac_exeext conftest.$ac_ext
41459 LIBS=$ac_check_lib_save_LIBS
41461 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_mvaddch" >&5
41462 echo "${ECHO_T}$ac_cv_lib_ncurses_mvaddch" >&6; }
41463 if test $ac_cv_lib_ncurses_mvaddch = yes; then
41464 GUI_LINK_OPTS_TERM='-lncurses'
41467 { echo "$as_me:$LINENO: checking for mvaddch in -ltermlib" >&5
41468 echo $ECHO_N "checking for mvaddch in -ltermlib... $ECHO_C" >&6; }
41469 if test "${ac_cv_lib_termlib_mvaddch+set}" = set; then
41470 echo $ECHO_N "(cached) $ECHO_C" >&6
41472 ac_check_lib_save_LIBS=$LIBS
41473 LIBS="-ltermlib $LIBS"
41474 cat >conftest.$ac_ext <<_ACEOF
41477 cat confdefs.h >>conftest.$ac_ext
41478 cat >>conftest.$ac_ext <<_ACEOF
41479 /* end confdefs.h. */
41481 /* Override any GCC internal prototype to avoid an error.
41482 Use char because int might match the return type of a GCC
41483 builtin and then its argument prototype would still apply. */
41496 rm -f conftest.$ac_objext conftest$ac_exeext
41497 if { (ac_try="$ac_link"
41498 case "(($ac_try" in
41499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41500 *) ac_try_echo=$ac_try;;
41502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41503 (eval "$ac_link") 2>conftest.er1
41505 grep -v '^
*+' conftest.er1 >conftest.err
41507 cat conftest.err >&5
41508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41509 (exit $ac_status); } &&
41510 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
41511 { (case "(($ac_try" in
41512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41513 *) ac_try_echo=$ac_try;;
41515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41516 (eval "$ac_try") 2>&5
41518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41519 (exit $ac_status); }; } &&
41520 { ac_try='test -s conftest
$ac_exeext'
41521 { (case "(($ac_try" in
41522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41523 *) ac_try_echo=$ac_try;;
41525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41526 (eval "$ac_try") 2>&5
41528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41529 (exit $ac_status); }; }; then
41530 ac_cv_lib_termlib_mvaddch=yes
41532 echo "$as_me: failed program was:" >&5
41533 sed 's
/^
/|
/' conftest.$ac_ext >&5
41535 ac_cv_lib_termlib_mvaddch=no
41538 rm -f core conftest.err conftest.$ac_objext \
41539 conftest$ac_exeext conftest.$ac_ext
41540 LIBS=$ac_check_lib_save_LIBS
41542 { echo "$as_me:$LINENO: result: $ac_cv_lib_termlib_mvaddch" >&5
41543 echo "${ECHO_T}$ac_cv_lib_termlib_mvaddch" >&6; }
41544 if test $ac_cv_lib_termlib_mvaddch = yes; then
41545 GUI_LINK_OPTS_TERM='-ltermlib'
41548 { echo "$as_me:$LINENO: checking for mvaddch in -lpdcurses" >&5
41549 echo $ECHO_N "checking for mvaddch in -lpdcurses... $ECHO_C" >&6; }
41550 if test "${ac_cv_lib_pdcurses_mvaddch+set}" = set; then
41551 echo $ECHO_N "(cached) $ECHO_C" >&6
41553 ac_check_lib_save_LIBS=$LIBS
41554 LIBS="-lpdcurses $LIBS"
41555 cat >conftest.$ac_ext <<_ACEOF
41558 cat confdefs.h >>conftest.$ac_ext
41559 cat >>conftest.$ac_ext <<_ACEOF
41560 /* end confdefs.h. */
41562 /* Override any GCC internal prototype to avoid an error.
41563 Use char because int might match the return type of a GCC
41564 builtin and then its argument prototype would still apply. */
41577 rm -f conftest.$ac_objext conftest$ac_exeext
41578 if { (ac_try="$ac_link"
41579 case "(($ac_try" in
41580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41581 *) ac_try_echo=$ac_try;;
41583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41584 (eval "$ac_link") 2>conftest.er1
41586 grep -v '^
*+' conftest.er1 >conftest.err
41588 cat conftest.err >&5
41589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41590 (exit $ac_status); } &&
41591 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
41592 { (case "(($ac_try" in
41593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41594 *) ac_try_echo=$ac_try;;
41596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41597 (eval "$ac_try") 2>&5
41599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41600 (exit $ac_status); }; } &&
41601 { ac_try='test -s conftest
$ac_exeext'
41602 { (case "(($ac_try" in
41603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41604 *) ac_try_echo=$ac_try;;
41606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41607 (eval "$ac_try") 2>&5
41609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41610 (exit $ac_status); }; }; then
41611 ac_cv_lib_pdcurses_mvaddch=yes
41613 echo "$as_me: failed program was:" >&5
41614 sed 's
/^
/|
/' conftest.$ac_ext >&5
41616 ac_cv_lib_pdcurses_mvaddch=no
41619 rm -f core conftest.err conftest.$ac_objext \
41620 conftest$ac_exeext conftest.$ac_ext
41621 LIBS=$ac_check_lib_save_LIBS
41623 { echo "$as_me:$LINENO: result: $ac_cv_lib_pdcurses_mvaddch" >&5
41624 echo "${ECHO_T}$ac_cv_lib_pdcurses_mvaddch" >&6; }
41625 if test $ac_cv_lib_pdcurses_mvaddch = yes; then
41626 GUI_LINK_OPTS_TERM='-lpdcurses'
41629 if test "$GUI_LINK_OPTS_TERM" = ""; then
41630 echo Curses library not found: tried curses, ncurses, termlib and pdcurses.
41635 if test "$with_term" = yes; then
41637 LIBS="$LIBS $GUI_LINK_OPTS_TERM"
41639 for ac_func in color_set
41641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41642 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41644 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41645 echo $ECHO_N "(cached) $ECHO_C" >&6
41647 cat >conftest.$ac_ext <<_ACEOF
41650 cat confdefs.h >>conftest.$ac_ext
41651 cat >>conftest.$ac_ext <<_ACEOF
41652 /* end confdefs.h. */
41653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41655 #define $ac_func innocuous_$ac_func
41657 /* System header to define __stub macros and hopefully few prototypes,
41658 which can conflict with char $ac_func (); below.
41659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41660 <limits.h> exists even on freestanding compilers. */
41663 # include <limits.h>
41665 # include <assert.h>
41670 /* Override any GCC internal prototype to avoid an error.
41671 Use char because int might match the return type of a GCC
41672 builtin and then its argument prototype would still apply. */
41677 /* The GNU C library defines this for functions which it implements
41678 to always fail with ENOSYS. Some functions are actually named
41679 something starting with __ and the normal name is an alias. */
41680 #if defined __stub_$ac_func || defined __stub___$ac_func
41687 return $ac_func ();
41692 rm -f conftest.$ac_objext conftest$ac_exeext
41693 if { (ac_try="$ac_link"
41694 case "(($ac_try" in
41695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41696 *) ac_try_echo=$ac_try;;
41698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41699 (eval "$ac_link") 2>conftest.er1
41701 grep -v '^
*+' conftest.er1 >conftest.err
41703 cat conftest.err >&5
41704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41705 (exit $ac_status); } &&
41706 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
41707 { (case "(($ac_try" in
41708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41709 *) ac_try_echo=$ac_try;;
41711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41712 (eval "$ac_try") 2>&5
41714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41715 (exit $ac_status); }; } &&
41716 { ac_try='test -s conftest
$ac_exeext'
41717 { (case "(($ac_try" in
41718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41719 *) ac_try_echo=$ac_try;;
41721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41722 (eval "$ac_try") 2>&5
41724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41725 (exit $ac_status); }; }; then
41726 eval "$as_ac_var=yes"
41728 echo "$as_me: failed program was:" >&5
41729 sed 's
/^
/|
/' conftest.$ac_ext >&5
41731 eval "$as_ac_var=no"
41734 rm -f core conftest.err conftest.$ac_objext \
41735 conftest$ac_exeext conftest.$ac_ext
41737 ac_res=`eval echo '${'$as_ac_var'}'`
41738 { echo "$as_me:$LINENO: result: $ac_res" >&5
41739 echo "${ECHO_T}$ac_res" >&6; }
41740 if test `eval echo '${'$as_ac_var'}'` = yes; then
41741 cat >>confdefs.h <<_ACEOF
41742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41744 cat >>confdefs.h <<\_ACEOF
41745 #define BX_HAVE_COLOR_SET 1
41752 for ac_func in mvhline
41754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41755 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41757 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41758 echo $ECHO_N "(cached) $ECHO_C" >&6
41760 cat >conftest.$ac_ext <<_ACEOF
41763 cat confdefs.h >>conftest.$ac_ext
41764 cat >>conftest.$ac_ext <<_ACEOF
41765 /* end confdefs.h. */
41766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41768 #define $ac_func innocuous_$ac_func
41770 /* System header to define __stub macros and hopefully few prototypes,
41771 which can conflict with char $ac_func (); below.
41772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41773 <limits.h> exists even on freestanding compilers. */
41776 # include <limits.h>
41778 # include <assert.h>
41783 /* Override any GCC internal prototype to avoid an error.
41784 Use char because int might match the return type of a GCC
41785 builtin and then its argument prototype would still apply. */
41790 /* The GNU C library defines this for functions which it implements
41791 to always fail with ENOSYS. Some functions are actually named
41792 something starting with __ and the normal name is an alias. */
41793 #if defined __stub_$ac_func || defined __stub___$ac_func
41800 return $ac_func ();
41805 rm -f conftest.$ac_objext conftest$ac_exeext
41806 if { (ac_try="$ac_link"
41807 case "(($ac_try" in
41808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41809 *) ac_try_echo=$ac_try;;
41811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41812 (eval "$ac_link") 2>conftest.er1
41814 grep -v '^
*+' conftest.er1 >conftest.err
41816 cat conftest.err >&5
41817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41818 (exit $ac_status); } &&
41819 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
41820 { (case "(($ac_try" in
41821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41822 *) ac_try_echo=$ac_try;;
41824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41825 (eval "$ac_try") 2>&5
41827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41828 (exit $ac_status); }; } &&
41829 { ac_try='test -s conftest
$ac_exeext'
41830 { (case "(($ac_try" in
41831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41832 *) ac_try_echo=$ac_try;;
41834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41835 (eval "$ac_try") 2>&5
41837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41838 (exit $ac_status); }; }; then
41839 eval "$as_ac_var=yes"
41841 echo "$as_me: failed program was:" >&5
41842 sed 's
/^
/|
/' conftest.$ac_ext >&5
41844 eval "$as_ac_var=no"
41847 rm -f core conftest.err conftest.$ac_objext \
41848 conftest$ac_exeext conftest.$ac_ext
41850 ac_res=`eval echo '${'$as_ac_var'}'`
41851 { echo "$as_me:$LINENO: result: $ac_res" >&5
41852 echo "${ECHO_T}$ac_res" >&6; }
41853 if test `eval echo '${'$as_ac_var'}'` = yes; then
41854 cat >>confdefs.h <<_ACEOF
41855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41857 cat >>confdefs.h <<\_ACEOF
41858 #define BX_HAVE_MVHLINE 1
41865 for ac_func in mvvline
41867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41868 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41870 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41871 echo $ECHO_N "(cached) $ECHO_C" >&6
41873 cat >conftest.$ac_ext <<_ACEOF
41876 cat confdefs.h >>conftest.$ac_ext
41877 cat >>conftest.$ac_ext <<_ACEOF
41878 /* end confdefs.h. */
41879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41881 #define $ac_func innocuous_$ac_func
41883 /* System header to define __stub macros and hopefully few prototypes,
41884 which can conflict with char $ac_func (); below.
41885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41886 <limits.h> exists even on freestanding compilers. */
41889 # include <limits.h>
41891 # include <assert.h>
41896 /* Override any GCC internal prototype to avoid an error.
41897 Use char because int might match the return type of a GCC
41898 builtin and then its argument prototype would still apply. */
41903 /* The GNU C library defines this for functions which it implements
41904 to always fail with ENOSYS. Some functions are actually named
41905 something starting with __ and the normal name is an alias. */
41906 #if defined __stub_$ac_func || defined __stub___$ac_func
41913 return $ac_func ();
41918 rm -f conftest.$ac_objext conftest$ac_exeext
41919 if { (ac_try="$ac_link"
41920 case "(($ac_try" in
41921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41922 *) ac_try_echo=$ac_try;;
41924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41925 (eval "$ac_link") 2>conftest.er1
41927 grep -v '^
*+' conftest.er1 >conftest.err
41929 cat conftest.err >&5
41930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41931 (exit $ac_status); } &&
41932 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
41933 { (case "(($ac_try" in
41934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41935 *) ac_try_echo=$ac_try;;
41937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41938 (eval "$ac_try") 2>&5
41940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41941 (exit $ac_status); }; } &&
41942 { ac_try='test -s conftest
$ac_exeext'
41943 { (case "(($ac_try" in
41944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41945 *) ac_try_echo=$ac_try;;
41947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41948 (eval "$ac_try") 2>&5
41950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41951 (exit $ac_status); }; }; then
41952 eval "$as_ac_var=yes"
41954 echo "$as_me: failed program was:" >&5
41955 sed 's
/^
/|
/' conftest.$ac_ext >&5
41957 eval "$as_ac_var=no"
41960 rm -f core conftest.err conftest.$ac_objext \
41961 conftest$ac_exeext conftest.$ac_ext
41963 ac_res=`eval echo '${'$as_ac_var'}'`
41964 { echo "$as_me:$LINENO: result: $ac_res" >&5
41965 echo "${ECHO_T}$ac_res" >&6; }
41966 if test `eval echo '${'$as_ac_var'}'` = yes; then
41967 cat >>confdefs.h <<_ACEOF
41968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41970 cat >>confdefs.h <<\_ACEOF
41971 #define BX_HAVE_MVVLINE 1
41980 if test "$with_rfb" = yes; then
41981 # we need the socket function
41984 # is this okay without a check ?
41985 RFB_LIBS="$RFB_LIBS wsock32.lib"
41988 *-pc-winnt* | *-pc-cygwin* | *-pc-mingw32*)
41989 # is this okay without a check ?
41990 RFB_LIBS="$RFB_LIBS -lwsock32"
41995 for ac_func in socket
41997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41998 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42000 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42001 echo $ECHO_N "(cached) $ECHO_C" >&6
42003 cat >conftest.$ac_ext <<_ACEOF
42006 cat confdefs.h >>conftest.$ac_ext
42007 cat >>conftest.$ac_ext <<_ACEOF
42008 /* end confdefs.h. */
42009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42011 #define $ac_func innocuous_$ac_func
42013 /* System header to define __stub macros and hopefully few prototypes,
42014 which can conflict with char $ac_func (); below.
42015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42016 <limits.h> exists even on freestanding compilers. */
42019 # include <limits.h>
42021 # include <assert.h>
42026 /* Override any GCC internal prototype to avoid an error.
42027 Use char because int might match the return type of a GCC
42028 builtin and then its argument prototype would still apply. */
42033 /* The GNU C library defines this for functions which it implements
42034 to always fail with ENOSYS. Some functions are actually named
42035 something starting with __ and the normal name is an alias. */
42036 #if defined __stub_$ac_func || defined __stub___$ac_func
42043 return $ac_func ();
42048 rm -f conftest.$ac_objext conftest$ac_exeext
42049 if { (ac_try="$ac_link"
42050 case "(($ac_try" in
42051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42052 *) ac_try_echo=$ac_try;;
42054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42055 (eval "$ac_link") 2>conftest.er1
42057 grep -v '^
*+' conftest.er1 >conftest.err
42059 cat conftest.err >&5
42060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42061 (exit $ac_status); } &&
42062 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
42063 { (case "(($ac_try" in
42064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42065 *) ac_try_echo=$ac_try;;
42067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42068 (eval "$ac_try") 2>&5
42070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42071 (exit $ac_status); }; } &&
42072 { ac_try='test -s conftest
$ac_exeext'
42073 { (case "(($ac_try" in
42074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42075 *) ac_try_echo=$ac_try;;
42077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42078 (eval "$ac_try") 2>&5
42080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42081 (exit $ac_status); }; }; then
42082 eval "$as_ac_var=yes"
42084 echo "$as_me: failed program was:" >&5
42085 sed 's
/^
/|
/' conftest.$ac_ext >&5
42087 eval "$as_ac_var=no"
42090 rm -f core conftest.err conftest.$ac_objext \
42091 conftest$ac_exeext conftest.$ac_ext
42093 ac_res=`eval echo '${'$as_ac_var'}'`
42094 { echo "$as_me:$LINENO: result: $ac_res" >&5
42095 echo "${ECHO_T}$ac_res" >&6; }
42096 if test `eval echo '${'$as_ac_var'}'` = yes; then
42097 cat >>confdefs.h <<_ACEOF
42098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42104 if test "$have_socket" != yes; then
42105 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42106 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
42107 if test "${ac_cv_lib_socket_socket+set}" = set; then
42108 echo $ECHO_N "(cached) $ECHO_C" >&6
42110 ac_check_lib_save_LIBS=$LIBS
42111 LIBS="-lsocket $LIBS"
42112 cat >conftest.$ac_ext <<_ACEOF
42115 cat confdefs.h >>conftest.$ac_ext
42116 cat >>conftest.$ac_ext <<_ACEOF
42117 /* end confdefs.h. */
42119 /* Override any GCC internal prototype to avoid an error.
42120 Use char because int might match the return type of a GCC
42121 builtin and then its argument prototype would still apply. */
42134 rm -f conftest.$ac_objext conftest$ac_exeext
42135 if { (ac_try="$ac_link"
42136 case "(($ac_try" in
42137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42138 *) ac_try_echo=$ac_try;;
42140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42141 (eval "$ac_link") 2>conftest.er1
42143 grep -v '^
*+' conftest.er1 >conftest.err
42145 cat conftest.err >&5
42146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42147 (exit $ac_status); } &&
42148 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
42149 { (case "(($ac_try" in
42150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42151 *) ac_try_echo=$ac_try;;
42153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42154 (eval "$ac_try") 2>&5
42156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42157 (exit $ac_status); }; } &&
42158 { ac_try='test -s conftest
$ac_exeext'
42159 { (case "(($ac_try" in
42160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42161 *) ac_try_echo=$ac_try;;
42163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42164 (eval "$ac_try") 2>&5
42166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42167 (exit $ac_status); }; }; then
42168 ac_cv_lib_socket_socket=yes
42170 echo "$as_me: failed program was:" >&5
42171 sed 's
/^
/|
/' conftest.$ac_ext >&5
42173 ac_cv_lib_socket_socket=no
42176 rm -f core conftest.err conftest.$ac_objext \
42177 conftest$ac_exeext conftest.$ac_ext
42178 LIBS=$ac_check_lib_save_LIBS
42180 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42181 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
42182 if test $ac_cv_lib_socket_socket = yes; then
42184 RFB_LIBS="$RFB_LIBS -lsocket"
42192 if test "$have_socket" != yes; then
42193 echo 'ERROR
: socket
function required
for RFB compile
'
42198 # The ACX_PTHREAD function was written by
42199 # Steven G. Johnson <stevenj@alum.mit.edu> and
42200 # Alejandro Forero Cuervo <bachue@bachue.com>
42201 # I found it in the ac-archive project on Source Forge.
42209 # First, check if the POSIX threads header, pthread.h, is available.
42210 # If it isn't
, don
't bother looking for the threads libraries.
42211 if test "${ac_cv_header_pthread_h+set}" = set; then
42212 { echo "$as_me:$LINENO: checking for pthread.h" >&5
42213 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
42214 if test "${ac_cv_header_pthread_h+set}" = set; then
42215 echo $ECHO_N "(cached) $ECHO_C" >&6
42217 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
42218 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
42220 # Is the header compilable?
42221 { echo "$as_me:$LINENO: checking pthread.h usability" >&5
42222 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; }
42223 cat >conftest.$ac_ext <<_ACEOF
42226 cat confdefs.h >>conftest.$ac_ext
42227 cat >>conftest.$ac_ext <<_ACEOF
42228 /* end confdefs.h. */
42229 $ac_includes_default
42230 #include <pthread.h>
42232 rm -f conftest.$ac_objext
42233 if { (ac_try="$ac_compile"
42234 case "(($ac_try" in
42235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42236 *) ac_try_echo=$ac_try;;
42238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42239 (eval "$ac_compile") 2>conftest.er1
42241 grep -v '^
*+' conftest.er1 >conftest.err
42243 cat conftest.err >&5
42244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42245 (exit $ac_status); } &&
42246 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
42247 { (case "(($ac_try" in
42248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42249 *) ac_try_echo=$ac_try;;
42251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42252 (eval "$ac_try") 2>&5
42254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42255 (exit $ac_status); }; } &&
42256 { ac_try='test -s conftest.
$ac_objext'
42257 { (case "(($ac_try" in
42258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42259 *) ac_try_echo=$ac_try;;
42261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42262 (eval "$ac_try") 2>&5
42264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42265 (exit $ac_status); }; }; then
42266 ac_header_compiler=yes
42268 echo "$as_me: failed program was:" >&5
42269 sed 's
/^
/|
/' conftest.$ac_ext >&5
42271 ac_header_compiler=no
42274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42275 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42276 echo "${ECHO_T}$ac_header_compiler" >&6; }
42278 # Is the header present?
42279 { echo "$as_me:$LINENO: checking pthread.h presence" >&5
42280 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6; }
42281 cat >conftest.$ac_ext <<_ACEOF
42284 cat confdefs.h >>conftest.$ac_ext
42285 cat >>conftest.$ac_ext <<_ACEOF
42286 /* end confdefs.h. */
42287 #include <pthread.h>
42289 if { (ac_try="$ac_cpp conftest.$ac_ext"
42290 case "(($ac_try" in
42291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42292 *) ac_try_echo=$ac_try;;
42294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42295 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
42297 grep -v '^
*+' conftest.er1 >conftest.err
42299 cat conftest.err >&5
42300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42301 (exit $ac_status); } >/dev/null; then
42302 if test -s conftest.err; then
42303 ac_cpp_err=$ac_c_preproc_warn_flag
42304 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
42311 if test -z "$ac_cpp_err"; then
42312 ac_header_preproc=yes
42314 echo "$as_me: failed program was:" >&5
42315 sed 's
/^
/|
/' conftest.$ac_ext >&5
42317 ac_header_preproc=no
42320 rm -f conftest.err conftest.$ac_ext
42321 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42322 echo "${ECHO_T}$ac_header_preproc" >&6; }
42324 # So? What about this header?
42325 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42327 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
42328 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
42329 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result
" >&5
42330 echo "$as_me: WARNING
: pthread.h
: proceeding with the compiler
's result" >&2;}
42331 ac_header_preproc=yes
42334 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
42335 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
42336 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
42337 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
42338 { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
42339 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
42340 { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
42341 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
42342 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result
" >&5
42343 echo "$as_me: WARNING
: pthread.h
: proceeding with the preprocessor
's result" >&2;}
42344 { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
42345 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
42349 { echo "$as_me:$LINENO: checking for pthread.h" >&5
42350 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
42351 if test "${ac_cv_header_pthread_h+set}" = set; then
42352 echo $ECHO_N "(cached) $ECHO_C" >&6
42354 ac_cv_header_pthread_h=$ac_header_preproc
42356 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
42357 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
42360 if test $ac_cv_header_pthread_h = yes; then
42363 acx_pthread_ok=noheader
42368 # We must check for the threads library under a number of different
42369 # names; the ordering is very important because some systems
42370 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
42371 # libraries is broken (non-POSIX).
42373 # First of all, check if the user has set any of the PTHREAD_LIBS,
42374 # etcetera environment variables, and if threads linking works using
42376 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
42377 save_CFLAGS="$CFLAGS"
42378 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
42379 CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
42381 LIBS="$PTHREAD_LIBS $LIBS"
42382 { echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
42383 echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6; }
42384 cat >conftest.$ac_ext <<_ACEOF
42387 cat confdefs.h >>conftest.$ac_ext
42388 cat >>conftest.$ac_ext <<_ACEOF
42389 /* end confdefs.h. */
42391 /* Override any GCC internal prototype to avoid an error.
42392 Use char because int might match the return type of a GCC
42393 builtin and then its argument prototype would still apply. */
42397 char pthread_join ();
42401 return pthread_join ();
42406 rm -f conftest.$ac_objext conftest$ac_exeext
42407 if { (ac_try="$ac_link"
42408 case "(($ac_try" in
42409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42410 *) ac_try_echo=$ac_try;;
42412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42413 (eval "$ac_link") 2>conftest.er1
42415 grep -v '^
*+' conftest.er1 >conftest.err
42417 cat conftest.err >&5
42418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42419 (exit $ac_status); } &&
42420 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
42421 { (case "(($ac_try" in
42422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42423 *) ac_try_echo=$ac_try;;
42425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42426 (eval "$ac_try") 2>&5
42428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42429 (exit $ac_status); }; } &&
42430 { ac_try='test -s conftest
$ac_exeext'
42431 { (case "(($ac_try" in
42432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42433 *) ac_try_echo=$ac_try;;
42435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42436 (eval "$ac_try") 2>&5
42438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42439 (exit $ac_status); }; }; then
42442 echo "$as_me: failed program was:" >&5
42443 sed 's
/^
/|
/' conftest.$ac_ext >&5
42448 rm -f core conftest.err conftest.$ac_objext \
42449 conftest$ac_exeext conftest.$ac_ext
42450 { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
42451 echo "${ECHO_T}$acx_pthread_ok" >&6; }
42452 if test x"$acx_pthread_ok" = xno; then
42457 CFLAGS="$save_CFLAGS"
42460 # Create a list of thread flags to try. Items starting with a "-" are
42461 # C compiler flags, and other items are library names, except for "none"
42462 # which indicates that we try without any flags at all.
42464 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt"
42466 # The ordering *is* (sometimes) important. Some notes on the
42467 # individual items follow:
42469 # pthreads: AIX (must check this before -lpthread)
42470 # none: in case threads are in libc; should be tried before -Kthread and
42471 # other compiler flags to prevent continual compiler warnings
42472 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
42473 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
42474 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
42475 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
42476 # -pthreads: Solaris/gcc
42477 # -mthreads: Mingw32/gcc, Lynx/gcc
42478 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
42479 # doesn't hurt to check since this sometimes defines pthreads too
;
42480 # also defines -D_REENTRANT)
42481 # pthread: Linux, etcetera
42482 # --thread-safe: KAI C++
42484 case "${host_cpu}-${host_os}" in
42487 # On Solaris (at least, for some versions), libc contains stubbed
42488 # (non-functional) versions of the pthreads routines, so link-based
42489 # tests will erroneously succeed. (We need to link with -pthread or
42490 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
42491 # a function called by this macro, so we could check for that, but
42492 # who knows whether they'll stub that too in a future libc.) So,
42493 # we'll just look for -pthreads and -lpthread first:
42495 acx_pthread_flags
="-pthread -pthreads pthread -mt $acx_pthread_flags"
42499 if test x
"$acx_pthread_ok" = xno
; then
42500 for flag
in $acx_pthread_flags; do
42504 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
42505 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
42509 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
42510 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
42511 PTHREAD_CFLAGS
="$flag"
42515 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
42516 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
42517 PTHREAD_LIBS
="-l$flag"
42522 save_CFLAGS
="$CFLAGS"
42523 LIBS
="$PTHREAD_LIBS $LIBS"
42524 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
42526 # Check for various functions. We must include pthread.h,
42527 # since some functions may be macros. (On the Sequent, we
42528 # need a special flag -Kthread to make this header compile.)
42529 # We check for pthread_join because it is in -lpthread on IRIX
42530 # while pthread_create is in libc. We check for pthread_attr_init
42531 # due to DEC craziness with -lpthreads. We check for
42532 # pthread_cleanup_push because it is one of the few pthread
42533 # functions on Solaris that doesn't have a non-functional libc stub.
42534 # We try pthread_create on general principles.
42535 cat >conftest.
$ac_ext <<_ACEOF
42538 cat confdefs.h
>>conftest.
$ac_ext
42539 cat >>conftest.
$ac_ext <<_ACEOF
42540 /* end confdefs.h. */
42541 #include <pthread.h>
42545 pthread_t th; pthread_join(th, 0);
42546 pthread_attr_init(0); pthread_cleanup_push(0, 0);
42547 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
42552 rm -f conftest.
$ac_objext conftest
$ac_exeext
42553 if { (ac_try
="$ac_link"
42554 case "(($ac_try" in
42555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
42556 *) ac_try_echo=$ac_try;;
42558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42559 (eval "$ac_link") 2>conftest.er1
42561 grep -v '^ *+' conftest.er1 >conftest.err
42563 cat conftest.err >&5
42564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42565 (exit $ac_status); } &&
42566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42567 { (case "(($ac_try" in
42568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
42569 *) ac_try_echo
=$ac_try;;
42571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42572 (eval "$ac_try") 2>&5
42574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42575 (exit $ac_status); }; } &&
42576 { ac_try
='test -s conftest$ac_exeext'
42577 { (case "(($ac_try" in
42578 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
42579 *) ac_try_echo=$ac_try;;
42581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42582 (eval "$ac_try") 2>&5
42584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42585 (exit $ac_status); }; }; then
42588 echo "$as_me: failed program was:" >&5
42589 sed 's/^/| /' conftest.$ac_ext >&5
42594 rm -f core conftest.err conftest.$ac_objext \
42595 conftest$ac_exeext conftest.$ac_ext
42598 CFLAGS="$save_CFLAGS"
42600 { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
42601 echo "${ECHO_T}$acx_pthread_ok" >&6; }
42602 if test "x$acx_pthread_ok" = xyes; then
42611 # Various other checks:
42612 if test "x$acx_pthread_ok" = xyes; then
42614 LIBS="$PTHREAD_LIBS $LIBS"
42615 save_CFLAGS="$CFLAGS"
42616 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
42618 # Detect AIX lossage: threads are created detached by default
42619 # and the JOINABLE attribute has a nonstandard name (UNDETACHED).
42620 { echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
42621 echo $ECHO_N "checking for joinable pthread attribute... $ECHO_C" >&6; }
42622 cat >conftest.$ac_ext <<_ACEOF
42625 cat confdefs.h >>conftest.$ac_ext
42626 cat >>conftest.$ac_ext <<_ACEOF
42627 /* end confdefs.h. */
42628 #include <pthread.h>
42632 int attr=PTHREAD_CREATE_JOINABLE;
42637 rm -f conftest.$ac_objext conftest$ac_exeext
42638 if { (ac_try="$ac_link"
42639 case "(($ac_try" in
42640 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
42641 *) ac_try_echo
=$ac_try;;
42643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42644 (eval "$ac_link") 2>conftest.er1
42646 grep -v '^ *+' conftest.er1
>conftest.err
42648 cat conftest.err
>&5
42649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42650 (exit $ac_status); } &&
42651 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42652 { (case "(($ac_try" in
42653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
42654 *) ac_try_echo=$ac_try;;
42656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42657 (eval "$ac_try") 2>&5
42659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42660 (exit $ac_status); }; } &&
42661 { ac_try='test -s conftest$ac_exeext'
42662 { (case "(($ac_try" in
42663 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
42664 *) ac_try_echo
=$ac_try;;
42666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42667 (eval "$ac_try") 2>&5
42669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42670 (exit $ac_status); }; }; then
42671 ok
=PTHREAD_CREATE_JOINABLE
42673 echo "$as_me: failed program was:" >&5
42674 sed 's/^/| /' conftest.
$ac_ext >&5
42679 rm -f core conftest.err conftest.
$ac_objext \
42680 conftest
$ac_exeext conftest.
$ac_ext
42681 if test x
"$ok" = xunknown
; then
42682 cat >conftest.
$ac_ext <<_ACEOF
42685 cat confdefs.h
>>conftest.
$ac_ext
42686 cat >>conftest.
$ac_ext <<_ACEOF
42687 /* end confdefs.h. */
42688 #include <pthread.h>
42692 int attr=PTHREAD_CREATE_UNDETACHED;
42697 rm -f conftest.
$ac_objext conftest
$ac_exeext
42698 if { (ac_try
="$ac_link"
42699 case "(($ac_try" in
42700 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
42701 *) ac_try_echo=$ac_try;;
42703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42704 (eval "$ac_link") 2>conftest.er1
42706 grep -v '^ *+' conftest.er1 >conftest.err
42708 cat conftest.err >&5
42709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42710 (exit $ac_status); } &&
42711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42712 { (case "(($ac_try" in
42713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
42714 *) ac_try_echo
=$ac_try;;
42716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42717 (eval "$ac_try") 2>&5
42719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42720 (exit $ac_status); }; } &&
42721 { ac_try
='test -s conftest$ac_exeext'
42722 { (case "(($ac_try" in
42723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
42724 *) ac_try_echo=$ac_try;;
42726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42727 (eval "$ac_try") 2>&5
42729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42730 (exit $ac_status); }; }; then
42731 ok=PTHREAD_CREATE_UNDETACHED
42733 echo "$as_me: failed program was:" >&5
42734 sed 's/^/| /' conftest.$ac_ext >&5
42739 rm -f core conftest.err conftest.$ac_objext \
42740 conftest$ac_exeext conftest.$ac_ext
42742 if test x"$ok" != xPTHREAD_CREATE_JOINABLE; then
42744 cat >>confdefs.h <<\_ACEOF
42745 #define PTHREAD_CREATE_JOINABLE $ok
42749 { echo "$as_me:$LINENO: result: ${ok}" >&5
42750 echo "${ECHO_T}${ok}" >&6; }
42751 if test x"$ok" = xunknown; then
42752 { echo "$as_me:$LINENO: WARNING: we do not know how to create joinable pthreads" >&5
42753 echo "$as_me: WARNING: we do not know how to create joinable pthreads" >&2;}
42756 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
42757 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
42759 case "${host_cpu}-${host_os}" in
42760 *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
42761 *solaris* | alpha*-osf*) flag="-D_REENTRANT";;
42763 { echo "$as_me:$LINENO: result: ${flag}" >&5
42764 echo "${ECHO_T}${flag}" >&6; }
42765 if test "x$flag" != xno; then
42766 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
42770 CFLAGS="$save_CFLAGS"
42772 # More AIX lossage: must compile with cc_r
42773 # Extract the first word of "cc_r", so it can be a program name with args.
42774 set dummy cc_r; ac_word=$2
42775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42777 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
42778 echo $ECHO_N "(cached) $ECHO_C" >&6
42780 if test -n "$PTHREAD_CC"; then
42781 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
42783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42784 for as_dir in $PATH
42787 test -z "$as_dir" && as_dir=.
42788 for ac_exec_ext in '' $ac_executable_extensions; do
42789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
42790 ac_cv_prog_PTHREAD_CC="cc_r"
42791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42798 test -z "$ac_cv_prog_PTHREAD_CC" && ac_cv_prog_PTHREAD_CC="${CC}"
42801 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
42802 if test -n "$PTHREAD_CC"; then
42803 { echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
42804 echo "${ECHO_T}$PTHREAD_CC" >&6; }
42806 { echo "$as_me:$LINENO: result: no" >&5
42807 echo "${ECHO_T}no" >&6; }
42819 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
42820 if test x"$acx_pthread_ok" = xyes; then
42823 #echo Using PTHREAD_LIBS=$PTHREAD_LIBS
42824 #echo Using PTHREAD_CFLAGS=$PTHREAD_CFLAGS
42825 #echo Using PTHREAD_CC=$PTHREAD_CC
42836 # since RFB (usually) needs pthread library, check that it was found.
42837 # But on win32 platforms, the pthread library is not needed.
42838 if test "$with_rfb" = yes -a "$cross_configure" = 0; then
42839 if test "$pthread_ok" = yes; then
42840 RFB_LIBS="$RFB_LIBS $PTHREAD_LIBS"
42841 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
42842 CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
42846 *-pc-windows* | *-pc-winnt* | *-cygwin* | *-mingw*)
42847 # pthread not needed for win32 platform
42850 echo ERROR: --with-rfb requires the pthread library, which could not be found.; exit 1
42856 { echo "$as_me:$LINENO: checking for magic breakpoints (deprecated)" >&5
42857 echo $ECHO_N "checking for magic breakpoints (deprecated)... $ECHO_C" >&6; }
42858 # Check whether --enable-magic-breakpoints was given.
42859 if test "${enable_magic_breakpoints+set}" = set; then
42860 enableval=$enable_magic_breakpoints; { echo "$as_me:$LINENO: result: $enableval" >&5
42861 echo "${ECHO_T}$enableval" >&6; }
42862 { { echo "$as_me:$LINENO: error: DEPRECATED - magic breakpoints are always enabled with Bochs internal debugger" >&5
42863 echo "$as_me: error: DEPRECATED - magic breakpoints are always enabled with Bochs internal debugger" >&2;}
42864 { (exit 1); exit 1; }; }
42868 { echo "$as_me:$LINENO: result: no" >&5
42869 echo "${ECHO_T}no" >&6; }
42874 { echo "$as_me:$LINENO: checking for save/restore (deprecated)" >&5
42875 echo $ECHO_N "checking for save/restore (deprecated)... $ECHO_C" >&6; }
42876 # Check whether --enable-save-restore was given.
42877 if test "${enable_save_restore+set}" = set; then
42878 enableval=$enable_save_restore; { echo "$as_me:$LINENO: result: $enableval" >&5
42879 echo "${ECHO_T}$enableval" >&6; }
42880 { { echo "$as_me:$LINENO: error: DEPRECATED - save/restore feature is always enabled" >&5
42881 echo "$as_me: error: DEPRECATED - save/restore feature is always enabled" >&2;}
42882 { (exit 1); exit 1; }; }
42886 { echo "$as_me:$LINENO: result: no" >&5
42887 echo "${ECHO_T}no" >&6; }
42892 { echo "$as_me:$LINENO: checking whether to reset on triple fault (deprecated)" >&5
42893 echo $ECHO_N "checking whether to reset on triple fault (deprecated)... $ECHO_C" >&6; }
42894 # Check whether --enable-reset-on-triple-fault was given.
42895 if test "${enable_reset_on_triple_fault+set}" = set; then
42896 enableval=$enable_reset_on_triple_fault; { echo "$as_me:$LINENO: result: $enableval" >&5
42897 echo "${ECHO_T}$enableval" >&6; }
42898 { { echo "$as_me:$LINENO: error: DEPRECATED - could be configured directly from .bochsrc instead" >&5
42899 echo "$as_me: error: DEPRECATED - could be configured directly from .bochsrc instead" >&2;}
42900 { (exit 1); exit 1; }; }
42904 { echo "$as_me:$LINENO: result: no" >&5
42905 echo "${ECHO_T}no" >&6; }
42910 { echo "$as_me:$LINENO: checking PNI support (deprecated)" >&5
42911 echo $ECHO_N "checking PNI support (deprecated)... $ECHO_C" >&6; }
42912 # Check whether --enable---enable-pni was given.
42913 if test "${enable___enable_pni+set}" = set; then
42914 enableval=$enable___enable_pni; { echo "$as_me:$LINENO: result: $enableval" >&5
42915 echo "${ECHO_T}$enableval" >&6; }
42916 { { echo "$as_me:$LINENO: error: DEPRECATED - use --enable-sse=3 instead" >&5
42917 echo "$as_me: error: DEPRECATED - use --enable-sse=3 instead" >&2;}
42918 { (exit 1); exit 1; }; }
42922 { echo "$as_me:$LINENO: result: no" >&5
42923 echo "${ECHO_T}no" >&6; }
42928 # Create some subdirectories for when you run configure from some other
42930 if test ! -d instrument; then mkdir instrument; fi
42931 if test ! -d build; then mkdir build; fi
42932 if test ! -d build/linux; then mkdir build/linux; fi
42933 if test ! -d build/win32; then mkdir build/win32; fi
42934 if test ! -d build/win32/nsis; then mkdir build/win32/nsis; fi
42973 # Extract the first word of "gzip", so it can be a program name with args.
42974 set dummy gzip; ac_word=$2
42975 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42977 if test "${ac_cv_path_GZIP+set}" = set; then
42978 echo $ECHO_N "(cached) $ECHO_C" >&6
42982 ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path.
42985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42986 for as_dir in $PATH
42989 test -z "$as_dir" && as_dir=.
42990 for ac_exec_ext in '' $ac_executable_extensions; do
42991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
42992 ac_cv_path_GZIP="$as_dir/$ac_word$ac_exec_ext"
42993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43003 GZIP=$ac_cv_path_GZIP
43004 if test -n "$GZIP"; then
43005 { echo "$as_me:$LINENO: result: $GZIP" >&5
43006 echo "${ECHO_T}$GZIP" >&6; }
43008 { echo "$as_me:$LINENO: result: no" >&5
43009 echo "${ECHO_T}no" >&6; }
43013 # Extract the first word of "tar", so it can be a program name with args.
43014 set dummy tar; ac_word=$2
43015 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43017 if test "${ac_cv_path_TAR+set}" = set; then
43018 echo $ECHO_N "(cached) $ECHO_C" >&6
43022 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
43025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43026 for as_dir in $PATH
43029 test -z "$as_dir" && as_dir=.
43030 for ac_exec_ext in '' $ac_executable_extensions; do
43031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
43032 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
43033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43043 TAR=$ac_cv_path_TAR
43044 if test -n "$TAR"; then
43045 { echo "$as_me:$LINENO: result: $TAR" >&5
43046 echo "${ECHO_T}$TAR" >&6; }
43048 { echo "$as_me:$LINENO: result: no" >&5
43049 echo "${ECHO_T}no" >&6; }
43054 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"
43056 cat >confcache <<\_ACEOF
43057 # This file is a shell script that caches the results of configure
43058 # tests run on this system so they can be shared between configure
43059 # scripts and configure runs, see configure's option --config-cache.
43060 # It is not useful on other systems. If it contains results you don't
43061 # want to keep, you may remove or edit it.
43063 # config.status only pays attention to the cache file if you give it
43064 # the --recheck option to rerun configure.
43066 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
43067 # loading this file, other *unset* `ac_cv_foo' will be assigned the
43068 # following values.
43072 # The following way of writing the cache mishandles newlines in values,
43073 # but we know of no workaround that is simple, portable, and efficient.
43074 # So, we kill variables containing newlines.
43075 # Ultrix sh set writes to stderr and can't be redirected directly,
43076 # and sets the high bit in the cache file unless we assign to the vars.
43078 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
43079 eval ac_val
=\$
$ac_var
43083 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
43084 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
43087 _ | IFS | as_nl
) ;; #(
43088 *) $as_unset $ac_var ;;
43094 case $as_nl`(ac_space=' '; set) 2>&1` in #(
43095 *${as_nl}ac_space
=\
*)
43096 # `set' does not quote correctly, so add quotes (double-quote
43097 # substitution turns \\\\ into \\, and sed turns \\ into \).
43100 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
43103 # `set' quotes correctly as required by POSIX, so do not add quotes.
43104 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
43113 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
43115 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
43117 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
43118 if test -w "$cache_file"; then
43119 test "x$cache_file" != "x/dev/null" &&
43120 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
43121 echo "$as_me: updating cache $cache_file" >&6;}
43122 cat confcache
>$cache_file
43124 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
43125 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
43130 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
43131 # Let make expand exec_prefix.
43132 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
43134 DEFS
=-DHAVE_CONFIG_H
43138 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
43139 # 1. Remove the extension, and $U if already installed.
43140 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
43141 ac_i
=`echo "$ac_i" | sed "$ac_script"`
43142 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
43143 # will be set to the directory where LIBOBJS objects are built.
43144 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
43145 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
43147 LIBOBJS
=$ac_libobjs
43149 LTLIBOBJS
=$ac_ltlibobjs
43153 : ${CONFIG_STATUS=./config.status}
43154 ac_clean_files_save
=$ac_clean_files
43155 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
43156 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
43157 echo "$as_me: creating $CONFIG_STATUS" >&6;}
43158 cat >$CONFIG_STATUS <<_ACEOF
43160 # Generated by $as_me.
43161 # Run this file to recreate the current configuration.
43162 # Compiler output produced by configure, useful for debugging
43163 # configure, is in config.log if it exists.
43166 ac_cs_recheck=false
43168 SHELL=\${CONFIG_SHELL-$SHELL}
43171 cat >>$CONFIG_STATUS <<\_ACEOF
43172 ## --------------------- ##
43173 ## M4sh Initialization. ##
43174 ## --------------------- ##
43176 # Be Bourne compatible
43177 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
43180 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
43181 # is contrary to our usage. Disable this feature.
43182 alias -g '${1+"$@"}'='"$@"'
43183 setopt NO_GLOB_SUBST
43185 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
43187 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
43188 DUALCASE
=1; export DUALCASE
# for MKS sh
43192 # Avoid depending upon Character Ranges.
43193 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
43194 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
43195 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
43196 as_cr_digits
='0123456789'
43197 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43199 # The user is always right.
43200 if test "${PATH_SEPARATOR+set}" != set; then
43201 echo "#! /bin/sh" >conf$$.sh
43202 echo "exit 0" >>conf$$.sh
43204 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
43212 # Support unset when possible.
43213 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
43221 # We need space, tab and new line, in precisely that order. Quoting is
43222 # there to prevent editors from complaining about space-tab.
43223 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
43224 # splitting by setting IFS to empty value.)
43229 # Find who we are. Look in the path if we contain no directory separator.
43231 *[\\/]* ) as_myself
=$0 ;;
43232 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43233 for as_dir
in $PATH
43236 test -z "$as_dir" && as_dir
=.
43237 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
43243 # We did not find ourselves, most probably we were run as `sh COMMAND'
43244 # in which case we are not to be found in the path.
43245 if test "x$as_myself" = x
; then
43248 if test ! -f "$as_myself"; then
43249 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
43250 { (exit 1); exit 1; }
43253 # Work around bugs in pre-3.0 UWIN ksh.
43254 for as_var
in ENV MAIL MAILPATH
43255 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
43263 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43264 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43265 LC_TELEPHONE LC_TIME
43267 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
43268 eval $as_var=C
; export $as_var
43270 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
43274 # Required to use basename.
43275 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
43276 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
43282 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
43283 as_basename
=basename
43289 # Name of the executable.
43290 as_me
=`$as_basename -- "$0" ||
43291 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
43292 X"$0" : 'X\(//\)$' \| \
43293 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
43295 sed '/^.*\/\([^/][^/]*\)\/*$/{
43314 as_lineno_1
=$LINENO
43315 as_lineno_2
=$LINENO
43316 test "x$as_lineno_1" != "x$as_lineno_2" &&
43317 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
43319 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
43320 # uniformly replaced by the line number. The first 'sed' inserts a
43321 # line-number line after each line using $LINENO; the second 'sed'
43322 # does the real work. The second script uses 'N' to pair each
43323 # line-number line with the line containing $LINENO, and appends
43324 # trailing '-' during substitution so that $LINENO is not a special
43325 # case at line end.
43326 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
43327 # scripts with optimization help from Paolo Bonzini. Blame Lee
43328 # E. McMahon (1931-1989) for sed's syntax. :-)
43340 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
43343 ' >$as_me.lineno
&&
43344 chmod +x
"$as_me.lineno" ||
43345 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
43346 { (exit 1); exit 1; }; }
43348 # Don't try to exec as it changes $[0], causing all sort of problems
43349 # (the dirname of $[0] is not the place where we might find the
43350 # original and so on. Autoconf is especially sensitive to this).
43351 .
"./$as_me.lineno"
43352 # Exit status is that of the last command.
43357 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
43363 ECHO_C
= ECHO_N
= ECHO_T
=
43364 case `echo -n x` in
43366 case `echo 'x\c'` in
43367 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
43374 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
43375 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
43381 rm -f conf$$ conf$$.exe conf$$.
file
43382 if test -d conf$$.dir
; then
43383 rm -f conf$$.dir
/conf$$.
file
43389 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
43391 # ... but there are two gotchas:
43392 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
43393 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
43394 # In both cases, we have to default to `cp -p'.
43395 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
43397 elif ln conf$$.
file conf$$
2>/dev
/null
; then
43402 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
43403 rmdir conf$$.dir
2>/dev
/null
43405 if mkdir
-p .
2>/dev
/null
; then
43408 test -d .
/-p && rmdir .
/-p
43412 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
43413 # systems may use methods other than mode bits to determine executability.
43414 cat >conf$$.
file <<_ASEOF
43418 chmod +x conf$$.
file
43419 if test -x conf$$.
file >/dev
/null
2>&1; then
43420 as_executable_p
="test -x"
43426 # Sed expression to map a string onto a valid CPP name.
43427 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
43429 # Sed expression to map a string onto a valid variable name.
43430 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
43435 # Save the log message, to keep $[0] and so on meaningful, and to
43436 # report actual input values of CONFIG_FILES etc. instead of their
43437 # values after options handling.
43439 This file was extended by $as_me, which was
43440 generated by GNU Autoconf 2.60. Invocation command line was
43442 CONFIG_FILES = $CONFIG_FILES
43443 CONFIG_HEADERS = $CONFIG_HEADERS
43444 CONFIG_LINKS = $CONFIG_LINKS
43445 CONFIG_COMMANDS = $CONFIG_COMMANDS
43448 on `(hostname || uname -n) 2>/dev/null | sed 1q`
43453 cat >>$CONFIG_STATUS <<_ACEOF
43454 # Files that config.status was made for.
43455 config_files="$ac_config_files"
43456 config_headers="$ac_config_headers"
43460 cat >>$CONFIG_STATUS <<\_ACEOF
43462 \`$as_me' instantiates files from templates according to the
43463 current configuration.
43465 Usage: $0 [OPTIONS] [FILE]...
43467 -h, --help print this help, then exit
43468 -V, --version print version number, then exit
43469 -q, --quiet do not print progress messages
43470 -d, --debug don't remove temporary files
43471 --recheck update $as_me by reconfiguring in the same conditions
43472 --file=FILE[:TEMPLATE]
43473 instantiate the configuration file FILE
43474 --header=FILE[:TEMPLATE]
43475 instantiate the configuration header FILE
43477 Configuration files:
43480 Configuration headers:
43483 Report bugs to <bug-autoconf@gnu.org>."
43486 cat >>$CONFIG_STATUS <<_ACEOF
43489 configured by $0, generated by GNU Autoconf 2.60,
43490 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
43492 Copyright (C) 2006 Free Software Foundation, Inc.
43493 This config.status script is free software; the Free Software Foundation
43494 gives unlimited permission to copy, distribute and modify it."
43500 cat >>$CONFIG_STATUS <<\_ACEOF
43501 # If no file are specified by the user, then we need to provide default
43502 # value. By we need to know if files were specified by the user.
43508 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
43509 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
43520 # Handling of the options.
43521 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
43523 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
43524 echo "$ac_cs_version"; exit ;;
43525 --debug |
--debu |
--deb |
--de |
--d |
-d )
43527 --file |
--fil |
--fi |
--f )
43529 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
43530 ac_need_defaults
=false
;;
43531 --header |
--heade |
--head |
--hea )
43533 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
43534 ac_need_defaults
=false
;;
43536 # Conflict between --help and --header
43537 { echo "$as_me: error: ambiguous option: $1
43538 Try \`$0 --help' for more information." >&2
43539 { (exit 1); exit 1; }; };;
43540 --help |
--hel |
-h )
43541 echo "$ac_cs_usage"; exit ;;
43542 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
43543 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
43546 # This is an error.
43547 -*) { echo "$as_me: error: unrecognized option: $1
43548 Try \`$0 --help' for more information." >&2
43549 { (exit 1); exit 1; }; } ;;
43551 *) ac_config_targets
="$ac_config_targets $1"
43552 ac_need_defaults
=false
;;
43558 ac_configure_extra_args
=
43560 if $ac_cs_silent; then
43562 ac_configure_extra_args
="$ac_configure_extra_args --silent"
43566 cat >>$CONFIG_STATUS <<_ACEOF
43567 if \$ac_cs_recheck; then
43568 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
43569 CONFIG_SHELL=$SHELL
43570 export CONFIG_SHELL
43571 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
43575 cat >>$CONFIG_STATUS <<\_ACEOF
43579 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
43580 ## Running $as_me. ##
43586 cat >>$CONFIG_STATUS <<_ACEOF
43589 cat >>$CONFIG_STATUS <<\_ACEOF
43591 # Handling of arguments.
43592 for ac_config_target
in $ac_config_targets
43594 case $ac_config_target in
43595 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
43596 "ltdlconf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ltdlconf.h" ;;
43597 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
43598 "iodev/Makefile") CONFIG_FILES
="$CONFIG_FILES iodev/Makefile" ;;
43599 "bx_debug/Makefile") CONFIG_FILES
="$CONFIG_FILES bx_debug/Makefile" ;;
43600 "bios/Makefile") CONFIG_FILES
="$CONFIG_FILES bios/Makefile" ;;
43601 "cpu/Makefile") CONFIG_FILES
="$CONFIG_FILES cpu/Makefile" ;;
43602 "memory/Makefile") CONFIG_FILES
="$CONFIG_FILES memory/Makefile" ;;
43603 "gui/Makefile") CONFIG_FILES
="$CONFIG_FILES gui/Makefile" ;;
43604 "disasm/Makefile") CONFIG_FILES
="$CONFIG_FILES disasm/Makefile" ;;
43605 "${INSTRUMENT_DIR}/Makefile") CONFIG_FILES
="$CONFIG_FILES ${INSTRUMENT_DIR}/Makefile" ;;
43606 "misc/Makefile") CONFIG_FILES
="$CONFIG_FILES misc/Makefile" ;;
43607 "fpu/Makefile") CONFIG_FILES
="$CONFIG_FILES fpu/Makefile" ;;
43608 "doc/docbook/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/docbook/Makefile" ;;
43609 "build/linux/bochs-dlx") CONFIG_FILES
="$CONFIG_FILES build/linux/bochs-dlx" ;;
43610 "bxversion.h") CONFIG_FILES
="$CONFIG_FILES bxversion.h" ;;
43611 "bxversion.rc") CONFIG_FILES
="$CONFIG_FILES bxversion.rc" ;;
43612 "build/macosx/Info.plist") CONFIG_FILES
="$CONFIG_FILES build/macosx/Info.plist" ;;
43613 "build/win32/nsis/Makefile") CONFIG_FILES
="$CONFIG_FILES build/win32/nsis/Makefile" ;;
43614 "build/win32/nsis/bochs.nsi") CONFIG_FILES
="$CONFIG_FILES build/win32/nsis/bochs.nsi" ;;
43615 "host/linux/pcidev/Makefile") CONFIG_FILES
="$CONFIG_FILES host/linux/pcidev/Makefile" ;;
43617 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
43618 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
43619 { (exit 1); exit 1; }; };;
43624 # If the user did not use the arguments to specify the items to instantiate,
43625 # then the envvar interface is used. Set only those that are not.
43626 # We use the long form for the default assignment because of an extremely
43627 # bizarre bug on SunOS 4.1.3.
43628 if $ac_need_defaults; then
43629 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
43630 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
43633 # Have a temporary directory for convenience. Make it in the build tree
43634 # simply because there is no reason against having it here, and in addition,
43635 # creating and moving files from /tmp can sometimes cause problems.
43636 # Hook for its removal unless debugging.
43637 # Note that there is a small window in which the directory will not be cleaned:
43638 # after its creation but before its name has been assigned to `$tmp'.
43642 trap 'exit_status=$?
43643 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
43645 trap '{ (exit 1); exit 1; }' 1 2 13 15
43647 # Create a (secure) tmp directory for tmp files.
43650 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
43651 test -n "$tmp" && test -d "$tmp"
43654 tmp
=.
/conf$$
-$RANDOM
43655 (umask 077 && mkdir
"$tmp")
43658 echo "$me: cannot create a temporary directory in ." >&2
43659 { (exit 1); exit 1; }
43663 # Set up the sed scripts for CONFIG_FILES section.
43666 # No need to generate the scripts if there are no CONFIG_FILES.
43667 # This happens for instance when ./config.status config.h
43668 if test -n "$CONFIG_FILES"; then
43675 for ac_last_try
in false false false false false
:; do
43676 cat >conf$
$subs.
sed <<_ACEOF
43677 SHELL!$SHELL$ac_delim
43678 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
43679 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
43680 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
43681 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
43682 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
43683 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
43684 exec_prefix!$exec_prefix$ac_delim
43685 prefix!$prefix$ac_delim
43686 program_transform_name!$program_transform_name$ac_delim
43687 bindir!$bindir$ac_delim
43688 sbindir!$sbindir$ac_delim
43689 libexecdir!$libexecdir$ac_delim
43690 datarootdir!$datarootdir$ac_delim
43691 datadir!$datadir$ac_delim
43692 sysconfdir!$sysconfdir$ac_delim
43693 sharedstatedir!$sharedstatedir$ac_delim
43694 localstatedir!$localstatedir$ac_delim
43695 includedir!$includedir$ac_delim
43696 oldincludedir!$oldincludedir$ac_delim
43697 docdir!$docdir$ac_delim
43698 infodir!$infodir$ac_delim
43699 htmldir!$htmldir$ac_delim
43700 dvidir!$dvidir$ac_delim
43701 pdfdir!$pdfdir$ac_delim
43702 psdir!$psdir$ac_delim
43703 libdir!$libdir$ac_delim
43704 localedir!$localedir$ac_delim
43705 mandir!$mandir$ac_delim
43706 DEFS!$DEFS$ac_delim
43707 ECHO_C!$ECHO_C$ac_delim
43708 ECHO_N!$ECHO_N$ac_delim
43709 ECHO_T!$ECHO_T$ac_delim
43710 LIBS!$LIBS$ac_delim
43711 build_alias!$build_alias$ac_delim
43712 host_alias!$host_alias$ac_delim
43713 target_alias!$target_alias$ac_delim
43714 build!$build$ac_delim
43715 build_cpu!$build_cpu$ac_delim
43716 build_vendor!$build_vendor$ac_delim
43717 build_os!$build_os$ac_delim
43718 host!$host$ac_delim
43719 host_cpu!$host_cpu$ac_delim
43720 host_vendor!$host_vendor$ac_delim
43721 host_os!$host_os$ac_delim
43722 target!$target$ac_delim
43723 target_cpu!$target_cpu$ac_delim
43724 target_vendor!$target_vendor$ac_delim
43725 target_os!$target_os$ac_delim
43727 CFLAGS!$CFLAGS$ac_delim
43728 LDFLAGS!$LDFLAGS$ac_delim
43729 CPPFLAGS!$CPPFLAGS$ac_delim
43730 ac_ct_CC!$ac_ct_CC$ac_delim
43731 EXEEXT!$EXEEXT$ac_delim
43732 OBJEXT!$OBJEXT$ac_delim
43734 CXXFLAGS!$CXXFLAGS$ac_delim
43735 ac_ct_CXX!$ac_ct_CXX$ac_delim
43736 SET_MAKE!$SET_MAKE$ac_delim
43737 GREP!$GREP$ac_delim
43738 EGREP!$EGREP$ac_delim
43739 LN_S!$LN_S$ac_delim
43740 ECHO!$ECHO$ac_delim
43742 RANLIB!$RANLIB$ac_delim
43743 STRIP!$STRIP$ac_delim
43745 CXXCPP!$CXXCPP$ac_delim
43747 FFLAGS!$FFLAGS$ac_delim
43748 ac_ct_F77!$ac_ct_F77$ac_delim
43749 LIBTOOL!$LIBTOOL$ac_delim
43750 LIBADD_DL!$LIBADD_DL$ac_delim
43751 XMKMF!$XMKMF$ac_delim
43752 X_CFLAGS!$X_CFLAGS$ac_delim
43753 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
43754 X_LIBS!$X_LIBS$ac_delim
43755 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
43756 BX_USE_IDLE_HACK!$BX_USE_IDLE_HACK$ac_delim
43757 DEFINE_PLUGIN_PATH!$DEFINE_PLUGIN_PATH$ac_delim
43758 NONPLUGIN_GUI_LINK_OPTS!$NONPLUGIN_GUI_LINK_OPTS$ac_delim
43759 OBJS64!$OBJS64$ac_delim
43760 IOAPIC_OBJS!$IOAPIC_OBJS$ac_delim
43761 BX_COMPRESSED_HD_SUPPORT!$BX_COMPRESSED_HD_SUPPORT$ac_delim
43762 NE2K_OBJS!$NE2K_OBJS$ac_delim
43763 BX_SUPPORT_ACPI!$BX_SUPPORT_ACPI$ac_delim
43764 PCI_OBJ!$PCI_OBJ$ac_delim
43765 KERNELDIR!$KERNELDIR$ac_delim
43766 LSMOD!$LSMOD$ac_delim
43767 INSMOD!$INSMOD$ac_delim
43768 RMMOD!$RMMOD$ac_delim
43769 DEPMOD!$DEPMOD$ac_delim
43770 PCIDEV_MODULE_MAKE_ALL!$PCIDEV_MODULE_MAKE_ALL$ac_delim
43771 KERNEL_MODULE_SUFFIX!$KERNEL_MODULE_SUFFIX$ac_delim
43772 USBDEV_OBJS!$USBDEV_OBJS$ac_delim
43773 SCSI_OBJS!$SCSI_OBJS$ac_delim
43776 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
43778 elif $ac_last_try; then
43779 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
43780 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
43781 { (exit 1); exit 1; }; }
43783 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
43787 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
43788 if test -n "$ac_eof"; then
43789 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
43790 ac_eof
=`expr $ac_eof + 1`
43793 cat >>$CONFIG_STATUS <<_ACEOF
43794 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
43795 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
43798 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
43799 s/^/s,@/; s/!/@,|#_!!_#|/
43802 s/'"$ac_delim"'$/,g/; t
43804 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
43805 ' >>$CONFIG_STATUS <conf$
$subs.
sed
43806 rm -f conf$
$subs.
sed
43807 cat >>$CONFIG_STATUS <<_ACEOF
43813 for ac_last_try
in false false false false false
:; do
43814 cat >conf$
$subs.
sed <<_ACEOF
43815 NETLOW_OBJS!$NETLOW_OBJS$ac_delim
43816 SUFFIX_LINE!$SUFFIX_LINE$ac_delim
43817 CPP_SUFFIX!$CPP_SUFFIX$ac_delim
43818 DEBUGGER_VAR!$DEBUGGER_VAR$ac_delim
43819 BX_EXTERNAL_DEBUGGER!$BX_EXTERNAL_DEBUGGER$ac_delim
43820 DISASM_VAR!$DISASM_VAR$ac_delim
43821 READLINE_LIB!$READLINE_LIB$ac_delim
43822 INSTRUMENT_DIR!$INSTRUMENT_DIR$ac_delim
43823 INSTRUMENT_VAR!$INSTRUMENT_VAR$ac_delim
43824 FPU_VAR!$FPU_VAR$ac_delim
43825 CDROM_OBJS!$CDROM_OBJS$ac_delim
43826 SB16_OBJS!$SB16_OBJS$ac_delim
43827 SOUNDLOW_OBJS!$SOUNDLOW_OBJS$ac_delim
43828 GAME_OBJS!$GAME_OBJS$ac_delim
43829 GDBSTUB_VAR!$GDBSTUB_VAR$ac_delim
43830 IODEBUG_OBJS!$IODEBUG_OBJS$ac_delim
43831 DOCBOOK2HTML!$DOCBOOK2HTML$ac_delim
43832 BUILD_DOCBOOK_VAR!$BUILD_DOCBOOK_VAR$ac_delim
43833 INSTALL_DOCBOOK_VAR!$INSTALL_DOCBOOK_VAR$ac_delim
43834 IODEV_LIB_VAR!$IODEV_LIB_VAR$ac_delim
43835 EXTRA_BX_OBJS!$EXTRA_BX_OBJS$ac_delim
43836 NONINLINE_VAR!$NONINLINE_VAR$ac_delim
43837 INLINE_VAR!$INLINE_VAR$ac_delim
43838 EXTERNAL_DEPENDENCY!$EXTERNAL_DEPENDENCY$ac_delim
43839 EXT_DEBUG_OBJS!$EXT_DEBUG_OBJS$ac_delim
43840 RC_CMD!$RC_CMD$ac_delim
43841 WX_CONFIG!$WX_CONFIG$ac_delim
43842 XPM_LIB!$XPM_LIB$ac_delim
43843 PKG_CONFIG!$PKG_CONFIG$ac_delim
43844 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
43845 GTK_LIBS!$GTK_LIBS$ac_delim
43846 GUI_CFLAGS!$GUI_CFLAGS$ac_delim
43847 GUI_CXXFLAGS!$GUI_CXXFLAGS$ac_delim
43848 WX_CFLAGS!$WX_CFLAGS$ac_delim
43849 WX_CXXFLAGS!$WX_CXXFLAGS$ac_delim
43850 WGET!$WGET$ac_delim
43851 DIALOG_OBJS!$DIALOG_OBJS$ac_delim
43852 EXPORT_DYNAMIC!$EXPORT_DYNAMIC$ac_delim
43853 PTHREAD_CC!$PTHREAD_CC$ac_delim
43854 PTHREAD_LIBS!$PTHREAD_LIBS$ac_delim
43855 PTHREAD_CFLAGS!$PTHREAD_CFLAGS$ac_delim
43856 INSTALL_TARGET!$INSTALL_TARGET$ac_delim
43857 INSTALL_LIST_FOR_PLATFORM!$INSTALL_LIST_FOR_PLATFORM$ac_delim
43858 RFB_LIBS!$RFB_LIBS$ac_delim
43859 GUI_OBJS!$GUI_OBJS$ac_delim
43860 DEVICE_LINK_OPTS!$DEVICE_LINK_OPTS$ac_delim
43861 GUI_LINK_OPTS!$GUI_LINK_OPTS$ac_delim
43862 GUI_LINK_OPTS_TERM!$GUI_LINK_OPTS_TERM$ac_delim
43863 GUI_LINK_OPTS_WX!$GUI_LINK_OPTS_WX$ac_delim
43864 BXIMAGE_LINK_OPTS!$BXIMAGE_LINK_OPTS$ac_delim
43865 DASH!$DASH$ac_delim
43866 SLASH!$SLASH$ac_delim
43867 CXXFP!$CXXFP$ac_delim
43870 MAKELIB!$MAKELIB$ac_delim
43871 RMCOMMAND!$RMCOMMAND$ac_delim
43872 LINK!$LINK$ac_delim
43873 LINK_CONSOLE!$LINK_CONSOLE$ac_delim
43875 PRIMARY_TARGET!$PRIMARY_TARGET$ac_delim
43876 PLUGIN_LIBNAME_TRANSFORMATION!$PLUGIN_LIBNAME_TRANSFORMATION$ac_delim
43877 COMMAND_SEPARATOR!$COMMAND_SEPARATOR$ac_delim
43878 CD_UP_ONE!$CD_UP_ONE$ac_delim
43879 CD_UP_TWO!$CD_UP_TWO$ac_delim
43880 CD_UP_THREE!$CD_UP_THREE$ac_delim
43881 VERSION!$VERSION$ac_delim
43882 VER_STRING!$VER_STRING$ac_delim
43883 REL_STRING!$REL_STRING$ac_delim
43884 EXTRA_LINK_OPTS!$EXTRA_LINK_OPTS$ac_delim
43885 GUI_NON_PLUGIN_OBJS!$GUI_NON_PLUGIN_OBJS$ac_delim
43886 GUI_PLUGIN_OBJS!$GUI_PLUGIN_OBJS$ac_delim
43887 IODEV_NON_PLUGIN_OBJS!$IODEV_NON_PLUGIN_OBJS$ac_delim
43888 IODEV_PLUGIN_OBJS!$IODEV_PLUGIN_OBJS$ac_delim
43889 PLUGIN_VAR!$PLUGIN_VAR$ac_delim
43890 PLUGIN_TARGET!$PLUGIN_TARGET$ac_delim
43891 INSTALL_PLUGINS_VAR!$INSTALL_PLUGINS_VAR$ac_delim
43892 GZIP!$GZIP$ac_delim
43894 LIBOBJS!$LIBOBJS$ac_delim
43895 LTLIBOBJS!$LTLIBOBJS$ac_delim
43898 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 81; then
43900 elif $ac_last_try; then
43901 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
43902 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
43903 { (exit 1); exit 1; }; }
43905 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
43909 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
43910 if test -n "$ac_eof"; then
43911 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
43912 ac_eof
=`expr $ac_eof + 1`
43915 cat >>$CONFIG_STATUS <<_ACEOF
43916 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
43917 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
43920 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
43921 s/^/s,@/; s/!/@,|#_!!_#|/
43924 s/'"$ac_delim"'$/,g/; t
43926 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
43927 ' >>$CONFIG_STATUS <conf$
$subs.
sed
43928 rm -f conf$
$subs.
sed
43929 cat >>$CONFIG_STATUS <<_ACEOF
43936 # VPATH may cause trouble with some makes, so we remove $(srcdir),
43937 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
43938 # trailing colons and then remove the whole line if VPATH becomes empty
43939 # (actually we leave an empty line to preserve line numbers).
43940 if test "x$srcdir" = x.
; then
43941 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
43942 s/:*\$(srcdir):*/:/
43943 s/:*\${srcdir}:*/:/
43945 s/^\([^=]*=[ ]*\):*/\1/
43951 cat >>$CONFIG_STATUS <<\_ACEOF
43952 fi # test -n "$CONFIG_FILES"
43955 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
43958 :[FHLC
]) ac_mode
=$ac_tag; continue;;
43960 case $ac_mode$ac_tag in
43962 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
43963 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
43964 { (exit 1); exit 1; }; };;
43965 :[FH
]-) ac_tag
=-:-;;
43966 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
43983 -) ac_f
="$tmp/stdin";;
43984 *) # Look for the file first in the build tree, then in the source tree
43985 # (if the path is not absolute). The absolute path cannot be DOS-style,
43986 # because $ac_f cannot contain `:'.
43990 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
43992 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
43993 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
43994 { (exit 1); exit 1; }; };;
43996 ac_file_inputs
="$ac_file_inputs $ac_f"
43999 # Let's still pretend it is `configure' which instantiates (i.e., don't
44000 # use $as_me), people would be surprised to read:
44001 # /* config.h. Generated by config.status. */
44002 configure_input
="Generated from "`IFS=:
44003 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
44004 if test x
"$ac_file" != x-
; then
44005 configure_input
="$ac_file. $configure_input"
44006 { echo "$as_me:$LINENO: creating $ac_file" >&5
44007 echo "$as_me: creating $ac_file" >&6;}
44011 *:-:* |
*:-) cat >"$tmp/stdin";;
44016 ac_dir
=`$as_dirname -- "$ac_file" ||
44017 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44018 X"$ac_file" : 'X\(//\)[^/]' \| \
44019 X"$ac_file" : 'X\(//\)$' \| \
44020 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
44022 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
44026 /^X\(\/\/\)[^/].*/{
44041 -*) as_dir
=.
/$as_dir;;
44043 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
44047 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
44048 *) as_qdir
=$as_dir;;
44050 as_dirs
="'$as_qdir' $as_dirs"
44051 as_dir
=`$as_dirname -- "$as_dir" ||
44052 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44053 X"$as_dir" : 'X\(//\)[^/]' \| \
44054 X"$as_dir" : 'X\(//\)$' \| \
44055 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
44057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
44061 /^X\(\/\/\)[^/].*/{
44074 test -d "$as_dir" && break
44076 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
44077 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
44078 echo "$as_me: error: cannot create directory $as_dir" >&2;}
44079 { (exit 1); exit 1; }; }; }
44083 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
44085 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44086 # A ".." for each directory in $ac_dir_suffix.
44087 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
44088 case $ac_top_builddir_sub in
44089 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
44090 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
44093 ac_abs_top_builddir
=$ac_pwd
44094 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
44095 # for backward compatibility:
44096 ac_top_builddir
=$ac_top_build_prefix
44099 .
) # We are building in place.
44101 ac_top_srcdir
=$ac_top_builddir_sub
44102 ac_abs_top_srcdir
=$ac_pwd ;;
44103 [\\/]* | ?
:[\\/]* ) # Absolute name.
44104 ac_srcdir
=$srcdir$ac_dir_suffix;
44105 ac_top_srcdir
=$srcdir
44106 ac_abs_top_srcdir
=$srcdir ;;
44107 *) # Relative name.
44108 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
44109 ac_top_srcdir
=$ac_top_build_prefix$srcdir
44110 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
44112 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
44123 cat >>$CONFIG_STATUS <<\_ACEOF
44124 # If the template does not know about datarootdir, expand it.
44125 # FIXME: This hack should be removed a few years after 2.60.
44126 ac_datarootdir_hack
=; ac_datarootdir_seen
=
44128 case `sed -n '/datarootdir/ {
44137 ' $ac_file_inputs` in
44138 *datarootdir
*) ac_datarootdir_seen
=yes;;
44139 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
44140 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
44141 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
44143 cat >>$CONFIG_STATUS <<_ACEOF
44144 ac_datarootdir_hack='
44145 s&@datadir@&$datadir&g
44146 s&@docdir@&$docdir&g
44147 s&@infodir@&$infodir&g
44148 s&@localedir@&$localedir&g
44149 s&@mandir@&$mandir&g
44150 s&\\\${datarootdir}&$datarootdir&g' ;;
44154 # Neutralize VPATH when `$srcdir' = `.'.
44155 # Shell code in configure.ac might set extrasub.
44156 # FIXME: do we really want to maintain this feature?
44157 cat >>$CONFIG_STATUS <<_ACEOF
44161 cat >>$CONFIG_STATUS <<\_ACEOF
44163 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
44164 s
&@configure_input@
&$configure_input&;t t
44165 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
44166 s
&@srcdir@
&$ac_srcdir&;t t
44167 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
44168 s
&@top_srcdir@
&$ac_top_srcdir&;t t
44169 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
44170 s
&@builddir@
&$ac_builddir&;t t
44171 s
&@abs_builddir@
&$ac_abs_builddir&;t t
44172 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
44173 $ac_datarootdir_hack
44174 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
44176 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
44177 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
44178 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
44179 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
44180 which seems to be undefined. Please make sure it is defined." >&5
44181 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
44182 which seems to be undefined. Please make sure it is defined." >&2;}
44186 -) cat "$tmp/out"; rm -f "$tmp/out";;
44187 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
44196 # Transform confdefs.h into a sed script `conftest.defines', that
44197 # substitutes the proper values into config.h.in to produce config.h.
44198 rm -f conftest.defines conftest.
tail
44199 # First, append a space to every undef/define line, to ease matching.
44200 echo 's/$/ /' >conftest.defines
44201 # Then, protect against being on the right side of a sed subst, or in
44202 # an unquoted here document, in config.status. If some macros were
44203 # called several times there might be several #defines for the same
44204 # symbol, which is useless. But do not sort them, since the last
44205 # AC_DEFINE must be honored.
44206 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
44207 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
44208 # NAME is the cpp macro being defined, VALUE is the value it is being given.
44209 # PARAMS is the parameter list in the macro definition--in most cases, it's
44210 # just an empty string.
44211 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
44212 ac_dB
='\\)[ (].*,\\1define\\2'
44220 s/^[ ]*#[ ]*define[ ][ ]*//
44225 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
44226 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
44227 ' >>conftest.defines
44229 # Remove the space that was appended to ease matching.
44230 # Then replace #undef with comments. This is necessary, for
44231 # example, in the case of _POSIX_SOURCE, which is predefined and required
44232 # on some systems where configure will not decide to define it.
44233 # (The regexp can be short, since the line contains either #define or #undef.)
44235 s,^[ #]*u.*,/* & */,' >>conftest.defines
44237 # Break up conftest.defines:
44238 ac_max_sed_lines
=50
44240 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
44241 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
44242 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
44244 ac_in
='$ac_file_inputs'
44245 ac_out
='"$tmp/out1"'
44246 ac_nxt
='"$tmp/out2"'
44250 # Write a here document:
44251 cat >>$CONFIG_STATUS <<_ACEOF
44252 # First, check the format of the line:
44253 cat >"\$tmp/defines.sed" <<\\CEOF
44254 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
44255 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
44259 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
44261 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
44262 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
44263 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
44264 grep . conftest.
tail >/dev
/null ||
break
44265 rm -f conftest.defines
44266 mv conftest.
tail conftest.defines
44268 rm -f conftest.defines conftest.
tail
44270 echo "ac_result=$ac_in" >>$CONFIG_STATUS
44271 cat >>$CONFIG_STATUS <<\_ACEOF
44272 if test x
"$ac_file" != x-
; then
44273 echo "/* $configure_input */" >"$tmp/config.h"
44274 cat "$ac_result" >>"$tmp/config.h"
44275 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
44276 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
44277 echo "$as_me: $ac_file is unchanged" >&6;}
44280 mv "$tmp/config.h" $ac_file
44283 echo "/* $configure_input */"
44295 { (exit 0); exit 0; }
44297 chmod +x
$CONFIG_STATUS
44298 ac_clean_files
=$ac_clean_files_save
44301 # configure is writing to config.log, and then calls config.status.
44302 # config.status does its own redirection, appending to config.log.
44303 # Unfortunately, on DOS this fails, as config.log is still kept open
44304 # by configure, so config.status won't be able to write to it; its
44305 # output is simply discarded. So we exec the FD to /dev/null,
44306 # effectively closing config.log, so it can be properly (re)opened and
44307 # appended to by config.status. When coming back to configure, we
44308 # need to make the FD available again.
44309 if test "$no_create" != yes; then
44311 ac_config_status_args
=
44312 test "$silent" = yes &&
44313 ac_config_status_args
="$ac_config_status_args --quiet"
44315 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
44317 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
44318 # would make configure fail if this is the last instruction.
44319 $ac_cs_success ||
{ (exit 1); exit 1; }