2 # From configure.in Id: configure.in,v 1.365 2008/04/05 19:21:52 sshwarts Exp .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be more Bourne compatible
15 DUALCASE
=1; export DUALCASE
# for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
24 case `(set -o) 2>/dev/null` in
25 *posix
*) set -o posix
;;
34 # Avoid depending upon Character Ranges.
35 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
36 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
38 as_cr_digits
='0123456789'
39 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41 # The user is always right.
42 if test "${PATH_SEPARATOR+set}" != set; then
43 echo "#! /bin/sh" >conf$$.sh
44 echo "exit 0" >>conf$$.sh
46 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
54 # Support unset when possible.
55 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
63 # We need space, tab and new line, in precisely that order. Quoting is
64 # there to prevent editors from complaining about space-tab.
65 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66 # splitting by setting IFS to empty value.)
71 # Find who we are. Look in the path if we contain no directory separator.
73 *[\\/]* ) as_myself
=$0 ;;
74 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
78 test -z "$as_dir" && as_dir
=.
79 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
85 # We did not find ourselves, most probably we were run as `sh COMMAND'
86 # in which case we are not to be found in the path.
87 if test "x$as_myself" = x
; then
90 if test ! -f "$as_myself"; then
91 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
95 # Work around bugs in pre-3.0 UWIN ksh.
96 for as_var
in ENV MAIL MAILPATH
97 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
105 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
106 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
110 eval $as_var=C
; export $as_var
112 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
116 # Required to use basename.
117 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
118 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
124 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
131 # Name of the executable.
132 as_me
=`$as_basename -- "$0" ||
133 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
134 X"$0" : 'X\(//\)$' \| \
135 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 sed '/^.*\/\([^/][^/]*\)\/*$/{
155 if test "x$CONFIG_SHELL" = x
; then
156 if (eval ":") 2>/dev
/null
; then
162 if test $as_have_required = yes && (eval ":
172 as_func_ret_success () {
175 as_func_ret_failure () {
180 if as_func_success; then
184 echo as_func_success failed.
187 if as_func_failure; then
189 echo as_func_failure succeeded.
192 if as_func_ret_success; then
196 echo as_func_ret_success failed.
199 if as_func_ret_failure; then
201 echo as_func_ret_failure succeeded.
204 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
208 echo positional parameters were not saved.
211 test \$exitcode = 0) || { (exit 1); exit 1; }
216 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
217 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
218 ") 2> /dev
/null
; then
222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
223 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
226 test -z "$as_dir" && as_dir
=.
229 for as_base
in sh bash ksh sh5
; do
230 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
237 for as_shell
in $as_candidate_shells $SHELL; do
238 # Try only shells that exist, to save several forks.
239 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
240 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
241 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
244 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
245 # is contrary to our usage. Disable this feature.
246 alias -g '${1+"$@"}'='"$@"'
249 case `(set -o) 2>/dev/null` in
250 *posix
*) set -o posix
;;
259 CONFIG_SHELL
=$as_shell
261 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
262 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
265 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
266 # is contrary to our usage. Disable this feature.
267 alias -g '${1+"$@"}'='"$@"'
270 case `(set -o) 2>/dev/null` in
271 *posix
*) set -o posix
;;
287 as_func_ret_success
() {
290 as_func_ret_failure
() {
295 if as_func_success
; then
299 echo as_func_success failed.
302 if as_func_failure
; then
304 echo as_func_failure succeeded.
307 if as_func_ret_success
; then
311 echo as_func_ret_success failed.
314 if as_func_ret_failure
; then
316 echo as_func_ret_failure succeeded.
319 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
323 echo positional parameters were not saved.
326 test $exitcode = 0) ||
{ (exit 1); exit 1; }
331 test "x$as_lineno_1" != "x$as_lineno_2" &&
332 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
343 if test "x$CONFIG_SHELL" != x
; then
344 for as_var
in BASH_ENV ENV
345 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
348 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
352 if test $as_have_required = no
; then
353 echo This
script requires a shell
more modern than all the
354 echo shells that I found on your system. Please
install a
355 echo modern shell
, or manually run the
script under such a
356 echo shell
if you
do have one.
357 { (exit 1); exit 1; }
367 (eval "as_func_return () {
376 as_func_ret_success () {
379 as_func_ret_failure () {
384 if as_func_success; then
388 echo as_func_success failed.
391 if as_func_failure; then
393 echo as_func_failure succeeded.
396 if as_func_ret_success; then
400 echo as_func_ret_success failed.
403 if as_func_ret_failure; then
405 echo as_func_ret_failure succeeded.
408 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
412 echo positional parameters were not saved.
415 test \$exitcode = 0") ||
{
416 echo No shell found that supports shell functions.
417 echo Please tell autoconf@gnu.org about your system
,
418 echo including any error possibly output before this
426 test "x$as_lineno_1" != "x$as_lineno_2" &&
427 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
429 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
430 # uniformly replaced by the line number. The first 'sed' inserts a
431 # line-number line after each line using $LINENO; the second 'sed'
432 # does the real work. The second script uses 'N' to pair each
433 # line-number line with the line containing $LINENO, and appends
434 # trailing '-' during substitution so that $LINENO is not a special
436 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
437 # scripts with optimization help from Paolo Bonzini. Blame Lee
438 # E. McMahon (1931-1989) for sed's syntax. :-)
450 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
454 chmod +x
"$as_me.lineno" ||
455 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
456 { (exit 1); exit 1; }; }
458 # Don't try to exec as it changes $[0], causing all sort of problems
459 # (the dirname of $[0] is not the place where we might find the
460 # original and so on. Autoconf is especially sensitive to this).
462 # Exit status is that of the last command.
467 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
473 ECHO_C
= ECHO_N
= ECHO_T
=
477 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
484 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
485 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
491 rm -f conf$$ conf$$.exe conf$$.
file
492 if test -d conf$$.dir
; then
493 rm -f conf$$.dir
/conf$$.
file
499 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
501 # ... but there are two gotchas:
502 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
503 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
504 # In both cases, we have to default to `cp -p'.
505 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
507 elif ln conf$$.
file conf$$
2>/dev
/null
; then
512 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
513 rmdir conf$$.dir
2>/dev
/null
515 if mkdir
-p .
2>/dev
/null
; then
518 test -d .
/-p && rmdir .
/-p
522 if test -x / >/dev
/null
2>&1; then
525 if ls -dL / >/dev
/null
2>&1; then
532 if test -d "$1"; then
538 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
539 ???[sx]*):;;*)false;;esac;fi
543 as_executable_p
=$as_test_x
545 # Sed expression to map a string onto a valid CPP name.
546 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548 # Sed expression to map a string onto a valid variable name.
549 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 # Check that we are running under the correct shell.
555 SHELL
=${CONFIG_SHELL-/bin/sh}
559 # Remove one level of quotation (which was required for Make).
560 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
565 if test "X$1" = X--no-reexec
; then
566 # Discard the --no-reexec flag, and continue.
568 elif test "X$1" = X--fallback-echo
; then
569 # Avoid inline document here, it may be left over
571 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
572 # Yippee, $echo works!
575 # Restart under the correct shell.
576 exec $SHELL "$0" --no-reexec ${1+"$@"}
579 if test "X$1" = X--fallback-echo
; then
580 # used as fallback echo
588 # The HP-UX ksh and POSIX shell print the target directory to stdout
590 if test "X${CDPATH+set}" = Xset
; then CDPATH
=:; export CDPATH
; fi
592 if test -z "$ECHO"; then
593 if test "X${echo_test_string+set}" != Xset
; then
594 # find a string as large as possible, as long as the shell can cope with it
595 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
596 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
597 if (echo_test_string
="`eval $cmd`") 2>/dev
/null
&&
598 echo_test_string
="`eval $cmd`" &&
599 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
606 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
607 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
608 test "X$echo_testing_string" = "X$echo_test_string"; then
611 # The Solaris, AIX, and Digital Unix default echo programs unquote
612 # backslashes. This makes it impossible to quote backslashes using
613 # echo "$something" | sed 's/\\/\\\\/g'
615 # So, first we look for a working echo in the user's PATH.
617 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
618 for dir
in $PATH /usr
/ucb
; do
620 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
621 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
622 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
623 test "X$echo_testing_string" = "X$echo_test_string"; then
630 if test "X$echo" = Xecho
; then
631 # We didn't find a better echo, so look for alternatives.
632 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
633 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 # This shell has a builtin print -r that does the trick.
637 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
638 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
639 # If we have ksh, try running configure again with it.
640 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
641 export ORIGINAL_CONFIG_SHELL
642 CONFIG_SHELL
=/bin
/ksh
644 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
648 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
649 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
650 test "X$echo_testing_string" = "X$echo_test_string"; then
653 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
654 test "X$echo_testing_string" = 'X\t' &&
655 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
656 test "X$echo_testing_string" = "X$echo_test_string"; then
657 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
659 SHELL
="$CONFIG_SHELL"
661 echo="$CONFIG_SHELL $0 --fallback-echo"
662 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
663 test "X$echo_testing_string" = 'X\t' &&
664 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
665 test "X$echo_testing_string" = "X$echo_test_string"; then
666 echo="$CONFIG_SHELL $0 --fallback-echo"
668 # maybe with a smaller string...
671 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
672 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
679 if test "$prev" != 'sed 50q "$0"'; then
680 echo_test_string
=`eval $prev`
681 export echo_test_string
682 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
684 # Oops. We lost completely, so just stick with echo.
693 # Copy echo and quote the copy suitably for passing to libtool from
694 # the Makefile, instead of quoting the original, which is used later.
696 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
697 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
703 tagnames
=${tagnames+${tagnames},}CXX
705 tagnames
=${tagnames+${tagnames},}F77
707 exec 7<&0 </dev
/null
6>&1
710 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
711 # so uname gets run too.
712 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
717 ac_default_prefix
=/usr
/local
719 ac_config_libobj_dir
=.
725 SHELL
=${CONFIG_SHELL-/bin/sh}
727 # Identity of this package.
734 ac_unique_file
="bochs.h"
735 # Factoring default headers for most tests.
736 ac_includes_default
="\
738 #ifdef HAVE_SYS_TYPES_H
739 # include <sys/types.h>
741 #ifdef HAVE_SYS_STAT_H
742 # include <sys/stat.h>
748 # ifdef HAVE_STDLIB_H
753 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
758 #ifdef HAVE_STRINGS_H
759 # include <strings.h>
761 #ifdef HAVE_INTTYPES_H
762 # include <inttypes.h>
780 program_transform_name
852 NONPLUGIN_GUI_LINK_OPTS
855 BX_COMPRESSED_HD_SUPPORT
864 PCIDEV_MODULE_MAKE_ALL
910 INSTALL_LIST_FOR_PLATFORM
929 PLUGIN_LIBNAME_TRANSFORMATION
941 IODEV_NON_PLUGIN_OBJS
951 ac_precious_vars
='build_alias
972 # Initialize some variables set by options.
974 ac_init_version
=false
975 # The variables have the same names as the options, with
976 # dashes changed to underlines.
984 program_transform_name
=s
,x
,x
,
992 # Installation directory options.
993 # These are left unexpanded so users can "make install exec_prefix=/foo"
994 # and all the variables that are supposed to be based on exec_prefix
995 # by default will actually change.
996 # Use braces instead of parens because sh, perl, etc. also accept them.
997 # (The list follows the same order as the GNU Coding Standards.)
998 bindir
='${exec_prefix}/bin'
999 sbindir
='${exec_prefix}/sbin'
1000 libexecdir
='${exec_prefix}/libexec'
1001 datarootdir
='${prefix}/share'
1002 datadir
='${datarootdir}'
1003 sysconfdir
='${prefix}/etc'
1004 sharedstatedir
='${prefix}/com'
1005 localstatedir
='${prefix}/var'
1006 includedir
='${prefix}/include'
1007 oldincludedir
='/usr/include'
1008 docdir
='${datarootdir}/doc/${PACKAGE}'
1009 infodir
='${datarootdir}/info'
1014 libdir
='${exec_prefix}/lib'
1015 localedir
='${datarootdir}/locale'
1016 mandir
='${datarootdir}/man'
1022 # If the previous option needs an argument, assign it.
1023 if test -n "$ac_prev"; then
1024 eval $ac_prev=\
$ac_option
1030 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1034 # Accept the important Cygnus configure options, so we can diagnose typos.
1036 case $ac_dashdash$ac_option in
1040 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1042 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1043 bindir
=$ac_optarg ;;
1045 -build |
--build |
--buil |
--bui |
--bu)
1046 ac_prev
=build_alias
;;
1047 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1048 build_alias
=$ac_optarg ;;
1050 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1051 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1052 ac_prev
=cache_file
;;
1053 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1054 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1055 cache_file
=$ac_optarg ;;
1057 --config-cache |
-C)
1058 cache_file
=config.cache
;;
1060 -datadir |
--datadir |
--datadi |
--datad)
1062 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1063 datadir
=$ac_optarg ;;
1065 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1066 |
--dataroo |
--dataro |
--datar)
1067 ac_prev
=datarootdir
;;
1068 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1069 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1070 datarootdir
=$ac_optarg ;;
1072 -disable-* |
--disable-*)
1073 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1074 # Reject names that are not valid shell variable names.
1075 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1076 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1077 { (exit 1); exit 1; }; }
1078 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1079 eval enable_
$ac_feature=no
;;
1081 -docdir |
--docdir |
--docdi |
--doc |
--do)
1083 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1084 docdir
=$ac_optarg ;;
1086 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1088 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1089 dvidir
=$ac_optarg ;;
1091 -enable-* |
--enable-*)
1092 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1093 # Reject names that are not valid shell variable names.
1094 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1095 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1096 { (exit 1); exit 1; }; }
1097 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1098 eval enable_
$ac_feature=\
$ac_optarg ;;
1100 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1101 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1102 |
--exec |
--exe |
--ex)
1103 ac_prev
=exec_prefix
;;
1104 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1105 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1106 |
--exec=* |
--exe=* |
--ex=*)
1107 exec_prefix
=$ac_optarg ;;
1109 -gas |
--gas |
--ga |
--g)
1110 # Obsolete; use --with-gas.
1113 -help |
--help |
--hel |
--he |
-h)
1114 ac_init_help
=long
;;
1115 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1116 ac_init_help
=recursive
;;
1117 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1118 ac_init_help
=short
;;
1120 -host |
--host |
--hos |
--ho)
1121 ac_prev
=host_alias
;;
1122 -host=* |
--host=* |
--hos=* |
--ho=*)
1123 host_alias
=$ac_optarg ;;
1125 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1127 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1129 htmldir
=$ac_optarg ;;
1131 -includedir |
--includedir |
--includedi |
--included |
--include \
1132 |
--includ |
--inclu |
--incl |
--inc)
1133 ac_prev
=includedir
;;
1134 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1135 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1136 includedir
=$ac_optarg ;;
1138 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1140 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1141 infodir
=$ac_optarg ;;
1143 -libdir |
--libdir |
--libdi |
--libd)
1145 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1146 libdir
=$ac_optarg ;;
1148 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1149 |
--libexe |
--libex |
--libe)
1150 ac_prev
=libexecdir
;;
1151 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1152 |
--libexe=* |
--libex=* |
--libe=*)
1153 libexecdir
=$ac_optarg ;;
1155 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1156 ac_prev
=localedir
;;
1157 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1158 localedir
=$ac_optarg ;;
1160 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1161 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1162 ac_prev
=localstatedir
;;
1163 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1164 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1165 localstatedir
=$ac_optarg ;;
1167 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1169 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1170 mandir
=$ac_optarg ;;
1172 -nfp |
--nfp |
--nf)
1173 # Obsolete; use --without-fp.
1176 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1177 |
--no-cr |
--no-c |
-n)
1180 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1181 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1184 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1185 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1186 |
--oldin |
--oldi |
--old |
--ol |
--o)
1187 ac_prev
=oldincludedir
;;
1188 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1189 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1190 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1191 oldincludedir
=$ac_optarg ;;
1193 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1195 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1196 prefix
=$ac_optarg ;;
1198 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1199 |
--program-pre |
--program-pr |
--program-p)
1200 ac_prev
=program_prefix
;;
1201 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1202 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1203 program_prefix
=$ac_optarg ;;
1205 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1206 |
--program-suf |
--program-su |
--program-s)
1207 ac_prev
=program_suffix
;;
1208 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1209 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1210 program_suffix
=$ac_optarg ;;
1212 -program-transform-name |
--program-transform-name \
1213 |
--program-transform-nam |
--program-transform-na \
1214 |
--program-transform-n |
--program-transform- \
1215 |
--program-transform |
--program-transfor \
1216 |
--program-transfo |
--program-transf \
1217 |
--program-trans |
--program-tran \
1218 |
--progr-tra |
--program-tr |
--program-t)
1219 ac_prev
=program_transform_name
;;
1220 -program-transform-name=* |
--program-transform-name=* \
1221 |
--program-transform-nam=* |
--program-transform-na=* \
1222 |
--program-transform-n=* |
--program-transform-=* \
1223 |
--program-transform=* |
--program-transfor=* \
1224 |
--program-transfo=* |
--program-transf=* \
1225 |
--program-trans=* |
--program-tran=* \
1226 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1227 program_transform_name
=$ac_optarg ;;
1229 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1231 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1232 pdfdir
=$ac_optarg ;;
1234 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1236 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1239 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1240 |
-silent |
--silent |
--silen |
--sile |
--sil)
1243 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1245 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1247 sbindir
=$ac_optarg ;;
1249 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1250 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1251 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1253 ac_prev
=sharedstatedir
;;
1254 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1255 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1256 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1258 sharedstatedir
=$ac_optarg ;;
1260 -site |
--site |
--sit)
1262 -site=* |
--site=* |
--sit=*)
1265 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1267 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1268 srcdir
=$ac_optarg ;;
1270 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1271 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1272 ac_prev
=sysconfdir
;;
1273 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1274 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1275 sysconfdir
=$ac_optarg ;;
1277 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1278 ac_prev
=target_alias
;;
1279 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1280 target_alias
=$ac_optarg ;;
1282 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1285 -version |
--version |
--versio |
--versi |
--vers |
-V)
1286 ac_init_version
=: ;;
1289 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1290 # Reject names that are not valid shell variable names.
1291 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1292 { echo "$as_me: error: invalid package name: $ac_package" >&2
1293 { (exit 1); exit 1; }; }
1294 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1295 eval with_
$ac_package=\
$ac_optarg ;;
1297 -without-* |
--without-*)
1298 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1299 # Reject names that are not valid shell variable names.
1300 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1301 { echo "$as_me: error: invalid package name: $ac_package" >&2
1302 { (exit 1); exit 1; }; }
1303 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1304 eval with_
$ac_package=no
;;
1307 # Obsolete; use --with-x.
1310 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1311 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1312 ac_prev
=x_includes
;;
1313 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1314 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1315 x_includes
=$ac_optarg ;;
1317 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1318 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1319 ac_prev
=x_libraries
;;
1320 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1321 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1322 x_libraries
=$ac_optarg ;;
1324 -*) { echo "$as_me: error: unrecognized option: $ac_option
1325 Try \`$0 --help' for more information." >&2
1326 { (exit 1); exit 1; }; }
1330 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1331 # Reject names that are not valid shell variable names.
1332 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1333 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1334 { (exit 1); exit 1; }; }
1335 eval $ac_envvar=\
$ac_optarg
1336 export $ac_envvar ;;
1339 # FIXME: should be removed in autoconf 3.0.
1340 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1341 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1342 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1343 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1349 if test -n "$ac_prev"; then
1350 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1351 { echo "$as_me: error: missing argument to $ac_option" >&2
1352 { (exit 1); exit 1; }; }
1355 # Be sure to have absolute directory names.
1356 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1357 datadir sysconfdir sharedstatedir localstatedir includedir \
1358 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1359 libdir localedir mandir
1361 eval ac_val
=\$
$ac_var
1363 [\\/$
]* | ?
:[\\/]* ) continue;;
1364 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1366 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1367 { (exit 1); exit 1; }; }
1370 # There might be people who depend on the old broken behavior: `$host'
1371 # used to hold the argument of --host etc.
1372 # FIXME: To remove some day.
1375 target
=$target_alias
1377 # FIXME: To remove some day.
1378 if test "x$host_alias" != x
; then
1379 if test "x$build_alias" = x
; then
1380 cross_compiling
=maybe
1381 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1382 If a cross compiler is detected then cross compile mode will be used." >&2
1383 elif test "x$build_alias" != "x$host_alias"; then
1389 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1391 test "$silent" = yes && exec 6>/dev
/null
1394 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1395 ac_ls_di
=`ls -di .` &&
1396 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1397 { echo "$as_me: error: Working directory cannot be determined" >&2
1398 { (exit 1); exit 1; }; }
1399 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1400 { echo "$as_me: error: pwd does not report name of working directory" >&2
1401 { (exit 1); exit 1; }; }
1404 # Find the source files, if location was not specified.
1405 if test -z "$srcdir"; then
1406 ac_srcdir_defaulted
=yes
1407 # Try the directory containing this script, then the parent directory.
1408 ac_confdir
=`$as_dirname -- "$0" ||
1409 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1410 X"$0" : 'X\(//\)[^/]' \| \
1411 X"$0" : 'X\(//\)$' \| \
1412 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1432 if test ! -r "$srcdir/$ac_unique_file"; then
1436 ac_srcdir_defaulted
=no
1438 if test ! -r "$srcdir/$ac_unique_file"; then
1439 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1440 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1441 { (exit 1); exit 1; }; }
1443 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1445 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1446 { (exit 1); exit 1; }; }
1448 # When building in place, set srcdir=.
1449 if test "$ac_abs_confdir" = "$ac_pwd"; then
1452 # Remove unnecessary trailing slashes from srcdir.
1453 # Double slashes in file names in object file debugging info
1454 # mess up M-x gdb in Emacs.
1456 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1458 for ac_var
in $ac_precious_vars; do
1459 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1460 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1461 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1462 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1466 # Report the --help message.
1468 if test "$ac_init_help" = "long"; then
1469 # Omit some internal or obsolete options to make the list less imposing.
1470 # This message is too long to be a string in the A/UX 3.1 sh.
1472 \`configure' configures this package to adapt to many kinds of systems.
1474 Usage: $0 [OPTION]... [VAR=VALUE]...
1476 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1477 VAR=VALUE. See below for descriptions of some of the useful variables.
1479 Defaults for the options are specified in brackets.
1482 -h, --help display this help and exit
1483 --help=short display options specific to this package
1484 --help=recursive display the short help of all the included packages
1485 -V, --version display version information and exit
1486 -q, --quiet, --silent do not print \`checking...' messages
1487 --cache-file=FILE cache test results in FILE [disabled]
1488 -C, --config-cache alias for \`--cache-file=config.cache'
1489 -n, --no-create do not create output files
1490 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1492 Installation directories:
1493 --prefix=PREFIX install architecture-independent files in PREFIX
1494 [$ac_default_prefix]
1495 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1498 By default, \`make install' will install all the files in
1499 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1500 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1501 for instance \`--prefix=\$HOME'.
1503 For better control, use the options below.
1505 Fine tuning of the installation directories:
1506 --bindir=DIR user executables [EPREFIX/bin]
1507 --sbindir=DIR system admin executables [EPREFIX/sbin]
1508 --libexecdir=DIR program executables [EPREFIX/libexec]
1509 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1510 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1511 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1512 --libdir=DIR object code libraries [EPREFIX/lib]
1513 --includedir=DIR C header files [PREFIX/include]
1514 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1515 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1516 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1517 --infodir=DIR info documentation [DATAROOTDIR/info]
1518 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1519 --mandir=DIR man documentation [DATAROOTDIR/man]
1520 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1521 --htmldir=DIR html documentation [DOCDIR]
1522 --dvidir=DIR dvi documentation [DOCDIR]
1523 --pdfdir=DIR pdf documentation [DOCDIR]
1524 --psdir=DIR ps documentation [DOCDIR]
1530 --x-includes=DIR X include files are
in DIR
1531 --x-libraries=DIR X library files are
in DIR
1534 --build=BUILD configure
for building on BUILD
[guessed
]
1535 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1536 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1540 if test -n "$ac_init_help"; then
1545 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1546 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1547 --enable-static[=PKGS
] build static libraries
[default
=no
]
1548 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1549 --enable-fast-install[=PKGS
]
1550 optimize
for fast installation
[default
=yes]
1551 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1552 --enable-ltdl-install install libltdl
1553 --disable-largefile omit support
for large files
1554 --enable-idle-hack use Roland Mainz
's idle hack
1555 --enable-plugins enable plugins
1556 --enable-x86-64 compile in support for x86-64 instructions
1557 --enable-smp compile in support for SMP configurations
1558 --enable-cpu-level select cpu level (3,4,5,6)
1559 --enable-apic enable APIC support
1560 --enable-compressed-hd allows compressed (zlib) hard disk image (not implemented yet)
1561 --enable-ne2000 enable limited ne2000 support
1562 --enable-acpi enable ACPI support
1563 --enable-pci enable limited i440FX PCI support
1564 --enable-pcidev enable PCI host device mapping support (linux host only)
1565 --enable-usb enable limited USB support
1566 --enable-pnic enable PCI pseudo NIC support
1567 --enable-large-pages support for large pages (2M/4M pages)
1568 --enable-pae support Physical Address Extensions
1569 --enable-global-pages support for global pages in PDE/PTE
1570 --enable-mtrr support for MTRRs
1571 --enable-guest2host-tlb support guest to host addr TLB for speed
1572 --enable-repeat-speedups support repeated IO and mem copy speedups
1573 --enable-trace-cache support instruction trace cache
1574 --enable-icache support instruction cache
1575 --enable-fast-function-calls support for fast function calls (gcc on x86 only)
1576 --enable-host-specific-asms support for host specific inline assembly
1577 --enable-ignore-bad-msr ignore bad MSR references
1578 --enable-port-e9-hack writes to port e9 go to console
1579 --enable-show-ips show IPS in Bochs log file
1580 --enable-cpp use .cpp as C++ suffix
1581 --enable-debugger compile in support for Bochs internal debugger
1582 --enable-external-debugger enable external debugger support (win32 only)
1583 --enable-disasm compile in support for disassembler
1584 --enable-all-optimizations compile in all possible optimizations
1585 --enable-readline use readline library, if available
1586 --enable-instrumentation compile in support for instrumentation
1587 --enable-logging enable logging
1588 --enable-raw-serial use raw serial port access
1589 --enable-vbe use VESA BIOS extensions
1590 --enable-clgd54xx enable CLGD54XX emulation
1591 --enable-fpu compile in FPU emulation
1592 --enable-vme virtual 8086 mode extensions
1593 --enable-mmx MMX support
1594 --enable-3dnow 3DNow! support
1595 --enable-sse SSE support (--enable-sse=no|1|2|3|4)
1596 --enable-sse-extension support for SSE extensions
1597 --enable-daz denormals-are-zeroes support
1598 --enable-xsave support for XSAVE/XRSTOR extensions
1599 --enable-alignment-check alignment check (#AC) support
1600 --enable-misaligned-sse misaligned SSE support
1601 --enable-sep SYSENTER/SYSEXIT support
1602 --enable-popcnt support for POPCNT instruction
1603 --enable-monitor-mwait support for MONITOR/MWAIT instructions (experimental)
1604 --enable-x86-debugger x86 debugger support
1605 --enable-cdrom CDROM support
1606 --enable-sb16=xxx Sound Blaster 16 Support (xxx=dummy|win|linux|freebsd|osx)
1607 --enable-gameport enable standard PC gameport support
1608 --enable-gdb-stub enable gdb stub support
1609 --enable-iodebug enable I/O interface to debugger
1610 --enable-docbook build the Docbook documentation
1611 --enable-xpm enable the check for XPM support
1612 --enable-magic-breakpoints enables magic breakpoints (deprecated)
1613 --enable-save-restore enables save/restore (deprecated)
1616 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1617 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1618 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1619 --with-pic try to use only PIC/non-PIC objects [default=use
1621 --with-tags[=TAGS] include additional configurations [automatic]
1622 --with-x use the X Window System
1623 --with-x11 use X11 GUI
1624 --with-beos use BeOS GUI
1625 --with-win32 use Win32 GUI
1626 --with-macos use Macintosh/CodeWarrior environment
1627 --with-carbon compile for MacOS X with Carbon GUI
1628 --with-nogui no native GUI, just use blank stubs
1629 --with-term textmode terminal environment
1630 --with-rfb use RFB protocol, works with VNC viewer
1631 --with-amigaos use AmigaOS (or MorphOS) GUI
1632 --with-sdl use SDL libraries
1633 --with-svga use SVGALib libraries
1634 --with-wx use wxWidgets libraries
1635 --with-all-libs compile all guis that Bochs supports
1637 Some influential environment variables:
1638 CC C compiler command
1639 CFLAGS C compiler flags
1640 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1641 nonstandard directory <lib dir>
1642 LIBS libraries to pass to the linker, e.g. -l<library>
1643 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1644 you have headers in a nonstandard directory <include dir>
1645 CXX C++ compiler command
1646 CXXFLAGS C++ compiler flags
1648 CXXCPP C++ preprocessor
1649 F77 Fortran 77 compiler command
1650 FFLAGS Fortran 77 compiler flags
1651 XMKMF Path to xmkmf, Makefile generator for X Window System
1652 PKG_CONFIG path to pkg-config utility
1653 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1654 GTK_LIBS linker flags for GTK, overriding pkg-config
1656 Use these variables to override the choices made by `configure' or to
help
1657 it to
find libraries and programs with nonstandard names
/locations.
1663 if test "$ac_init_help" = "recursive"; then
1664 # If there are subdirs, report their specific --help.
1665 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1666 test -d "$ac_dir" ||
continue
1670 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1672 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1673 # A ".." for each directory in $ac_dir_suffix.
1674 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1675 case $ac_top_builddir_sub in
1676 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1677 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1680 ac_abs_top_builddir
=$ac_pwd
1681 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1682 # for backward compatibility:
1683 ac_top_builddir
=$ac_top_build_prefix
1686 .
) # We are building in place.
1688 ac_top_srcdir
=$ac_top_builddir_sub
1689 ac_abs_top_srcdir
=$ac_pwd ;;
1690 [\\/]* | ?
:[\\/]* ) # Absolute name.
1691 ac_srcdir
=$srcdir$ac_dir_suffix;
1692 ac_top_srcdir
=$srcdir
1693 ac_abs_top_srcdir
=$srcdir ;;
1695 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1696 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1697 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1699 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1701 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1702 # Check for guested configure.
1703 if test -f "$ac_srcdir/configure.gnu"; then
1705 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1706 elif test -f "$ac_srcdir/configure"; then
1708 $SHELL "$ac_srcdir/configure" --help=recursive
1710 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1712 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1716 test -n "$ac_init_help" && exit $ac_status
1717 if $ac_init_version; then
1720 generated by GNU Autoconf
2.61
1722 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1723 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1724 This configure
script is free software
; the Free Software Foundation
1725 gives unlimited permission to copy
, distribute and modify it.
1729 cat >config.log
<<_ACEOF
1730 This file contains any messages produced by compilers while
1731 running configure, to aid debugging if configure makes a mistake.
1733 It was created by $as_me, which was
1734 generated by GNU Autoconf 2.61. Invocation command line was
1746 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1747 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1748 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1749 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1750 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1752 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1753 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1755 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1756 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1757 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1758 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1759 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1760 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1761 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1769 test -z "$as_dir" && as_dir
=.
1770 echo "PATH: $as_dir"
1786 # Keep a trace of the command line.
1787 # Strip out --no-create and --no-recursion so they do not pile up.
1788 # Strip out --silent because we don't want to record it for future runs.
1789 # Also quote any args containing shell meta-characters.
1790 # Make two passes to allow for proper duplicate-argument suppression.
1794 ac_must_keep_next
=false
1800 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1801 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1802 |
-silent |
--silent |
--silen |
--sile |
--sil)
1805 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1808 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1810 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1811 if test $ac_must_keep_next = true
; then
1812 ac_must_keep_next
=false
# Got value, back to normal.
1815 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1816 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1817 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1818 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1819 case "$ac_configure_args0 " in
1820 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1823 -* ) ac_must_keep_next
=true
;;
1826 ac_configure_args
="$ac_configure_args '$ac_arg'"
1831 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1832 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1834 # When interrupted or exit'd, cleanup temporary files, and complete
1835 # config.log. We remove comments because anyway the quotes in there
1836 # would cause problems or look ugly.
1837 # WARNING: Use '\'' to represent an apostrophe within the trap.
1838 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1839 trap 'exit_status=$?
1840 # Save into config.log some information that might help in debugging.
1845 ## ---------------- ##
1846 ## Cache variables. ##
1847 ## ---------------- ##
1850 # The following way of writing the cache mishandles newlines in values,
1852 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1853 eval ac_val=\$$ac_var
1857 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1858 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1861 _ | IFS | as_nl) ;; #(
1862 *) $as_unset $ac_var ;;
1867 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1868 *${as_nl}ac_space=\ *)
1870 "s/'\''/'\''\\\\'\'''\''/g;
1871 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1874 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1882 ## ----------------- ##
1883 ## Output variables. ##
1884 ## ----------------- ##
1887 for ac_var in $ac_subst_vars
1889 eval ac_val=\$$ac_var
1891 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1893 echo "$ac_var='\''$ac_val'\''"
1897 if test -n "$ac_subst_files"; then
1899 ## ------------------- ##
1900 ## File substitutions. ##
1901 ## ------------------- ##
1904 for ac_var
in $ac_subst_files
1906 eval ac_val
=\$
$ac_var
1908 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1910 echo "$ac_var='\''$ac_val'\''"
1915 if test -s confdefs.h; then
1925 test "$ac_signal" != 0 &&
1926 echo "$as_me: caught signal $ac_signal"
1927 echo "$as_me: exit $exit_status"
1929 rm -f core *.core core.conftest.* &&
1930 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1933 for ac_signal
in 1 2 13 15; do
1934 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1938 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1939 rm -f -r conftest
* confdefs.h
1941 # Predefined preprocessor variables.
1943 cat >>confdefs.h
<<_ACEOF
1944 #define PACKAGE_NAME "$PACKAGE_NAME"
1948 cat >>confdefs.h
<<_ACEOF
1949 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1953 cat >>confdefs.h
<<_ACEOF
1954 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1958 cat >>confdefs.h
<<_ACEOF
1959 #define PACKAGE_STRING "$PACKAGE_STRING"
1963 cat >>confdefs.h
<<_ACEOF
1964 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1968 # Let the site file select an alternate cache file if it wants to.
1969 # Prefer explicitly selected file to automatically selected ones.
1970 if test -n "$CONFIG_SITE"; then
1971 set x
"$CONFIG_SITE"
1972 elif test "x$prefix" != xNONE
; then
1973 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1975 set x
"$ac_default_prefix/share/config.site" \
1976 "$ac_default_prefix/etc/config.site"
1981 if test -r "$ac_site_file"; then
1982 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1983 echo "$as_me: loading site script $ac_site_file" >&6;}
1984 sed 's/^/| /' "$ac_site_file" >&5
1989 if test -r "$cache_file"; then
1990 # Some versions of bash will fail to source /dev/null (special
1991 # files actually), so we avoid doing that.
1992 if test -f "$cache_file"; then
1993 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1994 echo "$as_me: loading cache $cache_file" >&6;}
1996 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1997 *) .
"./$cache_file";;
2001 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2002 echo "$as_me: creating cache $cache_file" >&6;}
2006 # Check that the precious variables saved in the cache have kept the same
2008 ac_cache_corrupted
=false
2009 for ac_var
in $ac_precious_vars; do
2010 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2011 eval ac_new_set
=\
$ac_env_${ac_var}_set
2012 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2013 eval ac_new_val
=\
$ac_env_${ac_var}_value
2014 case $ac_old_set,$ac_new_set in
2016 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2017 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2018 ac_cache_corrupted
=: ;;
2020 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2021 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2022 ac_cache_corrupted
=: ;;
2025 if test "x$ac_old_val" != "x$ac_new_val"; then
2026 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2027 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2028 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2029 echo "$as_me: former value: $ac_old_val" >&2;}
2030 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2031 echo "$as_me: current value: $ac_new_val" >&2;}
2032 ac_cache_corrupted
=:
2035 # Pass precious variables to config.status.
2036 if test "$ac_new_set" = set; then
2038 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2039 *) ac_arg
=$ac_var=$ac_new_val ;;
2041 case " $ac_configure_args " in
2042 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2043 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2047 if $ac_cache_corrupted; then
2048 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2049 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2050 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2051 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2052 { (exit 1); exit 1; }; }
2072 ac_cpp
='$CPP $CPPFLAGS'
2073 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2074 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2075 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2079 ac_config_headers
="$ac_config_headers config.h"
2081 ac_config_headers
="$ac_config_headers ltdlconf.h"
2085 VER_STRING
="2.3.6.cvs"
2086 WIN_VER_STRING
="2, 3, 6, 1"
2087 REL_STRING
="Build from CVS snapshot, after release 2.3.6"
2093 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2094 if test -f "$ac_dir/install-sh"; then
2096 ac_install_sh
="$ac_aux_dir/install-sh -c"
2098 elif test -f "$ac_dir/install.sh"; then
2100 ac_install_sh
="$ac_aux_dir/install.sh -c"
2102 elif test -f "$ac_dir/shtool"; then
2104 ac_install_sh
="$ac_aux_dir/shtool install -c"
2108 if test -z "$ac_aux_dir"; then
2109 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2110 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2111 { (exit 1); exit 1; }; }
2114 # These three variables are undocumented and unsupported,
2115 # and are intended to be withdrawn in a future Autoconf release.
2116 # They can cause serious problems if a builder's source tree is in a directory
2117 # whose full name contains unusual characters.
2118 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2119 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2120 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2123 # Make sure we can run config.sub.
2124 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2125 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2126 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2127 { (exit 1); exit 1; }; }
2129 { echo "$as_me:$LINENO: checking build system type" >&5
2130 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2131 if test "${ac_cv_build+set}" = set; then
2132 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 ac_build_alias
=$build_alias
2135 test "x$ac_build_alias" = x
&&
2136 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2137 test "x$ac_build_alias" = x
&&
2138 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2139 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2140 { (exit 1); exit 1; }; }
2141 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2142 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2143 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2144 { (exit 1); exit 1; }; }
2147 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2148 echo "${ECHO_T}$ac_cv_build" >&6; }
2149 case $ac_cv_build in
2151 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2152 echo "$as_me: error: invalid value of canonical build" >&2;}
2153 { (exit 1); exit 1; }; };;
2156 ac_save_IFS
=$IFS; IFS
='-'
2162 # Remember, the first character of IFS is used to create $*,
2163 # except with old shells:
2166 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2169 { echo "$as_me:$LINENO: checking host system type" >&5
2170 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2171 if test "${ac_cv_host+set}" = set; then
2172 echo $ECHO_N "(cached) $ECHO_C" >&6
2174 if test "x$host_alias" = x
; then
2175 ac_cv_host
=$ac_cv_build
2177 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2178 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2179 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2180 { (exit 1); exit 1; }; }
2184 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2185 echo "${ECHO_T}$ac_cv_host" >&6; }
2188 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2189 echo "$as_me: error: invalid value of canonical host" >&2;}
2190 { (exit 1); exit 1; }; };;
2193 ac_save_IFS
=$IFS; IFS
='-'
2199 # Remember, the first character of IFS is used to create $*,
2200 # except with old shells:
2203 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2206 { echo "$as_me:$LINENO: checking target system type" >&5
2207 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2208 if test "${ac_cv_target+set}" = set; then
2209 echo $ECHO_N "(cached) $ECHO_C" >&6
2211 if test "x$target_alias" = x
; then
2212 ac_cv_target
=$ac_cv_host
2214 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2215 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2216 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2217 { (exit 1); exit 1; }; }
2221 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2222 echo "${ECHO_T}$ac_cv_target" >&6; }
2223 case $ac_cv_target in
2225 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2226 echo "$as_me: error: invalid value of canonical target" >&2;}
2227 { (exit 1); exit 1; }; };;
2229 target
=$ac_cv_target
2230 ac_save_IFS
=$IFS; IFS
='-'
2236 # Remember, the first character of IFS is used to create $*,
2237 # except with old shells:
2240 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2243 # The aliases save the names the user supplied, while $host etc.
2244 # will get canonicalized.
2245 test -n "$target_alias" &&
2246 test "$program_prefix$program_suffix$program_transform_name" = \
2248 program_prefix
=${target_alias}-
2250 { echo "$as_me:$LINENO: checking if you are configuring for another platform" >&5
2251 echo $ECHO_N "checking if you are configuring for another platform... $ECHO_C" >&6; }
2252 if test "$cross_compiling" = yes -o "$target_os" = "windows"; then
2253 { echo "$as_me:$LINENO: result: yes" >&5
2254 echo "${ECHO_T}yes" >&6; }
2257 { echo "$as_me:$LINENO: result: no" >&5
2258 echo "${ECHO_T}no" >&6; }
2262 # this case statement defines the compile flags which are needed to
2263 # compile bochs on a platform. Don't put things like optimization settings
2264 # into the configure.in file, since people will want to be able to change
2265 # those settings by defining CFLAGS and CXXFLAGS before running configure.
2267 need_dlcompat_for_plugins
=0
2269 *-pc-windows* |
*-pc-winnt*)
2270 DEFAULT_GUI
=win32
# default to win32 gui
2272 *-pc-cygwin* |
*-pc-mingw32*)
2273 NO_LT
=1 # do not use libtool at all on cygwin
2274 if test "$with_term" = yes; then
2275 # ncurses won't compile with -mno-cygwin or -DWIN32
2276 # also, I can't get it to link without this -DBROKEN_LINKER=1 hack.
2277 # see /usr/include/curses.h for details.
2278 ADD_FLAGS
="-DBROKEN_LINKER=1"
2281 ADD_FLAGS
="-mno-cygwin -DWIN32" # required for cygwin compile+win32 gui
2282 DEFAULT_GUI
=win32
# default to win32 gui
2285 *-macosx* |
*-darwin*)
2286 ADD_FLAGS
="-fpascal-strings -fno-common -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh" # required for macosx compile
2287 DEFAULT_GUI
=carbon
# default to carbon
2288 need_dlcompat_for_plugins
=1
2291 DEFAULT_GUI
=macos
# macos defaults to macos
2294 ADD_FLAGS
="-Wno-multichar"
2295 DEFAULT_GUI
=beos
# beos defaults to beos
2297 *-amigaos* |
*-morphos*)
2298 DEFAULT_GUI
=amigaos
# amigaos or morphos defaults to amigaos gui
2301 ADD_FLAGS
="-D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__" # required for correct function prototypes
2302 LIBS
="$LIBS -lsocket -lnsl"
2309 if test "${ADD_FLAGS:+set}" = set; then
2310 CFLAGS
="$CFLAGS $ADD_FLAGS"
2311 CXXFLAGS
="$CXXFLAGS $ADD_FLAGS"
2312 CPPFLAGS
="$CPPFLAGS $ADD_FLAGS"
2315 { echo "$as_me:$LINENO: checking for standard CFLAGS on this platform" >&5
2316 echo $ECHO_N "checking for standard CFLAGS on this platform... $ECHO_C" >&6; }
2317 { echo "$as_me:$LINENO: result: $ADD_FLAGS" >&5
2318 echo "${ECHO_T}$ADD_FLAGS" >&6; }
2320 if (test "$with_sdl" != yes) && \
2321 (test "$with_svga" != yes) && \
2322 (test "$with_x11" != yes) && \
2323 (test "$with_beos" != yes) && \
2324 (test "$with_win32" != yes) && \
2325 (test "$with_nogui" != yes) && \
2326 (test "$with_term" != yes) && \
2327 (test "$with_rfb" != yes) && \
2328 (test "$with_amigaos" != yes) && \
2329 (test "$with_carbon" != yes) && \
2330 (test "$with_wx" != yes) && \
2331 (test "$with_macos" != yes); then
2332 # use DEFAULT_GUI. Set the appropriate variable.
2333 # DEFAULT_GUI must be set to one of the names above. Otherwise, no
2334 # valid $with_* variable will be set and who knows what will happen?
2335 eval "with_${DEFAULT_GUI}=yes"
2339 ac_cpp
='$CPP $CPPFLAGS'
2340 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2341 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2342 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2343 if test -n "$ac_tool_prefix"; then
2344 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2345 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2348 if test "${ac_cv_prog_CC+set}" = set; then
2349 echo $ECHO_N "(cached) $ECHO_C" >&6
2351 if test -n "$CC"; then
2352 ac_cv_prog_CC
="$CC" # Let the user override the test.
2354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2358 test -z "$as_dir" && as_dir
=.
2359 for ac_exec_ext
in '' $ac_executable_extensions; do
2360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2361 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2372 if test -n "$CC"; then
2373 { echo "$as_me:$LINENO: result: $CC" >&5
2374 echo "${ECHO_T}$CC" >&6; }
2376 { echo "$as_me:$LINENO: result: no" >&5
2377 echo "${ECHO_T}no" >&6; }
2382 if test -z "$ac_cv_prog_CC"; then
2384 # Extract the first word of "gcc", so it can be a program name with args.
2385 set dummy gcc
; ac_word
=$2
2386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2388 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2389 echo $ECHO_N "(cached) $ECHO_C" >&6
2391 if test -n "$ac_ct_CC"; then
2392 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2398 test -z "$as_dir" && as_dir
=.
2399 for ac_exec_ext
in '' $ac_executable_extensions; do
2400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2401 ac_cv_prog_ac_ct_CC
="gcc"
2402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2411 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2412 if test -n "$ac_ct_CC"; then
2413 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2414 echo "${ECHO_T}$ac_ct_CC" >&6; }
2416 { echo "$as_me:$LINENO: result: no" >&5
2417 echo "${ECHO_T}no" >&6; }
2420 if test "x$ac_ct_CC" = x
; then
2423 case $cross_compiling:$ac_tool_warned in
2425 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2426 whose name does not start with the host triplet. If you think this
2427 configuration is useful to you, please write to autoconf@gnu.org." >&5
2428 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2429 whose name does not start with the host triplet. If you think this
2430 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2431 ac_tool_warned
=yes ;;
2439 if test -z "$CC"; then
2440 if test -n "$ac_tool_prefix"; then
2441 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2442 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2445 if test "${ac_cv_prog_CC+set}" = set; then
2446 echo $ECHO_N "(cached) $ECHO_C" >&6
2448 if test -n "$CC"; then
2449 ac_cv_prog_CC
="$CC" # Let the user override the test.
2451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2455 test -z "$as_dir" && as_dir
=.
2456 for ac_exec_ext
in '' $ac_executable_extensions; do
2457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2458 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2469 if test -n "$CC"; then
2470 { echo "$as_me:$LINENO: result: $CC" >&5
2471 echo "${ECHO_T}$CC" >&6; }
2473 { echo "$as_me:$LINENO: result: no" >&5
2474 echo "${ECHO_T}no" >&6; }
2480 if test -z "$CC"; then
2481 # Extract the first word of "cc", so it can be a program name with args.
2482 set dummy cc
; ac_word
=$2
2483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2485 if test "${ac_cv_prog_CC+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 if test -n "$CC"; then
2489 ac_cv_prog_CC
="$CC" # Let the user override the test.
2492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2496 test -z "$as_dir" && as_dir
=.
2497 for ac_exec_ext
in '' $ac_executable_extensions; do
2498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2499 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2500 ac_prog_rejected
=yes
2504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2511 if test $ac_prog_rejected = yes; then
2512 # We found a bogon in the path, so make sure we never use it.
2513 set dummy
$ac_cv_prog_CC
2515 if test $# != 0; then
2516 # We chose a different compiler from the bogus one.
2517 # However, it has the same basename, so the bogon will be chosen
2518 # first if we set CC to just the basename; use the full file name.
2520 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2526 if test -n "$CC"; then
2527 { echo "$as_me:$LINENO: result: $CC" >&5
2528 echo "${ECHO_T}$CC" >&6; }
2530 { echo "$as_me:$LINENO: result: no" >&5
2531 echo "${ECHO_T}no" >&6; }
2536 if test -z "$CC"; then
2537 if test -n "$ac_tool_prefix"; then
2538 for ac_prog
in cl.exe
2540 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2541 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2542 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2544 if test "${ac_cv_prog_CC+set}" = set; then
2545 echo $ECHO_N "(cached) $ECHO_C" >&6
2547 if test -n "$CC"; then
2548 ac_cv_prog_CC
="$CC" # Let the user override the test.
2550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2554 test -z "$as_dir" && as_dir
=.
2555 for ac_exec_ext
in '' $ac_executable_extensions; do
2556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2557 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2568 if test -n "$CC"; then
2569 { echo "$as_me:$LINENO: result: $CC" >&5
2570 echo "${ECHO_T}$CC" >&6; }
2572 { echo "$as_me:$LINENO: result: no" >&5
2573 echo "${ECHO_T}no" >&6; }
2577 test -n "$CC" && break
2580 if test -z "$CC"; then
2582 for ac_prog
in cl.exe
2584 # Extract the first word of "$ac_prog", so it can be a program name with args.
2585 set dummy
$ac_prog; ac_word
=$2
2586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2588 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2589 echo $ECHO_N "(cached) $ECHO_C" >&6
2591 if test -n "$ac_ct_CC"; then
2592 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2598 test -z "$as_dir" && as_dir
=.
2599 for ac_exec_ext
in '' $ac_executable_extensions; do
2600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2601 ac_cv_prog_ac_ct_CC
="$ac_prog"
2602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2611 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2612 if test -n "$ac_ct_CC"; then
2613 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2614 echo "${ECHO_T}$ac_ct_CC" >&6; }
2616 { echo "$as_me:$LINENO: result: no" >&5
2617 echo "${ECHO_T}no" >&6; }
2621 test -n "$ac_ct_CC" && break
2624 if test "x$ac_ct_CC" = x
; then
2627 case $cross_compiling:$ac_tool_warned in
2629 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2630 whose name does not start with the host triplet. If you think this
2631 configuration is useful to you, please write to autoconf@gnu.org." >&5
2632 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2633 whose name does not start with the host triplet. If you think this
2634 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2635 ac_tool_warned
=yes ;;
2644 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2645 See \`config.log' for more details." >&5
2646 echo "$as_me: error: no acceptable C compiler found in \$PATH
2647 See \`config.log' for more details." >&2;}
2648 { (exit 1); exit 1; }; }
2650 # Provide some information about the compiler.
2651 echo "$as_me:$LINENO: checking for C compiler version" >&5
2652 ac_compiler
=`set X $ac_compile; echo $2`
2653 { (ac_try
="$ac_compiler --version >&5"
2655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2656 *) ac_try_echo=$ac_try;;
2658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2659 (eval "$ac_compiler --version >&5") 2>&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }
2663 { (ac_try="$ac_compiler -v >&5"
2665 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2666 *) ac_try_echo
=$ac_try;;
2668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2669 (eval "$ac_compiler -v >&5") 2>&5
2671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672 (exit $ac_status); }
2673 { (ac_try
="$ac_compiler -V >&5"
2675 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2676 *) ac_try_echo=$ac_try;;
2678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2679 (eval "$ac_compiler -V >&5") 2>&5
2681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); }
2684 cat >conftest.$ac_ext <<_ACEOF
2687 cat confdefs.h >>conftest.$ac_ext
2688 cat >>conftest.$ac_ext <<_ACEOF
2689 /* end confdefs.h. */
2699 ac_clean_files_save=$ac_clean_files
2700 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2701 # Try to create an executable without -o first, disregard a.out.
2702 # It will help us diagnose broken compilers, and finding out an intuition
2704 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2705 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2706 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2708 # List of possible output files, starting from the most likely.
2709 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2710 # only as a last resort. b.out is created by i960 compilers.
2711 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2713 # The IRIX 6 linker writes into existing files which may not be
2714 # executable, retaining their permissions. Remove them first so a
2715 # subsequent execution test works.
2717 for ac_file in $ac_files
2720 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2721 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2726 if { (ac_try="$ac_link_default"
2728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;;
2731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2732 (eval "$ac_link_default") 2>&5
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); }; then
2736 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2737 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2738 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2739 # so that the user can short-circuit this test for compilers unknown to
2741 for ac_file
in $ac_files ''
2743 test -f "$ac_file" ||
continue
2745 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2748 # We found the default executable, but exeext='' is most
2752 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2754 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2756 # We set ac_cv_exeext here because the later test for it is not
2757 # safe: cross compilers may not add the suffix if given an `-o'
2758 # argument, so we may need to know it at that point already.
2759 # Even if this section looks crufty: it has the advantage of
2766 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2772 { echo "$as_me:$LINENO: result: $ac_file" >&5
2773 echo "${ECHO_T}$ac_file" >&6; }
2774 if test -z "$ac_file"; then
2775 echo "$as_me: failed program was:" >&5
2776 sed 's/^/| /' conftest.
$ac_ext >&5
2778 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2779 See \`config.log' for more details." >&5
2780 echo "$as_me: error: C compiler cannot create executables
2781 See \`config.log' for more details." >&2;}
2782 { (exit 77); exit 77; }; }
2785 ac_exeext
=$ac_cv_exeext
2787 # Check that the compiler produces executables we can run. If not, either
2788 # the compiler is broken, or we cross compile.
2789 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2790 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2791 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2792 # If not cross compiling, check that we can run a simple program.
2793 if test "$cross_compiling" != yes; then
2794 if { ac_try
='./$ac_file'
2795 { (case "(($ac_try" in
2796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2797 *) ac_try_echo=$ac_try;;
2799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2800 (eval "$ac_try") 2>&5
2802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); }; }; then
2806 if test "$cross_compiling" = maybe; then
2809 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2810 If you meant to cross compile, use \`--host'.
2811 See \`config.log' for more details.
" >&5
2812 echo "$as_me: error
: cannot run C compiled programs.
2813 If you meant to cross compile
, use \
`--host'.
2814 See \`config.log
' for more details." >&2;}
2815 { (exit 1); exit 1; }; }
2819 { echo "$as_me:$LINENO: result: yes" >&5
2820 echo "${ECHO_T}yes" >&6; }
2822 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2823 ac_clean_files=$ac_clean_files_save
2824 # Check that the compiler produces executables we can run. If not, either
2825 # the compiler is broken, or we cross compile.
2826 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2827 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2828 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2829 echo "${ECHO_T}$cross_compiling" >&6; }
2831 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2832 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2833 if { (ac_try="$ac_link"
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2839 (eval "$ac_link") 2>&5
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }; then
2843 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2844 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2845 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2847 for ac_file
in conftest.exe conftest conftest.
*; do
2848 test -f "$ac_file" ||
continue
2850 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2851 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2857 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2858 See \`config.log' for more details." >&5
2859 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2860 See \`config.log' for more details." >&2;}
2861 { (exit 1); exit 1; }; }
2864 rm -f conftest
$ac_cv_exeext
2865 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2866 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2868 rm -f conftest.
$ac_ext
2869 EXEEXT
=$ac_cv_exeext
2871 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2872 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2873 if test "${ac_cv_objext+set}" = set; then
2874 echo $ECHO_N "(cached) $ECHO_C" >&6
2876 cat >conftest.
$ac_ext <<_ACEOF
2879 cat confdefs.h
>>conftest.
$ac_ext
2880 cat >>conftest.
$ac_ext <<_ACEOF
2881 /* end confdefs.h. */
2891 rm -f conftest.o conftest.obj
2892 if { (ac_try
="$ac_compile"
2894 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2895 *) ac_try_echo=$ac_try;;
2897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2898 (eval "$ac_compile") 2>&5
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); }; then
2902 for ac_file in conftest.o conftest.obj conftest.*; do
2903 test -f "$ac_file" || continue;
2905 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2906 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2911 echo "$as_me: failed program was:" >&5
2912 sed 's/^/| /' conftest.$ac_ext >&5
2914 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2915 See \`config.log
' for more details." >&5
2916 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2917 See \`config.log' for more details.
" >&2;}
2918 { (exit 1); exit 1; }; }
2921 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2923 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2924 echo "${ECHO_T}$ac_cv_objext" >&6; }
2925 OBJEXT=$ac_cv_objext
2927 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2928 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2929 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2930 echo $ECHO_N "(cached
) $ECHO_C" >&6
2932 cat >conftest.$ac_ext <<_ACEOF
2935 cat confdefs.h >>conftest.$ac_ext
2936 cat >>conftest.$ac_ext <<_ACEOF
2937 /* end confdefs.h. */
2950 rm -f conftest.$ac_objext
2951 if { (ac_try="$ac_compile"
2953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2954 *) ac_try_echo=$ac_try;;
2956 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2957 (eval "$ac_compile") 2>conftest.er1
2959 grep -v '^ *+' conftest.er1 >conftest.err
2961 cat conftest.err >&5
2962 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2963 (exit $ac_status); } && {
2964 test -z "$ac_c_werror_flag" ||
2965 test ! -s conftest.err
2966 } && test -s conftest.$ac_objext; then
2969 echo "$as_me: failed program was
:" >&5
2970 sed 's/^/| /' conftest.$ac_ext >&5
2975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2976 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2979 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2980 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2981 GCC=`test $ac_compiler_gnu = yes && echo yes`
2982 ac_test_CFLAGS=${CFLAGS+set}
2983 ac_save_CFLAGS=$CFLAGS
2984 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2985 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2986 if test "${ac_cv_prog_cc_g+set}" = set; then
2987 echo $ECHO_N "(cached
) $ECHO_C" >&6
2989 ac_save_c_werror_flag=$ac_c_werror_flag
2990 ac_c_werror_flag=yes
2993 cat >conftest.$ac_ext <<_ACEOF
2996 cat confdefs.h >>conftest.$ac_ext
2997 cat >>conftest.$ac_ext <<_ACEOF
2998 /* end confdefs.h. */
3008 rm -f conftest.$ac_objext
3009 if { (ac_try="$ac_compile"
3011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3012 *) ac_try_echo=$ac_try;;
3014 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3015 (eval "$ac_compile") 2>conftest.er1
3017 grep -v '^ *+' conftest.er1 >conftest.err
3019 cat conftest.err >&5
3020 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3021 (exit $ac_status); } && {
3022 test -z "$ac_c_werror_flag" ||
3023 test ! -s conftest.err
3024 } && test -s conftest.$ac_objext; then
3027 echo "$as_me: failed program was
:" >&5
3028 sed 's/^/| /' conftest.$ac_ext >&5
3031 cat >conftest.$ac_ext <<_ACEOF
3034 cat confdefs.h >>conftest.$ac_ext
3035 cat >>conftest.$ac_ext <<_ACEOF
3036 /* end confdefs.h. */
3046 rm -f conftest.$ac_objext
3047 if { (ac_try="$ac_compile"
3049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3050 *) ac_try_echo=$ac_try;;
3052 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3053 (eval "$ac_compile") 2>conftest.er1
3055 grep -v '^ *+' conftest.er1 >conftest.err
3057 cat conftest.err >&5
3058 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3059 (exit $ac_status); } && {
3060 test -z "$ac_c_werror_flag" ||
3061 test ! -s conftest.err
3062 } && test -s conftest.$ac_objext; then
3065 echo "$as_me: failed program was
:" >&5
3066 sed 's/^/| /' conftest.$ac_ext >&5
3068 ac_c_werror_flag=$ac_save_c_werror_flag
3070 cat >conftest.$ac_ext <<_ACEOF
3073 cat confdefs.h >>conftest.$ac_ext
3074 cat >>conftest.$ac_ext <<_ACEOF
3075 /* end confdefs.h. */
3085 rm -f conftest.$ac_objext
3086 if { (ac_try="$ac_compile"
3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3091 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3092 (eval "$ac_compile") 2>conftest.er1
3094 grep -v '^ *+' conftest.er1 >conftest.err
3096 cat conftest.err >&5
3097 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3098 (exit $ac_status); } && {
3099 test -z "$ac_c_werror_flag" ||
3100 test ! -s conftest.err
3101 } && test -s conftest.$ac_objext; then
3104 echo "$as_me: failed program was
:" >&5
3105 sed 's/^/| /' conftest.$ac_ext >&5
3110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3117 ac_c_werror_flag=$ac_save_c_werror_flag
3119 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3120 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3121 if test "$ac_test_CFLAGS" = set; then
3122 CFLAGS=$ac_save_CFLAGS
3123 elif test $ac_cv_prog_cc_g = yes; then
3124 if test "$GCC" = yes; then
3130 if test "$GCC" = yes; then
3136 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3137 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3138 if test "${ac_cv_prog_cc_c89+set}" = set; then
3139 echo $ECHO_N "(cached
) $ECHO_C" >&6
3141 ac_cv_prog_cc_c89=no
3143 cat >conftest.$ac_ext <<_ACEOF
3146 cat confdefs.h >>conftest.$ac_ext
3147 cat >>conftest.$ac_ext <<_ACEOF
3148 /* end confdefs.h. */
3151 #include <sys/types.h>
3152 #include <sys/stat.h>
3153 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3154 struct buf { int x; };
3155 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3156 static char *e (p, i)
3162 static char *f (char * (*g) (char **, int), char **p, ...)
3167 s = g (p, va_arg (v,int));
3172 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3173 function prototypes and stuff, but not '\xHH' hex character constants.
3174 These don't provoke an error unfortunately, instead are silently treated
3175 as 'x'. The following induces an error, until -std is added to get
3176 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3177 array size at least. It's necessary to write '\x00'==0 to get something
3178 that's true only with -std. */
3179 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3181 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3182 inside strings and character constants. */
3184 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3186 int test (int i, double x);
3187 struct s1 {int (*f) (int a);};
3188 struct s2 {int (*f) (double a);};
3189 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3195 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3200 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3201 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3203 CC="$ac_save_CC $ac_arg"
3204 rm -f conftest.$ac_objext
3205 if { (ac_try="$ac_compile"
3207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3208 *) ac_try_echo=$ac_try;;
3210 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3211 (eval "$ac_compile") 2>conftest.er1
3213 grep -v '^ *+' conftest.er1 >conftest.err
3215 cat conftest.err >&5
3216 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3217 (exit $ac_status); } && {
3218 test -z "$ac_c_werror_flag" ||
3219 test ! -s conftest.err
3220 } && test -s conftest.$ac_objext; then
3221 ac_cv_prog_cc_c89=$ac_arg
3223 echo "$as_me: failed program was
:" >&5
3224 sed 's/^/| /' conftest.$ac_ext >&5
3229 rm -f core conftest.err conftest.$ac_objext
3230 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3232 rm -f conftest.$ac_ext
3237 case "x
$ac_cv_prog_cc_c89" in
3239 { echo "$as_me:$LINENO: result
: none needed
" >&5
3240 echo "${ECHO_T}none needed
" >&6; } ;;
3242 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3243 echo "${ECHO_T}unsupported
" >&6; } ;;
3245 CC="$CC $ac_cv_prog_cc_c89"
3246 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3247 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3252 ac_cpp='$CPP $CPPFLAGS'
3253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3258 ac_cpp='$CXXCPP $CPPFLAGS'
3259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3262 if test -z "$CXX"; then
3263 if test -n "$CCC"; then
3266 if test -n "$ac_tool_prefix"; then
3267 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3269 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3270 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3271 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3272 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3273 if test "${ac_cv_prog_CXX+set}" = set; then
3274 echo $ECHO_N "(cached
) $ECHO_C" >&6
3276 if test -n "$CXX"; then
3277 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3283 test -z "$as_dir" && as_dir=.
3284 for ac_exec_ext in '' $ac_executable_extensions; do
3285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3286 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3287 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3297 if test -n "$CXX"; then
3298 { echo "$as_me:$LINENO: result
: $CXX" >&5
3299 echo "${ECHO_T}$CXX" >&6; }
3301 { echo "$as_me:$LINENO: result
: no
" >&5
3302 echo "${ECHO_T}no
" >&6; }
3306 test -n "$CXX" && break
3309 if test -z "$CXX"; then
3311 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3313 # Extract the first word of "$ac_prog", so it can be a program name with args.
3314 set dummy $ac_prog; ac_word=$2
3315 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3316 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3317 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3318 echo $ECHO_N "(cached
) $ECHO_C" >&6
3320 if test -n "$ac_ct_CXX"; then
3321 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3327 test -z "$as_dir" && as_dir=.
3328 for ac_exec_ext in '' $ac_executable_extensions; do
3329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3330 ac_cv_prog_ac_ct_CXX="$ac_prog"
3331 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3340 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3341 if test -n "$ac_ct_CXX"; then
3342 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3343 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3345 { echo "$as_me:$LINENO: result
: no
" >&5
3346 echo "${ECHO_T}no
" >&6; }
3350 test -n "$ac_ct_CXX" && break
3353 if test "x
$ac_ct_CXX" = x; then
3356 case $cross_compiling:$ac_tool_warned in
3358 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3359 whose name does not start with the
host triplet. If you think this
3360 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3361 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3362 whose name does not start with the
host triplet. If you think this
3363 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3364 ac_tool_warned=yes ;;
3372 # Provide some information about the compiler.
3373 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3374 ac_compiler=`set X $ac_compile; echo $2`
3375 { (ac_try="$ac_compiler --version >&5"
3377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3378 *) ac_try_echo=$ac_try;;
3380 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3381 (eval "$ac_compiler --version >&5") 2>&5
3383 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3384 (exit $ac_status); }
3385 { (ac_try="$ac_compiler -v >&5"
3387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3388 *) ac_try_echo=$ac_try;;
3390 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3391 (eval "$ac_compiler -v >&5") 2>&5
3393 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3394 (exit $ac_status); }
3395 { (ac_try="$ac_compiler -V >&5"
3397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3398 *) ac_try_echo=$ac_try;;
3400 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3401 (eval "$ac_compiler -V >&5") 2>&5
3403 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3404 (exit $ac_status); }
3406 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3407 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3408 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3409 echo $ECHO_N "(cached
) $ECHO_C" >&6
3411 cat >conftest.$ac_ext <<_ACEOF
3414 cat confdefs.h >>conftest.$ac_ext
3415 cat >>conftest.$ac_ext <<_ACEOF
3416 /* end confdefs.h. */
3429 rm -f conftest.$ac_objext
3430 if { (ac_try="$ac_compile"
3432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3433 *) ac_try_echo=$ac_try;;
3435 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3436 (eval "$ac_compile") 2>conftest.er1
3438 grep -v '^ *+' conftest.er1 >conftest.err
3440 cat conftest.err >&5
3441 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3442 (exit $ac_status); } && {
3443 test -z "$ac_cxx_werror_flag" ||
3444 test ! -s conftest.err
3445 } && test -s conftest.$ac_objext; then
3448 echo "$as_me: failed program was
:" >&5
3449 sed 's/^/| /' conftest.$ac_ext >&5
3454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3458 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3459 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3460 GXX=`test $ac_compiler_gnu = yes && echo yes`
3461 ac_test_CXXFLAGS=${CXXFLAGS+set}
3462 ac_save_CXXFLAGS=$CXXFLAGS
3463 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3464 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3465 if test "${ac_cv_prog_cxx_g+set}" = set; then
3466 echo $ECHO_N "(cached
) $ECHO_C" >&6
3468 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3469 ac_cxx_werror_flag=yes
3472 cat >conftest.$ac_ext <<_ACEOF
3475 cat confdefs.h >>conftest.$ac_ext
3476 cat >>conftest.$ac_ext <<_ACEOF
3477 /* end confdefs.h. */
3487 rm -f conftest.$ac_objext
3488 if { (ac_try="$ac_compile"
3490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3491 *) ac_try_echo=$ac_try;;
3493 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3494 (eval "$ac_compile") 2>conftest.er1
3496 grep -v '^ *+' conftest.er1 >conftest.err
3498 cat conftest.err >&5
3499 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3500 (exit $ac_status); } && {
3501 test -z "$ac_cxx_werror_flag" ||
3502 test ! -s conftest.err
3503 } && test -s conftest.$ac_objext; then
3504 ac_cv_prog_cxx_g=yes
3506 echo "$as_me: failed program was
:" >&5
3507 sed 's/^/| /' conftest.$ac_ext >&5
3510 cat >conftest.$ac_ext <<_ACEOF
3513 cat confdefs.h >>conftest.$ac_ext
3514 cat >>conftest.$ac_ext <<_ACEOF
3515 /* end confdefs.h. */
3525 rm -f conftest.$ac_objext
3526 if { (ac_try="$ac_compile"
3528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3529 *) ac_try_echo=$ac_try;;
3531 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3532 (eval "$ac_compile") 2>conftest.er1
3534 grep -v '^ *+' conftest.er1 >conftest.err
3536 cat conftest.err >&5
3537 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3538 (exit $ac_status); } && {
3539 test -z "$ac_cxx_werror_flag" ||
3540 test ! -s conftest.err
3541 } && test -s conftest.$ac_objext; then
3544 echo "$as_me: failed program was
:" >&5
3545 sed 's/^/| /' conftest.$ac_ext >&5
3547 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3549 cat >conftest.$ac_ext <<_ACEOF
3552 cat confdefs.h >>conftest.$ac_ext
3553 cat >>conftest.$ac_ext <<_ACEOF
3554 /* end confdefs.h. */
3564 rm -f conftest.$ac_objext
3565 if { (ac_try="$ac_compile"
3567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3568 *) ac_try_echo=$ac_try;;
3570 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3571 (eval "$ac_compile") 2>conftest.er1
3573 grep -v '^ *+' conftest.er1 >conftest.err
3575 cat conftest.err >&5
3576 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3577 (exit $ac_status); } && {
3578 test -z "$ac_cxx_werror_flag" ||
3579 test ! -s conftest.err
3580 } && test -s conftest.$ac_objext; then
3581 ac_cv_prog_cxx_g=yes
3583 echo "$as_me: failed program was
:" >&5
3584 sed 's/^/| /' conftest.$ac_ext >&5
3589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3596 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3598 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3599 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3600 if test "$ac_test_CXXFLAGS" = set; then
3601 CXXFLAGS=$ac_save_CXXFLAGS
3602 elif test $ac_cv_prog_cxx_g = yes; then
3603 if test "$GXX" = yes; then
3609 if test "$GXX" = yes; then
3616 ac_cpp='$CPP $CPPFLAGS'
3617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3621 { echo "$as_me:$LINENO: checking whether
${MAKE-make} sets \$
(MAKE
)" >&5
3622 echo $ECHO_N "checking whether
${MAKE-make} sets \$
(MAKE
)...
$ECHO_C" >&6; }
3623 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3624 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3625 echo $ECHO_N "(cached
) $ECHO_C" >&6
3627 cat >conftest.make <<\_ACEOF
3630 @echo '@@@%%%=$(MAKE)=@@@%%%'
3632 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
3633 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3635 eval ac_cv_prog_make_${ac_make}_set=yes;;
3637 eval ac_cv_prog_make_${ac_make}_set=no;;
3641 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3642 { echo "$as_me:$LINENO: result
: yes" >&5
3643 echo "${ECHO_T}yes" >&6; }
3646 { echo "$as_me:$LINENO: result
: no
" >&5
3647 echo "${ECHO_T}no
" >&6; }
3648 SET_MAKE="MAKE
=${MAKE-make}"
3652 # Check whether --enable-static was given.
3653 if test "${enable_static+set}" = set; then
3654 enableval=$enable_static; p=${PACKAGE-default}
3656 yes) enable_static=yes ;;
3657 no) enable_static=no ;;
3660 # Look at the argument we got. We use all the common list separators.
3661 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3662 for pkg in $enableval; do
3664 if test "X
$pkg" = "X
$p"; then
3679 # Check whether --enable-shared was given.
3680 if test "${enable_shared+set}" = set; then
3681 enableval=$enable_shared; p=${PACKAGE-default}
3683 yes) enable_shared=yes ;;
3684 no) enable_shared=no ;;
3687 # Look at the argument we got. We use all the common list separators.
3688 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3689 for pkg in $enableval; do
3691 if test "X
$pkg" = "X
$p"; then
3703 # Check whether --enable-fast-install was given.
3704 if test "${enable_fast_install+set}" = set; then
3705 enableval=$enable_fast_install; p=${PACKAGE-default}
3707 yes) enable_fast_install=yes ;;
3708 no) enable_fast_install=no ;;
3710 enable_fast_install=no
3711 # Look at the argument we got. We use all the common list separators.
3712 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3713 for pkg in $enableval; do
3715 if test "X
$pkg" = "X
$p"; then
3716 enable_fast_install=yes
3723 enable_fast_install=yes
3727 { echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
3728 echo $ECHO_N "checking
for a
sed that does not truncate output...
$ECHO_C" >&6; }
3729 if test "${lt_cv_path_SED+set}" = set; then
3730 echo $ECHO_N "(cached
) $ECHO_C" >&6
3732 # Loop through the user's path and test for sed and gsed.
3733 # Then use that list of sed's as ones to test for truncation.
3734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3738 test -z "$as_dir" && as_dir=.
3739 for lt_ac_prog in sed gsed; do
3740 for ac_exec_ext in '' $ac_executable_extensions; do
3741 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3742 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3749 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3750 # along with /bin/sed that truncates output.
3751 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3752 test ! -f $lt_ac_sed && break
3753 cat /dev/null > conftest.in
3755 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3756 # Check for GNU sed and select it if it is found.
3757 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3758 lt_cv_path_SED=$lt_ac_sed
3762 cat conftest.in conftest.in >conftest.tmp
3763 mv conftest.tmp conftest.in
3764 cp conftest.in conftest.nl
3766 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3767 cmp -s conftest.out conftest.nl || break
3768 # 10000 chars as input seems more than enough
3769 test $lt_ac_count -gt 10 && break
3770 lt_ac_count=`expr $lt_ac_count + 1`
3771 if test $lt_ac_count -gt $lt_ac_max; then
3772 lt_ac_max=$lt_ac_count
3773 lt_cv_path_SED=$lt_ac_sed
3781 { echo "$as_me:$LINENO: result
: $SED" >&5
3782 echo "${ECHO_T}$SED" >&6; }
3784 { echo "$as_me:$LINENO: checking
for grep that handles long lines and
-e" >&5
3785 echo $ECHO_N "checking
for grep that handles long lines and
-e...
$ECHO_C" >&6; }
3786 if test "${ac_cv_path_GREP+set}" = set; then
3787 echo $ECHO_N "(cached
) $ECHO_C" >&6
3789 # Extract the first word of "grep ggrep
" to use in msg output
3790 if test -z "$GREP"; then
3791 set dummy grep ggrep; ac_prog_name=$2
3792 if test "${ac_cv_path_GREP+set}" = set; then
3793 echo $ECHO_N "(cached
) $ECHO_C" >&6
3795 ac_path_GREP_found=false
3796 # Loop through the user's path and test for each of PROGNAME-LIST
3797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3798 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3801 test -z "$as_dir" && as_dir=.
3802 for ac_prog in grep ggrep; do
3803 for ac_exec_ext in '' $ac_executable_extensions; do
3804 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3805 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3806 # Check for GNU ac_path_GREP and select it if it is found.
3807 # Check for GNU $ac_path_GREP
3808 case `"$ac_path_GREP" --version 2>&1` in
3810 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3813 echo $ECHO_N "0123456789$ECHO_C" >"conftest.
in"
3816 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3817 mv "conftest.tmp
" "conftest.
in"
3818 cp "conftest.
in" "conftest.
nl"
3819 echo 'GREP' >> "conftest.
nl"
3820 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3821 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3822 ac_count=`expr $ac_count + 1`
3823 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3824 # Best one so far, save it but keep looking for a better one
3825 ac_cv_path_GREP="$ac_path_GREP"
3826 ac_path_GREP_max=$ac_count
3828 # 10*(2^10) chars as input seems more than enough
3829 test $ac_count -gt 10 && break
3831 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3835 $ac_path_GREP_found && break 3
3845 GREP="$ac_cv_path_GREP"
3846 if test -z "$GREP"; then
3847 { { echo "$as_me:$LINENO: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&5
3848 echo "$as_me: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&2;}
3849 { (exit 1); exit 1; }; }
3853 ac_cv_path_GREP=$GREP
3858 { echo "$as_me:$LINENO: result
: $ac_cv_path_GREP" >&5
3859 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3860 GREP="$ac_cv_path_GREP"
3863 { echo "$as_me:$LINENO: checking
for egrep" >&5
3864 echo $ECHO_N "checking
for egrep...
$ECHO_C" >&6; }
3865 if test "${ac_cv_path_EGREP+set}" = set; then
3866 echo $ECHO_N "(cached
) $ECHO_C" >&6
3868 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3869 then ac_cv_path_EGREP="$GREP -E"
3871 # Extract the first word of "egrep" to use in msg output
3872 if test -z "$EGREP"; then
3873 set dummy egrep; ac_prog_name=$2
3874 if test "${ac_cv_path_EGREP+set}" = set; then
3875 echo $ECHO_N "(cached
) $ECHO_C" >&6
3877 ac_path_EGREP_found=false
3878 # Loop through the user's path and test for each of PROGNAME-LIST
3879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3880 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3883 test -z "$as_dir" && as_dir=.
3884 for ac_prog in egrep; do
3885 for ac_exec_ext in '' $ac_executable_extensions; do
3886 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3887 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3888 # Check for GNU ac_path_EGREP and select it if it is found.
3889 # Check for GNU $ac_path_EGREP
3890 case `"$ac_path_EGREP" --version 2>&1` in
3892 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3895 echo $ECHO_N "0123456789$ECHO_C" >"conftest.
in"
3898 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3899 mv "conftest.tmp
" "conftest.
in"
3900 cp "conftest.
in" "conftest.
nl"
3901 echo 'EGREP' >> "conftest.
nl"
3902 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3903 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3904 ac_count=`expr $ac_count + 1`
3905 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3906 # Best one so far, save it but keep looking for a better one
3907 ac_cv_path_EGREP="$ac_path_EGREP"
3908 ac_path_EGREP_max=$ac_count
3910 # 10*(2^10) chars as input seems more than enough
3911 test $ac_count -gt 10 && break
3913 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3917 $ac_path_EGREP_found && break 3
3927 EGREP="$ac_cv_path_EGREP"
3928 if test -z "$EGREP"; then
3929 { { echo "$as_me:$LINENO: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&5
3930 echo "$as_me: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&2;}
3931 { (exit 1); exit 1; }; }
3935 ac_cv_path_EGREP=$EGREP
3941 { echo "$as_me:$LINENO: result
: $ac_cv_path_EGREP" >&5
3942 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3943 EGREP="$ac_cv_path_EGREP"
3947 # Check whether --with-gnu-ld was given.
3948 if test "${with_gnu_ld+set}" = set; then
3949 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3955 if test "$GCC" = yes; then
3956 # Check if gcc -print-prog-name=ld gives a path.
3957 { echo "$as_me:$LINENO: checking
for ld used by
$CC" >&5
3958 echo $ECHO_N "checking
for ld used by
$CC...
$ECHO_C" >&6; }
3961 # gcc leaves a trailing carriage return which upsets mingw
3962 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3964 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3967 # Accept absolute paths.
3969 re_direlt='/[^/][^/]*/\.\./'
3970 # Canonicalize the pathname of ld
3971 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3972 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3973 ac_prog=`echo $ac_prog| $SED "s
%$re_direlt%/%"`
3975 test -z "$LD" && LD="$ac_prog"
3978 # If it fails, then pretend we aren't using GCC.
3982 # If it is relative, then search for the first ld in PATH.
3986 elif test "$with_gnu_ld" = yes; then
3987 { echo "$as_me:$LINENO: checking
for GNU ld
" >&5
3988 echo $ECHO_N "checking
for GNU ld...
$ECHO_C" >&6; }
3990 { echo "$as_me:$LINENO: checking
for non-GNU ld
" >&5
3991 echo $ECHO_N "checking
for non-GNU ld...
$ECHO_C" >&6; }
3993 if test "${lt_cv_path_LD+set}" = set; then
3994 echo $ECHO_N "(cached
) $ECHO_C" >&6
3996 if test -z "$LD"; then
3997 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3998 for ac_dir in $PATH; do
4000 test -z "$ac_dir" && ac_dir=.
4001 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4002 lt_cv_path_LD="$ac_dir/$ac_prog"
4003 # Check to see if the program is GNU ld. I'd rather use --version,
4004 # but apparently some GNU ld's only accept -v.
4005 # Break only if it was the GNU/non-GNU ld that we prefer.
4006 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4007 *GNU* | *'with BFD'*)
4008 test "$with_gnu_ld" != no && break
4011 test "$with_gnu_ld" != yes && break
4018 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4023 if test -n "$LD"; then
4024 { echo "$as_me:$LINENO: result
: $LD" >&5
4025 echo "${ECHO_T}$LD" >&6; }
4027 { echo "$as_me:$LINENO: result
: no
" >&5
4028 echo "${ECHO_T}no
" >&6; }
4030 test -z "$LD" && { { echo "$as_me:$LINENO: error
: no acceptable ld found
in \
$PATH" >&5
4031 echo "$as_me: error
: no acceptable ld found
in \
$PATH" >&2;}
4032 { (exit 1); exit 1; }; }
4033 { echo "$as_me:$LINENO: checking
if the linker
($LD) is GNU ld
" >&5
4034 echo $ECHO_N "checking
if the linker
($LD) is GNU ld...
$ECHO_C" >&6; }
4035 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4036 echo $ECHO_N "(cached
) $ECHO_C" >&6
4038 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4039 case `$LD -v 2>&1 </dev/null` in
4040 *GNU* | *'with BFD'*)
4041 lt_cv_prog_gnu_ld=yes
4044 lt_cv_prog_gnu_ld=no
4048 { echo "$as_me:$LINENO: result
: $lt_cv_prog_gnu_ld" >&5
4049 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4050 with_gnu_ld=$lt_cv_prog_gnu_ld
4053 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4054 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
4055 if test "${lt_cv_ld_reload_flag+set}" = set; then
4056 echo $ECHO_N "(cached
) $ECHO_C" >&6
4058 lt_cv_ld_reload_flag='-r'
4060 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4061 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4062 reload_flag=$lt_cv_ld_reload_flag
4063 case $reload_flag in
4065 *) reload_flag=" $reload_flag" ;;
4067 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4069 { echo "$as_me:$LINENO: checking
for BSD-compatible nm
" >&5
4070 echo $ECHO_N "checking
for BSD-compatible nm...
$ECHO_C" >&6; }
4071 if test "${lt_cv_path_NM+set}" = set; then
4072 echo $ECHO_N "(cached
) $ECHO_C" >&6
4074 if test -n "$NM"; then
4075 # Let the user override the test.
4078 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4079 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4081 test -z "$ac_dir" && ac_dir=.
4082 tmp_nm="$ac_dir/${ac_tool_prefix}nm
"
4083 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4084 # Check to see if the nm accepts a BSD-compat flag.
4085 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4086 # nm: unknown option "B
" ignored
4087 # Tru64's nm complains that /dev/null is an invalid object file
4088 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4089 */dev/null* | *'Invalid file or object type'*)
4090 lt_cv_path_NM="$tmp_nm -B"
4094 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4096 lt_cv_path_NM="$tmp_nm -p"
4100 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4101 continue # so that we can try to find one that supports BSD flags
4108 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4111 { echo "$as_me:$LINENO: result
: $lt_cv_path_NM" >&5
4112 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4115 { echo "$as_me:$LINENO: checking whether
ln -s works
" >&5
4116 echo $ECHO_N "checking whether
ln -s works...
$ECHO_C" >&6; }
4118 if test "$LN_S" = "ln -s"; then
4119 { echo "$as_me:$LINENO: result
: yes" >&5
4120 echo "${ECHO_T}yes" >&6; }
4122 { echo "$as_me:$LINENO: result
: no
, using
$LN_S" >&5
4123 echo "${ECHO_T}no
, using
$LN_S" >&6; }
4126 { echo "$as_me:$LINENO: checking how to recognise dependent libraries
" >&5
4127 echo $ECHO_N "checking how to recognise dependent libraries...
$ECHO_C" >&6; }
4128 if test "${lt_cv_deplibs_check_method+set}" = set; then
4129 echo $ECHO_N "(cached
) $ECHO_C" >&6
4131 lt_cv_file_magic_cmd='$MAGIC_CMD'
4132 lt_cv_file_magic_test_file=
4133 lt_cv_deplibs_check_method='unknown'
4134 # Need to set the preceding variable on all platforms that support
4135 # interlibrary dependencies.
4136 # 'none' -- dependencies not supported.
4137 # `unknown' -- same as none, but documents that we really don't know.
4138 # 'pass_all' -- all dependencies passed with no checks.
4139 # 'test_compile' -- check by making test program.
4140 # 'file_magic [[regex]]' -- check by looking for files in library path
4141 # which responds to the $file_magic_cmd with a given extended regex.
4142 # If you have `file' or equivalent on your system and you're not sure
4143 # whether `pass_all' will *always* work, you probably want this one.
4147 lt_cv_deplibs_check_method=pass_all
4151 lt_cv_deplibs_check_method=pass_all
4155 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4156 lt_cv_file_magic_cmd='/usr/bin/file -L'
4157 lt_cv_file_magic_test_file=/shlib/libc.so
4160 cygwin* | mingw* | pw32*)
4161 # win32_libid is a shell function defined in ltmain.sh
4162 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4163 lt_cv_file_magic_cmd='win32_libid'
4166 darwin* | rhapsody*)
4167 # this will be overwritten by pass_all, but leave it in just in case
4168 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4169 lt_cv_file_magic_cmd='/usr/bin/file -L'
4171 rhapsody* | darwin1.[012])
4172 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4175 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4178 lt_cv_deplibs_check_method=pass_all
4181 freebsd* | kfreebsd*-gnu)
4182 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4185 # Not sure whether the presence of OpenBSD here was a mistake.
4186 # Let's accept both of them until this is cleared up.
4187 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4188 lt_cv_file_magic_cmd=/usr/bin/file
4189 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4193 lt_cv_deplibs_check_method=pass_all
4198 lt_cv_deplibs_check_method=pass_all
4201 hpux10.20* | hpux11*)
4202 lt_cv_file_magic_cmd=/usr/bin/file
4205 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4206 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4209 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]'
4210 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4213 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4214 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4219 irix5* | irix6* | nonstopux*)
4221 irix5* | nonstopux*)
4222 # this will be overridden with pass_all, but let us keep it just in case
4223 lt_cv_deplibs_check_method="file_magic ELF
32-bit MSB dynamic lib MIPS
- version
1"
4227 *-32|*"-32 ") libmagic=32-bit;;
4228 *-n32|*"-n32 ") libmagic=N32;;
4229 *-64|*"-64 ") libmagic=64-bit;;
4230 *) libmagic=never-match;;
4232 # this will be overridden with pass_all, but let us keep it just in case
4233 lt_cv_deplibs_check_method="file_magic ELF
${libmagic} MSB mips-
[1234] dynamic lib MIPS
- version
1"
4236 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4237 lt_cv_deplibs_check_method=pass_all
4240 # This must be Linux ELF.
4243 alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh*)
4244 lt_cv_deplibs_check_method=pass_all ;;
4246 # glibc up to 2.1.1 does not perform some relocations on ARM
4247 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4249 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4253 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4254 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4256 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4261 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4262 lt_cv_file_magic_cmd=/usr/bin/file
4263 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4267 lt_cv_deplibs_check_method=unknown
4271 lt_cv_file_magic_cmd=/usr/bin/file
4272 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4273 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4274 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4276 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4280 osf3* | osf4* | osf5*)
4281 # this will be overridden with pass_all, but let us keep it just in case
4282 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4283 lt_cv_file_magic_test_file=/shlib/libc.so
4284 lt_cv_deplibs_check_method=pass_all
4288 lt_cv_deplibs_check_method=pass_all
4292 lt_cv_deplibs_check_method=pass_all
4293 lt_cv_file_magic_test_file=/lib/libc.so
4296 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4297 case $host_vendor in
4299 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]'
4300 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4303 lt_cv_deplibs_check_method=pass_all
4306 lt_cv_file_magic_cmd='/bin/file'
4307 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4310 lt_cv_file_magic_cmd='/bin/file'
4311 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4312 lt_cv_file_magic_test_file=/lib/libc.so
4315 lt_cv_deplibs_check_method=pass_all
4320 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4321 lt_cv_deplibs_check_method=pass_all
4326 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4327 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4328 file_magic_cmd=$lt_cv_file_magic_cmd
4329 deplibs_check_method=$lt_cv_deplibs_check_method
4330 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4335 # If no C compiler was specified, use CC.
4338 # Allow CC to be a program name with arguments.
4342 # Check whether --enable-libtool-lock was given.
4343 if test "${enable_libtool_lock+set}" = set; then
4344 enableval=$enable_libtool_lock;
4347 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
4349 # Some flags need to be propagated to the compiler or linker for good
4353 # Find out which ABI we are using.
4354 echo 'int i;' > conftest.$ac_ext
4355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4356 (eval $ac_compile) 2>&5
4358 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4359 (exit $ac_status); }; then
4360 case `/usr/bin/file conftest.$ac_objext` in
4372 # Find out which ABI we are using.
4373 echo '#line 4373 "configure
"' > conftest.$ac_ext
4374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4375 (eval $ac_compile) 2>&5
4377 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4378 (exit $ac_status); }; then
4379 if test "$lt_cv_prog_gnu_ld" = yes; then
4380 case `/usr/bin/file conftest.$ac_objext` in
4382 LD="${LD-ld} -melf32bsmip"
4385 LD="${LD-ld} -melf32bmipn32"
4388 LD="${LD-ld} -melf64bmip"
4392 case `/usr/bin/file conftest.$ac_objext` in
4408 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4409 # Find out which ABI we are using.
4410 echo 'int i;' > conftest.$ac_ext
4411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4412 (eval $ac_compile) 2>&5
4414 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4415 (exit $ac_status); }; then
4416 case "`/usr/bin/file conftest.o`" in
4420 LD="${LD-ld} -m elf_i386
"
4422 ppc64-*linux*|powerpc64-*linux*)
4423 LD="${LD-ld} -m elf32ppclinux
"
4426 LD="${LD-ld} -m elf_s390
"
4429 LD="${LD-ld} -m elf32_sparc
"
4436 LD="${LD-ld} -m elf_x86_64
"
4438 ppc*-*linux*|powerpc*-*linux*)
4439 LD="${LD-ld} -m elf64ppc
"
4442 LD="${LD-ld} -m elf64_s390
"
4445 LD="${LD-ld} -m elf64_sparc
"
4455 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4456 SAVE_CFLAGS="$CFLAGS"
4457 CFLAGS="$CFLAGS -belf"
4458 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
4459 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
4460 if test "${lt_cv_cc_needs_belf+set}" = set; then
4461 echo $ECHO_N "(cached
) $ECHO_C" >&6
4464 ac_cpp='$CPP $CPPFLAGS'
4465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4469 cat >conftest.$ac_ext <<_ACEOF
4472 cat confdefs.h >>conftest.$ac_ext
4473 cat >>conftest.$ac_ext <<_ACEOF
4474 /* end confdefs.h. */
4484 rm -f conftest.$ac_objext conftest$ac_exeext
4485 if { (ac_try="$ac_link"
4487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4488 *) ac_try_echo=$ac_try;;
4490 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4491 (eval "$ac_link") 2>conftest.er1
4493 grep -v '^ *+' conftest.er1 >conftest.err
4495 cat conftest.err >&5
4496 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4497 (exit $ac_status); } && {
4498 test -z "$ac_c_werror_flag" ||
4499 test ! -s conftest.err
4500 } && test -s conftest$ac_exeext &&
4501 $as_test_x conftest$ac_exeext; then
4502 lt_cv_cc_needs_belf=yes
4504 echo "$as_me: failed program was
:" >&5
4505 sed 's/^/| /' conftest.$ac_ext >&5
4507 lt_cv_cc_needs_belf=no
4510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4511 conftest$ac_exeext conftest.$ac_ext
4513 ac_cpp='$CPP $CPPFLAGS'
4514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4519 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
4520 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4521 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4522 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4523 CFLAGS="$SAVE_CFLAGS"
4529 need_locks="$enable_libtool_lock"
4533 ac_cpp='$CPP $CPPFLAGS'
4534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4537 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
4538 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
4539 # On Suns, sometimes $CPP names a directory.
4540 if test -n "$CPP" && test -d "$CPP"; then
4543 if test -z "$CPP"; then
4544 if test "${ac_cv_prog_CPP+set}" = set; then
4545 echo $ECHO_N "(cached
) $ECHO_C" >&6
4547 # Double quotes because CPP needs to be expanded
4548 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
4551 for ac_c_preproc_warn_flag in '' yes
4553 # Use a header file that comes with gcc, so configuring glibc
4554 # with a fresh cross-compiler works.
4555 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4556 # <limits.h> exists even on freestanding compilers.
4557 # On the NeXT, cc -E runs the code through the compiler's parser,
4558 # not just through cpp. "Syntax error
" is here to catch this case.
4559 cat >conftest.$ac_ext <<_ACEOF
4562 cat confdefs.h >>conftest.$ac_ext
4563 cat >>conftest.$ac_ext <<_ACEOF
4564 /* end confdefs.h. */
4566 # include <limits.h>
4568 # include <assert.h>
4572 if { (ac_try="$ac_cpp conftest.
$ac_ext"
4574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4575 *) ac_try_echo=$ac_try;;
4577 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4578 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
4580 grep -v '^ *+' conftest.er1 >conftest.err
4582 cat conftest.err >&5
4583 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4584 (exit $ac_status); } >/dev/null && {
4585 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4586 test ! -s conftest.err
4590 echo "$as_me: failed program was
:" >&5
4591 sed 's/^/| /' conftest.$ac_ext >&5
4593 # Broken: fails on valid input.
4597 rm -f conftest.err conftest.$ac_ext
4599 # OK, works on sane cases. Now check whether nonexistent headers
4600 # can be detected and how.
4601 cat >conftest.$ac_ext <<_ACEOF
4604 cat confdefs.h >>conftest.$ac_ext
4605 cat >>conftest.$ac_ext <<_ACEOF
4606 /* end confdefs.h. */
4607 #include <ac_nonexistent.h>
4609 if { (ac_try="$ac_cpp conftest.
$ac_ext"
4611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4612 *) ac_try_echo=$ac_try;;
4614 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4615 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
4617 grep -v '^ *+' conftest.er1 >conftest.err
4619 cat conftest.err >&5
4620 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4621 (exit $ac_status); } >/dev/null && {
4622 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4623 test ! -s conftest.err
4625 # Broken: success on invalid input.
4628 echo "$as_me: failed program was
:" >&5
4629 sed 's/^/| /' conftest.$ac_ext >&5
4631 # Passes both tests.
4636 rm -f conftest.err conftest.$ac_ext
4639 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4640 rm -f conftest.err conftest.$ac_ext
4641 if $ac_preproc_ok; then
4653 { echo "$as_me:$LINENO: result
: $CPP" >&5
4654 echo "${ECHO_T}$CPP" >&6; }
4656 for ac_c_preproc_warn_flag in '' yes
4658 # Use a header file that comes with gcc, so configuring glibc
4659 # with a fresh cross-compiler works.
4660 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4661 # <limits.h> exists even on freestanding compilers.
4662 # On the NeXT, cc -E runs the code through the compiler's parser,
4663 # not just through cpp. "Syntax error
" is here to catch this case.
4664 cat >conftest.$ac_ext <<_ACEOF
4667 cat confdefs.h >>conftest.$ac_ext
4668 cat >>conftest.$ac_ext <<_ACEOF
4669 /* end confdefs.h. */
4671 # include <limits.h>
4673 # include <assert.h>
4677 if { (ac_try="$ac_cpp conftest.
$ac_ext"
4679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4680 *) ac_try_echo=$ac_try;;
4682 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4683 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
4685 grep -v '^ *+' conftest.er1 >conftest.err
4687 cat conftest.err >&5
4688 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4689 (exit $ac_status); } >/dev/null && {
4690 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4691 test ! -s conftest.err
4695 echo "$as_me: failed program was
:" >&5
4696 sed 's/^/| /' conftest.$ac_ext >&5
4698 # Broken: fails on valid input.
4702 rm -f conftest.err conftest.$ac_ext
4704 # OK, works on sane cases. Now check whether nonexistent headers
4705 # can be detected and how.
4706 cat >conftest.$ac_ext <<_ACEOF
4709 cat confdefs.h >>conftest.$ac_ext
4710 cat >>conftest.$ac_ext <<_ACEOF
4711 /* end confdefs.h. */
4712 #include <ac_nonexistent.h>
4714 if { (ac_try="$ac_cpp conftest.
$ac_ext"
4716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4717 *) ac_try_echo=$ac_try;;
4719 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4720 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
4722 grep -v '^ *+' conftest.er1 >conftest.err
4724 cat conftest.err >&5
4725 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4726 (exit $ac_status); } >/dev/null && {
4727 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4728 test ! -s conftest.err
4730 # Broken: success on invalid input.
4733 echo "$as_me: failed program was
:" >&5
4734 sed 's/^/| /' conftest.$ac_ext >&5
4736 # Passes both tests.
4741 rm -f conftest.err conftest.$ac_ext
4744 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4745 rm -f conftest.err conftest.$ac_ext
4746 if $ac_preproc_ok; then
4749 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
4750 See \
`config.log' for more details." >&5
4751 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4752 See \`config.log
' for more details." >&2;}
4753 { (exit 1); exit 1; }; }
4757 ac_cpp='$CPP $CPPFLAGS'
4758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4759 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4763 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4764 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4765 if test "${ac_cv_header_stdc+set}" = set; then
4766 echo $ECHO_N "(cached) $ECHO_C" >&6
4768 cat >conftest.$ac_ext <<_ACEOF
4771 cat confdefs.h >>conftest.$ac_ext
4772 cat >>conftest.$ac_ext <<_ACEOF
4773 /* end confdefs.h. */
4787 rm -f conftest.$ac_objext
4788 if { (ac_try="$ac_compile"
4790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4791 *) ac_try_echo=$ac_try;;
4793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4794 (eval "$ac_compile") 2>conftest.er1
4796 grep -v '^
*+' conftest.er1 >conftest.err
4798 cat conftest.err >&5
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); } && {
4801 test -z "$ac_c_werror_flag" ||
4802 test ! -s conftest.err
4803 } && test -s conftest.$ac_objext; then
4804 ac_cv_header_stdc=yes
4806 echo "$as_me: failed program was:" >&5
4807 sed 's
/^
/|
/' conftest.$ac_ext >&5
4809 ac_cv_header_stdc=no
4812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4814 if test $ac_cv_header_stdc = yes; then
4815 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4816 cat >conftest.$ac_ext <<_ACEOF
4819 cat confdefs.h >>conftest.$ac_ext
4820 cat >>conftest.$ac_ext <<_ACEOF
4821 /* end confdefs.h. */
4825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4826 $EGREP "memchr" >/dev/null 2>&1; then
4829 ac_cv_header_stdc=no
4835 if test $ac_cv_header_stdc = yes; then
4836 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4837 cat >conftest.$ac_ext <<_ACEOF
4840 cat confdefs.h >>conftest.$ac_ext
4841 cat >>conftest.$ac_ext <<_ACEOF
4842 /* end confdefs.h. */
4846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4847 $EGREP "free" >/dev/null 2>&1; then
4850 ac_cv_header_stdc=no
4856 if test $ac_cv_header_stdc = yes; then
4857 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4858 if test "$cross_compiling" = yes; then
4861 cat >conftest.$ac_ext <<_ACEOF
4864 cat confdefs.h >>conftest.$ac_ext
4865 cat >>conftest.$ac_ext <<_ACEOF
4866 /* end confdefs.h. */
4869 #if ((' ' & 0x0FF) == 0x020)
4870 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
4871 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
4873 # define ISLOWER(c) \
4874 (('a
' <= (c) && (c) <= 'i
') \
4875 || ('j
' <= (c) && (c) <= 'r
') \
4876 || ('s
' <= (c) && (c) <= 'z
'))
4877 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4880 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4885 for (i = 0; i < 256; i++)
4886 if (XOR (islower (i), ISLOWER (i))
4887 || toupper (i) != TOUPPER (i))
4892 rm -f conftest$ac_exeext
4893 if { (ac_try="$ac_link"
4895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4896 *) ac_try_echo=$ac_try;;
4898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4899 (eval "$ac_link") 2>&5
4901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4902 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
4903 { (case "(($ac_try" in
4904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4905 *) ac_try_echo=$ac_try;;
4907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4908 (eval "$ac_try") 2>&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); }; }; then
4914 echo "$as_me: program exited with status $ac_status" >&5
4915 echo "$as_me: failed program was:" >&5
4916 sed 's
/^
/|
/' conftest.$ac_ext >&5
4919 ac_cv_header_stdc=no
4921 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4927 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4928 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4929 if test $ac_cv_header_stdc = yes; then
4931 cat >>confdefs.h <<\_ACEOF
4932 #define STDC_HEADERS 1
4937 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4947 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4948 inttypes.h stdint.h unistd.h
4950 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4951 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4953 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4954 echo $ECHO_N "(cached) $ECHO_C" >&6
4956 cat >conftest.$ac_ext <<_ACEOF
4959 cat confdefs.h >>conftest.$ac_ext
4960 cat >>conftest.$ac_ext <<_ACEOF
4961 /* end confdefs.h. */
4962 $ac_includes_default
4964 #include <$ac_header>
4966 rm -f conftest.$ac_objext
4967 if { (ac_try="$ac_compile"
4969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4970 *) ac_try_echo=$ac_try;;
4972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4973 (eval "$ac_compile") 2>conftest.er1
4975 grep -v '^
*+' conftest.er1 >conftest.err
4977 cat conftest.err >&5
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); } && {
4980 test -z "$ac_c_werror_flag" ||
4981 test ! -s conftest.err
4982 } && test -s conftest.$ac_objext; then
4983 eval "$as_ac_Header=yes"
4985 echo "$as_me: failed program was:" >&5
4986 sed 's
/^
/|
/' conftest.$ac_ext >&5
4988 eval "$as_ac_Header=no"
4991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4993 ac_res=`eval echo '${'$as_ac_Header'}'`
4994 { echo "$as_me:$LINENO: result: $ac_res" >&5
4995 echo "${ECHO_T}$ac_res" >&6; }
4996 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4997 cat >>confdefs.h <<_ACEOF
4998 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5007 for ac_header in dlfcn.h
5009 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5011 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5013 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5014 echo $ECHO_N "(cached) $ECHO_C" >&6
5016 ac_res=`eval echo '${'$as_ac_Header'}'`
5017 { echo "$as_me:$LINENO: result: $ac_res" >&5
5018 echo "${ECHO_T}$ac_res" >&6; }
5020 # Is the header compilable?
5021 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5022 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5023 cat >conftest.$ac_ext <<_ACEOF
5026 cat confdefs.h >>conftest.$ac_ext
5027 cat >>conftest.$ac_ext <<_ACEOF
5028 /* end confdefs.h. */
5029 $ac_includes_default
5030 #include <$ac_header>
5032 rm -f conftest.$ac_objext
5033 if { (ac_try="$ac_compile"
5035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5036 *) ac_try_echo=$ac_try;;
5038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5039 (eval "$ac_compile") 2>conftest.er1
5041 grep -v '^
*+' conftest.er1 >conftest.err
5043 cat conftest.err >&5
5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045 (exit $ac_status); } && {
5046 test -z "$ac_c_werror_flag" ||
5047 test ! -s conftest.err
5048 } && test -s conftest.$ac_objext; then
5049 ac_header_compiler=yes
5051 echo "$as_me: failed program was:" >&5
5052 sed 's
/^
/|
/' conftest.$ac_ext >&5
5054 ac_header_compiler=no
5057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5058 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5059 echo "${ECHO_T}$ac_header_compiler" >&6; }
5061 # Is the header present?
5062 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5063 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5064 cat >conftest.$ac_ext <<_ACEOF
5067 cat confdefs.h >>conftest.$ac_ext
5068 cat >>conftest.$ac_ext <<_ACEOF
5069 /* end confdefs.h. */
5070 #include <$ac_header>
5072 if { (ac_try="$ac_cpp conftest.$ac_ext"
5074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5075 *) ac_try_echo=$ac_try;;
5077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5078 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5080 grep -v '^
*+' conftest.er1 >conftest.err
5082 cat conftest.err >&5
5083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5084 (exit $ac_status); } >/dev/null && {
5085 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5086 test ! -s conftest.err
5088 ac_header_preproc=yes
5090 echo "$as_me: failed program was:" >&5
5091 sed 's
/^
/|
/' conftest.$ac_ext >&5
5093 ac_header_preproc=no
5096 rm -f conftest.err conftest.$ac_ext
5097 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5098 echo "${ECHO_T}$ac_header_preproc" >&6; }
5100 # So? What about this header?
5101 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5103 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5104 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5105 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
5106 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
5107 ac_header_preproc=yes
5110 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5111 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5112 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5113 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5114 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5115 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5116 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5117 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5118 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
5119 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
5120 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5121 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5125 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5127 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5128 echo $ECHO_N "(cached) $ECHO_C" >&6
5130 eval "$as_ac_Header=\$ac_header_preproc"
5132 ac_res=`eval echo '${'$as_ac_Header'}'`
5133 { echo "$as_me:$LINENO: result: $ac_res" >&5
5134 echo "${ECHO_T}$ac_res" >&6; }
5137 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5138 cat >>confdefs.h <<_ACEOF
5139 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5147 ac_cpp='$CXXCPP $CPPFLAGS'
5148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5149 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5151 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5152 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5153 if test -z "$CXXCPP"; then
5154 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5155 echo $ECHO_N "(cached) $ECHO_C" >&6
5157 # Double quotes because CXXCPP needs to be expanded
5158 for CXXCPP in "$CXX -E" "/lib/cpp"
5161 for ac_cxx_preproc_warn_flag in '' yes
5163 # Use a header file that comes with gcc, so configuring glibc
5164 # with a fresh cross-compiler works.
5165 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5166 # <limits.h> exists even on freestanding compilers.
5167 # On the NeXT, cc -E runs the code through the compiler's parser
,
5168 # not just through cpp. "Syntax error" is here to catch this case.
5169 cat >conftest.
$ac_ext <<_ACEOF
5172 cat confdefs.h
>>conftest.
$ac_ext
5173 cat >>conftest.
$ac_ext <<_ACEOF
5174 /* end confdefs.h. */
5176 # include <limits.h>
5178 # include <assert.h>
5182 if { (ac_try
="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 2>conftest.er1
5190 grep -v '^ *+' conftest.er1 >conftest.err
5192 cat conftest.err >&5
5193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194 (exit $ac_status); } >/dev/null && {
5195 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5196 test ! -s conftest.err
5200 echo "$as_me: failed program was:" >&5
5201 sed 's/^/| /' conftest.$ac_ext >&5
5203 # Broken: fails on valid input.
5207 rm -f conftest.err conftest.$ac_ext
5209 # OK, works on sane cases. Now check whether nonexistent headers
5210 # can be detected and how.
5211 cat >conftest.$ac_ext <<_ACEOF
5214 cat confdefs.h >>conftest.$ac_ext
5215 cat >>conftest.$ac_ext <<_ACEOF
5216 /* end confdefs.h. */
5217 #include <ac_nonexistent.h>
5219 if { (ac_try="$ac_cpp conftest.$ac_ext"
5221 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5222 *) ac_try_echo
=$ac_try;;
5224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5225 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5227 grep -v '^ *+' conftest.er1
>conftest.err
5229 cat conftest.err
>&5
5230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5231 (exit $ac_status); } >/dev
/null
&& {
5232 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5233 test ! -s conftest.err
5235 # Broken: success on invalid input.
5238 echo "$as_me: failed program was:" >&5
5239 sed 's/^/| /' conftest.
$ac_ext >&5
5241 # Passes both tests.
5246 rm -f conftest.err conftest.
$ac_ext
5249 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5250 rm -f conftest.err conftest.
$ac_ext
5251 if $ac_preproc_ok; then
5256 ac_cv_prog_CXXCPP
=$CXXCPP
5259 CXXCPP
=$ac_cv_prog_CXXCPP
5261 ac_cv_prog_CXXCPP
=$CXXCPP
5263 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5264 echo "${ECHO_T}$CXXCPP" >&6; }
5266 for ac_cxx_preproc_warn_flag
in '' yes
5268 # Use a header file that comes with gcc, so configuring glibc
5269 # with a fresh cross-compiler works.
5270 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5271 # <limits.h> exists even on freestanding compilers.
5272 # On the NeXT, cc -E runs the code through the compiler's parser,
5273 # not just through cpp. "Syntax error" is here to catch this case.
5274 cat >conftest.
$ac_ext <<_ACEOF
5277 cat confdefs.h
>>conftest.
$ac_ext
5278 cat >>conftest.
$ac_ext <<_ACEOF
5279 /* end confdefs.h. */
5281 # include <limits.h>
5283 # include <assert.h>
5287 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5289 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5290 *) ac_try_echo=$ac_try;;
5292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5293 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5295 grep -v '^ *+' conftest.er1 >conftest.err
5297 cat conftest.err >&5
5298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5299 (exit $ac_status); } >/dev/null && {
5300 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5301 test ! -s conftest.err
5305 echo "$as_me: failed program was:" >&5
5306 sed 's/^/| /' conftest.$ac_ext >&5
5308 # Broken: fails on valid input.
5312 rm -f conftest.err conftest.$ac_ext
5314 # OK, works on sane cases. Now check whether nonexistent headers
5315 # can be detected and how.
5316 cat >conftest.$ac_ext <<_ACEOF
5319 cat confdefs.h >>conftest.$ac_ext
5320 cat >>conftest.$ac_ext <<_ACEOF
5321 /* end confdefs.h. */
5322 #include <ac_nonexistent.h>
5324 if { (ac_try="$ac_cpp conftest.$ac_ext"
5326 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5327 *) ac_try_echo
=$ac_try;;
5329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5330 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5332 grep -v '^ *+' conftest.er1
>conftest.err
5334 cat conftest.err
>&5
5335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5336 (exit $ac_status); } >/dev
/null
&& {
5337 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5338 test ! -s conftest.err
5340 # Broken: success on invalid input.
5343 echo "$as_me: failed program was:" >&5
5344 sed 's/^/| /' conftest.
$ac_ext >&5
5346 # Passes both tests.
5351 rm -f conftest.err conftest.
$ac_ext
5354 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5355 rm -f conftest.err conftest.
$ac_ext
5356 if $ac_preproc_ok; then
5359 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5360 See \`config.log' for more details." >&5
5361 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5362 See \`config.log' for more details." >&2;}
5363 { (exit 1); exit 1; }; }
5367 ac_cpp
='$CXXCPP $CPPFLAGS'
5368 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5369 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5370 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5374 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5375 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5376 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5377 if test -n "$ac_tool_prefix"; then
5378 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5380 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5381 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5384 if test "${ac_cv_prog_F77+set}" = set; then
5385 echo $ECHO_N "(cached) $ECHO_C" >&6
5387 if test -n "$F77"; then
5388 ac_cv_prog_F77
="$F77" # Let the user override the test.
5390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5394 test -z "$as_dir" && as_dir
=.
5395 for ac_exec_ext
in '' $ac_executable_extensions; do
5396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5397 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5408 if test -n "$F77"; then
5409 { echo "$as_me:$LINENO: result: $F77" >&5
5410 echo "${ECHO_T}$F77" >&6; }
5412 { echo "$as_me:$LINENO: result: no" >&5
5413 echo "${ECHO_T}no" >&6; }
5417 test -n "$F77" && break
5420 if test -z "$F77"; then
5422 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5424 # Extract the first word of "$ac_prog", so it can be a program name with args.
5425 set dummy
$ac_prog; ac_word
=$2
5426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5428 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5429 echo $ECHO_N "(cached) $ECHO_C" >&6
5431 if test -n "$ac_ct_F77"; then
5432 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5438 test -z "$as_dir" && as_dir
=.
5439 for ac_exec_ext
in '' $ac_executable_extensions; do
5440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5441 ac_cv_prog_ac_ct_F77
="$ac_prog"
5442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5451 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5452 if test -n "$ac_ct_F77"; then
5453 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5454 echo "${ECHO_T}$ac_ct_F77" >&6; }
5456 { echo "$as_me:$LINENO: result: no" >&5
5457 echo "${ECHO_T}no" >&6; }
5461 test -n "$ac_ct_F77" && break
5464 if test "x$ac_ct_F77" = x
; then
5467 case $cross_compiling:$ac_tool_warned in
5469 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5470 whose name does not start with the host triplet. If you think this
5471 configuration is useful to you, please write to autoconf@gnu.org." >&5
5472 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5473 whose name does not start with the host triplet. If you think this
5474 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5475 ac_tool_warned
=yes ;;
5482 # Provide some information about the compiler.
5483 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5484 ac_compiler
=`set X $ac_compile; echo $2`
5485 { (ac_try
="$ac_compiler --version >&5"
5487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5488 *) ac_try_echo=$ac_try;;
5490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5491 (eval "$ac_compiler --version >&5") 2>&5
5493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5494 (exit $ac_status); }
5495 { (ac_try="$ac_compiler -v >&5"
5497 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5498 *) ac_try_echo
=$ac_try;;
5500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5501 (eval "$ac_compiler -v >&5") 2>&5
5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504 (exit $ac_status); }
5505 { (ac_try
="$ac_compiler -V >&5"
5507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5508 *) ac_try_echo=$ac_try;;
5510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5511 (eval "$ac_compiler -V >&5") 2>&5
5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 (exit $ac_status); }
5517 # If we don't use `.F
' as extension, the preprocessor is not run on the
5518 # input file. (Note that this only needs to work for GNU compilers.)
5521 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5522 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5523 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5524 echo $ECHO_N "(cached) $ECHO_C" >&6
5526 cat >conftest.$ac_ext <<_ACEOF
5534 rm -f conftest.$ac_objext
5535 if { (ac_try="$ac_compile"
5537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5538 *) ac_try_echo=$ac_try;;
5540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5541 (eval "$ac_compile") 2>conftest.er1
5543 grep -v '^
*+' conftest.er1 >conftest.err
5545 cat conftest.err >&5
5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547 (exit $ac_status); } && {
5548 test -z "$ac_f77_werror_flag" ||
5549 test ! -s conftest.err
5550 } && test -s conftest.$ac_objext; then
5553 echo "$as_me: failed program was:" >&5
5554 sed 's
/^
/|
/' conftest.$ac_ext >&5
5559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5560 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5563 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5564 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5566 ac_test_FFLAGS=${FFLAGS+set}
5567 ac_save_FFLAGS=$FFLAGS
5569 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5570 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5571 if test "${ac_cv_prog_f77_g+set}" = set; then
5572 echo $ECHO_N "(cached) $ECHO_C" >&6
5575 cat >conftest.$ac_ext <<_ACEOF
5580 rm -f conftest.$ac_objext
5581 if { (ac_try="$ac_compile"
5583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5584 *) ac_try_echo=$ac_try;;
5586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5587 (eval "$ac_compile") 2>conftest.er1
5589 grep -v '^
*+' conftest.er1 >conftest.err
5591 cat conftest.err >&5
5592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5593 (exit $ac_status); } && {
5594 test -z "$ac_f77_werror_flag" ||
5595 test ! -s conftest.err
5596 } && test -s conftest.$ac_objext; then
5597 ac_cv_prog_f77_g=yes
5599 echo "$as_me: failed program was:" >&5
5600 sed 's
/^
/|
/' conftest.$ac_ext >&5
5605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5608 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5609 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5610 if test "$ac_test_FFLAGS" = set; then
5611 FFLAGS=$ac_save_FFLAGS
5612 elif test $ac_cv_prog_f77_g = yes; then
5613 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5619 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5626 G77=`test $ac_compiler_gnu = yes && echo yes`
5628 ac_cpp='$CPP $CPPFLAGS'
5629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5630 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5635 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
5637 # find the maximum length of command line arguments
5638 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5639 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5640 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5641 echo $ECHO_N "(cached) $ECHO_C" >&6
5648 # On DJGPP, this test can blow up pretty badly due to problems in libc
5649 # (any single argument exceeding 2000 bytes causes a buffer overrun
5650 # during glob expansion). Even if it were fixed, the result of this
5651 # check would be larger than it should be.
5652 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5656 # Under GNU Hurd, this test is not required because there is
5657 # no limit to the length of command line arguments.
5658 # Libtool will interpret -1 as no limit whatsoever
5659 lt_cv_sys_max_cmd_len
=-1;
5663 # On Win9x/ME, this test blows up -- it succeeds, but takes
5664 # about 5 minutes as the teststring grows exponentially.
5665 # Worse, since 9x/ME are not pre-emptively multitasking,
5666 # you end up with a "frozen" computer, even though with patience
5667 # the test eventually succeeds (with a max line length of 256k).
5668 # Instead, let's just punt: use the minimum linelength reported by
5669 # all of the supported platforms: 8192 (on NT/2K/XP).
5670 lt_cv_sys_max_cmd_len
=8192;
5673 amigaos
* | morphos
*)
5674 # On AmigaOS with pdksh, this test takes hours, literally.
5675 # So we just punt and use a minimum line length of 8192.
5676 lt_cv_sys_max_cmd_len
=8192;
5680 # If test is not a shell built-in, we'll probably end up computing a
5681 # maximum length that is only half of the actual maximum length, but
5683 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5684 = "XX$testring") >/dev
/null
2>&1 &&
5685 new_result
=`expr "X$testring" : ".*" 2>&1` &&
5686 lt_cv_sys_max_cmd_len
=$new_result &&
5687 test $i != 17 # 1/2 MB should be enough
5690 testring
=$testring$testring
5693 # Add a significant safety factor because C++ compilers can tack on massive
5694 # amounts of additional arguments before passing them to the linker.
5695 # It appears as though 1/2 is a usable value.
5696 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5702 if test -n $lt_cv_sys_max_cmd_len ; then
5703 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5704 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5706 { echo "$as_me:$LINENO: result: none" >&5
5707 echo "${ECHO_T}none" >&6; }
5713 # Check for command to grab the raw symbol name followed by C symbol from nm.
5714 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5715 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5716 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5717 echo $ECHO_N "(cached) $ECHO_C" >&6
5720 # These are sane defaults that work on at least a few old systems.
5721 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5723 # Character class describing NM global symbol codes.
5724 symcode
='[BCDEGRST]'
5726 # Regexp to match symbols that can be accessed directly from C.
5727 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5729 # Transform the above into a raw symbol and a C symbol.
5730 symxfrm
='\1 \2\3 \3'
5732 # Transform an extracted symbol line into a proper C declaration
5733 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5735 # Transform an extracted symbol line into symbol name and symbol address
5736 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'"
5738 # Define system-specific variables.
5743 cygwin
* | mingw
* | pw32
*)
5744 symcode
='[ABCDGISTW]'
5746 hpux
*) # Its linker distinguishes data from code symbols
5747 if test "$host_cpu" = ia64
; then
5748 symcode
='[ABCDEGRST]'
5750 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5751 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'"
5754 symcode
='[BCDEGRST]'
5757 symcode
='[BCDEGQRST]'
5767 # Handle CRLF in mingw tool chain
5771 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5775 # If we're using GNU nm, then use its standard symbol codes.
5776 case `$NM -V 2>&1` in
5777 *GNU
* |
*'with BFD'*)
5778 symcode
='[ABCDGIRSTW]' ;;
5781 # Try without a prefix undercore, then with it.
5782 for ac_symprfx
in "" "_"; do
5784 # Write the raw and C identifiers.
5785 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5787 # Check to see that the pipe works correctly.
5791 cat > conftest.
$ac_ext <<EOF
5796 void nm_test_func(){}
5800 int main(){nm_test_var='a';nm_test_func();return(0);}
5803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5804 (eval $ac_compile) 2>&5
5806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5807 (exit $ac_status); }; then
5808 # Now try to grab the symbols.
5810 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5811 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814 (exit $ac_status); } && test -s "$nlist"; then
5815 # Try sorting and uniquifying the output.
5816 if sort "$nlist" |
uniq > "$nlist"T
; then
5817 mv -f "$nlist"T
"$nlist"
5822 # Make sure that we snagged all the symbols we need.
5823 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5824 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5825 cat <<EOF > conftest.$ac_ext
5831 # Now generate the symbol file.
5832 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5834 cat <<EOF >> conftest.$ac_ext
5835 #if defined (__STDC__) && __STDC__
5836 # define lt_ptr_t void *
5838 # define lt_ptr_t char *
5842 /* The mapping between symbol names and symbols. */
5847 lt_preloaded_symbols[] =
5850 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5851 cat <<\EOF
>> conftest.
$ac_ext
5859 # Now try linking the two files.
5860 mv conftest.
$ac_objext conftstm.
$ac_objext
5861 lt_save_LIBS
="$LIBS"
5862 lt_save_CFLAGS
="$CFLAGS"
5863 LIBS
="conftstm.$ac_objext"
5864 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5866 (eval $ac_link) 2>&5
5868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
5872 LIBS
="$lt_save_LIBS"
5873 CFLAGS
="$lt_save_CFLAGS"
5875 echo "cannot find nm_test_func in $nlist" >&5
5878 echo "cannot find nm_test_var in $nlist" >&5
5881 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5884 echo "$progname: failed program was:" >&5
5885 cat conftest.
$ac_ext >&5
5887 rm -f conftest
* conftst
*
5889 # Do not use the global_symbol_pipe unless it works.
5890 if test "$pipe_works" = yes; then
5893 lt_cv_sys_global_symbol_pipe
=
5899 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5900 lt_cv_sys_global_symbol_to_cdecl
=
5902 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5903 { echo "$as_me:$LINENO: result: failed" >&5
5904 echo "${ECHO_T}failed" >&6; }
5906 { echo "$as_me:$LINENO: result: ok" >&5
5907 echo "${ECHO_T}ok" >&6; }
5910 { echo "$as_me:$LINENO: checking for objdir" >&5
5911 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5912 if test "${lt_cv_objdir+set}" = set; then
5913 echo $ECHO_N "(cached) $ECHO_C" >&6
5915 rm -f .libs
2>/dev
/null
5916 mkdir .libs
2>/dev
/null
5917 if test -d .libs
; then
5920 # MS-DOS does not allow filenames that begin with a dot.
5923 rmdir .libs
2>/dev
/null
5925 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5926 echo "${ECHO_T}$lt_cv_objdir" >&6; }
5927 objdir
=$lt_cv_objdir
5935 # AIX sometimes has problems with the GCC collect2 program. For some
5936 # reason, if we set the COLLECT_NAMES environment variable, the problems
5937 # vanish in a puff of smoke.
5938 if test "X${COLLECT_NAMES+set}" != Xset
; then
5940 export COLLECT_NAMES
5945 # Sed substitution that helps us do robust quoting. It backslashifies
5946 # metacharacters that are still active within double-quoted strings.
5947 Xsed
='sed -e s/^X//'
5948 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
5950 # Same as above, but do not quote variable references.
5951 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
5953 # Sed substitution to delay expansion of an escaped shell variable in a
5954 # double_quote_subst'ed string.
5955 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5957 # Sed substitution to avoid accidental globbing in evaled expressions
5958 no_glob_subst
='s/\*/\\\*/g'
5964 default_ofile
=libtool
5965 can_build_shared
=yes
5967 # All known linkers require a `.a' archive for static linking (except M$VC,
5968 # which needs '.lib').
5970 ltmain
="$ac_aux_dir/ltmain.sh"
5971 ofile
="$default_ofile"
5972 with_gnu_ld
="$lt_cv_prog_gnu_ld"
5974 if test -n "$ac_tool_prefix"; then
5975 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5976 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5977 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5979 if test "${ac_cv_prog_AR+set}" = set; then
5980 echo $ECHO_N "(cached) $ECHO_C" >&6
5982 if test -n "$AR"; then
5983 ac_cv_prog_AR
="$AR" # Let the user override the test.
5985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5989 test -z "$as_dir" && as_dir
=.
5990 for ac_exec_ext
in '' $ac_executable_extensions; do
5991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5992 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6003 if test -n "$AR"; then
6004 { echo "$as_me:$LINENO: result: $AR" >&5
6005 echo "${ECHO_T}$AR" >&6; }
6007 { echo "$as_me:$LINENO: result: no" >&5
6008 echo "${ECHO_T}no" >&6; }
6013 if test -z "$ac_cv_prog_AR"; then
6015 # Extract the first word of "ar", so it can be a program name with args.
6016 set dummy
ar; ac_word
=$2
6017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6019 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6020 echo $ECHO_N "(cached) $ECHO_C" >&6
6022 if test -n "$ac_ct_AR"; then
6023 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6029 test -z "$as_dir" && as_dir
=.
6030 for ac_exec_ext
in '' $ac_executable_extensions; do
6031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6032 ac_cv_prog_ac_ct_AR
="ar"
6033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6042 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6043 if test -n "$ac_ct_AR"; then
6044 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6045 echo "${ECHO_T}$ac_ct_AR" >&6; }
6047 { echo "$as_me:$LINENO: result: no" >&5
6048 echo "${ECHO_T}no" >&6; }
6051 if test "x$ac_ct_AR" = x
; then
6054 case $cross_compiling:$ac_tool_warned in
6056 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6057 whose name does not start with the host triplet. If you think this
6058 configuration is useful to you, please write to autoconf@gnu.org." >&5
6059 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6060 whose name does not start with the host triplet. If you think this
6061 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6062 ac_tool_warned
=yes ;;
6070 if test -n "$ac_tool_prefix"; then
6071 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6072 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6073 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6075 if test "${ac_cv_prog_RANLIB+set}" = set; then
6076 echo $ECHO_N "(cached) $ECHO_C" >&6
6078 if test -n "$RANLIB"; then
6079 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6085 test -z "$as_dir" && as_dir
=.
6086 for ac_exec_ext
in '' $ac_executable_extensions; do
6087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6088 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6098 RANLIB
=$ac_cv_prog_RANLIB
6099 if test -n "$RANLIB"; then
6100 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6101 echo "${ECHO_T}$RANLIB" >&6; }
6103 { echo "$as_me:$LINENO: result: no" >&5
6104 echo "${ECHO_T}no" >&6; }
6109 if test -z "$ac_cv_prog_RANLIB"; then
6110 ac_ct_RANLIB
=$RANLIB
6111 # Extract the first word of "ranlib", so it can be a program name with args.
6112 set dummy ranlib
; ac_word
=$2
6113 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6115 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6116 echo $ECHO_N "(cached) $ECHO_C" >&6
6118 if test -n "$ac_ct_RANLIB"; then
6119 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6125 test -z "$as_dir" && as_dir
=.
6126 for ac_exec_ext
in '' $ac_executable_extensions; do
6127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6128 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6138 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6139 if test -n "$ac_ct_RANLIB"; then
6140 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6141 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6143 { echo "$as_me:$LINENO: result: no" >&5
6144 echo "${ECHO_T}no" >&6; }
6147 if test "x$ac_ct_RANLIB" = x
; then
6150 case $cross_compiling:$ac_tool_warned in
6152 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6153 whose name does not start with the host triplet. If you think this
6154 configuration is useful to you, please write to autoconf@gnu.org." >&5
6155 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6156 whose name does not start with the host triplet. If you think this
6157 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6158 ac_tool_warned
=yes ;;
6160 RANLIB
=$ac_ct_RANLIB
6163 RANLIB
="$ac_cv_prog_RANLIB"
6166 if test -n "$ac_tool_prefix"; then
6167 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6168 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6171 if test "${ac_cv_prog_STRIP+set}" = set; then
6172 echo $ECHO_N "(cached) $ECHO_C" >&6
6174 if test -n "$STRIP"; then
6175 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6181 test -z "$as_dir" && as_dir
=.
6182 for ac_exec_ext
in '' $ac_executable_extensions; do
6183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6184 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6194 STRIP
=$ac_cv_prog_STRIP
6195 if test -n "$STRIP"; then
6196 { echo "$as_me:$LINENO: result: $STRIP" >&5
6197 echo "${ECHO_T}$STRIP" >&6; }
6199 { echo "$as_me:$LINENO: result: no" >&5
6200 echo "${ECHO_T}no" >&6; }
6205 if test -z "$ac_cv_prog_STRIP"; then
6207 # Extract the first word of "strip", so it can be a program name with args.
6208 set dummy strip
; ac_word
=$2
6209 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6211 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6212 echo $ECHO_N "(cached) $ECHO_C" >&6
6214 if test -n "$ac_ct_STRIP"; then
6215 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6221 test -z "$as_dir" && as_dir
=.
6222 for ac_exec_ext
in '' $ac_executable_extensions; do
6223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6224 ac_cv_prog_ac_ct_STRIP
="strip"
6225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6234 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6235 if test -n "$ac_ct_STRIP"; then
6236 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6237 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6239 { echo "$as_me:$LINENO: result: no" >&5
6240 echo "${ECHO_T}no" >&6; }
6243 if test "x$ac_ct_STRIP" = x
; then
6246 case $cross_compiling:$ac_tool_warned in
6248 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6249 whose name does not start with the host triplet. If you think this
6250 configuration is useful to you, please write to autoconf@gnu.org." >&5
6251 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6252 whose name does not start with the host triplet. If you think this
6253 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6254 ac_tool_warned
=yes ;;
6259 STRIP
="$ac_cv_prog_STRIP"
6264 old_CFLAGS
="$CFLAGS"
6266 # Set sane defaults for various variables
6267 test -z "$AR" && AR
=ar
6268 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6269 test -z "$AS" && AS
=as
6270 test -z "$CC" && CC
=cc
6271 test -z "$LTCC" && LTCC
=$CC
6272 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6273 test -z "$LD" && LD
=ld
6274 test -z "$LN_S" && LN_S
="ln -s"
6275 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6276 test -z "$NM" && NM
=nm
6277 test -z "$SED" && SED
=sed
6278 test -z "$OBJDUMP" && OBJDUMP
=objdump
6279 test -z "$RANLIB" && RANLIB
=:
6280 test -z "$STRIP" && STRIP
=:
6281 test -z "$ac_objext" && ac_objext
=o
6283 # Determine commands to create old-style static archives.
6284 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6285 old_postinstall_cmds
='chmod 644 $oldlib'
6286 old_postuninstall_cmds
=
6288 if test -n "$RANLIB"; then
6291 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6294 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
6297 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6300 # Only perform the check for file, if the check method requires it
6301 case $deplibs_check_method in
6303 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6304 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6305 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6306 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6307 echo $ECHO_N "(cached) $ECHO_C" >&6
6311 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6314 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6315 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6316 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6317 for ac_dir
in $ac_dummy; do
6319 test -z "$ac_dir" && ac_dir
=.
6320 if test -f $ac_dir/${ac_tool_prefix}file; then
6321 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6322 if test -n "$file_magic_test_file"; then
6323 case $deplibs_check_method in
6325 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6326 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6327 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6328 $EGREP "$file_magic_regex" > /dev
/null
; then
6333 *** Warning: the command libtool uses to detect shared libraries,
6334 *** $file_magic_cmd, produces output that libtool cannot recognize.
6335 *** The result is that libtool may fail to recognize shared libraries
6336 *** as such. This will affect the creation of libtool libraries that
6337 *** depend on shared libraries, but programs linked with such libtool
6338 *** libraries will work regardless of this problem. Nevertheless, you
6339 *** may want to report the problem to your system manager and/or to
6340 *** bug-libtool@gnu.org
6350 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6355 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6356 if test -n "$MAGIC_CMD"; then
6357 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6358 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6360 { echo "$as_me:$LINENO: result: no" >&5
6361 echo "${ECHO_T}no" >&6; }
6364 if test -z "$lt_cv_path_MAGIC_CMD"; then
6365 if test -n "$ac_tool_prefix"; then
6366 { echo "$as_me:$LINENO: checking for file" >&5
6367 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6368 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6369 echo $ECHO_N "(cached) $ECHO_C" >&6
6373 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6376 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6377 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6378 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6379 for ac_dir
in $ac_dummy; do
6381 test -z "$ac_dir" && ac_dir
=.
6382 if test -f $ac_dir/file; then
6383 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6384 if test -n "$file_magic_test_file"; then
6385 case $deplibs_check_method in
6387 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6388 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6389 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6390 $EGREP "$file_magic_regex" > /dev
/null
; then
6395 *** Warning: the command libtool uses to detect shared libraries,
6396 *** $file_magic_cmd, produces output that libtool cannot recognize.
6397 *** The result is that libtool may fail to recognize shared libraries
6398 *** as such. This will affect the creation of libtool libraries that
6399 *** depend on shared libraries, but programs linked with such libtool
6400 *** libraries will work regardless of this problem. Nevertheless, you
6401 *** may want to report the problem to your system manager and/or to
6402 *** bug-libtool@gnu.org
6412 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6417 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6418 if test -n "$MAGIC_CMD"; then
6419 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6420 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6422 { echo "$as_me:$LINENO: result: no" >&5
6423 echo "${ECHO_T}no" >&6; }
6438 # Check whether --enable-libtool-lock was given.
6439 if test "${enable_libtool_lock+set}" = set; then
6440 enableval
=$enable_libtool_lock;
6443 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6446 # Check whether --with-pic was given.
6447 if test "${with_pic+set}" = set; then
6448 withval
=$with_pic; pic_mode
="$withval"
6453 test -z "$pic_mode" && pic_mode
=default
6455 # Use C for the default configuration in the libtool script
6459 ac_cpp
='$CPP $CPPFLAGS'
6460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6465 # Source file extension for C test sources.
6468 # Object file extension for compiled C test sources.
6472 # Code to be used in simple compile tests
6473 lt_simple_compile_test_code
="int some_variable = 0;\n"
6475 # Code to be used in simple link tests
6476 lt_simple_link_test_code
='int main(){return(0);}\n'
6479 # If no C compiler was specified, use CC.
6482 # Allow CC to be a program name with arguments.
6487 # Check for any special shared library compilation flags.
6490 if test "$GCC" = no
; then
6493 lt_prog_cc_shlib
='-belf'
6497 if test -n "$lt_prog_cc_shlib"; then
6498 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6499 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6500 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
6502 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6503 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6504 lt_cv_prog_cc_can_build_shared
=no
6510 # Check to make sure the static flag actually works.
6512 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6513 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
6514 if test "${lt_prog_compiler_static_works+set}" = set; then
6515 echo $ECHO_N "(cached) $ECHO_C" >&6
6517 lt_prog_compiler_static_works
=no
6518 save_LDFLAGS
="$LDFLAGS"
6519 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
6520 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6521 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6522 # The compiler can only warn and ignore the option if not recognized
6523 # So say no if there are warnings
6524 if test -s conftest.err
; then
6525 # Append any errors to the config.log.
6526 cat conftest.err
1>&5
6528 lt_prog_compiler_static_works
=yes
6532 LDFLAGS
="$save_LDFLAGS"
6535 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6536 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
6538 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6541 lt_prog_compiler_static
=
6547 ## There is no encapsulation within the following macros, do not change
6548 ## the running order or otherwise move them around unless you know exactly
6549 ## what you are doing...
6551 lt_prog_compiler_no_builtin_flag
=
6553 if test "$GCC" = yes; then
6554 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6557 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6558 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6559 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6560 echo $ECHO_N "(cached) $ECHO_C" >&6
6562 lt_cv_prog_compiler_rtti_exceptions
=no
6563 ac_outfile
=conftest.
$ac_objext
6564 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6565 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6566 # Insert the option either (1) after the last *FLAGS variable, or
6567 # (2) before a word containing "conftest.", or (3) at the end.
6568 # Note that $ac_compile itself does not contain backslashes and begins
6569 # with a dollar sign (not a hyphen), so the echo should work correctly.
6570 # The option is referenced via a variable to avoid confusing sed.
6571 lt_compile
=`echo "$ac_compile" | $SED \
6572 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6573 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6574 -e 's:$: $lt_compiler_flag:'`
6575 (eval echo "\"\$as_me:6575: $lt_compile\"" >&5)
6576 (eval "$lt_compile" 2>conftest.err
)
6578 cat conftest.err
>&5
6579 echo "$as_me:6579: \$? = $ac_status" >&5
6580 if (exit $ac_status) && test -s "$ac_outfile"; then
6581 # The compiler can only warn and ignore the option if not recognized
6582 # So say no if there are warnings
6583 if test ! -s conftest.err
; then
6584 lt_cv_prog_compiler_rtti_exceptions
=yes
6590 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6591 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6593 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6594 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6601 lt_prog_compiler_wl
=
6602 lt_prog_compiler_pic
=
6603 lt_prog_compiler_static
=
6605 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6606 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6608 if test "$GCC" = yes; then
6609 lt_prog_compiler_wl
='-Wl,'
6610 lt_prog_compiler_static
='-static'
6614 # All AIX code is PIC.
6615 if test "$host_cpu" = ia64
; then
6616 # AIX 5 now supports IA64 processor
6617 lt_prog_compiler_static
='-Bstatic'
6622 # FIXME: we need at least 68020 code to build shared libraries, but
6623 # adding the `-m68020' flag to GCC prevents building anything better,
6625 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6628 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6629 # PIC is the default for these OSes.
6632 mingw
* | pw32
* | os2
*)
6633 # This hack is so that the source file can tell whether it is being
6634 # built for inclusion in a dll (and should export symbols for example).
6635 lt_prog_compiler_pic
='-DDLL_EXPORT'
6638 darwin
* | rhapsody
*)
6639 # PIC is the default on this platform
6640 # Common symbols not allowed in MH_DYLIB files
6641 lt_prog_compiler_pic
='-fno-common'
6645 # Just because we use GCC doesn't mean we suddenly get shared libraries
6646 # on systems that don't support them.
6647 lt_prog_compiler_can_build_shared
=no
6652 if test -d /usr
/nec
; then
6653 lt_prog_compiler_pic
=-Kconform_pic
6658 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6665 lt_prog_compiler_pic
='-fPIC'
6671 lt_prog_compiler_pic
='-fPIC'
6675 # PORTME Check for flag to pass linker flags through the system compiler.
6678 lt_prog_compiler_wl
='-Wl,'
6679 if test "$host_cpu" = ia64
; then
6680 # AIX 5 now supports IA64 processor
6681 lt_prog_compiler_static
='-Bstatic'
6683 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6687 mingw
* | pw32
* | os2
*)
6688 # This hack is so that the source file can tell whether it is being
6689 # built for inclusion in a dll (and should export symbols for example).
6690 lt_prog_compiler_pic
='-DDLL_EXPORT'
6693 hpux9
* | hpux10
* | hpux11
*)
6694 lt_prog_compiler_wl
='-Wl,'
6695 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6702 lt_prog_compiler_pic
='+Z'
6705 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6706 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6709 irix5
* | irix6
* | nonstopux
*)
6710 lt_prog_compiler_wl
='-Wl,'
6711 # PIC (with -KPIC) is the default.
6712 lt_prog_compiler_static
='-non_shared'
6716 lt_prog_compiler_pic
='-KPIC'
6717 lt_prog_compiler_static
='-Bstatic'
6723 lt_prog_compiler_wl
='-Wl,'
6724 lt_prog_compiler_pic
='-KPIC'
6725 lt_prog_compiler_static
='-static'
6728 lt_prog_compiler_wl
='-Wl,'
6729 # All Alpha code is PIC.
6730 lt_prog_compiler_static
='-non_shared'
6735 osf3
* | osf4
* | osf5
*)
6736 lt_prog_compiler_wl
='-Wl,'
6737 # All OSF/1 code is PIC.
6738 lt_prog_compiler_static
='-non_shared'
6742 lt_prog_compiler_pic
='-Kpic'
6743 lt_prog_compiler_static
='-dn'
6747 lt_prog_compiler_wl
='-Wl,'
6748 lt_prog_compiler_pic
='-KPIC'
6749 lt_prog_compiler_static
='-Bstatic'
6753 lt_prog_compiler_wl
='-Qoption ld '
6754 lt_prog_compiler_pic
='-PIC'
6755 lt_prog_compiler_static
='-Bstatic'
6758 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
6759 lt_prog_compiler_wl
='-Wl,'
6760 lt_prog_compiler_pic
='-KPIC'
6761 lt_prog_compiler_static
='-Bstatic'
6765 if test -d /usr
/nec
;then
6766 lt_prog_compiler_pic
='-Kconform_pic'
6767 lt_prog_compiler_static
='-Bstatic'
6772 lt_prog_compiler_pic
='-pic'
6773 lt_prog_compiler_static
='-Bstatic'
6777 lt_prog_compiler_can_build_shared
=no
6782 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6783 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6786 # Check to make sure the PIC flag actually works.
6788 if test -n "$lt_prog_compiler_pic"; then
6790 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6791 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
6792 if test "${lt_prog_compiler_pic_works+set}" = set; then
6793 echo $ECHO_N "(cached) $ECHO_C" >&6
6795 lt_prog_compiler_pic_works
=no
6796 ac_outfile
=conftest.
$ac_objext
6797 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6798 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6799 # Insert the option either (1) after the last *FLAGS variable, or
6800 # (2) before a word containing "conftest.", or (3) at the end.
6801 # Note that $ac_compile itself does not contain backslashes and begins
6802 # with a dollar sign (not a hyphen), so the echo should work correctly.
6803 # The option is referenced via a variable to avoid confusing sed.
6804 lt_compile
=`echo "$ac_compile" | $SED \
6805 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6806 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6807 -e 's:$: $lt_compiler_flag:'`
6808 (eval echo "\"\$as_me:6808: $lt_compile\"" >&5)
6809 (eval "$lt_compile" 2>conftest.err
)
6811 cat conftest.err
>&5
6812 echo "$as_me:6812: \$? = $ac_status" >&5
6813 if (exit $ac_status) && test -s "$ac_outfile"; then
6814 # The compiler can only warn and ignore the option if not recognized
6815 # So say no if there are warnings
6816 if test ! -s conftest.err
; then
6817 lt_prog_compiler_pic_works
=yes
6823 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6824 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
6826 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6827 case $lt_prog_compiler_pic in
6829 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6832 lt_prog_compiler_pic
=
6833 lt_prog_compiler_can_build_shared
=no
6838 # For platforms which do not support PIC, -DPIC is meaningless:
6840 lt_prog_compiler_pic
=
6843 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6847 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6848 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
6849 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6850 echo $ECHO_N "(cached) $ECHO_C" >&6
6852 lt_cv_prog_compiler_c_o
=no
6853 $rm -r conftest
2>/dev
/null
6857 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6859 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6860 # that will create temporary files in the current directory regardless of
6861 # the output directory. Thus, making CWD read-only will cause this test
6862 # to fail, enabling locking or at least warning the user not to do parallel
6866 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6867 # Insert the option either (1) after the last *FLAGS variable, or
6868 # (2) before a word containing "conftest.", or (3) at the end.
6869 # Note that $ac_compile itself does not contain backslashes and begins
6870 # with a dollar sign (not a hyphen), so the echo should work correctly.
6871 lt_compile
=`echo "$ac_compile" | $SED \
6872 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6873 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6874 -e 's:$: $lt_compiler_flag:'`
6875 (eval echo "\"\$as_me:6875: $lt_compile\"" >&5)
6876 (eval "$lt_compile" 2>out
/conftest.err
)
6878 cat out
/conftest.err
>&5
6879 echo "$as_me:6879: \$? = $ac_status" >&5
6880 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6882 # The compiler can only warn and ignore the option if not recognized
6883 # So say no if there are warnings
6884 if test ! -s out
/conftest.err
; then
6885 lt_cv_prog_compiler_c_o
=yes
6890 # SGI C++ compiler will create directory out/ii_files/ for
6891 # template instantiation
6892 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
6893 $rm out
/* && rmdir out
6899 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6900 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
6903 hard_links
="nottested"
6904 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6905 # do not overwrite the value of need_locks provided by the user
6906 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6907 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
6910 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6912 ln conftest.a conftest.b
2>&5 || hard_links
=no
6913 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6914 { echo "$as_me:$LINENO: result: $hard_links" >&5
6915 echo "${ECHO_T}$hard_links" >&6; }
6916 if test "$hard_links" = no
; then
6917 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6918 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6925 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6926 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
6929 allow_undefined_flag
=
6930 enable_shared_with_static_runtimes
=no
6932 archive_expsym_cmds
=
6933 old_archive_From_new_cmds
=
6934 old_archive_from_expsyms_cmds
=
6935 export_dynamic_flag_spec
=
6936 whole_archive_flag_spec
=
6937 thread_safe_flag_spec
=
6938 hardcode_libdir_flag_spec
=
6939 hardcode_libdir_flag_spec_ld
=
6940 hardcode_libdir_separator
=
6943 hardcode_shlibpath_var
=unsupported
6944 link_all_deplibs
=unknown
6945 hardcode_automatic
=no
6948 always_export_symbols
=no
6949 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6950 # include_expsyms should be a list of space-separated symbols to be *always*
6951 # included in the symbol list
6953 # exclude_expsyms can be an extended regexp of symbols to exclude
6954 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6955 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6956 # as well as any symbol that contains `d'.
6957 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6958 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6959 # platforms (ab)use it in PIC code, but their linkers get confused if
6960 # the symbol is explicitly referenced. Since portable code cannot
6961 # rely on this symbol name, it's probably fine to never include it in
6962 # preloaded symbol tables.
6963 extract_expsyms_cmds
=
6966 cygwin
* | mingw
* | pw32
*)
6967 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6968 # When not using gcc, we currently assume that we are using
6969 # Microsoft Visual C++.
6970 if test "$GCC" != yes; then
6980 if test "$with_gnu_ld" = yes; then
6981 # If archive_cmds runs LD, not CC, wlarc should be empty
6984 # See if GNU ld supports shared libraries.
6986 aix3
* | aix4
* | aix5
*)
6987 # On AIX/PPC, the GNU linker is very broken
6988 if test "$host_cpu" != ia64
; then
6992 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6993 *** to be unable to reliably create shared libraries on AIX.
6994 *** Therefore, libtool is disabling shared libraries support. If you
6995 *** really care for shared libraries, you may want to modify your PATH
6996 *** so that a non-GNU linker is found, and then restart.
7003 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)'
7004 hardcode_libdir_flag_spec
='-L$libdir'
7005 hardcode_minus_L
=yes
7007 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7008 # that the semantics of dynamic libraries on AmigaOS, at least up
7009 # to version 4, is to share data among multiple programs linked
7010 # with the same dynamic library. Since this doesn't match the
7011 # behavior of shared libraries on other platforms, we can't use
7017 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7018 allow_undefined_flag
=unsupported
7019 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7020 # support --undefined. This deserves some investigation. FIXME
7021 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7027 cygwin
* | mingw
* | pw32
*)
7028 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7029 # as there is no search path for DLLs.
7030 hardcode_libdir_flag_spec
='-L$libdir'
7031 allow_undefined_flag
=unsupported
7032 always_export_symbols
=no
7033 enable_shared_with_static_runtimes
=yes
7034 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7036 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7037 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7038 # If the export-symbols file already is a .def file (1st line
7039 # is EXPORTS), use it as is; otherwise, prepend...
7040 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7041 cp $export_symbols $output_objdir/$soname.def;
7043 echo EXPORTS > $output_objdir/$soname.def;
7044 cat $export_symbols >> $output_objdir/$soname.def;
7046 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7053 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7054 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7057 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7058 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7063 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7067 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7068 *** create shared libraries on Solaris systems. Therefore, libtool
7069 *** is disabling shared libraries support. We urge you to upgrade GNU
7070 *** binutils to release 2.9.1 or newer. Another option is to modify
7071 *** your PATH or compiler configuration so that the native linker is
7072 *** used, and then restart.
7075 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7076 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7077 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7084 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7087 hardcode_shlibpath_var
=no
7091 if $LD --help 2>&1 |
egrep ': supported targets:.* elf' > /dev
/null
; then
7092 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7093 archive_cmds
="$tmp_archive_cmds"
7094 supports_anon_versioning
=no
7095 case `$LD -v 2>/dev/null` in
7096 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7097 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7098 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7099 *\
2.11.
*) ;; # other 2.11 versions
7100 *) supports_anon_versioning
=yes ;;
7102 if test $supports_anon_versioning = yes; then
7103 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7104 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7105 $echo "local: *; };" >> $output_objdir/$libname.ver~
7106 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7108 archive_expsym_cmds
="$tmp_archive_cmds"
7116 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7117 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7118 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7125 if test "$ld_shlibs" = yes; then
7126 runpath_var
=LD_RUN_PATH
7127 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7128 export_dynamic_flag_spec
='${wl}--export-dynamic'
7129 # ancient GNU ld didn't support --whole-archive et. al.
7130 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7131 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7133 whole_archive_flag_spec
=
7137 # PORTME fill in a description of your system's linker (not GNU ld)
7140 allow_undefined_flag
=unsupported
7141 always_export_symbols
=yes
7142 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'
7143 # Note: this linker hardcodes the directories in LIBPATH if there
7144 # are no directories specified by -L.
7145 hardcode_minus_L
=yes
7146 if test "$GCC" = yes && test -z "$link_static_flag"; then
7147 # Neither direct hardcoding nor static linking is supported with a
7149 hardcode_direct
=unsupported
7154 if test "$host_cpu" = ia64
; then
7155 # On IA64, the linker does run time linking by default, so we don't
7156 # have to do anything special.
7157 aix_use_runtimelinking
=no
7158 exp_sym_flag
='-Bexport'
7161 # If we're using GNU nm, then we don't want the "-C" option.
7162 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7163 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7164 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'
7166 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'
7168 aix_use_runtimelinking
=no
7170 # Test if we are trying to use run time linking or normal
7171 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7172 # need to do runtime linking.
7173 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7174 for ld_flag
in $LDFLAGS; do
7175 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7176 aix_use_runtimelinking
=yes
7182 exp_sym_flag
='-bexport'
7183 no_entry_flag
='-bnoentry'
7186 # When large executables or shared objects are built, AIX ld can
7187 # have problems creating the table of contents. If linking a library
7188 # or program results in "error TOC overflow" add -mminimal-toc to
7189 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7190 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7194 hardcode_libdir_separator
=':'
7195 link_all_deplibs
=yes
7197 if test "$GCC" = yes; then
7198 case $host_os in aix4.012|aix4.012.
*)
7199 # We only want to do this on AIX 4.2 and lower, the check
7200 # below for broken collect2 doesn't work under 4.3+
7201 collect2name
=`${CC} -print-prog-name=collect2`
7202 if test -f "$collect2name" && \
7203 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7205 # We have reworked collect2
7208 # We have old collect2
7209 hardcode_direct
=unsupported
7210 # It fails to find uninstalled libraries when the uninstalled
7211 # path is not listed in the libpath. Setting hardcode_minus_L
7212 # to unsupported forces relinking
7213 hardcode_minus_L
=yes
7214 hardcode_libdir_flag_spec
='-L$libdir'
7215 hardcode_libdir_separator
=
7218 shared_flag
='-shared'
7221 if test "$host_cpu" = ia64
; then
7222 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7223 # chokes on -Wl,-G. The following line is correct:
7226 if test "$aix_use_runtimelinking" = yes; then
7227 shared_flag
='${wl}-G'
7229 shared_flag
='${wl}-bM:SRE'
7234 # It seems that -bexpall does not export symbols beginning with
7235 # underscore (_), so it is better to generate a list of symbols to export.
7236 always_export_symbols
=yes
7237 if test "$aix_use_runtimelinking" = yes; then
7238 # Warning - without using the other runtime loading flags (-brtl),
7239 # -berok will link without error, but may produce a broken library.
7240 allow_undefined_flag
='-berok'
7241 # Determine the default libpath from the value encoded in an empty executable.
7242 cat >conftest.
$ac_ext <<_ACEOF
7245 cat confdefs.h
>>conftest.
$ac_ext
7246 cat >>conftest.
$ac_ext <<_ACEOF
7247 /* end confdefs.h. */
7257 rm -f conftest.
$ac_objext conftest
$ac_exeext
7258 if { (ac_try
="$ac_link"
7260 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7261 *) ac_try_echo=$ac_try;;
7263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7264 (eval "$ac_link") 2>conftest.er1
7266 grep -v '^ *+' conftest.er1 >conftest.err
7268 cat conftest.err >&5
7269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7270 (exit $ac_status); } && {
7271 test -z "$ac_c_werror_flag" ||
7272 test ! -s conftest.err
7273 } && test -s conftest$ac_exeext &&
7274 $as_test_x conftest$ac_exeext; then
7276 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7278 # Check for a 64-bit object if we didn't find anything.
7279 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; }
7282 echo "$as_me: failed program was:" >&5
7283 sed 's/^/| /' conftest.$ac_ext >&5
7288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7289 conftest$ac_exeext conftest.$ac_ext
7290 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7292 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7293 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"
7295 if test "$host_cpu" = ia64
; then
7296 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7297 allow_undefined_flag
="-z nodefs"
7298 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"
7300 # Determine the default libpath from the value encoded in an empty executable.
7301 cat >conftest.$ac_ext <<_ACEOF
7304 cat confdefs.h >>conftest.$ac_ext
7305 cat >>conftest.$ac_ext <<_ACEOF
7306 /* end confdefs.h. */
7316 rm -f conftest.$ac_objext conftest$ac_exeext
7317 if { (ac_try="$ac_link"
7319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7320 *) ac_try_echo=$ac_try;;
7322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7323 (eval "$ac_link") 2>conftest.er1
7325 grep -v '^
*+' conftest.er1 >conftest.err
7327 cat conftest.err >&5
7328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7329 (exit $ac_status); } && {
7330 test -z "$ac_c_werror_flag" ||
7331 test ! -s conftest.err
7332 } && test -s conftest$ac_exeext &&
7333 $as_test_x conftest$ac_exeext; then
7335 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings
/,/^$
/ { /^
0/ { s
/^
0 *\
(.
*\
)$
/\
1/; p
; }
7337 # Check for a 64-bit object if we didn't
find anything.
7338 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; }
7341 echo "$as_me: failed program was:" >&5
7342 sed 's/^/| /' conftest.
$ac_ext >&5
7347 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7348 conftest
$ac_exeext conftest.
$ac_ext
7349 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7351 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7352 # Warning - without using the other run time loading flags,
7353 # -berok will link without error, but may produce a broken library.
7354 no_undefined_flag
=' ${wl}-bernotok'
7355 allow_undefined_flag
=' ${wl}-berok'
7356 # -bexpall does not export symbols beginning with underscore (_)
7357 always_export_symbols
=yes
7358 # Exported symbols can be pulled into shared objects from archives
7359 whole_archive_flag_spec
=' '
7360 archive_cmds_need_lc
=yes
7361 # This is similar to how AIX traditionally builds it's shared libraries.
7362 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'
7368 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)'
7369 hardcode_libdir_flag_spec
='-L$libdir'
7370 hardcode_minus_L
=yes
7371 # see comment about different semantics on the GNU ld section
7376 export_dynamic_flag_spec
=-rdynamic
7379 cygwin
* | mingw
* | pw32
*)
7380 # When not using gcc, we currently assume that we are using
7381 # Microsoft Visual C++.
7382 # hardcode_libdir_flag_spec is actually meaningless, as there is
7383 # no search path for DLLs.
7384 hardcode_libdir_flag_spec
=' '
7385 allow_undefined_flag
=unsupported
7386 # Tell ltmain to make .lib files, not .a files.
7388 # Tell ltmain to make .dll files, not .so files.
7390 # FIXME: Setting linknames here is a bad hack.
7391 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7392 # The linker will automatically build a .lib file if we build a DLL.
7393 old_archive_From_new_cmds
='true'
7394 # FIXME: Should let the user specify the lib program.
7395 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7396 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7397 enable_shared_with_static_runtimes
=yes
7400 darwin
* | rhapsody
*)
7401 if test "$GXX" = yes ; then
7402 archive_cmds_need_lc
=no
7404 rhapsody
* | darwin1.
[012])
7405 allow_undefined_flag
='-undefined suppress'
7408 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7409 allow_undefined_flag
='-flat_namespace -undefined suppress'
7411 case ${MACOSX_DEPLOYMENT_TARGET} in
7413 allow_undefined_flag
='-flat_namespace -undefined suppress'
7416 allow_undefined_flag
='-undefined dynamic_lookup'
7422 lt_int_apple_cc_single_mod
=no
7423 output_verbose_link_cmd
='echo'
7424 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
7425 lt_int_apple_cc_single_mod
=yes
7427 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
7428 archive_cmds
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7430 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'
7432 module_cmds
='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7433 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7434 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
7435 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}'
7437 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}'
7439 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}'
7441 hardcode_automatic
=yes
7442 hardcode_shlibpath_var
=unsupported
7443 whole_archive_flag_spec
='-all_load $convenience'
7444 link_all_deplibs
=yes
7451 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7452 hardcode_libdir_flag_spec
='-L$libdir'
7453 hardcode_shlibpath_var
=no
7460 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7461 # support. Future versions do this automatically, but an explicit c++rt0.o
7462 # does not break anything, and helps significantly (at the cost of a little
7465 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7466 hardcode_libdir_flag_spec
='-R$libdir'
7468 hardcode_shlibpath_var
=no
7471 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7473 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7475 hardcode_minus_L
=yes
7476 hardcode_shlibpath_var
=no
7479 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7480 freebsd
* | kfreebsd
*-gnu)
7481 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7482 hardcode_libdir_flag_spec
='-R$libdir'
7484 hardcode_shlibpath_var
=no
7488 if test "$GCC" = yes; then
7489 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'
7491 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'
7493 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7494 hardcode_libdir_separator
=:
7497 # hardcode_minus_L: Not really in the search PATH,
7498 # but as the default location of the library.
7499 hardcode_minus_L
=yes
7500 export_dynamic_flag_spec
='${wl}-E'
7504 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7507 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7510 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7516 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7519 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7523 if test "$with_gnu_ld" = no
; then
7526 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7527 hardcode_libdir_flag_spec_ld
='+b $libdir'
7528 hardcode_libdir_separator
=:
7530 hardcode_shlibpath_var
=no
7533 hardcode_libdir_flag_spec
='-L$libdir'
7535 hardcode_shlibpath_var
=no
7537 # hardcode_minus_L: Not really in the search PATH,
7538 # but as the default location of the library.
7539 hardcode_minus_L
=yes
7542 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7543 hardcode_libdir_separator
=:
7545 export_dynamic_flag_spec
='${wl}-E'
7547 # hardcode_minus_L: Not really in the search PATH,
7548 # but as the default location of the library.
7549 hardcode_minus_L
=yes
7555 irix5
* | irix6
* | nonstopux
*)
7556 if test "$GCC" = yes; then
7557 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'
7559 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'
7560 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7562 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7563 hardcode_libdir_separator
=:
7564 link_all_deplibs
=yes
7568 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7569 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7571 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7573 hardcode_libdir_flag_spec
='-R$libdir'
7575 hardcode_shlibpath_var
=no
7579 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7581 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7582 hardcode_libdir_separator
=:
7583 hardcode_shlibpath_var
=no
7588 hardcode_shlibpath_var
=no
7589 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7590 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7591 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7592 export_dynamic_flag_spec
='${wl}-E'
7595 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7596 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7597 hardcode_libdir_flag_spec
='-R$libdir'
7600 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7601 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7608 hardcode_libdir_flag_spec
='-L$libdir'
7609 hardcode_minus_L
=yes
7610 allow_undefined_flag
=unsupported
7611 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'
7612 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7616 if test "$GCC" = yes; then
7617 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7618 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'
7620 allow_undefined_flag
=' -expect_unresolved \*'
7621 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'
7623 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7624 hardcode_libdir_separator
=:
7627 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7628 if test "$GCC" = yes; then
7629 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7630 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'
7631 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7633 allow_undefined_flag
=' -expect_unresolved \*'
7634 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'
7635 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7636 $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'
7638 # Both c and cxx compiler support -rpath directly
7639 hardcode_libdir_flag_spec
='-rpath $libdir'
7641 hardcode_libdir_separator
=:
7645 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7646 hardcode_shlibpath_var
=no
7647 export_dynamic_flag_spec
='${wl}-Bexport'
7648 runpath_var
=LD_RUN_PATH
7649 hardcode_runpath_var
=yes
7653 no_undefined_flag
=' -z text'
7654 if test "$GCC" = yes; then
7655 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7656 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7657 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7659 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7660 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7661 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7663 hardcode_libdir_flag_spec
='-R$libdir'
7664 hardcode_shlibpath_var
=no
7666 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7667 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7668 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7670 link_all_deplibs
=yes
7674 if test "x$host_vendor" = xsequent
; then
7675 # Use $CC to link under sequent, because it throws in some extra .o
7676 # files that make .init and .fini sections work.
7677 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7679 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7681 hardcode_libdir_flag_spec
='-L$libdir'
7683 hardcode_minus_L
=yes
7684 hardcode_shlibpath_var
=no
7688 case $host_vendor in
7690 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7691 hardcode_direct
=yes # is this really true???
7694 ## LD is ld it makes a PLAMLIB
7695 ## CC just makes a GrossModule.
7696 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7697 reload_cmds
='$CC -r -o $output$reload_objs'
7701 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7702 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7705 runpath_var
='LD_RUN_PATH'
7706 hardcode_shlibpath_var
=no
7710 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7711 hardcode_shlibpath_var
=no
7712 export_dynamic_flag_spec
='-Bexport'
7716 if test -d /usr
/nec
; then
7717 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7718 hardcode_shlibpath_var
=no
7719 runpath_var
=LD_RUN_PATH
7720 hardcode_runpath_var
=yes
7726 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7729 hardcode_shlibpath_var
=no
7730 hardcode_runpath_var
=yes
7731 runpath_var
=LD_RUN_PATH
7734 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
7735 no_undefined_flag
='${wl}-z ${wl}text'
7736 if test "$GCC" = yes; then
7737 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7739 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7741 runpath_var
='LD_RUN_PATH'
7742 hardcode_shlibpath_var
=no
7746 no_undefined_flag
=' -z text'
7747 # $CC -shared without GNU ld will not create a library from C++
7748 # object files and a static libstdc++, better avoid it by now
7749 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7750 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7751 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7752 hardcode_libdir_flag_spec
=
7753 hardcode_shlibpath_var
=no
7754 runpath_var
='LD_RUN_PATH'
7758 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7759 hardcode_libdir_flag_spec
='-L$libdir'
7760 hardcode_shlibpath_var
=no
7769 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7770 echo "${ECHO_T}$ld_shlibs" >&6; }
7771 test "$ld_shlibs" = no
&& can_build_shared
=no
7773 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
7774 if test "$GCC" = yes; then
7775 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7779 # Do we need to explicitly link libc?
7781 case "x$archive_cmds_need_lc" in
7783 # Assume -lc should be added
7784 archive_cmds_need_lc
=yes
7786 if test "$enable_shared" = yes && test "$GCC" = yes; then
7787 case $archive_cmds in
7789 # FIXME: we may have to deal with multi-command sequences.
7792 # Test whether the compiler implicitly links with -lc since on some
7793 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7794 # to ld, don't add -lc before -lgcc.
7795 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7796 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
7798 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7801 (eval $ac_compile) 2>&5
7803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7804 (exit $ac_status); } 2>conftest.err
; then
7807 libobjs
=conftest.
$ac_objext
7809 wl
=$lt_prog_compiler_wl
7815 lt_save_allow_undefined_flag
=$allow_undefined_flag
7816 allow_undefined_flag
=
7817 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7818 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7821 (exit $ac_status); }
7823 archive_cmds_need_lc
=no
7825 archive_cmds_need_lc
=yes
7827 allow_undefined_flag
=$lt_save_allow_undefined_flag
7829 cat conftest.err
1>&5
7832 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7833 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
7840 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7841 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
7843 libname_spec
='lib$name'
7851 shlibpath_overrides_runpath
=unknown
7853 dynamic_linker
="$host_os ld.so"
7854 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7855 if test "$GCC" = yes; then
7856 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7857 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7858 # if the path contains ";" then we assume it to be the separator
7859 # otherwise default to the standard path separator (i.e. ":") - it is
7860 # assumed that no part of a normal pathname contains ";" but that should
7861 # okay in the real world where ";" in dirpaths is itself problematic.
7862 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7864 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7867 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7869 need_lib_prefix
=unknown
7870 hardcode_into_libs
=no
7872 # when you set need_version to no, make sure it does not cause -set_version
7873 # flags to be left without arguments
7874 need_version
=unknown
7879 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7880 shlibpath_var
=LIBPATH
7882 # AIX 3 has no versioning support, so we append a major version to the name.
7883 soname_spec
='${libname}${release}${shared_ext}$major'
7890 hardcode_into_libs
=yes
7891 if test "$host_cpu" = ia64
; then
7892 # AIX 5 supports IA64
7893 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7894 shlibpath_var
=LD_LIBRARY_PATH
7896 # With GCC up to 2.95.x, collect2 would create an import file
7897 # for dependence libraries. The import file would start with
7898 # the line `#! .'. This would cause the generated library to
7899 # depend on `.', always an invalid library. This was fixed in
7900 # development snapshots of GCC prior to 3.0.
7902 aix4 | aix4.
[01] | aix4.
[01].
*)
7903 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7905 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
7912 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7913 # soname into executable. Probably we can add versioning support to
7914 # collect2, so additional links can be useful in future.
7915 if test "$aix_use_runtimelinking" = yes; then
7916 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7917 # instead of lib<name>.a to let people know that these are not
7918 # typical AIX shared libraries.
7919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7921 # We preserve .a as extension for shared libraries through AIX4.2
7922 # and later when we are not doing run time linking.
7923 library_names_spec
='${libname}${release}.a $libname.a'
7924 soname_spec
='${libname}${release}${shared_ext}$major'
7926 shlibpath_var
=LIBPATH
7931 library_names_spec
='$libname.ixlibrary $libname.a'
7932 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7933 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'
7937 library_names_spec
='${libname}${shared_ext}'
7938 dynamic_linker
="$host_os ld.so"
7939 shlibpath_var
=LIBRARY_PATH
7945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7946 soname_spec
='${libname}${release}${shared_ext}$major'
7947 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
7948 shlibpath_var
=LD_LIBRARY_PATH
7949 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7950 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
7951 # the default ld.so.conf also contains /usr/contrib/lib and
7952 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7953 # libtool to hard-code these into programs
7956 cygwin
* | mingw
* | pw32
*)
7957 version_type
=windows
7962 case $GCC,$host_os in
7963 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
7964 library_names_spec
='$libname.dll.a'
7965 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7966 postinstall_cmds
='base_file=`basename \${file}`~
7967 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7968 dldir=$destdir/`dirname \$dlpath`~
7969 test -d \$dldir || mkdir -p \$dldir~
7970 $install_prog $dir/$dlname \$dldir/$dlname'
7971 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7972 dlpath=$dir/\$dldll~
7974 shlibpath_overrides_runpath
=yes
7978 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7979 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7980 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
7983 # MinGW DLLs use traditional 'lib' prefix
7984 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7985 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7986 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
7987 # It is most probably a Windows format PATH printed by
7988 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7989 # path with ; separators, and with drive letters. We can handle the
7990 # drive letters (cygwin fileutils understands them), so leave them,
7991 # especially as we might pass files found there to a mingw objdump,
7992 # which wouldn't understand a cygwinified path. Ahh.
7993 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7995 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7999 # pw32 DLLs use 'pw' prefix rather than 'lib'
8000 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
8006 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8009 dynamic_linker
='Win32 ld.exe'
8010 # FIXME: first we should search . and the directory the executable is in
8014 darwin
* | rhapsody
*)
8015 dynamic_linker
="$host_os dyld"
8019 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8020 soname_spec
='${libname}${release}${major}$shared_ext'
8021 shlibpath_overrides_runpath
=yes
8022 shlibpath_var
=DYLD_LIBRARY_PATH
8023 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
8024 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8025 if test "$GCC" = yes; then
8026 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"`
8028 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8030 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8037 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8038 soname_spec
='${libname}${release}${shared_ext}$major'
8039 shlibpath_var
=LD_LIBRARY_PATH
8050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8051 soname_spec
='${libname}${release}${shared_ext}$major'
8052 shlibpath_var
=LD_LIBRARY_PATH
8053 shlibpath_overrides_runpath
=no
8054 hardcode_into_libs
=yes
8055 dynamic_linker
='GNU ld.so'
8059 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
8060 version_type
=freebsd-
$objformat
8061 case $version_type in
8063 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8068 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8072 shlibpath_var
=LD_LIBRARY_PATH
8075 shlibpath_overrides_runpath
=yes
8077 freebsd3.01
* | freebsdelf3.01
*)
8078 shlibpath_overrides_runpath
=yes
8079 hardcode_into_libs
=yes
8082 shlibpath_overrides_runpath
=no
8083 hardcode_into_libs
=yes
8092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8093 soname_spec
='${libname}${release}${shared_ext}$major'
8094 shlibpath_var
=LD_LIBRARY_PATH
8095 hardcode_into_libs
=yes
8098 hpux9
* | hpux10
* | hpux11
*)
8099 # Give a soname corresponding to the major version so that dld.sl refuses to
8100 # link against other versions.
8107 hardcode_into_libs
=yes
8108 dynamic_linker
="$host_os dld.so"
8109 shlibpath_var
=LD_LIBRARY_PATH
8110 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8112 soname_spec
='${libname}${release}${shared_ext}$major'
8113 if test "X$HPUX_IA64_MODE" = X32
; then
8114 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8116 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8118 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8122 hardcode_into_libs
=yes
8123 dynamic_linker
="$host_os dld.sl"
8124 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8125 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8126 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8127 soname_spec
='${libname}${release}${shared_ext}$major'
8128 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8129 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8133 dynamic_linker
="$host_os dld.sl"
8134 shlibpath_var
=SHLIB_PATH
8135 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8137 soname_spec
='${libname}${release}${shared_ext}$major'
8140 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8141 postinstall_cmds
='chmod 555 $lib'
8144 irix5
* | irix6
* | nonstopux
*)
8146 nonstopux
*) version_type
=nonstopux
;;
8148 if test "$lt_cv_prog_gnu_ld" = yes; then
8156 soname_spec
='${libname}${release}${shared_ext}$major'
8157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8159 irix5
* | nonstopux
*)
8163 case $LD in # libtool.m4 will add one of these switches to LD
8164 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8165 libsuff
= shlibsuff
= libmagic
=32-bit;;
8166 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8167 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8168 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8169 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8170 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8174 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8175 shlibpath_overrides_runpath
=no
8176 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8177 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8178 hardcode_into_libs
=yes
8181 # No shared lib support for Linux oldld, aout, or coff.
8182 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8186 # This must be Linux ELF.
8191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8192 soname_spec
='${libname}${release}${shared_ext}$major'
8193 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8194 shlibpath_var
=LD_LIBRARY_PATH
8195 shlibpath_overrides_runpath
=no
8196 # This implies no fast_install, which is unacceptable.
8197 # Some rework will be needed to allow for fast_install
8198 # before this can be enabled.
8199 hardcode_into_libs
=yes
8201 # We used to test for /lib/ld.so.1 and disable shared libraries on
8202 # powerpc, because MkLinux only supported shared libraries with the
8203 # GNU dynamic linker. Since this was broken with cross compilers,
8204 # most powerpc-linux boxes support dynamic linking these days and
8205 # people can always --disable-shared, the test was removed, and we
8206 # assume the GNU/Linux dynamic linker is in use.
8207 dynamic_linker
='GNU/Linux ld.so'
8214 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8215 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8216 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8217 dynamic_linker
='NetBSD (a.out) ld.so'
8219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
8220 soname_spec
='${libname}${release}${shared_ext}$major'
8221 dynamic_linker
='NetBSD ld.elf_so'
8223 shlibpath_var
=LD_LIBRARY_PATH
8224 shlibpath_overrides_runpath
=yes
8225 hardcode_into_libs
=yes
8230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8231 shlibpath_var
=LD_LIBRARY_PATH
8232 shlibpath_overrides_runpath
=yes
8239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8240 soname_spec
='${libname}${release}${shared_ext}$major'
8241 shlibpath_var
=LD_LIBRARY_PATH
8242 shlibpath_overrides_runpath
=yes
8249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8250 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8251 shlibpath_var
=LD_LIBRARY_PATH
8252 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8254 openbsd2.
[89] | openbsd2.
[89].
*)
8255 shlibpath_overrides_runpath
=no
8258 shlibpath_overrides_runpath
=yes
8262 shlibpath_overrides_runpath
=yes
8267 libname_spec
='$name'
8270 library_names_spec
='$libname${shared_ext} $libname.a'
8271 dynamic_linker
='OS/2 ld.exe'
8272 shlibpath_var
=LIBPATH
8275 osf3
* | osf4
* | osf5
*)
8279 soname_spec
='${libname}${release}${shared_ext}$major'
8280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8281 shlibpath_var
=LD_LIBRARY_PATH
8282 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8283 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8288 soname_spec
='${libname}${release}${shared_ext}$major'
8289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8290 shlibpath_var
=LD_LIBRARY_PATH
8297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8298 soname_spec
='${libname}${release}${shared_ext}$major'
8299 shlibpath_var
=LD_LIBRARY_PATH
8300 shlibpath_overrides_runpath
=yes
8301 hardcode_into_libs
=yes
8302 # ldd complains unless libraries are executable
8303 postinstall_cmds
='chmod +x $lib'
8308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8309 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8310 shlibpath_var
=LD_LIBRARY_PATH
8311 shlibpath_overrides_runpath
=yes
8312 if test "$with_gnu_ld" = yes; then
8318 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8320 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8321 soname_spec
='${libname}${release}${shared_ext}$major'
8322 shlibpath_var
=LD_LIBRARY_PATH
8323 case $host_vendor in
8325 shlibpath_overrides_runpath
=no
8327 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8328 runpath_var
=LD_RUN_PATH
8336 shlibpath_overrides_runpath
=no
8337 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8343 if test -d /usr
/nec
;then
8345 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8346 soname_spec
='$libname${shared_ext}.$major'
8347 shlibpath_var
=LD_LIBRARY_PATH
8353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8354 soname_spec
='${libname}${release}${shared_ext}$major'
8355 shlibpath_var
=LD_LIBRARY_PATH
8362 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8363 echo "${ECHO_T}$dynamic_linker" >&6; }
8364 test "$dynamic_linker" = no
&& can_build_shared
=no
8366 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8367 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8369 if test -n "$hardcode_libdir_flag_spec" || \
8370 test -n "$runpath_var " || \
8371 test "X$hardcode_automatic"="Xyes" ; then
8373 # We can hardcode non-existant directories.
8374 if test "$hardcode_direct" != no
&&
8375 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8376 # have to relink, otherwise we might link with an installed library
8377 # when we should be linking with a yet-to-be-installed one
8378 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8379 test "$hardcode_minus_L" != no
; then
8380 # Linking always hardcodes the temporary library directory.
8381 hardcode_action
=relink
8383 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8384 hardcode_action
=immediate
8387 # We cannot hardcode anything, or else we can only hardcode existing
8389 hardcode_action
=unsupported
8391 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
8392 echo "${ECHO_T}$hardcode_action" >&6; }
8394 if test "$hardcode_action" = relink
; then
8395 # Fast installation is not supported
8396 enable_fast_install
=no
8397 elif test "$shlibpath_overrides_runpath" = yes ||
8398 test "$enable_shared" = no
; then
8399 # Fast installation is not necessary
8400 enable_fast_install
=needless
8405 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8406 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8407 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8408 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8409 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8410 { echo "$as_me:$LINENO: result: yes" >&5
8411 echo "${ECHO_T}yes" >&6; }
8413 # FIXME - insert some real tests, host_os isn't really good enough
8416 if test -n "$STRIP" ; then
8417 striplib
="$STRIP -x"
8418 { echo "$as_me:$LINENO: result: yes" >&5
8419 echo "${ECHO_T}yes" >&6; }
8421 { echo "$as_me:$LINENO: result: no" >&5
8422 echo "${ECHO_T}no" >&6; }
8426 { echo "$as_me:$LINENO: result: no" >&5
8427 echo "${ECHO_T}no" >&6; }
8432 if test "x$enable_dlopen" != xyes
; then
8433 enable_dlopen
=unknown
8434 enable_dlopen_self
=unknown
8435 enable_dlopen_self_static
=unknown
8442 lt_cv_dlopen
="load_add_on"
8444 lt_cv_dlopen_self
=yes
8448 lt_cv_dlopen
="LoadLibrary"
8453 lt_cv_dlopen
="dlopen"
8458 # if libdl is installed we need to link against it
8459 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8460 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8461 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8462 echo $ECHO_N "(cached) $ECHO_C" >&6
8464 ac_check_lib_save_LIBS
=$LIBS
8466 cat >conftest.
$ac_ext <<_ACEOF
8469 cat confdefs.h
>>conftest.
$ac_ext
8470 cat >>conftest.
$ac_ext <<_ACEOF
8471 /* end confdefs.h. */
8473 /* Override any GCC internal prototype to avoid an error.
8474 Use char because int might match the return type of a GCC
8475 builtin and then its argument prototype would still apply. */
8488 rm -f conftest.
$ac_objext conftest
$ac_exeext
8489 if { (ac_try
="$ac_link"
8491 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8492 *) ac_try_echo=$ac_try;;
8494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8495 (eval "$ac_link") 2>conftest.er1
8497 grep -v '^ *+' conftest.er1 >conftest.err
8499 cat conftest.err >&5
8500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501 (exit $ac_status); } && {
8502 test -z "$ac_c_werror_flag" ||
8503 test ! -s conftest.err
8504 } && test -s conftest$ac_exeext &&
8505 $as_test_x conftest$ac_exeext; then
8506 ac_cv_lib_dl_dlopen=yes
8508 echo "$as_me: failed program was:" >&5
8509 sed 's/^/| /' conftest.$ac_ext >&5
8511 ac_cv_lib_dl_dlopen=no
8514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8515 conftest$ac_exeext conftest.$ac_ext
8516 LIBS=$ac_check_lib_save_LIBS
8518 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8519 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8520 if test $ac_cv_lib_dl_dlopen = yes; then
8521 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8526 lt_cv_dlopen_self=yes
8533 { echo "$as_me:$LINENO: checking for shl_load" >&5
8534 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8535 if test "${ac_cv_func_shl_load+set}" = set; then
8536 echo $ECHO_N "(cached) $ECHO_C" >&6
8538 cat >conftest.$ac_ext <<_ACEOF
8541 cat confdefs.h >>conftest.$ac_ext
8542 cat >>conftest.$ac_ext <<_ACEOF
8543 /* end confdefs.h. */
8544 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8546 #define shl_load innocuous_shl_load
8548 /* System header to define __stub macros and hopefully few prototypes,
8549 which can conflict with char shl_load (); below.
8550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8551 <limits.h> exists even on freestanding compilers. */
8554 # include <limits.h>
8556 # include <assert.h>
8561 /* Override any GCC internal prototype to avoid an error.
8562 Use char because int might match the return type of a GCC
8563 builtin and then its argument prototype would still apply. */
8568 /* The GNU C library defines this for functions which it implements
8569 to always fail with ENOSYS. Some functions are actually named
8570 something starting with __ and the normal name is an alias. */
8571 #if defined __stub_shl_load || defined __stub___shl_load
8583 rm -f conftest.$ac_objext conftest$ac_exeext
8584 if { (ac_try="$ac_link"
8586 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8587 *) ac_try_echo
=$ac_try;;
8589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8590 (eval "$ac_link") 2>conftest.er1
8592 grep -v '^ *+' conftest.er1
>conftest.err
8594 cat conftest.err
>&5
8595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8596 (exit $ac_status); } && {
8597 test -z "$ac_c_werror_flag" ||
8598 test ! -s conftest.err
8599 } && test -s conftest
$ac_exeext &&
8600 $as_test_x conftest
$ac_exeext; then
8601 ac_cv_func_shl_load
=yes
8603 echo "$as_me: failed program was:" >&5
8604 sed 's/^/| /' conftest.
$ac_ext >&5
8606 ac_cv_func_shl_load
=no
8609 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8610 conftest
$ac_exeext conftest.
$ac_ext
8612 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8613 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
8614 if test $ac_cv_func_shl_load = yes; then
8615 lt_cv_dlopen
="shl_load"
8617 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8618 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8619 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8620 echo $ECHO_N "(cached) $ECHO_C" >&6
8622 ac_check_lib_save_LIBS
=$LIBS
8624 cat >conftest.
$ac_ext <<_ACEOF
8627 cat confdefs.h
>>conftest.
$ac_ext
8628 cat >>conftest.
$ac_ext <<_ACEOF
8629 /* end confdefs.h. */
8631 /* Override any GCC internal prototype to avoid an error.
8632 Use char because int might match the return type of a GCC
8633 builtin and then its argument prototype would still apply. */
8646 rm -f conftest.
$ac_objext conftest
$ac_exeext
8647 if { (ac_try
="$ac_link"
8649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8650 *) ac_try_echo=$ac_try;;
8652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8653 (eval "$ac_link") 2>conftest.er1
8655 grep -v '^ *+' conftest.er1 >conftest.err
8657 cat conftest.err >&5
8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 (exit $ac_status); } && {
8660 test -z "$ac_c_werror_flag" ||
8661 test ! -s conftest.err
8662 } && test -s conftest$ac_exeext &&
8663 $as_test_x conftest$ac_exeext; then
8664 ac_cv_lib_dld_shl_load=yes
8666 echo "$as_me: failed program was:" >&5
8667 sed 's/^/| /' conftest.$ac_ext >&5
8669 ac_cv_lib_dld_shl_load=no
8672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8673 conftest$ac_exeext conftest.$ac_ext
8674 LIBS=$ac_check_lib_save_LIBS
8676 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8677 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8678 if test $ac_cv_lib_dld_shl_load = yes; then
8679 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8681 { echo "$as_me:$LINENO: checking for dlopen" >&5
8682 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
8683 if test "${ac_cv_func_dlopen+set}" = set; then
8684 echo $ECHO_N "(cached) $ECHO_C" >&6
8686 cat >conftest.$ac_ext <<_ACEOF
8689 cat confdefs.h >>conftest.$ac_ext
8690 cat >>conftest.$ac_ext <<_ACEOF
8691 /* end confdefs.h. */
8692 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8694 #define dlopen innocuous_dlopen
8696 /* System header to define __stub macros and hopefully few prototypes,
8697 which can conflict with char dlopen (); below.
8698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8699 <limits.h> exists even on freestanding compilers. */
8702 # include <limits.h>
8704 # include <assert.h>
8709 /* Override any GCC internal prototype to avoid an error.
8710 Use char because int might match the return type of a GCC
8711 builtin and then its argument prototype would still apply. */
8716 /* The GNU C library defines this for functions which it implements
8717 to always fail with ENOSYS. Some functions are actually named
8718 something starting with __ and the normal name is an alias. */
8719 #if defined __stub_dlopen || defined __stub___dlopen
8731 rm -f conftest.$ac_objext conftest$ac_exeext
8732 if { (ac_try="$ac_link"
8734 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8735 *) ac_try_echo
=$ac_try;;
8737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8738 (eval "$ac_link") 2>conftest.er1
8740 grep -v '^ *+' conftest.er1
>conftest.err
8742 cat conftest.err
>&5
8743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744 (exit $ac_status); } && {
8745 test -z "$ac_c_werror_flag" ||
8746 test ! -s conftest.err
8747 } && test -s conftest
$ac_exeext &&
8748 $as_test_x conftest
$ac_exeext; then
8749 ac_cv_func_dlopen
=yes
8751 echo "$as_me: failed program was:" >&5
8752 sed 's/^/| /' conftest.
$ac_ext >&5
8754 ac_cv_func_dlopen
=no
8757 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8758 conftest
$ac_exeext conftest.
$ac_ext
8760 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8761 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
8762 if test $ac_cv_func_dlopen = yes; then
8763 lt_cv_dlopen
="dlopen"
8765 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8766 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8767 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8768 echo $ECHO_N "(cached) $ECHO_C" >&6
8770 ac_check_lib_save_LIBS
=$LIBS
8772 cat >conftest.
$ac_ext <<_ACEOF
8775 cat confdefs.h
>>conftest.
$ac_ext
8776 cat >>conftest.
$ac_ext <<_ACEOF
8777 /* end confdefs.h. */
8779 /* Override any GCC internal prototype to avoid an error.
8780 Use char because int might match the return type of a GCC
8781 builtin and then its argument prototype would still apply. */
8794 rm -f conftest.
$ac_objext conftest
$ac_exeext
8795 if { (ac_try
="$ac_link"
8797 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8798 *) ac_try_echo=$ac_try;;
8800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8801 (eval "$ac_link") 2>conftest.er1
8803 grep -v '^ *+' conftest.er1 >conftest.err
8805 cat conftest.err >&5
8806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8807 (exit $ac_status); } && {
8808 test -z "$ac_c_werror_flag" ||
8809 test ! -s conftest.err
8810 } && test -s conftest$ac_exeext &&
8811 $as_test_x conftest$ac_exeext; then
8812 ac_cv_lib_dl_dlopen=yes
8814 echo "$as_me: failed program was:" >&5
8815 sed 's/^/| /' conftest.$ac_ext >&5
8817 ac_cv_lib_dl_dlopen=no
8820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8821 conftest$ac_exeext conftest.$ac_ext
8822 LIBS=$ac_check_lib_save_LIBS
8824 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8825 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8826 if test $ac_cv_lib_dl_dlopen = yes; then
8827 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8829 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8830 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
8831 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8832 echo $ECHO_N "(cached) $ECHO_C" >&6
8834 ac_check_lib_save_LIBS=$LIBS
8836 cat >conftest.$ac_ext <<_ACEOF
8839 cat confdefs.h >>conftest.$ac_ext
8840 cat >>conftest.$ac_ext <<_ACEOF
8841 /* end confdefs.h. */
8843 /* Override any GCC internal prototype to avoid an error.
8844 Use char because int might match the return type of a GCC
8845 builtin and then its argument prototype would still apply. */
8858 rm -f conftest.$ac_objext conftest$ac_exeext
8859 if { (ac_try="$ac_link"
8861 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8862 *) ac_try_echo
=$ac_try;;
8864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8865 (eval "$ac_link") 2>conftest.er1
8867 grep -v '^ *+' conftest.er1
>conftest.err
8869 cat conftest.err
>&5
8870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8871 (exit $ac_status); } && {
8872 test -z "$ac_c_werror_flag" ||
8873 test ! -s conftest.err
8874 } && test -s conftest
$ac_exeext &&
8875 $as_test_x conftest
$ac_exeext; then
8876 ac_cv_lib_svld_dlopen
=yes
8878 echo "$as_me: failed program was:" >&5
8879 sed 's/^/| /' conftest.
$ac_ext >&5
8881 ac_cv_lib_svld_dlopen
=no
8884 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8885 conftest
$ac_exeext conftest.
$ac_ext
8886 LIBS
=$ac_check_lib_save_LIBS
8888 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8889 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
8890 if test $ac_cv_lib_svld_dlopen = yes; then
8891 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
8893 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8894 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
8895 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8896 echo $ECHO_N "(cached) $ECHO_C" >&6
8898 ac_check_lib_save_LIBS
=$LIBS
8900 cat >conftest.
$ac_ext <<_ACEOF
8903 cat confdefs.h
>>conftest.
$ac_ext
8904 cat >>conftest.
$ac_ext <<_ACEOF
8905 /* end confdefs.h. */
8907 /* Override any GCC internal prototype to avoid an error.
8908 Use char because int might match the return type of a GCC
8909 builtin and then its argument prototype would still apply. */
8922 rm -f conftest.
$ac_objext conftest
$ac_exeext
8923 if { (ac_try
="$ac_link"
8925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8926 *) ac_try_echo=$ac_try;;
8928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8929 (eval "$ac_link") 2>conftest.er1
8931 grep -v '^ *+' conftest.er1 >conftest.err
8933 cat conftest.err >&5
8934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8935 (exit $ac_status); } && {
8936 test -z "$ac_c_werror_flag" ||
8937 test ! -s conftest.err
8938 } && test -s conftest$ac_exeext &&
8939 $as_test_x conftest$ac_exeext; then
8940 ac_cv_lib_dld_dld_link=yes
8942 echo "$as_me: failed program was:" >&5
8943 sed 's/^/| /' conftest.$ac_ext >&5
8945 ac_cv_lib_dld_dld_link=no
8948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8949 conftest$ac_exeext conftest.$ac_ext
8950 LIBS=$ac_check_lib_save_LIBS
8952 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8953 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
8954 if test $ac_cv_lib_dld_dld_link = yes; then
8955 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8976 if test "x$lt_cv_dlopen" != xno; then
8982 case $lt_cv_dlopen in
8984 save_CPPFLAGS="$CPPFLAGS"
8985 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8987 save_LDFLAGS="$LDFLAGS"
8988 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8991 LIBS="$lt_cv_dlopen_libs $LIBS"
8993 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8994 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
8995 if test "${lt_cv_dlopen_self+set}" = set; then
8996 echo $ECHO_N "(cached) $ECHO_C" >&6
8998 if test "$cross_compiling" = yes; then :
8999 lt_cv_dlopen_self=cross
9001 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9002 lt_status=$lt_dlunknown
9003 cat > conftest.$ac_ext <<EOF
9004 #line 9004 "configure"
9005 #include "confdefs.h"
9014 # define LT_DLGLOBAL RTLD_GLOBAL
9017 # define LT_DLGLOBAL DL_GLOBAL
9019 # define LT_DLGLOBAL 0
9023 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9024 find out it does not work in some platform. */
9025 #ifndef LT_DLLAZY_OR_NOW
9027 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9030 # define LT_DLLAZY_OR_NOW DL_LAZY
9033 # define LT_DLLAZY_OR_NOW RTLD_NOW
9036 # define LT_DLLAZY_OR_NOW DL_NOW
9038 # define LT_DLLAZY_OR_NOW 0
9046 extern "C" void exit (int);
9049 void fnord() { int i=42;}
9052 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9053 int status = $lt_dlunknown;
9057 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9058 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9059 /* dlclose (self); */
9065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9066 (eval $ac_link) 2>&5
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9070 (./conftest; exit; ) 2>/dev/null
9073 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9074 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9075 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
9078 # compilation failed
9079 lt_cv_dlopen_self=no
9086 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9087 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9089 if test "x$lt_cv_dlopen_self" = xyes; then
9090 LDFLAGS="$LDFLAGS $link_static_flag"
9091 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9092 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9093 if test "${lt_cv_dlopen_self_static+set}" = set; then
9094 echo $ECHO_N "(cached) $ECHO_C" >&6
9096 if test "$cross_compiling" = yes; then :
9097 lt_cv_dlopen_self_static=cross
9099 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9100 lt_status=$lt_dlunknown
9101 cat > conftest.$ac_ext <<EOF
9102 #line 9102 "configure"
9103 #include "confdefs.h"
9112 # define LT_DLGLOBAL RTLD_GLOBAL
9115 # define LT_DLGLOBAL DL_GLOBAL
9117 # define LT_DLGLOBAL 0
9121 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9122 find out it does not work in some platform. */
9123 #ifndef LT_DLLAZY_OR_NOW
9125 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9128 # define LT_DLLAZY_OR_NOW DL_LAZY
9131 # define LT_DLLAZY_OR_NOW RTLD_NOW
9134 # define LT_DLLAZY_OR_NOW DL_NOW
9136 # define LT_DLLAZY_OR_NOW 0
9144 extern "C" void exit (int);
9147 void fnord() { int i=42;}
9150 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9151 int status = $lt_dlunknown;
9155 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9156 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9157 /* dlclose (self); */
9163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9164 (eval $ac_link) 2>&5
9166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9167 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9168 (./conftest; exit; ) 2>/dev/null
9171 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9172 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9173 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
9176 # compilation failed
9177 lt_cv_dlopen_self_static=no
9184 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9185 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9188 CPPFLAGS="$save_CPPFLAGS"
9189 LDFLAGS="$save_LDFLAGS"
9194 case $lt_cv_dlopen_self in
9195 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
9196 *) enable_dlopen_self=unknown ;;
9199 case $lt_cv_dlopen_self_static in
9200 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
9201 *) enable_dlopen_self_static=unknown ;;
9206 # Report which librarie types wil actually be built
9207 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9208 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
9209 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
9210 echo "${ECHO_T}$can_build_shared" >&6; }
9212 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9213 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9214 test "$can_build_shared" = "no" && enable_shared=no
9216 # On AIX, shared libraries and static libraries use the same namespace, and
9217 # are all built from PIC.
9220 test "$enable_shared" = yes && enable_static=no
9221 if test -n "$RANLIB"; then
9222 archive_cmds="$archive_cmds~\$RANLIB \$lib"
9223 postinstall_cmds='$RANLIB $lib'
9228 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9229 test "$enable_shared" = yes && enable_static=no
9232 darwin* | rhapsody*)
9233 if test "$GCC" = yes; then
9234 archive_cmds_need_lc=no
9236 rhapsody* | darwin1.[012])
9237 allow_undefined_flag='-undefined suppress'
9240 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9241 allow_undefined_flag='-flat_namespace -undefined suppress'
9243 case ${MACOSX_DEPLOYMENT_TARGET} in
9245 allow_undefined_flag='-flat_namespace -undefined suppress'
9248 allow_undefined_flag='-undefined dynamic_lookup'
9254 output_verbose_link_cmd='echo'
9255 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
9256 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9257 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9258 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}'
9259 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}'
9261 hardcode_automatic=yes
9262 hardcode_shlibpath_var=unsupported
9263 whole_archive_flag_spec='-all_load $convenience'
9264 link_all_deplibs=yes
9270 { echo "$as_me:$LINENO: result: $enable_shared" >&5
9271 echo "${ECHO_T}$enable_shared" >&6; }
9273 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9274 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9275 # Make sure either enable_shared or enable_static is yes.
9276 test "$enable_shared" = yes || enable_static=yes
9277 { echo "$as_me:$LINENO: result: $enable_static" >&5
9278 echo "${ECHO_T}$enable_static" >&6; }
9280 # The else clause should only fire when bootstrapping the
9281 # libtool distribution, otherwise you forgot to ship ltmain.sh
9282 # with your package, and you will get complaints that there are
9283 # no rules to generate ltmain.sh.
9284 if test -f "$ltmain"; then
9285 # See if we are running on zsh, and set the options which allow our commands through
9286 # without removal of \ escapes.
9287 if test -n "${ZSH_VERSION+set}" ; then
9288 setopt NO_GLOB_SUBST
9290 # Now quote all the things that may contain metacharacters while being
9291 # careful not to overquote the AC_SUBSTed values. We take copies of the
9292 # variables and quote the copies for generation of the libtool script.
9293 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
9294 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9295 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9296 deplibs_check_method reload_flag reload_cmds need_locks \
9297 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9298 lt_cv_sys_global_symbol_to_c_name_address \
9299 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9300 old_postinstall_cmds old_postuninstall_cmds \
9304 lt_prog_compiler_wl \
9305 lt_prog_compiler_pic \
9306 lt_prog_compiler_static \
9307 lt_prog_compiler_no_builtin_flag \
9308 export_dynamic_flag_spec \
9309 thread_safe_flag_spec \
9310 whole_archive_flag_spec \
9311 enable_shared_with_static_runtimes \
9313 old_archive_from_new_cmds \
9318 compiler_lib_search_path \
9320 archive_expsym_cmds \
9322 postuninstall_cmds \
9323 old_archive_from_expsyms_cmds \
9324 allow_undefined_flag \
9326 export_symbols_cmds \
9327 hardcode_libdir_flag_spec \
9328 hardcode_libdir_flag_spec_ld \
9329 hardcode_libdir_separator \
9330 hardcode_automatic \
9332 module_expsym_cmds \
9333 lt_cv_prog_compiler_c_o \
9338 old_archive_cmds | \
9339 old_archive_from_new_cmds | \
9341 archive_expsym_cmds | \
9343 module_expsym_cmds | \
9344 old_archive_from_expsyms_cmds | \
9345 export_symbols_cmds | \
9346 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9347 postinstall_cmds | postuninstall_cmds | \
9348 old_postinstall_cmds | old_postuninstall_cmds | \
9349 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
9350 # Double-quote double-evaled strings.
9351 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
9354 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
9360 *'\$0 --fallback-echo"')
9361 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9366 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9368 { echo "$as_me:$LINENO: creating $ofile" >&5
9369 echo "$as_me: creating $ofile" >&6;}
9371 cat <<__EOF__ >> "$cfgfile"
9374 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
9375 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9376 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9378 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9379 # Free Software Foundation, Inc.
9381 # This file is part of GNU Libtool:
9382 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9384 # This program is free software; you can redistribute it and/or modify
9385 # it under the terms of the GNU General Public License as published by
9386 # the Free Software Foundation; either version 2 of the License, or
9387 # (at your option) any later version.
9389 # This program is distributed in the hope that it will be useful, but
9390 # WITHOUT ANY WARRANTY; without even the implied warranty of
9391 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9392 # General Public License for more details.
9394 # You should have received a copy of the GNU General Public License
9395 # along with this program; if not, write to the Free Software
9396 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
9398 # As a special exception to the GNU General Public License, if you
9399 # distribute this file as part of a program that contains a
9400 # configuration script generated by Autoconf, you may include it under
9401 # the same distribution terms that you use for the rest of that program.
9403 # A sed program that does not truncate output.
9406 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9407 Xsed="$SED -e s/^X//"
9409 # The HP-UX ksh and POSIX shell print the target directory to stdout
9411 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
9413 # The names of the tagged configurations supported by this script.
9416 # ### BEGIN LIBTOOL CONFIG
9418 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
9420 # Shell to use when invoking shell scripts.
9423 # Whether or not to build shared libraries.
9424 build_libtool_libs=$enable_shared
9426 # Whether or not to build static libraries.
9427 build_old_libs=$enable_static
9429 # Whether or not to add -lc for building shared libraries.
9430 build_libtool_need_lc=$archive_cmds_need_lc
9432 # Whether or not to disallow shared libs when runtime libs are static
9433 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9435 # Whether or not to optimize for fast installation.
9436 fast_install=$enable_fast_install
9439 host_alias=$host_alias
9442 # An echo program that does not interpret backslashes.
9447 AR_FLAGS=$lt_AR_FLAGS
9452 # A language-specific compiler.
9455 # Is the compiler the GNU C compiler?
9461 # The linker used to build libraries.
9464 # Whether we need hard or soft links.
9467 # A BSD-compatible nm program.
9470 # A symbol stripping program
9473 # Used to examine libraries when file_magic_cmd begins "file"
9474 MAGIC_CMD=$MAGIC_CMD
9476 # Used on cygwin: DLL creation program.
9479 # Used on cygwin: object dumper.
9482 # Used on cygwin: assembler.
9485 # The name of the directory that contains temporary libtool files.
9488 # How to create reloadable object files.
9489 reload_flag=$lt_reload_flag
9490 reload_cmds=$lt_reload_cmds
9492 # How to pass a linker flag through the compiler.
9493 wl=$lt_lt_prog_compiler_wl
9495 # Object file suffix (normally "o").
9498 # Old archive suffix (normally "a").
9501 # Shared library suffix (normally ".so").
9504 # Executable file suffix (normally "").
9507 # Additional compiler flags for building library objects.
9508 pic_flag=$lt_lt_prog_compiler_pic
9511 # What is the maximum length of a command?
9512 max_cmd_len=$lt_cv_sys_max_cmd_len
9514 # Does compiler simultaneously support -c and -o options?
9515 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9517 # Must we lock files when doing compilation ?
9518 need_locks=$lt_need_locks
9520 # Do we need the lib prefix for modules?
9521 need_lib_prefix=$need_lib_prefix
9523 # Do we need a version for libraries?
9524 need_version=$need_version
9526 # Whether dlopen is supported.
9527 dlopen_support=$enable_dlopen
9529 # Whether dlopen of programs is supported.
9530 dlopen_self=$enable_dlopen_self
9532 # Whether dlopen of statically linked programs is supported.
9533 dlopen_self_static=$enable_dlopen_self_static
9535 # Compiler flag to prevent dynamic linking.
9536 link_static_flag=$lt_lt_prog_compiler_static
9538 # Compiler flag to turn off builtin functions.
9539 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9541 # Compiler flag to allow reflexive dlopens.
9542 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9544 # Compiler flag to generate shared objects directly from archives.
9545 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9547 # Compiler flag to generate thread-safe objects.
9548 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9550 # Library versioning type.
9551 version_type=$version_type
9553 # Format of library name prefix.
9554 libname_spec=$lt_libname_spec
9556 # List of archive names. First name is the real one, the rest are links.
9557 # The last name is the one that the linker finds with -lNAME.
9558 library_names_spec=$lt_library_names_spec
9560 # The coded name of the library, if different from the real name.
9561 soname_spec=$lt_soname_spec
9563 # Commands used to build and install an old-style archive.
9565 old_archive_cmds=$lt_old_archive_cmds
9566 old_postinstall_cmds=$lt_old_postinstall_cmds
9567 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9569 # Create an old-style archive from a shared archive.
9570 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9572 # Create a temporary old-style archive to link instead of a shared archive.
9573 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9575 # Commands used to build and install a shared archive.
9576 archive_cmds=$lt_archive_cmds
9577 archive_expsym_cmds=$lt_archive_expsym_cmds
9578 postinstall_cmds=$lt_postinstall_cmds
9579 postuninstall_cmds=$lt_postuninstall_cmds
9581 # Commands used to build a loadable module (assumed same as above if empty)
9582 module_cmds=$lt_module_cmds
9583 module_expsym_cmds=$lt_module_expsym_cmds
9585 # Commands to strip libraries.
9586 old_striplib=$lt_old_striplib
9587 striplib=$lt_striplib
9589 # Dependencies to place before the objects being linked to create a
9591 predep_objects=$lt_predep_objects
9593 # Dependencies to place after the objects being linked to create a
9595 postdep_objects=$lt_postdep_objects
9597 # Dependencies to place before the objects being linked to create a
9601 # Dependencies to place after the objects being linked to create a
9603 postdeps=$lt_postdeps
9605 # The library search path used internally by the compiler when linking
9607 compiler_lib_search_path=$lt_compiler_lib_search_path
9609 # Method to check whether dependent libraries are shared objects.
9610 deplibs_check_method=$lt_deplibs_check_method
9612 # Command to use when deplibs_check_method == file_magic.
9613 file_magic_cmd=$lt_file_magic_cmd
9615 # Flag that allows shared libraries with undefined symbols to be built.
9616 allow_undefined_flag=$lt_allow_undefined_flag
9618 # Flag that forces no undefined symbols.
9619 no_undefined_flag=$lt_no_undefined_flag
9621 # Commands used to finish a libtool library installation in a directory.
9622 finish_cmds=$lt_finish_cmds
9624 # Same as above, but a single script fragment to be evaled but not shown.
9625 finish_eval=$lt_finish_eval
9627 # Take the output of nm and produce a listing of raw symbols and C names.
9628 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9630 # Transform the output of nm in a proper C declaration
9631 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9633 # Transform the output of nm in a C name address pair
9634 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9636 # This is the shared library runtime path variable.
9637 runpath_var=$runpath_var
9639 # This is the shared library path variable.
9640 shlibpath_var=$shlibpath_var
9642 # Is shlibpath searched before the hard-coded library search path?
9643 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9645 # How to hardcode a shared library path into an executable.
9646 hardcode_action=$hardcode_action
9648 # Whether we should hardcode library paths into libraries.
9649 hardcode_into_libs=$hardcode_into_libs
9651 # Flag to hardcode \$libdir into a binary during linking.
9652 # This must work even if \$libdir does not exist.
9653 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9655 # If ld is used when linking, flag to hardcode \$libdir into
9656 # a binary during linking. This must work even if \$libdir does
9658 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9660 # Whether we need a single -rpath flag with a separated argument.
9661 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9663 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9665 hardcode_direct=$hardcode_direct
9667 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9669 hardcode_minus_L=$hardcode_minus_L
9671 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9672 # the resulting binary.
9673 hardcode_shlibpath_var=$hardcode_shlibpath_var
9675 # Set to yes if building a shared library automatically hardcodes DIR into the library
9676 # and all subsequent libraries and executables linked against it.
9677 hardcode_automatic=$hardcode_automatic
9679 # Variables whose values should be saved in libtool wrapper scripts and
9680 # restored at relink time.
9681 variables_saved_for_relink="$variables_saved_for_relink"
9683 # Whether libtool must link a program against all its dependency libraries.
9684 link_all_deplibs=$link_all_deplibs
9686 # Compile-time system search path for libraries
9687 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9689 # Run-time system search path for libraries
9690 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9692 # Fix the shell variable \$srcfile for the compiler.
9693 fix_srcfile_path="$fix_srcfile_path"
9695 # Set to yes if exported symbols are required.
9696 always_export_symbols=$always_export_symbols
9698 # The commands to list exported symbols.
9699 export_symbols_cmds=$lt_export_symbols_cmds
9701 # The commands to extract the exported symbol list from a shared archive.
9702 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9704 # Symbols that should not be listed in the preloaded symbols.
9705 exclude_expsyms=$lt_exclude_expsyms
9707 # Symbols that must always be exported.
9708 include_expsyms=$lt_include_expsyms
9710 # ### END LIBTOOL CONFIG
9717 cat <<\EOF >> "$cfgfile"
9719 # AIX sometimes has problems with the GCC collect2 program. For some
9720 # reason, if we set the COLLECT_NAMES environment variable, the problems
9721 # vanish in a puff of smoke.
9722 if test "X${COLLECT_NAMES+set}" != Xset; then
9724 export COLLECT_NAMES
9730 # We use sed instead of cat because bash on DJGPP gets confused if
9731 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9732 # text mode, it properly converts lines to CR/LF. This bash problem
9733 # is reportedly fixed, but why not run on old versions too?
9734 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9736 mv -f "$cfgfile" "$ofile" || \
9737 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9741 # If there is no Makefile yet, we rely on a make rule to execute
9742 # `config.status
--recheck' to rerun these tests and create the
9743 # libtool script then.
9744 test -f Makefile && make "$ltmain"
9749 ac_cpp='$CPP $CPPFLAGS'
9750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
9751 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
9752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9757 # Check whether --with-tags was given.
9758 if test "${with_tags+set}" = set; then
9759 withval=$with_tags; tagnames="$withval"
9763 if test -f "$ltmain" && test -n "$tagnames"; then
9764 if test ! -f "${ofile}"; then
9765 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
9766 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
9769 if test -z "$LTCC"; then
9770 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
9771 if test -z "$LTCC"; then
9772 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9773 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
9775 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
9776 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
9780 # Extract list of available tagged configurations in $ofile.
9781 # Note that this assumes the entire list is on one line.
9782 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9784 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9785 for tagname in $tagnames; do
9787 # Check whether tagname contains only valid characters
9788 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9790 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9791 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9792 { (exit 1); exit 1; }; }
9796 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9798 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9799 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9800 { (exit 1); exit 1; }; }
9803 # Update the list of available tags.
9804 if test -n "$tagname"; then
9805 echo appending configuration tag \"$tagname\" to $ofile
9809 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9811 ac_cpp='$CXXCPP $CPPFLAGS'
9812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9819 archive_cmds_need_lc_CXX=no
9820 allow_undefined_flag_CXX=
9821 always_export_symbols_CXX=no
9822 archive_expsym_cmds_CXX=
9823 export_dynamic_flag_spec_CXX=
9824 hardcode_direct_CXX=no
9825 hardcode_libdir_flag_spec_CXX=
9826 hardcode_libdir_flag_spec_ld_CXX=
9827 hardcode_libdir_separator_CXX=
9828 hardcode_minus_L_CXX=no
9829 hardcode_automatic_CXX=no
9831 module_expsym_cmds_CXX=
9832 link_all_deplibs_CXX=unknown
9833 old_archive_cmds_CXX=$old_archive_cmds
9834 no_undefined_flag_CXX=
9835 whole_archive_flag_spec_CXX=
9836 enable_shared_with_static_runtimes_CXX=no
9838 # Dependencies to place before and after the object being linked:
9840 postdep_objects_CXX=
9843 compiler_lib_search_path_CXX=
9845 # Source file extension for C++ test sources.
9848 # Object file extension for compiled C++ test sources.
9852 # Code to be used in simple compile tests
9853 lt_simple_compile_test_code="int some_variable = 0;\n"
9855 # Code to be used in simple link tests
9856 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9858 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9860 # If no C compiler was specified, use CC.
9863 # Allow CC to be a program name with arguments.
9867 # Allow CC to be a program name with arguments.
9872 lt_save_with_gnu_ld=$with_gnu_ld
9873 lt_save_path_LD=$lt_cv_path_LD
9874 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9875 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9877 unset lt_cv_prog_gnu_ld
9879 if test -n "${lt_cv_path_LDCXX+set}"; then
9880 lt_cv_path_LD=$lt_cv_path_LDCXX
9884 test -z "${LDCXX+set}" || LD=$LDCXX
9888 cc_basename=`$echo X
"$compiler" |
$Xsed -e 's%^.*/%%'`
9890 # We don't want -fno-exception wen compiling C++ code, so set the
9891 # no_builtin_flag separately
9892 if test "$GXX" = yes; then
9893 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9895 lt_prog_compiler_no_builtin_flag_CXX=
9898 if test "$GXX" = yes; then
9899 # Set up default GNU C++ configuration
9902 # Check whether --with-gnu-ld was given.
9903 if test "${with_gnu_ld+set}" = set; then
9904 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
9910 if test "$GCC" = yes; then
9911 # Check if gcc -print-prog-name=ld gives a path.
9912 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9913 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
9916 # gcc leaves a trailing carriage return which upsets mingw
9917 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
9919 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
9922 # Accept absolute paths.
9924 re_direlt='/[^/][^/]*/\.\./'
9925 # Canonicalize the pathname of ld
9926 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
9927 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9928 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
9930 test -z "$LD" && LD="$ac_prog"
9933 # If it fails, then pretend we aren't using GCC.
9937 # If it is relative, then search for the first ld in PATH.
9941 elif test "$with_gnu_ld" = yes; then
9942 { echo "$as_me:$LINENO: checking for GNU ld" >&5
9943 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
9945 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9946 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
9948 if test "${lt_cv_path_LD+set}" = set; then
9949 echo $ECHO_N "(cached) $ECHO_C" >&6
9951 if test -z "$LD"; then
9952 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9953 for ac_dir in $PATH; do
9955 test -z "$ac_dir" && ac_dir=.
9956 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9957 lt_cv_path_LD="$ac_dir/$ac_prog"
9958 # Check to see if the program is GNU ld. I'd rather use --version,
9959 # but apparently some GNU ld's only accept -v.
9960 # Break only if it was the GNU/non-GNU ld that we prefer.
9961 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
9962 *GNU* | *'with BFD'*)
9963 test "$with_gnu_ld" != no && break
9966 test "$with_gnu_ld" != yes && break
9973 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9978 if test -n "$LD"; then
9979 { echo "$as_me:$LINENO: result: $LD" >&5
9980 echo "${ECHO_T}$LD" >&6; }
9982 { echo "$as_me:$LINENO: result: no" >&5
9983 echo "${ECHO_T}no" >&6; }
9985 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9986 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9987 { (exit 1); exit 1; }; }
9988 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9989 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
9990 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9991 echo $ECHO_N "(cached) $ECHO_C" >&6
9993 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9994 case `$LD -v 2>&1 </dev
/null
` in
9995 *GNU* | *'with BFD'*)
9996 lt_cv_prog_gnu_ld=yes
9999 lt_cv_prog_gnu_ld=no
10003 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10004 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10005 with_gnu_ld=$lt_cv_prog_gnu_ld
10009 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10010 # archiving commands below assume that GNU ld is being used.
10011 if test "$with_gnu_ld" = yes; then
10012 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10013 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'
10015 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10016 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10018 # If archive_cmds runs LD, not CC, wlarc should be empty
10019 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10020 # investigate it a little bit more. (MM)
10023 # ancient GNU ld didn't support --whole-archive et. al.
10024 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10025 grep 'no-whole-archive' > /dev/null; then
10026 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10028 whole_archive_flag_spec_CXX=
10034 # A generic and very simple default shared library creation
10035 # command for GNU C++ for the case where it uses the native
10036 # linker, instead of GNU ld. If possible, this setting should
10037 # overridden to take advantage of the native linker features on
10038 # the platform it is being used on.
10039 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10042 # Commands to make compiler produce verbose output that lists
10043 # what "hidden" libraries, object files and flags are used when
10044 # linking a shared library.
10045 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10053 # PORTME: fill in a description of your system's C++ link characteristics
10054 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10055 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10059 # FIXME: insert proper C++ library support
10063 if test "$host_cpu" = ia64; then
10064 # On IA64, the linker does run time linking by default, so we don't
10065 # have to do anything special.
10066 aix_use_runtimelinking=no
10067 exp_sym_flag='-Bexport'
10070 aix_use_runtimelinking=no
10072 # Test if we are trying to use run time linking or normal
10073 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10074 # need to do runtime linking.
10075 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10076 for ld_flag in $LDFLAGS; do
10079 aix_use_runtimelinking=yes
10086 exp_sym_flag='-bexport'
10087 no_entry_flag='-bnoentry'
10090 # When large executables or shared objects are built, AIX ld can
10091 # have problems creating the table of contents. If linking a library
10092 # or program results in "error TOC overflow" add -mminimal-toc to
10093 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10094 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10096 archive_cmds_CXX=''
10097 hardcode_direct_CXX=yes
10098 hardcode_libdir_separator_CXX=':'
10099 link_all_deplibs_CXX=yes
10101 if test "$GXX" = yes; then
10102 case $host_os in aix4.012|aix4.012.*)
10103 # We only want to do this on AIX 4.2 and lower, the check
10104 # below for broken collect2 doesn't work under 4.3+
10105 collect2name=`${CC} -print-prog-name=collect2
`
10106 if test -f "$collect2name" && \
10107 strings "$collect2name" | grep resolve_lib_name >/dev/null
10109 # We have reworked collect2
10110 hardcode_direct_CXX=yes
10112 # We have old collect2
10113 hardcode_direct_CXX=unsupported
10114 # It fails to find uninstalled libraries when the uninstalled
10115 # path is not listed in the libpath. Setting hardcode_minus_L
10116 # to unsupported forces relinking
10117 hardcode_minus_L_CXX=yes
10118 hardcode_libdir_flag_spec_CXX='-L$libdir'
10119 hardcode_libdir_separator_CXX=
10122 shared_flag='-shared'
10125 if test "$host_cpu" = ia64; then
10126 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10127 # chokes on -Wl,-G. The following line is correct:
10130 if test "$aix_use_runtimelinking" = yes; then
10131 shared_flag='${wl}-G'
10133 shared_flag='${wl}-bM:SRE'
10138 # It seems that -bexpall does not export symbols beginning with
10139 # underscore (_), so it is better to generate a list of symbols to export.
10140 always_export_symbols_CXX=yes
10141 if test "$aix_use_runtimelinking" = yes; then
10142 # Warning - without using the other runtime loading flags (-brtl),
10143 # -berok will link without error, but may produce a broken library.
10144 allow_undefined_flag_CXX='-berok'
10145 # Determine the default libpath from the value encoded in an empty executable.
10146 cat >conftest.$ac_ext <<_ACEOF
10149 cat confdefs.h >>conftest.$ac_ext
10150 cat >>conftest.$ac_ext <<_ACEOF
10151 /* end confdefs.h. */
10161 rm -f conftest.$ac_objext conftest$ac_exeext
10162 if { (ac_try="$ac_link"
10163 case "(($ac_try" in
10164 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10165 *) ac_try_echo
=$ac_try;;
10167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10168 (eval "$ac_link") 2>conftest.er1
10170 grep -v '^ *+' conftest.er1
>conftest.err
10172 cat conftest.err
>&5
10173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10174 (exit $ac_status); } && {
10175 test -z "$ac_cxx_werror_flag" ||
10176 test ! -s conftest.err
10177 } && test -s conftest
$ac_exeext &&
10178 $as_test_x conftest
$ac_exeext; then
10180 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10182 # Check for a 64-bit object if we didn't find anything.
10183 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; }
10186 echo "$as_me: failed program was:" >&5
10187 sed 's/^/| /' conftest.
$ac_ext >&5
10192 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10193 conftest
$ac_exeext conftest.
$ac_ext
10194 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10196 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10198 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"
10200 if test "$host_cpu" = ia64; then
10201 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
10202 allow_undefined_flag_CXX="-z nodefs"
10203 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"
10205 # Determine the default libpath from the value encoded in an empty executable.
10206 cat >conftest.$ac_ext <<_ACEOF
10209 cat confdefs.h >>conftest.$ac_ext
10210 cat >>conftest.$ac_ext <<_ACEOF
10211 /* end confdefs.h. */
10221 rm -f conftest.$ac_objext conftest$ac_exeext
10222 if { (ac_try="$ac_link"
10223 case "(($ac_try" in
10224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10225 *) ac_try_echo=$ac_try;;
10227 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10228 (eval "$ac_link") 2>conftest.er1
10230 grep -v '^ *+' conftest.er1 >conftest.err
10232 cat conftest.err >&5
10233 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10234 (exit $ac_status); } && {
10235 test -z "$ac_cxx_werror_flag" ||
10236 test ! -s conftest.err
10237 } && test -s conftest$ac_exeext &&
10238 $as_test_x conftest$ac_exeext; then
10240 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10242 # Check for a 64-bit object if we didn't find anything.
10243 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; }
10246 echo "$as_me: failed program was
:" >&5
10247 sed 's/^/| /' conftest.$ac_ext >&5
10252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10253 conftest$ac_exeext conftest.$ac_ext
10254 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
10256 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10257 # Warning - without using the other run time loading flags,
10258 # -berok will link without error, but may produce a broken library.
10259 no_undefined_flag_CXX=' ${wl}-bernotok'
10260 allow_undefined_flag_CXX=' ${wl}-berok'
10261 # -bexpall does not export symbols beginning with underscore (_)
10262 always_export_symbols_CXX=yes
10263 # Exported symbols can be pulled into shared objects from archives
10264 whole_archive_flag_spec_CXX=' '
10265 archive_cmds_need_lc_CXX=yes
10266 # This is similar to how AIX traditionally builds it's shared libraries.
10267 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'
10272 case $cc_basename in
10274 # FIXME: insert proper C++ library support
10280 cygwin* | mingw* | pw32*)
10281 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10282 # as there is no search path for DLLs.
10283 hardcode_libdir_flag_spec_CXX='-L$libdir'
10284 allow_undefined_flag_CXX=unsupported
10285 always_export_symbols_CXX=no
10286 enable_shared_with_static_runtimes_CXX=yes
10288 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10289 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'
10290 # If the export-symbols file already is a .def file (1st line
10291 # is EXPORTS), use it as is; otherwise, prepend...
10292 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
10293 cp $export_symbols $output_objdir/$soname.def;
10295 echo EXPORTS > $output_objdir/$soname.def;
10296 cat $export_symbols >> $output_objdir/$soname.def;
10298 $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'
10304 darwin* | rhapsody*)
10305 if test "$GXX" = yes; then
10306 archive_cmds_need_lc_CXX=no
10308 rhapsody* | darwin1.[012])
10309 allow_undefined_flag_CXX='-undefined suppress'
10312 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10313 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10315 case ${MACOSX_DEPLOYMENT_TARGET} in
10317 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10320 allow_undefined_flag_CXX='-undefined dynamic_lookup'
10326 lt_int_apple_cc_single_mod=no
10327 output_verbose_link_cmd='echo'
10328 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10329 lt_int_apple_cc_single_mod=yes
10331 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10332 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10334 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'
10336 module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10338 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10339 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10340 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}'
10342 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}'
10344 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}'
10345 hardcode_direct_CXX
=no
10346 hardcode_automatic_CXX
=yes
10347 hardcode_shlibpath_var_CXX
=unsupported
10348 whole_archive_flag_spec_CXX
='-all_load $convenience'
10349 link_all_deplibs_CXX
=yes
10356 case $cc_basename in
10358 # FIXME: insert proper C++ library support
10362 # Green Hills C++ Compiler
10363 # FIXME: insert proper C++ library support
10367 # FIXME: insert proper C++ library support
10373 # C++ shared libraries reported to be fairly broken before switch to ELF
10377 archive_cmds_need_lc_CXX
=no
10379 freebsd
* | kfreebsd
*-gnu)
10380 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10387 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10388 hardcode_libdir_separator_CXX
=:
10389 export_dynamic_flag_spec_CXX
='${wl}-E'
10390 hardcode_direct_CXX
=yes
10391 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10392 # but as the default
10393 # location of the library.
10395 case $cc_basename in
10397 # FIXME: insert proper C++ library support
10401 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'
10402 # Commands to make compiler produce verbose output that lists
10403 # what "hidden" libraries, object files and flags are used when
10404 # linking a shared library.
10406 # There doesn't appear to be a way to prevent this compiler from
10407 # explicitly linking system object files so we need to strip them
10408 # from the output so that they don't get included in the library
10410 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'
10413 if test "$GXX" = yes; then
10414 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'
10416 # FIXME: insert proper C++ library support
10423 if test $with_gnu_ld = no
; then
10424 case "$host_cpu" in
10426 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10427 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10428 hardcode_libdir_separator_CXX
=:
10431 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10434 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10435 hardcode_libdir_separator_CXX
=:
10436 export_dynamic_flag_spec_CXX
='${wl}-E'
10440 case "$host_cpu" in
10442 hardcode_direct_CXX
=no
10443 hardcode_shlibpath_var_CXX
=no
10446 hardcode_direct_CXX
=no
10447 hardcode_shlibpath_var_CXX
=no
10448 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10449 # but as the default
10450 # location of the library.
10453 hardcode_direct_CXX
=yes
10454 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10455 # but as the default
10456 # location of the library.
10460 case $cc_basename in
10462 # FIXME: insert proper C++ library support
10466 case "$host_cpu" in
10468 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10471 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10474 # Commands to make compiler produce verbose output that lists
10475 # what "hidden" libraries, object files and flags are used when
10476 # linking a shared library.
10478 # There doesn't appear to be a way to prevent this compiler from
10479 # explicitly linking system object files so we need to strip them
10480 # from the output so that they don't get included in the library
10482 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'
10485 if test "$GXX" = yes; then
10486 if test $with_gnu_ld = no
; then
10487 case "$host_cpu" in
10489 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10492 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'
10497 # FIXME: insert proper C++ library support
10504 case $cc_basename in
10507 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'
10509 # Archives containing C++ object files must be created using
10510 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10511 # necessary to make sure instantiated templates are included
10513 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10516 if test "$GXX" = yes; then
10517 if test "$with_gnu_ld" = no
; then
10518 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'
10520 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
10523 link_all_deplibs_CXX
=yes
10526 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10527 hardcode_libdir_separator_CXX
=:
10530 case $cc_basename in
10532 # Kuck and Associates, Inc. (KAI) C++ Compiler
10534 # KCC will only create a shared library if the output file
10535 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10536 # to its proper name (with version) after linking.
10537 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'
10538 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'
10539 # Commands to make compiler produce verbose output that lists
10540 # what "hidden" libraries, object files and flags are used when
10541 # linking a shared library.
10543 # There doesn't appear to be a way to prevent this compiler from
10544 # explicitly linking system object files so we need to strip them
10545 # from the output so that they don't get included in the library
10547 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'
10549 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10550 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10552 # Archives containing C++ object files must be created using
10553 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10554 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10559 archive_cmds_need_lc_CXX
=no
10560 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10561 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'
10562 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10563 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10564 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10568 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10569 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'
10571 runpath_var
=LD_RUN_PATH
10572 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10573 hardcode_libdir_separator_CXX
=:
10575 # Commands to make compiler produce verbose output that lists
10576 # what "hidden" libraries, object files and flags are used when
10577 # linking a shared library.
10579 # There doesn't appear to be a way to prevent this compiler from
10580 # explicitly linking system object files so we need to strip them
10581 # from the output so that they don't get included in the library
10583 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'
10588 # FIXME: insert proper C++ library support
10592 # FIXME: insert proper C++ library support
10596 case $cc_basename in
10598 # FIXME: insert proper C++ library support
10602 # FIXME: insert proper C++ library support
10608 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10609 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10611 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10612 hardcode_direct_CXX
=yes
10613 hardcode_shlibpath_var_CXX
=no
10615 # Workaround some broken pre-1.5 toolchains
10616 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10619 case $cc_basename in
10621 # Kuck and Associates, Inc. (KAI) C++ Compiler
10623 # KCC will only create a shared library if the output file
10624 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10625 # to its proper name (with version) after linking.
10626 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'
10628 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10629 hardcode_libdir_separator_CXX
=:
10631 # Archives containing C++ object files must be created using
10632 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10633 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10637 # Rational C++ 2.4.1
10638 # FIXME: insert proper C++ library support
10642 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10643 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'
10645 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10646 hardcode_libdir_separator_CXX
=:
10648 # Commands to make compiler produce verbose output that lists
10649 # what "hidden" libraries, object files and flags are used when
10650 # linking a shared library.
10652 # There doesn't appear to be a way to prevent this compiler from
10653 # explicitly linking system object files so we need to strip them
10654 # from the output so that they don't get included in the library
10656 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'
10659 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10660 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10661 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'
10663 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10664 hardcode_libdir_separator_CXX
=:
10666 # Commands to make compiler produce verbose output that lists
10667 # what "hidden" libraries, object files and flags are used when
10668 # linking a shared library.
10669 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10672 # FIXME: insert proper C++ library support
10679 case $cc_basename in
10681 # Kuck and Associates, Inc. (KAI) C++ Compiler
10683 # KCC will only create a shared library if the output file
10684 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10685 # to its proper name (with version) after linking.
10686 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'
10688 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10689 hardcode_libdir_separator_CXX
=:
10691 # Archives containing C++ object files must be created using
10692 # the KAI C++ compiler.
10693 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
10696 # Rational C++ 2.4.1
10697 # FIXME: insert proper C++ library support
10701 allow_undefined_flag_CXX
=' -expect_unresolved \*'
10702 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'
10703 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10704 echo "-hidden">> $lib.exp~
10705 $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~
10708 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10709 hardcode_libdir_separator_CXX
=:
10711 # Commands to make compiler produce verbose output that lists
10712 # what "hidden" libraries, object files and flags are used when
10713 # linking a shared library.
10715 # There doesn't appear to be a way to prevent this compiler from
10716 # explicitly linking system object files so we need to strip them
10717 # from the output so that they don't get included in the library
10719 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'
10722 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10723 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10724 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'
10726 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10727 hardcode_libdir_separator_CXX
=:
10729 # Commands to make compiler produce verbose output that lists
10730 # what "hidden" libraries, object files and flags are used when
10731 # linking a shared library.
10732 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10735 # FIXME: insert proper C++ library support
10742 # FIXME: insert proper C++ library support
10746 archive_cmds_need_lc_CXX
=no
10747 case $cc_basename in
10749 # FIXME: insert proper C++ library support
10753 # FIXME: insert proper C++ library support
10759 case $cc_basename in
10762 # FIXME: insert proper C++ library support
10767 # FIXME: insert proper C++ library support
10771 # FIXME: insert proper C++ library support
10777 case $cc_basename in
10779 # Sun C++ 4.2, 5.x and Centerline C++
10780 no_undefined_flag_CXX
=' -zdefs'
10781 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10782 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10783 $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'
10785 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10786 hardcode_shlibpath_var_CXX
=no
10788 solaris2.0
-5 | solaris2.0
-5.
*) ;;
10790 # The C++ compiler is used as linker so we must use $wl
10791 # flag to pass the commands to the underlying system
10793 # Supported since Solaris 2.6 (maybe 2.5.1?)
10794 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10797 link_all_deplibs_CXX
=yes
10799 # Commands to make compiler produce verbose output that lists
10800 # what "hidden" libraries, object files and flags are used when
10801 # linking a shared library.
10803 # There doesn't appear to be a way to prevent this compiler from
10804 # explicitly linking system object files so we need to strip them
10805 # from the output so that they don't get included in the library
10807 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'
10809 # Archives containing C++ object files must be created using
10810 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10811 # necessary to make sure instantiated templates are included
10813 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
10816 # Green Hills C++ Compiler
10817 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10819 # The C++ compiler must be used to create the archive.
10820 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10823 # GNU C++ compiler with Solaris linker
10824 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10825 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
10826 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
10827 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10828 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10829 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10831 # Commands to make compiler produce verbose output that lists
10832 # what "hidden" libraries, object files and flags are used when
10833 # linking a shared library.
10834 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10836 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10838 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10839 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10840 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10842 # Commands to make compiler produce verbose output that lists
10843 # what "hidden" libraries, object files and flags are used when
10844 # linking a shared library.
10845 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10848 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
10853 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
10854 archive_cmds_need_lc_CXX
=no
10857 case $cc_basename in
10859 # NonStop-UX NCC 3.20
10860 # FIXME: insert proper C++ library support
10864 # FIXME: insert proper C++ library support
10870 # FIXME: insert proper C++ library support
10874 # FIXME: insert proper C++ library support
10878 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10879 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
10880 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
10886 ## There is no encapsulation within the following macros, do not change
10887 ## the running order or otherwise move them around unless you know exactly
10888 ## what you are doing...
10890 cat > conftest.
$ac_ext <<EOF
10894 Foo (void) { a = 0; }
10900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10901 (eval $ac_compile) 2>&5
10903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904 (exit $ac_status); }; then
10905 # Parse the compiler output and extract the necessary
10906 # objects, libraries and library flags.
10908 # Sentinel used to keep track of whether or not we are before
10909 # the conftest object file.
10910 pre_test_object_deps_done
=no
10912 # The `*' in the case matches for architectures that use `case' in
10913 # $output_verbose_cmd can trigger glob expansion during the loop
10914 # eval without this substitution.
10915 output_verbose_link_cmd
="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10917 for p
in `eval $output_verbose_link_cmd`; do
10921 # Some compilers place space between "-{L,R}" and the path.
10922 # Remove the space.
10923 if test $p = "-L" \
10924 ||
test $p = "-R"; then
10931 if test "$pre_test_object_deps_done" = no
; then
10934 # Internal compiler library paths should come after those
10935 # provided the user. The postdeps already come after the
10936 # user supplied libs so there is no need to process them.
10937 if test -z "$compiler_lib_search_path_CXX"; then
10938 compiler_lib_search_path_CXX
="${prev}${p}"
10940 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
10943 # The "-l" case would never come before the object being
10944 # linked, so don't bother handling this case.
10947 if test -z "$postdeps_CXX"; then
10948 postdeps_CXX
="${prev}${p}"
10950 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
10956 # This assumes that the test object file only shows up
10957 # once in the compiler output.
10958 if test "$p" = "conftest.$objext"; then
10959 pre_test_object_deps_done
=yes
10963 if test "$pre_test_object_deps_done" = no
; then
10964 if test -z "$predep_objects_CXX"; then
10965 predep_objects_CXX
="$p"
10967 predep_objects_CXX
="$predep_objects_CXX $p"
10970 if test -z "$postdep_objects_CXX"; then
10971 postdep_objects_CXX
="$p"
10973 postdep_objects_CXX
="$postdep_objects_CXX $p"
10978 *) ;; # Ignore the rest.
10986 echo "libtool.m4: error: problem compiling CXX test program"
10989 $rm -f confest.
$objext
10991 case " $postdeps_CXX " in
10992 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
10995 lt_prog_compiler_wl_CXX
=
10996 lt_prog_compiler_pic_CXX
=
10997 lt_prog_compiler_static_CXX
=
10999 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11000 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11002 # C++ specific cases for pic, static, wl, etc.
11003 if test "$GXX" = yes; then
11004 lt_prog_compiler_wl_CXX
='-Wl,'
11005 lt_prog_compiler_static_CXX
='-static'
11009 # All AIX code is PIC.
11010 if test "$host_cpu" = ia64
; then
11011 # AIX 5 now supports IA64 processor
11012 lt_prog_compiler_static_CXX
='-Bstatic'
11016 # FIXME: we need at least 68020 code to build shared libraries, but
11017 # adding the `-m68020' flag to GCC prevents building anything better,
11019 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11021 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11022 # PIC is the default for these OSes.
11024 mingw
* | os2
* | pw32
*)
11025 # This hack is so that the source file can tell whether it is being
11026 # built for inclusion in a dll (and should export symbols for example).
11027 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11029 darwin
* | rhapsody
*)
11030 # PIC is the default on this platform
11031 # Common symbols not allowed in MH_DYLIB files
11032 lt_prog_compiler_pic_CXX
='-fno-common'
11035 # DJGPP does not support shared libraries at all
11036 lt_prog_compiler_pic_CXX
=
11039 if test -d /usr
/nec
; then
11040 lt_prog_compiler_pic_CXX
=-Kconform_pic
11044 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11045 # not for PA HP-UX.
11046 case "$host_cpu" in
11050 lt_prog_compiler_pic_CXX
='-fPIC'
11055 lt_prog_compiler_pic_CXX
='-fPIC'
11061 # All AIX code is PIC.
11062 if test "$host_cpu" = ia64
; then
11063 # AIX 5 now supports IA64 processor
11064 lt_prog_compiler_static_CXX
='-Bstatic'
11066 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11070 case $cc_basename in
11072 # Green Hills C++ Compiler
11073 # _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"
11078 case $cc_basename in
11080 lt_prog_compiler_pic_CXX
='-KPIC'
11083 # Green Hills C++ Compiler
11084 lt_prog_compiler_pic_CXX
='-pic'
11090 freebsd
* | kfreebsd
*-gnu)
11091 # FreeBSD uses GNU C++
11093 hpux9
* | hpux10
* | hpux11
*)
11094 case $cc_basename in
11096 lt_prog_compiler_wl_CXX
='-Wl,'
11097 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11098 if test "$host_cpu" != ia64
; then
11099 lt_prog_compiler_pic_CXX
='+Z'
11103 lt_prog_compiler_wl_CXX
='-Wl,'
11104 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11105 case "$host_cpu" in
11110 lt_prog_compiler_pic_CXX
='+Z'
11118 irix5
* | irix6
* | nonstopux
*)
11119 case $cc_basename in
11121 lt_prog_compiler_wl_CXX
='-Wl,'
11122 lt_prog_compiler_static_CXX
='-non_shared'
11123 # CC pic flag -KPIC is the default.
11130 case $cc_basename in
11133 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11134 lt_prog_compiler_pic_CXX
='-fPIC'
11138 lt_prog_compiler_wl_CXX
='-Wl,'
11139 lt_prog_compiler_pic_CXX
='-KPIC'
11140 lt_prog_compiler_static_CXX
='-static'
11144 # Make sure the PIC flag is empty. It appears that all Alpha
11145 # Linux and Compaq Tru64 Unix objects are PIC.
11146 lt_prog_compiler_pic_CXX
=
11147 lt_prog_compiler_static_CXX
='-non_shared'
11158 case $cc_basename in
11160 lt_prog_compiler_pic_CXX
='-W c,exportall'
11168 osf3
* | osf4
* | osf5
*)
11169 case $cc_basename in
11171 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11174 # Rational C++ 2.4.1
11175 lt_prog_compiler_pic_CXX
='-pic'
11178 # Digital/Compaq C++
11179 lt_prog_compiler_wl_CXX
='-Wl,'
11180 # Make sure the PIC flag is empty. It appears that all Alpha
11181 # Linux and Compaq Tru64 Unix objects are PIC.
11182 lt_prog_compiler_pic_CXX
=
11183 lt_prog_compiler_static_CXX
='-non_shared'
11192 case $cc_basename in
11194 lt_prog_compiler_pic_CXX
='-fPIC'
11201 case $cc_basename in
11203 # Sun C++ 4.2, 5.x and Centerline C++
11204 lt_prog_compiler_pic_CXX
='-KPIC'
11205 lt_prog_compiler_static_CXX
='-Bstatic'
11206 lt_prog_compiler_wl_CXX
='-Qoption ld '
11209 # Green Hills C++ Compiler
11210 lt_prog_compiler_pic_CXX
='-PIC'
11217 case $cc_basename in
11220 lt_prog_compiler_pic_CXX
='-pic'
11221 lt_prog_compiler_static_CXX
='-Bstatic'
11225 lt_prog_compiler_pic_CXX
='-pic'
11232 case $cc_basename in
11234 # NonStop-UX NCC 3.20
11235 lt_prog_compiler_pic_CXX
='-KPIC'
11246 lt_prog_compiler_can_build_shared_CXX
=no
11251 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11252 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11255 # Check to make sure the PIC flag actually works.
11257 if test -n "$lt_prog_compiler_pic_CXX"; then
11259 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11260 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11261 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11262 echo $ECHO_N "(cached) $ECHO_C" >&6
11264 lt_prog_compiler_pic_works_CXX
=no
11265 ac_outfile
=conftest.
$ac_objext
11266 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11267 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11268 # Insert the option either (1) after the last *FLAGS variable, or
11269 # (2) before a word containing "conftest.", or (3) at the end.
11270 # Note that $ac_compile itself does not contain backslashes and begins
11271 # with a dollar sign (not a hyphen), so the echo should work correctly.
11272 # The option is referenced via a variable to avoid confusing sed.
11273 lt_compile
=`echo "$ac_compile" | $SED \
11274 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11275 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11276 -e 's:$: $lt_compiler_flag:'`
11277 (eval echo "\"\$as_me:11277: $lt_compile\"" >&5)
11278 (eval "$lt_compile" 2>conftest.err
)
11280 cat conftest.err
>&5
11281 echo "$as_me:11281: \$? = $ac_status" >&5
11282 if (exit $ac_status) && test -s "$ac_outfile"; then
11283 # The compiler can only warn and ignore the option if not recognized
11284 # So say no if there are warnings
11285 if test ! -s conftest.err
; then
11286 lt_prog_compiler_pic_works_CXX
=yes
11292 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11293 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11295 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11296 case $lt_prog_compiler_pic_CXX in
11298 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11301 lt_prog_compiler_pic_CXX
=
11302 lt_prog_compiler_can_build_shared_CXX
=no
11307 # For platforms which do not support PIC, -DPIC is meaningless:
11309 lt_prog_compiler_pic_CXX
=
11312 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11316 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11317 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11318 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11319 echo $ECHO_N "(cached) $ECHO_C" >&6
11321 lt_cv_prog_compiler_c_o_CXX
=no
11322 $rm -r conftest
2>/dev
/null
11326 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11328 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
11329 # that will create temporary files in the current directory regardless of
11330 # the output directory. Thus, making CWD read-only will cause this test
11331 # to fail, enabling locking or at least warning the user not to do parallel
11335 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11336 # Insert the option either (1) after the last *FLAGS variable, or
11337 # (2) before a word containing "conftest.", or (3) at the end.
11338 # Note that $ac_compile itself does not contain backslashes and begins
11339 # with a dollar sign (not a hyphen), so the echo should work correctly.
11340 lt_compile
=`echo "$ac_compile" | $SED \
11341 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11342 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11343 -e 's:$: $lt_compiler_flag:'`
11344 (eval echo "\"\$as_me:11344: $lt_compile\"" >&5)
11345 (eval "$lt_compile" 2>out
/conftest.err
)
11347 cat out
/conftest.err
>&5
11348 echo "$as_me:11348: \$? = $ac_status" >&5
11349 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11351 # The compiler can only warn and ignore the option if not recognized
11352 # So say no if there are warnings
11353 if test ! -s out
/conftest.err
; then
11354 lt_cv_prog_compiler_c_o_CXX
=yes
11359 # SGI C++ compiler will create directory out/ii_files/ for
11360 # template instantiation
11361 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11362 $rm out
/* && rmdir out
11368 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11369 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11372 hard_links
="nottested"
11373 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11374 # do not overwrite the value of need_locks provided by the user
11375 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11376 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11379 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11381 ln conftest.a conftest.b
2>&5 || hard_links
=no
11382 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11383 { echo "$as_me:$LINENO: result: $hard_links" >&5
11384 echo "${ECHO_T}$hard_links" >&6; }
11385 if test "$hard_links" = no
; then
11386 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11387 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11394 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11395 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11397 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11400 # If we're using GNU nm, then we don't want the "-C" option.
11401 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11402 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11403 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'
11405 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'
11409 export_symbols_cmds_CXX
="$ltdll_cmds"
11412 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11415 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11419 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11420 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11421 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11423 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11424 if test "$GCC" = yes; then
11425 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11429 # Do we need to explicitly link libc?
11431 case "x$archive_cmds_need_lc_CXX" in
11433 # Assume -lc should be added
11434 archive_cmds_need_lc_CXX
=yes
11436 if test "$enable_shared" = yes && test "$GCC" = yes; then
11437 case $archive_cmds_CXX in
11439 # FIXME: we may have to deal with multi-command sequences.
11442 # Test whether the compiler implicitly links with -lc since on some
11443 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11444 # to ld, don't add -lc before -lgcc.
11445 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11446 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11448 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11451 (eval $ac_compile) 2>&5
11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454 (exit $ac_status); } 2>conftest.err
; then
11457 libobjs
=conftest.
$ac_objext
11459 wl
=$lt_prog_compiler_wl_CXX
11465 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11466 allow_undefined_flag_CXX
=
11467 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11468 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11471 (exit $ac_status); }
11473 archive_cmds_need_lc_CXX
=no
11475 archive_cmds_need_lc_CXX
=yes
11477 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11479 cat conftest.err
1>&5
11482 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11483 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11490 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11491 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11492 library_names_spec
=
11493 libname_spec
='lib$name'
11497 postuninstall_cmds
=
11501 shlibpath_overrides_runpath
=unknown
11503 dynamic_linker
="$host_os ld.so"
11504 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11505 if test "$GCC" = yes; then
11506 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11507 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11508 # if the path contains ";" then we assume it to be the separator
11509 # otherwise default to the standard path separator (i.e. ":") - it is
11510 # assumed that no part of a normal pathname contains ";" but that should
11511 # okay in the real world where ";" in dirpaths is itself problematic.
11512 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11514 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11517 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11519 need_lib_prefix
=unknown
11520 hardcode_into_libs
=no
11522 # when you set need_version to no, make sure it does not cause -set_version
11523 # flags to be left without arguments
11524 need_version
=unknown
11529 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11530 shlibpath_var
=LIBPATH
11532 # AIX 3 has no versioning support, so we append a major version to the name.
11533 soname_spec
='${libname}${release}${shared_ext}$major'
11540 hardcode_into_libs
=yes
11541 if test "$host_cpu" = ia64
; then
11542 # AIX 5 supports IA64
11543 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11544 shlibpath_var
=LD_LIBRARY_PATH
11546 # With GCC up to 2.95.x, collect2 would create an import file
11547 # for dependence libraries. The import file would start with
11548 # the line `#! .'. This would cause the generated library to
11549 # depend on `.', always an invalid library. This was fixed in
11550 # development snapshots of GCC prior to 3.0.
11552 aix4 | aix4.
[01] | aix4.
[01].
*)
11553 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11555 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11558 can_build_shared
=no
11562 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11563 # soname into executable. Probably we can add versioning support to
11564 # collect2, so additional links can be useful in future.
11565 if test "$aix_use_runtimelinking" = yes; then
11566 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11567 # instead of lib<name>.a to let people know that these are not
11568 # typical AIX shared libraries.
11569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11571 # We preserve .a as extension for shared libraries through AIX4.2
11572 # and later when we are not doing run time linking.
11573 library_names_spec
='${libname}${release}.a $libname.a'
11574 soname_spec
='${libname}${release}${shared_ext}$major'
11576 shlibpath_var
=LIBPATH
11581 library_names_spec
='$libname.ixlibrary $libname.a'
11582 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11583 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'
11587 library_names_spec
='${libname}${shared_ext}'
11588 dynamic_linker
="$host_os ld.so"
11589 shlibpath_var
=LIBRARY_PATH
11595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11596 soname_spec
='${libname}${release}${shared_ext}$major'
11597 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11598 shlibpath_var
=LD_LIBRARY_PATH
11599 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11600 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11601 # the default ld.so.conf also contains /usr/contrib/lib and
11602 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11603 # libtool to hard-code these into programs
11606 cygwin
* | mingw
* | pw32
*)
11607 version_type
=windows
11612 case $GCC,$host_os in
11613 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
11614 library_names_spec
='$libname.dll.a'
11615 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11616 postinstall_cmds
='base_file=`basename \${file}`~
11617 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11618 dldir=$destdir/`dirname \$dlpath`~
11619 test -d \$dldir || mkdir -p \$dldir~
11620 $install_prog $dir/$dlname \$dldir/$dlname'
11621 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11622 dlpath=$dir/\$dldll~
11624 shlibpath_overrides_runpath
=yes
11628 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11629 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11630 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
11633 # MinGW DLLs use traditional 'lib' prefix
11634 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11635 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11636 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
11637 # It is most probably a Windows format PATH printed by
11638 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11639 # path with ; separators, and with drive letters. We can handle the
11640 # drive letters (cygwin fileutils understands them), so leave them,
11641 # especially as we might pass files found there to a mingw objdump,
11642 # which wouldn't understand a cygwinified path. Ahh.
11643 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11645 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11649 # pw32 DLLs use 'pw' prefix rather than 'lib'
11650 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11656 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11659 dynamic_linker
='Win32 ld.exe'
11660 # FIXME: first we should search . and the directory the executable is in
11664 darwin
* | rhapsody
*)
11665 dynamic_linker
="$host_os dyld"
11666 version_type
=darwin
11669 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11670 soname_spec
='${libname}${release}${major}$shared_ext'
11671 shlibpath_overrides_runpath
=yes
11672 shlibpath_var
=DYLD_LIBRARY_PATH
11673 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
11674 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11675 if test "$GCC" = yes; then
11676 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"`
11678 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
11680 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11688 soname_spec
='${libname}${release}${shared_ext}$major'
11689 shlibpath_var
=LD_LIBRARY_PATH
11700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11701 soname_spec
='${libname}${release}${shared_ext}$major'
11702 shlibpath_var
=LD_LIBRARY_PATH
11703 shlibpath_overrides_runpath
=no
11704 hardcode_into_libs
=yes
11705 dynamic_linker
='GNU ld.so'
11709 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11710 version_type
=freebsd-
$objformat
11711 case $version_type in
11713 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11718 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11722 shlibpath_var
=LD_LIBRARY_PATH
11725 shlibpath_overrides_runpath
=yes
11727 freebsd3.01
* | freebsdelf3.01
*)
11728 shlibpath_overrides_runpath
=yes
11729 hardcode_into_libs
=yes
11732 shlibpath_overrides_runpath
=no
11733 hardcode_into_libs
=yes
11742 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11743 soname_spec
='${libname}${release}${shared_ext}$major'
11744 shlibpath_var
=LD_LIBRARY_PATH
11745 hardcode_into_libs
=yes
11748 hpux9
* | hpux10
* | hpux11
*)
11749 # Give a soname corresponding to the major version so that dld.sl refuses to
11750 # link against other versions.
11754 case "$host_cpu" in
11757 hardcode_into_libs
=yes
11758 dynamic_linker
="$host_os dld.so"
11759 shlibpath_var
=LD_LIBRARY_PATH
11760 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11762 soname_spec
='${libname}${release}${shared_ext}$major'
11763 if test "X$HPUX_IA64_MODE" = X32
; then
11764 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11766 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11768 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11772 hardcode_into_libs
=yes
11773 dynamic_linker
="$host_os dld.sl"
11774 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11775 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11777 soname_spec
='${libname}${release}${shared_ext}$major'
11778 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11779 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11783 dynamic_linker
="$host_os dld.sl"
11784 shlibpath_var
=SHLIB_PATH
11785 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11787 soname_spec
='${libname}${release}${shared_ext}$major'
11790 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11791 postinstall_cmds
='chmod 555 $lib'
11794 irix5
* | irix6
* | nonstopux
*)
11796 nonstopux
*) version_type
=nonstopux
;;
11798 if test "$lt_cv_prog_gnu_ld" = yes; then
11806 soname_spec
='${libname}${release}${shared_ext}$major'
11807 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11809 irix5
* | nonstopux
*)
11810 libsuff
= shlibsuff
=
11813 case $LD in # libtool.m4 will add one of these switches to LD
11814 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11815 libsuff
= shlibsuff
= libmagic
=32-bit;;
11816 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11817 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11818 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11819 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11820 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11824 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11825 shlibpath_overrides_runpath
=no
11826 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11827 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11828 hardcode_into_libs
=yes
11831 # No shared lib support for Linux oldld, aout, or coff.
11832 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11836 # This must be Linux ELF.
11841 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11842 soname_spec
='${libname}${release}${shared_ext}$major'
11843 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11844 shlibpath_var
=LD_LIBRARY_PATH
11845 shlibpath_overrides_runpath
=no
11846 # This implies no fast_install, which is unacceptable.
11847 # Some rework will be needed to allow for fast_install
11848 # before this can be enabled.
11849 hardcode_into_libs
=yes
11851 # We used to test for /lib/ld.so.1 and disable shared libraries on
11852 # powerpc, because MkLinux only supported shared libraries with the
11853 # GNU dynamic linker. Since this was broken with cross compilers,
11854 # most powerpc-linux boxes support dynamic linking these days and
11855 # people can always --disable-shared, the test was removed, and we
11856 # assume the GNU/Linux dynamic linker is in use.
11857 dynamic_linker
='GNU/Linux ld.so'
11864 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11866 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11867 dynamic_linker
='NetBSD (a.out) ld.so'
11869 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11870 soname_spec
='${libname}${release}${shared_ext}$major'
11871 dynamic_linker
='NetBSD ld.elf_so'
11873 shlibpath_var
=LD_LIBRARY_PATH
11874 shlibpath_overrides_runpath
=yes
11875 hardcode_into_libs
=yes
11880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11881 shlibpath_var
=LD_LIBRARY_PATH
11882 shlibpath_overrides_runpath
=yes
11889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11890 soname_spec
='${libname}${release}${shared_ext}$major'
11891 shlibpath_var
=LD_LIBRARY_PATH
11892 shlibpath_overrides_runpath
=yes
11899 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11900 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11901 shlibpath_var
=LD_LIBRARY_PATH
11902 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11904 openbsd2.
[89] | openbsd2.
[89].
*)
11905 shlibpath_overrides_runpath
=no
11908 shlibpath_overrides_runpath
=yes
11912 shlibpath_overrides_runpath
=yes
11917 libname_spec
='$name'
11920 library_names_spec
='$libname${shared_ext} $libname.a'
11921 dynamic_linker
='OS/2 ld.exe'
11922 shlibpath_var
=LIBPATH
11925 osf3
* | osf4
* | osf5
*)
11929 soname_spec
='${libname}${release}${shared_ext}$major'
11930 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11931 shlibpath_var
=LD_LIBRARY_PATH
11932 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11933 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11938 soname_spec
='${libname}${release}${shared_ext}$major'
11939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11940 shlibpath_var
=LD_LIBRARY_PATH
11947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11948 soname_spec
='${libname}${release}${shared_ext}$major'
11949 shlibpath_var
=LD_LIBRARY_PATH
11950 shlibpath_overrides_runpath
=yes
11951 hardcode_into_libs
=yes
11952 # ldd complains unless libraries are executable
11953 postinstall_cmds
='chmod +x $lib'
11958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11959 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11960 shlibpath_var
=LD_LIBRARY_PATH
11961 shlibpath_overrides_runpath
=yes
11962 if test "$with_gnu_ld" = yes; then
11968 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11971 soname_spec
='${libname}${release}${shared_ext}$major'
11972 shlibpath_var
=LD_LIBRARY_PATH
11973 case $host_vendor in
11975 shlibpath_overrides_runpath
=no
11977 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11978 runpath_var
=LD_RUN_PATH
11986 shlibpath_overrides_runpath
=no
11987 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11993 if test -d /usr
/nec
;then
11995 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11996 soname_spec
='$libname${shared_ext}.$major'
11997 shlibpath_var
=LD_LIBRARY_PATH
12003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12004 soname_spec
='${libname}${release}${shared_ext}$major'
12005 shlibpath_var
=LD_LIBRARY_PATH
12012 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12013 echo "${ECHO_T}$dynamic_linker" >&6; }
12014 test "$dynamic_linker" = no
&& can_build_shared
=no
12016 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12017 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12018 hardcode_action_CXX
=
12019 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12020 test -n "$runpath_var CXX" || \
12021 test "X$hardcode_automatic_CXX"="Xyes" ; then
12023 # We can hardcode non-existant directories.
12024 if test "$hardcode_direct_CXX" != no
&&
12025 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12026 # have to relink, otherwise we might link with an installed library
12027 # when we should be linking with a yet-to-be-installed one
12028 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12029 test "$hardcode_minus_L_CXX" != no
; then
12030 # Linking always hardcodes the temporary library directory.
12031 hardcode_action_CXX
=relink
12033 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12034 hardcode_action_CXX
=immediate
12037 # We cannot hardcode anything, or else we can only hardcode existing
12039 hardcode_action_CXX
=unsupported
12041 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12042 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12044 if test "$hardcode_action_CXX" = relink
; then
12045 # Fast installation is not supported
12046 enable_fast_install
=no
12047 elif test "$shlibpath_overrides_runpath" = yes ||
12048 test "$enable_shared" = no
; then
12049 # Fast installation is not necessary
12050 enable_fast_install
=needless
12055 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12056 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
12057 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
12058 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12059 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12060 { echo "$as_me:$LINENO: result: yes" >&5
12061 echo "${ECHO_T}yes" >&6; }
12063 # FIXME - insert some real tests, host_os isn't really good enough
12066 if test -n "$STRIP" ; then
12067 striplib
="$STRIP -x"
12068 { echo "$as_me:$LINENO: result: yes" >&5
12069 echo "${ECHO_T}yes" >&6; }
12071 { echo "$as_me:$LINENO: result: no" >&5
12072 echo "${ECHO_T}no" >&6; }
12076 { echo "$as_me:$LINENO: result: no" >&5
12077 echo "${ECHO_T}no" >&6; }
12082 if test "x$enable_dlopen" != xyes
; then
12083 enable_dlopen
=unknown
12084 enable_dlopen_self
=unknown
12085 enable_dlopen_self_static
=unknown
12092 lt_cv_dlopen
="load_add_on"
12094 lt_cv_dlopen_self
=yes
12098 lt_cv_dlopen
="LoadLibrary"
12103 lt_cv_dlopen
="dlopen"
12108 # if libdl is installed we need to link against it
12109 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12110 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12111 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12112 echo $ECHO_N "(cached) $ECHO_C" >&6
12114 ac_check_lib_save_LIBS
=$LIBS
12116 cat >conftest.
$ac_ext <<_ACEOF
12119 cat confdefs.h
>>conftest.
$ac_ext
12120 cat >>conftest.
$ac_ext <<_ACEOF
12121 /* end confdefs.h. */
12123 /* Override any GCC internal prototype to avoid an error.
12124 Use char because int might match the return type of a GCC
12125 builtin and then its argument prototype would still apply. */
12138 rm -f conftest.
$ac_objext conftest
$ac_exeext
12139 if { (ac_try
="$ac_link"
12140 case "(($ac_try" in
12141 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12142 *) ac_try_echo=$ac_try;;
12144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12145 (eval "$ac_link") 2>conftest.er1
12147 grep -v '^ *+' conftest.er1 >conftest.err
12149 cat conftest.err >&5
12150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12151 (exit $ac_status); } && {
12152 test -z "$ac_cxx_werror_flag" ||
12153 test ! -s conftest.err
12154 } && test -s conftest$ac_exeext &&
12155 $as_test_x conftest$ac_exeext; then
12156 ac_cv_lib_dl_dlopen=yes
12158 echo "$as_me: failed program was:" >&5
12159 sed 's/^/| /' conftest.$ac_ext >&5
12161 ac_cv_lib_dl_dlopen=no
12164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12165 conftest$ac_exeext conftest.$ac_ext
12166 LIBS=$ac_check_lib_save_LIBS
12168 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12169 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12170 if test $ac_cv_lib_dl_dlopen = yes; then
12171 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12174 lt_cv_dlopen="dyld"
12176 lt_cv_dlopen_self=yes
12183 { echo "$as_me:$LINENO: checking for shl_load" >&5
12184 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12185 if test "${ac_cv_func_shl_load+set}" = set; then
12186 echo $ECHO_N "(cached) $ECHO_C" >&6
12188 cat >conftest.$ac_ext <<_ACEOF
12191 cat confdefs.h >>conftest.$ac_ext
12192 cat >>conftest.$ac_ext <<_ACEOF
12193 /* end confdefs.h. */
12194 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12196 #define shl_load innocuous_shl_load
12198 /* System header to define __stub macros and hopefully few prototypes,
12199 which can conflict with char shl_load (); below.
12200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12201 <limits.h> exists even on freestanding compilers. */
12204 # include <limits.h>
12206 # include <assert.h>
12211 /* Override any GCC internal prototype to avoid an error.
12212 Use char because int might match the return type of a GCC
12213 builtin and then its argument prototype would still apply. */
12218 /* The GNU C library defines this for functions which it implements
12219 to always fail with ENOSYS. Some functions are actually named
12220 something starting with __ and the normal name is an alias. */
12221 #if defined __stub_shl_load || defined __stub___shl_load
12228 return shl_load ();
12233 rm -f conftest.$ac_objext conftest$ac_exeext
12234 if { (ac_try="$ac_link"
12235 case "(($ac_try" in
12236 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12237 *) ac_try_echo
=$ac_try;;
12239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12240 (eval "$ac_link") 2>conftest.er1
12242 grep -v '^ *+' conftest.er1
>conftest.err
12244 cat conftest.err
>&5
12245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12246 (exit $ac_status); } && {
12247 test -z "$ac_cxx_werror_flag" ||
12248 test ! -s conftest.err
12249 } && test -s conftest
$ac_exeext &&
12250 $as_test_x conftest
$ac_exeext; then
12251 ac_cv_func_shl_load
=yes
12253 echo "$as_me: failed program was:" >&5
12254 sed 's/^/| /' conftest.
$ac_ext >&5
12256 ac_cv_func_shl_load
=no
12259 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12260 conftest
$ac_exeext conftest.
$ac_ext
12262 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12263 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12264 if test $ac_cv_func_shl_load = yes; then
12265 lt_cv_dlopen
="shl_load"
12267 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12268 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12269 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12270 echo $ECHO_N "(cached) $ECHO_C" >&6
12272 ac_check_lib_save_LIBS
=$LIBS
12274 cat >conftest.
$ac_ext <<_ACEOF
12277 cat confdefs.h
>>conftest.
$ac_ext
12278 cat >>conftest.
$ac_ext <<_ACEOF
12279 /* end confdefs.h. */
12281 /* Override any GCC internal prototype to avoid an error.
12282 Use char because int might match the return type of a GCC
12283 builtin and then its argument prototype would still apply. */
12291 return shl_load ();
12296 rm -f conftest.
$ac_objext conftest
$ac_exeext
12297 if { (ac_try
="$ac_link"
12298 case "(($ac_try" in
12299 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12300 *) ac_try_echo=$ac_try;;
12302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12303 (eval "$ac_link") 2>conftest.er1
12305 grep -v '^ *+' conftest.er1 >conftest.err
12307 cat conftest.err >&5
12308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12309 (exit $ac_status); } && {
12310 test -z "$ac_cxx_werror_flag" ||
12311 test ! -s conftest.err
12312 } && test -s conftest$ac_exeext &&
12313 $as_test_x conftest$ac_exeext; then
12314 ac_cv_lib_dld_shl_load=yes
12316 echo "$as_me: failed program was:" >&5
12317 sed 's/^/| /' conftest.$ac_ext >&5
12319 ac_cv_lib_dld_shl_load=no
12322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12323 conftest$ac_exeext conftest.$ac_ext
12324 LIBS=$ac_check_lib_save_LIBS
12326 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12327 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12328 if test $ac_cv_lib_dld_shl_load = yes; then
12329 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12331 { echo "$as_me:$LINENO: checking for dlopen" >&5
12332 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12333 if test "${ac_cv_func_dlopen+set}" = set; then
12334 echo $ECHO_N "(cached) $ECHO_C" >&6
12336 cat >conftest.$ac_ext <<_ACEOF
12339 cat confdefs.h >>conftest.$ac_ext
12340 cat >>conftest.$ac_ext <<_ACEOF
12341 /* end confdefs.h. */
12342 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12344 #define dlopen innocuous_dlopen
12346 /* System header to define __stub macros and hopefully few prototypes,
12347 which can conflict with char dlopen (); below.
12348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12349 <limits.h> exists even on freestanding compilers. */
12352 # include <limits.h>
12354 # include <assert.h>
12359 /* Override any GCC internal prototype to avoid an error.
12360 Use char because int might match the return type of a GCC
12361 builtin and then its argument prototype would still apply. */
12366 /* The GNU C library defines this for functions which it implements
12367 to always fail with ENOSYS. Some functions are actually named
12368 something starting with __ and the normal name is an alias. */
12369 #if defined __stub_dlopen || defined __stub___dlopen
12381 rm -f conftest.$ac_objext conftest$ac_exeext
12382 if { (ac_try="$ac_link"
12383 case "(($ac_try" in
12384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12385 *) ac_try_echo
=$ac_try;;
12387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12388 (eval "$ac_link") 2>conftest.er1
12390 grep -v '^ *+' conftest.er1
>conftest.err
12392 cat conftest.err
>&5
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); } && {
12395 test -z "$ac_cxx_werror_flag" ||
12396 test ! -s conftest.err
12397 } && test -s conftest
$ac_exeext &&
12398 $as_test_x conftest
$ac_exeext; then
12399 ac_cv_func_dlopen
=yes
12401 echo "$as_me: failed program was:" >&5
12402 sed 's/^/| /' conftest.
$ac_ext >&5
12404 ac_cv_func_dlopen
=no
12407 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12408 conftest
$ac_exeext conftest.
$ac_ext
12410 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12411 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12412 if test $ac_cv_func_dlopen = yes; then
12413 lt_cv_dlopen
="dlopen"
12415 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12416 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12417 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12418 echo $ECHO_N "(cached) $ECHO_C" >&6
12420 ac_check_lib_save_LIBS
=$LIBS
12422 cat >conftest.
$ac_ext <<_ACEOF
12425 cat confdefs.h
>>conftest.
$ac_ext
12426 cat >>conftest.
$ac_ext <<_ACEOF
12427 /* end confdefs.h. */
12429 /* Override any GCC internal prototype to avoid an error.
12430 Use char because int might match the return type of a GCC
12431 builtin and then its argument prototype would still apply. */
12444 rm -f conftest.
$ac_objext conftest
$ac_exeext
12445 if { (ac_try
="$ac_link"
12446 case "(($ac_try" in
12447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12448 *) ac_try_echo=$ac_try;;
12450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12451 (eval "$ac_link") 2>conftest.er1
12453 grep -v '^ *+' conftest.er1 >conftest.err
12455 cat conftest.err >&5
12456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12457 (exit $ac_status); } && {
12458 test -z "$ac_cxx_werror_flag" ||
12459 test ! -s conftest.err
12460 } && test -s conftest$ac_exeext &&
12461 $as_test_x conftest$ac_exeext; then
12462 ac_cv_lib_dl_dlopen=yes
12464 echo "$as_me: failed program was:" >&5
12465 sed 's/^/| /' conftest.$ac_ext >&5
12467 ac_cv_lib_dl_dlopen=no
12470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12471 conftest$ac_exeext conftest.$ac_ext
12472 LIBS=$ac_check_lib_save_LIBS
12474 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12475 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12476 if test $ac_cv_lib_dl_dlopen = yes; then
12477 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12479 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12480 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12481 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12482 echo $ECHO_N "(cached) $ECHO_C" >&6
12484 ac_check_lib_save_LIBS=$LIBS
12485 LIBS="-lsvld $LIBS"
12486 cat >conftest.$ac_ext <<_ACEOF
12489 cat confdefs.h >>conftest.$ac_ext
12490 cat >>conftest.$ac_ext <<_ACEOF
12491 /* end confdefs.h. */
12493 /* Override any GCC internal prototype to avoid an error.
12494 Use char because int might match the return type of a GCC
12495 builtin and then its argument prototype would still apply. */
12508 rm -f conftest.$ac_objext conftest$ac_exeext
12509 if { (ac_try="$ac_link"
12510 case "(($ac_try" in
12511 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12512 *) ac_try_echo
=$ac_try;;
12514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12515 (eval "$ac_link") 2>conftest.er1
12517 grep -v '^ *+' conftest.er1
>conftest.err
12519 cat conftest.err
>&5
12520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12521 (exit $ac_status); } && {
12522 test -z "$ac_cxx_werror_flag" ||
12523 test ! -s conftest.err
12524 } && test -s conftest
$ac_exeext &&
12525 $as_test_x conftest
$ac_exeext; then
12526 ac_cv_lib_svld_dlopen
=yes
12528 echo "$as_me: failed program was:" >&5
12529 sed 's/^/| /' conftest.
$ac_ext >&5
12531 ac_cv_lib_svld_dlopen
=no
12534 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12535 conftest
$ac_exeext conftest.
$ac_ext
12536 LIBS
=$ac_check_lib_save_LIBS
12538 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12539 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12540 if test $ac_cv_lib_svld_dlopen = yes; then
12541 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12543 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12544 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12545 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12546 echo $ECHO_N "(cached) $ECHO_C" >&6
12548 ac_check_lib_save_LIBS
=$LIBS
12550 cat >conftest.
$ac_ext <<_ACEOF
12553 cat confdefs.h
>>conftest.
$ac_ext
12554 cat >>conftest.
$ac_ext <<_ACEOF
12555 /* end confdefs.h. */
12557 /* Override any GCC internal prototype to avoid an error.
12558 Use char because int might match the return type of a GCC
12559 builtin and then its argument prototype would still apply. */
12567 return dld_link ();
12572 rm -f conftest.
$ac_objext conftest
$ac_exeext
12573 if { (ac_try
="$ac_link"
12574 case "(($ac_try" in
12575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12576 *) ac_try_echo=$ac_try;;
12578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12579 (eval "$ac_link") 2>conftest.er1
12581 grep -v '^ *+' conftest.er1 >conftest.err
12583 cat conftest.err >&5
12584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585 (exit $ac_status); } && {
12586 test -z "$ac_cxx_werror_flag" ||
12587 test ! -s conftest.err
12588 } && test -s conftest$ac_exeext &&
12589 $as_test_x conftest$ac_exeext; then
12590 ac_cv_lib_dld_dld_link=yes
12592 echo "$as_me: failed program was:" >&5
12593 sed 's/^/| /' conftest.$ac_ext >&5
12595 ac_cv_lib_dld_dld_link=no
12598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12599 conftest$ac_exeext conftest.$ac_ext
12600 LIBS=$ac_check_lib_save_LIBS
12602 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12603 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12604 if test $ac_cv_lib_dld_dld_link = yes; then
12605 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12626 if test "x$lt_cv_dlopen" != xno; then
12632 case $lt_cv_dlopen in
12634 save_CPPFLAGS="$CPPFLAGS"
12635 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12637 save_LDFLAGS="$LDFLAGS"
12638 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12641 LIBS="$lt_cv_dlopen_libs $LIBS"
12643 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12644 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12645 if test "${lt_cv_dlopen_self+set}" = set; then
12646 echo $ECHO_N "(cached) $ECHO_C" >&6
12648 if test "$cross_compiling" = yes; then :
12649 lt_cv_dlopen_self=cross
12651 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12652 lt_status=$lt_dlunknown
12653 cat > conftest.$ac_ext <<EOF
12654 #line 12654 "configure"
12655 #include "confdefs.h"
12664 # define LT_DLGLOBAL RTLD_GLOBAL
12667 # define LT_DLGLOBAL DL_GLOBAL
12669 # define LT_DLGLOBAL 0
12673 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12674 find out it does not work in some platform. */
12675 #ifndef LT_DLLAZY_OR_NOW
12677 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12680 # define LT_DLLAZY_OR_NOW DL_LAZY
12683 # define LT_DLLAZY_OR_NOW RTLD_NOW
12686 # define LT_DLLAZY_OR_NOW DL_NOW
12688 # define LT_DLLAZY_OR_NOW 0
12696 extern "C" void exit (int);
12699 void fnord() { int i=42;}
12702 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12703 int status = $lt_dlunknown;
12707 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12708 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12709 /* dlclose (self); */
12715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12716 (eval $ac_link) 2>&5
12718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12719 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12720 (./conftest; exit; ) 2>/dev/null
12722 case x$lt_status in
12723 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12724 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12725 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12728 # compilation failed
12729 lt_cv_dlopen_self=no
12736 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12737 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
12739 if test "x$lt_cv_dlopen_self" = xyes; then
12740 LDFLAGS="$LDFLAGS $link_static_flag"
12741 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12742 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12743 if test "${lt_cv_dlopen_self_static+set}" = set; then
12744 echo $ECHO_N "(cached) $ECHO_C" >&6
12746 if test "$cross_compiling" = yes; then :
12747 lt_cv_dlopen_self_static=cross
12749 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12750 lt_status=$lt_dlunknown
12751 cat > conftest.$ac_ext <<EOF
12752 #line 12752 "configure"
12753 #include "confdefs.h"
12762 # define LT_DLGLOBAL RTLD_GLOBAL
12765 # define LT_DLGLOBAL DL_GLOBAL
12767 # define LT_DLGLOBAL 0
12771 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12772 find out it does not work in some platform. */
12773 #ifndef LT_DLLAZY_OR_NOW
12775 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12778 # define LT_DLLAZY_OR_NOW DL_LAZY
12781 # define LT_DLLAZY_OR_NOW RTLD_NOW
12784 # define LT_DLLAZY_OR_NOW DL_NOW
12786 # define LT_DLLAZY_OR_NOW 0
12794 extern "C" void exit (int);
12797 void fnord() { int i=42;}
12800 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12801 int status = $lt_dlunknown;
12805 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12806 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12807 /* dlclose (self); */
12813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12814 (eval $ac_link) 2>&5
12816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12817 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12818 (./conftest; exit; ) 2>/dev/null
12820 case x$lt_status in
12821 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12822 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12823 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12826 # compilation failed
12827 lt_cv_dlopen_self_static=no
12834 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12835 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
12838 CPPFLAGS="$save_CPPFLAGS"
12839 LDFLAGS="$save_LDFLAGS"
12844 case $lt_cv_dlopen_self in
12845 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12846 *) enable_dlopen_self=unknown ;;
12849 case $lt_cv_dlopen_self_static in
12850 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12851 *) enable_dlopen_self_static=unknown ;;
12856 # The else clause should only fire when bootstrapping the
12857 # libtool distribution, otherwise you forgot to ship ltmain.sh
12858 # with your package, and you will get complaints that there are
12859 # no rules to generate ltmain.sh.
12860 if test -f "$ltmain"; then
12861 # See if we are running on zsh, and set the options which allow our commands through
12862 # without removal of \ escapes.
12863 if test -n "${ZSH_VERSION+set}" ; then
12864 setopt NO_GLOB_SUBST
12866 # Now quote all the things that may contain metacharacters while being
12867 # careful not to overquote the AC_SUBSTed values. We take copies of the
12868 # variables and quote the copies for generation of the libtool script.
12869 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12870 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12871 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12872 deplibs_check_method reload_flag reload_cmds need_locks \
12873 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12874 lt_cv_sys_global_symbol_to_c_name_address \
12875 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12876 old_postinstall_cmds old_postuninstall_cmds \
12880 lt_prog_compiler_wl_CXX \
12881 lt_prog_compiler_pic_CXX \
12882 lt_prog_compiler_static_CXX \
12883 lt_prog_compiler_no_builtin_flag_CXX \
12884 export_dynamic_flag_spec_CXX \
12885 thread_safe_flag_spec_CXX \
12886 whole_archive_flag_spec_CXX \
12887 enable_shared_with_static_runtimes_CXX \
12888 old_archive_cmds_CXX \
12889 old_archive_from_new_cmds_CXX \
12890 predep_objects_CXX \
12891 postdep_objects_CXX \
12894 compiler_lib_search_path_CXX \
12896 archive_expsym_cmds_CXX \
12897 postinstall_cmds_CXX \
12898 postuninstall_cmds_CXX \
12899 old_archive_from_expsyms_cmds_CXX \
12900 allow_undefined_flag_CXX \
12901 no_undefined_flag_CXX \
12902 export_symbols_cmds_CXX \
12903 hardcode_libdir_flag_spec_CXX \
12904 hardcode_libdir_flag_spec_ld_CXX \
12905 hardcode_libdir_separator_CXX \
12906 hardcode_automatic_CXX \
12908 module_expsym_cmds_CXX \
12909 lt_cv_prog_compiler_c_o_CXX \
12910 exclude_expsyms_CXX \
12911 include_expsyms_CXX; do
12914 old_archive_cmds_CXX | \
12915 old_archive_from_new_cmds_CXX | \
12916 archive_cmds_CXX | \
12917 archive_expsym_cmds_CXX | \
12918 module_cmds_CXX | \
12919 module_expsym_cmds_CXX | \
12920 old_archive_from_expsyms_cmds_CXX | \
12921 export_symbols_cmds_CXX | \
12922 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12923 postinstall_cmds | postuninstall_cmds | \
12924 old_postinstall_cmds | old_postuninstall_cmds | \
12925 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12926 # Double-quote double-evaled strings.
12927 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
12930 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
12936 *'\$0 --fallback-echo"')
12937 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12943 cat <<__EOF__ >> "$cfgfile"
12944 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12946 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
12948 # Shell to use when invoking shell scripts.
12951 # Whether or not to build shared libraries.
12952 build_libtool_libs=$enable_shared
12954 # Whether or not to build static libraries.
12955 build_old_libs=$enable_static
12957 # Whether or not to add -lc for building shared libraries.
12958 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12960 # Whether or not to disallow shared libs when runtime libs are static
12961 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12963 # Whether or not to optimize for fast installation.
12964 fast_install=$enable_fast_install
12967 host_alias=$host_alias
12970 # An echo program that does not interpret backslashes.
12975 AR_FLAGS=$lt_AR_FLAGS
12980 # A language-specific compiler.
12981 CC=$lt_compiler_CXX
12983 # Is the compiler the GNU C compiler?
12989 # The linker used to build libraries.
12992 # Whether we need hard or soft links.
12995 # A BSD-compatible nm program.
12998 # A symbol stripping program
13001 # Used to examine libraries when file_magic_cmd begins "file"
13002 MAGIC_CMD=$MAGIC_CMD
13004 # Used on cygwin: DLL creation program.
13007 # Used on cygwin: object dumper.
13010 # Used on cygwin: assembler.
13013 # The name of the directory that contains temporary libtool files.
13016 # How to create reloadable object files.
13017 reload_flag=$lt_reload_flag
13018 reload_cmds=$lt_reload_cmds
13020 # How to pass a linker flag through the compiler.
13021 wl=$lt_lt_prog_compiler_wl_CXX
13023 # Object file suffix (normally "o").
13024 objext="$ac_objext"
13026 # Old archive suffix (normally "a").
13029 # Shared library suffix (normally ".so").
13032 # Executable file suffix (normally "").
13035 # Additional compiler flags for building library objects.
13036 pic_flag=$lt_lt_prog_compiler_pic_CXX
13039 # What is the maximum length of a command?
13040 max_cmd_len=$lt_cv_sys_max_cmd_len
13042 # Does compiler simultaneously support -c and -o options?
13043 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13045 # Must we lock files when doing compilation ?
13046 need_locks=$lt_need_locks
13048 # Do we need the lib prefix for modules?
13049 need_lib_prefix=$need_lib_prefix
13051 # Do we need a version for libraries?
13052 need_version=$need_version
13054 # Whether dlopen is supported.
13055 dlopen_support=$enable_dlopen
13057 # Whether dlopen of programs is supported.
13058 dlopen_self=$enable_dlopen_self
13060 # Whether dlopen of statically linked programs is supported.
13061 dlopen_self_static=$enable_dlopen_self_static
13063 # Compiler flag to prevent dynamic linking.
13064 link_static_flag=$lt_lt_prog_compiler_static_CXX
13066 # Compiler flag to turn off builtin functions.
13067 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13069 # Compiler flag to allow reflexive dlopens.
13070 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13072 # Compiler flag to generate shared objects directly from archives.
13073 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13075 # Compiler flag to generate thread-safe objects.
13076 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13078 # Library versioning type.
13079 version_type=$version_type
13081 # Format of library name prefix.
13082 libname_spec=$lt_libname_spec
13084 # List of archive names. First name is the real one, the rest are links.
13085 # The last name is the one that the linker finds with -lNAME.
13086 library_names_spec=$lt_library_names_spec
13088 # The coded name of the library, if different from the real name.
13089 soname_spec=$lt_soname_spec
13091 # Commands used to build and install an old-style archive.
13093 old_archive_cmds=$lt_old_archive_cmds_CXX
13094 old_postinstall_cmds=$lt_old_postinstall_cmds
13095 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13097 # Create an old-style archive from a shared archive.
13098 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13100 # Create a temporary old-style archive to link instead of a shared archive.
13101 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13103 # Commands used to build and install a shared archive.
13104 archive_cmds=$lt_archive_cmds_CXX
13105 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13106 postinstall_cmds=$lt_postinstall_cmds
13107 postuninstall_cmds=$lt_postuninstall_cmds
13109 # Commands used to build a loadable module (assumed same as above if empty)
13110 module_cmds=$lt_module_cmds_CXX
13111 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13113 # Commands to strip libraries.
13114 old_striplib=$lt_old_striplib
13115 striplib=$lt_striplib
13117 # Dependencies to place before the objects being linked to create a
13119 predep_objects=$lt_predep_objects_CXX
13121 # Dependencies to place after the objects being linked to create a
13123 postdep_objects=$lt_postdep_objects_CXX
13125 # Dependencies to place before the objects being linked to create a
13127 predeps=$lt_predeps_CXX
13129 # Dependencies to place after the objects being linked to create a
13131 postdeps=$lt_postdeps_CXX
13133 # The library search path used internally by the compiler when linking
13134 # a shared library.
13135 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13137 # Method to check whether dependent libraries are shared objects.
13138 deplibs_check_method=$lt_deplibs_check_method
13140 # Command to use when deplibs_check_method == file_magic.
13141 file_magic_cmd=$lt_file_magic_cmd
13143 # Flag that allows shared libraries with undefined symbols to be built.
13144 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13146 # Flag that forces no undefined symbols.
13147 no_undefined_flag=$lt_no_undefined_flag_CXX
13149 # Commands used to finish a libtool library installation in a directory.
13150 finish_cmds=$lt_finish_cmds
13152 # Same as above, but a single script fragment to be evaled but not shown.
13153 finish_eval=$lt_finish_eval
13155 # Take the output of nm and produce a listing of raw symbols and C names.
13156 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13158 # Transform the output of nm in a proper C declaration
13159 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13161 # Transform the output of nm in a C name address pair
13162 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13164 # This is the shared library runtime path variable.
13165 runpath_var=$runpath_var
13167 # This is the shared library path variable.
13168 shlibpath_var=$shlibpath_var
13170 # Is shlibpath searched before the hard-coded library search path?
13171 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13173 # How to hardcode a shared library path into an executable.
13174 hardcode_action=$hardcode_action_CXX
13176 # Whether we should hardcode library paths into libraries.
13177 hardcode_into_libs=$hardcode_into_libs
13179 # Flag to hardcode \$libdir into a binary during linking.
13180 # This must work even if \$libdir does not exist.
13181 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13183 # If ld is used when linking, flag to hardcode \$libdir into
13184 # a binary during linking. This must work even if \$libdir does
13186 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13188 # Whether we need a single -rpath flag with a separated argument.
13189 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13191 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13192 # resulting binary.
13193 hardcode_direct=$hardcode_direct_CXX
13195 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13196 # resulting binary.
13197 hardcode_minus_L=$hardcode_minus_L_CXX
13199 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13200 # the resulting binary.
13201 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13203 # Set to yes if building a shared library automatically hardcodes DIR into the library
13204 # and all subsequent libraries and executables linked against it.
13205 hardcode_automatic=$hardcode_automatic_CXX
13207 # Variables whose values should be saved in libtool wrapper scripts and
13208 # restored at relink time.
13209 variables_saved_for_relink="$variables_saved_for_relink"
13211 # Whether libtool must link a program against all its dependency libraries.
13212 link_all_deplibs=$link_all_deplibs_CXX
13214 # Compile-time system search path for libraries
13215 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13217 # Run-time system search path for libraries
13218 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13220 # Fix the shell variable \$srcfile for the compiler.
13221 fix_srcfile_path="$fix_srcfile_path_CXX"
13223 # Set to yes if exported symbols are required.
13224 always_export_symbols=$always_export_symbols_CXX
13226 # The commands to list exported symbols.
13227 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13229 # The commands to extract the exported symbol list from a shared archive.
13230 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13232 # Symbols that should not be listed in the preloaded symbols.
13233 exclude_expsyms=$lt_exclude_expsyms_CXX
13235 # Symbols that must always be exported.
13236 include_expsyms=$lt_include_expsyms_CXX
13238 # ### END LIBTOOL TAG CONFIG: $tagname
13244 # If there is no Makefile yet, we rely on a make rule to execute
13245 # `config.status
--recheck' to rerun these tests and create the
13246 # libtool script then.
13247 test -f Makefile && make "$ltmain"
13252 ac_cpp='$CPP $CPPFLAGS'
13253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13254 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13261 with_gnu_ldcxx=$with_gnu_ld
13262 with_gnu_ld=$lt_save_with_gnu_ld
13263 lt_cv_path_LDCXX=$lt_cv_path_LD
13264 lt_cv_path_LD=$lt_save_path_LD
13265 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13266 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13274 if test -n "$F77" && test "X$F77" != "Xno"; then
13277 ac_compile='$F77 -c $FFLAGS conftest.
$ac_ext >&5'
13278 ac_link='$F77 -o conftest
$ac_exeext $FFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13279 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13282 archive_cmds_need_lc_F77=no
13283 allow_undefined_flag_F77=
13284 always_export_symbols_F77=no
13285 archive_expsym_cmds_F77=
13286 export_dynamic_flag_spec_F77=
13287 hardcode_direct_F77=no
13288 hardcode_libdir_flag_spec_F77=
13289 hardcode_libdir_flag_spec_ld_F77=
13290 hardcode_libdir_separator_F77=
13291 hardcode_minus_L_F77=no
13292 hardcode_automatic_F77=no
13294 module_expsym_cmds_F77=
13295 link_all_deplibs_F77=unknown
13296 old_archive_cmds_F77=$old_archive_cmds
13297 no_undefined_flag_F77=
13298 whole_archive_flag_spec_F77=
13299 enable_shared_with_static_runtimes_F77=no
13301 # Source file extension for f77 test sources.
13304 # Object file extension for compiled f77 test sources.
13308 # Code to be used in simple compile tests
13309 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
13311 # Code to be used in simple link tests
13312 lt_simple_link_test_code=" program t\n end\n"
13314 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13316 # If no C compiler was specified, use CC.
13319 # Allow CC to be a program name with arguments.
13323 # Allow CC to be a program name with arguments.
13328 cc_basename=`$echo X"$compiler" | $Xsed -e 's
%^.
*/%%'`
13330 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13331 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13332 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13333 echo "${ECHO_T}$can_build_shared" >&6; }
13335 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13336 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13337 test "$can_build_shared" = "no" && enable_shared=no
13339 # On AIX, shared libraries and static libraries use the same namespace, and
13340 # are all built from PIC.
13343 test "$enable_shared" = yes && enable_static=no
13344 if test -n "$RANLIB"; then
13345 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13346 postinstall_cmds='$RANLIB $lib'
13350 test "$enable_shared" = yes && enable_static=no
13353 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13354 echo "${ECHO_T}$enable_shared" >&6; }
13356 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13357 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13358 # Make sure either enable_shared or enable_static is yes.
13359 test "$enable_shared" = yes || enable_static=yes
13360 { echo "$as_me:$LINENO: result: $enable_static" >&5
13361 echo "${ECHO_T}$enable_static" >&6; }
13363 test "$ld_shlibs_F77" = no && can_build_shared=no
13368 lt_prog_compiler_wl_F77=
13369 lt_prog_compiler_pic_F77=
13370 lt_prog_compiler_static_F77=
13372 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13373 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13375 if test "$GCC" = yes; then
13376 lt_prog_compiler_wl_F77='-Wl,'
13377 lt_prog_compiler_static_F77='-static'
13381 # All AIX code is PIC.
13382 if test "$host_cpu" = ia64; then
13383 # AIX 5 now supports IA64 processor
13384 lt_prog_compiler_static_F77='-Bstatic'
13389 # FIXME: we need at least 68020 code to build shared libraries, but
13390 # adding the `-m68020' flag to GCC prevents building anything better
,
13392 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13395 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13396 # PIC is the default for these OSes.
13399 mingw
* | pw32
* | os2
*)
13400 # This hack is so that the source file can tell whether it is being
13401 # built for inclusion in a dll (and should export symbols for example).
13402 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13405 darwin
* | rhapsody
*)
13406 # PIC is the default on this platform
13407 # Common symbols not allowed in MH_DYLIB files
13408 lt_prog_compiler_pic_F77
='-fno-common'
13412 # Just because we use GCC doesn't mean we suddenly get shared libraries
13413 # on systems that don't support them.
13414 lt_prog_compiler_can_build_shared_F77
=no
13419 if test -d /usr
/nec
; then
13420 lt_prog_compiler_pic_F77
=-Kconform_pic
13425 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13426 # not for PA HP-UX.
13427 case "$host_cpu" in
13432 lt_prog_compiler_pic_F77
='-fPIC'
13438 lt_prog_compiler_pic_F77
='-fPIC'
13442 # PORTME Check for flag to pass linker flags through the system compiler.
13445 lt_prog_compiler_wl_F77
='-Wl,'
13446 if test "$host_cpu" = ia64
; then
13447 # AIX 5 now supports IA64 processor
13448 lt_prog_compiler_static_F77
='-Bstatic'
13450 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13454 mingw
* | pw32
* | os2
*)
13455 # This hack is so that the source file can tell whether it is being
13456 # built for inclusion in a dll (and should export symbols for example).
13457 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13460 hpux9
* | hpux10
* | hpux11
*)
13461 lt_prog_compiler_wl_F77
='-Wl,'
13462 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13463 # not for PA HP-UX.
13464 case "$host_cpu" in
13469 lt_prog_compiler_pic_F77
='+Z'
13472 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13473 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13476 irix5
* | irix6
* | nonstopux
*)
13477 lt_prog_compiler_wl_F77
='-Wl,'
13478 # PIC (with -KPIC) is the default.
13479 lt_prog_compiler_static_F77
='-non_shared'
13483 lt_prog_compiler_pic_F77
='-KPIC'
13484 lt_prog_compiler_static_F77
='-Bstatic'
13490 lt_prog_compiler_wl_F77
='-Wl,'
13491 lt_prog_compiler_pic_F77
='-KPIC'
13492 lt_prog_compiler_static_F77
='-static'
13495 lt_prog_compiler_wl_F77
='-Wl,'
13496 # All Alpha code is PIC.
13497 lt_prog_compiler_static_F77
='-non_shared'
13502 osf3
* | osf4
* | osf5
*)
13503 lt_prog_compiler_wl_F77
='-Wl,'
13504 # All OSF/1 code is PIC.
13505 lt_prog_compiler_static_F77
='-non_shared'
13509 lt_prog_compiler_pic_F77
='-Kpic'
13510 lt_prog_compiler_static_F77
='-dn'
13514 lt_prog_compiler_wl_F77
='-Wl,'
13515 lt_prog_compiler_pic_F77
='-KPIC'
13516 lt_prog_compiler_static_F77
='-Bstatic'
13520 lt_prog_compiler_wl_F77
='-Qoption ld '
13521 lt_prog_compiler_pic_F77
='-PIC'
13522 lt_prog_compiler_static_F77
='-Bstatic'
13525 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13526 lt_prog_compiler_wl_F77
='-Wl,'
13527 lt_prog_compiler_pic_F77
='-KPIC'
13528 lt_prog_compiler_static_F77
='-Bstatic'
13532 if test -d /usr
/nec
;then
13533 lt_prog_compiler_pic_F77
='-Kconform_pic'
13534 lt_prog_compiler_static_F77
='-Bstatic'
13539 lt_prog_compiler_pic_F77
='-pic'
13540 lt_prog_compiler_static_F77
='-Bstatic'
13544 lt_prog_compiler_can_build_shared_F77
=no
13549 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13550 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13553 # Check to make sure the PIC flag actually works.
13555 if test -n "$lt_prog_compiler_pic_F77"; then
13557 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13558 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13559 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13560 echo $ECHO_N "(cached) $ECHO_C" >&6
13562 lt_prog_compiler_pic_works_F77
=no
13563 ac_outfile
=conftest.
$ac_objext
13564 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13565 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13566 # Insert the option either (1) after the last *FLAGS variable, or
13567 # (2) before a word containing "conftest.", or (3) at the end.
13568 # Note that $ac_compile itself does not contain backslashes and begins
13569 # with a dollar sign (not a hyphen), so the echo should work correctly.
13570 # The option is referenced via a variable to avoid confusing sed.
13571 lt_compile
=`echo "$ac_compile" | $SED \
13572 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13573 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13574 -e 's:$: $lt_compiler_flag:'`
13575 (eval echo "\"\$as_me:13575: $lt_compile\"" >&5)
13576 (eval "$lt_compile" 2>conftest.err
)
13578 cat conftest.err
>&5
13579 echo "$as_me:13579: \$? = $ac_status" >&5
13580 if (exit $ac_status) && test -s "$ac_outfile"; then
13581 # The compiler can only warn and ignore the option if not recognized
13582 # So say no if there are warnings
13583 if test ! -s conftest.err
; then
13584 lt_prog_compiler_pic_works_F77
=yes
13590 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13591 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13593 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13594 case $lt_prog_compiler_pic_F77 in
13596 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13599 lt_prog_compiler_pic_F77
=
13600 lt_prog_compiler_can_build_shared_F77
=no
13605 # For platforms which do not support PIC, -DPIC is meaningless:
13607 lt_prog_compiler_pic_F77
=
13610 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13614 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13615 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13616 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13617 echo $ECHO_N "(cached) $ECHO_C" >&6
13619 lt_cv_prog_compiler_c_o_F77
=no
13620 $rm -r conftest
2>/dev
/null
13624 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13626 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13627 # that will create temporary files in the current directory regardless of
13628 # the output directory. Thus, making CWD read-only will cause this test
13629 # to fail, enabling locking or at least warning the user not to do parallel
13633 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13634 # Insert the option either (1) after the last *FLAGS variable, or
13635 # (2) before a word containing "conftest.", or (3) at the end.
13636 # Note that $ac_compile itself does not contain backslashes and begins
13637 # with a dollar sign (not a hyphen), so the echo should work correctly.
13638 lt_compile
=`echo "$ac_compile" | $SED \
13639 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13640 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13641 -e 's:$: $lt_compiler_flag:'`
13642 (eval echo "\"\$as_me:13642: $lt_compile\"" >&5)
13643 (eval "$lt_compile" 2>out
/conftest.err
)
13645 cat out
/conftest.err
>&5
13646 echo "$as_me:13646: \$? = $ac_status" >&5
13647 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13649 # The compiler can only warn and ignore the option if not recognized
13650 # So say no if there are warnings
13651 if test ! -s out
/conftest.err
; then
13652 lt_cv_prog_compiler_c_o_F77
=yes
13657 # SGI C++ compiler will create directory out/ii_files/ for
13658 # template instantiation
13659 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13660 $rm out
/* && rmdir out
13666 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13667 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13670 hard_links
="nottested"
13671 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13672 # do not overwrite the value of need_locks provided by the user
13673 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13674 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13677 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13679 ln conftest.a conftest.b
2>&5 || hard_links
=no
13680 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13681 { echo "$as_me:$LINENO: result: $hard_links" >&5
13682 echo "${ECHO_T}$hard_links" >&6; }
13683 if test "$hard_links" = no
; then
13684 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13685 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13692 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13693 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13696 allow_undefined_flag_F77
=
13697 enable_shared_with_static_runtimes_F77
=no
13699 archive_expsym_cmds_F77
=
13700 old_archive_From_new_cmds_F77
=
13701 old_archive_from_expsyms_cmds_F77
=
13702 export_dynamic_flag_spec_F77
=
13703 whole_archive_flag_spec_F77
=
13704 thread_safe_flag_spec_F77
=
13705 hardcode_libdir_flag_spec_F77
=
13706 hardcode_libdir_flag_spec_ld_F77
=
13707 hardcode_libdir_separator_F77
=
13708 hardcode_direct_F77
=no
13709 hardcode_minus_L_F77
=no
13710 hardcode_shlibpath_var_F77
=unsupported
13711 link_all_deplibs_F77
=unknown
13712 hardcode_automatic_F77
=no
13714 module_expsym_cmds_F77
=
13715 always_export_symbols_F77
=no
13716 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13717 # include_expsyms should be a list of space-separated symbols to be *always*
13718 # included in the symbol list
13719 include_expsyms_F77
=
13720 # exclude_expsyms can be an extended regexp of symbols to exclude
13721 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13722 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13723 # as well as any symbol that contains `d'.
13724 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13725 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13726 # platforms (ab)use it in PIC code, but their linkers get confused if
13727 # the symbol is explicitly referenced. Since portable code cannot
13728 # rely on this symbol name, it's probably fine to never include it in
13729 # preloaded symbol tables.
13730 extract_expsyms_cmds
=
13733 cygwin
* | mingw
* | pw32
*)
13734 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13735 # When not using gcc, we currently assume that we are using
13736 # Microsoft Visual C++.
13737 if test "$GCC" != yes; then
13747 if test "$with_gnu_ld" = yes; then
13748 # If archive_cmds runs LD, not CC, wlarc should be empty
13751 # See if GNU ld supports shared libraries.
13753 aix3
* | aix4
* | aix5
*)
13754 # On AIX/PPC, the GNU linker is very broken
13755 if test "$host_cpu" != ia64
; then
13759 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13760 *** to be unable to reliably create shared libraries on AIX.
13761 *** Therefore, libtool is disabling shared libraries support. If you
13762 *** really care for shared libraries, you may want to modify your PATH
13763 *** so that a non-GNU linker is found, and then restart.
13770 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)'
13771 hardcode_libdir_flag_spec_F77
='-L$libdir'
13772 hardcode_minus_L_F77
=yes
13774 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13775 # that the semantics of dynamic libraries on AmigaOS, at least up
13776 # to version 4, is to share data among multiple programs linked
13777 # with the same dynamic library. Since this doesn't match the
13778 # behavior of shared libraries on other platforms, we can't use
13784 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13785 allow_undefined_flag_F77
=unsupported
13786 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13787 # support --undefined. This deserves some investigation. FIXME
13788 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13794 cygwin
* | mingw
* | pw32
*)
13795 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13796 # as there is no search path for DLLs.
13797 hardcode_libdir_flag_spec_F77
='-L$libdir'
13798 allow_undefined_flag_F77
=unsupported
13799 always_export_symbols_F77
=no
13800 enable_shared_with_static_runtimes_F77
=yes
13801 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13803 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13804 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13805 # If the export-symbols file already is a .def file (1st line
13806 # is EXPORTS), use it as is; otherwise, prepend...
13807 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13808 cp $export_symbols $output_objdir/$soname.def;
13810 echo EXPORTS > $output_objdir/$soname.def;
13811 cat $export_symbols >> $output_objdir/$soname.def;
13813 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13820 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13821 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13824 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13825 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13830 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
13834 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13835 *** create shared libraries on Solaris systems. Therefore, libtool
13836 *** is disabling shared libraries support. We urge you to upgrade GNU
13837 *** binutils to release 2.9.1 or newer. Another option is to modify
13838 *** your PATH or compiler configuration so that the native linker is
13839 *** used, and then restart.
13842 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13843 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13844 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13851 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13853 hardcode_direct_F77
=yes
13854 hardcode_shlibpath_var_F77
=no
13858 if $LD --help 2>&1 |
egrep ': supported targets:.* elf' > /dev
/null
; then
13859 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13860 archive_cmds_F77
="$tmp_archive_cmds"
13861 supports_anon_versioning
=no
13862 case `$LD -v 2>/dev/null` in
13863 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13864 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13865 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13866 *\
2.11.
*) ;; # other 2.11 versions
13867 *) supports_anon_versioning
=yes ;;
13869 if test $supports_anon_versioning = yes; then
13870 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
13871 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13872 $echo "local: *; };" >> $output_objdir/$libname.ver~
13873 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13875 archive_expsym_cmds_F77
="$tmp_archive_cmds"
13883 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13884 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13885 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13892 if test "$ld_shlibs_F77" = yes; then
13893 runpath_var
=LD_RUN_PATH
13894 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13895 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13896 # ancient GNU ld didn't support --whole-archive et. al.
13897 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13898 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13900 whole_archive_flag_spec_F77
=
13904 # PORTME fill in a description of your system's linker (not GNU ld)
13907 allow_undefined_flag_F77
=unsupported
13908 always_export_symbols_F77
=yes
13909 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'
13910 # Note: this linker hardcodes the directories in LIBPATH if there
13911 # are no directories specified by -L.
13912 hardcode_minus_L_F77
=yes
13913 if test "$GCC" = yes && test -z "$link_static_flag"; then
13914 # Neither direct hardcoding nor static linking is supported with a
13916 hardcode_direct_F77
=unsupported
13921 if test "$host_cpu" = ia64
; then
13922 # On IA64, the linker does run time linking by default, so we don't
13923 # have to do anything special.
13924 aix_use_runtimelinking
=no
13925 exp_sym_flag
='-Bexport'
13928 # If we're using GNU nm, then we don't want the "-C" option.
13929 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13930 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13931 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'
13933 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'
13935 aix_use_runtimelinking
=no
13937 # Test if we are trying to use run time linking or normal
13938 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13939 # need to do runtime linking.
13940 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
13941 for ld_flag
in $LDFLAGS; do
13942 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13943 aix_use_runtimelinking
=yes
13949 exp_sym_flag
='-bexport'
13950 no_entry_flag
='-bnoentry'
13953 # When large executables or shared objects are built, AIX ld can
13954 # have problems creating the table of contents. If linking a library
13955 # or program results in "error TOC overflow" add -mminimal-toc to
13956 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13957 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13959 archive_cmds_F77
=''
13960 hardcode_direct_F77
=yes
13961 hardcode_libdir_separator_F77
=':'
13962 link_all_deplibs_F77
=yes
13964 if test "$GCC" = yes; then
13965 case $host_os in aix4.012|aix4.012.
*)
13966 # We only want to do this on AIX 4.2 and lower, the check
13967 # below for broken collect2 doesn't work under 4.3+
13968 collect2name
=`${CC} -print-prog-name=collect2`
13969 if test -f "$collect2name" && \
13970 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
13972 # We have reworked collect2
13973 hardcode_direct_F77
=yes
13975 # We have old collect2
13976 hardcode_direct_F77
=unsupported
13977 # It fails to find uninstalled libraries when the uninstalled
13978 # path is not listed in the libpath. Setting hardcode_minus_L
13979 # to unsupported forces relinking
13980 hardcode_minus_L_F77
=yes
13981 hardcode_libdir_flag_spec_F77
='-L$libdir'
13982 hardcode_libdir_separator_F77
=
13985 shared_flag
='-shared'
13988 if test "$host_cpu" = ia64
; then
13989 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13990 # chokes on -Wl,-G. The following line is correct:
13993 if test "$aix_use_runtimelinking" = yes; then
13994 shared_flag
='${wl}-G'
13996 shared_flag
='${wl}-bM:SRE'
14001 # It seems that -bexpall does not export symbols beginning with
14002 # underscore (_), so it is better to generate a list of symbols to export.
14003 always_export_symbols_F77
=yes
14004 if test "$aix_use_runtimelinking" = yes; then
14005 # Warning - without using the other runtime loading flags (-brtl),
14006 # -berok will link without error, but may produce a broken library.
14007 allow_undefined_flag_F77
='-berok'
14008 # Determine the default libpath from the value encoded in an empty executable.
14009 cat >conftest.
$ac_ext <<_ACEOF
14014 rm -f conftest.
$ac_objext conftest
$ac_exeext
14015 if { (ac_try
="$ac_link"
14016 case "(($ac_try" in
14017 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14018 *) ac_try_echo=$ac_try;;
14020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14021 (eval "$ac_link") 2>conftest.er1
14023 grep -v '^ *+' conftest.er1 >conftest.err
14025 cat conftest.err >&5
14026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027 (exit $ac_status); } && {
14028 test -z "$ac_f77_werror_flag" ||
14029 test ! -s conftest.err
14030 } && test -s conftest$ac_exeext &&
14031 $as_test_x conftest$ac_exeext; then
14033 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14035 # Check for a 64-bit object if we didn't find anything.
14036 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; }
14039 echo "$as_me: failed program was:" >&5
14040 sed 's/^/| /' conftest.$ac_ext >&5
14045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14046 conftest$ac_exeext conftest.$ac_ext
14047 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14049 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14050 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"
14052 if test "$host_cpu" = ia64
; then
14053 hardcode_libdir_flag_spec_F77
='${wl}-R $libdir:/usr/lib:/lib'
14054 allow_undefined_flag_F77
="-z nodefs"
14055 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"
14057 # Determine the default libpath from the value encoded in an empty executable.
14058 cat >conftest.$ac_ext <<_ACEOF
14063 rm -f conftest.$ac_objext conftest$ac_exeext
14064 if { (ac_try="$ac_link"
14065 case "(($ac_try" in
14066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14067 *) ac_try_echo=$ac_try;;
14069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14070 (eval "$ac_link") 2>conftest.er1
14072 grep -v '^
*+' conftest.er1 >conftest.err
14074 cat conftest.err >&5
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); } && {
14077 test -z "$ac_f77_werror_flag" ||
14078 test ! -s conftest.err
14079 } && test -s conftest$ac_exeext &&
14080 $as_test_x conftest$ac_exeext; then
14082 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings
/,/^$
/ { /^
0/ { s
/^
0 *\
(.
*\
)$
/\
1/; p
; }
14084 # Check for a 64-bit object if we didn't
find anything.
14085 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; }
14088 echo "$as_me: failed program was:" >&5
14089 sed 's/^/| /' conftest.
$ac_ext >&5
14094 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14095 conftest
$ac_exeext conftest.
$ac_ext
14096 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14098 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14099 # Warning - without using the other run time loading flags,
14100 # -berok will link without error, but may produce a broken library.
14101 no_undefined_flag_F77
=' ${wl}-bernotok'
14102 allow_undefined_flag_F77
=' ${wl}-berok'
14103 # -bexpall does not export symbols beginning with underscore (_)
14104 always_export_symbols_F77
=yes
14105 # Exported symbols can be pulled into shared objects from archives
14106 whole_archive_flag_spec_F77
=' '
14107 archive_cmds_need_lc_F77
=yes
14108 # This is similar to how AIX traditionally builds it's shared libraries.
14109 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'
14115 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)'
14116 hardcode_libdir_flag_spec_F77
='-L$libdir'
14117 hardcode_minus_L_F77
=yes
14118 # see comment about different semantics on the GNU ld section
14123 export_dynamic_flag_spec_F77
=-rdynamic
14126 cygwin
* | mingw
* | pw32
*)
14127 # When not using gcc, we currently assume that we are using
14128 # Microsoft Visual C++.
14129 # hardcode_libdir_flag_spec is actually meaningless, as there is
14130 # no search path for DLLs.
14131 hardcode_libdir_flag_spec_F77
=' '
14132 allow_undefined_flag_F77
=unsupported
14133 # Tell ltmain to make .lib files, not .a files.
14135 # Tell ltmain to make .dll files, not .so files.
14137 # FIXME: Setting linknames here is a bad hack.
14138 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14139 # The linker will automatically build a .lib file if we build a DLL.
14140 old_archive_From_new_cmds_F77
='true'
14141 # FIXME: Should let the user specify the lib program.
14142 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14143 fix_srcfile_path
='`cygpath -w "$srcfile"`'
14144 enable_shared_with_static_runtimes_F77
=yes
14147 darwin
* | rhapsody
*)
14148 if test "$GXX" = yes ; then
14149 archive_cmds_need_lc_F77
=no
14151 rhapsody
* | darwin1.
[012])
14152 allow_undefined_flag_F77
='-undefined suppress'
14155 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14156 allow_undefined_flag_F77
='-flat_namespace -undefined suppress'
14158 case ${MACOSX_DEPLOYMENT_TARGET} in
14160 allow_undefined_flag_F77
='-flat_namespace -undefined suppress'
14163 allow_undefined_flag_F77
='-undefined dynamic_lookup'
14169 lt_int_apple_cc_single_mod
=no
14170 output_verbose_link_cmd
='echo'
14171 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
14172 lt_int_apple_cc_single_mod
=yes
14174 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
14175 archive_cmds_F77
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14177 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'
14179 module_cmds_F77
='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14180 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14181 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
14182 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}'
14184 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}'
14186 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}'
14187 hardcode_direct_F77
=no
14188 hardcode_automatic_F77
=yes
14189 hardcode_shlibpath_var_F77
=unsupported
14190 whole_archive_flag_spec_F77
='-all_load $convenience'
14191 link_all_deplibs_F77
=yes
14198 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14199 hardcode_libdir_flag_spec_F77
='-L$libdir'
14200 hardcode_shlibpath_var_F77
=no
14207 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14208 # support. Future versions do this automatically, but an explicit c++rt0.o
14209 # does not break anything, and helps significantly (at the cost of a little
14212 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14213 hardcode_libdir_flag_spec_F77
='-R$libdir'
14214 hardcode_direct_F77
=yes
14215 hardcode_shlibpath_var_F77
=no
14218 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14220 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14221 hardcode_direct_F77
=yes
14222 hardcode_minus_L_F77
=yes
14223 hardcode_shlibpath_var_F77
=no
14226 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14227 freebsd
* | kfreebsd
*-gnu)
14228 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14229 hardcode_libdir_flag_spec_F77
='-R$libdir'
14230 hardcode_direct_F77
=yes
14231 hardcode_shlibpath_var_F77
=no
14235 if test "$GCC" = yes; then
14236 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'
14238 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'
14240 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14241 hardcode_libdir_separator_F77
=:
14242 hardcode_direct_F77
=yes
14244 # hardcode_minus_L: Not really in the search PATH,
14245 # but as the default location of the library.
14246 hardcode_minus_L_F77
=yes
14247 export_dynamic_flag_spec_F77
='${wl}-E'
14251 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14252 case "$host_cpu" in
14254 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14257 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14261 case "$host_cpu" in
14263 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
14266 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14270 if test "$with_gnu_ld" = no
; then
14271 case "$host_cpu" in
14273 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14274 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14275 hardcode_libdir_separator_F77
=:
14276 hardcode_direct_F77
=no
14277 hardcode_shlibpath_var_F77
=no
14280 hardcode_libdir_flag_spec_F77
='-L$libdir'
14281 hardcode_direct_F77
=no
14282 hardcode_shlibpath_var_F77
=no
14284 # hardcode_minus_L: Not really in the search PATH,
14285 # but as the default location of the library.
14286 hardcode_minus_L_F77
=yes
14289 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14290 hardcode_libdir_separator_F77
=:
14291 hardcode_direct_F77
=yes
14292 export_dynamic_flag_spec_F77
='${wl}-E'
14294 # hardcode_minus_L: Not really in the search PATH,
14295 # but as the default location of the library.
14296 hardcode_minus_L_F77
=yes
14302 irix5
* | irix6
* | nonstopux
*)
14303 if test "$GCC" = yes; then
14304 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'
14306 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'
14307 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14309 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14310 hardcode_libdir_separator_F77
=:
14311 link_all_deplibs_F77
=yes
14315 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14316 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14318 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14320 hardcode_libdir_flag_spec_F77
='-R$libdir'
14321 hardcode_direct_F77
=yes
14322 hardcode_shlibpath_var_F77
=no
14326 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14327 hardcode_direct_F77
=yes
14328 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14329 hardcode_libdir_separator_F77
=:
14330 hardcode_shlibpath_var_F77
=no
14334 hardcode_direct_F77
=yes
14335 hardcode_shlibpath_var_F77
=no
14336 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14337 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14338 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14339 export_dynamic_flag_spec_F77
='${wl}-E'
14342 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14343 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14344 hardcode_libdir_flag_spec_F77
='-R$libdir'
14347 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14348 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14355 hardcode_libdir_flag_spec_F77
='-L$libdir'
14356 hardcode_minus_L_F77
=yes
14357 allow_undefined_flag_F77
=unsupported
14358 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'
14359 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14363 if test "$GCC" = yes; then
14364 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14365 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'
14367 allow_undefined_flag_F77
=' -expect_unresolved \*'
14368 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'
14370 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14371 hardcode_libdir_separator_F77
=:
14374 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14375 if test "$GCC" = yes; then
14376 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14377 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'
14378 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14380 allow_undefined_flag_F77
=' -expect_unresolved \*'
14381 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'
14382 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~
14383 $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'
14385 # Both c and cxx compiler support -rpath directly
14386 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14388 hardcode_libdir_separator_F77
=:
14392 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14393 hardcode_shlibpath_var_F77
=no
14394 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14395 runpath_var
=LD_RUN_PATH
14396 hardcode_runpath_var
=yes
14400 no_undefined_flag_F77
=' -z text'
14401 if test "$GCC" = yes; then
14402 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14403 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14404 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14406 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14407 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14408 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14410 hardcode_libdir_flag_spec_F77
='-R$libdir'
14411 hardcode_shlibpath_var_F77
=no
14413 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14414 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
14415 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14417 link_all_deplibs_F77
=yes
14421 if test "x$host_vendor" = xsequent
; then
14422 # Use $CC to link under sequent, because it throws in some extra .o
14423 # files that make .init and .fini sections work.
14424 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14426 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14428 hardcode_libdir_flag_spec_F77
='-L$libdir'
14429 hardcode_direct_F77
=yes
14430 hardcode_minus_L_F77
=yes
14431 hardcode_shlibpath_var_F77
=no
14435 case $host_vendor in
14437 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14438 hardcode_direct_F77
=yes # is this really true???
14441 ## LD is ld it makes a PLAMLIB
14442 ## CC just makes a GrossModule.
14443 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14444 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14445 hardcode_direct_F77
=no
14448 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14449 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14452 runpath_var
='LD_RUN_PATH'
14453 hardcode_shlibpath_var_F77
=no
14457 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14458 hardcode_shlibpath_var_F77
=no
14459 export_dynamic_flag_spec_F77
='-Bexport'
14463 if test -d /usr
/nec
; then
14464 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14465 hardcode_shlibpath_var_F77
=no
14466 runpath_var
=LD_RUN_PATH
14467 hardcode_runpath_var
=yes
14473 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14474 hardcode_direct_F77
=yes
14475 hardcode_minus_L_F77
=no
14476 hardcode_shlibpath_var_F77
=no
14477 hardcode_runpath_var
=yes
14478 runpath_var
=LD_RUN_PATH
14481 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
14482 no_undefined_flag_F77
='${wl}-z ${wl}text'
14483 if test "$GCC" = yes; then
14484 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14486 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14488 runpath_var
='LD_RUN_PATH'
14489 hardcode_shlibpath_var_F77
=no
14493 no_undefined_flag_F77
=' -z text'
14494 # $CC -shared without GNU ld will not create a library from C++
14495 # object files and a static libstdc++, better avoid it by now
14496 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14497 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14498 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14499 hardcode_libdir_flag_spec_F77
=
14500 hardcode_shlibpath_var_F77
=no
14501 runpath_var
='LD_RUN_PATH'
14505 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14506 hardcode_libdir_flag_spec_F77
='-L$libdir'
14507 hardcode_shlibpath_var_F77
=no
14516 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14517 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14518 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14520 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14521 if test "$GCC" = yes; then
14522 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14526 # Do we need to explicitly link libc?
14528 case "x$archive_cmds_need_lc_F77" in
14530 # Assume -lc should be added
14531 archive_cmds_need_lc_F77
=yes
14533 if test "$enable_shared" = yes && test "$GCC" = yes; then
14534 case $archive_cmds_F77 in
14536 # FIXME: we may have to deal with multi-command sequences.
14539 # Test whether the compiler implicitly links with -lc since on some
14540 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14541 # to ld, don't add -lc before -lgcc.
14542 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14543 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14545 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14548 (eval $ac_compile) 2>&5
14550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14551 (exit $ac_status); } 2>conftest.err
; then
14554 libobjs
=conftest.
$ac_objext
14556 wl
=$lt_prog_compiler_wl_F77
14562 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14563 allow_undefined_flag_F77
=
14564 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14565 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14568 (exit $ac_status); }
14570 archive_cmds_need_lc_F77
=no
14572 archive_cmds_need_lc_F77
=yes
14574 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14576 cat conftest.err
1>&5
14579 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14580 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14587 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14588 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14589 library_names_spec
=
14590 libname_spec
='lib$name'
14594 postuninstall_cmds
=
14598 shlibpath_overrides_runpath
=unknown
14600 dynamic_linker
="$host_os ld.so"
14601 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14602 if test "$GCC" = yes; then
14603 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14604 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14605 # if the path contains ";" then we assume it to be the separator
14606 # otherwise default to the standard path separator (i.e. ":") - it is
14607 # assumed that no part of a normal pathname contains ";" but that should
14608 # okay in the real world where ";" in dirpaths is itself problematic.
14609 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14611 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14614 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14616 need_lib_prefix
=unknown
14617 hardcode_into_libs
=no
14619 # when you set need_version to no, make sure it does not cause -set_version
14620 # flags to be left without arguments
14621 need_version
=unknown
14626 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14627 shlibpath_var
=LIBPATH
14629 # AIX 3 has no versioning support, so we append a major version to the name.
14630 soname_spec
='${libname}${release}${shared_ext}$major'
14637 hardcode_into_libs
=yes
14638 if test "$host_cpu" = ia64
; then
14639 # AIX 5 supports IA64
14640 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14641 shlibpath_var
=LD_LIBRARY_PATH
14643 # With GCC up to 2.95.x, collect2 would create an import file
14644 # for dependence libraries. The import file would start with
14645 # the line `#! .'. This would cause the generated library to
14646 # depend on `.', always an invalid library. This was fixed in
14647 # development snapshots of GCC prior to 3.0.
14649 aix4 | aix4.
[01] | aix4.
[01].
*)
14650 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14652 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14655 can_build_shared
=no
14659 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14660 # soname into executable. Probably we can add versioning support to
14661 # collect2, so additional links can be useful in future.
14662 if test "$aix_use_runtimelinking" = yes; then
14663 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14664 # instead of lib<name>.a to let people know that these are not
14665 # typical AIX shared libraries.
14666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14668 # We preserve .a as extension for shared libraries through AIX4.2
14669 # and later when we are not doing run time linking.
14670 library_names_spec
='${libname}${release}.a $libname.a'
14671 soname_spec
='${libname}${release}${shared_ext}$major'
14673 shlibpath_var
=LIBPATH
14678 library_names_spec
='$libname.ixlibrary $libname.a'
14679 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14680 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'
14684 library_names_spec
='${libname}${shared_ext}'
14685 dynamic_linker
="$host_os ld.so"
14686 shlibpath_var
=LIBRARY_PATH
14692 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14693 soname_spec
='${libname}${release}${shared_ext}$major'
14694 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14695 shlibpath_var
=LD_LIBRARY_PATH
14696 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14697 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14698 # the default ld.so.conf also contains /usr/contrib/lib and
14699 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14700 # libtool to hard-code these into programs
14703 cygwin
* | mingw
* | pw32
*)
14704 version_type
=windows
14709 case $GCC,$host_os in
14710 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14711 library_names_spec
='$libname.dll.a'
14712 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14713 postinstall_cmds
='base_file=`basename \${file}`~
14714 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14715 dldir=$destdir/`dirname \$dlpath`~
14716 test -d \$dldir || mkdir -p \$dldir~
14717 $install_prog $dir/$dlname \$dldir/$dlname'
14718 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14719 dlpath=$dir/\$dldll~
14721 shlibpath_overrides_runpath
=yes
14725 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14726 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14727 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14730 # MinGW DLLs use traditional 'lib' prefix
14731 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14732 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14733 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14734 # It is most probably a Windows format PATH printed by
14735 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14736 # path with ; separators, and with drive letters. We can handle the
14737 # drive letters (cygwin fileutils understands them), so leave them,
14738 # especially as we might pass files found there to a mingw objdump,
14739 # which wouldn't understand a cygwinified path. Ahh.
14740 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14742 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14746 # pw32 DLLs use 'pw' prefix rather than 'lib'
14747 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14753 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14756 dynamic_linker
='Win32 ld.exe'
14757 # FIXME: first we should search . and the directory the executable is in
14761 darwin
* | rhapsody
*)
14762 dynamic_linker
="$host_os dyld"
14763 version_type
=darwin
14766 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14767 soname_spec
='${libname}${release}${major}$shared_ext'
14768 shlibpath_overrides_runpath
=yes
14769 shlibpath_var
=DYLD_LIBRARY_PATH
14770 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
14771 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14772 if test "$GCC" = yes; then
14773 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"`
14775 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
14777 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14784 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14785 soname_spec
='${libname}${release}${shared_ext}$major'
14786 shlibpath_var
=LD_LIBRARY_PATH
14797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14798 soname_spec
='${libname}${release}${shared_ext}$major'
14799 shlibpath_var
=LD_LIBRARY_PATH
14800 shlibpath_overrides_runpath
=no
14801 hardcode_into_libs
=yes
14802 dynamic_linker
='GNU ld.so'
14806 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14807 version_type
=freebsd-
$objformat
14808 case $version_type in
14810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14815 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14819 shlibpath_var
=LD_LIBRARY_PATH
14822 shlibpath_overrides_runpath
=yes
14824 freebsd3.01
* | freebsdelf3.01
*)
14825 shlibpath_overrides_runpath
=yes
14826 hardcode_into_libs
=yes
14829 shlibpath_overrides_runpath
=no
14830 hardcode_into_libs
=yes
14839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14840 soname_spec
='${libname}${release}${shared_ext}$major'
14841 shlibpath_var
=LD_LIBRARY_PATH
14842 hardcode_into_libs
=yes
14845 hpux9
* | hpux10
* | hpux11
*)
14846 # Give a soname corresponding to the major version so that dld.sl refuses to
14847 # link against other versions.
14851 case "$host_cpu" in
14854 hardcode_into_libs
=yes
14855 dynamic_linker
="$host_os dld.so"
14856 shlibpath_var
=LD_LIBRARY_PATH
14857 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14859 soname_spec
='${libname}${release}${shared_ext}$major'
14860 if test "X$HPUX_IA64_MODE" = X32
; then
14861 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14863 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14865 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14869 hardcode_into_libs
=yes
14870 dynamic_linker
="$host_os dld.sl"
14871 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14872 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14874 soname_spec
='${libname}${release}${shared_ext}$major'
14875 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14876 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14880 dynamic_linker
="$host_os dld.sl"
14881 shlibpath_var
=SHLIB_PATH
14882 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14884 soname_spec
='${libname}${release}${shared_ext}$major'
14887 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14888 postinstall_cmds
='chmod 555 $lib'
14891 irix5
* | irix6
* | nonstopux
*)
14893 nonstopux
*) version_type
=nonstopux
;;
14895 if test "$lt_cv_prog_gnu_ld" = yes; then
14903 soname_spec
='${libname}${release}${shared_ext}$major'
14904 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14906 irix5
* | nonstopux
*)
14907 libsuff
= shlibsuff
=
14910 case $LD in # libtool.m4 will add one of these switches to LD
14911 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14912 libsuff
= shlibsuff
= libmagic
=32-bit;;
14913 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14914 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14915 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14916 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14917 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14921 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14922 shlibpath_overrides_runpath
=no
14923 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14924 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14925 hardcode_into_libs
=yes
14928 # No shared lib support for Linux oldld, aout, or coff.
14929 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14933 # This must be Linux ELF.
14938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14939 soname_spec
='${libname}${release}${shared_ext}$major'
14940 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14941 shlibpath_var
=LD_LIBRARY_PATH
14942 shlibpath_overrides_runpath
=no
14943 # This implies no fast_install, which is unacceptable.
14944 # Some rework will be needed to allow for fast_install
14945 # before this can be enabled.
14946 hardcode_into_libs
=yes
14948 # We used to test for /lib/ld.so.1 and disable shared libraries on
14949 # powerpc, because MkLinux only supported shared libraries with the
14950 # GNU dynamic linker. Since this was broken with cross compilers,
14951 # most powerpc-linux boxes support dynamic linking these days and
14952 # people can always --disable-shared, the test was removed, and we
14953 # assume the GNU/Linux dynamic linker is in use.
14954 dynamic_linker
='GNU/Linux ld.so'
14961 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14962 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14963 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14964 dynamic_linker
='NetBSD (a.out) ld.so'
14966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14967 soname_spec
='${libname}${release}${shared_ext}$major'
14968 dynamic_linker
='NetBSD ld.elf_so'
14970 shlibpath_var
=LD_LIBRARY_PATH
14971 shlibpath_overrides_runpath
=yes
14972 hardcode_into_libs
=yes
14977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14978 shlibpath_var
=LD_LIBRARY_PATH
14979 shlibpath_overrides_runpath
=yes
14986 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14987 soname_spec
='${libname}${release}${shared_ext}$major'
14988 shlibpath_var
=LD_LIBRARY_PATH
14989 shlibpath_overrides_runpath
=yes
14996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14997 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14998 shlibpath_var
=LD_LIBRARY_PATH
14999 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15001 openbsd2.
[89] | openbsd2.
[89].
*)
15002 shlibpath_overrides_runpath
=no
15005 shlibpath_overrides_runpath
=yes
15009 shlibpath_overrides_runpath
=yes
15014 libname_spec
='$name'
15017 library_names_spec
='$libname${shared_ext} $libname.a'
15018 dynamic_linker
='OS/2 ld.exe'
15019 shlibpath_var
=LIBPATH
15022 osf3
* | osf4
* | osf5
*)
15026 soname_spec
='${libname}${release}${shared_ext}$major'
15027 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15028 shlibpath_var
=LD_LIBRARY_PATH
15029 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15030 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15035 soname_spec
='${libname}${release}${shared_ext}$major'
15036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15037 shlibpath_var
=LD_LIBRARY_PATH
15044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15045 soname_spec
='${libname}${release}${shared_ext}$major'
15046 shlibpath_var
=LD_LIBRARY_PATH
15047 shlibpath_overrides_runpath
=yes
15048 hardcode_into_libs
=yes
15049 # ldd complains unless libraries are executable
15050 postinstall_cmds
='chmod +x $lib'
15055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15056 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15057 shlibpath_var
=LD_LIBRARY_PATH
15058 shlibpath_overrides_runpath
=yes
15059 if test "$with_gnu_ld" = yes; then
15065 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15068 soname_spec
='${libname}${release}${shared_ext}$major'
15069 shlibpath_var
=LD_LIBRARY_PATH
15070 case $host_vendor in
15072 shlibpath_overrides_runpath
=no
15074 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15075 runpath_var
=LD_RUN_PATH
15083 shlibpath_overrides_runpath
=no
15084 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15090 if test -d /usr
/nec
;then
15092 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15093 soname_spec
='$libname${shared_ext}.$major'
15094 shlibpath_var
=LD_LIBRARY_PATH
15100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15101 soname_spec
='${libname}${release}${shared_ext}$major'
15102 shlibpath_var
=LD_LIBRARY_PATH
15109 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15110 echo "${ECHO_T}$dynamic_linker" >&6; }
15111 test "$dynamic_linker" = no
&& can_build_shared
=no
15113 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15114 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15115 hardcode_action_F77
=
15116 if test -n "$hardcode_libdir_flag_spec_F77" || \
15117 test -n "$runpath_var F77" || \
15118 test "X$hardcode_automatic_F77"="Xyes" ; then
15120 # We can hardcode non-existant directories.
15121 if test "$hardcode_direct_F77" != no
&&
15122 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15123 # have to relink, otherwise we might link with an installed library
15124 # when we should be linking with a yet-to-be-installed one
15125 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15126 test "$hardcode_minus_L_F77" != no
; then
15127 # Linking always hardcodes the temporary library directory.
15128 hardcode_action_F77
=relink
15130 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15131 hardcode_action_F77
=immediate
15134 # We cannot hardcode anything, or else we can only hardcode existing
15136 hardcode_action_F77
=unsupported
15138 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15139 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15141 if test "$hardcode_action_F77" = relink
; then
15142 # Fast installation is not supported
15143 enable_fast_install
=no
15144 elif test "$shlibpath_overrides_runpath" = yes ||
15145 test "$enable_shared" = no
; then
15146 # Fast installation is not necessary
15147 enable_fast_install
=needless
15152 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15153 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
15154 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
15155 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
15156 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
15157 { echo "$as_me:$LINENO: result: yes" >&5
15158 echo "${ECHO_T}yes" >&6; }
15160 # FIXME - insert some real tests, host_os isn't really good enough
15163 if test -n "$STRIP" ; then
15164 striplib
="$STRIP -x"
15165 { echo "$as_me:$LINENO: result: yes" >&5
15166 echo "${ECHO_T}yes" >&6; }
15168 { echo "$as_me:$LINENO: result: no" >&5
15169 echo "${ECHO_T}no" >&6; }
15173 { echo "$as_me:$LINENO: result: no" >&5
15174 echo "${ECHO_T}no" >&6; }
15181 # The else clause should only fire when bootstrapping the
15182 # libtool distribution, otherwise you forgot to ship ltmain.sh
15183 # with your package, and you will get complaints that there are
15184 # no rules to generate ltmain.sh.
15185 if test -f "$ltmain"; then
15186 # See if we are running on zsh, and set the options which allow our commands through
15187 # without removal of \ escapes.
15188 if test -n "${ZSH_VERSION+set}" ; then
15189 setopt NO_GLOB_SUBST
15191 # Now quote all the things that may contain metacharacters while being
15192 # careful not to overquote the AC_SUBSTed values. We take copies of the
15193 # variables and quote the copies for generation of the libtool script.
15194 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
15195 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15196 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15197 deplibs_check_method reload_flag reload_cmds need_locks \
15198 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15199 lt_cv_sys_global_symbol_to_c_name_address \
15200 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15201 old_postinstall_cmds old_postuninstall_cmds \
15205 lt_prog_compiler_wl_F77 \
15206 lt_prog_compiler_pic_F77 \
15207 lt_prog_compiler_static_F77 \
15208 lt_prog_compiler_no_builtin_flag_F77 \
15209 export_dynamic_flag_spec_F77 \
15210 thread_safe_flag_spec_F77 \
15211 whole_archive_flag_spec_F77 \
15212 enable_shared_with_static_runtimes_F77 \
15213 old_archive_cmds_F77 \
15214 old_archive_from_new_cmds_F77 \
15215 predep_objects_F77 \
15216 postdep_objects_F77 \
15219 compiler_lib_search_path_F77 \
15221 archive_expsym_cmds_F77 \
15222 postinstall_cmds_F77 \
15223 postuninstall_cmds_F77 \
15224 old_archive_from_expsyms_cmds_F77 \
15225 allow_undefined_flag_F77 \
15226 no_undefined_flag_F77 \
15227 export_symbols_cmds_F77 \
15228 hardcode_libdir_flag_spec_F77 \
15229 hardcode_libdir_flag_spec_ld_F77 \
15230 hardcode_libdir_separator_F77 \
15231 hardcode_automatic_F77 \
15233 module_expsym_cmds_F77 \
15234 lt_cv_prog_compiler_c_o_F77 \
15235 exclude_expsyms_F77 \
15236 include_expsyms_F77
; do
15239 old_archive_cmds_F77 | \
15240 old_archive_from_new_cmds_F77 | \
15241 archive_cmds_F77 | \
15242 archive_expsym_cmds_F77 | \
15243 module_cmds_F77 | \
15244 module_expsym_cmds_F77 | \
15245 old_archive_from_expsyms_cmds_F77 | \
15246 export_symbols_cmds_F77 | \
15247 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15248 postinstall_cmds | postuninstall_cmds | \
15249 old_postinstall_cmds | old_postuninstall_cmds | \
15250 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15251 # Double-quote double-evaled strings.
15252 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15255 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15261 *'\$0 --fallback-echo"')
15262 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15268 cat <<__EOF__ >> "$cfgfile"
15269 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15271 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15273 # Shell to use when invoking shell scripts.
15276 # Whether or not to build shared libraries.
15277 build_libtool_libs=$enable_shared
15279 # Whether or not to build static libraries.
15280 build_old_libs=$enable_static
15282 # Whether or not to add -lc for building shared libraries.
15283 build_libtool_need_lc=$archive_cmds_need_lc_F77
15285 # Whether or not to disallow shared libs when runtime libs are static
15286 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15288 # Whether or not to optimize for fast installation.
15289 fast_install=$enable_fast_install
15292 host_alias=$host_alias
15295 # An echo program that does not interpret backslashes.
15300 AR_FLAGS=$lt_AR_FLAGS
15305 # A language-specific compiler.
15306 CC=$lt_compiler_F77
15308 # Is the compiler the GNU C compiler?
15314 # The linker used to build libraries.
15317 # Whether we need hard or soft links.
15320 # A BSD-compatible nm program.
15323 # A symbol stripping program
15326 # Used to examine libraries when file_magic_cmd begins "file"
15327 MAGIC_CMD=$MAGIC_CMD
15329 # Used on cygwin: DLL creation program.
15332 # Used on cygwin: object dumper.
15335 # Used on cygwin: assembler.
15338 # The name of the directory that contains temporary libtool files.
15341 # How to create reloadable object files.
15342 reload_flag=$lt_reload_flag
15343 reload_cmds=$lt_reload_cmds
15345 # How to pass a linker flag through the compiler.
15346 wl=$lt_lt_prog_compiler_wl_F77
15348 # Object file suffix (normally "o").
15349 objext="$ac_objext"
15351 # Old archive suffix (normally "a").
15354 # Shared library suffix (normally ".so").
15357 # Executable file suffix (normally "").
15360 # Additional compiler flags for building library objects.
15361 pic_flag=$lt_lt_prog_compiler_pic_F77
15364 # What is the maximum length of a command?
15365 max_cmd_len=$lt_cv_sys_max_cmd_len
15367 # Does compiler simultaneously support -c and -o options?
15368 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15370 # Must we lock files when doing compilation ?
15371 need_locks=$lt_need_locks
15373 # Do we need the lib prefix for modules?
15374 need_lib_prefix=$need_lib_prefix
15376 # Do we need a version for libraries?
15377 need_version=$need_version
15379 # Whether dlopen is supported.
15380 dlopen_support=$enable_dlopen
15382 # Whether dlopen of programs is supported.
15383 dlopen_self=$enable_dlopen_self
15385 # Whether dlopen of statically linked programs is supported.
15386 dlopen_self_static=$enable_dlopen_self_static
15388 # Compiler flag to prevent dynamic linking.
15389 link_static_flag=$lt_lt_prog_compiler_static_F77
15391 # Compiler flag to turn off builtin functions.
15392 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15394 # Compiler flag to allow reflexive dlopens.
15395 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15397 # Compiler flag to generate shared objects directly from archives.
15398 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15400 # Compiler flag to generate thread-safe objects.
15401 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15403 # Library versioning type.
15404 version_type=$version_type
15406 # Format of library name prefix.
15407 libname_spec=$lt_libname_spec
15409 # List of archive names. First name is the real one, the rest are links.
15410 # The last name is the one that the linker finds with -lNAME.
15411 library_names_spec=$lt_library_names_spec
15413 # The coded name of the library, if different from the real name.
15414 soname_spec=$lt_soname_spec
15416 # Commands used to build and install an old-style archive.
15418 old_archive_cmds=$lt_old_archive_cmds_F77
15419 old_postinstall_cmds=$lt_old_postinstall_cmds
15420 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15422 # Create an old-style archive from a shared archive.
15423 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15425 # Create a temporary old-style archive to link instead of a shared archive.
15426 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15428 # Commands used to build and install a shared archive.
15429 archive_cmds=$lt_archive_cmds_F77
15430 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15431 postinstall_cmds=$lt_postinstall_cmds
15432 postuninstall_cmds=$lt_postuninstall_cmds
15434 # Commands used to build a loadable module (assumed same as above if empty)
15435 module_cmds=$lt_module_cmds_F77
15436 module_expsym_cmds=$lt_module_expsym_cmds_F77
15438 # Commands to strip libraries.
15439 old_striplib=$lt_old_striplib
15440 striplib=$lt_striplib
15442 # Dependencies to place before the objects being linked to create a
15444 predep_objects=$lt_predep_objects_F77
15446 # Dependencies to place after the objects being linked to create a
15448 postdep_objects=$lt_postdep_objects_F77
15450 # Dependencies to place before the objects being linked to create a
15452 predeps=$lt_predeps_F77
15454 # Dependencies to place after the objects being linked to create a
15456 postdeps=$lt_postdeps_F77
15458 # The library search path used internally by the compiler when linking
15459 # a shared library.
15460 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15462 # Method to check whether dependent libraries are shared objects.
15463 deplibs_check_method=$lt_deplibs_check_method
15465 # Command to use when deplibs_check_method == file_magic.
15466 file_magic_cmd=$lt_file_magic_cmd
15468 # Flag that allows shared libraries with undefined symbols to be built.
15469 allow_undefined_flag=$lt_allow_undefined_flag_F77
15471 # Flag that forces no undefined symbols.
15472 no_undefined_flag=$lt_no_undefined_flag_F77
15474 # Commands used to finish a libtool library installation in a directory.
15475 finish_cmds=$lt_finish_cmds
15477 # Same as above, but a single script fragment to be evaled but not shown.
15478 finish_eval=$lt_finish_eval
15480 # Take the output of nm and produce a listing of raw symbols and C names.
15481 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15483 # Transform the output of nm in a proper C declaration
15484 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15486 # Transform the output of nm in a C name address pair
15487 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15489 # This is the shared library runtime path variable.
15490 runpath_var=$runpath_var
15492 # This is the shared library path variable.
15493 shlibpath_var=$shlibpath_var
15495 # Is shlibpath searched before the hard-coded library search path?
15496 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15498 # How to hardcode a shared library path into an executable.
15499 hardcode_action=$hardcode_action_F77
15501 # Whether we should hardcode library paths into libraries.
15502 hardcode_into_libs=$hardcode_into_libs
15504 # Flag to hardcode \$libdir into a binary during linking.
15505 # This must work even if \$libdir does not exist.
15506 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15508 # If ld is used when linking, flag to hardcode \$libdir into
15509 # a binary during linking. This must work even if \$libdir does
15511 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15513 # Whether we need a single -rpath flag with a separated argument.
15514 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15516 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15517 # resulting binary.
15518 hardcode_direct=$hardcode_direct_F77
15520 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15521 # resulting binary.
15522 hardcode_minus_L=$hardcode_minus_L_F77
15524 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15525 # the resulting binary.
15526 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15528 # Set to yes if building a shared library automatically hardcodes DIR into the library
15529 # and all subsequent libraries and executables linked against it.
15530 hardcode_automatic=$hardcode_automatic_F77
15532 # Variables whose values should be saved in libtool wrapper scripts and
15533 # restored at relink time.
15534 variables_saved_for_relink="$variables_saved_for_relink"
15536 # Whether libtool must link a program against all its dependency libraries.
15537 link_all_deplibs=$link_all_deplibs_F77
15539 # Compile-time system search path for libraries
15540 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15542 # Run-time system search path for libraries
15543 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15545 # Fix the shell variable \$srcfile for the compiler.
15546 fix_srcfile_path="$fix_srcfile_path_F77"
15548 # Set to yes if exported symbols are required.
15549 always_export_symbols=$always_export_symbols_F77
15551 # The commands to list exported symbols.
15552 export_symbols_cmds=$lt_export_symbols_cmds_F77
15554 # The commands to extract the exported symbol list from a shared archive.
15555 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15557 # Symbols that should not be listed in the preloaded symbols.
15558 exclude_expsyms=$lt_exclude_expsyms_F77
15560 # Symbols that must always be exported.
15561 include_expsyms=$lt_include_expsyms_F77
15563 # ### END LIBTOOL TAG CONFIG: $tagname
15569 # If there is no Makefile yet, we rely on a make rule to execute
15570 # `config.status --recheck' to rerun these tests and create the
15571 # libtool script then.
15572 test -f Makefile
&& make "$ltmain"
15577 ac_cpp
='$CPP $CPPFLAGS'
15578 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15579 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15580 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15590 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15593 # Source file extension for Java test sources.
15596 # Object file extension for compiled Java test sources.
15600 # Code to be used in simple compile tests
15601 lt_simple_compile_test_code
="class foo {}\n"
15603 # Code to be used in simple link tests
15604 lt_simple_link_test_code
='public class conftest { public static void main(String argv) {}; }\n'
15606 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15608 # If no C compiler was specified, use CC.
15611 # Allow CC to be a program name with arguments.
15615 # Allow CC to be a program name with arguments.
15621 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15622 archive_cmds_need_lc_GCJ
=no
15625 ## There is no encapsulation within the following macros, do not change
15626 ## the running order or otherwise move them around unless you know exactly
15627 ## what you are doing...
15629 lt_prog_compiler_no_builtin_flag_GCJ
=
15631 if test "$GCC" = yes; then
15632 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15635 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15636 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
15637 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15638 echo $ECHO_N "(cached) $ECHO_C" >&6
15640 lt_cv_prog_compiler_rtti_exceptions
=no
15641 ac_outfile
=conftest.
$ac_objext
15642 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15643 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15644 # Insert the option either (1) after the last *FLAGS variable, or
15645 # (2) before a word containing "conftest.", or (3) at the end.
15646 # Note that $ac_compile itself does not contain backslashes and begins
15647 # with a dollar sign (not a hyphen), so the echo should work correctly.
15648 # The option is referenced via a variable to avoid confusing sed.
15649 lt_compile
=`echo "$ac_compile" | $SED \
15650 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15651 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15652 -e 's:$: $lt_compiler_flag:'`
15653 (eval echo "\"\$as_me:15653: $lt_compile\"" >&5)
15654 (eval "$lt_compile" 2>conftest.err
)
15656 cat conftest.err
>&5
15657 echo "$as_me:15657: \$? = $ac_status" >&5
15658 if (exit $ac_status) && test -s "$ac_outfile"; then
15659 # The compiler can only warn and ignore the option if not recognized
15660 # So say no if there are warnings
15661 if test ! -s conftest.err
; then
15662 lt_cv_prog_compiler_rtti_exceptions
=yes
15668 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15669 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15671 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15672 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15679 lt_prog_compiler_wl_GCJ
=
15680 lt_prog_compiler_pic_GCJ
=
15681 lt_prog_compiler_static_GCJ
=
15683 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15684 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15686 if test "$GCC" = yes; then
15687 lt_prog_compiler_wl_GCJ
='-Wl,'
15688 lt_prog_compiler_static_GCJ
='-static'
15692 # All AIX code is PIC.
15693 if test "$host_cpu" = ia64
; then
15694 # AIX 5 now supports IA64 processor
15695 lt_prog_compiler_static_GCJ
='-Bstatic'
15700 # FIXME: we need at least 68020 code to build shared libraries, but
15701 # adding the `-m68020' flag to GCC prevents building anything better,
15703 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15706 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15707 # PIC is the default for these OSes.
15710 mingw
* | pw32
* | os2
*)
15711 # This hack is so that the source file can tell whether it is being
15712 # built for inclusion in a dll (and should export symbols for example).
15713 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15716 darwin
* | rhapsody
*)
15717 # PIC is the default on this platform
15718 # Common symbols not allowed in MH_DYLIB files
15719 lt_prog_compiler_pic_GCJ
='-fno-common'
15723 # Just because we use GCC doesn't mean we suddenly get shared libraries
15724 # on systems that don't support them.
15725 lt_prog_compiler_can_build_shared_GCJ
=no
15730 if test -d /usr
/nec
; then
15731 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15736 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15737 # not for PA HP-UX.
15738 case "$host_cpu" in
15743 lt_prog_compiler_pic_GCJ
='-fPIC'
15749 lt_prog_compiler_pic_GCJ
='-fPIC'
15753 # PORTME Check for flag to pass linker flags through the system compiler.
15756 lt_prog_compiler_wl_GCJ
='-Wl,'
15757 if test "$host_cpu" = ia64
; then
15758 # AIX 5 now supports IA64 processor
15759 lt_prog_compiler_static_GCJ
='-Bstatic'
15761 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15765 mingw
* | pw32
* | os2
*)
15766 # This hack is so that the source file can tell whether it is being
15767 # built for inclusion in a dll (and should export symbols for example).
15768 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15771 hpux9
* | hpux10
* | hpux11
*)
15772 lt_prog_compiler_wl_GCJ
='-Wl,'
15773 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15774 # not for PA HP-UX.
15775 case "$host_cpu" in
15780 lt_prog_compiler_pic_GCJ
='+Z'
15783 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15784 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15787 irix5
* | irix6
* | nonstopux
*)
15788 lt_prog_compiler_wl_GCJ
='-Wl,'
15789 # PIC (with -KPIC) is the default.
15790 lt_prog_compiler_static_GCJ
='-non_shared'
15794 lt_prog_compiler_pic_GCJ
='-KPIC'
15795 lt_prog_compiler_static_GCJ
='-Bstatic'
15801 lt_prog_compiler_wl_GCJ
='-Wl,'
15802 lt_prog_compiler_pic_GCJ
='-KPIC'
15803 lt_prog_compiler_static_GCJ
='-static'
15806 lt_prog_compiler_wl_GCJ
='-Wl,'
15807 # All Alpha code is PIC.
15808 lt_prog_compiler_static_GCJ
='-non_shared'
15813 osf3
* | osf4
* | osf5
*)
15814 lt_prog_compiler_wl_GCJ
='-Wl,'
15815 # All OSF/1 code is PIC.
15816 lt_prog_compiler_static_GCJ
='-non_shared'
15820 lt_prog_compiler_pic_GCJ
='-Kpic'
15821 lt_prog_compiler_static_GCJ
='-dn'
15825 lt_prog_compiler_wl_GCJ
='-Wl,'
15826 lt_prog_compiler_pic_GCJ
='-KPIC'
15827 lt_prog_compiler_static_GCJ
='-Bstatic'
15831 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15832 lt_prog_compiler_pic_GCJ
='-PIC'
15833 lt_prog_compiler_static_GCJ
='-Bstatic'
15836 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15837 lt_prog_compiler_wl_GCJ
='-Wl,'
15838 lt_prog_compiler_pic_GCJ
='-KPIC'
15839 lt_prog_compiler_static_GCJ
='-Bstatic'
15843 if test -d /usr
/nec
;then
15844 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15845 lt_prog_compiler_static_GCJ
='-Bstatic'
15850 lt_prog_compiler_pic_GCJ
='-pic'
15851 lt_prog_compiler_static_GCJ
='-Bstatic'
15855 lt_prog_compiler_can_build_shared_GCJ
=no
15860 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15861 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
15864 # Check to make sure the PIC flag actually works.
15866 if test -n "$lt_prog_compiler_pic_GCJ"; then
15868 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15869 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
15870 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15871 echo $ECHO_N "(cached) $ECHO_C" >&6
15873 lt_prog_compiler_pic_works_GCJ
=no
15874 ac_outfile
=conftest.
$ac_objext
15875 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15876 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
15877 # Insert the option either (1) after the last *FLAGS variable, or
15878 # (2) before a word containing "conftest.", or (3) at the end.
15879 # Note that $ac_compile itself does not contain backslashes and begins
15880 # with a dollar sign (not a hyphen), so the echo should work correctly.
15881 # The option is referenced via a variable to avoid confusing sed.
15882 lt_compile
=`echo "$ac_compile" | $SED \
15883 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15884 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15885 -e 's:$: $lt_compiler_flag:'`
15886 (eval echo "\"\$as_me:15886: $lt_compile\"" >&5)
15887 (eval "$lt_compile" 2>conftest.err
)
15889 cat conftest.err
>&5
15890 echo "$as_me:15890: \$? = $ac_status" >&5
15891 if (exit $ac_status) && test -s "$ac_outfile"; then
15892 # The compiler can only warn and ignore the option if not recognized
15893 # So say no if there are warnings
15894 if test ! -s conftest.err
; then
15895 lt_prog_compiler_pic_works_GCJ
=yes
15901 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15902 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
15904 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
15905 case $lt_prog_compiler_pic_GCJ in
15907 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
15910 lt_prog_compiler_pic_GCJ
=
15911 lt_prog_compiler_can_build_shared_GCJ
=no
15916 # For platforms which do not support PIC, -DPIC is meaningless:
15918 lt_prog_compiler_pic_GCJ
=
15921 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
15925 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15926 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15927 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15928 echo $ECHO_N "(cached) $ECHO_C" >&6
15930 lt_cv_prog_compiler_c_o_GCJ
=no
15931 $rm -r conftest
2>/dev
/null
15935 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15937 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15938 # that will create temporary files in the current directory regardless of
15939 # the output directory. Thus, making CWD read-only will cause this test
15940 # to fail, enabling locking or at least warning the user not to do parallel
15944 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15945 # Insert the option either (1) after the last *FLAGS variable, or
15946 # (2) before a word containing "conftest.", or (3) at the end.
15947 # Note that $ac_compile itself does not contain backslashes and begins
15948 # with a dollar sign (not a hyphen), so the echo should work correctly.
15949 lt_compile
=`echo "$ac_compile" | $SED \
15950 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15951 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15952 -e 's:$: $lt_compiler_flag:'`
15953 (eval echo "\"\$as_me:15953: $lt_compile\"" >&5)
15954 (eval "$lt_compile" 2>out
/conftest.err
)
15956 cat out
/conftest.err
>&5
15957 echo "$as_me:15957: \$? = $ac_status" >&5
15958 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15960 # The compiler can only warn and ignore the option if not recognized
15961 # So say no if there are warnings
15962 if test ! -s out
/conftest.err
; then
15963 lt_cv_prog_compiler_c_o_GCJ
=yes
15968 # SGI C++ compiler will create directory out/ii_files/ for
15969 # template instantiation
15970 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
15971 $rm out
/* && rmdir out
15977 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15978 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
15981 hard_links
="nottested"
15982 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
15983 # do not overwrite the value of need_locks provided by the user
15984 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15985 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15988 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15990 ln conftest.a conftest.b
2>&5 || hard_links
=no
15991 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15992 { echo "$as_me:$LINENO: result: $hard_links" >&5
15993 echo "${ECHO_T}$hard_links" >&6; }
15994 if test "$hard_links" = no
; then
15995 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15996 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16003 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16004 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16007 allow_undefined_flag_GCJ
=
16008 enable_shared_with_static_runtimes_GCJ
=no
16010 archive_expsym_cmds_GCJ
=
16011 old_archive_From_new_cmds_GCJ
=
16012 old_archive_from_expsyms_cmds_GCJ
=
16013 export_dynamic_flag_spec_GCJ
=
16014 whole_archive_flag_spec_GCJ
=
16015 thread_safe_flag_spec_GCJ
=
16016 hardcode_libdir_flag_spec_GCJ
=
16017 hardcode_libdir_flag_spec_ld_GCJ
=
16018 hardcode_libdir_separator_GCJ
=
16019 hardcode_direct_GCJ
=no
16020 hardcode_minus_L_GCJ
=no
16021 hardcode_shlibpath_var_GCJ
=unsupported
16022 link_all_deplibs_GCJ
=unknown
16023 hardcode_automatic_GCJ
=no
16025 module_expsym_cmds_GCJ
=
16026 always_export_symbols_GCJ
=no
16027 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16028 # include_expsyms should be a list of space-separated symbols to be *always*
16029 # included in the symbol list
16030 include_expsyms_GCJ
=
16031 # exclude_expsyms can be an extended regexp of symbols to exclude
16032 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16033 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16034 # as well as any symbol that contains `d'.
16035 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16036 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16037 # platforms (ab)use it in PIC code, but their linkers get confused if
16038 # the symbol is explicitly referenced. Since portable code cannot
16039 # rely on this symbol name, it's probably fine to never include it in
16040 # preloaded symbol tables.
16041 extract_expsyms_cmds
=
16044 cygwin
* | mingw
* | pw32
*)
16045 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16046 # When not using gcc, we currently assume that we are using
16047 # Microsoft Visual C++.
16048 if test "$GCC" != yes; then
16058 if test "$with_gnu_ld" = yes; then
16059 # If archive_cmds runs LD, not CC, wlarc should be empty
16062 # See if GNU ld supports shared libraries.
16064 aix3
* | aix4
* | aix5
*)
16065 # On AIX/PPC, the GNU linker is very broken
16066 if test "$host_cpu" != ia64
; then
16070 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16071 *** to be unable to reliably create shared libraries on AIX.
16072 *** Therefore, libtool is disabling shared libraries support. If you
16073 *** really care for shared libraries, you may want to modify your PATH
16074 *** so that a non-GNU linker is found, and then restart.
16081 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)'
16082 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16083 hardcode_minus_L_GCJ
=yes
16085 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16086 # that the semantics of dynamic libraries on AmigaOS, at least up
16087 # to version 4, is to share data among multiple programs linked
16088 # with the same dynamic library. Since this doesn't match the
16089 # behavior of shared libraries on other platforms, we can't use
16095 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16096 allow_undefined_flag_GCJ
=unsupported
16097 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16098 # support --undefined. This deserves some investigation. FIXME
16099 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16105 cygwin
* | mingw
* | pw32
*)
16106 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16107 # as there is no search path for DLLs.
16108 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16109 allow_undefined_flag_GCJ
=unsupported
16110 always_export_symbols_GCJ
=no
16111 enable_shared_with_static_runtimes_GCJ
=yes
16112 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16114 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16115 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16116 # If the export-symbols file already is a .def file (1st line
16117 # is EXPORTS), use it as is; otherwise, prepend...
16118 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16119 cp $export_symbols $output_objdir/$soname.def;
16121 echo EXPORTS > $output_objdir/$soname.def;
16122 cat $export_symbols >> $output_objdir/$soname.def;
16124 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16131 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16132 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16135 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16136 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16141 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16145 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16146 *** create shared libraries on Solaris systems. Therefore, libtool
16147 *** is disabling shared libraries support. We urge you to upgrade GNU
16148 *** binutils to release 2.9.1 or newer. Another option is to modify
16149 *** your PATH or compiler configuration so that the native linker is
16150 *** used, and then restart.
16153 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16154 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16155 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16162 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16164 hardcode_direct_GCJ
=yes
16165 hardcode_shlibpath_var_GCJ
=no
16169 if $LD --help 2>&1 |
egrep ': supported targets:.* elf' > /dev
/null
; then
16170 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16171 archive_cmds_GCJ
="$tmp_archive_cmds"
16172 supports_anon_versioning
=no
16173 case `$LD -v 2>/dev/null` in
16174 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16175 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16176 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16177 *\
2.11.
*) ;; # other 2.11 versions
16178 *) supports_anon_versioning
=yes ;;
16180 if test $supports_anon_versioning = yes; then
16181 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16182 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16183 $echo "local: *; };" >> $output_objdir/$libname.ver~
16184 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16186 archive_expsym_cmds_GCJ
="$tmp_archive_cmds"
16194 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16195 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16196 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16203 if test "$ld_shlibs_GCJ" = yes; then
16204 runpath_var
=LD_RUN_PATH
16205 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16206 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16207 # ancient GNU ld didn't support --whole-archive et. al.
16208 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16209 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16211 whole_archive_flag_spec_GCJ
=
16215 # PORTME fill in a description of your system's linker (not GNU ld)
16218 allow_undefined_flag_GCJ
=unsupported
16219 always_export_symbols_GCJ
=yes
16220 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'
16221 # Note: this linker hardcodes the directories in LIBPATH if there
16222 # are no directories specified by -L.
16223 hardcode_minus_L_GCJ
=yes
16224 if test "$GCC" = yes && test -z "$link_static_flag"; then
16225 # Neither direct hardcoding nor static linking is supported with a
16227 hardcode_direct_GCJ
=unsupported
16232 if test "$host_cpu" = ia64
; then
16233 # On IA64, the linker does run time linking by default, so we don't
16234 # have to do anything special.
16235 aix_use_runtimelinking
=no
16236 exp_sym_flag
='-Bexport'
16239 # If we're using GNU nm, then we don't want the "-C" option.
16240 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16241 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16242 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'
16244 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'
16246 aix_use_runtimelinking
=no
16248 # Test if we are trying to use run time linking or normal
16249 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16250 # need to do runtime linking.
16251 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16252 for ld_flag
in $LDFLAGS; do
16253 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16254 aix_use_runtimelinking
=yes
16260 exp_sym_flag
='-bexport'
16261 no_entry_flag
='-bnoentry'
16264 # When large executables or shared objects are built, AIX ld can
16265 # have problems creating the table of contents. If linking a library
16266 # or program results in "error TOC overflow" add -mminimal-toc to
16267 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16268 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16270 archive_cmds_GCJ
=''
16271 hardcode_direct_GCJ
=yes
16272 hardcode_libdir_separator_GCJ
=':'
16273 link_all_deplibs_GCJ
=yes
16275 if test "$GCC" = yes; then
16276 case $host_os in aix4.012|aix4.012.
*)
16277 # We only want to do this on AIX 4.2 and lower, the check
16278 # below for broken collect2 doesn't work under 4.3+
16279 collect2name
=`${CC} -print-prog-name=collect2`
16280 if test -f "$collect2name" && \
16281 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16283 # We have reworked collect2
16284 hardcode_direct_GCJ
=yes
16286 # We have old collect2
16287 hardcode_direct_GCJ
=unsupported
16288 # It fails to find uninstalled libraries when the uninstalled
16289 # path is not listed in the libpath. Setting hardcode_minus_L
16290 # to unsupported forces relinking
16291 hardcode_minus_L_GCJ
=yes
16292 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16293 hardcode_libdir_separator_GCJ
=
16296 shared_flag
='-shared'
16299 if test "$host_cpu" = ia64
; then
16300 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16301 # chokes on -Wl,-G. The following line is correct:
16304 if test "$aix_use_runtimelinking" = yes; then
16305 shared_flag
='${wl}-G'
16307 shared_flag
='${wl}-bM:SRE'
16312 # It seems that -bexpall does not export symbols beginning with
16313 # underscore (_), so it is better to generate a list of symbols to export.
16314 always_export_symbols_GCJ
=yes
16315 if test "$aix_use_runtimelinking" = yes; then
16316 # Warning - without using the other runtime loading flags (-brtl),
16317 # -berok will link without error, but may produce a broken library.
16318 allow_undefined_flag_GCJ
='-berok'
16319 # Determine the default libpath from the value encoded in an empty executable.
16320 cat >conftest.
$ac_ext <<_ACEOF
16323 cat confdefs.h
>>conftest.
$ac_ext
16324 cat >>conftest.
$ac_ext <<_ACEOF
16325 /* end confdefs.h. */
16335 rm -f conftest.
$ac_objext conftest
$ac_exeext
16336 if { (ac_try
="$ac_link"
16337 case "(($ac_try" in
16338 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16339 *) ac_try_echo=$ac_try;;
16341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16342 (eval "$ac_link") 2>conftest.er1
16344 grep -v '^ *+' conftest.er1 >conftest.err
16346 cat conftest.err >&5
16347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348 (exit $ac_status); } && {
16349 test -z "$ac_c_werror_flag" ||
16350 test ! -s conftest.err
16351 } && test -s conftest$ac_exeext &&
16352 $as_test_x conftest$ac_exeext; then
16354 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16356 # Check for a 64-bit object if we didn't find anything.
16357 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; }
16360 echo "$as_me: failed program was:" >&5
16361 sed 's/^/| /' conftest.$ac_ext >&5
16366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16367 conftest$ac_exeext conftest.$ac_ext
16368 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16370 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16371 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"
16373 if test "$host_cpu" = ia64
; then
16374 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16375 allow_undefined_flag_GCJ
="-z nodefs"
16376 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"
16378 # Determine the default libpath from the value encoded in an empty executable.
16379 cat >conftest.$ac_ext <<_ACEOF
16382 cat confdefs.h >>conftest.$ac_ext
16383 cat >>conftest.$ac_ext <<_ACEOF
16384 /* end confdefs.h. */
16394 rm -f conftest.$ac_objext conftest$ac_exeext
16395 if { (ac_try="$ac_link"
16396 case "(($ac_try" in
16397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16398 *) ac_try_echo=$ac_try;;
16400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16401 (eval "$ac_link") 2>conftest.er1
16403 grep -v '^
*+' conftest.er1 >conftest.err
16405 cat conftest.err >&5
16406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407 (exit $ac_status); } && {
16408 test -z "$ac_c_werror_flag" ||
16409 test ! -s conftest.err
16410 } && test -s conftest$ac_exeext &&
16411 $as_test_x conftest$ac_exeext; then
16413 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings
/,/^$
/ { /^
0/ { s
/^
0 *\
(.
*\
)$
/\
1/; p
; }
16415 # Check for a 64-bit object if we didn't
find anything.
16416 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; }
16419 echo "$as_me: failed program was:" >&5
16420 sed 's/^/| /' conftest.
$ac_ext >&5
16425 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16426 conftest
$ac_exeext conftest.
$ac_ext
16427 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16429 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16430 # Warning - without using the other run time loading flags,
16431 # -berok will link without error, but may produce a broken library.
16432 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16433 allow_undefined_flag_GCJ
=' ${wl}-berok'
16434 # -bexpall does not export symbols beginning with underscore (_)
16435 always_export_symbols_GCJ
=yes
16436 # Exported symbols can be pulled into shared objects from archives
16437 whole_archive_flag_spec_GCJ
=' '
16438 archive_cmds_need_lc_GCJ
=yes
16439 # This is similar to how AIX traditionally builds it's shared libraries.
16440 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'
16446 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)'
16447 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16448 hardcode_minus_L_GCJ
=yes
16449 # see comment about different semantics on the GNU ld section
16454 export_dynamic_flag_spec_GCJ
=-rdynamic
16457 cygwin
* | mingw
* | pw32
*)
16458 # When not using gcc, we currently assume that we are using
16459 # Microsoft Visual C++.
16460 # hardcode_libdir_flag_spec is actually meaningless, as there is
16461 # no search path for DLLs.
16462 hardcode_libdir_flag_spec_GCJ
=' '
16463 allow_undefined_flag_GCJ
=unsupported
16464 # Tell ltmain to make .lib files, not .a files.
16466 # Tell ltmain to make .dll files, not .so files.
16468 # FIXME: Setting linknames here is a bad hack.
16469 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16470 # The linker will automatically build a .lib file if we build a DLL.
16471 old_archive_From_new_cmds_GCJ
='true'
16472 # FIXME: Should let the user specify the lib program.
16473 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16474 fix_srcfile_path
='`cygpath -w "$srcfile"`'
16475 enable_shared_with_static_runtimes_GCJ
=yes
16478 darwin
* | rhapsody
*)
16479 if test "$GXX" = yes ; then
16480 archive_cmds_need_lc_GCJ
=no
16482 rhapsody
* | darwin1.
[012])
16483 allow_undefined_flag_GCJ
='-undefined suppress'
16486 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16487 allow_undefined_flag_GCJ
='-flat_namespace -undefined suppress'
16489 case ${MACOSX_DEPLOYMENT_TARGET} in
16491 allow_undefined_flag_GCJ
='-flat_namespace -undefined suppress'
16494 allow_undefined_flag_GCJ
='-undefined dynamic_lookup'
16500 lt_int_apple_cc_single_mod
=no
16501 output_verbose_link_cmd
='echo'
16502 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
16503 lt_int_apple_cc_single_mod
=yes
16505 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
16506 archive_cmds_GCJ
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16508 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'
16510 module_cmds_GCJ
='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16511 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16512 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
16513 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}'
16515 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}'
16517 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}'
16518 hardcode_direct_GCJ
=no
16519 hardcode_automatic_GCJ
=yes
16520 hardcode_shlibpath_var_GCJ
=unsupported
16521 whole_archive_flag_spec_GCJ
='-all_load $convenience'
16522 link_all_deplibs_GCJ
=yes
16529 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16530 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16531 hardcode_shlibpath_var_GCJ
=no
16538 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16539 # support. Future versions do this automatically, but an explicit c++rt0.o
16540 # does not break anything, and helps significantly (at the cost of a little
16543 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16544 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16545 hardcode_direct_GCJ
=yes
16546 hardcode_shlibpath_var_GCJ
=no
16549 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16551 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16552 hardcode_direct_GCJ
=yes
16553 hardcode_minus_L_GCJ
=yes
16554 hardcode_shlibpath_var_GCJ
=no
16557 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16558 freebsd
* | kfreebsd
*-gnu)
16559 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16560 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16561 hardcode_direct_GCJ
=yes
16562 hardcode_shlibpath_var_GCJ
=no
16566 if test "$GCC" = yes; then
16567 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'
16569 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'
16571 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16572 hardcode_libdir_separator_GCJ
=:
16573 hardcode_direct_GCJ
=yes
16575 # hardcode_minus_L: Not really in the search PATH,
16576 # but as the default location of the library.
16577 hardcode_minus_L_GCJ
=yes
16578 export_dynamic_flag_spec_GCJ
='${wl}-E'
16582 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16583 case "$host_cpu" in
16585 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16588 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16592 case "$host_cpu" in
16594 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
16597 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16601 if test "$with_gnu_ld" = no
; then
16602 case "$host_cpu" in
16604 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16605 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16606 hardcode_libdir_separator_GCJ
=:
16607 hardcode_direct_GCJ
=no
16608 hardcode_shlibpath_var_GCJ
=no
16611 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16612 hardcode_direct_GCJ
=no
16613 hardcode_shlibpath_var_GCJ
=no
16615 # hardcode_minus_L: Not really in the search PATH,
16616 # but as the default location of the library.
16617 hardcode_minus_L_GCJ
=yes
16620 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16621 hardcode_libdir_separator_GCJ
=:
16622 hardcode_direct_GCJ
=yes
16623 export_dynamic_flag_spec_GCJ
='${wl}-E'
16625 # hardcode_minus_L: Not really in the search PATH,
16626 # but as the default location of the library.
16627 hardcode_minus_L_GCJ
=yes
16633 irix5
* | irix6
* | nonstopux
*)
16634 if test "$GCC" = yes; then
16635 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'
16637 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'
16638 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16640 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16641 hardcode_libdir_separator_GCJ
=:
16642 link_all_deplibs_GCJ
=yes
16646 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16647 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16649 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16651 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16652 hardcode_direct_GCJ
=yes
16653 hardcode_shlibpath_var_GCJ
=no
16657 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16658 hardcode_direct_GCJ
=yes
16659 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16660 hardcode_libdir_separator_GCJ
=:
16661 hardcode_shlibpath_var_GCJ
=no
16665 hardcode_direct_GCJ
=yes
16666 hardcode_shlibpath_var_GCJ
=no
16667 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16668 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16669 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16670 export_dynamic_flag_spec_GCJ
='${wl}-E'
16673 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16674 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16675 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16678 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16679 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16686 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16687 hardcode_minus_L_GCJ
=yes
16688 allow_undefined_flag_GCJ
=unsupported
16689 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'
16690 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16694 if test "$GCC" = yes; then
16695 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16696 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'
16698 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16699 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'
16701 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16702 hardcode_libdir_separator_GCJ
=:
16705 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16706 if test "$GCC" = yes; then
16707 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16708 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'
16709 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16711 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16712 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'
16713 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~
16714 $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'
16716 # Both c and cxx compiler support -rpath directly
16717 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
16719 hardcode_libdir_separator_GCJ
=:
16723 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16724 hardcode_shlibpath_var_GCJ
=no
16725 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
16726 runpath_var
=LD_RUN_PATH
16727 hardcode_runpath_var
=yes
16731 no_undefined_flag_GCJ
=' -z text'
16732 if test "$GCC" = yes; then
16733 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16734 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16735 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16737 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16738 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16739 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16741 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16742 hardcode_shlibpath_var_GCJ
=no
16744 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16745 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16746 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
16748 link_all_deplibs_GCJ
=yes
16752 if test "x$host_vendor" = xsequent
; then
16753 # Use $CC to link under sequent, because it throws in some extra .o
16754 # files that make .init and .fini sections work.
16755 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16757 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16759 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16760 hardcode_direct_GCJ
=yes
16761 hardcode_minus_L_GCJ
=yes
16762 hardcode_shlibpath_var_GCJ
=no
16766 case $host_vendor in
16768 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16769 hardcode_direct_GCJ
=yes # is this really true???
16772 ## LD is ld it makes a PLAMLIB
16773 ## CC just makes a GrossModule.
16774 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16775 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
16776 hardcode_direct_GCJ
=no
16779 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16780 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
16783 runpath_var
='LD_RUN_PATH'
16784 hardcode_shlibpath_var_GCJ
=no
16788 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16789 hardcode_shlibpath_var_GCJ
=no
16790 export_dynamic_flag_spec_GCJ
='-Bexport'
16794 if test -d /usr
/nec
; then
16795 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16796 hardcode_shlibpath_var_GCJ
=no
16797 runpath_var
=LD_RUN_PATH
16798 hardcode_runpath_var
=yes
16804 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16805 hardcode_direct_GCJ
=yes
16806 hardcode_minus_L_GCJ
=no
16807 hardcode_shlibpath_var_GCJ
=no
16808 hardcode_runpath_var
=yes
16809 runpath_var
=LD_RUN_PATH
16812 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
16813 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
16814 if test "$GCC" = yes; then
16815 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16817 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16819 runpath_var
='LD_RUN_PATH'
16820 hardcode_shlibpath_var_GCJ
=no
16824 no_undefined_flag_GCJ
=' -z text'
16825 # $CC -shared without GNU ld will not create a library from C++
16826 # object files and a static libstdc++, better avoid it by now
16827 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16828 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16829 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16830 hardcode_libdir_flag_spec_GCJ
=
16831 hardcode_shlibpath_var_GCJ
=no
16832 runpath_var
='LD_RUN_PATH'
16836 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16837 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16838 hardcode_shlibpath_var_GCJ
=no
16847 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16848 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
16849 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
16851 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16852 if test "$GCC" = yes; then
16853 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16857 # Do we need to explicitly link libc?
16859 case "x$archive_cmds_need_lc_GCJ" in
16861 # Assume -lc should be added
16862 archive_cmds_need_lc_GCJ
=yes
16864 if test "$enable_shared" = yes && test "$GCC" = yes; then
16865 case $archive_cmds_GCJ in
16867 # FIXME: we may have to deal with multi-command sequences.
16870 # Test whether the compiler implicitly links with -lc since on some
16871 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16872 # to ld, don't add -lc before -lgcc.
16873 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16874 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16876 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16879 (eval $ac_compile) 2>&5
16881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); } 2>conftest.err
; then
16885 libobjs
=conftest.
$ac_objext
16887 wl
=$lt_prog_compiler_wl_GCJ
16893 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
16894 allow_undefined_flag_GCJ
=
16895 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16896 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); }
16901 archive_cmds_need_lc_GCJ
=no
16903 archive_cmds_need_lc_GCJ
=yes
16905 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
16907 cat conftest.err
1>&5
16910 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16911 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
16918 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16919 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16920 library_names_spec
=
16921 libname_spec
='lib$name'
16925 postuninstall_cmds
=
16929 shlibpath_overrides_runpath
=unknown
16931 dynamic_linker
="$host_os ld.so"
16932 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16933 if test "$GCC" = yes; then
16934 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16935 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
16936 # if the path contains ";" then we assume it to be the separator
16937 # otherwise default to the standard path separator (i.e. ":") - it is
16938 # assumed that no part of a normal pathname contains ";" but that should
16939 # okay in the real world where ";" in dirpaths is itself problematic.
16940 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16942 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16945 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16947 need_lib_prefix
=unknown
16948 hardcode_into_libs
=no
16950 # when you set need_version to no, make sure it does not cause -set_version
16951 # flags to be left without arguments
16952 need_version
=unknown
16957 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16958 shlibpath_var
=LIBPATH
16960 # AIX 3 has no versioning support, so we append a major version to the name.
16961 soname_spec
='${libname}${release}${shared_ext}$major'
16968 hardcode_into_libs
=yes
16969 if test "$host_cpu" = ia64
; then
16970 # AIX 5 supports IA64
16971 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16972 shlibpath_var
=LD_LIBRARY_PATH
16974 # With GCC up to 2.95.x, collect2 would create an import file
16975 # for dependence libraries. The import file would start with
16976 # the line `#! .'. This would cause the generated library to
16977 # depend on `.', always an invalid library. This was fixed in
16978 # development snapshots of GCC prior to 3.0.
16980 aix4 | aix4.
[01] | aix4.
[01].
*)
16981 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16983 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
16986 can_build_shared
=no
16990 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16991 # soname into executable. Probably we can add versioning support to
16992 # collect2, so additional links can be useful in future.
16993 if test "$aix_use_runtimelinking" = yes; then
16994 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16995 # instead of lib<name>.a to let people know that these are not
16996 # typical AIX shared libraries.
16997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16999 # We preserve .a as extension for shared libraries through AIX4.2
17000 # and later when we are not doing run time linking.
17001 library_names_spec
='${libname}${release}.a $libname.a'
17002 soname_spec
='${libname}${release}${shared_ext}$major'
17004 shlibpath_var
=LIBPATH
17009 library_names_spec
='$libname.ixlibrary $libname.a'
17010 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17011 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'
17015 library_names_spec
='${libname}${shared_ext}'
17016 dynamic_linker
="$host_os ld.so"
17017 shlibpath_var
=LIBRARY_PATH
17023 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17024 soname_spec
='${libname}${release}${shared_ext}$major'
17025 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17026 shlibpath_var
=LD_LIBRARY_PATH
17027 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17028 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17029 # the default ld.so.conf also contains /usr/contrib/lib and
17030 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17031 # libtool to hard-code these into programs
17034 cygwin
* | mingw
* | pw32
*)
17035 version_type
=windows
17040 case $GCC,$host_os in
17041 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17042 library_names_spec
='$libname.dll.a'
17043 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17044 postinstall_cmds
='base_file=`basename \${file}`~
17045 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17046 dldir=$destdir/`dirname \$dlpath`~
17047 test -d \$dldir || mkdir -p \$dldir~
17048 $install_prog $dir/$dlname \$dldir/$dlname'
17049 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17050 dlpath=$dir/\$dldll~
17052 shlibpath_overrides_runpath
=yes
17056 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17057 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17058 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17061 # MinGW DLLs use traditional 'lib' prefix
17062 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17063 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17064 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17065 # It is most probably a Windows format PATH printed by
17066 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17067 # path with ; separators, and with drive letters. We can handle the
17068 # drive letters (cygwin fileutils understands them), so leave them,
17069 # especially as we might pass files found there to a mingw objdump,
17070 # which wouldn't understand a cygwinified path. Ahh.
17071 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17073 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17077 # pw32 DLLs use 'pw' prefix rather than 'lib'
17078 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
17084 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17087 dynamic_linker
='Win32 ld.exe'
17088 # FIXME: first we should search . and the directory the executable is in
17092 darwin
* | rhapsody
*)
17093 dynamic_linker
="$host_os dyld"
17094 version_type
=darwin
17097 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17098 soname_spec
='${libname}${release}${major}$shared_ext'
17099 shlibpath_overrides_runpath
=yes
17100 shlibpath_var
=DYLD_LIBRARY_PATH
17101 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
17102 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17103 if test "$GCC" = yes; then
17104 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"`
17106 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17108 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17116 soname_spec
='${libname}${release}${shared_ext}$major'
17117 shlibpath_var
=LD_LIBRARY_PATH
17128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17129 soname_spec
='${libname}${release}${shared_ext}$major'
17130 shlibpath_var
=LD_LIBRARY_PATH
17131 shlibpath_overrides_runpath
=no
17132 hardcode_into_libs
=yes
17133 dynamic_linker
='GNU ld.so'
17137 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
17138 version_type
=freebsd-
$objformat
17139 case $version_type in
17141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17146 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17150 shlibpath_var
=LD_LIBRARY_PATH
17153 shlibpath_overrides_runpath
=yes
17155 freebsd3.01
* | freebsdelf3.01
*)
17156 shlibpath_overrides_runpath
=yes
17157 hardcode_into_libs
=yes
17160 shlibpath_overrides_runpath
=no
17161 hardcode_into_libs
=yes
17170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17171 soname_spec
='${libname}${release}${shared_ext}$major'
17172 shlibpath_var
=LD_LIBRARY_PATH
17173 hardcode_into_libs
=yes
17176 hpux9
* | hpux10
* | hpux11
*)
17177 # Give a soname corresponding to the major version so that dld.sl refuses to
17178 # link against other versions.
17182 case "$host_cpu" in
17185 hardcode_into_libs
=yes
17186 dynamic_linker
="$host_os dld.so"
17187 shlibpath_var
=LD_LIBRARY_PATH
17188 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17190 soname_spec
='${libname}${release}${shared_ext}$major'
17191 if test "X$HPUX_IA64_MODE" = X32
; then
17192 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17194 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17196 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17200 hardcode_into_libs
=yes
17201 dynamic_linker
="$host_os dld.sl"
17202 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17203 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17205 soname_spec
='${libname}${release}${shared_ext}$major'
17206 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17207 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17211 dynamic_linker
="$host_os dld.sl"
17212 shlibpath_var
=SHLIB_PATH
17213 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17214 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17215 soname_spec
='${libname}${release}${shared_ext}$major'
17218 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17219 postinstall_cmds
='chmod 555 $lib'
17222 irix5
* | irix6
* | nonstopux
*)
17224 nonstopux
*) version_type
=nonstopux
;;
17226 if test "$lt_cv_prog_gnu_ld" = yes; then
17234 soname_spec
='${libname}${release}${shared_ext}$major'
17235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17237 irix5
* | nonstopux
*)
17238 libsuff
= shlibsuff
=
17241 case $LD in # libtool.m4 will add one of these switches to LD
17242 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17243 libsuff
= shlibsuff
= libmagic
=32-bit;;
17244 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17245 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17246 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17247 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17248 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17252 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17253 shlibpath_overrides_runpath
=no
17254 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17255 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17256 hardcode_into_libs
=yes
17259 # No shared lib support for Linux oldld, aout, or coff.
17260 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17264 # This must be Linux ELF.
17269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17270 soname_spec
='${libname}${release}${shared_ext}$major'
17271 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17272 shlibpath_var
=LD_LIBRARY_PATH
17273 shlibpath_overrides_runpath
=no
17274 # This implies no fast_install, which is unacceptable.
17275 # Some rework will be needed to allow for fast_install
17276 # before this can be enabled.
17277 hardcode_into_libs
=yes
17279 # We used to test for /lib/ld.so.1 and disable shared libraries on
17280 # powerpc, because MkLinux only supported shared libraries with the
17281 # GNU dynamic linker. Since this was broken with cross compilers,
17282 # most powerpc-linux boxes support dynamic linking these days and
17283 # people can always --disable-shared, the test was removed, and we
17284 # assume the GNU/Linux dynamic linker is in use.
17285 dynamic_linker
='GNU/Linux ld.so'
17292 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17294 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17295 dynamic_linker
='NetBSD (a.out) ld.so'
17297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
17298 soname_spec
='${libname}${release}${shared_ext}$major'
17299 dynamic_linker
='NetBSD ld.elf_so'
17301 shlibpath_var
=LD_LIBRARY_PATH
17302 shlibpath_overrides_runpath
=yes
17303 hardcode_into_libs
=yes
17308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17309 shlibpath_var
=LD_LIBRARY_PATH
17310 shlibpath_overrides_runpath
=yes
17317 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17318 soname_spec
='${libname}${release}${shared_ext}$major'
17319 shlibpath_var
=LD_LIBRARY_PATH
17320 shlibpath_overrides_runpath
=yes
17327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17328 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17329 shlibpath_var
=LD_LIBRARY_PATH
17330 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17332 openbsd2.
[89] | openbsd2.
[89].
*)
17333 shlibpath_overrides_runpath
=no
17336 shlibpath_overrides_runpath
=yes
17340 shlibpath_overrides_runpath
=yes
17345 libname_spec
='$name'
17348 library_names_spec
='$libname${shared_ext} $libname.a'
17349 dynamic_linker
='OS/2 ld.exe'
17350 shlibpath_var
=LIBPATH
17353 osf3
* | osf4
* | osf5
*)
17357 soname_spec
='${libname}${release}${shared_ext}$major'
17358 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17359 shlibpath_var
=LD_LIBRARY_PATH
17360 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17361 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17366 soname_spec
='${libname}${release}${shared_ext}$major'
17367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17368 shlibpath_var
=LD_LIBRARY_PATH
17375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17376 soname_spec
='${libname}${release}${shared_ext}$major'
17377 shlibpath_var
=LD_LIBRARY_PATH
17378 shlibpath_overrides_runpath
=yes
17379 hardcode_into_libs
=yes
17380 # ldd complains unless libraries are executable
17381 postinstall_cmds
='chmod +x $lib'
17386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17387 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17388 shlibpath_var
=LD_LIBRARY_PATH
17389 shlibpath_overrides_runpath
=yes
17390 if test "$with_gnu_ld" = yes; then
17396 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17399 soname_spec
='${libname}${release}${shared_ext}$major'
17400 shlibpath_var
=LD_LIBRARY_PATH
17401 case $host_vendor in
17403 shlibpath_overrides_runpath
=no
17405 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17406 runpath_var
=LD_RUN_PATH
17414 shlibpath_overrides_runpath
=no
17415 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17421 if test -d /usr
/nec
;then
17423 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17424 soname_spec
='$libname${shared_ext}.$major'
17425 shlibpath_var
=LD_LIBRARY_PATH
17431 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17432 soname_spec
='${libname}${release}${shared_ext}$major'
17433 shlibpath_var
=LD_LIBRARY_PATH
17440 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17441 echo "${ECHO_T}$dynamic_linker" >&6; }
17442 test "$dynamic_linker" = no
&& can_build_shared
=no
17444 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17445 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17446 hardcode_action_GCJ
=
17447 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17448 test -n "$runpath_var GCJ" || \
17449 test "X$hardcode_automatic_GCJ"="Xyes" ; then
17451 # We can hardcode non-existant directories.
17452 if test "$hardcode_direct_GCJ" != no
&&
17453 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17454 # have to relink, otherwise we might link with an installed library
17455 # when we should be linking with a yet-to-be-installed one
17456 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17457 test "$hardcode_minus_L_GCJ" != no
; then
17458 # Linking always hardcodes the temporary library directory.
17459 hardcode_action_GCJ
=relink
17461 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17462 hardcode_action_GCJ
=immediate
17465 # We cannot hardcode anything, or else we can only hardcode existing
17467 hardcode_action_GCJ
=unsupported
17469 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17470 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
17472 if test "$hardcode_action_GCJ" = relink
; then
17473 # Fast installation is not supported
17474 enable_fast_install
=no
17475 elif test "$shlibpath_overrides_runpath" = yes ||
17476 test "$enable_shared" = no
; then
17477 # Fast installation is not necessary
17478 enable_fast_install
=needless
17483 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17484 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
17485 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
17486 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
17487 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
17488 { echo "$as_me:$LINENO: result: yes" >&5
17489 echo "${ECHO_T}yes" >&6; }
17491 # FIXME - insert some real tests, host_os isn't really good enough
17494 if test -n "$STRIP" ; then
17495 striplib
="$STRIP -x"
17496 { echo "$as_me:$LINENO: result: yes" >&5
17497 echo "${ECHO_T}yes" >&6; }
17499 { echo "$as_me:$LINENO: result: no" >&5
17500 echo "${ECHO_T}no" >&6; }
17504 { echo "$as_me:$LINENO: result: no" >&5
17505 echo "${ECHO_T}no" >&6; }
17510 if test "x$enable_dlopen" != xyes
; then
17511 enable_dlopen
=unknown
17512 enable_dlopen_self
=unknown
17513 enable_dlopen_self_static
=unknown
17520 lt_cv_dlopen
="load_add_on"
17522 lt_cv_dlopen_self
=yes
17526 lt_cv_dlopen
="LoadLibrary"
17531 lt_cv_dlopen
="dlopen"
17536 # if libdl is installed we need to link against it
17537 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17538 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17539 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17540 echo $ECHO_N "(cached) $ECHO_C" >&6
17542 ac_check_lib_save_LIBS
=$LIBS
17544 cat >conftest.
$ac_ext <<_ACEOF
17547 cat confdefs.h
>>conftest.
$ac_ext
17548 cat >>conftest.
$ac_ext <<_ACEOF
17549 /* end confdefs.h. */
17551 /* Override any GCC internal prototype to avoid an error.
17552 Use char because int might match the return type of a GCC
17553 builtin and then its argument prototype would still apply. */
17566 rm -f conftest.
$ac_objext conftest
$ac_exeext
17567 if { (ac_try
="$ac_link"
17568 case "(($ac_try" in
17569 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17570 *) ac_try_echo=$ac_try;;
17572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17573 (eval "$ac_link") 2>conftest.er1
17575 grep -v '^ *+' conftest.er1 >conftest.err
17577 cat conftest.err >&5
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); } && {
17580 test -z "$ac_c_werror_flag" ||
17581 test ! -s conftest.err
17582 } && test -s conftest$ac_exeext &&
17583 $as_test_x conftest$ac_exeext; then
17584 ac_cv_lib_dl_dlopen=yes
17586 echo "$as_me: failed program was:" >&5
17587 sed 's/^/| /' conftest.$ac_ext >&5
17589 ac_cv_lib_dl_dlopen=no
17592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17593 conftest$ac_exeext conftest.$ac_ext
17594 LIBS=$ac_check_lib_save_LIBS
17596 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17597 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17598 if test $ac_cv_lib_dl_dlopen = yes; then
17599 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17602 lt_cv_dlopen="dyld"
17604 lt_cv_dlopen_self=yes
17611 { echo "$as_me:$LINENO: checking for shl_load" >&5
17612 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
17613 if test "${ac_cv_func_shl_load+set}" = set; then
17614 echo $ECHO_N "(cached) $ECHO_C" >&6
17616 cat >conftest.$ac_ext <<_ACEOF
17619 cat confdefs.h >>conftest.$ac_ext
17620 cat >>conftest.$ac_ext <<_ACEOF
17621 /* end confdefs.h. */
17622 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17624 #define shl_load innocuous_shl_load
17626 /* System header to define __stub macros and hopefully few prototypes,
17627 which can conflict with char shl_load (); below.
17628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17629 <limits.h> exists even on freestanding compilers. */
17632 # include <limits.h>
17634 # include <assert.h>
17639 /* Override any GCC internal prototype to avoid an error.
17640 Use char because int might match the return type of a GCC
17641 builtin and then its argument prototype would still apply. */
17646 /* The GNU C library defines this for functions which it implements
17647 to always fail with ENOSYS. Some functions are actually named
17648 something starting with __ and the normal name is an alias. */
17649 #if defined __stub_shl_load || defined __stub___shl_load
17656 return shl_load ();
17661 rm -f conftest.$ac_objext conftest$ac_exeext
17662 if { (ac_try="$ac_link"
17663 case "(($ac_try" in
17664 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17665 *) ac_try_echo
=$ac_try;;
17667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17668 (eval "$ac_link") 2>conftest.er1
17670 grep -v '^ *+' conftest.er1
>conftest.err
17672 cat conftest.err
>&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); } && {
17675 test -z "$ac_c_werror_flag" ||
17676 test ! -s conftest.err
17677 } && test -s conftest
$ac_exeext &&
17678 $as_test_x conftest
$ac_exeext; then
17679 ac_cv_func_shl_load
=yes
17681 echo "$as_me: failed program was:" >&5
17682 sed 's/^/| /' conftest.
$ac_ext >&5
17684 ac_cv_func_shl_load
=no
17687 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17688 conftest
$ac_exeext conftest.
$ac_ext
17690 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17691 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
17692 if test $ac_cv_func_shl_load = yes; then
17693 lt_cv_dlopen
="shl_load"
17695 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17696 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
17697 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17698 echo $ECHO_N "(cached) $ECHO_C" >&6
17700 ac_check_lib_save_LIBS
=$LIBS
17702 cat >conftest.
$ac_ext <<_ACEOF
17705 cat confdefs.h
>>conftest.
$ac_ext
17706 cat >>conftest.
$ac_ext <<_ACEOF
17707 /* end confdefs.h. */
17709 /* Override any GCC internal prototype to avoid an error.
17710 Use char because int might match the return type of a GCC
17711 builtin and then its argument prototype would still apply. */
17719 return shl_load ();
17724 rm -f conftest.
$ac_objext conftest
$ac_exeext
17725 if { (ac_try
="$ac_link"
17726 case "(($ac_try" in
17727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17728 *) ac_try_echo=$ac_try;;
17730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17731 (eval "$ac_link") 2>conftest.er1
17733 grep -v '^ *+' conftest.er1 >conftest.err
17735 cat conftest.err >&5
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); } && {
17738 test -z "$ac_c_werror_flag" ||
17739 test ! -s conftest.err
17740 } && test -s conftest$ac_exeext &&
17741 $as_test_x conftest$ac_exeext; then
17742 ac_cv_lib_dld_shl_load=yes
17744 echo "$as_me: failed program was:" >&5
17745 sed 's/^/| /' conftest.$ac_ext >&5
17747 ac_cv_lib_dld_shl_load=no
17750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17751 conftest$ac_exeext conftest.$ac_ext
17752 LIBS=$ac_check_lib_save_LIBS
17754 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17755 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
17756 if test $ac_cv_lib_dld_shl_load = yes; then
17757 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17759 { echo "$as_me:$LINENO: checking for dlopen" >&5
17760 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
17761 if test "${ac_cv_func_dlopen+set}" = set; then
17762 echo $ECHO_N "(cached) $ECHO_C" >&6
17764 cat >conftest.$ac_ext <<_ACEOF
17767 cat confdefs.h >>conftest.$ac_ext
17768 cat >>conftest.$ac_ext <<_ACEOF
17769 /* end confdefs.h. */
17770 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17772 #define dlopen innocuous_dlopen
17774 /* System header to define __stub macros and hopefully few prototypes,
17775 which can conflict with char dlopen (); below.
17776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17777 <limits.h> exists even on freestanding compilers. */
17780 # include <limits.h>
17782 # include <assert.h>
17787 /* Override any GCC internal prototype to avoid an error.
17788 Use char because int might match the return type of a GCC
17789 builtin and then its argument prototype would still apply. */
17794 /* The GNU C library defines this for functions which it implements
17795 to always fail with ENOSYS. Some functions are actually named
17796 something starting with __ and the normal name is an alias. */
17797 #if defined __stub_dlopen || defined __stub___dlopen
17809 rm -f conftest.$ac_objext conftest$ac_exeext
17810 if { (ac_try="$ac_link"
17811 case "(($ac_try" in
17812 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17813 *) ac_try_echo
=$ac_try;;
17815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17816 (eval "$ac_link") 2>conftest.er1
17818 grep -v '^ *+' conftest.er1
>conftest.err
17820 cat conftest.err
>&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); } && {
17823 test -z "$ac_c_werror_flag" ||
17824 test ! -s conftest.err
17825 } && test -s conftest
$ac_exeext &&
17826 $as_test_x conftest
$ac_exeext; then
17827 ac_cv_func_dlopen
=yes
17829 echo "$as_me: failed program was:" >&5
17830 sed 's/^/| /' conftest.
$ac_ext >&5
17832 ac_cv_func_dlopen
=no
17835 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17836 conftest
$ac_exeext conftest.
$ac_ext
17838 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17839 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
17840 if test $ac_cv_func_dlopen = yes; then
17841 lt_cv_dlopen
="dlopen"
17843 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17844 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17845 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17846 echo $ECHO_N "(cached) $ECHO_C" >&6
17848 ac_check_lib_save_LIBS
=$LIBS
17850 cat >conftest.
$ac_ext <<_ACEOF
17853 cat confdefs.h
>>conftest.
$ac_ext
17854 cat >>conftest.
$ac_ext <<_ACEOF
17855 /* end confdefs.h. */
17857 /* Override any GCC internal prototype to avoid an error.
17858 Use char because int might match the return type of a GCC
17859 builtin and then its argument prototype would still apply. */
17872 rm -f conftest.
$ac_objext conftest
$ac_exeext
17873 if { (ac_try
="$ac_link"
17874 case "(($ac_try" in
17875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17876 *) ac_try_echo=$ac_try;;
17878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17879 (eval "$ac_link") 2>conftest.er1
17881 grep -v '^ *+' conftest.er1 >conftest.err
17883 cat conftest.err >&5
17884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885 (exit $ac_status); } && {
17886 test -z "$ac_c_werror_flag" ||
17887 test ! -s conftest.err
17888 } && test -s conftest$ac_exeext &&
17889 $as_test_x conftest$ac_exeext; then
17890 ac_cv_lib_dl_dlopen=yes
17892 echo "$as_me: failed program was:" >&5
17893 sed 's/^/| /' conftest.$ac_ext >&5
17895 ac_cv_lib_dl_dlopen=no
17898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17899 conftest$ac_exeext conftest.$ac_ext
17900 LIBS=$ac_check_lib_save_LIBS
17902 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17903 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17904 if test $ac_cv_lib_dl_dlopen = yes; then
17905 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17907 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17908 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
17909 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17910 echo $ECHO_N "(cached) $ECHO_C" >&6
17912 ac_check_lib_save_LIBS=$LIBS
17913 LIBS="-lsvld $LIBS"
17914 cat >conftest.$ac_ext <<_ACEOF
17917 cat confdefs.h >>conftest.$ac_ext
17918 cat >>conftest.$ac_ext <<_ACEOF
17919 /* end confdefs.h. */
17921 /* Override any GCC internal prototype to avoid an error.
17922 Use char because int might match the return type of a GCC
17923 builtin and then its argument prototype would still apply. */
17936 rm -f conftest.$ac_objext conftest$ac_exeext
17937 if { (ac_try="$ac_link"
17938 case "(($ac_try" in
17939 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17940 *) ac_try_echo
=$ac_try;;
17942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17943 (eval "$ac_link") 2>conftest.er1
17945 grep -v '^ *+' conftest.er1
>conftest.err
17947 cat conftest.err
>&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); } && {
17950 test -z "$ac_c_werror_flag" ||
17951 test ! -s conftest.err
17952 } && test -s conftest
$ac_exeext &&
17953 $as_test_x conftest
$ac_exeext; then
17954 ac_cv_lib_svld_dlopen
=yes
17956 echo "$as_me: failed program was:" >&5
17957 sed 's/^/| /' conftest.
$ac_ext >&5
17959 ac_cv_lib_svld_dlopen
=no
17962 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17963 conftest
$ac_exeext conftest.
$ac_ext
17964 LIBS
=$ac_check_lib_save_LIBS
17966 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17967 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
17968 if test $ac_cv_lib_svld_dlopen = yes; then
17969 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
17971 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17972 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
17973 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17974 echo $ECHO_N "(cached) $ECHO_C" >&6
17976 ac_check_lib_save_LIBS
=$LIBS
17978 cat >conftest.
$ac_ext <<_ACEOF
17981 cat confdefs.h
>>conftest.
$ac_ext
17982 cat >>conftest.
$ac_ext <<_ACEOF
17983 /* end confdefs.h. */
17985 /* Override any GCC internal prototype to avoid an error.
17986 Use char because int might match the return type of a GCC
17987 builtin and then its argument prototype would still apply. */
17995 return dld_link ();
18000 rm -f conftest.
$ac_objext conftest
$ac_exeext
18001 if { (ac_try
="$ac_link"
18002 case "(($ac_try" in
18003 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18004 *) ac_try_echo=$ac_try;;
18006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18007 (eval "$ac_link") 2>conftest.er1
18009 grep -v '^ *+' conftest.er1 >conftest.err
18011 cat conftest.err >&5
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); } && {
18014 test -z "$ac_c_werror_flag" ||
18015 test ! -s conftest.err
18016 } && test -s conftest$ac_exeext &&
18017 $as_test_x conftest$ac_exeext; then
18018 ac_cv_lib_dld_dld_link=yes
18020 echo "$as_me: failed program was:" >&5
18021 sed 's/^/| /' conftest.$ac_ext >&5
18023 ac_cv_lib_dld_dld_link=no
18026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18027 conftest$ac_exeext conftest.$ac_ext
18028 LIBS=$ac_check_lib_save_LIBS
18030 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18031 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
18032 if test $ac_cv_lib_dld_dld_link = yes; then
18033 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18054 if test "x$lt_cv_dlopen" != xno; then
18060 case $lt_cv_dlopen in
18062 save_CPPFLAGS="$CPPFLAGS"
18063 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18065 save_LDFLAGS="$LDFLAGS"
18066 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18069 LIBS="$lt_cv_dlopen_libs $LIBS"
18071 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18072 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
18073 if test "${lt_cv_dlopen_self+set}" = set; then
18074 echo $ECHO_N "(cached) $ECHO_C" >&6
18076 if test "$cross_compiling" = yes; then :
18077 lt_cv_dlopen_self=cross
18079 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18080 lt_status=$lt_dlunknown
18081 cat > conftest.$ac_ext <<EOF
18082 #line 18082 "configure"
18083 #include "confdefs.h"
18092 # define LT_DLGLOBAL RTLD_GLOBAL
18095 # define LT_DLGLOBAL DL_GLOBAL
18097 # define LT_DLGLOBAL 0
18101 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18102 find out it does not work in some platform. */
18103 #ifndef LT_DLLAZY_OR_NOW
18105 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18108 # define LT_DLLAZY_OR_NOW DL_LAZY
18111 # define LT_DLLAZY_OR_NOW RTLD_NOW
18114 # define LT_DLLAZY_OR_NOW DL_NOW
18116 # define LT_DLLAZY_OR_NOW 0
18124 extern "C" void exit (int);
18127 void fnord() { int i=42;}
18130 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18131 int status = $lt_dlunknown;
18135 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18136 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18137 /* dlclose (self); */
18143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18144 (eval $ac_link) 2>&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18148 (./conftest; exit; ) 2>/dev/null
18150 case x$lt_status in
18151 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18152 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
18153 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
18156 # compilation failed
18157 lt_cv_dlopen_self=no
18164 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18165 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
18167 if test "x$lt_cv_dlopen_self" = xyes; then
18168 LDFLAGS="$LDFLAGS $link_static_flag"
18169 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18170 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
18171 if test "${lt_cv_dlopen_self_static+set}" = set; then
18172 echo $ECHO_N "(cached) $ECHO_C" >&6
18174 if test "$cross_compiling" = yes; then :
18175 lt_cv_dlopen_self_static=cross
18177 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18178 lt_status=$lt_dlunknown
18179 cat > conftest.$ac_ext <<EOF
18180 #line 18180 "configure"
18181 #include "confdefs.h"
18190 # define LT_DLGLOBAL RTLD_GLOBAL
18193 # define LT_DLGLOBAL DL_GLOBAL
18195 # define LT_DLGLOBAL 0
18199 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18200 find out it does not work in some platform. */
18201 #ifndef LT_DLLAZY_OR_NOW
18203 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18206 # define LT_DLLAZY_OR_NOW DL_LAZY
18209 # define LT_DLLAZY_OR_NOW RTLD_NOW
18212 # define LT_DLLAZY_OR_NOW DL_NOW
18214 # define LT_DLLAZY_OR_NOW 0
18222 extern "C" void exit (int);
18225 void fnord() { int i=42;}
18228 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18229 int status = $lt_dlunknown;
18233 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18234 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18235 /* dlclose (self); */
18241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18242 (eval $ac_link) 2>&5
18244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18245 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18246 (./conftest; exit; ) 2>/dev/null
18248 case x$lt_status in
18249 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
18250 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
18251 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
18254 # compilation failed
18255 lt_cv_dlopen_self_static=no
18262 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18263 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
18266 CPPFLAGS="$save_CPPFLAGS"
18267 LDFLAGS="$save_LDFLAGS"
18272 case $lt_cv_dlopen_self in
18273 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
18274 *) enable_dlopen_self=unknown ;;
18277 case $lt_cv_dlopen_self_static in
18278 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
18279 *) enable_dlopen_self_static=unknown ;;
18284 # The else clause should only fire when bootstrapping the
18285 # libtool distribution, otherwise you forgot to ship ltmain.sh
18286 # with your package, and you will get complaints that there are
18287 # no rules to generate ltmain.sh.
18288 if test -f "$ltmain"; then
18289 # See if we are running on zsh, and set the options which allow our commands through
18290 # without removal of \ escapes.
18291 if test -n "${ZSH_VERSION+set}" ; then
18292 setopt NO_GLOB_SUBST
18294 # Now quote all the things that may contain metacharacters while being
18295 # careful not to overquote the AC_SUBSTed values. We take copies of the
18296 # variables and quote the copies for generation of the libtool script.
18297 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18298 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18299 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18300 deplibs_check_method reload_flag reload_cmds need_locks \
18301 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18302 lt_cv_sys_global_symbol_to_c_name_address \
18303 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18304 old_postinstall_cmds old_postuninstall_cmds \
18308 lt_prog_compiler_wl_GCJ \
18309 lt_prog_compiler_pic_GCJ \
18310 lt_prog_compiler_static_GCJ \
18311 lt_prog_compiler_no_builtin_flag_GCJ \
18312 export_dynamic_flag_spec_GCJ \
18313 thread_safe_flag_spec_GCJ \
18314 whole_archive_flag_spec_GCJ \
18315 enable_shared_with_static_runtimes_GCJ \
18316 old_archive_cmds_GCJ \
18317 old_archive_from_new_cmds_GCJ \
18318 predep_objects_GCJ \
18319 postdep_objects_GCJ \
18322 compiler_lib_search_path_GCJ \
18324 archive_expsym_cmds_GCJ \
18325 postinstall_cmds_GCJ \
18326 postuninstall_cmds_GCJ \
18327 old_archive_from_expsyms_cmds_GCJ \
18328 allow_undefined_flag_GCJ \
18329 no_undefined_flag_GCJ \
18330 export_symbols_cmds_GCJ \
18331 hardcode_libdir_flag_spec_GCJ \
18332 hardcode_libdir_flag_spec_ld_GCJ \
18333 hardcode_libdir_separator_GCJ \
18334 hardcode_automatic_GCJ \
18336 module_expsym_cmds_GCJ \
18337 lt_cv_prog_compiler_c_o_GCJ \
18338 exclude_expsyms_GCJ \
18339 include_expsyms_GCJ; do
18342 old_archive_cmds_GCJ | \
18343 old_archive_from_new_cmds_GCJ | \
18344 archive_cmds_GCJ | \
18345 archive_expsym_cmds_GCJ | \
18346 module_cmds_GCJ | \
18347 module_expsym_cmds_GCJ | \
18348 old_archive_from_expsyms_cmds_GCJ | \
18349 export_symbols_cmds_GCJ | \
18350 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18351 postinstall_cmds | postuninstall_cmds | \
18352 old_postinstall_cmds | old_postuninstall_cmds | \
18353 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18354 # Double-quote double-evaled strings.
18355 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
18358 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
18364 *'\$0 --fallback-echo"')
18365 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18371 cat <<__EOF__ >> "$cfgfile"
18372 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18374 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
18376 # Shell to use when invoking shell scripts.
18379 # Whether or not to build shared libraries.
18380 build_libtool_libs=$enable_shared
18382 # Whether or not to build static libraries.
18383 build_old_libs=$enable_static
18385 # Whether or not to add -lc for building shared libraries.
18386 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18388 # Whether or not to disallow shared libs when runtime libs are static
18389 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18391 # Whether or not to optimize for fast installation.
18392 fast_install=$enable_fast_install
18395 host_alias=$host_alias
18398 # An echo program that does not interpret backslashes.
18403 AR_FLAGS=$lt_AR_FLAGS
18408 # A language-specific compiler.
18409 CC=$lt_compiler_GCJ
18411 # Is the compiler the GNU C compiler?
18417 # The linker used to build libraries.
18420 # Whether we need hard or soft links.
18423 # A BSD-compatible nm program.
18426 # A symbol stripping program
18429 # Used to examine libraries when file_magic_cmd begins "file"
18430 MAGIC_CMD=$MAGIC_CMD
18432 # Used on cygwin: DLL creation program.
18435 # Used on cygwin: object dumper.
18438 # Used on cygwin: assembler.
18441 # The name of the directory that contains temporary libtool files.
18444 # How to create reloadable object files.
18445 reload_flag=$lt_reload_flag
18446 reload_cmds=$lt_reload_cmds
18448 # How to pass a linker flag through the compiler.
18449 wl=$lt_lt_prog_compiler_wl_GCJ
18451 # Object file suffix (normally "o").
18452 objext="$ac_objext"
18454 # Old archive suffix (normally "a").
18457 # Shared library suffix (normally ".so").
18460 # Executable file suffix (normally "").
18463 # Additional compiler flags for building library objects.
18464 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18467 # What is the maximum length of a command?
18468 max_cmd_len=$lt_cv_sys_max_cmd_len
18470 # Does compiler simultaneously support -c and -o options?
18471 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18473 # Must we lock files when doing compilation ?
18474 need_locks=$lt_need_locks
18476 # Do we need the lib prefix for modules?
18477 need_lib_prefix=$need_lib_prefix
18479 # Do we need a version for libraries?
18480 need_version=$need_version
18482 # Whether dlopen is supported.
18483 dlopen_support=$enable_dlopen
18485 # Whether dlopen of programs is supported.
18486 dlopen_self=$enable_dlopen_self
18488 # Whether dlopen of statically linked programs is supported.
18489 dlopen_self_static=$enable_dlopen_self_static
18491 # Compiler flag to prevent dynamic linking.
18492 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18494 # Compiler flag to turn off builtin functions.
18495 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18497 # Compiler flag to allow reflexive dlopens.
18498 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18500 # Compiler flag to generate shared objects directly from archives.
18501 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18503 # Compiler flag to generate thread-safe objects.
18504 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18506 # Library versioning type.
18507 version_type=$version_type
18509 # Format of library name prefix.
18510 libname_spec=$lt_libname_spec
18512 # List of archive names. First name is the real one, the rest are links.
18513 # The last name is the one that the linker finds with -lNAME.
18514 library_names_spec=$lt_library_names_spec
18516 # The coded name of the library, if different from the real name.
18517 soname_spec=$lt_soname_spec
18519 # Commands used to build and install an old-style archive.
18521 old_archive_cmds=$lt_old_archive_cmds_GCJ
18522 old_postinstall_cmds=$lt_old_postinstall_cmds
18523 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18525 # Create an old-style archive from a shared archive.
18526 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18528 # Create a temporary old-style archive to link instead of a shared archive.
18529 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18531 # Commands used to build and install a shared archive.
18532 archive_cmds=$lt_archive_cmds_GCJ
18533 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18534 postinstall_cmds=$lt_postinstall_cmds
18535 postuninstall_cmds=$lt_postuninstall_cmds
18537 # Commands used to build a loadable module (assumed same as above if empty)
18538 module_cmds=$lt_module_cmds_GCJ
18539 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18541 # Commands to strip libraries.
18542 old_striplib=$lt_old_striplib
18543 striplib=$lt_striplib
18545 # Dependencies to place before the objects being linked to create a
18547 predep_objects=$lt_predep_objects_GCJ
18549 # Dependencies to place after the objects being linked to create a
18551 postdep_objects=$lt_postdep_objects_GCJ
18553 # Dependencies to place before the objects being linked to create a
18555 predeps=$lt_predeps_GCJ
18557 # Dependencies to place after the objects being linked to create a
18559 postdeps=$lt_postdeps_GCJ
18561 # The library search path used internally by the compiler when linking
18562 # a shared library.
18563 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18565 # Method to check whether dependent libraries are shared objects.
18566 deplibs_check_method=$lt_deplibs_check_method
18568 # Command to use when deplibs_check_method == file_magic.
18569 file_magic_cmd=$lt_file_magic_cmd
18571 # Flag that allows shared libraries with undefined symbols to be built.
18572 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18574 # Flag that forces no undefined symbols.
18575 no_undefined_flag=$lt_no_undefined_flag_GCJ
18577 # Commands used to finish a libtool library installation in a directory.
18578 finish_cmds=$lt_finish_cmds
18580 # Same as above, but a single script fragment to be evaled but not shown.
18581 finish_eval=$lt_finish_eval
18583 # Take the output of nm and produce a listing of raw symbols and C names.
18584 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18586 # Transform the output of nm in a proper C declaration
18587 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18589 # Transform the output of nm in a C name address pair
18590 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18592 # This is the shared library runtime path variable.
18593 runpath_var=$runpath_var
18595 # This is the shared library path variable.
18596 shlibpath_var=$shlibpath_var
18598 # Is shlibpath searched before the hard-coded library search path?
18599 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18601 # How to hardcode a shared library path into an executable.
18602 hardcode_action=$hardcode_action_GCJ
18604 # Whether we should hardcode library paths into libraries.
18605 hardcode_into_libs=$hardcode_into_libs
18607 # Flag to hardcode \$libdir into a binary during linking.
18608 # This must work even if \$libdir does not exist.
18609 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18611 # If ld is used when linking, flag to hardcode \$libdir into
18612 # a binary during linking. This must work even if \$libdir does
18614 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18616 # Whether we need a single -rpath flag with a separated argument.
18617 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18619 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18620 # resulting binary.
18621 hardcode_direct=$hardcode_direct_GCJ
18623 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18624 # resulting binary.
18625 hardcode_minus_L=$hardcode_minus_L_GCJ
18627 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18628 # the resulting binary.
18629 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18631 # Set to yes if building a shared library automatically hardcodes DIR into the library
18632 # and all subsequent libraries and executables linked against it.
18633 hardcode_automatic=$hardcode_automatic_GCJ
18635 # Variables whose values should be saved in libtool wrapper scripts and
18636 # restored at relink time.
18637 variables_saved_for_relink="$variables_saved_for_relink"
18639 # Whether libtool must link a program against all its dependency libraries.
18640 link_all_deplibs=$link_all_deplibs_GCJ
18642 # Compile-time system search path for libraries
18643 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18645 # Run-time system search path for libraries
18646 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18648 # Fix the shell variable \$srcfile for the compiler.
18649 fix_srcfile_path="$fix_srcfile_path_GCJ"
18651 # Set to yes if exported symbols are required.
18652 always_export_symbols=$always_export_symbols_GCJ
18654 # The commands to list exported symbols.
18655 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18657 # The commands to extract the exported symbol list from a shared archive.
18658 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18660 # Symbols that should not be listed in the preloaded symbols.
18661 exclude_expsyms=$lt_exclude_expsyms_GCJ
18663 # Symbols that must always be exported.
18664 include_expsyms=$lt_include_expsyms_GCJ
18666 # ### END LIBTOOL TAG CONFIG: $tagname
18672 # If there is no Makefile yet, we rely on a make rule to execute
18673 # `config.status
--recheck' to rerun these tests and create the
18674 # libtool script then.
18675 test -f Makefile && make "$ltmain"
18680 ac_cpp='$CPP $CPPFLAGS'
18681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18682 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18695 # Source file extension for RC test sources.
18698 # Object file extension for compiled RC test sources.
18702 # Code to be used in simple compile tests
18703 lt_simple_compile_test_code='sample MENU
{ MENUITEM
"&Soup", 100, CHECKED
}\n'
18705 # Code to be used in simple link tests
18706 lt_simple_link_test_code="$lt_simple_compile_test_code"
18708 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18710 # If no C compiler was specified, use CC.
18713 # Allow CC to be a program name with arguments.
18717 # Allow CC to be a program name with arguments.
18722 lt_cv_prog_compiler_c_o_RC=yes
18724 # The else clause should only fire when bootstrapping the
18725 # libtool distribution, otherwise you forgot to ship ltmain.sh
18726 # with your package, and you will get complaints that there are
18727 # no rules to generate ltmain.sh.
18728 if test -f "$ltmain"; then
18729 # See if we are running on zsh, and set the options which allow our commands through
18730 # without removal of \ escapes.
18731 if test -n "${ZSH_VERSION+set}" ; then
18732 setopt NO_GLOB_SUBST
18734 # Now quote all the things that may contain metacharacters while being
18735 # careful not to overquote the AC_SUBSTed values. We take copies of the
18736 # variables and quote the copies for generation of the libtool script.
18737 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18738 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18739 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18740 deplibs_check_method reload_flag reload_cmds need_locks \
18741 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18742 lt_cv_sys_global_symbol_to_c_name_address \
18743 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18744 old_postinstall_cmds old_postuninstall_cmds \
18748 lt_prog_compiler_wl_RC \
18749 lt_prog_compiler_pic_RC \
18750 lt_prog_compiler_static_RC \
18751 lt_prog_compiler_no_builtin_flag_RC \
18752 export_dynamic_flag_spec_RC \
18753 thread_safe_flag_spec_RC \
18754 whole_archive_flag_spec_RC \
18755 enable_shared_with_static_runtimes_RC \
18756 old_archive_cmds_RC \
18757 old_archive_from_new_cmds_RC \
18758 predep_objects_RC \
18759 postdep_objects_RC \
18762 compiler_lib_search_path_RC \
18764 archive_expsym_cmds_RC \
18765 postinstall_cmds_RC \
18766 postuninstall_cmds_RC \
18767 old_archive_from_expsyms_cmds_RC \
18768 allow_undefined_flag_RC \
18769 no_undefined_flag_RC \
18770 export_symbols_cmds_RC \
18771 hardcode_libdir_flag_spec_RC \
18772 hardcode_libdir_flag_spec_ld_RC \
18773 hardcode_libdir_separator_RC \
18774 hardcode_automatic_RC \
18776 module_expsym_cmds_RC \
18777 lt_cv_prog_compiler_c_o_RC \
18778 exclude_expsyms_RC \
18779 include_expsyms_RC; do
18782 old_archive_cmds_RC | \
18783 old_archive_from_new_cmds_RC | \
18784 archive_cmds_RC | \
18785 archive_expsym_cmds_RC | \
18787 module_expsym_cmds_RC | \
18788 old_archive_from_expsyms_cmds_RC | \
18789 export_symbols_cmds_RC | \
18790 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18791 postinstall_cmds | postuninstall_cmds | \
18792 old_postinstall_cmds | old_postuninstall_cmds | \
18793 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18794 # Double-quote double-evaled strings.
18795 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18798 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18804 *'\
$0 --fallback-echo"')
18805 lt_echo=`$echo "X
$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$
/$0 --fallback-echo"/'`
18811 cat <<__EOF__ >> "$cfgfile"
18812 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18814 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18816 # Shell to use when invoking shell scripts.
18819 # Whether or not to build shared libraries.
18820 build_libtool_libs=$enable_shared
18822 # Whether or not to build static libraries.
18823 build_old_libs=$enable_static
18825 # Whether or not to add -lc for building shared libraries.
18826 build_libtool_need_lc=$archive_cmds_need_lc_RC
18828 # Whether or not to disallow shared libs when runtime libs are static
18829 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18831 # Whether or not to optimize for fast installation.
18832 fast_install=$enable_fast_install
18835 host_alias=$host_alias
18838 # An echo program that does not interpret backslashes.
18843 AR_FLAGS=$lt_AR_FLAGS
18848 # A language-specific compiler.
18851 # Is the compiler the GNU C compiler?
18857 # The linker used to build libraries.
18860 # Whether we need hard or soft links.
18863 # A BSD-compatible nm program.
18866 # A symbol stripping program
18869 # Used to examine libraries when file_magic_cmd begins "file"
18870 MAGIC_CMD=$MAGIC_CMD
18872 # Used on cygwin: DLL creation program.
18875 # Used on cygwin: object dumper.
18878 # Used on cygwin: assembler.
18881 # The name of the directory that contains temporary libtool files.
18884 # How to create reloadable object files.
18885 reload_flag=$lt_reload_flag
18886 reload_cmds=$lt_reload_cmds
18888 # How to pass a linker flag through the compiler.
18889 wl=$lt_lt_prog_compiler_wl_RC
18891 # Object file suffix (normally "o
").
18892 objext="$ac_objext"
18894 # Old archive suffix (normally "a
").
18897 # Shared library suffix (normally ".so
").
18900 # Executable file suffix (normally "").
18903 # Additional compiler flags for building library objects.
18904 pic_flag=$lt_lt_prog_compiler_pic_RC
18907 # What is the maximum length of a command?
18908 max_cmd_len=$lt_cv_sys_max_cmd_len
18910 # Does compiler simultaneously support -c and -o options?
18911 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18913 # Must we lock files when doing compilation ?
18914 need_locks=$lt_need_locks
18916 # Do we need the lib prefix for modules?
18917 need_lib_prefix=$need_lib_prefix
18919 # Do we need a version for libraries?
18920 need_version=$need_version
18922 # Whether dlopen is supported.
18923 dlopen_support=$enable_dlopen
18925 # Whether dlopen of programs is supported.
18926 dlopen_self=$enable_dlopen_self
18928 # Whether dlopen of statically linked programs is supported.
18929 dlopen_self_static=$enable_dlopen_self_static
18931 # Compiler flag to prevent dynamic linking.
18932 link_static_flag=$lt_lt_prog_compiler_static_RC
18934 # Compiler flag to turn off builtin functions.
18935 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18937 # Compiler flag to allow reflexive dlopens.
18938 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18940 # Compiler flag to generate shared objects directly from archives.
18941 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18943 # Compiler flag to generate thread-safe objects.
18944 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18946 # Library versioning type.
18947 version_type=$version_type
18949 # Format of library name prefix.
18950 libname_spec=$lt_libname_spec
18952 # List of archive names. First name is the real one, the rest are links.
18953 # The last name is the one that the linker finds with -lNAME.
18954 library_names_spec=$lt_library_names_spec
18956 # The coded name of the library, if different from the real name.
18957 soname_spec=$lt_soname_spec
18959 # Commands used to build and install an old-style archive.
18961 old_archive_cmds=$lt_old_archive_cmds_RC
18962 old_postinstall_cmds=$lt_old_postinstall_cmds
18963 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18965 # Create an old-style archive from a shared archive.
18966 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18968 # Create a temporary old-style archive to link instead of a shared archive.
18969 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18971 # Commands used to build and install a shared archive.
18972 archive_cmds=$lt_archive_cmds_RC
18973 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18974 postinstall_cmds=$lt_postinstall_cmds
18975 postuninstall_cmds=$lt_postuninstall_cmds
18977 # Commands used to build a loadable module (assumed same as above if empty)
18978 module_cmds=$lt_module_cmds_RC
18979 module_expsym_cmds=$lt_module_expsym_cmds_RC
18981 # Commands to strip libraries.
18982 old_striplib=$lt_old_striplib
18983 striplib=$lt_striplib
18985 # Dependencies to place before the objects being linked to create a
18987 predep_objects=$lt_predep_objects_RC
18989 # Dependencies to place after the objects being linked to create a
18991 postdep_objects=$lt_postdep_objects_RC
18993 # Dependencies to place before the objects being linked to create a
18995 predeps=$lt_predeps_RC
18997 # Dependencies to place after the objects being linked to create a
18999 postdeps=$lt_postdeps_RC
19001 # The library search path used internally by the compiler when linking
19002 # a shared library.
19003 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19005 # Method to check whether dependent libraries are shared objects.
19006 deplibs_check_method=$lt_deplibs_check_method
19008 # Command to use when deplibs_check_method == file_magic.
19009 file_magic_cmd=$lt_file_magic_cmd
19011 # Flag that allows shared libraries with undefined symbols to be built.
19012 allow_undefined_flag=$lt_allow_undefined_flag_RC
19014 # Flag that forces no undefined symbols.
19015 no_undefined_flag=$lt_no_undefined_flag_RC
19017 # Commands used to finish a libtool library installation in a directory.
19018 finish_cmds=$lt_finish_cmds
19020 # Same as above, but a single script fragment to be evaled but not shown.
19021 finish_eval=$lt_finish_eval
19023 # Take the output of nm and produce a listing of raw symbols and C names.
19024 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19026 # Transform the output of nm in a proper C declaration
19027 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19029 # Transform the output of nm in a C name address pair
19030 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19032 # This is the shared library runtime path variable.
19033 runpath_var=$runpath_var
19035 # This is the shared library path variable.
19036 shlibpath_var=$shlibpath_var
19038 # Is shlibpath searched before the hard-coded library search path?
19039 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19041 # How to hardcode a shared library path into an executable.
19042 hardcode_action=$hardcode_action_RC
19044 # Whether we should hardcode library paths into libraries.
19045 hardcode_into_libs=$hardcode_into_libs
19047 # Flag to hardcode \$libdir into a binary during linking.
19048 # This must work even if \$libdir does not exist.
19049 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19051 # If ld is used when linking, flag to hardcode \$libdir into
19052 # a binary during linking. This must work even if \$libdir does
19054 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19056 # Whether we need a single -rpath flag with a separated argument.
19057 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19059 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19060 # resulting binary.
19061 hardcode_direct=$hardcode_direct_RC
19063 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19064 # resulting binary.
19065 hardcode_minus_L=$hardcode_minus_L_RC
19067 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19068 # the resulting binary.
19069 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19071 # Set to yes if building a shared library automatically hardcodes DIR into the library
19072 # and all subsequent libraries and executables linked against it.
19073 hardcode_automatic=$hardcode_automatic_RC
19075 # Variables whose values should be saved in libtool wrapper scripts and
19076 # restored at relink time.
19077 variables_saved_for_relink="$variables_saved_for_relink"
19079 # Whether libtool must link a program against all its dependency libraries.
19080 link_all_deplibs=$link_all_deplibs_RC
19082 # Compile-time system search path for libraries
19083 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19085 # Run-time system search path for libraries
19086 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19088 # Fix the shell variable \$srcfile for the compiler.
19089 fix_srcfile_path="$fix_srcfile_path_RC"
19091 # Set to yes if exported symbols are required.
19092 always_export_symbols=$always_export_symbols_RC
19094 # The commands to list exported symbols.
19095 export_symbols_cmds=$lt_export_symbols_cmds_RC
19097 # The commands to extract the exported symbol list from a shared archive.
19098 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19100 # Symbols that should not be listed in the preloaded symbols.
19101 exclude_expsyms=$lt_exclude_expsyms_RC
19103 # Symbols that must always be exported.
19104 include_expsyms=$lt_include_expsyms_RC
19106 # ### END LIBTOOL TAG CONFIG: $tagname
19112 # If there is no Makefile yet, we rely on a make rule to execute
19113 # `config.status --recheck' to rerun these tests and create the
19114 # libtool script then.
19115 test -f Makefile && make "$ltmain"
19120 ac_cpp='$CPP $CPPFLAGS'
19121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19130 { { echo "$as_me:$LINENO: error
: Unsupported tag name
: $tagname" >&5
19131 echo "$as_me: error
: Unsupported tag name
: $tagname" >&2;}
19132 { (exit 1); exit 1; }; }
19136 # Append the new tag name to the list of available tags.
19137 if test -n "$tagname" ; then
19138 available_tags="$available_tags $tagname"
19144 # Now substitute the updated list of available tags.
19145 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T
\""; then
19146 mv "${ofile}T
" "$ofile"
19150 { { echo "$as_me:$LINENO: error
: unable to update list of available tagged configurations.
" >&5
19151 echo "$as_me: error
: unable to update list of available tagged configurations.
" >&2;}
19152 { (exit 1); exit 1; }; }
19158 # This can be used to rebuild libtool when needed
19159 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh
"
19161 # Always use our own libtool.
19162 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19164 # Prevent multiple expansion
19185 { echo "$as_me:$LINENO: checking
for an ANSI C-conforming const
" >&5
19186 echo $ECHO_N "checking
for an ANSI C-conforming const...
$ECHO_C" >&6; }
19187 if test "${ac_cv_c_const+set}" = set; then
19188 echo $ECHO_N "(cached
) $ECHO_C" >&6
19190 cat >conftest.$ac_ext <<_ACEOF
19193 cat confdefs.h >>conftest.$ac_ext
19194 cat >>conftest.$ac_ext <<_ACEOF
19195 /* end confdefs.h. */
19200 /* FIXME: Include the comments suggested by Paul. */
19201 #ifndef __cplusplus
19202 /* Ultrix mips cc rejects this. */
19203 typedef int charset[2];
19205 /* SunOS 4.1.1 cc rejects this. */
19206 char const *const *pcpcc;
19208 /* NEC SVR4.0.2 mips cc rejects this. */
19209 struct point {int x, y;};
19210 static struct point const zero = {0,0};
19211 /* AIX XL C 1.02.0.0 rejects this.
19212 It does not let you subtract one const X* pointer from another in
19213 an arm of an if-expression whose if-part is not a constant
19215 const char *g = "string
";
19216 pcpcc = &g + (g ? g-g : 0);
19217 /* HPUX 7.0 cc rejects these. */
19219 ppc = (char**) pcpcc;
19220 pcpcc = (char const *const *) ppc;
19221 { /* SCO 3.2v4 cc rejects this. */
19223 char const *s = 0 ? (char *) 0 : (char const *) 0;
19228 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19229 int x[] = {25, 17};
19230 const int *foo = &x[0];
19233 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19234 typedef const int *iptr;
19238 { /* AIX XL C 1.02.0.0 rejects this saying
19239 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19240 struct s { int j; const int *ap[3]; };
19241 struct s *b; b->j = 5;
19243 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19244 const int foo = 10;
19245 if (!foo) return 0;
19247 return !cs[0] && !zero.x;
19254 rm -f conftest.$ac_objext
19255 if { (ac_try="$ac_compile"
19256 case "(($ac_try" in
19257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19258 *) ac_try_echo=$ac_try;;
19260 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19261 (eval "$ac_compile") 2>conftest.er1
19263 grep -v '^ *+' conftest.er1 >conftest.err
19265 cat conftest.err >&5
19266 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19267 (exit $ac_status); } && {
19268 test -z "$ac_c_werror_flag" ||
19269 test ! -s conftest.err
19270 } && test -s conftest.$ac_objext; then
19273 echo "$as_me: failed program was
:" >&5
19274 sed 's/^/| /' conftest.$ac_ext >&5
19279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19281 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19282 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19283 if test $ac_cv_c_const = no; then
19285 cat >>confdefs.h <<\_ACEOF
19296 ac_header_dirent=no
19297 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
19298 as_ac_Header=`echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
19299 { echo "$as_me:$LINENO: checking
for $ac_hdr that defines DIR
" >&5
19300 echo $ECHO_N "checking
for $ac_hdr that defines DIR...
$ECHO_C" >&6; }
19301 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19302 echo $ECHO_N "(cached
) $ECHO_C" >&6
19304 cat >conftest.$ac_ext <<_ACEOF
19307 cat confdefs.h >>conftest.$ac_ext
19308 cat >>conftest.$ac_ext <<_ACEOF
19309 /* end confdefs.h. */
19310 #include <sys/types.h>
19322 rm -f conftest.$ac_objext
19323 if { (ac_try="$ac_compile"
19324 case "(($ac_try" in
19325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19326 *) ac_try_echo=$ac_try;;
19328 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19329 (eval "$ac_compile") 2>conftest.er1
19331 grep -v '^ *+' conftest.er1 >conftest.err
19333 cat conftest.err >&5
19334 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19335 (exit $ac_status); } && {
19336 test -z "$ac_c_werror_flag" ||
19337 test ! -s conftest.err
19338 } && test -s conftest.$ac_objext; then
19339 eval "$as_ac_Header=yes"
19341 echo "$as_me: failed program was
:" >&5
19342 sed 's/^/| /' conftest.$ac_ext >&5
19344 eval "$as_ac_Header=no
"
19347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19349 ac_res=`eval echo '${'$as_ac_Header'}'`
19350 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19351 echo "${ECHO_T}$ac_res" >&6; }
19352 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19353 cat >>confdefs.h <<_ACEOF
19354 #define `echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
19357 ac_header_dirent=$ac_hdr; break
19361 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
19362 if test $ac_header_dirent = dirent.h; then
19363 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
19364 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
19365 if test "${ac_cv_search_opendir+set}" = set; then
19366 echo $ECHO_N "(cached
) $ECHO_C" >&6
19368 ac_func_search_save_LIBS=$LIBS
19369 cat >conftest.$ac_ext <<_ACEOF
19372 cat confdefs.h >>conftest.$ac_ext
19373 cat >>conftest.$ac_ext <<_ACEOF
19374 /* end confdefs.h. */
19376 /* Override any GCC internal prototype to avoid an error.
19377 Use char because int might match the return type of a GCC
19378 builtin and then its argument prototype would still apply. */
19391 for ac_lib in '' dir; do
19392 if test -z "$ac_lib"; then
19393 ac_res="none required
"
19396 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19398 rm -f conftest.$ac_objext conftest$ac_exeext
19399 if { (ac_try="$ac_link"
19400 case "(($ac_try" in
19401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19402 *) ac_try_echo=$ac_try;;
19404 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19405 (eval "$ac_link") 2>conftest.er1
19407 grep -v '^ *+' conftest.er1 >conftest.err
19409 cat conftest.err >&5
19410 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19411 (exit $ac_status); } && {
19412 test -z "$ac_c_werror_flag" ||
19413 test ! -s conftest.err
19414 } && test -s conftest$ac_exeext &&
19415 $as_test_x conftest$ac_exeext; then
19416 ac_cv_search_opendir=$ac_res
19418 echo "$as_me: failed program was
:" >&5
19419 sed 's/^/| /' conftest.$ac_ext >&5
19424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19426 if test "${ac_cv_search_opendir+set}" = set; then
19430 if test "${ac_cv_search_opendir+set}" = set; then
19433 ac_cv_search_opendir=no
19435 rm conftest.$ac_ext
19436 LIBS=$ac_func_search_save_LIBS
19438 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
19439 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
19440 ac_res=$ac_cv_search_opendir
19441 if test "$ac_res" != no; then
19442 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
19447 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
19448 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
19449 if test "${ac_cv_search_opendir+set}" = set; then
19450 echo $ECHO_N "(cached
) $ECHO_C" >&6
19452 ac_func_search_save_LIBS=$LIBS
19453 cat >conftest.$ac_ext <<_ACEOF
19456 cat confdefs.h >>conftest.$ac_ext
19457 cat >>conftest.$ac_ext <<_ACEOF
19458 /* end confdefs.h. */
19460 /* Override any GCC internal prototype to avoid an error.
19461 Use char because int might match the return type of a GCC
19462 builtin and then its argument prototype would still apply. */
19475 for ac_lib in '' x; do
19476 if test -z "$ac_lib"; then
19477 ac_res="none required
"
19480 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19482 rm -f conftest.$ac_objext conftest$ac_exeext
19483 if { (ac_try="$ac_link"
19484 case "(($ac_try" in
19485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19486 *) ac_try_echo=$ac_try;;
19488 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19489 (eval "$ac_link") 2>conftest.er1
19491 grep -v '^ *+' conftest.er1 >conftest.err
19493 cat conftest.err >&5
19494 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19495 (exit $ac_status); } && {
19496 test -z "$ac_c_werror_flag" ||
19497 test ! -s conftest.err
19498 } && test -s conftest$ac_exeext &&
19499 $as_test_x conftest$ac_exeext; then
19500 ac_cv_search_opendir=$ac_res
19502 echo "$as_me: failed program was
:" >&5
19503 sed 's/^/| /' conftest.$ac_ext >&5
19508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19510 if test "${ac_cv_search_opendir+set}" = set; then
19514 if test "${ac_cv_search_opendir+set}" = set; then
19517 ac_cv_search_opendir=no
19519 rm conftest.$ac_ext
19520 LIBS=$ac_func_search_save_LIBS
19522 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
19523 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
19524 ac_res=$ac_cv_search_opendir
19525 if test "$ac_res" != no; then
19526 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
19532 # Check whether --enable-ltdl-install was given.
19533 if test "${enable_ltdl_install+set}" = set; then
19534 enableval=$enable_ltdl_install;
19538 if test x"${enable_ltdl_install-no}" != xno; then
19539 cat >>confdefs.h <<\_ACEOF
19540 #define INSTALL_LTDL 1
19544 if test x"${enable_ltdl_convenience-no}" != xno; then
19545 cat >>confdefs.h <<\_ACEOF
19546 #define CONVENIENCE_LTDL 1
19552 { echo "$as_me:$LINENO: checking
which extension is used
for loadable modules
" >&5
19553 echo $ECHO_N "checking
which extension is used
for loadable modules...
$ECHO_C" >&6; }
19554 if test "${libltdl_cv_shlibext+set}" = set; then
19555 echo $ECHO_N "(cached
) $ECHO_C" >&6
19559 eval libltdl_cv_shlibext=$shrext
19562 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibext" >&5
19563 echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
19564 if test -n "$libltdl_cv_shlibext"; then
19566 cat >>confdefs.h <<_ACEOF
19567 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
19573 { echo "$as_me:$LINENO: checking
which variable specifies run-time library path
" >&5
19574 echo $ECHO_N "checking
which variable specifies run-time library path...
$ECHO_C" >&6; }
19575 if test "${libltdl_cv_shlibpath_var+set}" = set; then
19576 echo $ECHO_N "(cached
) $ECHO_C" >&6
19578 libltdl_cv_shlibpath_var="$shlibpath_var"
19580 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibpath_var" >&5
19581 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
19582 if test -n "$libltdl_cv_shlibpath_var"; then
19584 cat >>confdefs.h <<_ACEOF
19585 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
19591 { echo "$as_me:$LINENO: checking
for the default library search path
" >&5
19592 echo $ECHO_N "checking
for the default library search path...
$ECHO_C" >&6; }
19593 if test "${libltdl_cv_sys_search_path+set}" = set; then
19594 echo $ECHO_N "(cached
) $ECHO_C" >&6
19596 libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"
19598 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_search_path" >&5
19599 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6; }
19600 if test -n "$libltdl_cv_sys_search_path"; then
19602 for dir in $libltdl_cv_sys_search_path; do
19603 if test -z "$sys_search_path"; then
19604 sys_search_path="$dir"
19606 sys_search_path="$sys_search_path$PATH_SEPARATOR$dir"
19610 cat >>confdefs.h <<_ACEOF
19611 #define LTDL_SYSSEARCHPATH "$sys_search_path"
19616 { echo "$as_me:$LINENO: checking
for objdir
" >&5
19617 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6; }
19618 if test "${libltdl_cv_objdir+set}" = set; then
19619 echo $ECHO_N "(cached
) $ECHO_C" >&6
19621 libltdl_cv_objdir="$objdir"
19622 if test -n "$objdir"; then
19625 rm -f .libs 2>/dev/null
19626 mkdir .libs 2>/dev/null
19627 if test -d .libs; then
19628 libltdl_cv_objdir=.libs
19630 # MS-DOS does not allow filenames that begin with a dot.
19631 libltdl_cv_objdir=_libs
19633 rmdir .libs 2>/dev/null
19637 { echo "$as_me:$LINENO: result
: $libltdl_cv_objdir" >&5
19638 echo "${ECHO_T}$libltdl_cv_objdir" >&6; }
19640 cat >>confdefs.h <<_ACEOF
19641 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
19646 { echo "$as_me:$LINENO: checking whether libtool supports
-dlopen/-dlpreopen" >&5
19647 echo $ECHO_N "checking whether libtool supports
-dlopen/-dlpreopen...
$ECHO_C" >&6; }
19648 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
19649 echo $ECHO_N "(cached
) $ECHO_C" >&6
19651 if test -n "$lt_cv_sys_global_symbol_pipe"; then
19652 libltdl_cv_preloaded_symbols=yes
19654 libltdl_cv_preloaded_symbols=no
19658 { echo "$as_me:$LINENO: result
: $libltdl_cv_preloaded_symbols" >&5
19659 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
19660 if test x"$libltdl_cv_preloaded_symbols" = xyes; then
19662 cat >>confdefs.h <<\_ACEOF
19663 #define HAVE_PRELOADED_SYMBOLS 1
19671 ac_cpp='$CPP $CPPFLAGS'
19672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19677 { echo "$as_me:$LINENO: checking
for shl_load
" >&5
19678 echo $ECHO_N "checking
for shl_load...
$ECHO_C" >&6; }
19679 if test "${ac_cv_func_shl_load+set}" = set; then
19680 echo $ECHO_N "(cached
) $ECHO_C" >&6
19682 cat >conftest.$ac_ext <<_ACEOF
19685 cat confdefs.h >>conftest.$ac_ext
19686 cat >>conftest.$ac_ext <<_ACEOF
19687 /* end confdefs.h. */
19688 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
19689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19690 #define shl_load innocuous_shl_load
19692 /* System header to define __stub macros and hopefully few prototypes,
19693 which can conflict with char shl_load (); below.
19694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19695 <limits.h> exists even on freestanding compilers. */
19698 # include <limits.h>
19700 # include <assert.h>
19705 /* Override any GCC internal prototype to avoid an error.
19706 Use char because int might match the return type of a GCC
19707 builtin and then its argument prototype would still apply. */
19712 /* The GNU C library defines this for functions which it implements
19713 to always fail with ENOSYS. Some functions are actually named
19714 something starting with __ and the normal name is an alias. */
19715 #if defined __stub_shl_load || defined __stub___shl_load
19722 return shl_load ();
19727 rm -f conftest.$ac_objext conftest$ac_exeext
19728 if { (ac_try="$ac_link"
19729 case "(($ac_try" in
19730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19731 *) ac_try_echo=$ac_try;;
19733 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19734 (eval "$ac_link") 2>conftest.er1
19736 grep -v '^ *+' conftest.er1 >conftest.err
19738 cat conftest.err >&5
19739 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19740 (exit $ac_status); } && {
19741 test -z "$ac_c_werror_flag" ||
19742 test ! -s conftest.err
19743 } && test -s conftest$ac_exeext &&
19744 $as_test_x conftest$ac_exeext; then
19745 ac_cv_func_shl_load=yes
19747 echo "$as_me: failed program was
:" >&5
19748 sed 's/^/| /' conftest.$ac_ext >&5
19750 ac_cv_func_shl_load=no
19753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19754 conftest$ac_exeext conftest.$ac_ext
19756 { echo "$as_me:$LINENO: result
: $ac_cv_func_shl_load" >&5
19757 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
19758 if test $ac_cv_func_shl_load = yes; then
19760 cat >>confdefs.h <<\_ACEOF
19761 #define HAVE_SHL_LOAD 1
19765 { echo "$as_me:$LINENO: checking
for shl_load
in -ldld" >&5
19766 echo $ECHO_N "checking
for shl_load
in -ldld...
$ECHO_C" >&6; }
19767 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
19768 echo $ECHO_N "(cached
) $ECHO_C" >&6
19770 ac_check_lib_save_LIBS=$LIBS
19772 cat >conftest.$ac_ext <<_ACEOF
19775 cat confdefs.h >>conftest.$ac_ext
19776 cat >>conftest.$ac_ext <<_ACEOF
19777 /* end confdefs.h. */
19779 /* Override any GCC internal prototype to avoid an error.
19780 Use char because int might match the return type of a GCC
19781 builtin and then its argument prototype would still apply. */
19789 return shl_load ();
19794 rm -f conftest.$ac_objext conftest$ac_exeext
19795 if { (ac_try="$ac_link"
19796 case "(($ac_try" in
19797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19798 *) ac_try_echo=$ac_try;;
19800 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19801 (eval "$ac_link") 2>conftest.er1
19803 grep -v '^ *+' conftest.er1 >conftest.err
19805 cat conftest.err >&5
19806 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19807 (exit $ac_status); } && {
19808 test -z "$ac_c_werror_flag" ||
19809 test ! -s conftest.err
19810 } && test -s conftest$ac_exeext &&
19811 $as_test_x conftest$ac_exeext; then
19812 ac_cv_lib_dld_shl_load=yes
19814 echo "$as_me: failed program was
:" >&5
19815 sed 's/^/| /' conftest.$ac_ext >&5
19817 ac_cv_lib_dld_shl_load=no
19820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19821 conftest$ac_exeext conftest.$ac_ext
19822 LIBS=$ac_check_lib_save_LIBS
19824 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_shl_load" >&5
19825 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
19826 if test $ac_cv_lib_dld_shl_load = yes; then
19828 cat >>confdefs.h <<\_ACEOF
19829 #define HAVE_SHL_LOAD 1
19832 LIBADD_DL="$LIBADD_DL -ldld"
19834 { echo "$as_me:$LINENO: checking
for dlopen
in -ldl" >&5
19835 echo $ECHO_N "checking
for dlopen
in -ldl...
$ECHO_C" >&6; }
19836 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19837 echo $ECHO_N "(cached
) $ECHO_C" >&6
19839 ac_check_lib_save_LIBS=$LIBS
19841 cat >conftest.$ac_ext <<_ACEOF
19844 cat confdefs.h >>conftest.$ac_ext
19845 cat >>conftest.$ac_ext <<_ACEOF
19846 /* end confdefs.h. */
19848 /* Override any GCC internal prototype to avoid an error.
19849 Use char because int might match the return type of a GCC
19850 builtin and then its argument prototype would still apply. */
19863 rm -f conftest.$ac_objext conftest$ac_exeext
19864 if { (ac_try="$ac_link"
19865 case "(($ac_try" in
19866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19867 *) ac_try_echo=$ac_try;;
19869 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19870 (eval "$ac_link") 2>conftest.er1
19872 grep -v '^ *+' conftest.er1 >conftest.err
19874 cat conftest.err >&5
19875 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19876 (exit $ac_status); } && {
19877 test -z "$ac_c_werror_flag" ||
19878 test ! -s conftest.err
19879 } && test -s conftest$ac_exeext &&
19880 $as_test_x conftest$ac_exeext; then
19881 ac_cv_lib_dl_dlopen=yes
19883 echo "$as_me: failed program was
:" >&5
19884 sed 's/^/| /' conftest.$ac_ext >&5
19886 ac_cv_lib_dl_dlopen=no
19889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19890 conftest$ac_exeext conftest.$ac_ext
19891 LIBS=$ac_check_lib_save_LIBS
19893 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dl_dlopen" >&5
19894 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
19895 if test $ac_cv_lib_dl_dlopen = yes; then
19897 cat >>confdefs.h <<\_ACEOF
19898 #define HAVE_LIBDL 1
19901 LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"
19903 cat >conftest.$ac_ext <<_ACEOF
19906 cat confdefs.h >>conftest.$ac_ext
19907 cat >>conftest.$ac_ext <<_ACEOF
19908 /* end confdefs.h. */
19910 # include <dlfcn.h>
19921 rm -f conftest.$ac_objext conftest$ac_exeext
19922 if { (ac_try="$ac_link"
19923 case "(($ac_try" in
19924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19925 *) ac_try_echo=$ac_try;;
19927 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19928 (eval "$ac_link") 2>conftest.er1
19930 grep -v '^ *+' conftest.er1 >conftest.err
19932 cat conftest.err >&5
19933 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19934 (exit $ac_status); } && {
19935 test -z "$ac_c_werror_flag" ||
19936 test ! -s conftest.err
19937 } && test -s conftest$ac_exeext &&
19938 $as_test_x conftest$ac_exeext; then
19940 cat >>confdefs.h <<\_ACEOF
19941 #define HAVE_LIBDL 1
19943 libltdl_cv_func_dlopen="yes"
19945 echo "$as_me: failed program was
:" >&5
19946 sed 's/^/| /' conftest.$ac_ext >&5
19948 { echo "$as_me:$LINENO: checking
for dlopen
in -lsvld" >&5
19949 echo $ECHO_N "checking
for dlopen
in -lsvld...
$ECHO_C" >&6; }
19950 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
19951 echo $ECHO_N "(cached
) $ECHO_C" >&6
19953 ac_check_lib_save_LIBS=$LIBS
19954 LIBS="-lsvld $LIBS"
19955 cat >conftest.$ac_ext <<_ACEOF
19958 cat confdefs.h >>conftest.$ac_ext
19959 cat >>conftest.$ac_ext <<_ACEOF
19960 /* end confdefs.h. */
19962 /* Override any GCC internal prototype to avoid an error.
19963 Use char because int might match the return type of a GCC
19964 builtin and then its argument prototype would still apply. */
19977 rm -f conftest.$ac_objext conftest$ac_exeext
19978 if { (ac_try="$ac_link"
19979 case "(($ac_try" in
19980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19981 *) ac_try_echo=$ac_try;;
19983 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19984 (eval "$ac_link") 2>conftest.er1
19986 grep -v '^ *+' conftest.er1 >conftest.err
19988 cat conftest.err >&5
19989 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19990 (exit $ac_status); } && {
19991 test -z "$ac_c_werror_flag" ||
19992 test ! -s conftest.err
19993 } && test -s conftest$ac_exeext &&
19994 $as_test_x conftest$ac_exeext; then
19995 ac_cv_lib_svld_dlopen=yes
19997 echo "$as_me: failed program was
:" >&5
19998 sed 's/^/| /' conftest.$ac_ext >&5
20000 ac_cv_lib_svld_dlopen=no
20003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20004 conftest$ac_exeext conftest.$ac_ext
20005 LIBS=$ac_check_lib_save_LIBS
20007 { echo "$as_me:$LINENO: result
: $ac_cv_lib_svld_dlopen" >&5
20008 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
20009 if test $ac_cv_lib_svld_dlopen = yes; then
20011 cat >>confdefs.h <<\_ACEOF
20012 #define HAVE_LIBDL 1
20015 LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"
20017 { echo "$as_me:$LINENO: checking
for dld_link
in -ldld" >&5
20018 echo $ECHO_N "checking
for dld_link
in -ldld...
$ECHO_C" >&6; }
20019 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
20020 echo $ECHO_N "(cached
) $ECHO_C" >&6
20022 ac_check_lib_save_LIBS=$LIBS
20024 cat >conftest.$ac_ext <<_ACEOF
20027 cat confdefs.h >>conftest.$ac_ext
20028 cat >>conftest.$ac_ext <<_ACEOF
20029 /* end confdefs.h. */
20031 /* Override any GCC internal prototype to avoid an error.
20032 Use char because int might match the return type of a GCC
20033 builtin and then its argument prototype would still apply. */
20041 return dld_link ();
20046 rm -f conftest.$ac_objext conftest$ac_exeext
20047 if { (ac_try="$ac_link"
20048 case "(($ac_try" in
20049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20050 *) ac_try_echo=$ac_try;;
20052 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20053 (eval "$ac_link") 2>conftest.er1
20055 grep -v '^ *+' conftest.er1 >conftest.err
20057 cat conftest.err >&5
20058 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20059 (exit $ac_status); } && {
20060 test -z "$ac_c_werror_flag" ||
20061 test ! -s conftest.err
20062 } && test -s conftest$ac_exeext &&
20063 $as_test_x conftest$ac_exeext; then
20064 ac_cv_lib_dld_dld_link=yes
20066 echo "$as_me: failed program was
:" >&5
20067 sed 's/^/| /' conftest.$ac_ext >&5
20069 ac_cv_lib_dld_dld_link=no
20072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20073 conftest$ac_exeext conftest.$ac_ext
20074 LIBS=$ac_check_lib_save_LIBS
20076 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_dld_link" >&5
20077 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
20078 if test $ac_cv_lib_dld_dld_link = yes; then
20080 cat >>confdefs.h <<\_ACEOF
20084 LIBADD_DL="$LIBADD_DL -ldld"
20086 { echo "$as_me:$LINENO: checking
for _dyld_func_lookup
" >&5
20087 echo $ECHO_N "checking
for _dyld_func_lookup...
$ECHO_C" >&6; }
20088 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
20089 echo $ECHO_N "(cached
) $ECHO_C" >&6
20091 cat >conftest.$ac_ext <<_ACEOF
20094 cat confdefs.h >>conftest.$ac_ext
20095 cat >>conftest.$ac_ext <<_ACEOF
20096 /* end confdefs.h. */
20097 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
20098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20099 #define _dyld_func_lookup innocuous__dyld_func_lookup
20101 /* System header to define __stub macros and hopefully few prototypes,
20102 which can conflict with char _dyld_func_lookup (); below.
20103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20104 <limits.h> exists even on freestanding compilers. */
20107 # include <limits.h>
20109 # include <assert.h>
20112 #undef _dyld_func_lookup
20114 /* Override any GCC internal prototype to avoid an error.
20115 Use char because int might match the return type of a GCC
20116 builtin and then its argument prototype would still apply. */
20120 char _dyld_func_lookup ();
20121 /* The GNU C library defines this for functions which it implements
20122 to always fail with ENOSYS. Some functions are actually named
20123 something starting with __ and the normal name is an alias. */
20124 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
20131 return _dyld_func_lookup ();
20136 rm -f conftest.$ac_objext conftest$ac_exeext
20137 if { (ac_try="$ac_link"
20138 case "(($ac_try" in
20139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20140 *) ac_try_echo=$ac_try;;
20142 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20143 (eval "$ac_link") 2>conftest.er1
20145 grep -v '^ *+' conftest.er1 >conftest.err
20147 cat conftest.err >&5
20148 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20149 (exit $ac_status); } && {
20150 test -z "$ac_c_werror_flag" ||
20151 test ! -s conftest.err
20152 } && test -s conftest$ac_exeext &&
20153 $as_test_x conftest$ac_exeext; then
20154 ac_cv_func__dyld_func_lookup=yes
20156 echo "$as_me: failed program was
:" >&5
20157 sed 's/^/| /' conftest.$ac_ext >&5
20159 ac_cv_func__dyld_func_lookup=no
20162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20163 conftest$ac_exeext conftest.$ac_ext
20165 { echo "$as_me:$LINENO: result
: $ac_cv_func__dyld_func_lookup" >&5
20166 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
20167 if test $ac_cv_func__dyld_func_lookup = yes; then
20169 cat >>confdefs.h <<\_ACEOF
20170 #define HAVE_DYLD 1
20184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20185 conftest$ac_exeext conftest.$ac_ext
20196 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
20198 lt_save_LIBS="$LIBS"
20199 LIBS="$LIBS $LIBADD_DL"
20201 for ac_func in dlerror
20203 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
20204 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
20205 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
20206 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
20207 echo $ECHO_N "(cached
) $ECHO_C" >&6
20209 cat >conftest.$ac_ext <<_ACEOF
20212 cat confdefs.h >>conftest.$ac_ext
20213 cat >>conftest.$ac_ext <<_ACEOF
20214 /* end confdefs.h. */
20215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20217 #define $ac_func innocuous_$ac_func
20219 /* System header to define __stub macros and hopefully few prototypes,
20220 which can conflict with char $ac_func (); below.
20221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20222 <limits.h> exists even on freestanding compilers. */
20225 # include <limits.h>
20227 # include <assert.h>
20232 /* Override any GCC internal prototype to avoid an error.
20233 Use char because int might match the return type of a GCC
20234 builtin and then its argument prototype would still apply. */
20239 /* The GNU C library defines this for functions which it implements
20240 to always fail with ENOSYS. Some functions are actually named
20241 something starting with __ and the normal name is an alias. */
20242 #if defined __stub_$ac_func || defined __stub___$ac_func
20249 return $ac_func ();
20254 rm -f conftest.$ac_objext conftest$ac_exeext
20255 if { (ac_try="$ac_link"
20256 case "(($ac_try" in
20257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20258 *) ac_try_echo=$ac_try;;
20260 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20261 (eval "$ac_link") 2>conftest.er1
20263 grep -v '^ *+' conftest.er1 >conftest.err
20265 cat conftest.err >&5
20266 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20267 (exit $ac_status); } && {
20268 test -z "$ac_c_werror_flag" ||
20269 test ! -s conftest.err
20270 } && test -s conftest$ac_exeext &&
20271 $as_test_x conftest$ac_exeext; then
20272 eval "$as_ac_var=yes"
20274 echo "$as_me: failed program was
:" >&5
20275 sed 's/^/| /' conftest.$ac_ext >&5
20277 eval "$as_ac_var=no
"
20280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20281 conftest$ac_exeext conftest.$ac_ext
20283 ac_res=`eval echo '${'$as_ac_var'}'`
20284 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20285 echo "${ECHO_T}$ac_res" >&6; }
20286 if test `eval echo '${'$as_ac_var'}'` = yes; then
20287 cat >>confdefs.h <<_ACEOF
20288 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
20294 LIBS="$lt_save_LIBS"
20297 ac_cpp='$CPP $CPPFLAGS'
20298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20304 { echo "$as_me:$LINENO: checking
for _ prefix
in compiled symbols
" >&5
20305 echo $ECHO_N "checking
for _ prefix
in compiled symbols...
$ECHO_C" >&6; }
20306 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
20307 echo $ECHO_N "(cached
) $ECHO_C" >&6
20309 ac_cv_sys_symbol_underscore=no
20310 cat > conftest.$ac_ext <<EOF
20311 void nm_test_func(){}
20312 int main(){nm_test_func;return 0;}
20314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20315 (eval $ac_compile) 2>&5
20317 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20318 (exit $ac_status); }; then
20319 # Now try to grab the symbols.
20320 ac_nlist=conftest.nm
20321 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist\"") >&5
20322 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
20324 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20325 (exit $ac_status); } && test -s "$ac_nlist"; then
20326 # See whether the symbols have a leading underscore.
20327 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
20328 ac_cv_sys_symbol_underscore=yes
20330 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
20333 echo "configure
: cannot
find nm_test_func
in $ac_nlist" >&5
20337 echo "configure
: cannot run
$lt_cv_sys_global_symbol_pipe" >&5
20340 echo "configure
: failed program was
:" >&5
20346 { echo "$as_me:$LINENO: result
: $ac_cv_sys_symbol_underscore" >&5
20347 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
20350 if test x"$ac_cv_sys_symbol_underscore" = xyes; then
20351 if test x"$libltdl_cv_func_dlopen" = xyes ||
20352 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
20353 { echo "$as_me:$LINENO: checking whether we have to add an underscore
for dlsym
" >&5
20354 echo $ECHO_N "checking whether we have to add an underscore
for dlsym...
$ECHO_C" >&6; }
20355 if test "${libltdl_cv_need_uscore+set}" = set; then
20356 echo $ECHO_N "(cached
) $ECHO_C" >&6
20358 libltdl_cv_need_uscore=unknown
20360 LIBS="$LIBS $LIBADD_DL"
20361 if test "$cross_compiling" = yes; then :
20362 libltdl_cv_need_uscore=cross
20364 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20365 lt_status=$lt_dlunknown
20366 cat > conftest.$ac_ext <<EOF
20367 #line 20367 "configure
"
20368 #include "confdefs.h
"
20377 # define LT_DLGLOBAL RTLD_GLOBAL
20380 # define LT_DLGLOBAL DL_GLOBAL
20382 # define LT_DLGLOBAL 0
20386 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20387 find out it does not work in some platform. */
20388 #ifndef LT_DLLAZY_OR_NOW
20390 # define LT_DLLAZY_OR_NOW RTLD_LAZY
20393 # define LT_DLLAZY_OR_NOW DL_LAZY
20396 # define LT_DLLAZY_OR_NOW RTLD_NOW
20399 # define LT_DLLAZY_OR_NOW DL_NOW
20401 # define LT_DLLAZY_OR_NOW 0
20409 extern "C
" void exit (int);
20412 void fnord() { int i=42;}
20415 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20416 int status = $lt_dlunknown;
20420 if (dlsym (self,"fnord
")) status = $lt_dlno_uscore;
20421 else if (dlsym( self,"_fnord
")) status = $lt_dlneed_uscore;
20422 /* dlclose (self); */
20428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20429 (eval $ac_link) 2>&5
20431 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20432 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
20433 (./conftest; exit; ) 2>/dev/null
20435 case x$lt_status in
20436 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
20437 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
20438 x$lt_unknown|x*) ;;
20441 # compilation failed
20450 { echo "$as_me:$LINENO: result
: $libltdl_cv_need_uscore" >&5
20451 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
20455 if test x"$libltdl_cv_need_uscore" = xyes; then
20457 cat >>confdefs.h <<\_ACEOF
20458 #define NEED_USCORE 1
20464 { echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen
" >&5
20465 echo $ECHO_N "checking whether deplibs are loaded by dlopen...
$ECHO_C" >&6; }
20466 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
20467 echo $ECHO_N "(cached
) $ECHO_C" >&6
20469 # PORTME does your system automatically load deplibs for dlopen?
20470 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
20471 # For now, we just catch OSes we know something about -- in the
20472 # future, we'll try test this programmatically.
20473 libltdl_cv_sys_dlopen_deplibs=unknown
20475 aix3*|aix4.1.*|aix4.2.*)
20476 # Unknown whether this is true for these versions of AIX, but
20477 # we want this `case' here to explicitly catch those versions.
20478 libltdl_cv_sys_dlopen_deplibs=unknown
20481 libltdl_cv_sys_dlopen_deplibs=yes
20484 # Assuming the user has installed a libdl from somewhere, this is true
20485 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
20486 libltdl_cv_sys_dlopen_deplibs=yes
20489 libltdl_cv_sys_dlopen_deplibs=yes
20492 libltdl_cv_sys_dlopen_deplibs=yes
20495 libltdl_cv_sys_dlopen_deplibs=yes
20497 irix[12345]*|irix6.[01]*)
20498 # Catch all versions of IRIX before 6.2, and indicate that we don't
20499 # know how it worked for any of those versions.
20500 libltdl_cv_sys_dlopen_deplibs=unknown
20503 # The case above catches anything before 6.2, and it's known that
20504 # at 6.2 and later dlopen does load deplibs.
20505 libltdl_cv_sys_dlopen_deplibs=yes
20508 libltdl_cv_sys_dlopen_deplibs=yes
20511 libltdl_cv_sys_dlopen_deplibs=yes
20514 libltdl_cv_sys_dlopen_deplibs=yes
20517 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
20518 # it did *not* use an RPATH in a shared library to find objects the
20519 # library depends on, so we explictly say `no'.
20520 libltdl_cv_sys_dlopen_deplibs=no
20522 osf5.0|osf5.0a|osf5.1)
20523 # dlopen *does* load deplibs and with the right loader patch applied
20524 # it even uses RPATH in a shared library to search for shared objects
20525 # that the library depends on, but there's no easy way to know if that
20526 # patch is installed. Since this is the case, all we can really
20527 # say is unknown -- it depends on the patch being installed. If
20528 # it is, this changes to `yes'. Without it, it would be `no'.
20529 libltdl_cv_sys_dlopen_deplibs=unknown
20532 # the two cases above should catch all versions of osf <= 5.1. Read
20533 # the comments above for what we know about them.
20534 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
20535 # is used to find them so we can finally say `yes'.
20536 libltdl_cv_sys_dlopen_deplibs=yes
20539 libltdl_cv_sys_dlopen_deplibs=yes
20544 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_dlopen_deplibs" >&5
20545 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6; }
20546 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
20548 cat >>confdefs.h <<\_ACEOF
20549 #define LTDL_DLOPEN_DEPLIBS 1
20555 for ac_header in argz.h
20557 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20558 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20559 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20560 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20561 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20562 echo $ECHO_N "(cached
) $ECHO_C" >&6
20564 ac_res=`eval echo '${'$as_ac_Header'}'`
20565 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20566 echo "${ECHO_T}$ac_res" >&6; }
20568 # Is the header compilable?
20569 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
20570 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
20571 cat >conftest.$ac_ext <<_ACEOF
20574 cat confdefs.h >>conftest.$ac_ext
20575 cat >>conftest.$ac_ext <<_ACEOF
20576 /* end confdefs.h. */
20577 $ac_includes_default
20578 #include <$ac_header>
20580 rm -f conftest.$ac_objext
20581 if { (ac_try="$ac_compile"
20582 case "(($ac_try" in
20583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20584 *) ac_try_echo=$ac_try;;
20586 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20587 (eval "$ac_compile") 2>conftest.er1
20589 grep -v '^ *+' conftest.er1 >conftest.err
20591 cat conftest.err >&5
20592 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20593 (exit $ac_status); } && {
20594 test -z "$ac_c_werror_flag" ||
20595 test ! -s conftest.err
20596 } && test -s conftest.$ac_objext; then
20597 ac_header_compiler=yes
20599 echo "$as_me: failed program was
:" >&5
20600 sed 's/^/| /' conftest.$ac_ext >&5
20602 ac_header_compiler=no
20605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20606 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20607 echo "${ECHO_T}$ac_header_compiler" >&6; }
20609 # Is the header present?
20610 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
20611 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
20612 cat >conftest.$ac_ext <<_ACEOF
20615 cat confdefs.h >>conftest.$ac_ext
20616 cat >>conftest.$ac_ext <<_ACEOF
20617 /* end confdefs.h. */
20618 #include <$ac_header>
20620 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20621 case "(($ac_try" in
20622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20623 *) ac_try_echo=$ac_try;;
20625 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20626 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20628 grep -v '^ *+' conftest.er1 >conftest.err
20630 cat conftest.err >&5
20631 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20632 (exit $ac_status); } >/dev/null && {
20633 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20634 test ! -s conftest.err
20636 ac_header_preproc=yes
20638 echo "$as_me: failed program was
:" >&5
20639 sed 's/^/| /' conftest.$ac_ext >&5
20641 ac_header_preproc=no
20644 rm -f conftest.err conftest.$ac_ext
20645 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20646 echo "${ECHO_T}$ac_header_preproc" >&6; }
20648 # So? What about this header?
20649 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20651 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
20652 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20653 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
20654 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
20655 ac_header_preproc=yes
20658 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
20659 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
20660 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
20661 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
20662 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
20663 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
20664 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
20665 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
20666 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
20667 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
20668 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
20669 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
20673 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20674 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20675 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20676 echo $ECHO_N "(cached
) $ECHO_C" >&6
20678 eval "$as_ac_Header=\
$ac_header_preproc"
20680 ac_res=`eval echo '${'$as_ac_Header'}'`
20681 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20682 echo "${ECHO_T}$ac_res" >&6; }
20685 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20686 cat >>confdefs.h <<_ACEOF
20687 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20695 { echo "$as_me:$LINENO: checking
for error_t
" >&5
20696 echo $ECHO_N "checking
for error_t...
$ECHO_C" >&6; }
20697 if test "${ac_cv_type_error_t+set}" = set; then
20698 echo $ECHO_N "(cached
) $ECHO_C" >&6
20700 cat >conftest.$ac_ext <<_ACEOF
20703 cat confdefs.h >>conftest.$ac_ext
20704 cat >>conftest.$ac_ext <<_ACEOF
20705 /* end confdefs.h. */
20710 typedef error_t ac__type_new_;
20714 if ((ac__type_new_ *) 0)
20716 if (sizeof (ac__type_new_))
20722 rm -f conftest.$ac_objext
20723 if { (ac_try="$ac_compile"
20724 case "(($ac_try" in
20725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20726 *) ac_try_echo=$ac_try;;
20728 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20729 (eval "$ac_compile") 2>conftest.er1
20731 grep -v '^ *+' conftest.er1 >conftest.err
20733 cat conftest.err >&5
20734 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20735 (exit $ac_status); } && {
20736 test -z "$ac_c_werror_flag" ||
20737 test ! -s conftest.err
20738 } && test -s conftest.$ac_objext; then
20739 ac_cv_type_error_t=yes
20741 echo "$as_me: failed program was
:" >&5
20742 sed 's/^/| /' conftest.$ac_ext >&5
20744 ac_cv_type_error_t=no
20747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20749 { echo "$as_me:$LINENO: result
: $ac_cv_type_error_t" >&5
20750 echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
20751 if test $ac_cv_type_error_t = yes; then
20753 cat >>confdefs.h <<_ACEOF
20754 #define HAVE_ERROR_T 1
20760 cat >>confdefs.h <<\_ACEOF
20761 #define error_t int
20772 for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
20774 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
20775 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
20776 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
20777 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
20778 echo $ECHO_N "(cached
) $ECHO_C" >&6
20780 cat >conftest.$ac_ext <<_ACEOF
20783 cat confdefs.h >>conftest.$ac_ext
20784 cat >>conftest.$ac_ext <<_ACEOF
20785 /* end confdefs.h. */
20786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20788 #define $ac_func innocuous_$ac_func
20790 /* System header to define __stub macros and hopefully few prototypes,
20791 which can conflict with char $ac_func (); below.
20792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20793 <limits.h> exists even on freestanding compilers. */
20796 # include <limits.h>
20798 # include <assert.h>
20803 /* Override any GCC internal prototype to avoid an error.
20804 Use char because int might match the return type of a GCC
20805 builtin and then its argument prototype would still apply. */
20810 /* The GNU C library defines this for functions which it implements
20811 to always fail with ENOSYS. Some functions are actually named
20812 something starting with __ and the normal name is an alias. */
20813 #if defined __stub_$ac_func || defined __stub___$ac_func
20820 return $ac_func ();
20825 rm -f conftest.$ac_objext conftest$ac_exeext
20826 if { (ac_try="$ac_link"
20827 case "(($ac_try" in
20828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20829 *) ac_try_echo=$ac_try;;
20831 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20832 (eval "$ac_link") 2>conftest.er1
20834 grep -v '^ *+' conftest.er1 >conftest.err
20836 cat conftest.err >&5
20837 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20838 (exit $ac_status); } && {
20839 test -z "$ac_c_werror_flag" ||
20840 test ! -s conftest.err
20841 } && test -s conftest$ac_exeext &&
20842 $as_test_x conftest$ac_exeext; then
20843 eval "$as_ac_var=yes"
20845 echo "$as_me: failed program was
:" >&5
20846 sed 's/^/| /' conftest.$ac_ext >&5
20848 eval "$as_ac_var=no
"
20851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20852 conftest$ac_exeext conftest.$ac_ext
20854 ac_res=`eval echo '${'$as_ac_var'}'`
20855 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20856 echo "${ECHO_T}$ac_res" >&6; }
20857 if test `eval echo '${'$as_ac_var'}'` = yes; then
20858 cat >>confdefs.h <<_ACEOF
20859 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
20892 for ac_header in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
20895 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20896 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20897 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20898 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20899 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20900 echo $ECHO_N "(cached
) $ECHO_C" >&6
20902 ac_res=`eval echo '${'$as_ac_Header'}'`
20903 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20904 echo "${ECHO_T}$ac_res" >&6; }
20906 # Is the header compilable?
20907 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
20908 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
20909 cat >conftest.$ac_ext <<_ACEOF
20912 cat confdefs.h >>conftest.$ac_ext
20913 cat >>conftest.$ac_ext <<_ACEOF
20914 /* end confdefs.h. */
20915 $ac_includes_default
20916 #include <$ac_header>
20918 rm -f conftest.$ac_objext
20919 if { (ac_try="$ac_compile"
20920 case "(($ac_try" in
20921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20922 *) ac_try_echo=$ac_try;;
20924 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20925 (eval "$ac_compile") 2>conftest.er1
20927 grep -v '^ *+' conftest.er1 >conftest.err
20929 cat conftest.err >&5
20930 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20931 (exit $ac_status); } && {
20932 test -z "$ac_c_werror_flag" ||
20933 test ! -s conftest.err
20934 } && test -s conftest.$ac_objext; then
20935 ac_header_compiler=yes
20937 echo "$as_me: failed program was
:" >&5
20938 sed 's/^/| /' conftest.$ac_ext >&5
20940 ac_header_compiler=no
20943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20944 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20945 echo "${ECHO_T}$ac_header_compiler" >&6; }
20947 # Is the header present?
20948 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
20949 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
20950 cat >conftest.$ac_ext <<_ACEOF
20953 cat confdefs.h >>conftest.$ac_ext
20954 cat >>conftest.$ac_ext <<_ACEOF
20955 /* end confdefs.h. */
20956 #include <$ac_header>
20958 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20959 case "(($ac_try" in
20960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20961 *) ac_try_echo=$ac_try;;
20963 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20964 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20966 grep -v '^ *+' conftest.er1 >conftest.err
20968 cat conftest.err >&5
20969 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20970 (exit $ac_status); } >/dev/null && {
20971 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20972 test ! -s conftest.err
20974 ac_header_preproc=yes
20976 echo "$as_me: failed program was
:" >&5
20977 sed 's/^/| /' conftest.$ac_ext >&5
20979 ac_header_preproc=no
20982 rm -f conftest.err conftest.$ac_ext
20983 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20984 echo "${ECHO_T}$ac_header_preproc" >&6; }
20986 # So? What about this header?
20987 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20989 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
20990 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20991 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
20992 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
20993 ac_header_preproc=yes
20996 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
20997 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
20998 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
20999 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
21000 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
21001 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
21002 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
21003 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
21004 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
21005 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
21006 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
21007 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
21011 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21012 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21013 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21014 echo $ECHO_N "(cached
) $ECHO_C" >&6
21016 eval "$as_ac_Header=\
$ac_header_preproc"
21018 ac_res=`eval echo '${'$as_ac_Header'}'`
21019 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21020 echo "${ECHO_T}$ac_res" >&6; }
21023 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21024 cat >>confdefs.h <<_ACEOF
21025 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21036 for ac_header in dl.h sys/dl.h dld.h mach-o/dyld.h
21038 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21039 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21040 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21041 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21042 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21043 echo $ECHO_N "(cached
) $ECHO_C" >&6
21045 ac_res=`eval echo '${'$as_ac_Header'}'`
21046 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21047 echo "${ECHO_T}$ac_res" >&6; }
21049 # Is the header compilable?
21050 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
21051 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
21052 cat >conftest.$ac_ext <<_ACEOF
21055 cat confdefs.h >>conftest.$ac_ext
21056 cat >>conftest.$ac_ext <<_ACEOF
21057 /* end confdefs.h. */
21058 $ac_includes_default
21059 #include <$ac_header>
21061 rm -f conftest.$ac_objext
21062 if { (ac_try="$ac_compile"
21063 case "(($ac_try" in
21064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21065 *) ac_try_echo=$ac_try;;
21067 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21068 (eval "$ac_compile") 2>conftest.er1
21070 grep -v '^ *+' conftest.er1 >conftest.err
21072 cat conftest.err >&5
21073 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21074 (exit $ac_status); } && {
21075 test -z "$ac_c_werror_flag" ||
21076 test ! -s conftest.err
21077 } && test -s conftest.$ac_objext; then
21078 ac_header_compiler=yes
21080 echo "$as_me: failed program was
:" >&5
21081 sed 's/^/| /' conftest.$ac_ext >&5
21083 ac_header_compiler=no
21086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21087 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21088 echo "${ECHO_T}$ac_header_compiler" >&6; }
21090 # Is the header present?
21091 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
21092 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
21093 cat >conftest.$ac_ext <<_ACEOF
21096 cat confdefs.h >>conftest.$ac_ext
21097 cat >>conftest.$ac_ext <<_ACEOF
21098 /* end confdefs.h. */
21099 #include <$ac_header>
21101 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21102 case "(($ac_try" in
21103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21104 *) ac_try_echo=$ac_try;;
21106 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21107 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21109 grep -v '^ *+' conftest.er1 >conftest.err
21111 cat conftest.err >&5
21112 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21113 (exit $ac_status); } >/dev/null && {
21114 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21115 test ! -s conftest.err
21117 ac_header_preproc=yes
21119 echo "$as_me: failed program was
:" >&5
21120 sed 's/^/| /' conftest.$ac_ext >&5
21122 ac_header_preproc=no
21125 rm -f conftest.err conftest.$ac_ext
21126 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21127 echo "${ECHO_T}$ac_header_preproc" >&6; }
21129 # So? What about this header?
21130 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21132 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
21133 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21134 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
21135 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
21136 ac_header_preproc=yes
21139 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
21140 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
21141 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
21142 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
21143 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
21144 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
21145 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
21146 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
21147 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
21148 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
21149 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
21150 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
21154 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21155 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21156 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21157 echo $ECHO_N "(cached
) $ECHO_C" >&6
21159 eval "$as_ac_Header=\
$ac_header_preproc"
21161 ac_res=`eval echo '${'$as_ac_Header'}'`
21162 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21163 echo "${ECHO_T}$ac_res" >&6; }
21166 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21167 cat >>confdefs.h <<_ACEOF
21168 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21177 for ac_header in string.h strings.h
21179 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21180 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21181 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21182 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21183 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21184 echo $ECHO_N "(cached
) $ECHO_C" >&6
21186 ac_res=`eval echo '${'$as_ac_Header'}'`
21187 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21188 echo "${ECHO_T}$ac_res" >&6; }
21190 # Is the header compilable?
21191 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
21192 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
21193 cat >conftest.$ac_ext <<_ACEOF
21196 cat confdefs.h >>conftest.$ac_ext
21197 cat >>conftest.$ac_ext <<_ACEOF
21198 /* end confdefs.h. */
21199 $ac_includes_default
21200 #include <$ac_header>
21202 rm -f conftest.$ac_objext
21203 if { (ac_try="$ac_compile"
21204 case "(($ac_try" in
21205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21206 *) ac_try_echo=$ac_try;;
21208 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21209 (eval "$ac_compile") 2>conftest.er1
21211 grep -v '^ *+' conftest.er1 >conftest.err
21213 cat conftest.err >&5
21214 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21215 (exit $ac_status); } && {
21216 test -z "$ac_c_werror_flag" ||
21217 test ! -s conftest.err
21218 } && test -s conftest.$ac_objext; then
21219 ac_header_compiler=yes
21221 echo "$as_me: failed program was
:" >&5
21222 sed 's/^/| /' conftest.$ac_ext >&5
21224 ac_header_compiler=no
21227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21228 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21229 echo "${ECHO_T}$ac_header_compiler" >&6; }
21231 # Is the header present?
21232 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
21233 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
21234 cat >conftest.$ac_ext <<_ACEOF
21237 cat confdefs.h >>conftest.$ac_ext
21238 cat >>conftest.$ac_ext <<_ACEOF
21239 /* end confdefs.h. */
21240 #include <$ac_header>
21242 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21243 case "(($ac_try" in
21244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21245 *) ac_try_echo=$ac_try;;
21247 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21248 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21250 grep -v '^ *+' conftest.er1 >conftest.err
21252 cat conftest.err >&5
21253 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21254 (exit $ac_status); } >/dev/null && {
21255 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21256 test ! -s conftest.err
21258 ac_header_preproc=yes
21260 echo "$as_me: failed program was
:" >&5
21261 sed 's/^/| /' conftest.$ac_ext >&5
21263 ac_header_preproc=no
21266 rm -f conftest.err conftest.$ac_ext
21267 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21268 echo "${ECHO_T}$ac_header_preproc" >&6; }
21270 # So? What about this header?
21271 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21273 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
21274 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21275 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
21276 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
21277 ac_header_preproc=yes
21280 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
21281 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
21282 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
21283 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
21284 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
21285 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
21286 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
21287 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
21288 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
21289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
21290 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
21291 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
21295 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21296 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21297 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21298 echo $ECHO_N "(cached
) $ECHO_C" >&6
21300 eval "$as_ac_Header=\
$ac_header_preproc"
21302 ac_res=`eval echo '${'$as_ac_Header'}'`
21303 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21304 echo "${ECHO_T}$ac_res" >&6; }
21307 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21308 cat >>confdefs.h <<_ACEOF
21309 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21319 for ac_func in strchr index
21321 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
21322 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
21323 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
21324 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
21325 echo $ECHO_N "(cached
) $ECHO_C" >&6
21327 cat >conftest.$ac_ext <<_ACEOF
21330 cat confdefs.h >>conftest.$ac_ext
21331 cat >>conftest.$ac_ext <<_ACEOF
21332 /* end confdefs.h. */
21333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21335 #define $ac_func innocuous_$ac_func
21337 /* System header to define __stub macros and hopefully few prototypes,
21338 which can conflict with char $ac_func (); below.
21339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21340 <limits.h> exists even on freestanding compilers. */
21343 # include <limits.h>
21345 # include <assert.h>
21350 /* Override any GCC internal prototype to avoid an error.
21351 Use char because int might match the return type of a GCC
21352 builtin and then its argument prototype would still apply. */
21357 /* The GNU C library defines this for functions which it implements
21358 to always fail with ENOSYS. Some functions are actually named
21359 something starting with __ and the normal name is an alias. */
21360 #if defined __stub_$ac_func || defined __stub___$ac_func
21367 return $ac_func ();
21372 rm -f conftest.$ac_objext conftest$ac_exeext
21373 if { (ac_try="$ac_link"
21374 case "(($ac_try" in
21375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21376 *) ac_try_echo=$ac_try;;
21378 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21379 (eval "$ac_link") 2>conftest.er1
21381 grep -v '^ *+' conftest.er1 >conftest.err
21383 cat conftest.err >&5
21384 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21385 (exit $ac_status); } && {
21386 test -z "$ac_c_werror_flag" ||
21387 test ! -s conftest.err
21388 } && test -s conftest$ac_exeext &&
21389 $as_test_x conftest$ac_exeext; then
21390 eval "$as_ac_var=yes"
21392 echo "$as_me: failed program was
:" >&5
21393 sed 's/^/| /' conftest.$ac_ext >&5
21395 eval "$as_ac_var=no
"
21398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21399 conftest$ac_exeext conftest.$ac_ext
21401 ac_res=`eval echo '${'$as_ac_var'}'`
21402 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21403 echo "${ECHO_T}$ac_res" >&6; }
21404 if test `eval echo '${'$as_ac_var'}'` = yes; then
21405 cat >>confdefs.h <<_ACEOF
21406 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
21414 for ac_func in strrchr rindex
21416 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
21417 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
21418 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
21419 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
21420 echo $ECHO_N "(cached
) $ECHO_C" >&6
21422 cat >conftest.$ac_ext <<_ACEOF
21425 cat confdefs.h >>conftest.$ac_ext
21426 cat >>conftest.$ac_ext <<_ACEOF
21427 /* end confdefs.h. */
21428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21430 #define $ac_func innocuous_$ac_func
21432 /* System header to define __stub macros and hopefully few prototypes,
21433 which can conflict with char $ac_func (); below.
21434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21435 <limits.h> exists even on freestanding compilers. */
21438 # include <limits.h>
21440 # include <assert.h>
21445 /* Override any GCC internal prototype to avoid an error.
21446 Use char because int might match the return type of a GCC
21447 builtin and then its argument prototype would still apply. */
21452 /* The GNU C library defines this for functions which it implements
21453 to always fail with ENOSYS. Some functions are actually named
21454 something starting with __ and the normal name is an alias. */
21455 #if defined __stub_$ac_func || defined __stub___$ac_func
21462 return $ac_func ();
21467 rm -f conftest.$ac_objext conftest$ac_exeext
21468 if { (ac_try="$ac_link"
21469 case "(($ac_try" in
21470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21471 *) ac_try_echo=$ac_try;;
21473 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21474 (eval "$ac_link") 2>conftest.er1
21476 grep -v '^ *+' conftest.er1 >conftest.err
21478 cat conftest.err >&5
21479 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21480 (exit $ac_status); } && {
21481 test -z "$ac_c_werror_flag" ||
21482 test ! -s conftest.err
21483 } && test -s conftest$ac_exeext &&
21484 $as_test_x conftest$ac_exeext; then
21485 eval "$as_ac_var=yes"
21487 echo "$as_me: failed program was
:" >&5
21488 sed 's/^/| /' conftest.$ac_ext >&5
21490 eval "$as_ac_var=no
"
21493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21494 conftest$ac_exeext conftest.$ac_ext
21496 ac_res=`eval echo '${'$as_ac_var'}'`
21497 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21498 echo "${ECHO_T}$ac_res" >&6; }
21499 if test `eval echo '${'$as_ac_var'}'` = yes; then
21500 cat >>confdefs.h <<_ACEOF
21501 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
21509 for ac_func in memcpy bcopy
21511 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
21512 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
21513 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
21514 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
21515 echo $ECHO_N "(cached
) $ECHO_C" >&6
21517 cat >conftest.$ac_ext <<_ACEOF
21520 cat confdefs.h >>conftest.$ac_ext
21521 cat >>conftest.$ac_ext <<_ACEOF
21522 /* end confdefs.h. */
21523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21525 #define $ac_func innocuous_$ac_func
21527 /* System header to define __stub macros and hopefully few prototypes,
21528 which can conflict with char $ac_func (); below.
21529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21530 <limits.h> exists even on freestanding compilers. */
21533 # include <limits.h>
21535 # include <assert.h>
21540 /* Override any GCC internal prototype to avoid an error.
21541 Use char because int might match the return type of a GCC
21542 builtin and then its argument prototype would still apply. */
21547 /* The GNU C library defines this for functions which it implements
21548 to always fail with ENOSYS. Some functions are actually named
21549 something starting with __ and the normal name is an alias. */
21550 #if defined __stub_$ac_func || defined __stub___$ac_func
21557 return $ac_func ();
21562 rm -f conftest.$ac_objext conftest$ac_exeext
21563 if { (ac_try="$ac_link"
21564 case "(($ac_try" in
21565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21566 *) ac_try_echo=$ac_try;;
21568 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21569 (eval "$ac_link") 2>conftest.er1
21571 grep -v '^ *+' conftest.er1 >conftest.err
21573 cat conftest.err >&5
21574 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21575 (exit $ac_status); } && {
21576 test -z "$ac_c_werror_flag" ||
21577 test ! -s conftest.err
21578 } && test -s conftest$ac_exeext &&
21579 $as_test_x conftest$ac_exeext; then
21580 eval "$as_ac_var=yes"
21582 echo "$as_me: failed program was
:" >&5
21583 sed 's/^/| /' conftest.$ac_ext >&5
21585 eval "$as_ac_var=no
"
21588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21589 conftest$ac_exeext conftest.$ac_ext
21591 ac_res=`eval echo '${'$as_ac_var'}'`
21592 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21593 echo "${ECHO_T}$ac_res" >&6; }
21594 if test `eval echo '${'$as_ac_var'}'` = yes; then
21595 cat >>confdefs.h <<_ACEOF
21596 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
21604 for ac_func in memmove strcmp
21606 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
21607 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
21608 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
21609 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
21610 echo $ECHO_N "(cached
) $ECHO_C" >&6
21612 cat >conftest.$ac_ext <<_ACEOF
21615 cat confdefs.h >>conftest.$ac_ext
21616 cat >>conftest.$ac_ext <<_ACEOF
21617 /* end confdefs.h. */
21618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21620 #define $ac_func innocuous_$ac_func
21622 /* System header to define __stub macros and hopefully few prototypes,
21623 which can conflict with char $ac_func (); below.
21624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21625 <limits.h> exists even on freestanding compilers. */
21628 # include <limits.h>
21630 # include <assert.h>
21635 /* Override any GCC internal prototype to avoid an error.
21636 Use char because int might match the return type of a GCC
21637 builtin and then its argument prototype would still apply. */
21642 /* The GNU C library defines this for functions which it implements
21643 to always fail with ENOSYS. Some functions are actually named
21644 something starting with __ and the normal name is an alias. */
21645 #if defined __stub_$ac_func || defined __stub___$ac_func
21652 return $ac_func ();
21657 rm -f conftest.$ac_objext conftest$ac_exeext
21658 if { (ac_try="$ac_link"
21659 case "(($ac_try" in
21660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21661 *) ac_try_echo=$ac_try;;
21663 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21664 (eval "$ac_link") 2>conftest.er1
21666 grep -v '^ *+' conftest.er1 >conftest.err
21668 cat conftest.err >&5
21669 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21670 (exit $ac_status); } && {
21671 test -z "$ac_c_werror_flag" ||
21672 test ! -s conftest.err
21673 } && test -s conftest$ac_exeext &&
21674 $as_test_x conftest$ac_exeext; then
21675 eval "$as_ac_var=yes"
21677 echo "$as_me: failed program was
:" >&5
21678 sed 's/^/| /' conftest.$ac_ext >&5
21680 eval "$as_ac_var=no
"
21683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21684 conftest$ac_exeext conftest.$ac_ext
21686 ac_res=`eval echo '${'$as_ac_var'}'`
21687 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21688 echo "${ECHO_T}$ac_res" >&6; }
21689 if test `eval echo '${'$as_ac_var'}'` = yes; then
21690 cat >>confdefs.h <<_ACEOF
21691 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
21700 for ac_func in closedir opendir readdir
21702 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
21703 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
21704 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
21705 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
21706 echo $ECHO_N "(cached
) $ECHO_C" >&6
21708 cat >conftest.$ac_ext <<_ACEOF
21711 cat confdefs.h >>conftest.$ac_ext
21712 cat >>conftest.$ac_ext <<_ACEOF
21713 /* end confdefs.h. */
21714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21716 #define $ac_func innocuous_$ac_func
21718 /* System header to define __stub macros and hopefully few prototypes,
21719 which can conflict with char $ac_func (); below.
21720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21721 <limits.h> exists even on freestanding compilers. */
21724 # include <limits.h>
21726 # include <assert.h>
21731 /* Override any GCC internal prototype to avoid an error.
21732 Use char because int might match the return type of a GCC
21733 builtin and then its argument prototype would still apply. */
21738 /* The GNU C library defines this for functions which it implements
21739 to always fail with ENOSYS. Some functions are actually named
21740 something starting with __ and the normal name is an alias. */
21741 #if defined __stub_$ac_func || defined __stub___$ac_func
21748 return $ac_func ();
21753 rm -f conftest.$ac_objext conftest$ac_exeext
21754 if { (ac_try="$ac_link"
21755 case "(($ac_try" in
21756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21757 *) ac_try_echo=$ac_try;;
21759 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21760 (eval "$ac_link") 2>conftest.er1
21762 grep -v '^ *+' conftest.er1 >conftest.err
21764 cat conftest.err >&5
21765 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21766 (exit $ac_status); } && {
21767 test -z "$ac_c_werror_flag" ||
21768 test ! -s conftest.err
21769 } && test -s conftest$ac_exeext &&
21770 $as_test_x conftest$ac_exeext; then
21771 eval "$as_ac_var=yes"
21773 echo "$as_me: failed program was
:" >&5
21774 sed 's/^/| /' conftest.$ac_ext >&5
21776 eval "$as_ac_var=no
"
21779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21780 conftest$ac_exeext conftest.$ac_ext
21782 ac_res=`eval echo '${'$as_ac_var'}'`
21783 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21784 echo "${ECHO_T}$ac_res" >&6; }
21785 if test `eval echo '${'$as_ac_var'}'` = yes; then
21786 cat >>confdefs.h <<_ACEOF
21787 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
21795 { echo "$as_me:$LINENO: checking
for X
" >&5
21796 echo $ECHO_N "checking
for X...
$ECHO_C" >&6; }
21799 # Check whether --with-x was given.
21800 if test "${with_x+set}" = set; then
21804 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21805 if test "x
$with_x" = xno; then
21806 # The user explicitly disabled X.
21809 case $x_includes,$x_libraries in #(
21810 *\'*) { { echo "$as_me:$LINENO: error
: Cannot use X directory names containing
'" >&5
21811 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
21812 { (exit 1); exit 1; }; };; #(
21813 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
21814 echo $ECHO_N "(cached
) $ECHO_C" >&6
21816 # One or both of the vars are not set, and there is no cached value.
21817 ac_x_includes=no ac_x_libraries=no
21818 rm -f -r conftest.dir
21819 if mkdir conftest.dir; then
21821 cat >Imakefile <<'_ACEOF'
21823 @echo incroot='${INCROOT}'
21825 @echo usrlibdir='${USRLIBDIR}'
21827 @echo libdir='${LIBDIR}'
21829 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
21830 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
21831 for ac_var in incroot usrlibdir libdir; do
21832 eval "ac_im_
$ac_var=\
`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
21834 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21835 for ac_extension in a so sl; do
21836 if test ! -f "$ac_im_usrlibdir/libX11.
$ac_extension" &&
21837 test -f "$ac_im_libdir/libX11.
$ac_extension"; then
21838 ac_im_usrlibdir=$ac_im_libdir; break
21841 # Screen out bogus values from the imake configuration. They are
21842 # bogus both because they are the default anyway, and because
21843 # using them would break gcc on systems where it needs fixed includes.
21844 case $ac_im_incroot in
21845 /usr/include) ac_x_includes= ;;
21846 *) test -f "$ac_im_incroot/X11
/Xos.h
" && ac_x_includes=$ac_im_incroot;;
21848 case $ac_im_usrlibdir in
21849 /usr/lib | /lib) ;;
21850 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21854 rm -f -r conftest.dir
21857 # Standard set of common directories for X headers.
21858 # Check X11 before X11Rn because it is often a symlink to the current release.
21870 /usr/local/X11/include
21871 /usr/local/X11R6/include
21872 /usr/local/X11R5/include
21873 /usr/local/X11R4/include
21875 /usr/local/include/X11
21876 /usr/local/include/X11R6
21877 /usr/local/include/X11R5
21878 /usr/local/include/X11R4
21882 /usr/XFree86/include/X11
21886 /usr/unsupported/include
21887 /usr/athena/include
21888 /usr/local/x11r5/include
21889 /usr/lpp/Xamples/include
21891 /usr/openwin/include
21892 /usr/openwin/share/include'
21894 if test "$ac_x_includes" = no; then
21895 # Guess where to find include files, by looking for Xlib.h.
21896 # First, try using that file with no special directory specified.
21897 cat >conftest.$ac_ext <<_ACEOF
21900 cat confdefs.h >>conftest.$ac_ext
21901 cat >>conftest.$ac_ext <<_ACEOF
21902 /* end confdefs.h. */
21903 #include <X11/Xlib.h>
21905 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21906 case "(($ac_try" in
21907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21908 *) ac_try_echo=$ac_try;;
21910 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21911 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21913 grep -v '^ *+' conftest.er1 >conftest.err
21915 cat conftest.err >&5
21916 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21917 (exit $ac_status); } >/dev/null && {
21918 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21919 test ! -s conftest.err
21921 # We can compile using X headers with no special include directory.
21924 echo "$as_me: failed program was
:" >&5
21925 sed 's/^/| /' conftest.$ac_ext >&5
21927 for ac_dir in $ac_x_header_dirs; do
21928 if test -r "$ac_dir/X11
/Xlib.h
"; then
21929 ac_x_includes=$ac_dir
21935 rm -f conftest.err conftest.$ac_ext
21936 fi # $ac_x_includes = no
21938 if test "$ac_x_libraries" = no; then
21939 # Check for the libraries.
21940 # See if we find them without any special options.
21941 # Don't add to $LIBS permanently.
21944 cat >conftest.$ac_ext <<_ACEOF
21947 cat confdefs.h >>conftest.$ac_ext
21948 cat >>conftest.$ac_ext <<_ACEOF
21949 /* end confdefs.h. */
21950 #include <X11/Xlib.h>
21959 rm -f conftest.$ac_objext conftest$ac_exeext
21960 if { (ac_try="$ac_link"
21961 case "(($ac_try" in
21962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21963 *) ac_try_echo=$ac_try;;
21965 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21966 (eval "$ac_link") 2>conftest.er1
21968 grep -v '^ *+' conftest.er1 >conftest.err
21970 cat conftest.err >&5
21971 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21972 (exit $ac_status); } && {
21973 test -z "$ac_c_werror_flag" ||
21974 test ! -s conftest.err
21975 } && test -s conftest$ac_exeext &&
21976 $as_test_x conftest$ac_exeext; then
21978 # We can link X programs with no special library path.
21981 echo "$as_me: failed program was
:" >&5
21982 sed 's/^/| /' conftest.$ac_ext >&5
21985 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21987 # Don't even attempt the hair of trying to link an X program!
21988 for ac_extension in a so sl; do
21989 if test -r "$ac_dir/libX11.
$ac_extension"; then
21990 ac_x_libraries=$ac_dir
21997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21998 conftest$ac_exeext conftest.$ac_ext
21999 fi # $ac_x_libraries = no
22001 case $ac_x_includes,$ac_x_libraries in #(
22002 no,* | *,no | *\'*)
22003 # Didn't find X, or a directory has "'" in its name.
22004 ac_cv_have_x="have_x=no";; #(
22006 # Record where we found X for the cache.
22007 ac_cv_have_x="have_x=yes\
22008 ac_x_includes='$ac_x_includes'\
22009 ac_x_libraries='$ac_x_libraries'"
22015 eval "$ac_cv_have_x"
22018 if test "$have_x" != yes; then
22019 { echo "$as_me:$LINENO: result: $have_x" >&5
22020 echo "${ECHO_T}$have_x" >&6; }
22023 # If each of the values was on the command line, it overrides each guess.
22024 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
22025 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
22026 # Update the cache value to reflect the command line values.
22027 ac_cv_have_x="have_x=yes\
22028 ac_x_includes='$x_includes'\
22029 ac_x_libraries='$x_libraries'"
22030 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
22031 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
22034 if test "$no_x" = yes; then
22035 # Not all programs may use this symbol, but it does not hurt to define it.
22037 cat >>confdefs.h <<\_ACEOF
22038 #define X_DISPLAY_MISSING 1
22041 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22043 if test -n "$x_includes"; then
22044 X_CFLAGS="$X_CFLAGS -I$x_includes"
22047 # It would also be nice to do this for all -L options, not just this one.
22048 if test -n "$x_libraries"; then
22049 X_LIBS="$X_LIBS -L$x_libraries"
22050 # For Solaris; some versions of Sun CC require a space after -R and
22051 # others require no space. Words are not sufficient . . . .
22052 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22053 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
22054 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22055 ac_xsave_c_werror_flag=$ac_c_werror_flag
22056 ac_c_werror_flag=yes
22057 cat >conftest.$ac_ext <<_ACEOF
22060 cat confdefs.h >>conftest.$ac_ext
22061 cat >>conftest.$ac_ext <<_ACEOF
22062 /* end confdefs.h. */
22072 rm -f conftest.$ac_objext conftest$ac_exeext
22073 if { (ac_try="$ac_link"
22074 case "(($ac_try" in
22075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22076 *) ac_try_echo=$ac_try;;
22078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22079 (eval "$ac_link") 2>conftest.er1
22081 grep -v '^
*+' conftest.er1 >conftest.err
22083 cat conftest.err >&5
22084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22085 (exit $ac_status); } && {
22086 test -z "$ac_c_werror_flag" ||
22087 test ! -s conftest.err
22088 } && test -s conftest$ac_exeext &&
22089 $as_test_x conftest$ac_exeext; then
22090 { echo "$as_me:$LINENO: result: no" >&5
22091 echo "${ECHO_T}no" >&6; }
22092 X_LIBS="$X_LIBS -R$x_libraries"
22094 echo "$as_me: failed program was:" >&5
22095 sed 's
/^
/|
/' conftest.$ac_ext >&5
22097 LIBS="$ac_xsave_LIBS -R $x_libraries"
22098 cat >conftest.$ac_ext <<_ACEOF
22101 cat confdefs.h >>conftest.$ac_ext
22102 cat >>conftest.$ac_ext <<_ACEOF
22103 /* end confdefs.h. */
22113 rm -f conftest.$ac_objext conftest$ac_exeext
22114 if { (ac_try="$ac_link"
22115 case "(($ac_try" in
22116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22117 *) ac_try_echo=$ac_try;;
22119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22120 (eval "$ac_link") 2>conftest.er1
22122 grep -v '^
*+' conftest.er1 >conftest.err
22124 cat conftest.err >&5
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); } && {
22127 test -z "$ac_c_werror_flag" ||
22128 test ! -s conftest.err
22129 } && test -s conftest$ac_exeext &&
22130 $as_test_x conftest$ac_exeext; then
22131 { echo "$as_me:$LINENO: result: yes" >&5
22132 echo "${ECHO_T}yes" >&6; }
22133 X_LIBS="$X_LIBS -R $x_libraries"
22135 echo "$as_me: failed program was:" >&5
22136 sed 's
/^
/|
/' conftest.$ac_ext >&5
22138 { echo "$as_me:$LINENO: result: neither works" >&5
22139 echo "${ECHO_T}neither works" >&6; }
22142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22143 conftest$ac_exeext conftest.$ac_ext
22146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22147 conftest$ac_exeext conftest.$ac_ext
22148 ac_c_werror_flag=$ac_xsave_c_werror_flag
22149 LIBS=$ac_xsave_LIBS
22152 # Check for system-dependent libraries X programs must link with.
22153 # Do this before checking for the system-independent R6 libraries
22154 # (-lICE), since we may need -lsocket or whatever for X linking.
22156 if test "$ISC" = yes; then
22157 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22159 # Martyn Johnson says this is needed for Ultrix, if the X
22160 # libraries were built with DECnet support. And Karl Berry says
22161 # the Alpha needs dnet_stub (dnet does not exist).
22162 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22163 cat >conftest.$ac_ext <<_ACEOF
22166 cat confdefs.h >>conftest.$ac_ext
22167 cat >>conftest.$ac_ext <<_ACEOF
22168 /* end confdefs.h. */
22170 /* Override any GCC internal prototype to avoid an error.
22171 Use char because int might match the return type of a GCC
22172 builtin and then its argument prototype would still apply. */
22176 char XOpenDisplay ();
22180 return XOpenDisplay ();
22185 rm -f conftest.$ac_objext conftest$ac_exeext
22186 if { (ac_try="$ac_link"
22187 case "(($ac_try" in
22188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22189 *) ac_try_echo=$ac_try;;
22191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22192 (eval "$ac_link") 2>conftest.er1
22194 grep -v '^
*+' conftest.er1 >conftest.err
22196 cat conftest.err >&5
22197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22198 (exit $ac_status); } && {
22199 test -z "$ac_c_werror_flag" ||
22200 test ! -s conftest.err
22201 } && test -s conftest$ac_exeext &&
22202 $as_test_x conftest$ac_exeext; then
22205 echo "$as_me: failed program was:" >&5
22206 sed 's
/^
/|
/' conftest.$ac_ext >&5
22208 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22209 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
22210 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22211 echo $ECHO_N "(cached) $ECHO_C" >&6
22213 ac_check_lib_save_LIBS=$LIBS
22214 LIBS="-ldnet $LIBS"
22215 cat >conftest.$ac_ext <<_ACEOF
22218 cat confdefs.h >>conftest.$ac_ext
22219 cat >>conftest.$ac_ext <<_ACEOF
22220 /* end confdefs.h. */
22222 /* Override any GCC internal prototype to avoid an error.
22223 Use char because int might match the return type of a GCC
22224 builtin and then its argument prototype would still apply. */
22232 return dnet_ntoa ();
22237 rm -f conftest.$ac_objext conftest$ac_exeext
22238 if { (ac_try="$ac_link"
22239 case "(($ac_try" in
22240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22241 *) ac_try_echo=$ac_try;;
22243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22244 (eval "$ac_link") 2>conftest.er1
22246 grep -v '^
*+' conftest.er1 >conftest.err
22248 cat conftest.err >&5
22249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22250 (exit $ac_status); } && {
22251 test -z "$ac_c_werror_flag" ||
22252 test ! -s conftest.err
22253 } && test -s conftest$ac_exeext &&
22254 $as_test_x conftest$ac_exeext; then
22255 ac_cv_lib_dnet_dnet_ntoa=yes
22257 echo "$as_me: failed program was:" >&5
22258 sed 's
/^
/|
/' conftest.$ac_ext >&5
22260 ac_cv_lib_dnet_dnet_ntoa=no
22263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22264 conftest$ac_exeext conftest.$ac_ext
22265 LIBS=$ac_check_lib_save_LIBS
22267 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22268 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
22269 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22270 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22273 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22274 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22275 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
22276 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22277 echo $ECHO_N "(cached) $ECHO_C" >&6
22279 ac_check_lib_save_LIBS=$LIBS
22280 LIBS="-ldnet_stub $LIBS"
22281 cat >conftest.$ac_ext <<_ACEOF
22284 cat confdefs.h >>conftest.$ac_ext
22285 cat >>conftest.$ac_ext <<_ACEOF
22286 /* end confdefs.h. */
22288 /* Override any GCC internal prototype to avoid an error.
22289 Use char because int might match the return type of a GCC
22290 builtin and then its argument prototype would still apply. */
22298 return dnet_ntoa ();
22303 rm -f conftest.$ac_objext conftest$ac_exeext
22304 if { (ac_try="$ac_link"
22305 case "(($ac_try" in
22306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22307 *) ac_try_echo=$ac_try;;
22309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22310 (eval "$ac_link") 2>conftest.er1
22312 grep -v '^
*+' conftest.er1 >conftest.err
22314 cat conftest.err >&5
22315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22316 (exit $ac_status); } && {
22317 test -z "$ac_c_werror_flag" ||
22318 test ! -s conftest.err
22319 } && test -s conftest$ac_exeext &&
22320 $as_test_x conftest$ac_exeext; then
22321 ac_cv_lib_dnet_stub_dnet_ntoa=yes
22323 echo "$as_me: failed program was:" >&5
22324 sed 's
/^
/|
/' conftest.$ac_ext >&5
22326 ac_cv_lib_dnet_stub_dnet_ntoa=no
22329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22330 conftest$ac_exeext conftest.$ac_ext
22331 LIBS=$ac_check_lib_save_LIBS
22333 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22334 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
22335 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22336 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22343 conftest$ac_exeext conftest.$ac_ext
22344 LIBS="$ac_xsave_LIBS"
22346 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22347 # to get the SysV transport functions.
22348 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22350 # The nsl library prevents programs from opening the X display
22351 # on Irix 5.2, according to T.E. Dickey.
22352 # The functions gethostbyname, getservbyname, and inet_addr are
22353 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22354 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
22355 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
22356 if test "${ac_cv_func_gethostbyname+set}" = set; then
22357 echo $ECHO_N "(cached) $ECHO_C" >&6
22359 cat >conftest.$ac_ext <<_ACEOF
22362 cat confdefs.h >>conftest.$ac_ext
22363 cat >>conftest.$ac_ext <<_ACEOF
22364 /* end confdefs.h. */
22365 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
22366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22367 #define gethostbyname innocuous_gethostbyname
22369 /* System header to define __stub macros and hopefully few prototypes,
22370 which can conflict with char gethostbyname (); below.
22371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22372 <limits.h> exists even on freestanding compilers. */
22375 # include <limits.h>
22377 # include <assert.h>
22380 #undef gethostbyname
22382 /* Override any GCC internal prototype to avoid an error.
22383 Use char because int might match the return type of a GCC
22384 builtin and then its argument prototype would still apply. */
22388 char gethostbyname ();
22389 /* The GNU C library defines this for functions which it implements
22390 to always fail with ENOSYS. Some functions are actually named
22391 something starting with __ and the normal name is an alias. */
22392 #if defined __stub_gethostbyname || defined __stub___gethostbyname
22399 return gethostbyname ();
22404 rm -f conftest.$ac_objext conftest$ac_exeext
22405 if { (ac_try="$ac_link"
22406 case "(($ac_try" in
22407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22408 *) ac_try_echo=$ac_try;;
22410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22411 (eval "$ac_link") 2>conftest.er1
22413 grep -v '^
*+' conftest.er1 >conftest.err
22415 cat conftest.err >&5
22416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22417 (exit $ac_status); } && {
22418 test -z "$ac_c_werror_flag" ||
22419 test ! -s conftest.err
22420 } && test -s conftest$ac_exeext &&
22421 $as_test_x conftest$ac_exeext; then
22422 ac_cv_func_gethostbyname=yes
22424 echo "$as_me: failed program was:" >&5
22425 sed 's
/^
/|
/' conftest.$ac_ext >&5
22427 ac_cv_func_gethostbyname=no
22430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22431 conftest$ac_exeext conftest.$ac_ext
22433 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22434 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
22436 if test $ac_cv_func_gethostbyname = no; then
22437 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22438 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
22439 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22440 echo $ECHO_N "(cached) $ECHO_C" >&6
22442 ac_check_lib_save_LIBS=$LIBS
22444 cat >conftest.$ac_ext <<_ACEOF
22447 cat confdefs.h >>conftest.$ac_ext
22448 cat >>conftest.$ac_ext <<_ACEOF
22449 /* end confdefs.h. */
22451 /* Override any GCC internal prototype to avoid an error.
22452 Use char because int might match the return type of a GCC
22453 builtin and then its argument prototype would still apply. */
22457 char gethostbyname ();
22461 return gethostbyname ();
22466 rm -f conftest.$ac_objext conftest$ac_exeext
22467 if { (ac_try="$ac_link"
22468 case "(($ac_try" in
22469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22470 *) ac_try_echo=$ac_try;;
22472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22473 (eval "$ac_link") 2>conftest.er1
22475 grep -v '^
*+' conftest.er1 >conftest.err
22477 cat conftest.err >&5
22478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22479 (exit $ac_status); } && {
22480 test -z "$ac_c_werror_flag" ||
22481 test ! -s conftest.err
22482 } && test -s conftest$ac_exeext &&
22483 $as_test_x conftest$ac_exeext; then
22484 ac_cv_lib_nsl_gethostbyname=yes
22486 echo "$as_me: failed program was:" >&5
22487 sed 's
/^
/|
/' conftest.$ac_ext >&5
22489 ac_cv_lib_nsl_gethostbyname=no
22492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22493 conftest$ac_exeext conftest.$ac_ext
22494 LIBS=$ac_check_lib_save_LIBS
22496 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22497 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
22498 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22499 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22502 if test $ac_cv_lib_nsl_gethostbyname = no; then
22503 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22504 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
22505 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22506 echo $ECHO_N "(cached) $ECHO_C" >&6
22508 ac_check_lib_save_LIBS=$LIBS
22510 cat >conftest.$ac_ext <<_ACEOF
22513 cat confdefs.h >>conftest.$ac_ext
22514 cat >>conftest.$ac_ext <<_ACEOF
22515 /* end confdefs.h. */
22517 /* Override any GCC internal prototype to avoid an error.
22518 Use char because int might match the return type of a GCC
22519 builtin and then its argument prototype would still apply. */
22523 char gethostbyname ();
22527 return gethostbyname ();
22532 rm -f conftest.$ac_objext conftest$ac_exeext
22533 if { (ac_try="$ac_link"
22534 case "(($ac_try" in
22535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22536 *) ac_try_echo=$ac_try;;
22538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22539 (eval "$ac_link") 2>conftest.er1
22541 grep -v '^
*+' conftest.er1 >conftest.err
22543 cat conftest.err >&5
22544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545 (exit $ac_status); } && {
22546 test -z "$ac_c_werror_flag" ||
22547 test ! -s conftest.err
22548 } && test -s conftest$ac_exeext &&
22549 $as_test_x conftest$ac_exeext; then
22550 ac_cv_lib_bsd_gethostbyname=yes
22552 echo "$as_me: failed program was:" >&5
22553 sed 's
/^
/|
/' conftest.$ac_ext >&5
22555 ac_cv_lib_bsd_gethostbyname=no
22558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22559 conftest$ac_exeext conftest.$ac_ext
22560 LIBS=$ac_check_lib_save_LIBS
22562 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22563 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
22564 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22565 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22571 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22572 # socket/setsockopt and other routines are undefined under SCO ODT
22573 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22574 # on later versions), says Simon Leinen: it contains gethostby*
22575 # variants that don't use the name server
(or something
).
-lsocket
22576 # must be given before -lnsl if both are needed. We assume that
22577 # if connect needs -lnsl, so does gethostbyname.
22578 { echo "$as_me:$LINENO: checking for connect" >&5
22579 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
22580 if test "${ac_cv_func_connect+set}" = set; then
22581 echo $ECHO_N "(cached) $ECHO_C" >&6
22583 cat >conftest.
$ac_ext <<_ACEOF
22586 cat confdefs.h
>>conftest.
$ac_ext
22587 cat >>conftest.
$ac_ext <<_ACEOF
22588 /* end confdefs.h. */
22589 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
22590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22591 #define connect innocuous_connect
22593 /* System header to define __stub macros and hopefully few prototypes,
22594 which can conflict with char connect (); below.
22595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22596 <limits.h> exists even on freestanding compilers. */
22599 # include <limits.h>
22601 # include <assert.h>
22606 /* Override any GCC internal prototype to avoid an error.
22607 Use char because int might match the return type of a GCC
22608 builtin and then its argument prototype would still apply. */
22613 /* The GNU C library defines this for functions which it implements
22614 to always fail with ENOSYS. Some functions are actually named
22615 something starting with __ and the normal name is an alias. */
22616 #if defined __stub_connect || defined __stub___connect
22628 rm -f conftest.
$ac_objext conftest
$ac_exeext
22629 if { (ac_try
="$ac_link"
22630 case "(($ac_try" in
22631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22632 *) ac_try_echo=$ac_try;;
22634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22635 (eval "$ac_link") 2>conftest.er1
22637 grep -v '^ *+' conftest.er1 >conftest.err
22639 cat conftest.err >&5
22640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22641 (exit $ac_status); } && {
22642 test -z "$ac_c_werror_flag" ||
22643 test ! -s conftest.err
22644 } && test -s conftest$ac_exeext &&
22645 $as_test_x conftest$ac_exeext; then
22646 ac_cv_func_connect=yes
22648 echo "$as_me: failed program was:" >&5
22649 sed 's/^/| /' conftest.$ac_ext >&5
22651 ac_cv_func_connect=no
22654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22655 conftest$ac_exeext conftest.$ac_ext
22657 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22658 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
22660 if test $ac_cv_func_connect = no; then
22661 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22662 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
22663 if test "${ac_cv_lib_socket_connect+set}" = set; then
22664 echo $ECHO_N "(cached) $ECHO_C" >&6
22666 ac_check_lib_save_LIBS=$LIBS
22667 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22668 cat >conftest.$ac_ext <<_ACEOF
22671 cat confdefs.h >>conftest.$ac_ext
22672 cat >>conftest.$ac_ext <<_ACEOF
22673 /* end confdefs.h. */
22675 /* Override any GCC internal prototype to avoid an error.
22676 Use char because int might match the return type of a GCC
22677 builtin and then its argument prototype would still apply. */
22690 rm -f conftest.$ac_objext conftest$ac_exeext
22691 if { (ac_try="$ac_link"
22692 case "(($ac_try" in
22693 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22694 *) ac_try_echo
=$ac_try;;
22696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22697 (eval "$ac_link") 2>conftest.er1
22699 grep -v '^ *+' conftest.er1
>conftest.err
22701 cat conftest.err
>&5
22702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22703 (exit $ac_status); } && {
22704 test -z "$ac_c_werror_flag" ||
22705 test ! -s conftest.err
22706 } && test -s conftest
$ac_exeext &&
22707 $as_test_x conftest
$ac_exeext; then
22708 ac_cv_lib_socket_connect
=yes
22710 echo "$as_me: failed program was:" >&5
22711 sed 's/^/| /' conftest.
$ac_ext >&5
22713 ac_cv_lib_socket_connect
=no
22716 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22717 conftest
$ac_exeext conftest.
$ac_ext
22718 LIBS
=$ac_check_lib_save_LIBS
22720 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22721 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
22722 if test $ac_cv_lib_socket_connect = yes; then
22723 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
22728 # Guillermo Gomez says -lposix is necessary on A/UX.
22729 { echo "$as_me:$LINENO: checking for remove" >&5
22730 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
22731 if test "${ac_cv_func_remove+set}" = set; then
22732 echo $ECHO_N "(cached) $ECHO_C" >&6
22734 cat >conftest.
$ac_ext <<_ACEOF
22737 cat confdefs.h
>>conftest.
$ac_ext
22738 cat >>conftest.
$ac_ext <<_ACEOF
22739 /* end confdefs.h. */
22740 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
22741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22742 #define remove innocuous_remove
22744 /* System header to define __stub macros and hopefully few prototypes,
22745 which can conflict with char remove (); below.
22746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22747 <limits.h> exists even on freestanding compilers. */
22750 # include <limits.h>
22752 # include <assert.h>
22757 /* Override any GCC internal prototype to avoid an error.
22758 Use char because int might match the return type of a GCC
22759 builtin and then its argument prototype would still apply. */
22764 /* The GNU C library defines this for functions which it implements
22765 to always fail with ENOSYS. Some functions are actually named
22766 something starting with __ and the normal name is an alias. */
22767 #if defined __stub_remove || defined __stub___remove
22779 rm -f conftest.
$ac_objext conftest
$ac_exeext
22780 if { (ac_try
="$ac_link"
22781 case "(($ac_try" in
22782 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22783 *) ac_try_echo=$ac_try;;
22785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22786 (eval "$ac_link") 2>conftest.er1
22788 grep -v '^ *+' conftest.er1 >conftest.err
22790 cat conftest.err >&5
22791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22792 (exit $ac_status); } && {
22793 test -z "$ac_c_werror_flag" ||
22794 test ! -s conftest.err
22795 } && test -s conftest$ac_exeext &&
22796 $as_test_x conftest$ac_exeext; then
22797 ac_cv_func_remove=yes
22799 echo "$as_me: failed program was:" >&5
22800 sed 's/^/| /' conftest.$ac_ext >&5
22802 ac_cv_func_remove=no
22805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22806 conftest$ac_exeext conftest.$ac_ext
22808 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22809 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
22811 if test $ac_cv_func_remove = no; then
22812 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22813 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
22814 if test "${ac_cv_lib_posix_remove+set}" = set; then
22815 echo $ECHO_N "(cached) $ECHO_C" >&6
22817 ac_check_lib_save_LIBS=$LIBS
22818 LIBS="-lposix $LIBS"
22819 cat >conftest.$ac_ext <<_ACEOF
22822 cat confdefs.h >>conftest.$ac_ext
22823 cat >>conftest.$ac_ext <<_ACEOF
22824 /* end confdefs.h. */
22826 /* Override any GCC internal prototype to avoid an error.
22827 Use char because int might match the return type of a GCC
22828 builtin and then its argument prototype would still apply. */
22841 rm -f conftest.$ac_objext conftest$ac_exeext
22842 if { (ac_try="$ac_link"
22843 case "(($ac_try" in
22844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22845 *) ac_try_echo
=$ac_try;;
22847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22848 (eval "$ac_link") 2>conftest.er1
22850 grep -v '^ *+' conftest.er1
>conftest.err
22852 cat conftest.err
>&5
22853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22854 (exit $ac_status); } && {
22855 test -z "$ac_c_werror_flag" ||
22856 test ! -s conftest.err
22857 } && test -s conftest
$ac_exeext &&
22858 $as_test_x conftest
$ac_exeext; then
22859 ac_cv_lib_posix_remove
=yes
22861 echo "$as_me: failed program was:" >&5
22862 sed 's/^/| /' conftest.
$ac_ext >&5
22864 ac_cv_lib_posix_remove
=no
22867 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22868 conftest
$ac_exeext conftest.
$ac_ext
22869 LIBS
=$ac_check_lib_save_LIBS
22871 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22872 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
22873 if test $ac_cv_lib_posix_remove = yes; then
22874 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
22879 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22880 { echo "$as_me:$LINENO: checking for shmat" >&5
22881 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
22882 if test "${ac_cv_func_shmat+set}" = set; then
22883 echo $ECHO_N "(cached) $ECHO_C" >&6
22885 cat >conftest.
$ac_ext <<_ACEOF
22888 cat confdefs.h
>>conftest.
$ac_ext
22889 cat >>conftest.
$ac_ext <<_ACEOF
22890 /* end confdefs.h. */
22891 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
22892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22893 #define shmat innocuous_shmat
22895 /* System header to define __stub macros and hopefully few prototypes,
22896 which can conflict with char shmat (); below.
22897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22898 <limits.h> exists even on freestanding compilers. */
22901 # include <limits.h>
22903 # include <assert.h>
22908 /* Override any GCC internal prototype to avoid an error.
22909 Use char because int might match the return type of a GCC
22910 builtin and then its argument prototype would still apply. */
22915 /* The GNU C library defines this for functions which it implements
22916 to always fail with ENOSYS. Some functions are actually named
22917 something starting with __ and the normal name is an alias. */
22918 #if defined __stub_shmat || defined __stub___shmat
22930 rm -f conftest.
$ac_objext conftest
$ac_exeext
22931 if { (ac_try
="$ac_link"
22932 case "(($ac_try" in
22933 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22934 *) ac_try_echo=$ac_try;;
22936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22937 (eval "$ac_link") 2>conftest.er1
22939 grep -v '^ *+' conftest.er1 >conftest.err
22941 cat conftest.err >&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); } && {
22944 test -z "$ac_c_werror_flag" ||
22945 test ! -s conftest.err
22946 } && test -s conftest$ac_exeext &&
22947 $as_test_x conftest$ac_exeext; then
22948 ac_cv_func_shmat=yes
22950 echo "$as_me: failed program was:" >&5
22951 sed 's/^/| /' conftest.$ac_ext >&5
22953 ac_cv_func_shmat=no
22956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22957 conftest$ac_exeext conftest.$ac_ext
22959 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22960 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
22962 if test $ac_cv_func_shmat = no; then
22963 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22964 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
22965 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22966 echo $ECHO_N "(cached) $ECHO_C" >&6
22968 ac_check_lib_save_LIBS=$LIBS
22970 cat >conftest.$ac_ext <<_ACEOF
22973 cat confdefs.h >>conftest.$ac_ext
22974 cat >>conftest.$ac_ext <<_ACEOF
22975 /* end confdefs.h. */
22977 /* Override any GCC internal prototype to avoid an error.
22978 Use char because int might match the return type of a GCC
22979 builtin and then its argument prototype would still apply. */
22992 rm -f conftest.$ac_objext conftest$ac_exeext
22993 if { (ac_try="$ac_link"
22994 case "(($ac_try" in
22995 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22996 *) ac_try_echo
=$ac_try;;
22998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22999 (eval "$ac_link") 2>conftest.er1
23001 grep -v '^ *+' conftest.er1
>conftest.err
23003 cat conftest.err
>&5
23004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23005 (exit $ac_status); } && {
23006 test -z "$ac_c_werror_flag" ||
23007 test ! -s conftest.err
23008 } && test -s conftest
$ac_exeext &&
23009 $as_test_x conftest
$ac_exeext; then
23010 ac_cv_lib_ipc_shmat
=yes
23012 echo "$as_me: failed program was:" >&5
23013 sed 's/^/| /' conftest.
$ac_ext >&5
23015 ac_cv_lib_ipc_shmat
=no
23018 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
23019 conftest
$ac_exeext conftest.
$ac_ext
23020 LIBS
=$ac_check_lib_save_LIBS
23022 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23023 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
23024 if test $ac_cv_lib_ipc_shmat = yes; then
23025 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23031 # Check for libraries that X11R6 Xt/Xaw programs need.
23032 ac_save_LDFLAGS
=$LDFLAGS
23033 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23034 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23035 # check for ICE first), but we must link in the order -lSM -lICE or
23036 # we get undefined symbols. So assume we have SM if we have ICE.
23037 # These have to be linked with before -lX11, unlike the other
23038 # libraries we check for below, so use a different variable.
23039 # John Interrante, Karl Berry
23040 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23041 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
23042 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23043 echo $ECHO_N "(cached) $ECHO_C" >&6
23045 ac_check_lib_save_LIBS
=$LIBS
23046 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23047 cat >conftest.
$ac_ext <<_ACEOF
23050 cat confdefs.h
>>conftest.
$ac_ext
23051 cat >>conftest.
$ac_ext <<_ACEOF
23052 /* end confdefs.h. */
23054 /* Override any GCC internal prototype to avoid an error.
23055 Use char because int might match the return type of a GCC
23056 builtin and then its argument prototype would still apply. */
23060 char IceConnectionNumber ();
23064 return IceConnectionNumber ();
23069 rm -f conftest.
$ac_objext conftest
$ac_exeext
23070 if { (ac_try
="$ac_link"
23071 case "(($ac_try" in
23072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23073 *) ac_try_echo=$ac_try;;
23075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23076 (eval "$ac_link") 2>conftest.er1
23078 grep -v '^ *+' conftest.er1 >conftest.err
23080 cat conftest.err >&5
23081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23082 (exit $ac_status); } && {
23083 test -z "$ac_c_werror_flag" ||
23084 test ! -s conftest.err
23085 } && test -s conftest$ac_exeext &&
23086 $as_test_x conftest$ac_exeext; then
23087 ac_cv_lib_ICE_IceConnectionNumber=yes
23089 echo "$as_me: failed program was:" >&5
23090 sed 's/^/| /' conftest.$ac_ext >&5
23092 ac_cv_lib_ICE_IceConnectionNumber=no
23095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23096 conftest$ac_exeext conftest.$ac_ext
23097 LIBS=$ac_check_lib_save_LIBS
23099 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23100 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
23101 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23102 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23105 LDFLAGS=$ac_save_LDFLAGS
23110 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23111 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23112 if test "${ac_cv_c_bigendian+set}" = set; then
23113 echo $ECHO_N "(cached) $ECHO_C" >&6
23115 # See if sys/param.h defines the BYTE_ORDER macro.
23116 cat >conftest.$ac_ext <<_ACEOF
23119 cat confdefs.h >>conftest.$ac_ext
23120 cat >>conftest.$ac_ext <<_ACEOF
23121 /* end confdefs.h. */
23122 #include <sys/types.h>
23123 #include <sys/param.h>
23128 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
23129 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
23130 bogus endian macros
23137 rm -f conftest.$ac_objext
23138 if { (ac_try="$ac_compile"
23139 case "(($ac_try" in
23140 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23141 *) ac_try_echo
=$ac_try;;
23143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23144 (eval "$ac_compile") 2>conftest.er1
23146 grep -v '^ *+' conftest.er1
>conftest.err
23148 cat conftest.err
>&5
23149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23150 (exit $ac_status); } && {
23151 test -z "$ac_c_werror_flag" ||
23152 test ! -s conftest.err
23153 } && test -s conftest.
$ac_objext; then
23154 # It does; now see whether it defined to BIG_ENDIAN or not.
23155 cat >conftest.
$ac_ext <<_ACEOF
23158 cat confdefs.h
>>conftest.
$ac_ext
23159 cat >>conftest.
$ac_ext <<_ACEOF
23160 /* end confdefs.h. */
23161 #include <sys/types.h>
23162 #include <sys/param.h>
23167 #if BYTE_ORDER != BIG_ENDIAN
23175 rm -f conftest.
$ac_objext
23176 if { (ac_try
="$ac_compile"
23177 case "(($ac_try" in
23178 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23179 *) ac_try_echo=$ac_try;;
23181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23182 (eval "$ac_compile") 2>conftest.er1
23184 grep -v '^ *+' conftest.er1 >conftest.err
23186 cat conftest.err >&5
23187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23188 (exit $ac_status); } && {
23189 test -z "$ac_c_werror_flag" ||
23190 test ! -s conftest.err
23191 } && test -s conftest.$ac_objext; then
23192 ac_cv_c_bigendian=yes
23194 echo "$as_me: failed program was:" >&5
23195 sed 's/^/| /' conftest.$ac_ext >&5
23197 ac_cv_c_bigendian=no
23200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23202 echo "$as_me: failed program was:" >&5
23203 sed 's/^/| /' conftest.$ac_ext >&5
23205 # It does not; compile a test program.
23206 if test "$cross_compiling" = yes; then
23207 # try to guess the endianness by grepping values into an object file
23208 ac_cv_c_bigendian=unknown
23209 cat >conftest.$ac_ext <<_ACEOF
23212 cat confdefs.h >>conftest.$ac_ext
23213 cat >>conftest.$ac_ext <<_ACEOF
23214 /* end confdefs.h. */
23215 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
23216 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
23217 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
23218 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
23219 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
23220 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
23224 _ascii (); _ebcdic ();
23229 rm -f conftest.$ac_objext
23230 if { (ac_try="$ac_compile"
23231 case "(($ac_try" in
23232 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23233 *) ac_try_echo
=$ac_try;;
23235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23236 (eval "$ac_compile") 2>conftest.er1
23238 grep -v '^ *+' conftest.er1
>conftest.err
23240 cat conftest.err
>&5
23241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23242 (exit $ac_status); } && {
23243 test -z "$ac_c_werror_flag" ||
23244 test ! -s conftest.err
23245 } && test -s conftest.
$ac_objext; then
23246 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
23247 ac_cv_c_bigendian
=yes
23249 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
23250 if test "$ac_cv_c_bigendian" = unknown
; then
23251 ac_cv_c_bigendian
=no
23253 # finding both strings is unlikely to happen, but who knows?
23254 ac_cv_c_bigendian
=unknown
23258 echo "$as_me: failed program was:" >&5
23259 sed 's/^/| /' conftest.
$ac_ext >&5
23264 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23266 cat >conftest.
$ac_ext <<_ACEOF
23269 cat confdefs.h
>>conftest.
$ac_ext
23270 cat >>conftest.
$ac_ext <<_ACEOF
23271 /* end confdefs.h. */
23272 $ac_includes_default
23277 /* Are we little or big endian? From Harbison&Steele. */
23281 char c[sizeof (long int)];
23284 return u.c[sizeof (long int) - 1] == 1;
23290 rm -f conftest
$ac_exeext
23291 if { (ac_try
="$ac_link"
23292 case "(($ac_try" in
23293 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23294 *) ac_try_echo=$ac_try;;
23296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23297 (eval "$ac_link") 2>&5
23299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23300 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23301 { (case "(($ac_try" in
23302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23303 *) ac_try_echo
=$ac_try;;
23305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23306 (eval "$ac_try") 2>&5
23308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23309 (exit $ac_status); }; }; then
23310 ac_cv_c_bigendian
=no
23312 echo "$as_me: program exited with status $ac_status" >&5
23313 echo "$as_me: failed program was:" >&5
23314 sed 's/^/| /' conftest.
$ac_ext >&5
23316 ( exit $ac_status )
23317 ac_cv_c_bigendian
=yes
23319 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23325 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23327 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23328 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23329 case $ac_cv_c_bigendian in
23332 cat >>confdefs.h
<<\_ACEOF
23333 #define WORDS_BIGENDIAN 1
23339 { { echo "$as_me:$LINENO: error: unknown endianness
23340 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
23341 echo "$as_me: error: unknown endianness
23342 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
23343 { (exit 1); exit 1; }; } ;;
23346 { echo "$as_me:$LINENO: checking for inline" >&5
23347 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
23348 if test "${ac_cv_c_inline+set}" = set; then
23349 echo $ECHO_N "(cached) $ECHO_C" >&6
23352 for ac_kw
in inline __inline__ __inline
; do
23353 cat >conftest.
$ac_ext <<_ACEOF
23356 cat confdefs.h
>>conftest.
$ac_ext
23357 cat >>conftest.
$ac_ext <<_ACEOF
23358 /* end confdefs.h. */
23359 #ifndef __cplusplus
23361 static $ac_kw foo_t static_foo () {return 0; }
23362 $ac_kw foo_t foo () {return 0; }
23366 rm -f conftest.
$ac_objext
23367 if { (ac_try
="$ac_compile"
23368 case "(($ac_try" in
23369 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23370 *) ac_try_echo=$ac_try;;
23372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23373 (eval "$ac_compile") 2>conftest.er1
23375 grep -v '^ *+' conftest.er1 >conftest.err
23377 cat conftest.err >&5
23378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23379 (exit $ac_status); } && {
23380 test -z "$ac_c_werror_flag" ||
23381 test ! -s conftest.err
23382 } && test -s conftest.$ac_objext; then
23383 ac_cv_c_inline=$ac_kw
23385 echo "$as_me: failed program was:" >&5
23386 sed 's/^/| /' conftest.$ac_ext >&5
23391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23392 test "$ac_cv_c_inline" != no && break
23396 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
23397 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
23400 case $ac_cv_c_inline in
23403 case $ac_cv_c_inline in
23405 *) ac_val=$ac_cv_c_inline;;
23407 cat >>confdefs.h <<_ACEOF
23408 #ifndef __cplusplus
23409 #define inline $ac_val
23415 { echo "$as_me:$LINENO: checking for unsigned char" >&5
23416 echo $ECHO_N "checking for unsigned char... $ECHO_C" >&6; }
23417 if test "${ac_cv_type_unsigned_char+set}" = set; then
23418 echo $ECHO_N "(cached) $ECHO_C" >&6
23420 cat >conftest.$ac_ext <<_ACEOF
23423 cat confdefs.h >>conftest.$ac_ext
23424 cat >>conftest.$ac_ext <<_ACEOF
23425 /* end confdefs.h. */
23426 $ac_includes_default
23427 typedef unsigned char ac__type_new_;
23431 if ((ac__type_new_ *) 0)
23433 if (sizeof (ac__type_new_))
23439 rm -f conftest.$ac_objext
23440 if { (ac_try="$ac_compile"
23441 case "(($ac_try" in
23442 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23443 *) ac_try_echo
=$ac_try;;
23445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23446 (eval "$ac_compile") 2>conftest.er1
23448 grep -v '^ *+' conftest.er1
>conftest.err
23450 cat conftest.err
>&5
23451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23452 (exit $ac_status); } && {
23453 test -z "$ac_c_werror_flag" ||
23454 test ! -s conftest.err
23455 } && test -s conftest.
$ac_objext; then
23456 ac_cv_type_unsigned_char
=yes
23458 echo "$as_me: failed program was:" >&5
23459 sed 's/^/| /' conftest.
$ac_ext >&5
23461 ac_cv_type_unsigned_char
=no
23464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23466 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char" >&5
23467 echo "${ECHO_T}$ac_cv_type_unsigned_char" >&6; }
23469 # The cast to long int works around a bug in the HP C Compiler
23470 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23471 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23472 # This bug is HP SR number 8606223364.
23473 { echo "$as_me:$LINENO: checking size of unsigned char" >&5
23474 echo $ECHO_N "checking size of unsigned char... $ECHO_C" >&6; }
23475 if test "${ac_cv_sizeof_unsigned_char+set}" = set; then
23476 echo $ECHO_N "(cached) $ECHO_C" >&6
23478 if test "$cross_compiling" = yes; then
23479 # Depending upon the size, compute the lo and hi bounds.
23480 cat >conftest.
$ac_ext <<_ACEOF
23483 cat confdefs.h
>>conftest.
$ac_ext
23484 cat >>conftest.
$ac_ext <<_ACEOF
23485 /* end confdefs.h. */
23486 $ac_includes_default
23487 typedef unsigned char ac__type_sizeof_;
23491 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23498 rm -f conftest.
$ac_objext
23499 if { (ac_try
="$ac_compile"
23500 case "(($ac_try" in
23501 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23502 *) ac_try_echo=$ac_try;;
23504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23505 (eval "$ac_compile") 2>conftest.er1
23507 grep -v '^ *+' conftest.er1 >conftest.err
23509 cat conftest.err >&5
23510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23511 (exit $ac_status); } && {
23512 test -z "$ac_c_werror_flag" ||
23513 test ! -s conftest.err
23514 } && test -s conftest.$ac_objext; then
23517 cat >conftest.$ac_ext <<_ACEOF
23520 cat confdefs.h >>conftest.$ac_ext
23521 cat >>conftest.$ac_ext <<_ACEOF
23522 /* end confdefs.h. */
23523 $ac_includes_default
23524 typedef unsigned char ac__type_sizeof_;
23528 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23535 rm -f conftest.$ac_objext
23536 if { (ac_try="$ac_compile"
23537 case "(($ac_try" in
23538 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23539 *) ac_try_echo
=$ac_try;;
23541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23542 (eval "$ac_compile") 2>conftest.er1
23544 grep -v '^ *+' conftest.er1
>conftest.err
23546 cat conftest.err
>&5
23547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23548 (exit $ac_status); } && {
23549 test -z "$ac_c_werror_flag" ||
23550 test ! -s conftest.err
23551 } && test -s conftest.
$ac_objext; then
23552 ac_hi
=$ac_mid; break
23554 echo "$as_me: failed program was:" >&5
23555 sed 's/^/| /' conftest.
$ac_ext >&5
23557 ac_lo
=`expr $ac_mid + 1`
23558 if test $ac_lo -le $ac_mid; then
23562 ac_mid
=`expr 2 '*' $ac_mid + 1`
23565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23568 echo "$as_me: failed program was:" >&5
23569 sed 's/^/| /' conftest.
$ac_ext >&5
23571 cat >conftest.
$ac_ext <<_ACEOF
23574 cat confdefs.h
>>conftest.
$ac_ext
23575 cat >>conftest.
$ac_ext <<_ACEOF
23576 /* end confdefs.h. */
23577 $ac_includes_default
23578 typedef unsigned char ac__type_sizeof_;
23582 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23589 rm -f conftest.
$ac_objext
23590 if { (ac_try
="$ac_compile"
23591 case "(($ac_try" in
23592 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23593 *) ac_try_echo=$ac_try;;
23595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23596 (eval "$ac_compile") 2>conftest.er1
23598 grep -v '^ *+' conftest.er1 >conftest.err
23600 cat conftest.err >&5
23601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602 (exit $ac_status); } && {
23603 test -z "$ac_c_werror_flag" ||
23604 test ! -s conftest.err
23605 } && test -s conftest.$ac_objext; then
23608 cat >conftest.$ac_ext <<_ACEOF
23611 cat confdefs.h >>conftest.$ac_ext
23612 cat >>conftest.$ac_ext <<_ACEOF
23613 /* end confdefs.h. */
23614 $ac_includes_default
23615 typedef unsigned char ac__type_sizeof_;
23619 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23626 rm -f conftest.$ac_objext
23627 if { (ac_try="$ac_compile"
23628 case "(($ac_try" in
23629 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23630 *) ac_try_echo
=$ac_try;;
23632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23633 (eval "$ac_compile") 2>conftest.er1
23635 grep -v '^ *+' conftest.er1
>conftest.err
23637 cat conftest.err
>&5
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); } && {
23640 test -z "$ac_c_werror_flag" ||
23641 test ! -s conftest.err
23642 } && test -s conftest.
$ac_objext; then
23643 ac_lo
=$ac_mid; break
23645 echo "$as_me: failed program was:" >&5
23646 sed 's/^/| /' conftest.
$ac_ext >&5
23648 ac_hi
=`expr '(' $ac_mid ')' - 1`
23649 if test $ac_mid -le $ac_hi; then
23653 ac_mid
=`expr 2 '*' $ac_mid`
23656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23659 echo "$as_me: failed program was:" >&5
23660 sed 's/^/| /' conftest.
$ac_ext >&5
23665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23669 # Binary search between lo and hi bounds.
23670 while test "x$ac_lo" != "x$ac_hi"; do
23671 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23672 cat >conftest.
$ac_ext <<_ACEOF
23675 cat confdefs.h
>>conftest.
$ac_ext
23676 cat >>conftest.
$ac_ext <<_ACEOF
23677 /* end confdefs.h. */
23678 $ac_includes_default
23679 typedef unsigned char ac__type_sizeof_;
23683 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23690 rm -f conftest.
$ac_objext
23691 if { (ac_try
="$ac_compile"
23692 case "(($ac_try" in
23693 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23694 *) ac_try_echo=$ac_try;;
23696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23697 (eval "$ac_compile") 2>conftest.er1
23699 grep -v '^ *+' conftest.er1 >conftest.err
23701 cat conftest.err >&5
23702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23703 (exit $ac_status); } && {
23704 test -z "$ac_c_werror_flag" ||
23705 test ! -s conftest.err
23706 } && test -s conftest.$ac_objext; then
23709 echo "$as_me: failed program was:" >&5
23710 sed 's/^/| /' conftest.$ac_ext >&5
23712 ac_lo=`expr '(' $ac_mid ')' + 1`
23715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23718 ?*) ac_cv_sizeof_unsigned_char=$ac_lo;;
23719 '') if test "$ac_cv_type_unsigned_char" = yes; then
23720 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char)
23721 See \`config.log
' for more details." >&5
23722 echo "$as_me: error: cannot compute sizeof (unsigned char)
23723 See \`config.log' for more details.
" >&2;}
23724 { (exit 77); exit 77; }; }
23726 ac_cv_sizeof_unsigned_char=0
23730 cat >conftest.$ac_ext <<_ACEOF
23733 cat confdefs.h >>conftest.$ac_ext
23734 cat >>conftest.$ac_ext <<_ACEOF
23735 /* end confdefs.h. */
23736 $ac_includes_default
23737 typedef unsigned char ac__type_sizeof_;
23738 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23739 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23741 #include <stdlib.h>
23746 FILE *f = fopen ("conftest.val
", "w
");
23749 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23751 long int i = longval ();
23752 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23754 fprintf (f, "%ld
\n", i);
23758 unsigned long int i = ulongval ();
23759 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23761 fprintf (f, "%lu
\n", i);
23763 return ferror (f) || fclose (f) != 0;
23769 rm -f conftest$ac_exeext
23770 if { (ac_try="$ac_link"
23771 case "(($ac_try" in
23772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23773 *) ac_try_echo=$ac_try;;
23775 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23776 (eval "$ac_link") 2>&5
23778 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23779 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23780 { (case "(($ac_try" in
23781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23782 *) ac_try_echo=$ac_try;;
23784 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23785 (eval "$ac_try") 2>&5
23787 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23788 (exit $ac_status); }; }; then
23789 ac_cv_sizeof_unsigned_char=`cat conftest.val`
23791 echo "$as_me: program exited with status
$ac_status" >&5
23792 echo "$as_me: failed program was
:" >&5
23793 sed 's/^/| /' conftest.$ac_ext >&5
23795 ( exit $ac_status )
23796 if test "$ac_cv_type_unsigned_char" = yes; then
23797 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned char
)
23798 See \
`config.log' for more details." >&5
23799 echo "$as_me: error: cannot compute sizeof (unsigned char)
23800 See \`config.log
' for more details." >&2;}
23801 { (exit 77); exit 77; }; }
23803 ac_cv_sizeof_unsigned_char=0
23806 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23810 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char" >&5
23811 echo "${ECHO_T}$ac_cv_sizeof_unsigned_char" >&6; }
23815 cat >>confdefs.h <<_ACEOF
23816 #define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char
23820 { echo "$as_me:$LINENO: checking for unsigned short" >&5
23821 echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6; }
23822 if test "${ac_cv_type_unsigned_short+set}" = set; then
23823 echo $ECHO_N "(cached) $ECHO_C" >&6
23825 cat >conftest.$ac_ext <<_ACEOF
23828 cat confdefs.h >>conftest.$ac_ext
23829 cat >>conftest.$ac_ext <<_ACEOF
23830 /* end confdefs.h. */
23831 $ac_includes_default
23832 typedef unsigned short ac__type_new_;
23836 if ((ac__type_new_ *) 0)
23838 if (sizeof (ac__type_new_))
23844 rm -f conftest.$ac_objext
23845 if { (ac_try="$ac_compile"
23846 case "(($ac_try" in
23847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23848 *) ac_try_echo=$ac_try;;
23850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23851 (eval "$ac_compile") 2>conftest.er1
23853 grep -v '^
*+' conftest.er1 >conftest.err
23855 cat conftest.err >&5
23856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23857 (exit $ac_status); } && {
23858 test -z "$ac_c_werror_flag" ||
23859 test ! -s conftest.err
23860 } && test -s conftest.$ac_objext; then
23861 ac_cv_type_unsigned_short=yes
23863 echo "$as_me: failed program was:" >&5
23864 sed 's
/^
/|
/' conftest.$ac_ext >&5
23866 ac_cv_type_unsigned_short=no
23869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23871 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
23872 echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6; }
23874 # The cast to long int works around a bug in the HP C Compiler
23875 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23876 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23877 # This bug is HP SR number 8606223364.
23878 { echo "$as_me:$LINENO: checking size of unsigned short" >&5
23879 echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6; }
23880 if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
23881 echo $ECHO_N "(cached) $ECHO_C" >&6
23883 if test "$cross_compiling" = yes; then
23884 # Depending upon the size, compute the lo and hi bounds.
23885 cat >conftest.
$ac_ext <<_ACEOF
23888 cat confdefs.h
>>conftest.
$ac_ext
23889 cat >>conftest.
$ac_ext <<_ACEOF
23890 /* end confdefs.h. */
23891 $ac_includes_default
23892 typedef unsigned short ac__type_sizeof_;
23896 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23903 rm -f conftest.
$ac_objext
23904 if { (ac_try
="$ac_compile"
23905 case "(($ac_try" in
23906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23907 *) ac_try_echo=$ac_try;;
23909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23910 (eval "$ac_compile") 2>conftest.er1
23912 grep -v '^ *+' conftest.er1 >conftest.err
23914 cat conftest.err >&5
23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916 (exit $ac_status); } && {
23917 test -z "$ac_c_werror_flag" ||
23918 test ! -s conftest.err
23919 } && test -s conftest.$ac_objext; then
23922 cat >conftest.$ac_ext <<_ACEOF
23925 cat confdefs.h >>conftest.$ac_ext
23926 cat >>conftest.$ac_ext <<_ACEOF
23927 /* end confdefs.h. */
23928 $ac_includes_default
23929 typedef unsigned short ac__type_sizeof_;
23933 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23940 rm -f conftest.$ac_objext
23941 if { (ac_try="$ac_compile"
23942 case "(($ac_try" in
23943 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23944 *) ac_try_echo
=$ac_try;;
23946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23947 (eval "$ac_compile") 2>conftest.er1
23949 grep -v '^ *+' conftest.er1
>conftest.err
23951 cat conftest.err
>&5
23952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23953 (exit $ac_status); } && {
23954 test -z "$ac_c_werror_flag" ||
23955 test ! -s conftest.err
23956 } && test -s conftest.
$ac_objext; then
23957 ac_hi
=$ac_mid; break
23959 echo "$as_me: failed program was:" >&5
23960 sed 's/^/| /' conftest.
$ac_ext >&5
23962 ac_lo
=`expr $ac_mid + 1`
23963 if test $ac_lo -le $ac_mid; then
23967 ac_mid
=`expr 2 '*' $ac_mid + 1`
23970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23973 echo "$as_me: failed program was:" >&5
23974 sed 's/^/| /' conftest.
$ac_ext >&5
23976 cat >conftest.
$ac_ext <<_ACEOF
23979 cat confdefs.h
>>conftest.
$ac_ext
23980 cat >>conftest.
$ac_ext <<_ACEOF
23981 /* end confdefs.h. */
23982 $ac_includes_default
23983 typedef unsigned short ac__type_sizeof_;
23987 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23994 rm -f conftest.
$ac_objext
23995 if { (ac_try
="$ac_compile"
23996 case "(($ac_try" in
23997 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23998 *) ac_try_echo=$ac_try;;
24000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24001 (eval "$ac_compile") 2>conftest.er1
24003 grep -v '^ *+' conftest.er1 >conftest.err
24005 cat conftest.err >&5
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); } && {
24008 test -z "$ac_c_werror_flag" ||
24009 test ! -s conftest.err
24010 } && test -s conftest.$ac_objext; then
24013 cat >conftest.$ac_ext <<_ACEOF
24016 cat confdefs.h >>conftest.$ac_ext
24017 cat >>conftest.$ac_ext <<_ACEOF
24018 /* end confdefs.h. */
24019 $ac_includes_default
24020 typedef unsigned short ac__type_sizeof_;
24024 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24031 rm -f conftest.$ac_objext
24032 if { (ac_try="$ac_compile"
24033 case "(($ac_try" in
24034 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24035 *) ac_try_echo
=$ac_try;;
24037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24038 (eval "$ac_compile") 2>conftest.er1
24040 grep -v '^ *+' conftest.er1
>conftest.err
24042 cat conftest.err
>&5
24043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24044 (exit $ac_status); } && {
24045 test -z "$ac_c_werror_flag" ||
24046 test ! -s conftest.err
24047 } && test -s conftest.
$ac_objext; then
24048 ac_lo
=$ac_mid; break
24050 echo "$as_me: failed program was:" >&5
24051 sed 's/^/| /' conftest.
$ac_ext >&5
24053 ac_hi
=`expr '(' $ac_mid ')' - 1`
24054 if test $ac_mid -le $ac_hi; then
24058 ac_mid
=`expr 2 '*' $ac_mid`
24061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24064 echo "$as_me: failed program was:" >&5
24065 sed 's/^/| /' conftest.
$ac_ext >&5
24070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24074 # Binary search between lo and hi bounds.
24075 while test "x$ac_lo" != "x$ac_hi"; do
24076 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24077 cat >conftest.
$ac_ext <<_ACEOF
24080 cat confdefs.h
>>conftest.
$ac_ext
24081 cat >>conftest.
$ac_ext <<_ACEOF
24082 /* end confdefs.h. */
24083 $ac_includes_default
24084 typedef unsigned short ac__type_sizeof_;
24088 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24095 rm -f conftest.
$ac_objext
24096 if { (ac_try
="$ac_compile"
24097 case "(($ac_try" in
24098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24099 *) ac_try_echo=$ac_try;;
24101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24102 (eval "$ac_compile") 2>conftest.er1
24104 grep -v '^ *+' conftest.er1 >conftest.err
24106 cat conftest.err >&5
24107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24108 (exit $ac_status); } && {
24109 test -z "$ac_c_werror_flag" ||
24110 test ! -s conftest.err
24111 } && test -s conftest.$ac_objext; then
24114 echo "$as_me: failed program was:" >&5
24115 sed 's/^/| /' conftest.$ac_ext >&5
24117 ac_lo=`expr '(' $ac_mid ')' + 1`
24120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24123 ?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
24124 '') if test "$ac_cv_type_unsigned_short" = yes; then
24125 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
24126 See \`config.log
' for more details." >&5
24127 echo "$as_me: error: cannot compute sizeof (unsigned short)
24128 See \`config.log' for more details.
" >&2;}
24129 { (exit 77); exit 77; }; }
24131 ac_cv_sizeof_unsigned_short=0
24135 cat >conftest.$ac_ext <<_ACEOF
24138 cat confdefs.h >>conftest.$ac_ext
24139 cat >>conftest.$ac_ext <<_ACEOF
24140 /* end confdefs.h. */
24141 $ac_includes_default
24142 typedef unsigned short ac__type_sizeof_;
24143 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24144 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24146 #include <stdlib.h>
24151 FILE *f = fopen ("conftest.val
", "w
");
24154 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24156 long int i = longval ();
24157 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24159 fprintf (f, "%ld
\n", i);
24163 unsigned long int i = ulongval ();
24164 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24166 fprintf (f, "%lu
\n", i);
24168 return ferror (f) || fclose (f) != 0;
24174 rm -f conftest$ac_exeext
24175 if { (ac_try="$ac_link"
24176 case "(($ac_try" in
24177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24178 *) ac_try_echo=$ac_try;;
24180 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24181 (eval "$ac_link") 2>&5
24183 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24184 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24185 { (case "(($ac_try" in
24186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24187 *) ac_try_echo=$ac_try;;
24189 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24190 (eval "$ac_try") 2>&5
24192 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24193 (exit $ac_status); }; }; then
24194 ac_cv_sizeof_unsigned_short=`cat conftest.val`
24196 echo "$as_me: program exited with status
$ac_status" >&5
24197 echo "$as_me: failed program was
:" >&5
24198 sed 's/^/| /' conftest.$ac_ext >&5
24200 ( exit $ac_status )
24201 if test "$ac_cv_type_unsigned_short" = yes; then
24202 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned short
)
24203 See \
`config.log' for more details." >&5
24204 echo "$as_me: error: cannot compute sizeof (unsigned short)
24205 See \`config.log
' for more details." >&2;}
24206 { (exit 77); exit 77; }; }
24208 ac_cv_sizeof_unsigned_short=0
24211 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24215 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
24216 echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6; }
24220 cat >>confdefs.h <<_ACEOF
24221 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
24225 { echo "$as_me:$LINENO: checking for unsigned int" >&5
24226 echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6; }
24227 if test "${ac_cv_type_unsigned_int+set}" = set; then
24228 echo $ECHO_N "(cached) $ECHO_C" >&6
24230 cat >conftest.$ac_ext <<_ACEOF
24233 cat confdefs.h >>conftest.$ac_ext
24234 cat >>conftest.$ac_ext <<_ACEOF
24235 /* end confdefs.h. */
24236 $ac_includes_default
24237 typedef unsigned int ac__type_new_;
24241 if ((ac__type_new_ *) 0)
24243 if (sizeof (ac__type_new_))
24249 rm -f conftest.$ac_objext
24250 if { (ac_try="$ac_compile"
24251 case "(($ac_try" in
24252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24253 *) ac_try_echo=$ac_try;;
24255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24256 (eval "$ac_compile") 2>conftest.er1
24258 grep -v '^
*+' conftest.er1 >conftest.err
24260 cat conftest.err >&5
24261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24262 (exit $ac_status); } && {
24263 test -z "$ac_c_werror_flag" ||
24264 test ! -s conftest.err
24265 } && test -s conftest.$ac_objext; then
24266 ac_cv_type_unsigned_int=yes
24268 echo "$as_me: failed program was:" >&5
24269 sed 's
/^
/|
/' conftest.$ac_ext >&5
24271 ac_cv_type_unsigned_int=no
24274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24276 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
24277 echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6; }
24279 # The cast to long int works around a bug in the HP C Compiler
24280 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24281 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24282 # This bug is HP SR number 8606223364.
24283 { echo "$as_me:$LINENO: checking size of unsigned int" >&5
24284 echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6; }
24285 if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
24286 echo $ECHO_N "(cached) $ECHO_C" >&6
24288 if test "$cross_compiling" = yes; then
24289 # Depending upon the size, compute the lo and hi bounds.
24290 cat >conftest.
$ac_ext <<_ACEOF
24293 cat confdefs.h
>>conftest.
$ac_ext
24294 cat >>conftest.
$ac_ext <<_ACEOF
24295 /* end confdefs.h. */
24296 $ac_includes_default
24297 typedef unsigned int ac__type_sizeof_;
24301 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24308 rm -f conftest.
$ac_objext
24309 if { (ac_try
="$ac_compile"
24310 case "(($ac_try" in
24311 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24312 *) ac_try_echo=$ac_try;;
24314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24315 (eval "$ac_compile") 2>conftest.er1
24317 grep -v '^ *+' conftest.er1 >conftest.err
24319 cat conftest.err >&5
24320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24321 (exit $ac_status); } && {
24322 test -z "$ac_c_werror_flag" ||
24323 test ! -s conftest.err
24324 } && test -s conftest.$ac_objext; then
24327 cat >conftest.$ac_ext <<_ACEOF
24330 cat confdefs.h >>conftest.$ac_ext
24331 cat >>conftest.$ac_ext <<_ACEOF
24332 /* end confdefs.h. */
24333 $ac_includes_default
24334 typedef unsigned int ac__type_sizeof_;
24338 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24345 rm -f conftest.$ac_objext
24346 if { (ac_try="$ac_compile"
24347 case "(($ac_try" in
24348 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24349 *) ac_try_echo
=$ac_try;;
24351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24352 (eval "$ac_compile") 2>conftest.er1
24354 grep -v '^ *+' conftest.er1
>conftest.err
24356 cat conftest.err
>&5
24357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24358 (exit $ac_status); } && {
24359 test -z "$ac_c_werror_flag" ||
24360 test ! -s conftest.err
24361 } && test -s conftest.
$ac_objext; then
24362 ac_hi
=$ac_mid; break
24364 echo "$as_me: failed program was:" >&5
24365 sed 's/^/| /' conftest.
$ac_ext >&5
24367 ac_lo
=`expr $ac_mid + 1`
24368 if test $ac_lo -le $ac_mid; then
24372 ac_mid
=`expr 2 '*' $ac_mid + 1`
24375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24378 echo "$as_me: failed program was:" >&5
24379 sed 's/^/| /' conftest.
$ac_ext >&5
24381 cat >conftest.
$ac_ext <<_ACEOF
24384 cat confdefs.h
>>conftest.
$ac_ext
24385 cat >>conftest.
$ac_ext <<_ACEOF
24386 /* end confdefs.h. */
24387 $ac_includes_default
24388 typedef unsigned int ac__type_sizeof_;
24392 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24399 rm -f conftest.
$ac_objext
24400 if { (ac_try
="$ac_compile"
24401 case "(($ac_try" in
24402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24403 *) ac_try_echo=$ac_try;;
24405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24406 (eval "$ac_compile") 2>conftest.er1
24408 grep -v '^ *+' conftest.er1 >conftest.err
24410 cat conftest.err >&5
24411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24412 (exit $ac_status); } && {
24413 test -z "$ac_c_werror_flag" ||
24414 test ! -s conftest.err
24415 } && test -s conftest.$ac_objext; then
24418 cat >conftest.$ac_ext <<_ACEOF
24421 cat confdefs.h >>conftest.$ac_ext
24422 cat >>conftest.$ac_ext <<_ACEOF
24423 /* end confdefs.h. */
24424 $ac_includes_default
24425 typedef unsigned int ac__type_sizeof_;
24429 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24436 rm -f conftest.$ac_objext
24437 if { (ac_try="$ac_compile"
24438 case "(($ac_try" in
24439 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24440 *) ac_try_echo
=$ac_try;;
24442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24443 (eval "$ac_compile") 2>conftest.er1
24445 grep -v '^ *+' conftest.er1
>conftest.err
24447 cat conftest.err
>&5
24448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24449 (exit $ac_status); } && {
24450 test -z "$ac_c_werror_flag" ||
24451 test ! -s conftest.err
24452 } && test -s conftest.
$ac_objext; then
24453 ac_lo
=$ac_mid; break
24455 echo "$as_me: failed program was:" >&5
24456 sed 's/^/| /' conftest.
$ac_ext >&5
24458 ac_hi
=`expr '(' $ac_mid ')' - 1`
24459 if test $ac_mid -le $ac_hi; then
24463 ac_mid
=`expr 2 '*' $ac_mid`
24466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24469 echo "$as_me: failed program was:" >&5
24470 sed 's/^/| /' conftest.
$ac_ext >&5
24475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24479 # Binary search between lo and hi bounds.
24480 while test "x$ac_lo" != "x$ac_hi"; do
24481 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24482 cat >conftest.
$ac_ext <<_ACEOF
24485 cat confdefs.h
>>conftest.
$ac_ext
24486 cat >>conftest.
$ac_ext <<_ACEOF
24487 /* end confdefs.h. */
24488 $ac_includes_default
24489 typedef unsigned int ac__type_sizeof_;
24493 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24500 rm -f conftest.
$ac_objext
24501 if { (ac_try
="$ac_compile"
24502 case "(($ac_try" in
24503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24504 *) ac_try_echo=$ac_try;;
24506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24507 (eval "$ac_compile") 2>conftest.er1
24509 grep -v '^ *+' conftest.er1 >conftest.err
24511 cat conftest.err >&5
24512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24513 (exit $ac_status); } && {
24514 test -z "$ac_c_werror_flag" ||
24515 test ! -s conftest.err
24516 } && test -s conftest.$ac_objext; then
24519 echo "$as_me: failed program was:" >&5
24520 sed 's/^/| /' conftest.$ac_ext >&5
24522 ac_lo=`expr '(' $ac_mid ')' + 1`
24525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24528 ?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
24529 '') if test "$ac_cv_type_unsigned_int" = yes; then
24530 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
24531 See \`config.log
' for more details." >&5
24532 echo "$as_me: error: cannot compute sizeof (unsigned int)
24533 See \`config.log' for more details.
" >&2;}
24534 { (exit 77); exit 77; }; }
24536 ac_cv_sizeof_unsigned_int=0
24540 cat >conftest.$ac_ext <<_ACEOF
24543 cat confdefs.h >>conftest.$ac_ext
24544 cat >>conftest.$ac_ext <<_ACEOF
24545 /* end confdefs.h. */
24546 $ac_includes_default
24547 typedef unsigned int ac__type_sizeof_;
24548 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24549 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24551 #include <stdlib.h>
24556 FILE *f = fopen ("conftest.val
", "w
");
24559 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24561 long int i = longval ();
24562 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24564 fprintf (f, "%ld
\n", i);
24568 unsigned long int i = ulongval ();
24569 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24571 fprintf (f, "%lu
\n", i);
24573 return ferror (f) || fclose (f) != 0;
24579 rm -f conftest$ac_exeext
24580 if { (ac_try="$ac_link"
24581 case "(($ac_try" in
24582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24583 *) ac_try_echo=$ac_try;;
24585 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24586 (eval "$ac_link") 2>&5
24588 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24589 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24590 { (case "(($ac_try" in
24591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24592 *) ac_try_echo=$ac_try;;
24594 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24595 (eval "$ac_try") 2>&5
24597 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24598 (exit $ac_status); }; }; then
24599 ac_cv_sizeof_unsigned_int=`cat conftest.val`
24601 echo "$as_me: program exited with status
$ac_status" >&5
24602 echo "$as_me: failed program was
:" >&5
24603 sed 's/^/| /' conftest.$ac_ext >&5
24605 ( exit $ac_status )
24606 if test "$ac_cv_type_unsigned_int" = yes; then
24607 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned int
)
24608 See \
`config.log' for more details." >&5
24609 echo "$as_me: error: cannot compute sizeof (unsigned int)
24610 See \`config.log
' for more details." >&2;}
24611 { (exit 77); exit 77; }; }
24613 ac_cv_sizeof_unsigned_int=0
24616 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24620 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
24621 echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6; }
24625 cat >>confdefs.h <<_ACEOF
24626 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
24630 { echo "$as_me:$LINENO: checking for unsigned long" >&5
24631 echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
24632 if test "${ac_cv_type_unsigned_long+set}" = set; then
24633 echo $ECHO_N "(cached) $ECHO_C" >&6
24635 cat >conftest.$ac_ext <<_ACEOF
24638 cat confdefs.h >>conftest.$ac_ext
24639 cat >>conftest.$ac_ext <<_ACEOF
24640 /* end confdefs.h. */
24641 $ac_includes_default
24642 typedef unsigned long ac__type_new_;
24646 if ((ac__type_new_ *) 0)
24648 if (sizeof (ac__type_new_))
24654 rm -f conftest.$ac_objext
24655 if { (ac_try="$ac_compile"
24656 case "(($ac_try" in
24657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24658 *) ac_try_echo=$ac_try;;
24660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24661 (eval "$ac_compile") 2>conftest.er1
24663 grep -v '^
*+' conftest.er1 >conftest.err
24665 cat conftest.err >&5
24666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24667 (exit $ac_status); } && {
24668 test -z "$ac_c_werror_flag" ||
24669 test ! -s conftest.err
24670 } && test -s conftest.$ac_objext; then
24671 ac_cv_type_unsigned_long=yes
24673 echo "$as_me: failed program was:" >&5
24674 sed 's
/^
/|
/' conftest.$ac_ext >&5
24676 ac_cv_type_unsigned_long=no
24679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24681 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
24682 echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
24684 # The cast to long int works around a bug in the HP C Compiler
24685 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24686 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24687 # This bug is HP SR number 8606223364.
24688 { echo "$as_me:$LINENO: checking size of unsigned long" >&5
24689 echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
24690 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
24691 echo $ECHO_N "(cached) $ECHO_C" >&6
24693 if test "$cross_compiling" = yes; then
24694 # Depending upon the size, compute the lo and hi bounds.
24695 cat >conftest.
$ac_ext <<_ACEOF
24698 cat confdefs.h
>>conftest.
$ac_ext
24699 cat >>conftest.
$ac_ext <<_ACEOF
24700 /* end confdefs.h. */
24701 $ac_includes_default
24702 typedef unsigned long ac__type_sizeof_;
24706 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24713 rm -f conftest.
$ac_objext
24714 if { (ac_try
="$ac_compile"
24715 case "(($ac_try" in
24716 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24717 *) ac_try_echo=$ac_try;;
24719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24720 (eval "$ac_compile") 2>conftest.er1
24722 grep -v '^ *+' conftest.er1 >conftest.err
24724 cat conftest.err >&5
24725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24726 (exit $ac_status); } && {
24727 test -z "$ac_c_werror_flag" ||
24728 test ! -s conftest.err
24729 } && test -s conftest.$ac_objext; then
24732 cat >conftest.$ac_ext <<_ACEOF
24735 cat confdefs.h >>conftest.$ac_ext
24736 cat >>conftest.$ac_ext <<_ACEOF
24737 /* end confdefs.h. */
24738 $ac_includes_default
24739 typedef unsigned long ac__type_sizeof_;
24743 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24750 rm -f conftest.$ac_objext
24751 if { (ac_try="$ac_compile"
24752 case "(($ac_try" in
24753 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24754 *) ac_try_echo
=$ac_try;;
24756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24757 (eval "$ac_compile") 2>conftest.er1
24759 grep -v '^ *+' conftest.er1
>conftest.err
24761 cat conftest.err
>&5
24762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24763 (exit $ac_status); } && {
24764 test -z "$ac_c_werror_flag" ||
24765 test ! -s conftest.err
24766 } && test -s conftest.
$ac_objext; then
24767 ac_hi
=$ac_mid; break
24769 echo "$as_me: failed program was:" >&5
24770 sed 's/^/| /' conftest.
$ac_ext >&5
24772 ac_lo
=`expr $ac_mid + 1`
24773 if test $ac_lo -le $ac_mid; then
24777 ac_mid
=`expr 2 '*' $ac_mid + 1`
24780 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24783 echo "$as_me: failed program was:" >&5
24784 sed 's/^/| /' conftest.
$ac_ext >&5
24786 cat >conftest.
$ac_ext <<_ACEOF
24789 cat confdefs.h
>>conftest.
$ac_ext
24790 cat >>conftest.
$ac_ext <<_ACEOF
24791 /* end confdefs.h. */
24792 $ac_includes_default
24793 typedef unsigned long ac__type_sizeof_;
24797 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24804 rm -f conftest.
$ac_objext
24805 if { (ac_try
="$ac_compile"
24806 case "(($ac_try" in
24807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24808 *) ac_try_echo=$ac_try;;
24810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24811 (eval "$ac_compile") 2>conftest.er1
24813 grep -v '^ *+' conftest.er1 >conftest.err
24815 cat conftest.err >&5
24816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24817 (exit $ac_status); } && {
24818 test -z "$ac_c_werror_flag" ||
24819 test ! -s conftest.err
24820 } && test -s conftest.$ac_objext; then
24823 cat >conftest.$ac_ext <<_ACEOF
24826 cat confdefs.h >>conftest.$ac_ext
24827 cat >>conftest.$ac_ext <<_ACEOF
24828 /* end confdefs.h. */
24829 $ac_includes_default
24830 typedef unsigned long ac__type_sizeof_;
24834 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24841 rm -f conftest.$ac_objext
24842 if { (ac_try="$ac_compile"
24843 case "(($ac_try" in
24844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24845 *) ac_try_echo
=$ac_try;;
24847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24848 (eval "$ac_compile") 2>conftest.er1
24850 grep -v '^ *+' conftest.er1
>conftest.err
24852 cat conftest.err
>&5
24853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24854 (exit $ac_status); } && {
24855 test -z "$ac_c_werror_flag" ||
24856 test ! -s conftest.err
24857 } && test -s conftest.
$ac_objext; then
24858 ac_lo
=$ac_mid; break
24860 echo "$as_me: failed program was:" >&5
24861 sed 's/^/| /' conftest.
$ac_ext >&5
24863 ac_hi
=`expr '(' $ac_mid ')' - 1`
24864 if test $ac_mid -le $ac_hi; then
24868 ac_mid
=`expr 2 '*' $ac_mid`
24871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24874 echo "$as_me: failed program was:" >&5
24875 sed 's/^/| /' conftest.
$ac_ext >&5
24880 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24884 # Binary search between lo and hi bounds.
24885 while test "x$ac_lo" != "x$ac_hi"; do
24886 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24887 cat >conftest.
$ac_ext <<_ACEOF
24890 cat confdefs.h
>>conftest.
$ac_ext
24891 cat >>conftest.
$ac_ext <<_ACEOF
24892 /* end confdefs.h. */
24893 $ac_includes_default
24894 typedef unsigned long ac__type_sizeof_;
24898 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24905 rm -f conftest.
$ac_objext
24906 if { (ac_try
="$ac_compile"
24907 case "(($ac_try" in
24908 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24909 *) ac_try_echo=$ac_try;;
24911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24912 (eval "$ac_compile") 2>conftest.er1
24914 grep -v '^ *+' conftest.er1 >conftest.err
24916 cat conftest.err >&5
24917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24918 (exit $ac_status); } && {
24919 test -z "$ac_c_werror_flag" ||
24920 test ! -s conftest.err
24921 } && test -s conftest.$ac_objext; then
24924 echo "$as_me: failed program was:" >&5
24925 sed 's/^/| /' conftest.$ac_ext >&5
24927 ac_lo=`expr '(' $ac_mid ')' + 1`
24930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24933 ?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
24934 '') if test "$ac_cv_type_unsigned_long" = yes; then
24935 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
24936 See \`config.log
' for more details." >&5
24937 echo "$as_me: error: cannot compute sizeof (unsigned long)
24938 See \`config.log' for more details.
" >&2;}
24939 { (exit 77); exit 77; }; }
24941 ac_cv_sizeof_unsigned_long=0
24945 cat >conftest.$ac_ext <<_ACEOF
24948 cat confdefs.h >>conftest.$ac_ext
24949 cat >>conftest.$ac_ext <<_ACEOF
24950 /* end confdefs.h. */
24951 $ac_includes_default
24952 typedef unsigned long ac__type_sizeof_;
24953 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24954 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24956 #include <stdlib.h>
24961 FILE *f = fopen ("conftest.val
", "w
");
24964 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24966 long int i = longval ();
24967 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24969 fprintf (f, "%ld
\n", i);
24973 unsigned long int i = ulongval ();
24974 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24976 fprintf (f, "%lu
\n", i);
24978 return ferror (f) || fclose (f) != 0;
24984 rm -f conftest$ac_exeext
24985 if { (ac_try="$ac_link"
24986 case "(($ac_try" in
24987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24988 *) ac_try_echo=$ac_try;;
24990 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24991 (eval "$ac_link") 2>&5
24993 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24994 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24995 { (case "(($ac_try" in
24996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24997 *) ac_try_echo=$ac_try;;
24999 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25000 (eval "$ac_try") 2>&5
25002 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25003 (exit $ac_status); }; }; then
25004 ac_cv_sizeof_unsigned_long=`cat conftest.val`
25006 echo "$as_me: program exited with status
$ac_status" >&5
25007 echo "$as_me: failed program was
:" >&5
25008 sed 's/^/| /' conftest.$ac_ext >&5
25010 ( exit $ac_status )
25011 if test "$ac_cv_type_unsigned_long" = yes; then
25012 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned long
)
25013 See \
`config.log' for more details." >&5
25014 echo "$as_me: error: cannot compute sizeof (unsigned long)
25015 See \`config.log
' for more details." >&2;}
25016 { (exit 77); exit 77; }; }
25018 ac_cv_sizeof_unsigned_long=0
25021 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25025 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
25026 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
25030 cat >>confdefs.h <<_ACEOF
25031 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
25035 { echo "$as_me:$LINENO: checking for unsigned long long" >&5
25036 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; }
25037 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
25038 echo $ECHO_N "(cached) $ECHO_C" >&6
25040 cat >conftest.$ac_ext <<_ACEOF
25043 cat confdefs.h >>conftest.$ac_ext
25044 cat >>conftest.$ac_ext <<_ACEOF
25045 /* end confdefs.h. */
25046 $ac_includes_default
25047 typedef unsigned long long ac__type_new_;
25051 if ((ac__type_new_ *) 0)
25053 if (sizeof (ac__type_new_))
25059 rm -f conftest.$ac_objext
25060 if { (ac_try="$ac_compile"
25061 case "(($ac_try" in
25062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25063 *) ac_try_echo=$ac_try;;
25065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25066 (eval "$ac_compile") 2>conftest.er1
25068 grep -v '^
*+' conftest.er1 >conftest.err
25070 cat conftest.err >&5
25071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25072 (exit $ac_status); } && {
25073 test -z "$ac_c_werror_flag" ||
25074 test ! -s conftest.err
25075 } && test -s conftest.$ac_objext; then
25076 ac_cv_type_unsigned_long_long=yes
25078 echo "$as_me: failed program was:" >&5
25079 sed 's
/^
/|
/' conftest.$ac_ext >&5
25081 ac_cv_type_unsigned_long_long=no
25084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25086 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
25087 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; }
25089 # The cast to long int works around a bug in the HP C Compiler
25090 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25091 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25092 # This bug is HP SR number 8606223364.
25093 { echo "$as_me:$LINENO: checking size of unsigned long long" >&5
25094 echo $ECHO_N "checking size of unsigned long long... $ECHO_C" >&6; }
25095 if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then
25096 echo $ECHO_N "(cached) $ECHO_C" >&6
25098 if test "$cross_compiling" = yes; then
25099 # Depending upon the size, compute the lo and hi bounds.
25100 cat >conftest.
$ac_ext <<_ACEOF
25103 cat confdefs.h
>>conftest.
$ac_ext
25104 cat >>conftest.
$ac_ext <<_ACEOF
25105 /* end confdefs.h. */
25106 $ac_includes_default
25107 typedef unsigned long long ac__type_sizeof_;
25111 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25118 rm -f conftest.
$ac_objext
25119 if { (ac_try
="$ac_compile"
25120 case "(($ac_try" in
25121 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25122 *) ac_try_echo=$ac_try;;
25124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25125 (eval "$ac_compile") 2>conftest.er1
25127 grep -v '^ *+' conftest.er1 >conftest.err
25129 cat conftest.err >&5
25130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25131 (exit $ac_status); } && {
25132 test -z "$ac_c_werror_flag" ||
25133 test ! -s conftest.err
25134 } && test -s conftest.$ac_objext; then
25137 cat >conftest.$ac_ext <<_ACEOF
25140 cat confdefs.h >>conftest.$ac_ext
25141 cat >>conftest.$ac_ext <<_ACEOF
25142 /* end confdefs.h. */
25143 $ac_includes_default
25144 typedef unsigned long long ac__type_sizeof_;
25148 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25155 rm -f conftest.$ac_objext
25156 if { (ac_try="$ac_compile"
25157 case "(($ac_try" in
25158 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25159 *) ac_try_echo
=$ac_try;;
25161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25162 (eval "$ac_compile") 2>conftest.er1
25164 grep -v '^ *+' conftest.er1
>conftest.err
25166 cat conftest.err
>&5
25167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25168 (exit $ac_status); } && {
25169 test -z "$ac_c_werror_flag" ||
25170 test ! -s conftest.err
25171 } && test -s conftest.
$ac_objext; then
25172 ac_hi
=$ac_mid; break
25174 echo "$as_me: failed program was:" >&5
25175 sed 's/^/| /' conftest.
$ac_ext >&5
25177 ac_lo
=`expr $ac_mid + 1`
25178 if test $ac_lo -le $ac_mid; then
25182 ac_mid
=`expr 2 '*' $ac_mid + 1`
25185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25188 echo "$as_me: failed program was:" >&5
25189 sed 's/^/| /' conftest.
$ac_ext >&5
25191 cat >conftest.
$ac_ext <<_ACEOF
25194 cat confdefs.h
>>conftest.
$ac_ext
25195 cat >>conftest.
$ac_ext <<_ACEOF
25196 /* end confdefs.h. */
25197 $ac_includes_default
25198 typedef unsigned long long ac__type_sizeof_;
25202 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25209 rm -f conftest.
$ac_objext
25210 if { (ac_try
="$ac_compile"
25211 case "(($ac_try" in
25212 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25213 *) ac_try_echo=$ac_try;;
25215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25216 (eval "$ac_compile") 2>conftest.er1
25218 grep -v '^ *+' conftest.er1 >conftest.err
25220 cat conftest.err >&5
25221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25222 (exit $ac_status); } && {
25223 test -z "$ac_c_werror_flag" ||
25224 test ! -s conftest.err
25225 } && test -s conftest.$ac_objext; then
25228 cat >conftest.$ac_ext <<_ACEOF
25231 cat confdefs.h >>conftest.$ac_ext
25232 cat >>conftest.$ac_ext <<_ACEOF
25233 /* end confdefs.h. */
25234 $ac_includes_default
25235 typedef unsigned long long ac__type_sizeof_;
25239 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25246 rm -f conftest.$ac_objext
25247 if { (ac_try="$ac_compile"
25248 case "(($ac_try" in
25249 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25250 *) ac_try_echo
=$ac_try;;
25252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25253 (eval "$ac_compile") 2>conftest.er1
25255 grep -v '^ *+' conftest.er1
>conftest.err
25257 cat conftest.err
>&5
25258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25259 (exit $ac_status); } && {
25260 test -z "$ac_c_werror_flag" ||
25261 test ! -s conftest.err
25262 } && test -s conftest.
$ac_objext; then
25263 ac_lo
=$ac_mid; break
25265 echo "$as_me: failed program was:" >&5
25266 sed 's/^/| /' conftest.
$ac_ext >&5
25268 ac_hi
=`expr '(' $ac_mid ')' - 1`
25269 if test $ac_mid -le $ac_hi; then
25273 ac_mid
=`expr 2 '*' $ac_mid`
25276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25279 echo "$as_me: failed program was:" >&5
25280 sed 's/^/| /' conftest.
$ac_ext >&5
25285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25289 # Binary search between lo and hi bounds.
25290 while test "x$ac_lo" != "x$ac_hi"; do
25291 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25292 cat >conftest.
$ac_ext <<_ACEOF
25295 cat confdefs.h
>>conftest.
$ac_ext
25296 cat >>conftest.
$ac_ext <<_ACEOF
25297 /* end confdefs.h. */
25298 $ac_includes_default
25299 typedef unsigned long long ac__type_sizeof_;
25303 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25310 rm -f conftest.
$ac_objext
25311 if { (ac_try
="$ac_compile"
25312 case "(($ac_try" in
25313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25314 *) ac_try_echo=$ac_try;;
25316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25317 (eval "$ac_compile") 2>conftest.er1
25319 grep -v '^ *+' conftest.er1 >conftest.err
25321 cat conftest.err >&5
25322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25323 (exit $ac_status); } && {
25324 test -z "$ac_c_werror_flag" ||
25325 test ! -s conftest.err
25326 } && test -s conftest.$ac_objext; then
25329 echo "$as_me: failed program was:" >&5
25330 sed 's/^/| /' conftest.$ac_ext >&5
25332 ac_lo=`expr '(' $ac_mid ')' + 1`
25335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25338 ?*) ac_cv_sizeof_unsigned_long_long=$ac_lo;;
25339 '') if test "$ac_cv_type_unsigned_long_long" = yes; then
25340 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long)
25341 See \`config.log
' for more details." >&5
25342 echo "$as_me: error: cannot compute sizeof (unsigned long long)
25343 See \`config.log' for more details.
" >&2;}
25344 { (exit 77); exit 77; }; }
25346 ac_cv_sizeof_unsigned_long_long=0
25350 cat >conftest.$ac_ext <<_ACEOF
25353 cat confdefs.h >>conftest.$ac_ext
25354 cat >>conftest.$ac_ext <<_ACEOF
25355 /* end confdefs.h. */
25356 $ac_includes_default
25357 typedef unsigned long long ac__type_sizeof_;
25358 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25359 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25361 #include <stdlib.h>
25366 FILE *f = fopen ("conftest.val
", "w
");
25369 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25371 long int i = longval ();
25372 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25374 fprintf (f, "%ld
\n", i);
25378 unsigned long int i = ulongval ();
25379 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25381 fprintf (f, "%lu
\n", i);
25383 return ferror (f) || fclose (f) != 0;
25389 rm -f conftest$ac_exeext
25390 if { (ac_try="$ac_link"
25391 case "(($ac_try" in
25392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25393 *) ac_try_echo=$ac_try;;
25395 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25396 (eval "$ac_link") 2>&5
25398 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25399 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25400 { (case "(($ac_try" in
25401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25402 *) ac_try_echo=$ac_try;;
25404 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25405 (eval "$ac_try") 2>&5
25407 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25408 (exit $ac_status); }; }; then
25409 ac_cv_sizeof_unsigned_long_long=`cat conftest.val`
25411 echo "$as_me: program exited with status
$ac_status" >&5
25412 echo "$as_me: failed program was
:" >&5
25413 sed 's/^/| /' conftest.$ac_ext >&5
25415 ( exit $ac_status )
25416 if test "$ac_cv_type_unsigned_long_long" = yes; then
25417 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned long long
)
25418 See \
`config.log' for more details." >&5
25419 echo "$as_me: error: cannot compute sizeof (unsigned long long)
25420 See \`config.log
' for more details." >&2;}
25421 { (exit 77); exit 77; }; }
25423 ac_cv_sizeof_unsigned_long_long=0
25426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25430 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long" >&5
25431 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long" >&6; }
25435 cat >>confdefs.h <<_ACEOF
25436 #define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
25440 { echo "$as_me:$LINENO: checking for int *" >&5
25441 echo $ECHO_N "checking for int *... $ECHO_C" >&6; }
25442 if test "${ac_cv_type_int_p+set}" = set; then
25443 echo $ECHO_N "(cached) $ECHO_C" >&6
25445 cat >conftest.$ac_ext <<_ACEOF
25448 cat confdefs.h >>conftest.$ac_ext
25449 cat >>conftest.$ac_ext <<_ACEOF
25450 /* end confdefs.h. */
25451 $ac_includes_default
25452 typedef int * ac__type_new_;
25456 if ((ac__type_new_ *) 0)
25458 if (sizeof (ac__type_new_))
25464 rm -f conftest.$ac_objext
25465 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
25473 grep -v '^
*+' conftest.er1 >conftest.err
25475 cat conftest.err >&5
25476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25477 (exit $ac_status); } && {
25478 test -z "$ac_c_werror_flag" ||
25479 test ! -s conftest.err
25480 } && test -s conftest.$ac_objext; then
25481 ac_cv_type_int_p=yes
25483 echo "$as_me: failed program was:" >&5
25484 sed 's
/^
/|
/' conftest.$ac_ext >&5
25486 ac_cv_type_int_p=no
25489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25491 { echo "$as_me:$LINENO: result: $ac_cv_type_int_p" >&5
25492 echo "${ECHO_T}$ac_cv_type_int_p" >&6; }
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 { echo "$as_me:$LINENO: checking size of int *" >&5
25499 echo $ECHO_N "checking size of int *... $ECHO_C" >&6; }
25500 if test "${ac_cv_sizeof_int_p+set}" = set; then
25501 echo $ECHO_N "(cached) $ECHO_C" >&6
25503 if test "$cross_compiling" = yes; then
25504 # Depending upon the size, compute the lo and hi bounds.
25505 cat >conftest.
$ac_ext <<_ACEOF
25508 cat confdefs.h
>>conftest.
$ac_ext
25509 cat >>conftest.
$ac_ext <<_ACEOF
25510 /* end confdefs.h. */
25511 $ac_includes_default
25512 typedef int * ac__type_sizeof_;
25516 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25523 rm -f conftest.
$ac_objext
25524 if { (ac_try
="$ac_compile"
25525 case "(($ac_try" in
25526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25527 *) ac_try_echo=$ac_try;;
25529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25530 (eval "$ac_compile") 2>conftest.er1
25532 grep -v '^ *+' conftest.er1 >conftest.err
25534 cat conftest.err >&5
25535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25536 (exit $ac_status); } && {
25537 test -z "$ac_c_werror_flag" ||
25538 test ! -s conftest.err
25539 } && test -s conftest.$ac_objext; then
25542 cat >conftest.$ac_ext <<_ACEOF
25545 cat confdefs.h >>conftest.$ac_ext
25546 cat >>conftest.$ac_ext <<_ACEOF
25547 /* end confdefs.h. */
25548 $ac_includes_default
25549 typedef int * ac__type_sizeof_;
25553 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25560 rm -f conftest.$ac_objext
25561 if { (ac_try="$ac_compile"
25562 case "(($ac_try" in
25563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25564 *) ac_try_echo
=$ac_try;;
25566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25567 (eval "$ac_compile") 2>conftest.er1
25569 grep -v '^ *+' conftest.er1
>conftest.err
25571 cat conftest.err
>&5
25572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25573 (exit $ac_status); } && {
25574 test -z "$ac_c_werror_flag" ||
25575 test ! -s conftest.err
25576 } && test -s conftest.
$ac_objext; then
25577 ac_hi
=$ac_mid; break
25579 echo "$as_me: failed program was:" >&5
25580 sed 's/^/| /' conftest.
$ac_ext >&5
25582 ac_lo
=`expr $ac_mid + 1`
25583 if test $ac_lo -le $ac_mid; then
25587 ac_mid
=`expr 2 '*' $ac_mid + 1`
25590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25593 echo "$as_me: failed program was:" >&5
25594 sed 's/^/| /' conftest.
$ac_ext >&5
25596 cat >conftest.
$ac_ext <<_ACEOF
25599 cat confdefs.h
>>conftest.
$ac_ext
25600 cat >>conftest.
$ac_ext <<_ACEOF
25601 /* end confdefs.h. */
25602 $ac_includes_default
25603 typedef int * ac__type_sizeof_;
25607 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25614 rm -f conftest.
$ac_objext
25615 if { (ac_try
="$ac_compile"
25616 case "(($ac_try" in
25617 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25618 *) ac_try_echo=$ac_try;;
25620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25621 (eval "$ac_compile") 2>conftest.er1
25623 grep -v '^ *+' conftest.er1 >conftest.err
25625 cat conftest.err >&5
25626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25627 (exit $ac_status); } && {
25628 test -z "$ac_c_werror_flag" ||
25629 test ! -s conftest.err
25630 } && test -s conftest.$ac_objext; then
25633 cat >conftest.$ac_ext <<_ACEOF
25636 cat confdefs.h >>conftest.$ac_ext
25637 cat >>conftest.$ac_ext <<_ACEOF
25638 /* end confdefs.h. */
25639 $ac_includes_default
25640 typedef int * ac__type_sizeof_;
25644 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25651 rm -f conftest.$ac_objext
25652 if { (ac_try="$ac_compile"
25653 case "(($ac_try" in
25654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25655 *) ac_try_echo
=$ac_try;;
25657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25658 (eval "$ac_compile") 2>conftest.er1
25660 grep -v '^ *+' conftest.er1
>conftest.err
25662 cat conftest.err
>&5
25663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25664 (exit $ac_status); } && {
25665 test -z "$ac_c_werror_flag" ||
25666 test ! -s conftest.err
25667 } && test -s conftest.
$ac_objext; then
25668 ac_lo
=$ac_mid; break
25670 echo "$as_me: failed program was:" >&5
25671 sed 's/^/| /' conftest.
$ac_ext >&5
25673 ac_hi
=`expr '(' $ac_mid ')' - 1`
25674 if test $ac_mid -le $ac_hi; then
25678 ac_mid
=`expr 2 '*' $ac_mid`
25681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25684 echo "$as_me: failed program was:" >&5
25685 sed 's/^/| /' conftest.
$ac_ext >&5
25690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25694 # Binary search between lo and hi bounds.
25695 while test "x$ac_lo" != "x$ac_hi"; do
25696 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25697 cat >conftest.
$ac_ext <<_ACEOF
25700 cat confdefs.h
>>conftest.
$ac_ext
25701 cat >>conftest.
$ac_ext <<_ACEOF
25702 /* end confdefs.h. */
25703 $ac_includes_default
25704 typedef int * ac__type_sizeof_;
25708 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25715 rm -f conftest.
$ac_objext
25716 if { (ac_try
="$ac_compile"
25717 case "(($ac_try" in
25718 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25719 *) ac_try_echo=$ac_try;;
25721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25722 (eval "$ac_compile") 2>conftest.er1
25724 grep -v '^ *+' conftest.er1 >conftest.err
25726 cat conftest.err >&5
25727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25728 (exit $ac_status); } && {
25729 test -z "$ac_c_werror_flag" ||
25730 test ! -s conftest.err
25731 } && test -s conftest.$ac_objext; then
25734 echo "$as_me: failed program was:" >&5
25735 sed 's/^/| /' conftest.$ac_ext >&5
25737 ac_lo=`expr '(' $ac_mid ')' + 1`
25740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25743 ?*) ac_cv_sizeof_int_p=$ac_lo;;
25744 '') if test "$ac_cv_type_int_p" = yes; then
25745 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *)
25746 See \`config.log
' for more details." >&5
25747 echo "$as_me: error: cannot compute sizeof (int *)
25748 See \`config.log' for more details.
" >&2;}
25749 { (exit 77); exit 77; }; }
25751 ac_cv_sizeof_int_p=0
25755 cat >conftest.$ac_ext <<_ACEOF
25758 cat confdefs.h >>conftest.$ac_ext
25759 cat >>conftest.$ac_ext <<_ACEOF
25760 /* end confdefs.h. */
25761 $ac_includes_default
25762 typedef int * ac__type_sizeof_;
25763 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25764 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25766 #include <stdlib.h>
25771 FILE *f = fopen ("conftest.val
", "w
");
25774 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25776 long int i = longval ();
25777 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25779 fprintf (f, "%ld
\n", i);
25783 unsigned long int i = ulongval ();
25784 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25786 fprintf (f, "%lu
\n", i);
25788 return ferror (f) || fclose (f) != 0;
25794 rm -f conftest$ac_exeext
25795 if { (ac_try="$ac_link"
25796 case "(($ac_try" in
25797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25798 *) ac_try_echo=$ac_try;;
25800 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25801 (eval "$ac_link") 2>&5
25803 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25804 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25805 { (case "(($ac_try" in
25806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25807 *) ac_try_echo=$ac_try;;
25809 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25810 (eval "$ac_try") 2>&5
25812 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25813 (exit $ac_status); }; }; then
25814 ac_cv_sizeof_int_p=`cat conftest.val`
25816 echo "$as_me: program exited with status
$ac_status" >&5
25817 echo "$as_me: failed program was
:" >&5
25818 sed 's/^/| /' conftest.$ac_ext >&5
25820 ( exit $ac_status )
25821 if test "$ac_cv_type_int_p" = yes; then
25822 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
*)
25823 See \
`config.log' for more details." >&5
25824 echo "$as_me: error: cannot compute sizeof (int *)
25825 See \`config.log
' for more details." >&2;}
25826 { (exit 77); exit 77; }; }
25828 ac_cv_sizeof_int_p=0
25831 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25835 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int_p" >&5
25836 echo "${ECHO_T}$ac_cv_sizeof_int_p" >&6; }
25840 cat >>confdefs.h <<_ACEOF
25841 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
25846 for ac_func in getenv
25848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25849 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25851 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25852 echo $ECHO_N "(cached) $ECHO_C" >&6
25854 cat >conftest.$ac_ext <<_ACEOF
25857 cat confdefs.h >>conftest.$ac_ext
25858 cat >>conftest.$ac_ext <<_ACEOF
25859 /* end confdefs.h. */
25860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25862 #define $ac_func innocuous_$ac_func
25864 /* System header to define __stub macros and hopefully few prototypes,
25865 which can conflict with char $ac_func (); below.
25866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25867 <limits.h> exists even on freestanding compilers. */
25870 # include <limits.h>
25872 # include <assert.h>
25877 /* Override any GCC internal prototype to avoid an error.
25878 Use char because int might match the return type of a GCC
25879 builtin and then its argument prototype would still apply. */
25884 /* The GNU C library defines this for functions which it implements
25885 to always fail with ENOSYS. Some functions are actually named
25886 something starting with __ and the normal name is an alias. */
25887 #if defined __stub_$ac_func || defined __stub___$ac_func
25894 return $ac_func ();
25899 rm -f conftest.$ac_objext conftest$ac_exeext
25900 if { (ac_try="$ac_link"
25901 case "(($ac_try" in
25902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25903 *) ac_try_echo=$ac_try;;
25905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25906 (eval "$ac_link") 2>conftest.er1
25908 grep -v '^
*+' conftest.er1 >conftest.err
25910 cat conftest.err >&5
25911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25912 (exit $ac_status); } && {
25913 test -z "$ac_c_werror_flag" ||
25914 test ! -s conftest.err
25915 } && test -s conftest$ac_exeext &&
25916 $as_test_x conftest$ac_exeext; then
25917 eval "$as_ac_var=yes"
25919 echo "$as_me: failed program was:" >&5
25920 sed 's
/^
/|
/' conftest.$ac_ext >&5
25922 eval "$as_ac_var=no"
25925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25926 conftest$ac_exeext conftest.$ac_ext
25928 ac_res=`eval echo '${'$as_ac_var'}'`
25929 { echo "$as_me:$LINENO: result: $ac_res" >&5
25930 echo "${ECHO_T}$ac_res" >&6; }
25931 if test `eval echo '${'$as_ac_var'}'` = yes; then
25932 cat >>confdefs.h <<_ACEOF
25933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25935 cat >>confdefs.h <<\_ACEOF
25936 #define BX_HAVE_GETENV 1
25943 for ac_func in setenv
25945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25946 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25948 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25949 echo $ECHO_N "(cached) $ECHO_C" >&6
25951 cat >conftest.$ac_ext <<_ACEOF
25954 cat confdefs.h >>conftest.$ac_ext
25955 cat >>conftest.$ac_ext <<_ACEOF
25956 /* end confdefs.h. */
25957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25959 #define $ac_func innocuous_$ac_func
25961 /* System header to define __stub macros and hopefully few prototypes,
25962 which can conflict with char $ac_func (); below.
25963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25964 <limits.h> exists even on freestanding compilers. */
25967 # include <limits.h>
25969 # include <assert.h>
25974 /* Override any GCC internal prototype to avoid an error.
25975 Use char because int might match the return type of a GCC
25976 builtin and then its argument prototype would still apply. */
25981 /* The GNU C library defines this for functions which it implements
25982 to always fail with ENOSYS. Some functions are actually named
25983 something starting with __ and the normal name is an alias. */
25984 #if defined __stub_$ac_func || defined __stub___$ac_func
25991 return $ac_func ();
25996 rm -f conftest.$ac_objext conftest$ac_exeext
25997 if { (ac_try="$ac_link"
25998 case "(($ac_try" in
25999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26000 *) ac_try_echo=$ac_try;;
26002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26003 (eval "$ac_link") 2>conftest.er1
26005 grep -v '^
*+' conftest.er1 >conftest.err
26007 cat conftest.err >&5
26008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26009 (exit $ac_status); } && {
26010 test -z "$ac_c_werror_flag" ||
26011 test ! -s conftest.err
26012 } && test -s conftest$ac_exeext &&
26013 $as_test_x conftest$ac_exeext; then
26014 eval "$as_ac_var=yes"
26016 echo "$as_me: failed program was:" >&5
26017 sed 's
/^
/|
/' conftest.$ac_ext >&5
26019 eval "$as_ac_var=no"
26022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26023 conftest$ac_exeext conftest.$ac_ext
26025 ac_res=`eval echo '${'$as_ac_var'}'`
26026 { echo "$as_me:$LINENO: result: $ac_res" >&5
26027 echo "${ECHO_T}$ac_res" >&6; }
26028 if test `eval echo '${'$as_ac_var'}'` = yes; then
26029 cat >>confdefs.h <<_ACEOF
26030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26032 cat >>confdefs.h <<\_ACEOF
26033 #define BX_HAVE_SETENV 1
26040 for ac_func in select
26042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26043 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26045 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26046 echo $ECHO_N "(cached) $ECHO_C" >&6
26048 cat >conftest.$ac_ext <<_ACEOF
26051 cat confdefs.h >>conftest.$ac_ext
26052 cat >>conftest.$ac_ext <<_ACEOF
26053 /* end confdefs.h. */
26054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26056 #define $ac_func innocuous_$ac_func
26058 /* System header to define __stub macros and hopefully few prototypes,
26059 which can conflict with char $ac_func (); below.
26060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26061 <limits.h> exists even on freestanding compilers. */
26064 # include <limits.h>
26066 # include <assert.h>
26071 /* Override any GCC internal prototype to avoid an error.
26072 Use char because int might match the return type of a GCC
26073 builtin and then its argument prototype would still apply. */
26078 /* The GNU C library defines this for functions which it implements
26079 to always fail with ENOSYS. Some functions are actually named
26080 something starting with __ and the normal name is an alias. */
26081 #if defined __stub_$ac_func || defined __stub___$ac_func
26088 return $ac_func ();
26093 rm -f conftest.$ac_objext conftest$ac_exeext
26094 if { (ac_try="$ac_link"
26095 case "(($ac_try" in
26096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26097 *) ac_try_echo=$ac_try;;
26099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26100 (eval "$ac_link") 2>conftest.er1
26102 grep -v '^
*+' conftest.er1 >conftest.err
26104 cat conftest.err >&5
26105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26106 (exit $ac_status); } && {
26107 test -z "$ac_c_werror_flag" ||
26108 test ! -s conftest.err
26109 } && test -s conftest$ac_exeext &&
26110 $as_test_x conftest$ac_exeext; then
26111 eval "$as_ac_var=yes"
26113 echo "$as_me: failed program was:" >&5
26114 sed 's
/^
/|
/' conftest.$ac_ext >&5
26116 eval "$as_ac_var=no"
26119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26120 conftest$ac_exeext conftest.$ac_ext
26122 ac_res=`eval echo '${'$as_ac_var'}'`
26123 { echo "$as_me:$LINENO: result: $ac_res" >&5
26124 echo "${ECHO_T}$ac_res" >&6; }
26125 if test `eval echo '${'$as_ac_var'}'` = yes; then
26126 cat >>confdefs.h <<_ACEOF
26127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26129 cat >>confdefs.h <<\_ACEOF
26130 #define BX_HAVE_SELECT 1
26137 for ac_func in snprintf
26139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26140 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26142 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26143 echo $ECHO_N "(cached) $ECHO_C" >&6
26145 cat >conftest.$ac_ext <<_ACEOF
26148 cat confdefs.h >>conftest.$ac_ext
26149 cat >>conftest.$ac_ext <<_ACEOF
26150 /* end confdefs.h. */
26151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26153 #define $ac_func innocuous_$ac_func
26155 /* System header to define __stub macros and hopefully few prototypes,
26156 which can conflict with char $ac_func (); below.
26157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26158 <limits.h> exists even on freestanding compilers. */
26161 # include <limits.h>
26163 # include <assert.h>
26168 /* Override any GCC internal prototype to avoid an error.
26169 Use char because int might match the return type of a GCC
26170 builtin and then its argument prototype would still apply. */
26175 /* The GNU C library defines this for functions which it implements
26176 to always fail with ENOSYS. Some functions are actually named
26177 something starting with __ and the normal name is an alias. */
26178 #if defined __stub_$ac_func || defined __stub___$ac_func
26185 return $ac_func ();
26190 rm -f conftest.$ac_objext conftest$ac_exeext
26191 if { (ac_try="$ac_link"
26192 case "(($ac_try" in
26193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26194 *) ac_try_echo=$ac_try;;
26196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26197 (eval "$ac_link") 2>conftest.er1
26199 grep -v '^
*+' conftest.er1 >conftest.err
26201 cat conftest.err >&5
26202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26203 (exit $ac_status); } && {
26204 test -z "$ac_c_werror_flag" ||
26205 test ! -s conftest.err
26206 } && test -s conftest$ac_exeext &&
26207 $as_test_x conftest$ac_exeext; then
26208 eval "$as_ac_var=yes"
26210 echo "$as_me: failed program was:" >&5
26211 sed 's
/^
/|
/' conftest.$ac_ext >&5
26213 eval "$as_ac_var=no"
26216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26217 conftest$ac_exeext conftest.$ac_ext
26219 ac_res=`eval echo '${'$as_ac_var'}'`
26220 { echo "$as_me:$LINENO: result: $ac_res" >&5
26221 echo "${ECHO_T}$ac_res" >&6; }
26222 if test `eval echo '${'$as_ac_var'}'` = yes; then
26223 cat >>confdefs.h <<_ACEOF
26224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26226 cat >>confdefs.h <<\_ACEOF
26227 #define BX_HAVE_SNPRINTF 1
26234 for ac_func in vsnprintf
26236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26237 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26239 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26240 echo $ECHO_N "(cached) $ECHO_C" >&6
26242 cat >conftest.$ac_ext <<_ACEOF
26245 cat confdefs.h >>conftest.$ac_ext
26246 cat >>conftest.$ac_ext <<_ACEOF
26247 /* end confdefs.h. */
26248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26250 #define $ac_func innocuous_$ac_func
26252 /* System header to define __stub macros and hopefully few prototypes,
26253 which can conflict with char $ac_func (); below.
26254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26255 <limits.h> exists even on freestanding compilers. */
26258 # include <limits.h>
26260 # include <assert.h>
26265 /* Override any GCC internal prototype to avoid an error.
26266 Use char because int might match the return type of a GCC
26267 builtin and then its argument prototype would still apply. */
26272 /* The GNU C library defines this for functions which it implements
26273 to always fail with ENOSYS. Some functions are actually named
26274 something starting with __ and the normal name is an alias. */
26275 #if defined __stub_$ac_func || defined __stub___$ac_func
26282 return $ac_func ();
26287 rm -f conftest.$ac_objext conftest$ac_exeext
26288 if { (ac_try="$ac_link"
26289 case "(($ac_try" in
26290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26291 *) ac_try_echo=$ac_try;;
26293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26294 (eval "$ac_link") 2>conftest.er1
26296 grep -v '^
*+' conftest.er1 >conftest.err
26298 cat conftest.err >&5
26299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26300 (exit $ac_status); } && {
26301 test -z "$ac_c_werror_flag" ||
26302 test ! -s conftest.err
26303 } && test -s conftest$ac_exeext &&
26304 $as_test_x conftest$ac_exeext; then
26305 eval "$as_ac_var=yes"
26307 echo "$as_me: failed program was:" >&5
26308 sed 's
/^
/|
/' conftest.$ac_ext >&5
26310 eval "$as_ac_var=no"
26313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26314 conftest$ac_exeext conftest.$ac_ext
26316 ac_res=`eval echo '${'$as_ac_var'}'`
26317 { echo "$as_me:$LINENO: result: $ac_res" >&5
26318 echo "${ECHO_T}$ac_res" >&6; }
26319 if test `eval echo '${'$as_ac_var'}'` = yes; then
26320 cat >>confdefs.h <<_ACEOF
26321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26323 cat >>confdefs.h <<\_ACEOF
26324 #define BX_HAVE_VSNPRINTF 1
26331 for ac_func in strtoull
26333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26334 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26336 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26337 echo $ECHO_N "(cached) $ECHO_C" >&6
26339 cat >conftest.$ac_ext <<_ACEOF
26342 cat confdefs.h >>conftest.$ac_ext
26343 cat >>conftest.$ac_ext <<_ACEOF
26344 /* end confdefs.h. */
26345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26347 #define $ac_func innocuous_$ac_func
26349 /* System header to define __stub macros and hopefully few prototypes,
26350 which can conflict with char $ac_func (); below.
26351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26352 <limits.h> exists even on freestanding compilers. */
26355 # include <limits.h>
26357 # include <assert.h>
26362 /* Override any GCC internal prototype to avoid an error.
26363 Use char because int might match the return type of a GCC
26364 builtin and then its argument prototype would still apply. */
26369 /* The GNU C library defines this for functions which it implements
26370 to always fail with ENOSYS. Some functions are actually named
26371 something starting with __ and the normal name is an alias. */
26372 #if defined __stub_$ac_func || defined __stub___$ac_func
26379 return $ac_func ();
26384 rm -f conftest.$ac_objext conftest$ac_exeext
26385 if { (ac_try="$ac_link"
26386 case "(($ac_try" in
26387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26388 *) ac_try_echo=$ac_try;;
26390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26391 (eval "$ac_link") 2>conftest.er1
26393 grep -v '^
*+' conftest.er1 >conftest.err
26395 cat conftest.err >&5
26396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26397 (exit $ac_status); } && {
26398 test -z "$ac_c_werror_flag" ||
26399 test ! -s conftest.err
26400 } && test -s conftest$ac_exeext &&
26401 $as_test_x conftest$ac_exeext; then
26402 eval "$as_ac_var=yes"
26404 echo "$as_me: failed program was:" >&5
26405 sed 's
/^
/|
/' conftest.$ac_ext >&5
26407 eval "$as_ac_var=no"
26410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26411 conftest$ac_exeext conftest.$ac_ext
26413 ac_res=`eval echo '${'$as_ac_var'}'`
26414 { echo "$as_me:$LINENO: result: $ac_res" >&5
26415 echo "${ECHO_T}$ac_res" >&6; }
26416 if test `eval echo '${'$as_ac_var'}'` = yes; then
26417 cat >>confdefs.h <<_ACEOF
26418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26420 cat >>confdefs.h <<\_ACEOF
26421 #define BX_HAVE_STRTOULL 1
26428 for ac_func in strtouq
26430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26431 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26433 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26434 echo $ECHO_N "(cached) $ECHO_C" >&6
26436 cat >conftest.$ac_ext <<_ACEOF
26439 cat confdefs.h >>conftest.$ac_ext
26440 cat >>conftest.$ac_ext <<_ACEOF
26441 /* end confdefs.h. */
26442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26444 #define $ac_func innocuous_$ac_func
26446 /* System header to define __stub macros and hopefully few prototypes,
26447 which can conflict with char $ac_func (); below.
26448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26449 <limits.h> exists even on freestanding compilers. */
26452 # include <limits.h>
26454 # include <assert.h>
26459 /* Override any GCC internal prototype to avoid an error.
26460 Use char because int might match the return type of a GCC
26461 builtin and then its argument prototype would still apply. */
26466 /* The GNU C library defines this for functions which it implements
26467 to always fail with ENOSYS. Some functions are actually named
26468 something starting with __ and the normal name is an alias. */
26469 #if defined __stub_$ac_func || defined __stub___$ac_func
26476 return $ac_func ();
26481 rm -f conftest.$ac_objext conftest$ac_exeext
26482 if { (ac_try="$ac_link"
26483 case "(($ac_try" in
26484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26485 *) ac_try_echo=$ac_try;;
26487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26488 (eval "$ac_link") 2>conftest.er1
26490 grep -v '^
*+' conftest.er1 >conftest.err
26492 cat conftest.err >&5
26493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26494 (exit $ac_status); } && {
26495 test -z "$ac_c_werror_flag" ||
26496 test ! -s conftest.err
26497 } && test -s conftest$ac_exeext &&
26498 $as_test_x conftest$ac_exeext; then
26499 eval "$as_ac_var=yes"
26501 echo "$as_me: failed program was:" >&5
26502 sed 's
/^
/|
/' conftest.$ac_ext >&5
26504 eval "$as_ac_var=no"
26507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26508 conftest$ac_exeext conftest.$ac_ext
26510 ac_res=`eval echo '${'$as_ac_var'}'`
26511 { echo "$as_me:$LINENO: result: $ac_res" >&5
26512 echo "${ECHO_T}$ac_res" >&6; }
26513 if test `eval echo '${'$as_ac_var'}'` = yes; then
26514 cat >>confdefs.h <<_ACEOF
26515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26517 cat >>confdefs.h <<\_ACEOF
26518 #define BX_HAVE_STRTOUQ 1
26525 for ac_func in strdup
26527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26528 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26530 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26531 echo $ECHO_N "(cached) $ECHO_C" >&6
26533 cat >conftest.$ac_ext <<_ACEOF
26536 cat confdefs.h >>conftest.$ac_ext
26537 cat >>conftest.$ac_ext <<_ACEOF
26538 /* end confdefs.h. */
26539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26541 #define $ac_func innocuous_$ac_func
26543 /* System header to define __stub macros and hopefully few prototypes,
26544 which can conflict with char $ac_func (); below.
26545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26546 <limits.h> exists even on freestanding compilers. */
26549 # include <limits.h>
26551 # include <assert.h>
26556 /* Override any GCC internal prototype to avoid an error.
26557 Use char because int might match the return type of a GCC
26558 builtin and then its argument prototype would still apply. */
26563 /* The GNU C library defines this for functions which it implements
26564 to always fail with ENOSYS. Some functions are actually named
26565 something starting with __ and the normal name is an alias. */
26566 #if defined __stub_$ac_func || defined __stub___$ac_func
26573 return $ac_func ();
26578 rm -f conftest.$ac_objext conftest$ac_exeext
26579 if { (ac_try="$ac_link"
26580 case "(($ac_try" in
26581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26582 *) ac_try_echo=$ac_try;;
26584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26585 (eval "$ac_link") 2>conftest.er1
26587 grep -v '^
*+' conftest.er1 >conftest.err
26589 cat conftest.err >&5
26590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26591 (exit $ac_status); } && {
26592 test -z "$ac_c_werror_flag" ||
26593 test ! -s conftest.err
26594 } && test -s conftest$ac_exeext &&
26595 $as_test_x conftest$ac_exeext; then
26596 eval "$as_ac_var=yes"
26598 echo "$as_me: failed program was:" >&5
26599 sed 's
/^
/|
/' conftest.$ac_ext >&5
26601 eval "$as_ac_var=no"
26604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26605 conftest$ac_exeext conftest.$ac_ext
26607 ac_res=`eval echo '${'$as_ac_var'}'`
26608 { echo "$as_me:$LINENO: result: $ac_res" >&5
26609 echo "${ECHO_T}$ac_res" >&6; }
26610 if test `eval echo '${'$as_ac_var'}'` = yes; then
26611 cat >>confdefs.h <<_ACEOF
26612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26614 cat >>confdefs.h <<\_ACEOF
26615 #define BX_HAVE_STRDUP 1
26622 for ac_func in strrev
26624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26625 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26627 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26628 echo $ECHO_N "(cached) $ECHO_C" >&6
26630 cat >conftest.$ac_ext <<_ACEOF
26633 cat confdefs.h >>conftest.$ac_ext
26634 cat >>conftest.$ac_ext <<_ACEOF
26635 /* end confdefs.h. */
26636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26638 #define $ac_func innocuous_$ac_func
26640 /* System header to define __stub macros and hopefully few prototypes,
26641 which can conflict with char $ac_func (); below.
26642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26643 <limits.h> exists even on freestanding compilers. */
26646 # include <limits.h>
26648 # include <assert.h>
26653 /* Override any GCC internal prototype to avoid an error.
26654 Use char because int might match the return type of a GCC
26655 builtin and then its argument prototype would still apply. */
26660 /* The GNU C library defines this for functions which it implements
26661 to always fail with ENOSYS. Some functions are actually named
26662 something starting with __ and the normal name is an alias. */
26663 #if defined __stub_$ac_func || defined __stub___$ac_func
26670 return $ac_func ();
26675 rm -f conftest.$ac_objext conftest$ac_exeext
26676 if { (ac_try="$ac_link"
26677 case "(($ac_try" in
26678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26679 *) ac_try_echo=$ac_try;;
26681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26682 (eval "$ac_link") 2>conftest.er1
26684 grep -v '^
*+' conftest.er1 >conftest.err
26686 cat conftest.err >&5
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); } && {
26689 test -z "$ac_c_werror_flag" ||
26690 test ! -s conftest.err
26691 } && test -s conftest$ac_exeext &&
26692 $as_test_x conftest$ac_exeext; then
26693 eval "$as_ac_var=yes"
26695 echo "$as_me: failed program was:" >&5
26696 sed 's
/^
/|
/' conftest.$ac_ext >&5
26698 eval "$as_ac_var=no"
26701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26702 conftest$ac_exeext conftest.$ac_ext
26704 ac_res=`eval echo '${'$as_ac_var'}'`
26705 { echo "$as_me:$LINENO: result: $ac_res" >&5
26706 echo "${ECHO_T}$ac_res" >&6; }
26707 if test `eval echo '${'$as_ac_var'}'` = yes; then
26708 cat >>confdefs.h <<_ACEOF
26709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26711 cat >>confdefs.h <<\_ACEOF
26712 #define BX_HAVE_STRREV 1
26719 for ac_func in sleep
26721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26722 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26724 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26725 echo $ECHO_N "(cached) $ECHO_C" >&6
26727 cat >conftest.$ac_ext <<_ACEOF
26730 cat confdefs.h >>conftest.$ac_ext
26731 cat >>conftest.$ac_ext <<_ACEOF
26732 /* end confdefs.h. */
26733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26735 #define $ac_func innocuous_$ac_func
26737 /* System header to define __stub macros and hopefully few prototypes,
26738 which can conflict with char $ac_func (); below.
26739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26740 <limits.h> exists even on freestanding compilers. */
26743 # include <limits.h>
26745 # include <assert.h>
26750 /* Override any GCC internal prototype to avoid an error.
26751 Use char because int might match the return type of a GCC
26752 builtin and then its argument prototype would still apply. */
26757 /* The GNU C library defines this for functions which it implements
26758 to always fail with ENOSYS. Some functions are actually named
26759 something starting with __ and the normal name is an alias. */
26760 #if defined __stub_$ac_func || defined __stub___$ac_func
26767 return $ac_func ();
26772 rm -f conftest.$ac_objext conftest$ac_exeext
26773 if { (ac_try="$ac_link"
26774 case "(($ac_try" in
26775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26776 *) ac_try_echo=$ac_try;;
26778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26779 (eval "$ac_link") 2>conftest.er1
26781 grep -v '^
*+' conftest.er1 >conftest.err
26783 cat conftest.err >&5
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); } && {
26786 test -z "$ac_c_werror_flag" ||
26787 test ! -s conftest.err
26788 } && test -s conftest$ac_exeext &&
26789 $as_test_x conftest$ac_exeext; then
26790 eval "$as_ac_var=yes"
26792 echo "$as_me: failed program was:" >&5
26793 sed 's
/^
/|
/' conftest.$ac_ext >&5
26795 eval "$as_ac_var=no"
26798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26799 conftest$ac_exeext conftest.$ac_ext
26801 ac_res=`eval echo '${'$as_ac_var'}'`
26802 { echo "$as_me:$LINENO: result: $ac_res" >&5
26803 echo "${ECHO_T}$ac_res" >&6; }
26804 if test `eval echo '${'$as_ac_var'}'` = yes; then
26805 cat >>confdefs.h <<_ACEOF
26806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26808 cat >>confdefs.h <<\_ACEOF
26809 #define BX_HAVE_SLEEP 1
26816 for ac_func in usleep
26818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26819 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26821 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26822 echo $ECHO_N "(cached) $ECHO_C" >&6
26824 cat >conftest.$ac_ext <<_ACEOF
26827 cat confdefs.h >>conftest.$ac_ext
26828 cat >>conftest.$ac_ext <<_ACEOF
26829 /* end confdefs.h. */
26830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26832 #define $ac_func innocuous_$ac_func
26834 /* System header to define __stub macros and hopefully few prototypes,
26835 which can conflict with char $ac_func (); below.
26836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26837 <limits.h> exists even on freestanding compilers. */
26840 # include <limits.h>
26842 # include <assert.h>
26847 /* Override any GCC internal prototype to avoid an error.
26848 Use char because int might match the return type of a GCC
26849 builtin and then its argument prototype would still apply. */
26854 /* The GNU C library defines this for functions which it implements
26855 to always fail with ENOSYS. Some functions are actually named
26856 something starting with __ and the normal name is an alias. */
26857 #if defined __stub_$ac_func || defined __stub___$ac_func
26864 return $ac_func ();
26869 rm -f conftest.$ac_objext conftest$ac_exeext
26870 if { (ac_try="$ac_link"
26871 case "(($ac_try" in
26872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26873 *) ac_try_echo=$ac_try;;
26875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26876 (eval "$ac_link") 2>conftest.er1
26878 grep -v '^
*+' conftest.er1 >conftest.err
26880 cat conftest.err >&5
26881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26882 (exit $ac_status); } && {
26883 test -z "$ac_c_werror_flag" ||
26884 test ! -s conftest.err
26885 } && test -s conftest$ac_exeext &&
26886 $as_test_x conftest$ac_exeext; then
26887 eval "$as_ac_var=yes"
26889 echo "$as_me: failed program was:" >&5
26890 sed 's
/^
/|
/' conftest.$ac_ext >&5
26892 eval "$as_ac_var=no"
26895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26896 conftest$ac_exeext conftest.$ac_ext
26898 ac_res=`eval echo '${'$as_ac_var'}'`
26899 { echo "$as_me:$LINENO: result: $ac_res" >&5
26900 echo "${ECHO_T}$ac_res" >&6; }
26901 if test `eval echo '${'$as_ac_var'}'` = yes; then
26902 cat >>confdefs.h <<_ACEOF
26903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26905 cat >>confdefs.h <<\_ACEOF
26906 #define BX_HAVE_USLEEP 1
26913 for ac_func in nanosleep
26915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26916 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26918 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26919 echo $ECHO_N "(cached) $ECHO_C" >&6
26921 cat >conftest.$ac_ext <<_ACEOF
26924 cat confdefs.h >>conftest.$ac_ext
26925 cat >>conftest.$ac_ext <<_ACEOF
26926 /* end confdefs.h. */
26927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26929 #define $ac_func innocuous_$ac_func
26931 /* System header to define __stub macros and hopefully few prototypes,
26932 which can conflict with char $ac_func (); below.
26933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26934 <limits.h> exists even on freestanding compilers. */
26937 # include <limits.h>
26939 # include <assert.h>
26944 /* Override any GCC internal prototype to avoid an error.
26945 Use char because int might match the return type of a GCC
26946 builtin and then its argument prototype would still apply. */
26951 /* The GNU C library defines this for functions which it implements
26952 to always fail with ENOSYS. Some functions are actually named
26953 something starting with __ and the normal name is an alias. */
26954 #if defined __stub_$ac_func || defined __stub___$ac_func
26961 return $ac_func ();
26966 rm -f conftest.$ac_objext conftest$ac_exeext
26967 if { (ac_try="$ac_link"
26968 case "(($ac_try" in
26969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26970 *) ac_try_echo=$ac_try;;
26972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26973 (eval "$ac_link") 2>conftest.er1
26975 grep -v '^
*+' conftest.er1 >conftest.err
26977 cat conftest.err >&5
26978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26979 (exit $ac_status); } && {
26980 test -z "$ac_c_werror_flag" ||
26981 test ! -s conftest.err
26982 } && test -s conftest$ac_exeext &&
26983 $as_test_x conftest$ac_exeext; then
26984 eval "$as_ac_var=yes"
26986 echo "$as_me: failed program was:" >&5
26987 sed 's
/^
/|
/' conftest.$ac_ext >&5
26989 eval "$as_ac_var=no"
26992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26993 conftest$ac_exeext conftest.$ac_ext
26995 ac_res=`eval echo '${'$as_ac_var'}'`
26996 { echo "$as_me:$LINENO: result: $ac_res" >&5
26997 echo "${ECHO_T}$ac_res" >&6; }
26998 if test `eval echo '${'$as_ac_var'}'` = yes; then
26999 cat >>confdefs.h <<_ACEOF
27000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27002 cat >>confdefs.h <<\_ACEOF
27003 #define BX_HAVE_NANOSLEEP 1
27010 for ac_func in abort
27012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27013 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27015 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27016 echo $ECHO_N "(cached) $ECHO_C" >&6
27018 cat >conftest.$ac_ext <<_ACEOF
27021 cat confdefs.h >>conftest.$ac_ext
27022 cat >>conftest.$ac_ext <<_ACEOF
27023 /* end confdefs.h. */
27024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27026 #define $ac_func innocuous_$ac_func
27028 /* System header to define __stub macros and hopefully few prototypes,
27029 which can conflict with char $ac_func (); below.
27030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27031 <limits.h> exists even on freestanding compilers. */
27034 # include <limits.h>
27036 # include <assert.h>
27041 /* Override any GCC internal prototype to avoid an error.
27042 Use char because int might match the return type of a GCC
27043 builtin and then its argument prototype would still apply. */
27048 /* The GNU C library defines this for functions which it implements
27049 to always fail with ENOSYS. Some functions are actually named
27050 something starting with __ and the normal name is an alias. */
27051 #if defined __stub_$ac_func || defined __stub___$ac_func
27058 return $ac_func ();
27063 rm -f conftest.$ac_objext conftest$ac_exeext
27064 if { (ac_try="$ac_link"
27065 case "(($ac_try" in
27066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27067 *) ac_try_echo=$ac_try;;
27069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27070 (eval "$ac_link") 2>conftest.er1
27072 grep -v '^
*+' conftest.er1 >conftest.err
27074 cat conftest.err >&5
27075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076 (exit $ac_status); } && {
27077 test -z "$ac_c_werror_flag" ||
27078 test ! -s conftest.err
27079 } && test -s conftest$ac_exeext &&
27080 $as_test_x conftest$ac_exeext; then
27081 eval "$as_ac_var=yes"
27083 echo "$as_me: failed program was:" >&5
27084 sed 's
/^
/|
/' conftest.$ac_ext >&5
27086 eval "$as_ac_var=no"
27089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27090 conftest$ac_exeext conftest.$ac_ext
27092 ac_res=`eval echo '${'$as_ac_var'}'`
27093 { echo "$as_me:$LINENO: result: $ac_res" >&5
27094 echo "${ECHO_T}$ac_res" >&6; }
27095 if test `eval echo '${'$as_ac_var'}'` = yes; then
27096 cat >>confdefs.h <<_ACEOF
27097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27099 cat >>confdefs.h <<\_ACEOF
27100 #define BX_HAVE_ABORT 1
27107 for ac_func in gettimeofday
27109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27110 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27112 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27113 echo $ECHO_N "(cached) $ECHO_C" >&6
27115 cat >conftest.$ac_ext <<_ACEOF
27118 cat confdefs.h >>conftest.$ac_ext
27119 cat >>conftest.$ac_ext <<_ACEOF
27120 /* end confdefs.h. */
27121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27123 #define $ac_func innocuous_$ac_func
27125 /* System header to define __stub macros and hopefully few prototypes,
27126 which can conflict with char $ac_func (); below.
27127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27128 <limits.h> exists even on freestanding compilers. */
27131 # include <limits.h>
27133 # include <assert.h>
27138 /* Override any GCC internal prototype to avoid an error.
27139 Use char because int might match the return type of a GCC
27140 builtin and then its argument prototype would still apply. */
27145 /* The GNU C library defines this for functions which it implements
27146 to always fail with ENOSYS. Some functions are actually named
27147 something starting with __ and the normal name is an alias. */
27148 #if defined __stub_$ac_func || defined __stub___$ac_func
27155 return $ac_func ();
27160 rm -f conftest.$ac_objext conftest$ac_exeext
27161 if { (ac_try="$ac_link"
27162 case "(($ac_try" in
27163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27164 *) ac_try_echo=$ac_try;;
27166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27167 (eval "$ac_link") 2>conftest.er1
27169 grep -v '^
*+' conftest.er1 >conftest.err
27171 cat conftest.err >&5
27172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27173 (exit $ac_status); } && {
27174 test -z "$ac_c_werror_flag" ||
27175 test ! -s conftest.err
27176 } && test -s conftest$ac_exeext &&
27177 $as_test_x conftest$ac_exeext; then
27178 eval "$as_ac_var=yes"
27180 echo "$as_me: failed program was:" >&5
27181 sed 's
/^
/|
/' conftest.$ac_ext >&5
27183 eval "$as_ac_var=no"
27186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27187 conftest$ac_exeext conftest.$ac_ext
27189 ac_res=`eval echo '${'$as_ac_var'}'`
27190 { echo "$as_me:$LINENO: result: $ac_res" >&5
27191 echo "${ECHO_T}$ac_res" >&6; }
27192 if test `eval echo '${'$as_ac_var'}'` = yes; then
27193 cat >>confdefs.h <<_ACEOF
27194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27196 cat >>confdefs.h <<\_ACEOF
27197 #define BX_HAVE_GETTIMEOFDAY 1
27203 { echo "$as_me:$LINENO: checking for socklen_t" >&5
27204 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
27205 if test "${ac_cv_type_socklen_t+set}" = set; then
27206 echo $ECHO_N "(cached) $ECHO_C" >&6
27208 cat >conftest.$ac_ext <<_ACEOF
27211 cat confdefs.h >>conftest.$ac_ext
27212 cat >>conftest.$ac_ext <<_ACEOF
27213 /* end confdefs.h. */
27214 #include <sys/types.h>
27215 #include <sys/socket.h>
27217 typedef socklen_t ac__type_new_;
27221 if ((ac__type_new_ *) 0)
27223 if (sizeof (ac__type_new_))
27229 rm -f conftest.$ac_objext
27230 if { (ac_try="$ac_compile"
27231 case "(($ac_try" in
27232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27233 *) ac_try_echo=$ac_try;;
27235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27236 (eval "$ac_compile") 2>conftest.er1
27238 grep -v '^
*+' conftest.er1 >conftest.err
27240 cat conftest.err >&5
27241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27242 (exit $ac_status); } && {
27243 test -z "$ac_c_werror_flag" ||
27244 test ! -s conftest.err
27245 } && test -s conftest.$ac_objext; then
27246 ac_cv_type_socklen_t=yes
27248 echo "$as_me: failed program was:" >&5
27249 sed 's
/^
/|
/' conftest.$ac_ext >&5
27251 ac_cv_type_socklen_t=no
27254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27256 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
27257 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
27258 if test $ac_cv_type_socklen_t = yes; then
27259 cat >>confdefs.h <<\_ACEOF
27260 #define BX_HAVE_SOCKLEN_T 1
27265 { echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
27266 echo $ECHO_N "checking for struct sockaddr_in.sin_len... $ECHO_C" >&6; }
27267 if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then
27268 echo $ECHO_N "(cached) $ECHO_C" >&6
27270 cat >conftest.$ac_ext <<_ACEOF
27273 cat confdefs.h >>conftest.$ac_ext
27274 cat >>conftest.$ac_ext <<_ACEOF
27275 /* end confdefs.h. */
27276 #include <sys/socket.h>
27277 #include <netinet/in.h>
27282 static struct sockaddr_in ac_aggr;
27283 if (ac_aggr.sin_len)
27289 rm -f conftest.$ac_objext
27290 if { (ac_try="$ac_compile"
27291 case "(($ac_try" in
27292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27293 *) ac_try_echo=$ac_try;;
27295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27296 (eval "$ac_compile") 2>conftest.er1
27298 grep -v '^
*+' conftest.er1 >conftest.err
27300 cat conftest.err >&5
27301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27302 (exit $ac_status); } && {
27303 test -z "$ac_c_werror_flag" ||
27304 test ! -s conftest.err
27305 } && test -s conftest.$ac_objext; then
27306 ac_cv_member_struct_sockaddr_in_sin_len=yes
27308 echo "$as_me: failed program was:" >&5
27309 sed 's
/^
/|
/' conftest.$ac_ext >&5
27311 cat >conftest.$ac_ext <<_ACEOF
27314 cat confdefs.h >>conftest.$ac_ext
27315 cat >>conftest.$ac_ext <<_ACEOF
27316 /* end confdefs.h. */
27317 #include <sys/socket.h>
27318 #include <netinet/in.h>
27323 static struct sockaddr_in ac_aggr;
27324 if (sizeof ac_aggr.sin_len)
27330 rm -f conftest.$ac_objext
27331 if { (ac_try="$ac_compile"
27332 case "(($ac_try" in
27333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27334 *) ac_try_echo=$ac_try;;
27336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27337 (eval "$ac_compile") 2>conftest.er1
27339 grep -v '^
*+' conftest.er1 >conftest.err
27341 cat conftest.err >&5
27342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27343 (exit $ac_status); } && {
27344 test -z "$ac_c_werror_flag" ||
27345 test ! -s conftest.err
27346 } && test -s conftest.$ac_objext; then
27347 ac_cv_member_struct_sockaddr_in_sin_len=yes
27349 echo "$as_me: failed program was:" >&5
27350 sed 's
/^
/|
/' conftest.$ac_ext >&5
27352 ac_cv_member_struct_sockaddr_in_sin_len=no
27355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27360 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
27361 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in_sin_len" >&6; }
27362 if test $ac_cv_member_struct_sockaddr_in_sin_len = yes; then
27363 cat >>confdefs.h <<\_ACEOF
27364 #define BX_HAVE_SOCKADDR_IN_SIN_LEN 1
27370 for ac_func in mkstemp
27372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27373 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27375 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27376 echo $ECHO_N "(cached) $ECHO_C" >&6
27378 cat >conftest.$ac_ext <<_ACEOF
27381 cat confdefs.h >>conftest.$ac_ext
27382 cat >>conftest.$ac_ext <<_ACEOF
27383 /* end confdefs.h. */
27384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27386 #define $ac_func innocuous_$ac_func
27388 /* System header to define __stub macros and hopefully few prototypes,
27389 which can conflict with char $ac_func (); below.
27390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27391 <limits.h> exists even on freestanding compilers. */
27394 # include <limits.h>
27396 # include <assert.h>
27401 /* Override any GCC internal prototype to avoid an error.
27402 Use char because int might match the return type of a GCC
27403 builtin and then its argument prototype would still apply. */
27408 /* The GNU C library defines this for functions which it implements
27409 to always fail with ENOSYS. Some functions are actually named
27410 something starting with __ and the normal name is an alias. */
27411 #if defined __stub_$ac_func || defined __stub___$ac_func
27418 return $ac_func ();
27423 rm -f conftest.$ac_objext conftest$ac_exeext
27424 if { (ac_try="$ac_link"
27425 case "(($ac_try" in
27426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27427 *) ac_try_echo=$ac_try;;
27429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27430 (eval "$ac_link") 2>conftest.er1
27432 grep -v '^
*+' conftest.er1 >conftest.err
27434 cat conftest.err >&5
27435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27436 (exit $ac_status); } && {
27437 test -z "$ac_c_werror_flag" ||
27438 test ! -s conftest.err
27439 } && test -s conftest$ac_exeext &&
27440 $as_test_x conftest$ac_exeext; then
27441 eval "$as_ac_var=yes"
27443 echo "$as_me: failed program was:" >&5
27444 sed 's
/^
/|
/' conftest.$ac_ext >&5
27446 eval "$as_ac_var=no"
27449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27450 conftest$ac_exeext conftest.$ac_ext
27452 ac_res=`eval echo '${'$as_ac_var'}'`
27453 { echo "$as_me:$LINENO: result: $ac_res" >&5
27454 echo "${ECHO_T}$ac_res" >&6; }
27455 if test `eval echo '${'$as_ac_var'}'` = yes; then
27456 cat >>confdefs.h <<_ACEOF
27457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27459 cat >>confdefs.h <<\_ACEOF
27460 #define BX_HAVE_MKSTEMP 1
27466 if test "${ac_cv_header_sys_mman_h+set}" = set; then
27467 { echo "$as_me:$LINENO: checking for sys/mman.h" >&5
27468 echo $ECHO_N "checking for sys/mman.h... $ECHO_C" >&6; }
27469 if test "${ac_cv_header_sys_mman_h+set}" = set; then
27470 echo $ECHO_N "(cached) $ECHO_C" >&6
27472 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
27473 echo "${ECHO_T}$ac_cv_header_sys_mman_h" >&6; }
27475 # Is the header compilable?
27476 { echo "$as_me:$LINENO: checking sys/mman.h usability" >&5
27477 echo $ECHO_N "checking sys/mman.h usability... $ECHO_C" >&6; }
27478 cat >conftest.$ac_ext <<_ACEOF
27481 cat confdefs.h >>conftest.$ac_ext
27482 cat >>conftest.$ac_ext <<_ACEOF
27483 /* end confdefs.h. */
27484 $ac_includes_default
27485 #include <sys/mman.h>
27487 rm -f conftest.$ac_objext
27488 if { (ac_try="$ac_compile"
27489 case "(($ac_try" in
27490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27491 *) ac_try_echo=$ac_try;;
27493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27494 (eval "$ac_compile") 2>conftest.er1
27496 grep -v '^
*+' conftest.er1 >conftest.err
27498 cat conftest.err >&5
27499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27500 (exit $ac_status); } && {
27501 test -z "$ac_c_werror_flag" ||
27502 test ! -s conftest.err
27503 } && test -s conftest.$ac_objext; then
27504 ac_header_compiler=yes
27506 echo "$as_me: failed program was:" >&5
27507 sed 's
/^
/|
/' conftest.$ac_ext >&5
27509 ac_header_compiler=no
27512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27513 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27514 echo "${ECHO_T}$ac_header_compiler" >&6; }
27516 # Is the header present?
27517 { echo "$as_me:$LINENO: checking sys/mman.h presence" >&5
27518 echo $ECHO_N "checking sys/mman.h presence... $ECHO_C" >&6; }
27519 cat >conftest.$ac_ext <<_ACEOF
27522 cat confdefs.h >>conftest.$ac_ext
27523 cat >>conftest.$ac_ext <<_ACEOF
27524 /* end confdefs.h. */
27525 #include <sys/mman.h>
27527 if { (ac_try="$ac_cpp conftest.$ac_ext"
27528 case "(($ac_try" in
27529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27530 *) ac_try_echo=$ac_try;;
27532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27533 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27535 grep -v '^
*+' conftest.er1 >conftest.err
27537 cat conftest.err >&5
27538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27539 (exit $ac_status); } >/dev/null && {
27540 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27541 test ! -s conftest.err
27543 ac_header_preproc=yes
27545 echo "$as_me: failed program was:" >&5
27546 sed 's
/^
/|
/' conftest.$ac_ext >&5
27548 ac_header_preproc=no
27551 rm -f conftest.err conftest.$ac_ext
27552 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27553 echo "${ECHO_T}$ac_header_preproc" >&6; }
27555 # So? What about this header?
27556 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27558 { echo "$as_me:$LINENO: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&5
27559 echo "$as_me: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27560 { echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the compiler's result
" >&5
27561 echo "$as_me: WARNING
: sys
/mman.h
: proceeding with the compiler
's result" >&2;}
27562 ac_header_preproc=yes
27565 { echo "$as_me:$LINENO: WARNING: sys/mman.h: present but cannot be compiled" >&5
27566 echo "$as_me: WARNING: sys/mman.h: present but cannot be compiled" >&2;}
27567 { echo "$as_me:$LINENO: WARNING: sys/mman.h: check for missing prerequisite headers?" >&5
27568 echo "$as_me: WARNING: sys/mman.h: check for missing prerequisite headers?" >&2;}
27569 { echo "$as_me:$LINENO: WARNING: sys/mman.h: see the Autoconf documentation" >&5
27570 echo "$as_me: WARNING: sys/mman.h: see the Autoconf documentation" >&2;}
27571 { echo "$as_me:$LINENO: WARNING: sys/mman.h: section \"Present But Cannot Be Compiled\"" >&5
27572 echo "$as_me: WARNING: sys/mman.h: section \"Present But Cannot Be Compiled\"" >&2;}
27573 { echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the preprocessor's result
" >&5
27574 echo "$as_me: WARNING
: sys
/mman.h
: proceeding with the preprocessor
's result" >&2;}
27575 { echo "$as_me:$LINENO: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&5
27576 echo "$as_me: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&2;}
27580 { echo "$as_me:$LINENO: checking for sys/mman.h" >&5
27581 echo $ECHO_N "checking for sys/mman.h... $ECHO_C" >&6; }
27582 if test "${ac_cv_header_sys_mman_h+set}" = set; then
27583 echo $ECHO_N "(cached) $ECHO_C" >&6
27585 ac_cv_header_sys_mman_h=$ac_header_preproc
27587 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
27588 echo "${ECHO_T}$ac_cv_header_sys_mman_h" >&6; }
27591 if test $ac_cv_header_sys_mman_h = yes; then
27592 cat >>confdefs.h <<\_ACEOF
27593 #define BX_HAVE_SYS_MMAN_H 1
27600 for ac_func in timelocal
27602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27603 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27605 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27606 echo $ECHO_N "(cached) $ECHO_C" >&6
27608 cat >conftest.$ac_ext <<_ACEOF
27611 cat confdefs.h >>conftest.$ac_ext
27612 cat >>conftest.$ac_ext <<_ACEOF
27613 /* end confdefs.h. */
27614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27616 #define $ac_func innocuous_$ac_func
27618 /* System header to define __stub macros and hopefully few prototypes,
27619 which can conflict with char $ac_func (); below.
27620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27621 <limits.h> exists even on freestanding compilers. */
27624 # include <limits.h>
27626 # include <assert.h>
27631 /* Override any GCC internal prototype to avoid an error.
27632 Use char because int might match the return type of a GCC
27633 builtin and then its argument prototype would still apply. */
27638 /* The GNU C library defines this for functions which it implements
27639 to always fail with ENOSYS. Some functions are actually named
27640 something starting with __ and the normal name is an alias. */
27641 #if defined __stub_$ac_func || defined __stub___$ac_func
27648 return $ac_func ();
27653 rm -f conftest.$ac_objext conftest$ac_exeext
27654 if { (ac_try="$ac_link"
27655 case "(($ac_try" in
27656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27657 *) ac_try_echo=$ac_try;;
27659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27660 (eval "$ac_link") 2>conftest.er1
27662 grep -v '^
*+' conftest.er1 >conftest.err
27664 cat conftest.err >&5
27665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27666 (exit $ac_status); } && {
27667 test -z "$ac_c_werror_flag" ||
27668 test ! -s conftest.err
27669 } && test -s conftest$ac_exeext &&
27670 $as_test_x conftest$ac_exeext; then
27671 eval "$as_ac_var=yes"
27673 echo "$as_me: failed program was:" >&5
27674 sed 's
/^
/|
/' conftest.$ac_ext >&5
27676 eval "$as_ac_var=no"
27679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27680 conftest$ac_exeext conftest.$ac_ext
27682 ac_res=`eval echo '${'$as_ac_var'}'`
27683 { echo "$as_me:$LINENO: result: $ac_res" >&5
27684 echo "${ECHO_T}$ac_res" >&6; }
27685 if test `eval echo '${'$as_ac_var'}'` = yes; then
27686 cat >>confdefs.h <<_ACEOF
27687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27689 cat >>confdefs.h <<\_ACEOF
27690 #define BX_HAVE_TIMELOCAL 1
27697 for ac_func in gmtime
27699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27700 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27702 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27703 echo $ECHO_N "(cached) $ECHO_C" >&6
27705 cat >conftest.$ac_ext <<_ACEOF
27708 cat confdefs.h >>conftest.$ac_ext
27709 cat >>conftest.$ac_ext <<_ACEOF
27710 /* end confdefs.h. */
27711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27713 #define $ac_func innocuous_$ac_func
27715 /* System header to define __stub macros and hopefully few prototypes,
27716 which can conflict with char $ac_func (); below.
27717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27718 <limits.h> exists even on freestanding compilers. */
27721 # include <limits.h>
27723 # include <assert.h>
27728 /* Override any GCC internal prototype to avoid an error.
27729 Use char because int might match the return type of a GCC
27730 builtin and then its argument prototype would still apply. */
27735 /* The GNU C library defines this for functions which it implements
27736 to always fail with ENOSYS. Some functions are actually named
27737 something starting with __ and the normal name is an alias. */
27738 #if defined __stub_$ac_func || defined __stub___$ac_func
27745 return $ac_func ();
27750 rm -f conftest.$ac_objext conftest$ac_exeext
27751 if { (ac_try="$ac_link"
27752 case "(($ac_try" in
27753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27754 *) ac_try_echo=$ac_try;;
27756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27757 (eval "$ac_link") 2>conftest.er1
27759 grep -v '^
*+' conftest.er1 >conftest.err
27761 cat conftest.err >&5
27762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27763 (exit $ac_status); } && {
27764 test -z "$ac_c_werror_flag" ||
27765 test ! -s conftest.err
27766 } && test -s conftest$ac_exeext &&
27767 $as_test_x conftest$ac_exeext; then
27768 eval "$as_ac_var=yes"
27770 echo "$as_me: failed program was:" >&5
27771 sed 's
/^
/|
/' conftest.$ac_ext >&5
27773 eval "$as_ac_var=no"
27776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27777 conftest$ac_exeext conftest.$ac_ext
27779 ac_res=`eval echo '${'$as_ac_var'}'`
27780 { echo "$as_me:$LINENO: result: $ac_res" >&5
27781 echo "${ECHO_T}$ac_res" >&6; }
27782 if test `eval echo '${'$as_ac_var'}'` = yes; then
27783 cat >>confdefs.h <<_ACEOF
27784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27786 cat >>confdefs.h <<\_ACEOF
27787 #define BX_HAVE_GMTIME 1
27794 for ac_func in mktime
27796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27797 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27799 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27800 echo $ECHO_N "(cached) $ECHO_C" >&6
27802 cat >conftest.$ac_ext <<_ACEOF
27805 cat confdefs.h >>conftest.$ac_ext
27806 cat >>conftest.$ac_ext <<_ACEOF
27807 /* end confdefs.h. */
27808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27810 #define $ac_func innocuous_$ac_func
27812 /* System header to define __stub macros and hopefully few prototypes,
27813 which can conflict with char $ac_func (); below.
27814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27815 <limits.h> exists even on freestanding compilers. */
27818 # include <limits.h>
27820 # include <assert.h>
27825 /* Override any GCC internal prototype to avoid an error.
27826 Use char because int might match the return type of a GCC
27827 builtin and then its argument prototype would still apply. */
27832 /* The GNU C library defines this for functions which it implements
27833 to always fail with ENOSYS. Some functions are actually named
27834 something starting with __ and the normal name is an alias. */
27835 #if defined __stub_$ac_func || defined __stub___$ac_func
27842 return $ac_func ();
27847 rm -f conftest.$ac_objext conftest$ac_exeext
27848 if { (ac_try="$ac_link"
27849 case "(($ac_try" in
27850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27851 *) ac_try_echo=$ac_try;;
27853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27854 (eval "$ac_link") 2>conftest.er1
27856 grep -v '^
*+' conftest.er1 >conftest.err
27858 cat conftest.err >&5
27859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27860 (exit $ac_status); } && {
27861 test -z "$ac_c_werror_flag" ||
27862 test ! -s conftest.err
27863 } && test -s conftest$ac_exeext &&
27864 $as_test_x conftest$ac_exeext; then
27865 eval "$as_ac_var=yes"
27867 echo "$as_me: failed program was:" >&5
27868 sed 's
/^
/|
/' conftest.$ac_ext >&5
27870 eval "$as_ac_var=no"
27873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27874 conftest$ac_exeext conftest.$ac_ext
27876 ac_res=`eval echo '${'$as_ac_var'}'`
27877 { echo "$as_me:$LINENO: result: $ac_res" >&5
27878 echo "${ECHO_T}$ac_res" >&6; }
27879 if test `eval echo '${'$as_ac_var'}'` = yes; then
27880 cat >>confdefs.h <<_ACEOF
27881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27883 cat >>confdefs.h <<\_ACEOF
27884 #define BX_HAVE_MKTIME 1
27891 # Check whether --enable-largefile was given.
27892 if test "${enable_largefile+set}" = set; then
27893 enableval=$enable_largefile;
27896 if test "$enable_largefile" != no; then
27899 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
27900 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
27901 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
27902 echo $ECHO_N "(cached) $ECHO_C" >&6
27905 cat >conftest.$ac_ext <<_ACEOF
27908 cat confdefs.h >>conftest.$ac_ext
27909 cat >>conftest.$ac_ext <<_ACEOF
27910 /* end confdefs.h. */
27911 #define _FILE_OFFSET_BITS 64
27912 #include <sys/types.h>
27917 unsigned int field: sizeof(off_t) == 8;
27924 rm -f conftest.$ac_objext
27925 if { (ac_try="$ac_compile"
27926 case "(($ac_try" in
27927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27928 *) ac_try_echo=$ac_try;;
27930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27931 (eval "$ac_compile") 2>conftest.er1
27933 grep -v '^
*+' conftest.er1 >conftest.err
27935 cat conftest.err >&5
27936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27937 (exit $ac_status); } && {
27938 test -z "$ac_c_werror_flag" ||
27939 test ! -s conftest.err
27940 } && test -s conftest.$ac_objext; then
27941 ac_cv_sys_file_offset_bits=64
27943 echo "$as_me: failed program was:" >&5
27944 sed 's
/^
/|
/' conftest.$ac_ext >&5
27946 ac_cv_sys_file_offset_bits=no
27949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27953 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
27954 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
27956 if test "$ac_cv_sys_file_offset_bits" != no; then
27958 cat >>confdefs.h <<_ACEOF
27959 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
27964 if test "x$wx_largefile" != "xyes"; then
27966 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
27967 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
27968 if test "${ac_cv_sys_large_files+set}" = set; then
27969 echo $ECHO_N "(cached) $ECHO_C" >&6
27972 cat >conftest.$ac_ext <<_ACEOF
27975 cat confdefs.h >>conftest.$ac_ext
27976 cat >>conftest.$ac_ext <<_ACEOF
27977 /* end confdefs.h. */
27978 #define _LARGE_FILES 1
27979 #include <sys/types.h>
27984 unsigned int field: sizeof(off_t) == 8;
27991 rm -f conftest.$ac_objext
27992 if { (ac_try="$ac_compile"
27993 case "(($ac_try" in
27994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27995 *) ac_try_echo=$ac_try;;
27997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27998 (eval "$ac_compile") 2>conftest.er1
28000 grep -v '^
*+' conftest.er1 >conftest.err
28002 cat conftest.err >&5
28003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28004 (exit $ac_status); } && {
28005 test -z "$ac_c_werror_flag" ||
28006 test ! -s conftest.err
28007 } && test -s conftest.$ac_objext; then
28008 ac_cv_sys_large_files=1
28010 echo "$as_me: failed program was:" >&5
28011 sed 's
/^
/|
/' conftest.$ac_ext >&5
28013 ac_cv_sys_large_files=no
28016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28020 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
28021 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
28023 if test "$ac_cv_sys_large_files" != no; then
28025 cat >>confdefs.h <<_ACEOF
28026 #define _LARGE_FILES $ac_cv_sys_large_files
28033 { echo "$as_me:$LINENO: checking if large file support is available" >&5
28034 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
28035 if test "x$wx_largefile" = "xyes"; then
28036 cat >>confdefs.h <<\_ACEOF
28037 #define HAVE_LARGEFILE_SUPPORT 1
28041 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
28042 echo "${ECHO_T}$wx_largefile" >&6; }
28046 if test "x$wx_largefile" = "xyes"; then
28047 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
28048 BX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
28050 BX_LARGEFILE_FLAGS="-D_LARGE_FILES"
28052 CPPFLAGS="$CPPFLAGS $BX_LARGEFILE_FLAGS"
28053 CFLAGS="$CFLAGS $BX_LARGEFILE_FLAGS"
28054 CXXFLAGS="$CXXFLAGS $BX_LARGEFILE_FLAGS"
28062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28063 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28065 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28066 echo $ECHO_N "(cached) $ECHO_C" >&6
28068 cat >conftest.$ac_ext <<_ACEOF
28071 cat confdefs.h >>conftest.$ac_ext
28072 cat >>conftest.$ac_ext <<_ACEOF
28073 /* end confdefs.h. */
28074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28076 #define $ac_func innocuous_$ac_func
28078 /* System header to define __stub macros and hopefully few prototypes,
28079 which can conflict with char $ac_func (); below.
28080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28081 <limits.h> exists even on freestanding compilers. */
28084 # include <limits.h>
28086 # include <assert.h>
28091 /* Override any GCC internal prototype to avoid an error.
28092 Use char because int might match the return type of a GCC
28093 builtin and then its argument prototype would still apply. */
28098 /* The GNU C library defines this for functions which it implements
28099 to always fail with ENOSYS. Some functions are actually named
28100 something starting with __ and the normal name is an alias. */
28101 #if defined __stub_$ac_func || defined __stub___$ac_func
28108 return $ac_func ();
28113 rm -f conftest.$ac_objext conftest$ac_exeext
28114 if { (ac_try="$ac_link"
28115 case "(($ac_try" in
28116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28117 *) ac_try_echo=$ac_try;;
28119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28120 (eval "$ac_link") 2>conftest.er1
28122 grep -v '^
*+' conftest.er1 >conftest.err
28124 cat conftest.err >&5
28125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28126 (exit $ac_status); } && {
28127 test -z "$ac_c_werror_flag" ||
28128 test ! -s conftest.err
28129 } && test -s conftest$ac_exeext &&
28130 $as_test_x conftest$ac_exeext; then
28131 eval "$as_ac_var=yes"
28133 echo "$as_me: failed program was:" >&5
28134 sed 's
/^
/|
/' conftest.$ac_ext >&5
28136 eval "$as_ac_var=no"
28139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28140 conftest$ac_exeext conftest.$ac_ext
28142 ac_res=`eval echo '${'$as_ac_var'}'`
28143 { echo "$as_me:$LINENO: result: $ac_res" >&5
28144 echo "${ECHO_T}$ac_res" >&6; }
28145 if test `eval echo '${'$as_ac_var'}'` = yes; then
28146 cat >>confdefs.h <<_ACEOF
28147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28154 for ac_func in floor
28156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28157 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28159 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28160 echo $ECHO_N "(cached) $ECHO_C" >&6
28162 cat >conftest.$ac_ext <<_ACEOF
28165 cat confdefs.h >>conftest.$ac_ext
28166 cat >>conftest.$ac_ext <<_ACEOF
28167 /* end confdefs.h. */
28168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28170 #define $ac_func innocuous_$ac_func
28172 /* System header to define __stub macros and hopefully few prototypes,
28173 which can conflict with char $ac_func (); below.
28174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28175 <limits.h> exists even on freestanding compilers. */
28178 # include <limits.h>
28180 # include <assert.h>
28185 /* Override any GCC internal prototype to avoid an error.
28186 Use char because int might match the return type of a GCC
28187 builtin and then its argument prototype would still apply. */
28192 /* The GNU C library defines this for functions which it implements
28193 to always fail with ENOSYS. Some functions are actually named
28194 something starting with __ and the normal name is an alias. */
28195 #if defined __stub_$ac_func || defined __stub___$ac_func
28202 return $ac_func ();
28207 rm -f conftest.$ac_objext conftest$ac_exeext
28208 if { (ac_try="$ac_link"
28209 case "(($ac_try" in
28210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28211 *) ac_try_echo=$ac_try;;
28213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28214 (eval "$ac_link") 2>conftest.er1
28216 grep -v '^
*+' conftest.er1 >conftest.err
28218 cat conftest.err >&5
28219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28220 (exit $ac_status); } && {
28221 test -z "$ac_c_werror_flag" ||
28222 test ! -s conftest.err
28223 } && test -s conftest$ac_exeext &&
28224 $as_test_x conftest$ac_exeext; then
28225 eval "$as_ac_var=yes"
28227 echo "$as_me: failed program was:" >&5
28228 sed 's
/^
/|
/' conftest.$ac_ext >&5
28230 eval "$as_ac_var=no"
28233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28234 conftest$ac_exeext conftest.$ac_ext
28236 ac_res=`eval echo '${'$as_ac_var'}'`
28237 { echo "$as_me:$LINENO: result: $ac_res" >&5
28238 echo "${ECHO_T}$ac_res" >&6; }
28239 if test `eval echo '${'$as_ac_var'}'` = yes; then
28240 cat >>confdefs.h <<_ACEOF
28241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28247 { echo "$as_me:$LINENO: checking if math functions link without -lm" >&5
28248 echo $ECHO_N "checking if math functions link without -lm... $ECHO_C" >&6; }
28249 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28250 { echo "$as_me:$LINENO: result: yes" >&5
28251 echo "${ECHO_T}yes" >&6; }
28253 { echo "$as_me:$LINENO: result: no" >&5
28254 echo "${ECHO_T}no" >&6; }
28256 # use different functions to bypass configure caching
28262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28263 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28265 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28266 echo $ECHO_N "(cached) $ECHO_C" >&6
28268 cat >conftest.$ac_ext <<_ACEOF
28271 cat confdefs.h >>conftest.$ac_ext
28272 cat >>conftest.$ac_ext <<_ACEOF
28273 /* end confdefs.h. */
28274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28276 #define $ac_func innocuous_$ac_func
28278 /* System header to define __stub macros and hopefully few prototypes,
28279 which can conflict with char $ac_func (); below.
28280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28281 <limits.h> exists even on freestanding compilers. */
28284 # include <limits.h>
28286 # include <assert.h>
28291 /* Override any GCC internal prototype to avoid an error.
28292 Use char because int might match the return type of a GCC
28293 builtin and then its argument prototype would still apply. */
28298 /* The GNU C library defines this for functions which it implements
28299 to always fail with ENOSYS. Some functions are actually named
28300 something starting with __ and the normal name is an alias. */
28301 #if defined __stub_$ac_func || defined __stub___$ac_func
28308 return $ac_func ();
28313 rm -f conftest.$ac_objext conftest$ac_exeext
28314 if { (ac_try="$ac_link"
28315 case "(($ac_try" in
28316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28317 *) ac_try_echo=$ac_try;;
28319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28320 (eval "$ac_link") 2>conftest.er1
28322 grep -v '^
*+' conftest.er1 >conftest.err
28324 cat conftest.err >&5
28325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28326 (exit $ac_status); } && {
28327 test -z "$ac_c_werror_flag" ||
28328 test ! -s conftest.err
28329 } && test -s conftest$ac_exeext &&
28330 $as_test_x conftest$ac_exeext; then
28331 eval "$as_ac_var=yes"
28333 echo "$as_me: failed program was:" >&5
28334 sed 's
/^
/|
/' conftest.$ac_ext >&5
28336 eval "$as_ac_var=no"
28339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28340 conftest$ac_exeext conftest.$ac_ext
28342 ac_res=`eval echo '${'$as_ac_var'}'`
28343 { echo "$as_me:$LINENO: result: $ac_res" >&5
28344 echo "${ECHO_T}$ac_res" >&6; }
28345 if test `eval echo '${'$as_ac_var'}'` = yes; then
28346 cat >>confdefs.h <<_ACEOF
28347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28354 for ac_func in ceil
28356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28357 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28359 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28360 echo $ECHO_N "(cached) $ECHO_C" >&6
28362 cat >conftest.$ac_ext <<_ACEOF
28365 cat confdefs.h >>conftest.$ac_ext
28366 cat >>conftest.$ac_ext <<_ACEOF
28367 /* end confdefs.h. */
28368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28370 #define $ac_func innocuous_$ac_func
28372 /* System header to define __stub macros and hopefully few prototypes,
28373 which can conflict with char $ac_func (); below.
28374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28375 <limits.h> exists even on freestanding compilers. */
28378 # include <limits.h>
28380 # include <assert.h>
28385 /* Override any GCC internal prototype to avoid an error.
28386 Use char because int might match the return type of a GCC
28387 builtin and then its argument prototype would still apply. */
28392 /* The GNU C library defines this for functions which it implements
28393 to always fail with ENOSYS. Some functions are actually named
28394 something starting with __ and the normal name is an alias. */
28395 #if defined __stub_$ac_func || defined __stub___$ac_func
28402 return $ac_func ();
28407 rm -f conftest.$ac_objext conftest$ac_exeext
28408 if { (ac_try="$ac_link"
28409 case "(($ac_try" in
28410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28411 *) ac_try_echo=$ac_try;;
28413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28414 (eval "$ac_link") 2>conftest.er1
28416 grep -v '^
*+' conftest.er1 >conftest.err
28418 cat conftest.err >&5
28419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28420 (exit $ac_status); } && {
28421 test -z "$ac_c_werror_flag" ||
28422 test ! -s conftest.err
28423 } && test -s conftest$ac_exeext &&
28424 $as_test_x conftest$ac_exeext; then
28425 eval "$as_ac_var=yes"
28427 echo "$as_me: failed program was:" >&5
28428 sed 's
/^
/|
/' conftest.$ac_ext >&5
28430 eval "$as_ac_var=no"
28433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28434 conftest$ac_exeext conftest.$ac_ext
28436 ac_res=`eval echo '${'$as_ac_var'}'`
28437 { echo "$as_me:$LINENO: result: $ac_res" >&5
28438 echo "${ECHO_T}$ac_res" >&6; }
28439 if test `eval echo '${'$as_ac_var'}'` = yes; then
28440 cat >>confdefs.h <<_ACEOF
28441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28447 { echo "$as_me:$LINENO: checking if math functions link with -lm" >&5
28448 echo $ECHO_N "checking if math functions link with -lm... $ECHO_C" >&6; }
28449 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28450 { echo "$as_me:$LINENO: result: yes" >&5
28451 echo "${ECHO_T}yes" >&6; }
28453 { echo "$as_me:$LINENO: result: no" >&5
28454 echo "${ECHO_T}no" >&6; }
28455 # not sure we should warn the user, crash, etc.
28456 # expect link failure
28460 { echo "$as_me:$LINENO: checking for struct timeval" >&5
28461 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6; }
28462 cat >conftest.$ac_ext <<_ACEOF
28465 cat confdefs.h >>conftest.$ac_ext
28466 cat >>conftest.$ac_ext <<_ACEOF
28467 /* end confdefs.h. */
28468 #include <sys/time.h>
28477 rm -f conftest.$ac_objext
28478 if { (ac_try="$ac_compile"
28479 case "(($ac_try" in
28480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28481 *) ac_try_echo=$ac_try;;
28483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28484 (eval "$ac_compile") 2>conftest.er1
28486 grep -v '^
*+' conftest.er1 >conftest.err
28488 cat conftest.err >&5
28489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28490 (exit $ac_status); } && {
28491 test -z "$ac_c_werror_flag" ||
28492 test ! -s conftest.err
28493 } && test -s conftest.$ac_objext; then
28495 { echo "$as_me:$LINENO: result: yes" >&5
28496 echo "${ECHO_T}yes" >&6; }
28497 cat >>confdefs.h <<\_ACEOF
28498 #define BX_HAVE_STRUCT_TIMEVAL 1
28503 echo "$as_me: failed program was:" >&5
28504 sed 's
/^
/|
/' conftest.$ac_ext >&5
28506 { echo "$as_me:$LINENO: result: no" >&5
28507 echo "${ECHO_T}no" >&6; }
28510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28512 { echo "$as_me:$LINENO: checking if compiler allows empty structs" >&5
28513 echo $ECHO_N "checking if compiler allows empty structs... $ECHO_C" >&6; }
28514 cat >conftest.$ac_ext <<_ACEOF
28517 cat confdefs.h >>conftest.$ac_ext
28518 cat >>conftest.$ac_ext <<_ACEOF
28519 /* end confdefs.h. */
28524 typedef struct { } junk;
28529 rm -f conftest.$ac_objext
28530 if { (ac_try="$ac_compile"
28531 case "(($ac_try" in
28532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28533 *) ac_try_echo=$ac_try;;
28535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28536 (eval "$ac_compile") 2>conftest.er1
28538 grep -v '^
*+' conftest.er1 >conftest.err
28540 cat conftest.err >&5
28541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28542 (exit $ac_status); } && {
28543 test -z "$ac_c_werror_flag" ||
28544 test ! -s conftest.err
28545 } && test -s conftest.$ac_objext; then
28546 { echo "$as_me:$LINENO: result: yes" >&5
28547 echo "${ECHO_T}yes" >&6; }
28549 echo "$as_me: failed program was:" >&5
28550 sed 's
/^
/|
/' conftest.$ac_ext >&5
28553 cat >>confdefs.h <<\_ACEOF
28554 #define BX_NO_EMPTY_STRUCTS 1
28557 { echo "$as_me:$LINENO: result: no" >&5
28558 echo "${ECHO_T}no" >&6; }
28562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28564 { echo "$as_me:$LINENO: checking if compiler allows __attribute__" >&5
28565 echo $ECHO_N "checking if compiler allows __attribute__... $ECHO_C" >&6; }
28566 cat >conftest.$ac_ext <<_ACEOF
28569 cat confdefs.h >>conftest.$ac_ext
28570 cat >>conftest.$ac_ext <<_ACEOF
28571 /* end confdefs.h. */
28576 typedef struct { } __attribute__ ((packed)) junk;
28581 rm -f conftest.$ac_objext
28582 if { (ac_try="$ac_compile"
28583 case "(($ac_try" in
28584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28585 *) ac_try_echo=$ac_try;;
28587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28588 (eval "$ac_compile") 2>conftest.er1
28590 grep -v '^
*+' conftest.er1 >conftest.err
28592 cat conftest.err >&5
28593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28594 (exit $ac_status); } && {
28595 test -z "$ac_c_werror_flag" ||
28596 test ! -s conftest.err
28597 } && test -s conftest.$ac_objext; then
28598 { echo "$as_me:$LINENO: result: yes" >&5
28599 echo "${ECHO_T}yes" >&6; }
28601 echo "$as_me: failed program was:" >&5
28602 sed 's
/^
/|
/' conftest.$ac_ext >&5
28605 { echo "$as_me:$LINENO: result: no" >&5
28606 echo "${ECHO_T}no" >&6; }
28607 cat >>confdefs.h <<\_ACEOF
28608 #define BX_NO_ATTRIBUTES 1
28614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28618 ac_cpp='$CXXCPP $CPPFLAGS'
28619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
28620 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
28621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28623 { echo "$as_me:$LINENO: checking for hash_map" >&5
28624 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
28625 cat >conftest.$ac_ext <<_ACEOF
28628 cat confdefs.h >>conftest.$ac_ext
28629 cat >>conftest.$ac_ext <<_ACEOF
28630 /* end confdefs.h. */
28631 #include <hash_map>
28640 rm -f conftest.$ac_objext
28641 if { (ac_try="$ac_compile"
28642 case "(($ac_try" in
28643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28644 *) ac_try_echo=$ac_try;;
28646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28647 (eval "$ac_compile") 2>conftest.er1
28649 grep -v '^
*+' conftest.er1 >conftest.err
28651 cat conftest.err >&5
28652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28653 (exit $ac_status); } && {
28654 test -z "$ac_cxx_werror_flag" ||
28655 test ! -s conftest.err
28656 } && test -s conftest.$ac_objext; then
28658 { echo "$as_me:$LINENO: result: yes" >&5
28659 echo "${ECHO_T}yes" >&6; }
28660 cat >>confdefs.h <<\_ACEOF
28661 #define BX_HAVE_HASH_MAP 1
28666 echo "$as_me: failed program was:" >&5
28667 sed 's
/^
/|
/' conftest.$ac_ext >&5
28669 { echo "$as_me:$LINENO: result: no" >&5
28670 echo "${ECHO_T}no" >&6; }
28673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28674 { echo "$as_me:$LINENO: checking for hash_map.h" >&5
28675 echo $ECHO_N "checking for hash_map.h... $ECHO_C" >&6; }
28676 cat >conftest.$ac_ext <<_ACEOF
28679 cat confdefs.h >>conftest.$ac_ext
28680 cat >>conftest.$ac_ext <<_ACEOF
28681 /* end confdefs.h. */
28682 #include <hash_map.h>
28691 rm -f conftest.$ac_objext
28692 if { (ac_try="$ac_compile"
28693 case "(($ac_try" in
28694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28695 *) ac_try_echo=$ac_try;;
28697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28698 (eval "$ac_compile") 2>conftest.er1
28700 grep -v '^
*+' conftest.er1 >conftest.err
28702 cat conftest.err >&5
28703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28704 (exit $ac_status); } && {
28705 test -z "$ac_cxx_werror_flag" ||
28706 test ! -s conftest.err
28707 } && test -s conftest.$ac_objext; then
28709 { echo "$as_me:$LINENO: result: yes" >&5
28710 echo "${ECHO_T}yes" >&6; }
28711 cat >>confdefs.h <<\_ACEOF
28712 #define BX_HAVE_HASH_MAP_H 1
28717 echo "$as_me: failed program was:" >&5
28718 sed 's
/^
/|
/' conftest.$ac_ext >&5
28720 { echo "$as_me:$LINENO: result: no" >&5
28721 echo "${ECHO_T}no" >&6; }
28724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28725 { echo "$as_me:$LINENO: checking for set" >&5
28726 echo $ECHO_N "checking for set... $ECHO_C" >&6; }
28727 cat >conftest.$ac_ext <<_ACEOF
28730 cat confdefs.h >>conftest.$ac_ext
28731 cat >>conftest.$ac_ext <<_ACEOF
28732 /* end confdefs.h. */
28742 rm -f conftest.$ac_objext
28743 if { (ac_try="$ac_compile"
28744 case "(($ac_try" in
28745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28746 *) ac_try_echo=$ac_try;;
28748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28749 (eval "$ac_compile") 2>conftest.er1
28751 grep -v '^
*+' conftest.er1 >conftest.err
28753 cat conftest.err >&5
28754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28755 (exit $ac_status); } && {
28756 test -z "$ac_cxx_werror_flag" ||
28757 test ! -s conftest.err
28758 } && test -s conftest.$ac_objext; then
28760 { echo "$as_me:$LINENO: result: yes" >&5
28761 echo "${ECHO_T}yes" >&6; }
28762 cat >>confdefs.h <<\_ACEOF
28763 #define BX_HAVE_SET 1
28768 echo "$as_me: failed program was:" >&5
28769 sed 's
/^
/|
/' conftest.$ac_ext >&5
28771 { echo "$as_me:$LINENO: result: no" >&5
28772 echo "${ECHO_T}no" >&6; }
28775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28776 { echo "$as_me:$LINENO: checking for set.h" >&5
28777 echo $ECHO_N "checking for set.h... $ECHO_C" >&6; }
28778 cat >conftest.$ac_ext <<_ACEOF
28781 cat confdefs.h >>conftest.$ac_ext
28782 cat >>conftest.$ac_ext <<_ACEOF
28783 /* end confdefs.h. */
28793 rm -f conftest.$ac_objext
28794 if { (ac_try="$ac_compile"
28795 case "(($ac_try" in
28796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28797 *) ac_try_echo=$ac_try;;
28799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28800 (eval "$ac_compile") 2>conftest.er1
28802 grep -v '^
*+' conftest.er1 >conftest.err
28804 cat conftest.err >&5
28805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28806 (exit $ac_status); } && {
28807 test -z "$ac_cxx_werror_flag" ||
28808 test ! -s conftest.err
28809 } && test -s conftest.$ac_objext; then
28811 { echo "$as_me:$LINENO: result: yes" >&5
28812 echo "${ECHO_T}yes" >&6; }
28813 cat >>confdefs.h <<\_ACEOF
28814 #define BX_HAVE_SET_H 1
28819 echo "$as_me: failed program was:" >&5
28820 sed 's
/^
/|
/' conftest.$ac_ext >&5
28822 { echo "$as_me:$LINENO: result: no" >&5
28823 echo "${ECHO_T}no" >&6; }
28826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28828 ac_cpp='$CPP $CPPFLAGS'
28829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
28830 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
28831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28834 if test "$with_all_libs" = yes; then
28835 if test "$cross_configure" = 1; then
28836 { 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
28837 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;}
28839 if test "$with_beos" != yes; then
28841 if test "${ac_cv_header_app_Application_h+set}" = set; then
28842 { echo "$as_me:$LINENO: checking for app/Application.h" >&5
28843 echo $ECHO_N "checking for app/Application.h... $ECHO_C" >&6; }
28844 if test "${ac_cv_header_app_Application_h+set}" = set; then
28845 echo $ECHO_N "(cached) $ECHO_C" >&6
28847 { echo "$as_me:$LINENO: result: $ac_cv_header_app_Application_h" >&5
28848 echo "${ECHO_T}$ac_cv_header_app_Application_h" >&6; }
28850 # Is the header compilable?
28851 { echo "$as_me:$LINENO: checking app/Application.h usability" >&5
28852 echo $ECHO_N "checking app/Application.h usability... $ECHO_C" >&6; }
28853 cat >conftest.$ac_ext <<_ACEOF
28856 cat confdefs.h >>conftest.$ac_ext
28857 cat >>conftest.$ac_ext <<_ACEOF
28858 /* end confdefs.h. */
28859 $ac_includes_default
28860 #include <app/Application.h>
28862 rm -f conftest.$ac_objext
28863 if { (ac_try="$ac_compile"
28864 case "(($ac_try" in
28865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28866 *) ac_try_echo=$ac_try;;
28868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28869 (eval "$ac_compile") 2>conftest.er1
28871 grep -v '^
*+' conftest.er1 >conftest.err
28873 cat conftest.err >&5
28874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28875 (exit $ac_status); } && {
28876 test -z "$ac_c_werror_flag" ||
28877 test ! -s conftest.err
28878 } && test -s conftest.$ac_objext; then
28879 ac_header_compiler=yes
28881 echo "$as_me: failed program was:" >&5
28882 sed 's
/^
/|
/' conftest.$ac_ext >&5
28884 ac_header_compiler=no
28887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28888 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28889 echo "${ECHO_T}$ac_header_compiler" >&6; }
28891 # Is the header present?
28892 { echo "$as_me:$LINENO: checking app/Application.h presence" >&5
28893 echo $ECHO_N "checking app/Application.h presence... $ECHO_C" >&6; }
28894 cat >conftest.$ac_ext <<_ACEOF
28897 cat confdefs.h >>conftest.$ac_ext
28898 cat >>conftest.$ac_ext <<_ACEOF
28899 /* end confdefs.h. */
28900 #include <app/Application.h>
28902 if { (ac_try="$ac_cpp conftest.$ac_ext"
28903 case "(($ac_try" in
28904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28905 *) ac_try_echo=$ac_try;;
28907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28908 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28910 grep -v '^
*+' conftest.er1 >conftest.err
28912 cat conftest.err >&5
28913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28914 (exit $ac_status); } >/dev/null && {
28915 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28916 test ! -s conftest.err
28918 ac_header_preproc=yes
28920 echo "$as_me: failed program was:" >&5
28921 sed 's
/^
/|
/' conftest.$ac_ext >&5
28923 ac_header_preproc=no
28926 rm -f conftest.err conftest.$ac_ext
28927 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28928 echo "${ECHO_T}$ac_header_preproc" >&6; }
28930 # So? What about this header?
28931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28933 { echo "$as_me:$LINENO: WARNING: app/Application.h: accepted by the compiler, rejected by the preprocessor!" >&5
28934 echo "$as_me: WARNING: app/Application.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28935 { echo "$as_me:$LINENO: WARNING: app/Application.h: proceeding with the compiler's result
" >&5
28936 echo "$as_me: WARNING
: app
/Application.h
: proceeding with the compiler
's result" >&2;}
28937 ac_header_preproc=yes
28940 { echo "$as_me:$LINENO: WARNING: app/Application.h: present but cannot be compiled" >&5
28941 echo "$as_me: WARNING: app/Application.h: present but cannot be compiled" >&2;}
28942 { echo "$as_me:$LINENO: WARNING: app/Application.h: check for missing prerequisite headers?" >&5
28943 echo "$as_me: WARNING: app/Application.h: check for missing prerequisite headers?" >&2;}
28944 { echo "$as_me:$LINENO: WARNING: app/Application.h: see the Autoconf documentation" >&5
28945 echo "$as_me: WARNING: app/Application.h: see the Autoconf documentation" >&2;}
28946 { echo "$as_me:$LINENO: WARNING: app/Application.h: section \"Present But Cannot Be Compiled\"" >&5
28947 echo "$as_me: WARNING: app/Application.h: section \"Present But Cannot Be Compiled\"" >&2;}
28948 { echo "$as_me:$LINENO: WARNING: app/Application.h: proceeding with the preprocessor's result
" >&5
28949 echo "$as_me: WARNING
: app
/Application.h
: proceeding with the preprocessor
's result" >&2;}
28950 { echo "$as_me:$LINENO: WARNING: app/Application.h: in the future, the compiler will take precedence" >&5
28951 echo "$as_me: WARNING: app/Application.h: in the future, the compiler will take precedence" >&2;}
28955 { echo "$as_me:$LINENO: checking for app/Application.h" >&5
28956 echo $ECHO_N "checking for app/Application.h... $ECHO_C" >&6; }
28957 if test "${ac_cv_header_app_Application_h+set}" = set; then
28958 echo $ECHO_N "(cached) $ECHO_C" >&6
28960 ac_cv_header_app_Application_h=$ac_header_preproc
28962 { echo "$as_me:$LINENO: result: $ac_cv_header_app_Application_h" >&5
28963 echo "${ECHO_T}$ac_cv_header_app_Application_h" >&6; }
28966 if test $ac_cv_header_app_Application_h = yes; then
28973 if test "${ac_cv_header_interface_Window_h+set}" = set; then
28974 { echo "$as_me:$LINENO: checking for interface/Window.h" >&5
28975 echo $ECHO_N "checking for interface/Window.h... $ECHO_C" >&6; }
28976 if test "${ac_cv_header_interface_Window_h+set}" = set; then
28977 echo $ECHO_N "(cached) $ECHO_C" >&6
28979 { echo "$as_me:$LINENO: result: $ac_cv_header_interface_Window_h" >&5
28980 echo "${ECHO_T}$ac_cv_header_interface_Window_h" >&6; }
28982 # Is the header compilable?
28983 { echo "$as_me:$LINENO: checking interface/Window.h usability" >&5
28984 echo $ECHO_N "checking interface/Window.h usability... $ECHO_C" >&6; }
28985 cat >conftest.$ac_ext <<_ACEOF
28988 cat confdefs.h >>conftest.$ac_ext
28989 cat >>conftest.$ac_ext <<_ACEOF
28990 /* end confdefs.h. */
28991 $ac_includes_default
28992 #include <interface/Window.h>
28994 rm -f conftest.$ac_objext
28995 if { (ac_try="$ac_compile"
28996 case "(($ac_try" in
28997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28998 *) ac_try_echo=$ac_try;;
29000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29001 (eval "$ac_compile") 2>conftest.er1
29003 grep -v '^
*+' conftest.er1 >conftest.err
29005 cat conftest.err >&5
29006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29007 (exit $ac_status); } && {
29008 test -z "$ac_c_werror_flag" ||
29009 test ! -s conftest.err
29010 } && test -s conftest.$ac_objext; then
29011 ac_header_compiler=yes
29013 echo "$as_me: failed program was:" >&5
29014 sed 's
/^
/|
/' conftest.$ac_ext >&5
29016 ac_header_compiler=no
29019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29020 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29021 echo "${ECHO_T}$ac_header_compiler" >&6; }
29023 # Is the header present?
29024 { echo "$as_me:$LINENO: checking interface/Window.h presence" >&5
29025 echo $ECHO_N "checking interface/Window.h presence... $ECHO_C" >&6; }
29026 cat >conftest.$ac_ext <<_ACEOF
29029 cat confdefs.h >>conftest.$ac_ext
29030 cat >>conftest.$ac_ext <<_ACEOF
29031 /* end confdefs.h. */
29032 #include <interface/Window.h>
29034 if { (ac_try="$ac_cpp conftest.$ac_ext"
29035 case "(($ac_try" in
29036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29037 *) ac_try_echo=$ac_try;;
29039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29040 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29042 grep -v '^
*+' conftest.er1 >conftest.err
29044 cat conftest.err >&5
29045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29046 (exit $ac_status); } >/dev/null && {
29047 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29048 test ! -s conftest.err
29050 ac_header_preproc=yes
29052 echo "$as_me: failed program was:" >&5
29053 sed 's
/^
/|
/' conftest.$ac_ext >&5
29055 ac_header_preproc=no
29058 rm -f conftest.err conftest.$ac_ext
29059 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29060 echo "${ECHO_T}$ac_header_preproc" >&6; }
29062 # So? What about this header?
29063 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29065 { echo "$as_me:$LINENO: WARNING: interface/Window.h: accepted by the compiler, rejected by the preprocessor!" >&5
29066 echo "$as_me: WARNING: interface/Window.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29067 { echo "$as_me:$LINENO: WARNING: interface/Window.h: proceeding with the compiler's result
" >&5
29068 echo "$as_me: WARNING
: interface
/Window.h
: proceeding with the compiler
's result" >&2;}
29069 ac_header_preproc=yes
29072 { echo "$as_me:$LINENO: WARNING: interface/Window.h: present but cannot be compiled" >&5
29073 echo "$as_me: WARNING: interface/Window.h: present but cannot be compiled" >&2;}
29074 { echo "$as_me:$LINENO: WARNING: interface/Window.h: check for missing prerequisite headers?" >&5
29075 echo "$as_me: WARNING: interface/Window.h: check for missing prerequisite headers?" >&2;}
29076 { echo "$as_me:$LINENO: WARNING: interface/Window.h: see the Autoconf documentation" >&5
29077 echo "$as_me: WARNING: interface/Window.h: see the Autoconf documentation" >&2;}
29078 { echo "$as_me:$LINENO: WARNING: interface/Window.h: section \"Present But Cannot Be Compiled\"" >&5
29079 echo "$as_me: WARNING: interface/Window.h: section \"Present But Cannot Be Compiled\"" >&2;}
29080 { echo "$as_me:$LINENO: WARNING: interface/Window.h: proceeding with the preprocessor's result
" >&5
29081 echo "$as_me: WARNING
: interface
/Window.h
: proceeding with the preprocessor
's result" >&2;}
29082 { echo "$as_me:$LINENO: WARNING: interface/Window.h: in the future, the compiler will take precedence" >&5
29083 echo "$as_me: WARNING: interface/Window.h: in the future, the compiler will take precedence" >&2;}
29087 { echo "$as_me:$LINENO: checking for interface/Window.h" >&5
29088 echo $ECHO_N "checking for interface/Window.h... $ECHO_C" >&6; }
29089 if test "${ac_cv_header_interface_Window_h+set}" = set; then
29090 echo $ECHO_N "(cached) $ECHO_C" >&6
29092 ac_cv_header_interface_Window_h=$ac_header_preproc
29094 { echo "$as_me:$LINENO: result: $ac_cv_header_interface_Window_h" >&5
29095 echo "${ECHO_T}$ac_cv_header_interface_Window_h" >&6; }
29098 if test $ac_cv_header_interface_Window_h = yes; then
29105 if test "${ac_cv_header_interface_View_h+set}" = set; then
29106 { echo "$as_me:$LINENO: checking for interface/View.h" >&5
29107 echo $ECHO_N "checking for interface/View.h... $ECHO_C" >&6; }
29108 if test "${ac_cv_header_interface_View_h+set}" = set; then
29109 echo $ECHO_N "(cached) $ECHO_C" >&6
29111 { echo "$as_me:$LINENO: result: $ac_cv_header_interface_View_h" >&5
29112 echo "${ECHO_T}$ac_cv_header_interface_View_h" >&6; }
29114 # Is the header compilable?
29115 { echo "$as_me:$LINENO: checking interface/View.h usability" >&5
29116 echo $ECHO_N "checking interface/View.h usability... $ECHO_C" >&6; }
29117 cat >conftest.$ac_ext <<_ACEOF
29120 cat confdefs.h >>conftest.$ac_ext
29121 cat >>conftest.$ac_ext <<_ACEOF
29122 /* end confdefs.h. */
29123 $ac_includes_default
29124 #include <interface/View.h>
29126 rm -f conftest.$ac_objext
29127 if { (ac_try="$ac_compile"
29128 case "(($ac_try" in
29129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29130 *) ac_try_echo=$ac_try;;
29132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29133 (eval "$ac_compile") 2>conftest.er1
29135 grep -v '^
*+' conftest.er1 >conftest.err
29137 cat conftest.err >&5
29138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29139 (exit $ac_status); } && {
29140 test -z "$ac_c_werror_flag" ||
29141 test ! -s conftest.err
29142 } && test -s conftest.$ac_objext; then
29143 ac_header_compiler=yes
29145 echo "$as_me: failed program was:" >&5
29146 sed 's
/^
/|
/' conftest.$ac_ext >&5
29148 ac_header_compiler=no
29151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29152 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29153 echo "${ECHO_T}$ac_header_compiler" >&6; }
29155 # Is the header present?
29156 { echo "$as_me:$LINENO: checking interface/View.h presence" >&5
29157 echo $ECHO_N "checking interface/View.h presence... $ECHO_C" >&6; }
29158 cat >conftest.$ac_ext <<_ACEOF
29161 cat confdefs.h >>conftest.$ac_ext
29162 cat >>conftest.$ac_ext <<_ACEOF
29163 /* end confdefs.h. */
29164 #include <interface/View.h>
29166 if { (ac_try="$ac_cpp conftest.$ac_ext"
29167 case "(($ac_try" in
29168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29169 *) ac_try_echo=$ac_try;;
29171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29172 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29174 grep -v '^
*+' conftest.er1 >conftest.err
29176 cat conftest.err >&5
29177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29178 (exit $ac_status); } >/dev/null && {
29179 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29180 test ! -s conftest.err
29182 ac_header_preproc=yes
29184 echo "$as_me: failed program was:" >&5
29185 sed 's
/^
/|
/' conftest.$ac_ext >&5
29187 ac_header_preproc=no
29190 rm -f conftest.err conftest.$ac_ext
29191 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29192 echo "${ECHO_T}$ac_header_preproc" >&6; }
29194 # So? What about this header?
29195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29197 { echo "$as_me:$LINENO: WARNING: interface/View.h: accepted by the compiler, rejected by the preprocessor!" >&5
29198 echo "$as_me: WARNING: interface/View.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29199 { echo "$as_me:$LINENO: WARNING: interface/View.h: proceeding with the compiler's result
" >&5
29200 echo "$as_me: WARNING
: interface
/View.h
: proceeding with the compiler
's result" >&2;}
29201 ac_header_preproc=yes
29204 { echo "$as_me:$LINENO: WARNING: interface/View.h: present but cannot be compiled" >&5
29205 echo "$as_me: WARNING: interface/View.h: present but cannot be compiled" >&2;}
29206 { echo "$as_me:$LINENO: WARNING: interface/View.h: check for missing prerequisite headers?" >&5
29207 echo "$as_me: WARNING: interface/View.h: check for missing prerequisite headers?" >&2;}
29208 { echo "$as_me:$LINENO: WARNING: interface/View.h: see the Autoconf documentation" >&5
29209 echo "$as_me: WARNING: interface/View.h: see the Autoconf documentation" >&2;}
29210 { echo "$as_me:$LINENO: WARNING: interface/View.h: section \"Present But Cannot Be Compiled\"" >&5
29211 echo "$as_me: WARNING: interface/View.h: section \"Present But Cannot Be Compiled\"" >&2;}
29212 { echo "$as_me:$LINENO: WARNING: interface/View.h: proceeding with the preprocessor's result
" >&5
29213 echo "$as_me: WARNING
: interface
/View.h
: proceeding with the preprocessor
's result" >&2;}
29214 { echo "$as_me:$LINENO: WARNING: interface/View.h: in the future, the compiler will take precedence" >&5
29215 echo "$as_me: WARNING: interface/View.h: in the future, the compiler will take precedence" >&2;}
29219 { echo "$as_me:$LINENO: checking for interface/View.h" >&5
29220 echo $ECHO_N "checking for interface/View.h... $ECHO_C" >&6; }
29221 if test "${ac_cv_header_interface_View_h+set}" = set; then
29222 echo $ECHO_N "(cached) $ECHO_C" >&6
29224 ac_cv_header_interface_View_h=$ac_header_preproc
29226 { echo "$as_me:$LINENO: result: $ac_cv_header_interface_View_h" >&5
29227 echo "${ECHO_T}$ac_cv_header_interface_View_h" >&6; }
29230 if test $ac_cv_header_interface_View_h = yes; then
29237 if test $can_compile_beos = 1; then
29242 if test "$with_amigaos" != yes; then
29243 can_compile_amigaos=1
29244 if test "${ac_cv_header_proto_intuition_h+set}" = set; then
29245 { echo "$as_me:$LINENO: checking for proto/intuition.h" >&5
29246 echo $ECHO_N "checking for proto/intuition.h... $ECHO_C" >&6; }
29247 if test "${ac_cv_header_proto_intuition_h+set}" = set; then
29248 echo $ECHO_N "(cached) $ECHO_C" >&6
29250 { echo "$as_me:$LINENO: result: $ac_cv_header_proto_intuition_h" >&5
29251 echo "${ECHO_T}$ac_cv_header_proto_intuition_h" >&6; }
29253 # Is the header compilable?
29254 { echo "$as_me:$LINENO: checking proto/intuition.h usability" >&5
29255 echo $ECHO_N "checking proto/intuition.h usability... $ECHO_C" >&6; }
29256 cat >conftest.$ac_ext <<_ACEOF
29259 cat confdefs.h >>conftest.$ac_ext
29260 cat >>conftest.$ac_ext <<_ACEOF
29261 /* end confdefs.h. */
29262 $ac_includes_default
29263 #include <proto/intuition.h>
29265 rm -f conftest.$ac_objext
29266 if { (ac_try="$ac_compile"
29267 case "(($ac_try" in
29268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29269 *) ac_try_echo=$ac_try;;
29271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29272 (eval "$ac_compile") 2>conftest.er1
29274 grep -v '^
*+' conftest.er1 >conftest.err
29276 cat conftest.err >&5
29277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29278 (exit $ac_status); } && {
29279 test -z "$ac_c_werror_flag" ||
29280 test ! -s conftest.err
29281 } && test -s conftest.$ac_objext; then
29282 ac_header_compiler=yes
29284 echo "$as_me: failed program was:" >&5
29285 sed 's
/^
/|
/' conftest.$ac_ext >&5
29287 ac_header_compiler=no
29290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29291 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29292 echo "${ECHO_T}$ac_header_compiler" >&6; }
29294 # Is the header present?
29295 { echo "$as_me:$LINENO: checking proto/intuition.h presence" >&5
29296 echo $ECHO_N "checking proto/intuition.h presence... $ECHO_C" >&6; }
29297 cat >conftest.$ac_ext <<_ACEOF
29300 cat confdefs.h >>conftest.$ac_ext
29301 cat >>conftest.$ac_ext <<_ACEOF
29302 /* end confdefs.h. */
29303 #include <proto/intuition.h>
29305 if { (ac_try="$ac_cpp conftest.$ac_ext"
29306 case "(($ac_try" in
29307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29308 *) ac_try_echo=$ac_try;;
29310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29311 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29313 grep -v '^
*+' conftest.er1 >conftest.err
29315 cat conftest.err >&5
29316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29317 (exit $ac_status); } >/dev/null && {
29318 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29319 test ! -s conftest.err
29321 ac_header_preproc=yes
29323 echo "$as_me: failed program was:" >&5
29324 sed 's
/^
/|
/' conftest.$ac_ext >&5
29326 ac_header_preproc=no
29329 rm -f conftest.err conftest.$ac_ext
29330 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29331 echo "${ECHO_T}$ac_header_preproc" >&6; }
29333 # So? What about this header?
29334 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29336 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: accepted by the compiler, rejected by the preprocessor!" >&5
29337 echo "$as_me: WARNING: proto/intuition.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29338 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: proceeding with the compiler's result
" >&5
29339 echo "$as_me: WARNING
: proto
/intuition.h
: proceeding with the compiler
's result" >&2;}
29340 ac_header_preproc=yes
29343 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: present but cannot be compiled" >&5
29344 echo "$as_me: WARNING: proto/intuition.h: present but cannot be compiled" >&2;}
29345 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: check for missing prerequisite headers?" >&5
29346 echo "$as_me: WARNING: proto/intuition.h: check for missing prerequisite headers?" >&2;}
29347 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: see the Autoconf documentation" >&5
29348 echo "$as_me: WARNING: proto/intuition.h: see the Autoconf documentation" >&2;}
29349 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: section \"Present But Cannot Be Compiled\"" >&5
29350 echo "$as_me: WARNING: proto/intuition.h: section \"Present But Cannot Be Compiled\"" >&2;}
29351 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: proceeding with the preprocessor's result
" >&5
29352 echo "$as_me: WARNING
: proto
/intuition.h
: proceeding with the preprocessor
's result" >&2;}
29353 { echo "$as_me:$LINENO: WARNING: proto/intuition.h: in the future, the compiler will take precedence" >&5
29354 echo "$as_me: WARNING: proto/intuition.h: in the future, the compiler will take precedence" >&2;}
29358 { echo "$as_me:$LINENO: checking for proto/intuition.h" >&5
29359 echo $ECHO_N "checking for proto/intuition.h... $ECHO_C" >&6; }
29360 if test "${ac_cv_header_proto_intuition_h+set}" = set; then
29361 echo $ECHO_N "(cached) $ECHO_C" >&6
29363 ac_cv_header_proto_intuition_h=$ac_header_preproc
29365 { echo "$as_me:$LINENO: result: $ac_cv_header_proto_intuition_h" >&5
29366 echo "${ECHO_T}$ac_cv_header_proto_intuition_h" >&6; }
29369 if test $ac_cv_header_proto_intuition_h = yes; then
29372 can_compile_amigaos=0
29376 if test "${ac_cv_header_intuition_intuitionbase_h+set}" = set; then
29377 { echo "$as_me:$LINENO: checking for intuition/intuitionbase.h" >&5
29378 echo $ECHO_N "checking for intuition/intuitionbase.h... $ECHO_C" >&6; }
29379 if test "${ac_cv_header_intuition_intuitionbase_h+set}" = set; then
29380 echo $ECHO_N "(cached) $ECHO_C" >&6
29382 { echo "$as_me:$LINENO: result: $ac_cv_header_intuition_intuitionbase_h" >&5
29383 echo "${ECHO_T}$ac_cv_header_intuition_intuitionbase_h" >&6; }
29385 # Is the header compilable?
29386 { echo "$as_me:$LINENO: checking intuition/intuitionbase.h usability" >&5
29387 echo $ECHO_N "checking intuition/intuitionbase.h usability... $ECHO_C" >&6; }
29388 cat >conftest.$ac_ext <<_ACEOF
29391 cat confdefs.h >>conftest.$ac_ext
29392 cat >>conftest.$ac_ext <<_ACEOF
29393 /* end confdefs.h. */
29394 $ac_includes_default
29395 #include <intuition/intuitionbase.h>
29397 rm -f conftest.$ac_objext
29398 if { (ac_try="$ac_compile"
29399 case "(($ac_try" in
29400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29401 *) ac_try_echo=$ac_try;;
29403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29404 (eval "$ac_compile") 2>conftest.er1
29406 grep -v '^
*+' conftest.er1 >conftest.err
29408 cat conftest.err >&5
29409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29410 (exit $ac_status); } && {
29411 test -z "$ac_c_werror_flag" ||
29412 test ! -s conftest.err
29413 } && test -s conftest.$ac_objext; then
29414 ac_header_compiler=yes
29416 echo "$as_me: failed program was:" >&5
29417 sed 's
/^
/|
/' conftest.$ac_ext >&5
29419 ac_header_compiler=no
29422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29423 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29424 echo "${ECHO_T}$ac_header_compiler" >&6; }
29426 # Is the header present?
29427 { echo "$as_me:$LINENO: checking intuition/intuitionbase.h presence" >&5
29428 echo $ECHO_N "checking intuition/intuitionbase.h presence... $ECHO_C" >&6; }
29429 cat >conftest.$ac_ext <<_ACEOF
29432 cat confdefs.h >>conftest.$ac_ext
29433 cat >>conftest.$ac_ext <<_ACEOF
29434 /* end confdefs.h. */
29435 #include <intuition/intuitionbase.h>
29437 if { (ac_try="$ac_cpp conftest.$ac_ext"
29438 case "(($ac_try" in
29439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29440 *) ac_try_echo=$ac_try;;
29442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29443 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29445 grep -v '^
*+' conftest.er1 >conftest.err
29447 cat conftest.err >&5
29448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29449 (exit $ac_status); } >/dev/null && {
29450 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29451 test ! -s conftest.err
29453 ac_header_preproc=yes
29455 echo "$as_me: failed program was:" >&5
29456 sed 's
/^
/|
/' conftest.$ac_ext >&5
29458 ac_header_preproc=no
29461 rm -f conftest.err conftest.$ac_ext
29462 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29463 echo "${ECHO_T}$ac_header_preproc" >&6; }
29465 # So? What about this header?
29466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29468 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: accepted by the compiler, rejected by the preprocessor!" >&5
29469 echo "$as_me: WARNING: intuition/intuitionbase.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29470 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: proceeding with the compiler's result
" >&5
29471 echo "$as_me: WARNING
: intuition
/intuitionbase.h
: proceeding with the compiler
's result" >&2;}
29472 ac_header_preproc=yes
29475 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: present but cannot be compiled" >&5
29476 echo "$as_me: WARNING: intuition/intuitionbase.h: present but cannot be compiled" >&2;}
29477 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: check for missing prerequisite headers?" >&5
29478 echo "$as_me: WARNING: intuition/intuitionbase.h: check for missing prerequisite headers?" >&2;}
29479 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: see the Autoconf documentation" >&5
29480 echo "$as_me: WARNING: intuition/intuitionbase.h: see the Autoconf documentation" >&2;}
29481 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: section \"Present But Cannot Be Compiled\"" >&5
29482 echo "$as_me: WARNING: intuition/intuitionbase.h: section \"Present But Cannot Be Compiled\"" >&2;}
29483 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: proceeding with the preprocessor's result
" >&5
29484 echo "$as_me: WARNING
: intuition
/intuitionbase.h
: proceeding with the preprocessor
's result" >&2;}
29485 { echo "$as_me:$LINENO: WARNING: intuition/intuitionbase.h: in the future, the compiler will take precedence" >&5
29486 echo "$as_me: WARNING: intuition/intuitionbase.h: in the future, the compiler will take precedence" >&2;}
29490 { echo "$as_me:$LINENO: checking for intuition/intuitionbase.h" >&5
29491 echo $ECHO_N "checking for intuition/intuitionbase.h... $ECHO_C" >&6; }
29492 if test "${ac_cv_header_intuition_intuitionbase_h+set}" = set; then
29493 echo $ECHO_N "(cached) $ECHO_C" >&6
29495 ac_cv_header_intuition_intuitionbase_h=$ac_header_preproc
29497 { echo "$as_me:$LINENO: result: $ac_cv_header_intuition_intuitionbase_h" >&5
29498 echo "${ECHO_T}$ac_cv_header_intuition_intuitionbase_h" >&6; }
29501 if test $ac_cv_header_intuition_intuitionbase_h = yes; then
29504 can_compile_amigaos=0
29508 if test "${ac_cv_header_cybergraphx_cybergraphics_h+set}" = set; then
29509 { echo "$as_me:$LINENO: checking for cybergraphx/cybergraphics.h" >&5
29510 echo $ECHO_N "checking for cybergraphx/cybergraphics.h... $ECHO_C" >&6; }
29511 if test "${ac_cv_header_cybergraphx_cybergraphics_h+set}" = set; then
29512 echo $ECHO_N "(cached) $ECHO_C" >&6
29514 { echo "$as_me:$LINENO: result: $ac_cv_header_cybergraphx_cybergraphics_h" >&5
29515 echo "${ECHO_T}$ac_cv_header_cybergraphx_cybergraphics_h" >&6; }
29517 # Is the header compilable?
29518 { echo "$as_me:$LINENO: checking cybergraphx/cybergraphics.h usability" >&5
29519 echo $ECHO_N "checking cybergraphx/cybergraphics.h usability... $ECHO_C" >&6; }
29520 cat >conftest.$ac_ext <<_ACEOF
29523 cat confdefs.h >>conftest.$ac_ext
29524 cat >>conftest.$ac_ext <<_ACEOF
29525 /* end confdefs.h. */
29526 $ac_includes_default
29527 #include <cybergraphx/cybergraphics.h>
29529 rm -f conftest.$ac_objext
29530 if { (ac_try="$ac_compile"
29531 case "(($ac_try" in
29532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29533 *) ac_try_echo=$ac_try;;
29535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29536 (eval "$ac_compile") 2>conftest.er1
29538 grep -v '^
*+' conftest.er1 >conftest.err
29540 cat conftest.err >&5
29541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29542 (exit $ac_status); } && {
29543 test -z "$ac_c_werror_flag" ||
29544 test ! -s conftest.err
29545 } && test -s conftest.$ac_objext; then
29546 ac_header_compiler=yes
29548 echo "$as_me: failed program was:" >&5
29549 sed 's
/^
/|
/' conftest.$ac_ext >&5
29551 ac_header_compiler=no
29554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29555 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29556 echo "${ECHO_T}$ac_header_compiler" >&6; }
29558 # Is the header present?
29559 { echo "$as_me:$LINENO: checking cybergraphx/cybergraphics.h presence" >&5
29560 echo $ECHO_N "checking cybergraphx/cybergraphics.h presence... $ECHO_C" >&6; }
29561 cat >conftest.$ac_ext <<_ACEOF
29564 cat confdefs.h >>conftest.$ac_ext
29565 cat >>conftest.$ac_ext <<_ACEOF
29566 /* end confdefs.h. */
29567 #include <cybergraphx/cybergraphics.h>
29569 if { (ac_try="$ac_cpp conftest.$ac_ext"
29570 case "(($ac_try" in
29571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29572 *) ac_try_echo=$ac_try;;
29574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29575 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29577 grep -v '^
*+' conftest.er1 >conftest.err
29579 cat conftest.err >&5
29580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29581 (exit $ac_status); } >/dev/null && {
29582 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29583 test ! -s conftest.err
29585 ac_header_preproc=yes
29587 echo "$as_me: failed program was:" >&5
29588 sed 's
/^
/|
/' conftest.$ac_ext >&5
29590 ac_header_preproc=no
29593 rm -f conftest.err conftest.$ac_ext
29594 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29595 echo "${ECHO_T}$ac_header_preproc" >&6; }
29597 # So? What about this header?
29598 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29600 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: accepted by the compiler, rejected by the preprocessor!" >&5
29601 echo "$as_me: WARNING: cybergraphx/cybergraphics.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29602 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: proceeding with the compiler's result
" >&5
29603 echo "$as_me: WARNING
: cybergraphx
/cybergraphics.h
: proceeding with the compiler
's result" >&2;}
29604 ac_header_preproc=yes
29607 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: present but cannot be compiled" >&5
29608 echo "$as_me: WARNING: cybergraphx/cybergraphics.h: present but cannot be compiled" >&2;}
29609 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: check for missing prerequisite headers?" >&5
29610 echo "$as_me: WARNING: cybergraphx/cybergraphics.h: check for missing prerequisite headers?" >&2;}
29611 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: see the Autoconf documentation" >&5
29612 echo "$as_me: WARNING: cybergraphx/cybergraphics.h: see the Autoconf documentation" >&2;}
29613 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: section \"Present But Cannot Be Compiled\"" >&5
29614 echo "$as_me: WARNING: cybergraphx/cybergraphics.h: section \"Present But Cannot Be Compiled\"" >&2;}
29615 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: proceeding with the preprocessor's result
" >&5
29616 echo "$as_me: WARNING
: cybergraphx
/cybergraphics.h
: proceeding with the preprocessor
's result" >&2;}
29617 { echo "$as_me:$LINENO: WARNING: cybergraphx/cybergraphics.h: in the future, the compiler will take precedence" >&5
29618 echo "$as_me: WARNING: cybergraphx/cybergraphics.h: in the future, the compiler will take precedence" >&2;}
29622 { echo "$as_me:$LINENO: checking for cybergraphx/cybergraphics.h" >&5
29623 echo $ECHO_N "checking for cybergraphx/cybergraphics.h... $ECHO_C" >&6; }
29624 if test "${ac_cv_header_cybergraphx_cybergraphics_h+set}" = set; then
29625 echo $ECHO_N "(cached) $ECHO_C" >&6
29627 ac_cv_header_cybergraphx_cybergraphics_h=$ac_header_preproc
29629 { echo "$as_me:$LINENO: result: $ac_cv_header_cybergraphx_cybergraphics_h" >&5
29630 echo "${ECHO_T}$ac_cv_header_cybergraphx_cybergraphics_h" >&6; }
29633 if test $ac_cv_header_cybergraphx_cybergraphics_h = yes; then
29636 can_compile_amigaos=0
29640 if test "${ac_cv_header_devices_trackdisk_h+set}" = set; then
29641 { echo "$as_me:$LINENO: checking for devices/trackdisk.h" >&5
29642 echo $ECHO_N "checking for devices/trackdisk.h... $ECHO_C" >&6; }
29643 if test "${ac_cv_header_devices_trackdisk_h+set}" = set; then
29644 echo $ECHO_N "(cached) $ECHO_C" >&6
29646 { echo "$as_me:$LINENO: result: $ac_cv_header_devices_trackdisk_h" >&5
29647 echo "${ECHO_T}$ac_cv_header_devices_trackdisk_h" >&6; }
29649 # Is the header compilable?
29650 { echo "$as_me:$LINENO: checking devices/trackdisk.h usability" >&5
29651 echo $ECHO_N "checking devices/trackdisk.h usability... $ECHO_C" >&6; }
29652 cat >conftest.$ac_ext <<_ACEOF
29655 cat confdefs.h >>conftest.$ac_ext
29656 cat >>conftest.$ac_ext <<_ACEOF
29657 /* end confdefs.h. */
29658 $ac_includes_default
29659 #include <devices/trackdisk.h>
29661 rm -f conftest.$ac_objext
29662 if { (ac_try="$ac_compile"
29663 case "(($ac_try" in
29664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29665 *) ac_try_echo=$ac_try;;
29667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29668 (eval "$ac_compile") 2>conftest.er1
29670 grep -v '^
*+' conftest.er1 >conftest.err
29672 cat conftest.err >&5
29673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29674 (exit $ac_status); } && {
29675 test -z "$ac_c_werror_flag" ||
29676 test ! -s conftest.err
29677 } && test -s conftest.$ac_objext; then
29678 ac_header_compiler=yes
29680 echo "$as_me: failed program was:" >&5
29681 sed 's
/^
/|
/' conftest.$ac_ext >&5
29683 ac_header_compiler=no
29686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29687 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29688 echo "${ECHO_T}$ac_header_compiler" >&6; }
29690 # Is the header present?
29691 { echo "$as_me:$LINENO: checking devices/trackdisk.h presence" >&5
29692 echo $ECHO_N "checking devices/trackdisk.h presence... $ECHO_C" >&6; }
29693 cat >conftest.$ac_ext <<_ACEOF
29696 cat confdefs.h >>conftest.$ac_ext
29697 cat >>conftest.$ac_ext <<_ACEOF
29698 /* end confdefs.h. */
29699 #include <devices/trackdisk.h>
29701 if { (ac_try="$ac_cpp conftest.$ac_ext"
29702 case "(($ac_try" in
29703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29704 *) ac_try_echo=$ac_try;;
29706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29707 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29709 grep -v '^
*+' conftest.er1 >conftest.err
29711 cat conftest.err >&5
29712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29713 (exit $ac_status); } >/dev/null && {
29714 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29715 test ! -s conftest.err
29717 ac_header_preproc=yes
29719 echo "$as_me: failed program was:" >&5
29720 sed 's
/^
/|
/' conftest.$ac_ext >&5
29722 ac_header_preproc=no
29725 rm -f conftest.err conftest.$ac_ext
29726 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29727 echo "${ECHO_T}$ac_header_preproc" >&6; }
29729 # So? What about this header?
29730 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29732 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: accepted by the compiler, rejected by the preprocessor!" >&5
29733 echo "$as_me: WARNING: devices/trackdisk.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29734 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: proceeding with the compiler's result
" >&5
29735 echo "$as_me: WARNING
: devices
/trackdisk.h
: proceeding with the compiler
's result" >&2;}
29736 ac_header_preproc=yes
29739 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: present but cannot be compiled" >&5
29740 echo "$as_me: WARNING: devices/trackdisk.h: present but cannot be compiled" >&2;}
29741 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: check for missing prerequisite headers?" >&5
29742 echo "$as_me: WARNING: devices/trackdisk.h: check for missing prerequisite headers?" >&2;}
29743 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: see the Autoconf documentation" >&5
29744 echo "$as_me: WARNING: devices/trackdisk.h: see the Autoconf documentation" >&2;}
29745 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: section \"Present But Cannot Be Compiled\"" >&5
29746 echo "$as_me: WARNING: devices/trackdisk.h: section \"Present But Cannot Be Compiled\"" >&2;}
29747 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: proceeding with the preprocessor's result
" >&5
29748 echo "$as_me: WARNING
: devices
/trackdisk.h
: proceeding with the preprocessor
's result" >&2;}
29749 { echo "$as_me:$LINENO: WARNING: devices/trackdisk.h: in the future, the compiler will take precedence" >&5
29750 echo "$as_me: WARNING: devices/trackdisk.h: in the future, the compiler will take precedence" >&2;}
29754 { echo "$as_me:$LINENO: checking for devices/trackdisk.h" >&5
29755 echo $ECHO_N "checking for devices/trackdisk.h... $ECHO_C" >&6; }
29756 if test "${ac_cv_header_devices_trackdisk_h+set}" = set; then
29757 echo $ECHO_N "(cached) $ECHO_C" >&6
29759 ac_cv_header_devices_trackdisk_h=$ac_header_preproc
29761 { echo "$as_me:$LINENO: result: $ac_cv_header_devices_trackdisk_h" >&5
29762 echo "${ECHO_T}$ac_cv_header_devices_trackdisk_h" >&6; }
29765 if test $ac_cv_header_devices_trackdisk_h = yes; then
29768 can_compile_amigaos=0
29772 if test $can_compile_amigaos = 1; then
29777 if test "$with_macos" != yes; then
29778 can_compile_macos=1
29779 if test "${ac_cv_header_Quickdraw_h+set}" = set; then
29780 { echo "$as_me:$LINENO: checking for Quickdraw.h" >&5
29781 echo $ECHO_N "checking for Quickdraw.h... $ECHO_C" >&6; }
29782 if test "${ac_cv_header_Quickdraw_h+set}" = set; then
29783 echo $ECHO_N "(cached) $ECHO_C" >&6
29785 { echo "$as_me:$LINENO: result: $ac_cv_header_Quickdraw_h" >&5
29786 echo "${ECHO_T}$ac_cv_header_Quickdraw_h" >&6; }
29788 # Is the header compilable?
29789 { echo "$as_me:$LINENO: checking Quickdraw.h usability" >&5
29790 echo $ECHO_N "checking Quickdraw.h usability... $ECHO_C" >&6; }
29791 cat >conftest.$ac_ext <<_ACEOF
29794 cat confdefs.h >>conftest.$ac_ext
29795 cat >>conftest.$ac_ext <<_ACEOF
29796 /* end confdefs.h. */
29797 $ac_includes_default
29798 #include <Quickdraw.h>
29800 rm -f conftest.$ac_objext
29801 if { (ac_try="$ac_compile"
29802 case "(($ac_try" in
29803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29804 *) ac_try_echo=$ac_try;;
29806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29807 (eval "$ac_compile") 2>conftest.er1
29809 grep -v '^
*+' conftest.er1 >conftest.err
29811 cat conftest.err >&5
29812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29813 (exit $ac_status); } && {
29814 test -z "$ac_c_werror_flag" ||
29815 test ! -s conftest.err
29816 } && test -s conftest.$ac_objext; then
29817 ac_header_compiler=yes
29819 echo "$as_me: failed program was:" >&5
29820 sed 's
/^
/|
/' conftest.$ac_ext >&5
29822 ac_header_compiler=no
29825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29826 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29827 echo "${ECHO_T}$ac_header_compiler" >&6; }
29829 # Is the header present?
29830 { echo "$as_me:$LINENO: checking Quickdraw.h presence" >&5
29831 echo $ECHO_N "checking Quickdraw.h presence... $ECHO_C" >&6; }
29832 cat >conftest.$ac_ext <<_ACEOF
29835 cat confdefs.h >>conftest.$ac_ext
29836 cat >>conftest.$ac_ext <<_ACEOF
29837 /* end confdefs.h. */
29838 #include <Quickdraw.h>
29840 if { (ac_try="$ac_cpp conftest.$ac_ext"
29841 case "(($ac_try" in
29842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29843 *) ac_try_echo=$ac_try;;
29845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29846 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29848 grep -v '^
*+' conftest.er1 >conftest.err
29850 cat conftest.err >&5
29851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29852 (exit $ac_status); } >/dev/null && {
29853 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29854 test ! -s conftest.err
29856 ac_header_preproc=yes
29858 echo "$as_me: failed program was:" >&5
29859 sed 's
/^
/|
/' conftest.$ac_ext >&5
29861 ac_header_preproc=no
29864 rm -f conftest.err conftest.$ac_ext
29865 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29866 echo "${ECHO_T}$ac_header_preproc" >&6; }
29868 # So? What about this header?
29869 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29871 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: accepted by the compiler, rejected by the preprocessor!" >&5
29872 echo "$as_me: WARNING: Quickdraw.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29873 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: proceeding with the compiler's result
" >&5
29874 echo "$as_me: WARNING
: Quickdraw.h
: proceeding with the compiler
's result" >&2;}
29875 ac_header_preproc=yes
29878 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: present but cannot be compiled" >&5
29879 echo "$as_me: WARNING: Quickdraw.h: present but cannot be compiled" >&2;}
29880 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: check for missing prerequisite headers?" >&5
29881 echo "$as_me: WARNING: Quickdraw.h: check for missing prerequisite headers?" >&2;}
29882 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: see the Autoconf documentation" >&5
29883 echo "$as_me: WARNING: Quickdraw.h: see the Autoconf documentation" >&2;}
29884 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: section \"Present But Cannot Be Compiled\"" >&5
29885 echo "$as_me: WARNING: Quickdraw.h: section \"Present But Cannot Be Compiled\"" >&2;}
29886 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: proceeding with the preprocessor's result
" >&5
29887 echo "$as_me: WARNING
: Quickdraw.h
: proceeding with the preprocessor
's result" >&2;}
29888 { echo "$as_me:$LINENO: WARNING: Quickdraw.h: in the future, the compiler will take precedence" >&5
29889 echo "$as_me: WARNING: Quickdraw.h: in the future, the compiler will take precedence" >&2;}
29893 { echo "$as_me:$LINENO: checking for Quickdraw.h" >&5
29894 echo $ECHO_N "checking for Quickdraw.h... $ECHO_C" >&6; }
29895 if test "${ac_cv_header_Quickdraw_h+set}" = set; then
29896 echo $ECHO_N "(cached) $ECHO_C" >&6
29898 ac_cv_header_Quickdraw_h=$ac_header_preproc
29900 { echo "$as_me:$LINENO: result: $ac_cv_header_Quickdraw_h" >&5
29901 echo "${ECHO_T}$ac_cv_header_Quickdraw_h" >&6; }
29904 if test $ac_cv_header_Quickdraw_h = yes; then
29907 can_compile_macos=0
29911 if test "${ac_cv_header_Dialogs_h+set}" = set; then
29912 { echo "$as_me:$LINENO: checking for Dialogs.h" >&5
29913 echo $ECHO_N "checking for Dialogs.h... $ECHO_C" >&6; }
29914 if test "${ac_cv_header_Dialogs_h+set}" = set; then
29915 echo $ECHO_N "(cached) $ECHO_C" >&6
29917 { echo "$as_me:$LINENO: result: $ac_cv_header_Dialogs_h" >&5
29918 echo "${ECHO_T}$ac_cv_header_Dialogs_h" >&6; }
29920 # Is the header compilable?
29921 { echo "$as_me:$LINENO: checking Dialogs.h usability" >&5
29922 echo $ECHO_N "checking Dialogs.h usability... $ECHO_C" >&6; }
29923 cat >conftest.$ac_ext <<_ACEOF
29926 cat confdefs.h >>conftest.$ac_ext
29927 cat >>conftest.$ac_ext <<_ACEOF
29928 /* end confdefs.h. */
29929 $ac_includes_default
29930 #include <Dialogs.h>
29932 rm -f conftest.$ac_objext
29933 if { (ac_try="$ac_compile"
29934 case "(($ac_try" in
29935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29936 *) ac_try_echo=$ac_try;;
29938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29939 (eval "$ac_compile") 2>conftest.er1
29941 grep -v '^
*+' conftest.er1 >conftest.err
29943 cat conftest.err >&5
29944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29945 (exit $ac_status); } && {
29946 test -z "$ac_c_werror_flag" ||
29947 test ! -s conftest.err
29948 } && test -s conftest.$ac_objext; then
29949 ac_header_compiler=yes
29951 echo "$as_me: failed program was:" >&5
29952 sed 's
/^
/|
/' conftest.$ac_ext >&5
29954 ac_header_compiler=no
29957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29958 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29959 echo "${ECHO_T}$ac_header_compiler" >&6; }
29961 # Is the header present?
29962 { echo "$as_me:$LINENO: checking Dialogs.h presence" >&5
29963 echo $ECHO_N "checking Dialogs.h presence... $ECHO_C" >&6; }
29964 cat >conftest.$ac_ext <<_ACEOF
29967 cat confdefs.h >>conftest.$ac_ext
29968 cat >>conftest.$ac_ext <<_ACEOF
29969 /* end confdefs.h. */
29970 #include <Dialogs.h>
29972 if { (ac_try="$ac_cpp conftest.$ac_ext"
29973 case "(($ac_try" in
29974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29975 *) ac_try_echo=$ac_try;;
29977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29978 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29980 grep -v '^
*+' conftest.er1 >conftest.err
29982 cat conftest.err >&5
29983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29984 (exit $ac_status); } >/dev/null && {
29985 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29986 test ! -s conftest.err
29988 ac_header_preproc=yes
29990 echo "$as_me: failed program was:" >&5
29991 sed 's
/^
/|
/' conftest.$ac_ext >&5
29993 ac_header_preproc=no
29996 rm -f conftest.err conftest.$ac_ext
29997 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29998 echo "${ECHO_T}$ac_header_preproc" >&6; }
30000 # So? What about this header?
30001 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30003 { echo "$as_me:$LINENO: WARNING: Dialogs.h: accepted by the compiler, rejected by the preprocessor!" >&5
30004 echo "$as_me: WARNING: Dialogs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30005 { echo "$as_me:$LINENO: WARNING: Dialogs.h: proceeding with the compiler's result
" >&5
30006 echo "$as_me: WARNING
: Dialogs.h
: proceeding with the compiler
's result" >&2;}
30007 ac_header_preproc=yes
30010 { echo "$as_me:$LINENO: WARNING: Dialogs.h: present but cannot be compiled" >&5
30011 echo "$as_me: WARNING: Dialogs.h: present but cannot be compiled" >&2;}
30012 { echo "$as_me:$LINENO: WARNING: Dialogs.h: check for missing prerequisite headers?" >&5
30013 echo "$as_me: WARNING: Dialogs.h: check for missing prerequisite headers?" >&2;}
30014 { echo "$as_me:$LINENO: WARNING: Dialogs.h: see the Autoconf documentation" >&5
30015 echo "$as_me: WARNING: Dialogs.h: see the Autoconf documentation" >&2;}
30016 { echo "$as_me:$LINENO: WARNING: Dialogs.h: section \"Present But Cannot Be Compiled\"" >&5
30017 echo "$as_me: WARNING: Dialogs.h: section \"Present But Cannot Be Compiled\"" >&2;}
30018 { echo "$as_me:$LINENO: WARNING: Dialogs.h: proceeding with the preprocessor's result
" >&5
30019 echo "$as_me: WARNING
: Dialogs.h
: proceeding with the preprocessor
's result" >&2;}
30020 { echo "$as_me:$LINENO: WARNING: Dialogs.h: in the future, the compiler will take precedence" >&5
30021 echo "$as_me: WARNING: Dialogs.h: in the future, the compiler will take precedence" >&2;}
30025 { echo "$as_me:$LINENO: checking for Dialogs.h" >&5
30026 echo $ECHO_N "checking for Dialogs.h... $ECHO_C" >&6; }
30027 if test "${ac_cv_header_Dialogs_h+set}" = set; then
30028 echo $ECHO_N "(cached) $ECHO_C" >&6
30030 ac_cv_header_Dialogs_h=$ac_header_preproc
30032 { echo "$as_me:$LINENO: result: $ac_cv_header_Dialogs_h" >&5
30033 echo "${ECHO_T}$ac_cv_header_Dialogs_h" >&6; }
30036 if test $ac_cv_header_Dialogs_h = yes; then
30039 can_compile_macos=0
30043 if test $can_compile_macos = 1; then
30048 if test "$with_carbon" != yes; then
30049 can_compile_carbon=1
30050 if test "${ac_cv_header_Carbon_h+set}" = set; then
30051 { echo "$as_me:$LINENO: checking for Carbon.h" >&5
30052 echo $ECHO_N "checking for Carbon.h... $ECHO_C" >&6; }
30053 if test "${ac_cv_header_Carbon_h+set}" = set; then
30054 echo $ECHO_N "(cached) $ECHO_C" >&6
30056 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_h" >&5
30057 echo "${ECHO_T}$ac_cv_header_Carbon_h" >&6; }
30059 # Is the header compilable?
30060 { echo "$as_me:$LINENO: checking Carbon.h usability" >&5
30061 echo $ECHO_N "checking Carbon.h usability... $ECHO_C" >&6; }
30062 cat >conftest.$ac_ext <<_ACEOF
30065 cat confdefs.h >>conftest.$ac_ext
30066 cat >>conftest.$ac_ext <<_ACEOF
30067 /* end confdefs.h. */
30068 $ac_includes_default
30069 #include <Carbon.h>
30071 rm -f conftest.$ac_objext
30072 if { (ac_try="$ac_compile"
30073 case "(($ac_try" in
30074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30075 *) ac_try_echo=$ac_try;;
30077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30078 (eval "$ac_compile") 2>conftest.er1
30080 grep -v '^
*+' conftest.er1 >conftest.err
30082 cat conftest.err >&5
30083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30084 (exit $ac_status); } && {
30085 test -z "$ac_c_werror_flag" ||
30086 test ! -s conftest.err
30087 } && test -s conftest.$ac_objext; then
30088 ac_header_compiler=yes
30090 echo "$as_me: failed program was:" >&5
30091 sed 's
/^
/|
/' conftest.$ac_ext >&5
30093 ac_header_compiler=no
30096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30097 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30098 echo "${ECHO_T}$ac_header_compiler" >&6; }
30100 # Is the header present?
30101 { echo "$as_me:$LINENO: checking Carbon.h presence" >&5
30102 echo $ECHO_N "checking Carbon.h presence... $ECHO_C" >&6; }
30103 cat >conftest.$ac_ext <<_ACEOF
30106 cat confdefs.h >>conftest.$ac_ext
30107 cat >>conftest.$ac_ext <<_ACEOF
30108 /* end confdefs.h. */
30109 #include <Carbon.h>
30111 if { (ac_try="$ac_cpp conftest.$ac_ext"
30112 case "(($ac_try" in
30113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30114 *) ac_try_echo=$ac_try;;
30116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30117 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30119 grep -v '^
*+' conftest.er1 >conftest.err
30121 cat conftest.err >&5
30122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30123 (exit $ac_status); } >/dev/null && {
30124 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30125 test ! -s conftest.err
30127 ac_header_preproc=yes
30129 echo "$as_me: failed program was:" >&5
30130 sed 's
/^
/|
/' conftest.$ac_ext >&5
30132 ac_header_preproc=no
30135 rm -f conftest.err conftest.$ac_ext
30136 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30137 echo "${ECHO_T}$ac_header_preproc" >&6; }
30139 # So? What about this header?
30140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30142 { echo "$as_me:$LINENO: WARNING: Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
30143 echo "$as_me: WARNING: Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30144 { echo "$as_me:$LINENO: WARNING: Carbon.h: proceeding with the compiler's result
" >&5
30145 echo "$as_me: WARNING
: Carbon.h
: proceeding with the compiler
's result" >&2;}
30146 ac_header_preproc=yes
30149 { echo "$as_me:$LINENO: WARNING: Carbon.h: present but cannot be compiled" >&5
30150 echo "$as_me: WARNING: Carbon.h: present but cannot be compiled" >&2;}
30151 { echo "$as_me:$LINENO: WARNING: Carbon.h: check for missing prerequisite headers?" >&5
30152 echo "$as_me: WARNING: Carbon.h: check for missing prerequisite headers?" >&2;}
30153 { echo "$as_me:$LINENO: WARNING: Carbon.h: see the Autoconf documentation" >&5
30154 echo "$as_me: WARNING: Carbon.h: see the Autoconf documentation" >&2;}
30155 { echo "$as_me:$LINENO: WARNING: Carbon.h: section \"Present But Cannot Be Compiled\"" >&5
30156 echo "$as_me: WARNING: Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;}
30157 { echo "$as_me:$LINENO: WARNING: Carbon.h: proceeding with the preprocessor's result
" >&5
30158 echo "$as_me: WARNING
: Carbon.h
: proceeding with the preprocessor
's result" >&2;}
30159 { echo "$as_me:$LINENO: WARNING: Carbon.h: in the future, the compiler will take precedence" >&5
30160 echo "$as_me: WARNING: Carbon.h: in the future, the compiler will take precedence" >&2;}
30164 { echo "$as_me:$LINENO: checking for Carbon.h" >&5
30165 echo $ECHO_N "checking for Carbon.h... $ECHO_C" >&6; }
30166 if test "${ac_cv_header_Carbon_h+set}" = set; then
30167 echo $ECHO_N "(cached) $ECHO_C" >&6
30169 ac_cv_header_Carbon_h=$ac_header_preproc
30171 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_h" >&5
30172 echo "${ECHO_T}$ac_cv_header_Carbon_h" >&6; }
30175 if test $ac_cv_header_Carbon_h = yes; then
30178 can_compile_carbon=0
30182 if test "${ac_cv_header_ApplicationServices_ApplicationServices_h+set}" = set; then
30183 { echo "$as_me:$LINENO: checking for ApplicationServices/ApplicationServices.h" >&5
30184 echo $ECHO_N "checking for ApplicationServices/ApplicationServices.h... $ECHO_C" >&6; }
30185 if test "${ac_cv_header_ApplicationServices_ApplicationServices_h+set}" = set; then
30186 echo $ECHO_N "(cached) $ECHO_C" >&6
30188 { echo "$as_me:$LINENO: result: $ac_cv_header_ApplicationServices_ApplicationServices_h" >&5
30189 echo "${ECHO_T}$ac_cv_header_ApplicationServices_ApplicationServices_h" >&6; }
30191 # Is the header compilable?
30192 { echo "$as_me:$LINENO: checking ApplicationServices/ApplicationServices.h usability" >&5
30193 echo $ECHO_N "checking ApplicationServices/ApplicationServices.h usability... $ECHO_C" >&6; }
30194 cat >conftest.$ac_ext <<_ACEOF
30197 cat confdefs.h >>conftest.$ac_ext
30198 cat >>conftest.$ac_ext <<_ACEOF
30199 /* end confdefs.h. */
30200 $ac_includes_default
30201 #include <ApplicationServices/ApplicationServices.h>
30203 rm -f conftest.$ac_objext
30204 if { (ac_try="$ac_compile"
30205 case "(($ac_try" in
30206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30207 *) ac_try_echo=$ac_try;;
30209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30210 (eval "$ac_compile") 2>conftest.er1
30212 grep -v '^
*+' conftest.er1 >conftest.err
30214 cat conftest.err >&5
30215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30216 (exit $ac_status); } && {
30217 test -z "$ac_c_werror_flag" ||
30218 test ! -s conftest.err
30219 } && test -s conftest.$ac_objext; then
30220 ac_header_compiler=yes
30222 echo "$as_me: failed program was:" >&5
30223 sed 's
/^
/|
/' conftest.$ac_ext >&5
30225 ac_header_compiler=no
30228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30229 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30230 echo "${ECHO_T}$ac_header_compiler" >&6; }
30232 # Is the header present?
30233 { echo "$as_me:$LINENO: checking ApplicationServices/ApplicationServices.h presence" >&5
30234 echo $ECHO_N "checking ApplicationServices/ApplicationServices.h presence... $ECHO_C" >&6; }
30235 cat >conftest.$ac_ext <<_ACEOF
30238 cat confdefs.h >>conftest.$ac_ext
30239 cat >>conftest.$ac_ext <<_ACEOF
30240 /* end confdefs.h. */
30241 #include <ApplicationServices/ApplicationServices.h>
30243 if { (ac_try="$ac_cpp conftest.$ac_ext"
30244 case "(($ac_try" in
30245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30246 *) ac_try_echo=$ac_try;;
30248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30249 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30251 grep -v '^
*+' conftest.er1 >conftest.err
30253 cat conftest.err >&5
30254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30255 (exit $ac_status); } >/dev/null && {
30256 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30257 test ! -s conftest.err
30259 ac_header_preproc=yes
30261 echo "$as_me: failed program was:" >&5
30262 sed 's
/^
/|
/' conftest.$ac_ext >&5
30264 ac_header_preproc=no
30267 rm -f conftest.err conftest.$ac_ext
30268 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30269 echo "${ECHO_T}$ac_header_preproc" >&6; }
30271 # So? What about this header?
30272 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30274 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: accepted by the compiler, rejected by the preprocessor!" >&5
30275 echo "$as_me: WARNING: ApplicationServices/ApplicationServices.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30276 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: proceeding with the compiler's result
" >&5
30277 echo "$as_me: WARNING
: ApplicationServices
/ApplicationServices.h
: proceeding with the compiler
's result" >&2;}
30278 ac_header_preproc=yes
30281 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: present but cannot be compiled" >&5
30282 echo "$as_me: WARNING: ApplicationServices/ApplicationServices.h: present but cannot be compiled" >&2;}
30283 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: check for missing prerequisite headers?" >&5
30284 echo "$as_me: WARNING: ApplicationServices/ApplicationServices.h: check for missing prerequisite headers?" >&2;}
30285 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: see the Autoconf documentation" >&5
30286 echo "$as_me: WARNING: ApplicationServices/ApplicationServices.h: see the Autoconf documentation" >&2;}
30287 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: section \"Present But Cannot Be Compiled\"" >&5
30288 echo "$as_me: WARNING: ApplicationServices/ApplicationServices.h: section \"Present But Cannot Be Compiled\"" >&2;}
30289 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: proceeding with the preprocessor's result
" >&5
30290 echo "$as_me: WARNING
: ApplicationServices
/ApplicationServices.h
: proceeding with the preprocessor
's result" >&2;}
30291 { echo "$as_me:$LINENO: WARNING: ApplicationServices/ApplicationServices.h: in the future, the compiler will take precedence" >&5
30292 echo "$as_me: WARNING: ApplicationServices/ApplicationServices.h: in the future, the compiler will take precedence" >&2;}
30296 { echo "$as_me:$LINENO: checking for ApplicationServices/ApplicationServices.h" >&5
30297 echo $ECHO_N "checking for ApplicationServices/ApplicationServices.h... $ECHO_C" >&6; }
30298 if test "${ac_cv_header_ApplicationServices_ApplicationServices_h+set}" = set; then
30299 echo $ECHO_N "(cached) $ECHO_C" >&6
30301 ac_cv_header_ApplicationServices_ApplicationServices_h=$ac_header_preproc
30303 { echo "$as_me:$LINENO: result: $ac_cv_header_ApplicationServices_ApplicationServices_h" >&5
30304 echo "${ECHO_T}$ac_cv_header_ApplicationServices_ApplicationServices_h" >&6; }
30307 if test $ac_cv_header_ApplicationServices_ApplicationServices_h = yes; then
30310 can_compile_carbon=0
30314 if test $can_compile_carbon = 1; then
30319 if test "$with_win32" != yes; then
30320 can_compile_win32=1
30321 if test "${ac_cv_header_windows_h+set}" = set; then
30322 { echo "$as_me:$LINENO: checking for windows.h" >&5
30323 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30324 if test "${ac_cv_header_windows_h+set}" = set; then
30325 echo $ECHO_N "(cached) $ECHO_C" >&6
30327 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30328 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30330 # Is the header compilable?
30331 { echo "$as_me:$LINENO: checking windows.h usability" >&5
30332 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6; }
30333 cat >conftest.$ac_ext <<_ACEOF
30336 cat confdefs.h >>conftest.$ac_ext
30337 cat >>conftest.$ac_ext <<_ACEOF
30338 /* end confdefs.h. */
30339 $ac_includes_default
30340 #include <windows.h>
30342 rm -f conftest.$ac_objext
30343 if { (ac_try="$ac_compile"
30344 case "(($ac_try" in
30345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30346 *) ac_try_echo=$ac_try;;
30348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30349 (eval "$ac_compile") 2>conftest.er1
30351 grep -v '^
*+' conftest.er1 >conftest.err
30353 cat conftest.err >&5
30354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30355 (exit $ac_status); } && {
30356 test -z "$ac_c_werror_flag" ||
30357 test ! -s conftest.err
30358 } && test -s conftest.$ac_objext; then
30359 ac_header_compiler=yes
30361 echo "$as_me: failed program was:" >&5
30362 sed 's
/^
/|
/' conftest.$ac_ext >&5
30364 ac_header_compiler=no
30367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30368 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30369 echo "${ECHO_T}$ac_header_compiler" >&6; }
30371 # Is the header present?
30372 { echo "$as_me:$LINENO: checking windows.h presence" >&5
30373 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6; }
30374 cat >conftest.$ac_ext <<_ACEOF
30377 cat confdefs.h >>conftest.$ac_ext
30378 cat >>conftest.$ac_ext <<_ACEOF
30379 /* end confdefs.h. */
30380 #include <windows.h>
30382 if { (ac_try="$ac_cpp conftest.$ac_ext"
30383 case "(($ac_try" in
30384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30385 *) ac_try_echo=$ac_try;;
30387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30388 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30390 grep -v '^
*+' conftest.er1 >conftest.err
30392 cat conftest.err >&5
30393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30394 (exit $ac_status); } >/dev/null && {
30395 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30396 test ! -s conftest.err
30398 ac_header_preproc=yes
30400 echo "$as_me: failed program was:" >&5
30401 sed 's
/^
/|
/' conftest.$ac_ext >&5
30403 ac_header_preproc=no
30406 rm -f conftest.err conftest.$ac_ext
30407 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30408 echo "${ECHO_T}$ac_header_preproc" >&6; }
30410 # So? What about this header?
30411 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30413 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
30414 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30415 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result
" >&5
30416 echo "$as_me: WARNING
: windows.h
: proceeding with the compiler
's result" >&2;}
30417 ac_header_preproc=yes
30420 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
30421 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
30422 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
30423 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
30424 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
30425 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
30426 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
30427 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
30428 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result
" >&5
30429 echo "$as_me: WARNING
: windows.h
: proceeding with the preprocessor
's result" >&2;}
30430 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
30431 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
30435 { echo "$as_me:$LINENO: checking for windows.h" >&5
30436 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30437 if test "${ac_cv_header_windows_h+set}" = set; then
30438 echo $ECHO_N "(cached) $ECHO_C" >&6
30440 ac_cv_header_windows_h=$ac_header_preproc
30442 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30443 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30446 if test $ac_cv_header_windows_h = yes; then
30449 can_compile_win32=0
30453 if test "${ac_cv_header_commctrl_h+set}" = set; then
30454 { echo "$as_me:$LINENO: checking for commctrl.h" >&5
30455 echo $ECHO_N "checking for commctrl.h... $ECHO_C" >&6; }
30456 if test "${ac_cv_header_commctrl_h+set}" = set; then
30457 echo $ECHO_N "(cached) $ECHO_C" >&6
30459 { echo "$as_me:$LINENO: result: $ac_cv_header_commctrl_h" >&5
30460 echo "${ECHO_T}$ac_cv_header_commctrl_h" >&6; }
30462 # Is the header compilable?
30463 { echo "$as_me:$LINENO: checking commctrl.h usability" >&5
30464 echo $ECHO_N "checking commctrl.h usability... $ECHO_C" >&6; }
30465 cat >conftest.$ac_ext <<_ACEOF
30468 cat confdefs.h >>conftest.$ac_ext
30469 cat >>conftest.$ac_ext <<_ACEOF
30470 /* end confdefs.h. */
30471 $ac_includes_default
30472 #include <commctrl.h>
30474 rm -f conftest.$ac_objext
30475 if { (ac_try="$ac_compile"
30476 case "(($ac_try" in
30477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30478 *) ac_try_echo=$ac_try;;
30480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30481 (eval "$ac_compile") 2>conftest.er1
30483 grep -v '^
*+' conftest.er1 >conftest.err
30485 cat conftest.err >&5
30486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30487 (exit $ac_status); } && {
30488 test -z "$ac_c_werror_flag" ||
30489 test ! -s conftest.err
30490 } && test -s conftest.$ac_objext; then
30491 ac_header_compiler=yes
30493 echo "$as_me: failed program was:" >&5
30494 sed 's
/^
/|
/' conftest.$ac_ext >&5
30496 ac_header_compiler=no
30499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30500 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30501 echo "${ECHO_T}$ac_header_compiler" >&6; }
30503 # Is the header present?
30504 { echo "$as_me:$LINENO: checking commctrl.h presence" >&5
30505 echo $ECHO_N "checking commctrl.h presence... $ECHO_C" >&6; }
30506 cat >conftest.$ac_ext <<_ACEOF
30509 cat confdefs.h >>conftest.$ac_ext
30510 cat >>conftest.$ac_ext <<_ACEOF
30511 /* end confdefs.h. */
30512 #include <commctrl.h>
30514 if { (ac_try="$ac_cpp conftest.$ac_ext"
30515 case "(($ac_try" in
30516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30517 *) ac_try_echo=$ac_try;;
30519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30520 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30522 grep -v '^
*+' conftest.er1 >conftest.err
30524 cat conftest.err >&5
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); } >/dev/null && {
30527 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30528 test ! -s conftest.err
30530 ac_header_preproc=yes
30532 echo "$as_me: failed program was:" >&5
30533 sed 's
/^
/|
/' conftest.$ac_ext >&5
30535 ac_header_preproc=no
30538 rm -f conftest.err conftest.$ac_ext
30539 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30540 echo "${ECHO_T}$ac_header_preproc" >&6; }
30542 # So? What about this header?
30543 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30545 { echo "$as_me:$LINENO: WARNING: commctrl.h: accepted by the compiler, rejected by the preprocessor!" >&5
30546 echo "$as_me: WARNING: commctrl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30547 { echo "$as_me:$LINENO: WARNING: commctrl.h: proceeding with the compiler's result
" >&5
30548 echo "$as_me: WARNING
: commctrl.h
: proceeding with the compiler
's result" >&2;}
30549 ac_header_preproc=yes
30552 { echo "$as_me:$LINENO: WARNING: commctrl.h: present but cannot be compiled" >&5
30553 echo "$as_me: WARNING: commctrl.h: present but cannot be compiled" >&2;}
30554 { echo "$as_me:$LINENO: WARNING: commctrl.h: check for missing prerequisite headers?" >&5
30555 echo "$as_me: WARNING: commctrl.h: check for missing prerequisite headers?" >&2;}
30556 { echo "$as_me:$LINENO: WARNING: commctrl.h: see the Autoconf documentation" >&5
30557 echo "$as_me: WARNING: commctrl.h: see the Autoconf documentation" >&2;}
30558 { echo "$as_me:$LINENO: WARNING: commctrl.h: section \"Present But Cannot Be Compiled\"" >&5
30559 echo "$as_me: WARNING: commctrl.h: section \"Present But Cannot Be Compiled\"" >&2;}
30560 { echo "$as_me:$LINENO: WARNING: commctrl.h: proceeding with the preprocessor's result
" >&5
30561 echo "$as_me: WARNING
: commctrl.h
: proceeding with the preprocessor
's result" >&2;}
30562 { echo "$as_me:$LINENO: WARNING: commctrl.h: in the future, the compiler will take precedence" >&5
30563 echo "$as_me: WARNING: commctrl.h: in the future, the compiler will take precedence" >&2;}
30567 { echo "$as_me:$LINENO: checking for commctrl.h" >&5
30568 echo $ECHO_N "checking for commctrl.h... $ECHO_C" >&6; }
30569 if test "${ac_cv_header_commctrl_h+set}" = set; then
30570 echo $ECHO_N "(cached) $ECHO_C" >&6
30572 ac_cv_header_commctrl_h=$ac_header_preproc
30574 { echo "$as_me:$LINENO: result: $ac_cv_header_commctrl_h" >&5
30575 echo "${ECHO_T}$ac_cv_header_commctrl_h" >&6; }
30578 if test $ac_cv_header_commctrl_h = yes; then
30581 can_compile_win32=0
30585 if test $can_compile_win32 = 1; then
30590 if test "$with_sdl" != yes; then
30592 if test "${ac_cv_header_SDL_SDL_h+set}" = set; then
30593 { echo "$as_me:$LINENO: checking for SDL/SDL.h" >&5
30594 echo $ECHO_N "checking for SDL/SDL.h... $ECHO_C" >&6; }
30595 if test "${ac_cv_header_SDL_SDL_h+set}" = set; then
30596 echo $ECHO_N "(cached) $ECHO_C" >&6
30598 { echo "$as_me:$LINENO: result: $ac_cv_header_SDL_SDL_h" >&5
30599 echo "${ECHO_T}$ac_cv_header_SDL_SDL_h" >&6; }
30601 # Is the header compilable?
30602 { echo "$as_me:$LINENO: checking SDL/SDL.h usability" >&5
30603 echo $ECHO_N "checking SDL/SDL.h usability... $ECHO_C" >&6; }
30604 cat >conftest.$ac_ext <<_ACEOF
30607 cat confdefs.h >>conftest.$ac_ext
30608 cat >>conftest.$ac_ext <<_ACEOF
30609 /* end confdefs.h. */
30610 $ac_includes_default
30611 #include <SDL/SDL.h>
30613 rm -f conftest.$ac_objext
30614 if { (ac_try="$ac_compile"
30615 case "(($ac_try" in
30616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30617 *) ac_try_echo=$ac_try;;
30619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30620 (eval "$ac_compile") 2>conftest.er1
30622 grep -v '^
*+' conftest.er1 >conftest.err
30624 cat conftest.err >&5
30625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30626 (exit $ac_status); } && {
30627 test -z "$ac_c_werror_flag" ||
30628 test ! -s conftest.err
30629 } && test -s conftest.$ac_objext; then
30630 ac_header_compiler=yes
30632 echo "$as_me: failed program was:" >&5
30633 sed 's
/^
/|
/' conftest.$ac_ext >&5
30635 ac_header_compiler=no
30638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30639 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30640 echo "${ECHO_T}$ac_header_compiler" >&6; }
30642 # Is the header present?
30643 { echo "$as_me:$LINENO: checking SDL/SDL.h presence" >&5
30644 echo $ECHO_N "checking SDL/SDL.h presence... $ECHO_C" >&6; }
30645 cat >conftest.$ac_ext <<_ACEOF
30648 cat confdefs.h >>conftest.$ac_ext
30649 cat >>conftest.$ac_ext <<_ACEOF
30650 /* end confdefs.h. */
30651 #include <SDL/SDL.h>
30653 if { (ac_try="$ac_cpp conftest.$ac_ext"
30654 case "(($ac_try" in
30655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30656 *) ac_try_echo=$ac_try;;
30658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30659 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30661 grep -v '^
*+' conftest.er1 >conftest.err
30663 cat conftest.err >&5
30664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30665 (exit $ac_status); } >/dev/null && {
30666 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30667 test ! -s conftest.err
30669 ac_header_preproc=yes
30671 echo "$as_me: failed program was:" >&5
30672 sed 's
/^
/|
/' conftest.$ac_ext >&5
30674 ac_header_preproc=no
30677 rm -f conftest.err conftest.$ac_ext
30678 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30679 echo "${ECHO_T}$ac_header_preproc" >&6; }
30681 # So? What about this header?
30682 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30684 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: accepted by the compiler, rejected by the preprocessor!" >&5
30685 echo "$as_me: WARNING: SDL/SDL.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30686 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: proceeding with the compiler's result
" >&5
30687 echo "$as_me: WARNING
: SDL
/SDL.h
: proceeding with the compiler
's result" >&2;}
30688 ac_header_preproc=yes
30691 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: present but cannot be compiled" >&5
30692 echo "$as_me: WARNING: SDL/SDL.h: present but cannot be compiled" >&2;}
30693 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: check for missing prerequisite headers?" >&5
30694 echo "$as_me: WARNING: SDL/SDL.h: check for missing prerequisite headers?" >&2;}
30695 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: see the Autoconf documentation" >&5
30696 echo "$as_me: WARNING: SDL/SDL.h: see the Autoconf documentation" >&2;}
30697 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: section \"Present But Cannot Be Compiled\"" >&5
30698 echo "$as_me: WARNING: SDL/SDL.h: section \"Present But Cannot Be Compiled\"" >&2;}
30699 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: proceeding with the preprocessor's result
" >&5
30700 echo "$as_me: WARNING
: SDL
/SDL.h
: proceeding with the preprocessor
's result" >&2;}
30701 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: in the future, the compiler will take precedence" >&5
30702 echo "$as_me: WARNING: SDL/SDL.h: in the future, the compiler will take precedence" >&2;}
30706 { echo "$as_me:$LINENO: checking for SDL/SDL.h" >&5
30707 echo $ECHO_N "checking for SDL/SDL.h... $ECHO_C" >&6; }
30708 if test "${ac_cv_header_SDL_SDL_h+set}" = set; then
30709 echo $ECHO_N "(cached) $ECHO_C" >&6
30711 ac_cv_header_SDL_SDL_h=$ac_header_preproc
30713 { echo "$as_me:$LINENO: result: $ac_cv_header_SDL_SDL_h" >&5
30714 echo "${ECHO_T}$ac_cv_header_SDL_SDL_h" >&6; }
30717 if test $ac_cv_header_SDL_SDL_h = yes; then
30724 if test "${ac_cv_header_SDL_SDL_main_h+set}" = set; then
30725 { echo "$as_me:$LINENO: checking for SDL/SDL_main.h" >&5
30726 echo $ECHO_N "checking for SDL/SDL_main.h... $ECHO_C" >&6; }
30727 if test "${ac_cv_header_SDL_SDL_main_h+set}" = set; then
30728 echo $ECHO_N "(cached) $ECHO_C" >&6
30730 { echo "$as_me:$LINENO: result: $ac_cv_header_SDL_SDL_main_h" >&5
30731 echo "${ECHO_T}$ac_cv_header_SDL_SDL_main_h" >&6; }
30733 # Is the header compilable?
30734 { echo "$as_me:$LINENO: checking SDL/SDL_main.h usability" >&5
30735 echo $ECHO_N "checking SDL/SDL_main.h usability... $ECHO_C" >&6; }
30736 cat >conftest.$ac_ext <<_ACEOF
30739 cat confdefs.h >>conftest.$ac_ext
30740 cat >>conftest.$ac_ext <<_ACEOF
30741 /* end confdefs.h. */
30742 $ac_includes_default
30743 #include <SDL/SDL_main.h>
30745 rm -f conftest.$ac_objext
30746 if { (ac_try="$ac_compile"
30747 case "(($ac_try" in
30748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30749 *) ac_try_echo=$ac_try;;
30751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30752 (eval "$ac_compile") 2>conftest.er1
30754 grep -v '^
*+' conftest.er1 >conftest.err
30756 cat conftest.err >&5
30757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30758 (exit $ac_status); } && {
30759 test -z "$ac_c_werror_flag" ||
30760 test ! -s conftest.err
30761 } && test -s conftest.$ac_objext; then
30762 ac_header_compiler=yes
30764 echo "$as_me: failed program was:" >&5
30765 sed 's
/^
/|
/' conftest.$ac_ext >&5
30767 ac_header_compiler=no
30770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30771 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30772 echo "${ECHO_T}$ac_header_compiler" >&6; }
30774 # Is the header present?
30775 { echo "$as_me:$LINENO: checking SDL/SDL_main.h presence" >&5
30776 echo $ECHO_N "checking SDL/SDL_main.h presence... $ECHO_C" >&6; }
30777 cat >conftest.$ac_ext <<_ACEOF
30780 cat confdefs.h >>conftest.$ac_ext
30781 cat >>conftest.$ac_ext <<_ACEOF
30782 /* end confdefs.h. */
30783 #include <SDL/SDL_main.h>
30785 if { (ac_try="$ac_cpp conftest.$ac_ext"
30786 case "(($ac_try" in
30787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30788 *) ac_try_echo=$ac_try;;
30790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30791 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30793 grep -v '^
*+' conftest.er1 >conftest.err
30795 cat conftest.err >&5
30796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30797 (exit $ac_status); } >/dev/null && {
30798 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30799 test ! -s conftest.err
30801 ac_header_preproc=yes
30803 echo "$as_me: failed program was:" >&5
30804 sed 's
/^
/|
/' conftest.$ac_ext >&5
30806 ac_header_preproc=no
30809 rm -f conftest.err conftest.$ac_ext
30810 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30811 echo "${ECHO_T}$ac_header_preproc" >&6; }
30813 # So? What about this header?
30814 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30816 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: accepted by the compiler, rejected by the preprocessor!" >&5
30817 echo "$as_me: WARNING: SDL/SDL_main.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30818 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: proceeding with the compiler's result
" >&5
30819 echo "$as_me: WARNING
: SDL
/SDL_main.h
: proceeding with the compiler
's result" >&2;}
30820 ac_header_preproc=yes
30823 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: present but cannot be compiled" >&5
30824 echo "$as_me: WARNING: SDL/SDL_main.h: present but cannot be compiled" >&2;}
30825 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: check for missing prerequisite headers?" >&5
30826 echo "$as_me: WARNING: SDL/SDL_main.h: check for missing prerequisite headers?" >&2;}
30827 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: see the Autoconf documentation" >&5
30828 echo "$as_me: WARNING: SDL/SDL_main.h: see the Autoconf documentation" >&2;}
30829 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: section \"Present But Cannot Be Compiled\"" >&5
30830 echo "$as_me: WARNING: SDL/SDL_main.h: section \"Present But Cannot Be Compiled\"" >&2;}
30831 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: proceeding with the preprocessor's result
" >&5
30832 echo "$as_me: WARNING
: SDL
/SDL_main.h
: proceeding with the preprocessor
's result" >&2;}
30833 { echo "$as_me:$LINENO: WARNING: SDL/SDL_main.h: in the future, the compiler will take precedence" >&5
30834 echo "$as_me: WARNING: SDL/SDL_main.h: in the future, the compiler will take precedence" >&2;}
30838 { echo "$as_me:$LINENO: checking for SDL/SDL_main.h" >&5
30839 echo $ECHO_N "checking for SDL/SDL_main.h... $ECHO_C" >&6; }
30840 if test "${ac_cv_header_SDL_SDL_main_h+set}" = set; then
30841 echo $ECHO_N "(cached) $ECHO_C" >&6
30843 ac_cv_header_SDL_SDL_main_h=$ac_header_preproc
30845 { echo "$as_me:$LINENO: result: $ac_cv_header_SDL_SDL_main_h" >&5
30846 echo "${ECHO_T}$ac_cv_header_SDL_SDL_main_h" >&6; }
30849 if test $ac_cv_header_SDL_SDL_main_h = yes; then
30856 if test $can_compile_sdl = 1; then
30861 if test "$with_svga" != yes; then
30863 if test "${ac_cv_header_vga_h+set}" = set; then
30864 { echo "$as_me:$LINENO: checking for vga.h" >&5
30865 echo $ECHO_N "checking for vga.h... $ECHO_C" >&6; }
30866 if test "${ac_cv_header_vga_h+set}" = set; then
30867 echo $ECHO_N "(cached) $ECHO_C" >&6
30869 { echo "$as_me:$LINENO: result: $ac_cv_header_vga_h" >&5
30870 echo "${ECHO_T}$ac_cv_header_vga_h" >&6; }
30872 # Is the header compilable?
30873 { echo "$as_me:$LINENO: checking vga.h usability" >&5
30874 echo $ECHO_N "checking vga.h usability... $ECHO_C" >&6; }
30875 cat >conftest.$ac_ext <<_ACEOF
30878 cat confdefs.h >>conftest.$ac_ext
30879 cat >>conftest.$ac_ext <<_ACEOF
30880 /* end confdefs.h. */
30881 $ac_includes_default
30884 rm -f conftest.$ac_objext
30885 if { (ac_try="$ac_compile"
30886 case "(($ac_try" in
30887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30888 *) ac_try_echo=$ac_try;;
30890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30891 (eval "$ac_compile") 2>conftest.er1
30893 grep -v '^
*+' conftest.er1 >conftest.err
30895 cat conftest.err >&5
30896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30897 (exit $ac_status); } && {
30898 test -z "$ac_c_werror_flag" ||
30899 test ! -s conftest.err
30900 } && test -s conftest.$ac_objext; then
30901 ac_header_compiler=yes
30903 echo "$as_me: failed program was:" >&5
30904 sed 's
/^
/|
/' conftest.$ac_ext >&5
30906 ac_header_compiler=no
30909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30910 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30911 echo "${ECHO_T}$ac_header_compiler" >&6; }
30913 # Is the header present?
30914 { echo "$as_me:$LINENO: checking vga.h presence" >&5
30915 echo $ECHO_N "checking vga.h presence... $ECHO_C" >&6; }
30916 cat >conftest.$ac_ext <<_ACEOF
30919 cat confdefs.h >>conftest.$ac_ext
30920 cat >>conftest.$ac_ext <<_ACEOF
30921 /* end confdefs.h. */
30924 if { (ac_try="$ac_cpp conftest.$ac_ext"
30925 case "(($ac_try" in
30926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30927 *) ac_try_echo=$ac_try;;
30929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30930 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30932 grep -v '^
*+' conftest.er1 >conftest.err
30934 cat conftest.err >&5
30935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30936 (exit $ac_status); } >/dev/null && {
30937 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30938 test ! -s conftest.err
30940 ac_header_preproc=yes
30942 echo "$as_me: failed program was:" >&5
30943 sed 's
/^
/|
/' conftest.$ac_ext >&5
30945 ac_header_preproc=no
30948 rm -f conftest.err conftest.$ac_ext
30949 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30950 echo "${ECHO_T}$ac_header_preproc" >&6; }
30952 # So? What about this header?
30953 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30955 { echo "$as_me:$LINENO: WARNING: vga.h: accepted by the compiler, rejected by the preprocessor!" >&5
30956 echo "$as_me: WARNING: vga.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30957 { echo "$as_me:$LINENO: WARNING: vga.h: proceeding with the compiler's result
" >&5
30958 echo "$as_me: WARNING
: vga.h
: proceeding with the compiler
's result" >&2;}
30959 ac_header_preproc=yes
30962 { echo "$as_me:$LINENO: WARNING: vga.h: present but cannot be compiled" >&5
30963 echo "$as_me: WARNING: vga.h: present but cannot be compiled" >&2;}
30964 { echo "$as_me:$LINENO: WARNING: vga.h: check for missing prerequisite headers?" >&5
30965 echo "$as_me: WARNING: vga.h: check for missing prerequisite headers?" >&2;}
30966 { echo "$as_me:$LINENO: WARNING: vga.h: see the Autoconf documentation" >&5
30967 echo "$as_me: WARNING: vga.h: see the Autoconf documentation" >&2;}
30968 { echo "$as_me:$LINENO: WARNING: vga.h: section \"Present But Cannot Be Compiled\"" >&5
30969 echo "$as_me: WARNING: vga.h: section \"Present But Cannot Be Compiled\"" >&2;}
30970 { echo "$as_me:$LINENO: WARNING: vga.h: proceeding with the preprocessor's result
" >&5
30971 echo "$as_me: WARNING
: vga.h
: proceeding with the preprocessor
's result" >&2;}
30972 { echo "$as_me:$LINENO: WARNING: vga.h: in the future, the compiler will take precedence" >&5
30973 echo "$as_me: WARNING: vga.h: in the future, the compiler will take precedence" >&2;}
30977 { echo "$as_me:$LINENO: checking for vga.h" >&5
30978 echo $ECHO_N "checking for vga.h... $ECHO_C" >&6; }
30979 if test "${ac_cv_header_vga_h+set}" = set; then
30980 echo $ECHO_N "(cached) $ECHO_C" >&6
30982 ac_cv_header_vga_h=$ac_header_preproc
30984 { echo "$as_me:$LINENO: result: $ac_cv_header_vga_h" >&5
30985 echo "${ECHO_T}$ac_cv_header_vga_h" >&6; }
30988 if test $ac_cv_header_vga_h = yes; then
30995 if test "${ac_cv_header_vgagl_h+set}" = set; then
30996 { echo "$as_me:$LINENO: checking for vgagl.h" >&5
30997 echo $ECHO_N "checking for vgagl.h... $ECHO_C" >&6; }
30998 if test "${ac_cv_header_vgagl_h+set}" = set; then
30999 echo $ECHO_N "(cached) $ECHO_C" >&6
31001 { echo "$as_me:$LINENO: result: $ac_cv_header_vgagl_h" >&5
31002 echo "${ECHO_T}$ac_cv_header_vgagl_h" >&6; }
31004 # Is the header compilable?
31005 { echo "$as_me:$LINENO: checking vgagl.h usability" >&5
31006 echo $ECHO_N "checking vgagl.h usability... $ECHO_C" >&6; }
31007 cat >conftest.$ac_ext <<_ACEOF
31010 cat confdefs.h >>conftest.$ac_ext
31011 cat >>conftest.$ac_ext <<_ACEOF
31012 /* end confdefs.h. */
31013 $ac_includes_default
31016 rm -f conftest.$ac_objext
31017 if { (ac_try="$ac_compile"
31018 case "(($ac_try" in
31019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31020 *) ac_try_echo=$ac_try;;
31022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31023 (eval "$ac_compile") 2>conftest.er1
31025 grep -v '^
*+' conftest.er1 >conftest.err
31027 cat conftest.err >&5
31028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31029 (exit $ac_status); } && {
31030 test -z "$ac_c_werror_flag" ||
31031 test ! -s conftest.err
31032 } && test -s conftest.$ac_objext; then
31033 ac_header_compiler=yes
31035 echo "$as_me: failed program was:" >&5
31036 sed 's
/^
/|
/' conftest.$ac_ext >&5
31038 ac_header_compiler=no
31041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31042 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31043 echo "${ECHO_T}$ac_header_compiler" >&6; }
31045 # Is the header present?
31046 { echo "$as_me:$LINENO: checking vgagl.h presence" >&5
31047 echo $ECHO_N "checking vgagl.h presence... $ECHO_C" >&6; }
31048 cat >conftest.$ac_ext <<_ACEOF
31051 cat confdefs.h >>conftest.$ac_ext
31052 cat >>conftest.$ac_ext <<_ACEOF
31053 /* end confdefs.h. */
31056 if { (ac_try="$ac_cpp conftest.$ac_ext"
31057 case "(($ac_try" in
31058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31059 *) ac_try_echo=$ac_try;;
31061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31062 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31064 grep -v '^
*+' conftest.er1 >conftest.err
31066 cat conftest.err >&5
31067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31068 (exit $ac_status); } >/dev/null && {
31069 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31070 test ! -s conftest.err
31072 ac_header_preproc=yes
31074 echo "$as_me: failed program was:" >&5
31075 sed 's
/^
/|
/' conftest.$ac_ext >&5
31077 ac_header_preproc=no
31080 rm -f conftest.err conftest.$ac_ext
31081 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31082 echo "${ECHO_T}$ac_header_preproc" >&6; }
31084 # So? What about this header?
31085 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31087 { echo "$as_me:$LINENO: WARNING: vgagl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31088 echo "$as_me: WARNING: vgagl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31089 { echo "$as_me:$LINENO: WARNING: vgagl.h: proceeding with the compiler's result
" >&5
31090 echo "$as_me: WARNING
: vgagl.h
: proceeding with the compiler
's result" >&2;}
31091 ac_header_preproc=yes
31094 { echo "$as_me:$LINENO: WARNING: vgagl.h: present but cannot be compiled" >&5
31095 echo "$as_me: WARNING: vgagl.h: present but cannot be compiled" >&2;}
31096 { echo "$as_me:$LINENO: WARNING: vgagl.h: check for missing prerequisite headers?" >&5
31097 echo "$as_me: WARNING: vgagl.h: check for missing prerequisite headers?" >&2;}
31098 { echo "$as_me:$LINENO: WARNING: vgagl.h: see the Autoconf documentation" >&5
31099 echo "$as_me: WARNING: vgagl.h: see the Autoconf documentation" >&2;}
31100 { echo "$as_me:$LINENO: WARNING: vgagl.h: section \"Present But Cannot Be Compiled\"" >&5
31101 echo "$as_me: WARNING: vgagl.h: section \"Present But Cannot Be Compiled\"" >&2;}
31102 { echo "$as_me:$LINENO: WARNING: vgagl.h: proceeding with the preprocessor's result
" >&5
31103 echo "$as_me: WARNING
: vgagl.h
: proceeding with the preprocessor
's result" >&2;}
31104 { echo "$as_me:$LINENO: WARNING: vgagl.h: in the future, the compiler will take precedence" >&5
31105 echo "$as_me: WARNING: vgagl.h: in the future, the compiler will take precedence" >&2;}
31109 { echo "$as_me:$LINENO: checking for vgagl.h" >&5
31110 echo $ECHO_N "checking for vgagl.h... $ECHO_C" >&6; }
31111 if test "${ac_cv_header_vgagl_h+set}" = set; then
31112 echo $ECHO_N "(cached) $ECHO_C" >&6
31114 ac_cv_header_vgagl_h=$ac_header_preproc
31116 { echo "$as_me:$LINENO: result: $ac_cv_header_vgagl_h" >&5
31117 echo "${ECHO_T}$ac_cv_header_vgagl_h" >&6; }
31120 if test $ac_cv_header_vgagl_h = yes; then
31127 if test $can_compile_svga = 1; then
31132 if test "$with_x11" != yes; then
31134 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31135 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31136 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31137 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31138 echo $ECHO_N "(cached) $ECHO_C" >&6
31140 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31141 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31143 # Is the header compilable?
31144 { echo "$as_me:$LINENO: checking X11/Xlib.h usability" >&5
31145 echo $ECHO_N "checking X11/Xlib.h usability... $ECHO_C" >&6; }
31146 cat >conftest.$ac_ext <<_ACEOF
31149 cat confdefs.h >>conftest.$ac_ext
31150 cat >>conftest.$ac_ext <<_ACEOF
31151 /* end confdefs.h. */
31152 $ac_includes_default
31153 #include <X11/Xlib.h>
31155 rm -f conftest.$ac_objext
31156 if { (ac_try="$ac_compile"
31157 case "(($ac_try" in
31158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31159 *) ac_try_echo=$ac_try;;
31161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31162 (eval "$ac_compile") 2>conftest.er1
31164 grep -v '^
*+' conftest.er1 >conftest.err
31166 cat conftest.err >&5
31167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31168 (exit $ac_status); } && {
31169 test -z "$ac_c_werror_flag" ||
31170 test ! -s conftest.err
31171 } && test -s conftest.$ac_objext; then
31172 ac_header_compiler=yes
31174 echo "$as_me: failed program was:" >&5
31175 sed 's
/^
/|
/' conftest.$ac_ext >&5
31177 ac_header_compiler=no
31180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31181 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31182 echo "${ECHO_T}$ac_header_compiler" >&6; }
31184 # Is the header present?
31185 { echo "$as_me:$LINENO: checking X11/Xlib.h presence" >&5
31186 echo $ECHO_N "checking X11/Xlib.h presence... $ECHO_C" >&6; }
31187 cat >conftest.$ac_ext <<_ACEOF
31190 cat confdefs.h >>conftest.$ac_ext
31191 cat >>conftest.$ac_ext <<_ACEOF
31192 /* end confdefs.h. */
31193 #include <X11/Xlib.h>
31195 if { (ac_try="$ac_cpp conftest.$ac_ext"
31196 case "(($ac_try" in
31197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31198 *) ac_try_echo=$ac_try;;
31200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31201 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31203 grep -v '^
*+' conftest.er1 >conftest.err
31205 cat conftest.err >&5
31206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31207 (exit $ac_status); } >/dev/null && {
31208 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31209 test ! -s conftest.err
31211 ac_header_preproc=yes
31213 echo "$as_me: failed program was:" >&5
31214 sed 's
/^
/|
/' conftest.$ac_ext >&5
31216 ac_header_preproc=no
31219 rm -f conftest.err conftest.$ac_ext
31220 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31221 echo "${ECHO_T}$ac_header_preproc" >&6; }
31223 # So? What about this header?
31224 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31226 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
31227 echo "$as_me: WARNING: X11/Xlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31228 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: proceeding with the compiler's result
" >&5
31229 echo "$as_me: WARNING
: X11
/Xlib.h
: proceeding with the compiler
's result" >&2;}
31230 ac_header_preproc=yes
31233 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: present but cannot be compiled" >&5
31234 echo "$as_me: WARNING: X11/Xlib.h: present but cannot be compiled" >&2;}
31235 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: check for missing prerequisite headers?" >&5
31236 echo "$as_me: WARNING: X11/Xlib.h: check for missing prerequisite headers?" >&2;}
31237 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: see the Autoconf documentation" >&5
31238 echo "$as_me: WARNING: X11/Xlib.h: see the Autoconf documentation" >&2;}
31239 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: section \"Present But Cannot Be Compiled\"" >&5
31240 echo "$as_me: WARNING: X11/Xlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
31241 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: proceeding with the preprocessor's result
" >&5
31242 echo "$as_me: WARNING
: X11
/Xlib.h
: proceeding with the preprocessor
's result" >&2;}
31243 { echo "$as_me:$LINENO: WARNING: X11/Xlib.h: in the future, the compiler will take precedence" >&5
31244 echo "$as_me: WARNING: X11/Xlib.h: in the future, the compiler will take precedence" >&2;}
31248 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31249 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31250 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31251 echo $ECHO_N "(cached) $ECHO_C" >&6
31253 ac_cv_header_X11_Xlib_h=$ac_header_preproc
31255 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31256 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31259 if test $ac_cv_header_X11_Xlib_h = yes; then
31266 if test "${ac_cv_header_X11_Xutil_h+set}" = set; then
31267 { echo "$as_me:$LINENO: checking for X11/Xutil.h" >&5
31268 echo $ECHO_N "checking for X11/Xutil.h... $ECHO_C" >&6; }
31269 if test "${ac_cv_header_X11_Xutil_h+set}" = set; then
31270 echo $ECHO_N "(cached) $ECHO_C" >&6
31272 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xutil_h" >&5
31273 echo "${ECHO_T}$ac_cv_header_X11_Xutil_h" >&6; }
31275 # Is the header compilable?
31276 { echo "$as_me:$LINENO: checking X11/Xutil.h usability" >&5
31277 echo $ECHO_N "checking X11/Xutil.h usability... $ECHO_C" >&6; }
31278 cat >conftest.$ac_ext <<_ACEOF
31281 cat confdefs.h >>conftest.$ac_ext
31282 cat >>conftest.$ac_ext <<_ACEOF
31283 /* end confdefs.h. */
31284 $ac_includes_default
31285 #include <X11/Xutil.h>
31287 rm -f conftest.$ac_objext
31288 if { (ac_try="$ac_compile"
31289 case "(($ac_try" in
31290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31291 *) ac_try_echo=$ac_try;;
31293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31294 (eval "$ac_compile") 2>conftest.er1
31296 grep -v '^
*+' conftest.er1 >conftest.err
31298 cat conftest.err >&5
31299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31300 (exit $ac_status); } && {
31301 test -z "$ac_c_werror_flag" ||
31302 test ! -s conftest.err
31303 } && test -s conftest.$ac_objext; then
31304 ac_header_compiler=yes
31306 echo "$as_me: failed program was:" >&5
31307 sed 's
/^
/|
/' conftest.$ac_ext >&5
31309 ac_header_compiler=no
31312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31313 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31314 echo "${ECHO_T}$ac_header_compiler" >&6; }
31316 # Is the header present?
31317 { echo "$as_me:$LINENO: checking X11/Xutil.h presence" >&5
31318 echo $ECHO_N "checking X11/Xutil.h presence... $ECHO_C" >&6; }
31319 cat >conftest.$ac_ext <<_ACEOF
31322 cat confdefs.h >>conftest.$ac_ext
31323 cat >>conftest.$ac_ext <<_ACEOF
31324 /* end confdefs.h. */
31325 #include <X11/Xutil.h>
31327 if { (ac_try="$ac_cpp conftest.$ac_ext"
31328 case "(($ac_try" in
31329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31330 *) ac_try_echo=$ac_try;;
31332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31333 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31335 grep -v '^
*+' conftest.er1 >conftest.err
31337 cat conftest.err >&5
31338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31339 (exit $ac_status); } >/dev/null && {
31340 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31341 test ! -s conftest.err
31343 ac_header_preproc=yes
31345 echo "$as_me: failed program was:" >&5
31346 sed 's
/^
/|
/' conftest.$ac_ext >&5
31348 ac_header_preproc=no
31351 rm -f conftest.err conftest.$ac_ext
31352 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31353 echo "${ECHO_T}$ac_header_preproc" >&6; }
31355 # So? What about this header?
31356 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31358 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: accepted by the compiler, rejected by the preprocessor!" >&5
31359 echo "$as_me: WARNING: X11/Xutil.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31360 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: proceeding with the compiler's result
" >&5
31361 echo "$as_me: WARNING
: X11
/Xutil.h
: proceeding with the compiler
's result" >&2;}
31362 ac_header_preproc=yes
31365 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: present but cannot be compiled" >&5
31366 echo "$as_me: WARNING: X11/Xutil.h: present but cannot be compiled" >&2;}
31367 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: check for missing prerequisite headers?" >&5
31368 echo "$as_me: WARNING: X11/Xutil.h: check for missing prerequisite headers?" >&2;}
31369 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: see the Autoconf documentation" >&5
31370 echo "$as_me: WARNING: X11/Xutil.h: see the Autoconf documentation" >&2;}
31371 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: section \"Present But Cannot Be Compiled\"" >&5
31372 echo "$as_me: WARNING: X11/Xutil.h: section \"Present But Cannot Be Compiled\"" >&2;}
31373 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: proceeding with the preprocessor's result
" >&5
31374 echo "$as_me: WARNING
: X11
/Xutil.h
: proceeding with the preprocessor
's result" >&2;}
31375 { echo "$as_me:$LINENO: WARNING: X11/Xutil.h: in the future, the compiler will take precedence" >&5
31376 echo "$as_me: WARNING: X11/Xutil.h: in the future, the compiler will take precedence" >&2;}
31380 { echo "$as_me:$LINENO: checking for X11/Xutil.h" >&5
31381 echo $ECHO_N "checking for X11/Xutil.h... $ECHO_C" >&6; }
31382 if test "${ac_cv_header_X11_Xutil_h+set}" = set; then
31383 echo $ECHO_N "(cached) $ECHO_C" >&6
31385 ac_cv_header_X11_Xutil_h=$ac_header_preproc
31387 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xutil_h" >&5
31388 echo "${ECHO_T}$ac_cv_header_X11_Xutil_h" >&6; }
31391 if test $ac_cv_header_X11_Xutil_h = yes; then
31398 if test $can_compile_x11 = 1; then
31403 if test "$with_rfb" != yes; then
31406 *-pc-windows* | *-pc-winnt* | *-pc-cygwin* | *-pc-mingw32*)
31407 if test "${ac_cv_header_winsock_h+set}" = set; then
31408 { echo "$as_me:$LINENO: checking for winsock.h" >&5
31409 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; }
31410 if test "${ac_cv_header_winsock_h+set}" = set; then
31411 echo $ECHO_N "(cached) $ECHO_C" >&6
31413 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5
31414 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; }
31416 # Is the header compilable?
31417 { echo "$as_me:$LINENO: checking winsock.h usability" >&5
31418 echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6; }
31419 cat >conftest.$ac_ext <<_ACEOF
31422 cat confdefs.h >>conftest.$ac_ext
31423 cat >>conftest.$ac_ext <<_ACEOF
31424 /* end confdefs.h. */
31425 $ac_includes_default
31426 #include <winsock.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 test -z "$ac_c_werror_flag" ||
31443 test ! -s conftest.err
31444 } && test -s conftest.$ac_objext; then
31445 ac_header_compiler=yes
31447 echo "$as_me: failed program was:" >&5
31448 sed 's
/^
/|
/' conftest.$ac_ext >&5
31450 ac_header_compiler=no
31453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31454 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31455 echo "${ECHO_T}$ac_header_compiler" >&6; }
31457 # Is the header present?
31458 { echo "$as_me:$LINENO: checking winsock.h presence" >&5
31459 echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6; }
31460 cat >conftest.$ac_ext <<_ACEOF
31463 cat confdefs.h >>conftest.$ac_ext
31464 cat >>conftest.$ac_ext <<_ACEOF
31465 /* end confdefs.h. */
31466 #include <winsock.h>
31468 if { (ac_try="$ac_cpp conftest.$ac_ext"
31469 case "(($ac_try" in
31470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31471 *) ac_try_echo=$ac_try;;
31473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31474 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31476 grep -v '^
*+' conftest.er1 >conftest.err
31478 cat conftest.err >&5
31479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31480 (exit $ac_status); } >/dev/null && {
31481 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31482 test ! -s conftest.err
31484 ac_header_preproc=yes
31486 echo "$as_me: failed program was:" >&5
31487 sed 's
/^
/|
/' conftest.$ac_ext >&5
31489 ac_header_preproc=no
31492 rm -f conftest.err conftest.$ac_ext
31493 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31494 echo "${ECHO_T}$ac_header_preproc" >&6; }
31496 # So? What about this header?
31497 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31499 { echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5
31500 echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31501 { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the compiler's result
" >&5
31502 echo "$as_me: WARNING
: winsock.h
: proceeding with the compiler
's result" >&2;}
31503 ac_header_preproc=yes
31506 { echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5
31507 echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;}
31508 { echo "$as_me:$LINENO: WARNING: winsock.h: check for missing prerequisite headers?" >&5
31509 echo "$as_me: WARNING: winsock.h: check for missing prerequisite headers?" >&2;}
31510 { echo "$as_me:$LINENO: WARNING: winsock.h: see the Autoconf documentation" >&5
31511 echo "$as_me: WARNING: winsock.h: see the Autoconf documentation" >&2;}
31512 { echo "$as_me:$LINENO: WARNING: winsock.h: section \"Present But Cannot Be Compiled\"" >&5
31513 echo "$as_me: WARNING: winsock.h: section \"Present But Cannot Be Compiled\"" >&2;}
31514 { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result
" >&5
31515 echo "$as_me: WARNING
: winsock.h
: proceeding with the preprocessor
's result" >&2;}
31516 { echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5
31517 echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;}
31521 { echo "$as_me:$LINENO: checking for winsock.h" >&5
31522 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; }
31523 if test "${ac_cv_header_winsock_h+set}" = set; then
31524 echo $ECHO_N "(cached) $ECHO_C" >&6
31526 ac_cv_header_winsock_h=$ac_header_preproc
31528 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5
31529 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; }
31532 if test $ac_cv_header_winsock_h = yes; then
31539 if test "${ac_cv_header_process_h+set}" = set; then
31540 { echo "$as_me:$LINENO: checking for process.h" >&5
31541 echo $ECHO_N "checking for process.h... $ECHO_C" >&6; }
31542 if test "${ac_cv_header_process_h+set}" = set; then
31543 echo $ECHO_N "(cached) $ECHO_C" >&6
31545 { echo "$as_me:$LINENO: result: $ac_cv_header_process_h" >&5
31546 echo "${ECHO_T}$ac_cv_header_process_h" >&6; }
31548 # Is the header compilable?
31549 { echo "$as_me:$LINENO: checking process.h usability" >&5
31550 echo $ECHO_N "checking process.h usability... $ECHO_C" >&6; }
31551 cat >conftest.$ac_ext <<_ACEOF
31554 cat confdefs.h >>conftest.$ac_ext
31555 cat >>conftest.$ac_ext <<_ACEOF
31556 /* end confdefs.h. */
31557 $ac_includes_default
31558 #include <process.h>
31560 rm -f conftest.$ac_objext
31561 if { (ac_try="$ac_compile"
31562 case "(($ac_try" in
31563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31564 *) ac_try_echo=$ac_try;;
31566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31567 (eval "$ac_compile") 2>conftest.er1
31569 grep -v '^
*+' conftest.er1 >conftest.err
31571 cat conftest.err >&5
31572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31573 (exit $ac_status); } && {
31574 test -z "$ac_c_werror_flag" ||
31575 test ! -s conftest.err
31576 } && test -s conftest.$ac_objext; then
31577 ac_header_compiler=yes
31579 echo "$as_me: failed program was:" >&5
31580 sed 's
/^
/|
/' conftest.$ac_ext >&5
31582 ac_header_compiler=no
31585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31586 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31587 echo "${ECHO_T}$ac_header_compiler" >&6; }
31589 # Is the header present?
31590 { echo "$as_me:$LINENO: checking process.h presence" >&5
31591 echo $ECHO_N "checking process.h presence... $ECHO_C" >&6; }
31592 cat >conftest.$ac_ext <<_ACEOF
31595 cat confdefs.h >>conftest.$ac_ext
31596 cat >>conftest.$ac_ext <<_ACEOF
31597 /* end confdefs.h. */
31598 #include <process.h>
31600 if { (ac_try="$ac_cpp conftest.$ac_ext"
31601 case "(($ac_try" in
31602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31603 *) ac_try_echo=$ac_try;;
31605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31606 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31608 grep -v '^
*+' conftest.er1 >conftest.err
31610 cat conftest.err >&5
31611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31612 (exit $ac_status); } >/dev/null && {
31613 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31614 test ! -s conftest.err
31616 ac_header_preproc=yes
31618 echo "$as_me: failed program was:" >&5
31619 sed 's
/^
/|
/' conftest.$ac_ext >&5
31621 ac_header_preproc=no
31624 rm -f conftest.err conftest.$ac_ext
31625 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31626 echo "${ECHO_T}$ac_header_preproc" >&6; }
31628 # So? What about this header?
31629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31631 { echo "$as_me:$LINENO: WARNING: process.h: accepted by the compiler, rejected by the preprocessor!" >&5
31632 echo "$as_me: WARNING: process.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31633 { echo "$as_me:$LINENO: WARNING: process.h: proceeding with the compiler's result
" >&5
31634 echo "$as_me: WARNING
: process.h
: proceeding with the compiler
's result" >&2;}
31635 ac_header_preproc=yes
31638 { echo "$as_me:$LINENO: WARNING: process.h: present but cannot be compiled" >&5
31639 echo "$as_me: WARNING: process.h: present but cannot be compiled" >&2;}
31640 { echo "$as_me:$LINENO: WARNING: process.h: check for missing prerequisite headers?" >&5
31641 echo "$as_me: WARNING: process.h: check for missing prerequisite headers?" >&2;}
31642 { echo "$as_me:$LINENO: WARNING: process.h: see the Autoconf documentation" >&5
31643 echo "$as_me: WARNING: process.h: see the Autoconf documentation" >&2;}
31644 { echo "$as_me:$LINENO: WARNING: process.h: section \"Present But Cannot Be Compiled\"" >&5
31645 echo "$as_me: WARNING: process.h: section \"Present But Cannot Be Compiled\"" >&2;}
31646 { echo "$as_me:$LINENO: WARNING: process.h: proceeding with the preprocessor's result
" >&5
31647 echo "$as_me: WARNING
: process.h
: proceeding with the preprocessor
's result" >&2;}
31648 { echo "$as_me:$LINENO: WARNING: process.h: in the future, the compiler will take precedence" >&5
31649 echo "$as_me: WARNING: process.h: in the future, the compiler will take precedence" >&2;}
31653 { echo "$as_me:$LINENO: checking for process.h" >&5
31654 echo $ECHO_N "checking for process.h... $ECHO_C" >&6; }
31655 if test "${ac_cv_header_process_h+set}" = set; then
31656 echo $ECHO_N "(cached) $ECHO_C" >&6
31658 ac_cv_header_process_h=$ac_header_preproc
31660 { echo "$as_me:$LINENO: result: $ac_cv_header_process_h" >&5
31661 echo "${ECHO_T}$ac_cv_header_process_h" >&6; }
31664 if test $ac_cv_header_process_h = yes; then
31673 if test "${ac_cv_header_sys_socket_h+set}" = set; then
31674 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5
31675 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; }
31676 if test "${ac_cv_header_sys_socket_h+set}" = set; then
31677 echo $ECHO_N "(cached) $ECHO_C" >&6
31679 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5
31680 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; }
31682 # Is the header compilable?
31683 { echo "$as_me:$LINENO: checking sys/socket.h usability" >&5
31684 echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6; }
31685 cat >conftest.$ac_ext <<_ACEOF
31688 cat confdefs.h >>conftest.$ac_ext
31689 cat >>conftest.$ac_ext <<_ACEOF
31690 /* end confdefs.h. */
31691 $ac_includes_default
31692 #include <sys/socket.h>
31694 rm -f conftest.$ac_objext
31695 if { (ac_try="$ac_compile"
31696 case "(($ac_try" in
31697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31698 *) ac_try_echo=$ac_try;;
31700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31701 (eval "$ac_compile") 2>conftest.er1
31703 grep -v '^
*+' conftest.er1 >conftest.err
31705 cat conftest.err >&5
31706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31707 (exit $ac_status); } && {
31708 test -z "$ac_c_werror_flag" ||
31709 test ! -s conftest.err
31710 } && test -s conftest.$ac_objext; then
31711 ac_header_compiler=yes
31713 echo "$as_me: failed program was:" >&5
31714 sed 's
/^
/|
/' conftest.$ac_ext >&5
31716 ac_header_compiler=no
31719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31720 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31721 echo "${ECHO_T}$ac_header_compiler" >&6; }
31723 # Is the header present?
31724 { echo "$as_me:$LINENO: checking sys/socket.h presence" >&5
31725 echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6; }
31726 cat >conftest.$ac_ext <<_ACEOF
31729 cat confdefs.h >>conftest.$ac_ext
31730 cat >>conftest.$ac_ext <<_ACEOF
31731 /* end confdefs.h. */
31732 #include <sys/socket.h>
31734 if { (ac_try="$ac_cpp conftest.$ac_ext"
31735 case "(($ac_try" in
31736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31737 *) ac_try_echo=$ac_try;;
31739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31740 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31742 grep -v '^
*+' conftest.er1 >conftest.err
31744 cat conftest.err >&5
31745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31746 (exit $ac_status); } >/dev/null && {
31747 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31748 test ! -s conftest.err
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: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5
31766 echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31767 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result
" >&5
31768 echo "$as_me: WARNING
: sys
/socket.h
: proceeding with the compiler
's result" >&2;}
31769 ac_header_preproc=yes
31772 { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5
31773 echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;}
31774 { echo "$as_me:$LINENO: WARNING: sys/socket.h: check for missing prerequisite headers?" >&5
31775 echo "$as_me: WARNING: sys/socket.h: check for missing prerequisite headers?" >&2;}
31776 { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5
31777 echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;}
31778 { echo "$as_me:$LINENO: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&5
31779 echo "$as_me: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&2;}
31780 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result
" >&5
31781 echo "$as_me: WARNING
: sys
/socket.h
: proceeding with the preprocessor
's result" >&2;}
31782 { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5
31783 echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;}
31787 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5
31788 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; }
31789 if test "${ac_cv_header_sys_socket_h+set}" = set; then
31790 echo $ECHO_N "(cached) $ECHO_C" >&6
31792 ac_cv_header_sys_socket_h=$ac_header_preproc
31794 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5
31795 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; }
31798 if test $ac_cv_header_sys_socket_h = yes; then
31805 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then
31806 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5
31807 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; }
31808 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then
31809 echo $ECHO_N "(cached) $ECHO_C" >&6
31811 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5
31812 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; }
31814 # Is the header compilable?
31815 { echo "$as_me:$LINENO: checking netinet/tcp.h usability" >&5
31816 echo $ECHO_N "checking netinet/tcp.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 <netinet/tcp.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 test -z "$ac_c_werror_flag" ||
31841 test ! -s conftest.err
31842 } && test -s conftest.$ac_objext; then
31843 ac_header_compiler=yes
31845 echo "$as_me: failed program was:" >&5
31846 sed 's
/^
/|
/' conftest.$ac_ext >&5
31848 ac_header_compiler=no
31851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31852 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31853 echo "${ECHO_T}$ac_header_compiler" >&6; }
31855 # Is the header present?
31856 { echo "$as_me:$LINENO: checking netinet/tcp.h presence" >&5
31857 echo $ECHO_N "checking netinet/tcp.h presence... $ECHO_C" >&6; }
31858 cat >conftest.$ac_ext <<_ACEOF
31861 cat confdefs.h >>conftest.$ac_ext
31862 cat >>conftest.$ac_ext <<_ACEOF
31863 /* end confdefs.h. */
31864 #include <netinet/tcp.h>
31866 if { (ac_try="$ac_cpp conftest.$ac_ext"
31867 case "(($ac_try" in
31868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31869 *) ac_try_echo=$ac_try;;
31871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31872 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31874 grep -v '^
*+' conftest.er1 >conftest.err
31876 cat conftest.err >&5
31877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31878 (exit $ac_status); } >/dev/null && {
31879 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31880 test ! -s conftest.err
31882 ac_header_preproc=yes
31884 echo "$as_me: failed program was:" >&5
31885 sed 's
/^
/|
/' conftest.$ac_ext >&5
31887 ac_header_preproc=no
31890 rm -f conftest.err conftest.$ac_ext
31891 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31892 echo "${ECHO_T}$ac_header_preproc" >&6; }
31894 # So? What about this header?
31895 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31897 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&5
31898 echo "$as_me: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31899 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the compiler's result
" >&5
31900 echo "$as_me: WARNING
: netinet
/tcp.h
: proceeding with the compiler
's result" >&2;}
31901 ac_header_preproc=yes
31904 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: present but cannot be compiled" >&5
31905 echo "$as_me: WARNING: netinet/tcp.h: present but cannot be compiled" >&2;}
31906 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: check for missing prerequisite headers?" >&5
31907 echo "$as_me: WARNING: netinet/tcp.h: check for missing prerequisite headers?" >&2;}
31908 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: see the Autoconf documentation" >&5
31909 echo "$as_me: WARNING: netinet/tcp.h: see the Autoconf documentation" >&2;}
31910 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: section \"Present But Cannot Be Compiled\"" >&5
31911 echo "$as_me: WARNING: netinet/tcp.h: section \"Present But Cannot Be Compiled\"" >&2;}
31912 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the preprocessor's result
" >&5
31913 echo "$as_me: WARNING
: netinet
/tcp.h
: proceeding with the preprocessor
's result" >&2;}
31914 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&5
31915 echo "$as_me: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&2;}
31919 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5
31920 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; }
31921 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then
31922 echo $ECHO_N "(cached) $ECHO_C" >&6
31924 ac_cv_header_netinet_tcp_h=$ac_header_preproc
31926 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5
31927 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; }
31930 if test $ac_cv_header_netinet_tcp_h = yes; then
31937 if test "${ac_cv_header_pthread_h+set}" = set; then
31938 { echo "$as_me:$LINENO: checking for pthread.h" >&5
31939 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
31940 if test "${ac_cv_header_pthread_h+set}" = set; then
31941 echo $ECHO_N "(cached) $ECHO_C" >&6
31943 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
31944 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
31946 # Is the header compilable?
31947 { echo "$as_me:$LINENO: checking pthread.h usability" >&5
31948 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; }
31949 cat >conftest.$ac_ext <<_ACEOF
31952 cat confdefs.h >>conftest.$ac_ext
31953 cat >>conftest.$ac_ext <<_ACEOF
31954 /* end confdefs.h. */
31955 $ac_includes_default
31956 #include <pthread.h>
31958 rm -f conftest.$ac_objext
31959 if { (ac_try="$ac_compile"
31960 case "(($ac_try" in
31961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31962 *) ac_try_echo=$ac_try;;
31964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31965 (eval "$ac_compile") 2>conftest.er1
31967 grep -v '^
*+' conftest.er1 >conftest.err
31969 cat conftest.err >&5
31970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31971 (exit $ac_status); } && {
31972 test -z "$ac_c_werror_flag" ||
31973 test ! -s conftest.err
31974 } && test -s conftest.$ac_objext; then
31975 ac_header_compiler=yes
31977 echo "$as_me: failed program was:" >&5
31978 sed 's
/^
/|
/' conftest.$ac_ext >&5
31980 ac_header_compiler=no
31983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31984 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31985 echo "${ECHO_T}$ac_header_compiler" >&6; }
31987 # Is the header present?
31988 { echo "$as_me:$LINENO: checking pthread.h presence" >&5
31989 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6; }
31990 cat >conftest.$ac_ext <<_ACEOF
31993 cat confdefs.h >>conftest.$ac_ext
31994 cat >>conftest.$ac_ext <<_ACEOF
31995 /* end confdefs.h. */
31996 #include <pthread.h>
31998 if { (ac_try="$ac_cpp conftest.$ac_ext"
31999 case "(($ac_try" in
32000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32001 *) ac_try_echo=$ac_try;;
32003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32004 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32006 grep -v '^
*+' conftest.er1 >conftest.err
32008 cat conftest.err >&5
32009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32010 (exit $ac_status); } >/dev/null && {
32011 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32012 test ! -s conftest.err
32014 ac_header_preproc=yes
32016 echo "$as_me: failed program was:" >&5
32017 sed 's
/^
/|
/' conftest.$ac_ext >&5
32019 ac_header_preproc=no
32022 rm -f conftest.err conftest.$ac_ext
32023 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32024 echo "${ECHO_T}$ac_header_preproc" >&6; }
32026 # So? What about this header?
32027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32029 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
32030 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32031 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result
" >&5
32032 echo "$as_me: WARNING
: pthread.h
: proceeding with the compiler
's result" >&2;}
32033 ac_header_preproc=yes
32036 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
32037 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
32038 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
32039 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
32040 { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
32041 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
32042 { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
32043 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
32044 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result
" >&5
32045 echo "$as_me: WARNING
: pthread.h
: proceeding with the preprocessor
's result" >&2;}
32046 { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
32047 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
32051 { echo "$as_me:$LINENO: checking for pthread.h" >&5
32052 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
32053 if test "${ac_cv_header_pthread_h+set}" = set; then
32054 echo $ECHO_N "(cached) $ECHO_C" >&6
32056 ac_cv_header_pthread_h=$ac_header_preproc
32058 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
32059 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
32062 if test $ac_cv_header_pthread_h = yes; then
32071 if test $can_compile_rfb = 1; then
32076 if test "$with_term" != yes; then
32078 if test "${ac_cv_header_curses_h+set}" = set; then
32079 { echo "$as_me:$LINENO: checking for curses.h" >&5
32080 echo $ECHO_N "checking for curses.h... $ECHO_C" >&6; }
32081 if test "${ac_cv_header_curses_h+set}" = set; then
32082 echo $ECHO_N "(cached) $ECHO_C" >&6
32084 { echo "$as_me:$LINENO: result: $ac_cv_header_curses_h" >&5
32085 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
32087 # Is the header compilable?
32088 { echo "$as_me:$LINENO: checking curses.h usability" >&5
32089 echo $ECHO_N "checking curses.h usability... $ECHO_C" >&6; }
32090 cat >conftest.$ac_ext <<_ACEOF
32093 cat confdefs.h >>conftest.$ac_ext
32094 cat >>conftest.$ac_ext <<_ACEOF
32095 /* end confdefs.h. */
32096 $ac_includes_default
32097 #include <curses.h>
32099 rm -f conftest.$ac_objext
32100 if { (ac_try="$ac_compile"
32101 case "(($ac_try" in
32102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32103 *) ac_try_echo=$ac_try;;
32105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32106 (eval "$ac_compile") 2>conftest.er1
32108 grep -v '^
*+' conftest.er1 >conftest.err
32110 cat conftest.err >&5
32111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32112 (exit $ac_status); } && {
32113 test -z "$ac_c_werror_flag" ||
32114 test ! -s conftest.err
32115 } && test -s conftest.$ac_objext; then
32116 ac_header_compiler=yes
32118 echo "$as_me: failed program was:" >&5
32119 sed 's
/^
/|
/' conftest.$ac_ext >&5
32121 ac_header_compiler=no
32124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32125 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32126 echo "${ECHO_T}$ac_header_compiler" >&6; }
32128 # Is the header present?
32129 { echo "$as_me:$LINENO: checking curses.h presence" >&5
32130 echo $ECHO_N "checking curses.h presence... $ECHO_C" >&6; }
32131 cat >conftest.$ac_ext <<_ACEOF
32134 cat confdefs.h >>conftest.$ac_ext
32135 cat >>conftest.$ac_ext <<_ACEOF
32136 /* end confdefs.h. */
32137 #include <curses.h>
32139 if { (ac_try="$ac_cpp conftest.$ac_ext"
32140 case "(($ac_try" in
32141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32142 *) ac_try_echo=$ac_try;;
32144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32145 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32147 grep -v '^
*+' conftest.er1 >conftest.err
32149 cat conftest.err >&5
32150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32151 (exit $ac_status); } >/dev/null && {
32152 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32153 test ! -s conftest.err
32155 ac_header_preproc=yes
32157 echo "$as_me: failed program was:" >&5
32158 sed 's
/^
/|
/' conftest.$ac_ext >&5
32160 ac_header_preproc=no
32163 rm -f conftest.err conftest.$ac_ext
32164 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32165 echo "${ECHO_T}$ac_header_preproc" >&6; }
32167 # So? What about this header?
32168 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32170 { echo "$as_me:$LINENO: WARNING: curses.h: accepted by the compiler, rejected by the preprocessor!" >&5
32171 echo "$as_me: WARNING: curses.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32172 { echo "$as_me:$LINENO: WARNING: curses.h: proceeding with the compiler's result
" >&5
32173 echo "$as_me: WARNING
: curses.h
: proceeding with the compiler
's result" >&2;}
32174 ac_header_preproc=yes
32177 { echo "$as_me:$LINENO: WARNING: curses.h: present but cannot be compiled" >&5
32178 echo "$as_me: WARNING: curses.h: present but cannot be compiled" >&2;}
32179 { echo "$as_me:$LINENO: WARNING: curses.h: check for missing prerequisite headers?" >&5
32180 echo "$as_me: WARNING: curses.h: check for missing prerequisite headers?" >&2;}
32181 { echo "$as_me:$LINENO: WARNING: curses.h: see the Autoconf documentation" >&5
32182 echo "$as_me: WARNING: curses.h: see the Autoconf documentation" >&2;}
32183 { echo "$as_me:$LINENO: WARNING: curses.h: section \"Present But Cannot Be Compiled\"" >&5
32184 echo "$as_me: WARNING: curses.h: section \"Present But Cannot Be Compiled\"" >&2;}
32185 { echo "$as_me:$LINENO: WARNING: curses.h: proceeding with the preprocessor's result
" >&5
32186 echo "$as_me: WARNING
: curses.h
: proceeding with the preprocessor
's result" >&2;}
32187 { echo "$as_me:$LINENO: WARNING: curses.h: in the future, the compiler will take precedence" >&5
32188 echo "$as_me: WARNING: curses.h: in the future, the compiler will take precedence" >&2;}
32192 { echo "$as_me:$LINENO: checking for curses.h" >&5
32193 echo $ECHO_N "checking for curses.h... $ECHO_C" >&6; }
32194 if test "${ac_cv_header_curses_h+set}" = set; then
32195 echo $ECHO_N "(cached) $ECHO_C" >&6
32197 ac_cv_header_curses_h=$ac_header_preproc
32199 { echo "$as_me:$LINENO: result: $ac_cv_header_curses_h" >&5
32200 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
32203 if test $ac_cv_header_curses_h = yes; then
32210 if test "${ac_cv_header_signal_h+set}" = set; then
32211 { echo "$as_me:$LINENO: checking for signal.h" >&5
32212 echo $ECHO_N "checking for signal.h... $ECHO_C" >&6; }
32213 if test "${ac_cv_header_signal_h+set}" = set; then
32214 echo $ECHO_N "(cached) $ECHO_C" >&6
32216 { echo "$as_me:$LINENO: result: $ac_cv_header_signal_h" >&5
32217 echo "${ECHO_T}$ac_cv_header_signal_h" >&6; }
32219 # Is the header compilable?
32220 { echo "$as_me:$LINENO: checking signal.h usability" >&5
32221 echo $ECHO_N "checking signal.h usability... $ECHO_C" >&6; }
32222 cat >conftest.$ac_ext <<_ACEOF
32225 cat confdefs.h >>conftest.$ac_ext
32226 cat >>conftest.$ac_ext <<_ACEOF
32227 /* end confdefs.h. */
32228 $ac_includes_default
32229 #include <signal.h>
32231 rm -f conftest.$ac_objext
32232 if { (ac_try="$ac_compile"
32233 case "(($ac_try" in
32234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32235 *) ac_try_echo=$ac_try;;
32237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32238 (eval "$ac_compile") 2>conftest.er1
32240 grep -v '^
*+' conftest.er1 >conftest.err
32242 cat conftest.err >&5
32243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32244 (exit $ac_status); } && {
32245 test -z "$ac_c_werror_flag" ||
32246 test ! -s conftest.err
32247 } && test -s conftest.$ac_objext; then
32248 ac_header_compiler=yes
32250 echo "$as_me: failed program was:" >&5
32251 sed 's
/^
/|
/' conftest.$ac_ext >&5
32253 ac_header_compiler=no
32256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32257 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32258 echo "${ECHO_T}$ac_header_compiler" >&6; }
32260 # Is the header present?
32261 { echo "$as_me:$LINENO: checking signal.h presence" >&5
32262 echo $ECHO_N "checking signal.h presence... $ECHO_C" >&6; }
32263 cat >conftest.$ac_ext <<_ACEOF
32266 cat confdefs.h >>conftest.$ac_ext
32267 cat >>conftest.$ac_ext <<_ACEOF
32268 /* end confdefs.h. */
32269 #include <signal.h>
32271 if { (ac_try="$ac_cpp conftest.$ac_ext"
32272 case "(($ac_try" in
32273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32274 *) ac_try_echo=$ac_try;;
32276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32277 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32279 grep -v '^
*+' conftest.er1 >conftest.err
32281 cat conftest.err >&5
32282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32283 (exit $ac_status); } >/dev/null && {
32284 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32285 test ! -s conftest.err
32287 ac_header_preproc=yes
32289 echo "$as_me: failed program was:" >&5
32290 sed 's
/^
/|
/' conftest.$ac_ext >&5
32292 ac_header_preproc=no
32295 rm -f conftest.err conftest.$ac_ext
32296 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32297 echo "${ECHO_T}$ac_header_preproc" >&6; }
32299 # So? What about this header?
32300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32302 { echo "$as_me:$LINENO: WARNING: signal.h: accepted by the compiler, rejected by the preprocessor!" >&5
32303 echo "$as_me: WARNING: signal.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32304 { echo "$as_me:$LINENO: WARNING: signal.h: proceeding with the compiler's result
" >&5
32305 echo "$as_me: WARNING
: signal.h
: proceeding with the compiler
's result" >&2;}
32306 ac_header_preproc=yes
32309 { echo "$as_me:$LINENO: WARNING: signal.h: present but cannot be compiled" >&5
32310 echo "$as_me: WARNING: signal.h: present but cannot be compiled" >&2;}
32311 { echo "$as_me:$LINENO: WARNING: signal.h: check for missing prerequisite headers?" >&5
32312 echo "$as_me: WARNING: signal.h: check for missing prerequisite headers?" >&2;}
32313 { echo "$as_me:$LINENO: WARNING: signal.h: see the Autoconf documentation" >&5
32314 echo "$as_me: WARNING: signal.h: see the Autoconf documentation" >&2;}
32315 { echo "$as_me:$LINENO: WARNING: signal.h: section \"Present But Cannot Be Compiled\"" >&5
32316 echo "$as_me: WARNING: signal.h: section \"Present But Cannot Be Compiled\"" >&2;}
32317 { echo "$as_me:$LINENO: WARNING: signal.h: proceeding with the preprocessor's result
" >&5
32318 echo "$as_me: WARNING
: signal.h
: proceeding with the preprocessor
's result" >&2;}
32319 { echo "$as_me:$LINENO: WARNING: signal.h: in the future, the compiler will take precedence" >&5
32320 echo "$as_me: WARNING: signal.h: in the future, the compiler will take precedence" >&2;}
32324 { echo "$as_me:$LINENO: checking for signal.h" >&5
32325 echo $ECHO_N "checking for signal.h... $ECHO_C" >&6; }
32326 if test "${ac_cv_header_signal_h+set}" = set; then
32327 echo $ECHO_N "(cached) $ECHO_C" >&6
32329 ac_cv_header_signal_h=$ac_header_preproc
32331 { echo "$as_me:$LINENO: result: $ac_cv_header_signal_h" >&5
32332 echo "${ECHO_T}$ac_cv_header_signal_h" >&6; }
32335 if test $ac_cv_header_signal_h = yes; then
32342 if test $can_compile_term = 1; then
32347 if test "$with_nogui" != yes; then
32350 fi # end of if $with_all_libs = yes
32352 { echo "$as_me:$LINENO: checking for idle hack" >&5
32353 echo $ECHO_N "checking for idle hack... $ECHO_C" >&6; }
32354 # Check whether --enable-idle-hack was given.
32355 if test "${enable_idle_hack+set}" = set; then
32356 enableval=$enable_idle_hack; if test "$enableval" = yes; then
32357 { echo "$as_me:$LINENO: result: yes" >&5
32358 echo "${ECHO_T}yes" >&6; }
32359 cat >>confdefs.h <<\_ACEOF
32360 #define BX_USE_IDLE_HACK 1
32364 { echo "$as_me:$LINENO: result: no" >&5
32365 echo "${ECHO_T}no" >&6; }
32366 cat >>confdefs.h <<\_ACEOF
32367 #define BX_USE_IDLE_HACK 0
32373 { echo "$as_me:$LINENO: result: no" >&5
32374 echo "${ECHO_T}no" >&6; }
32375 cat >>confdefs.h <<\_ACEOF
32376 #define BX_USE_IDLE_HACK 0
32385 if test "${ac_cv_header_dlfcn_h+set}" = set; then
32386 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5
32387 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
32388 if test "${ac_cv_header_dlfcn_h+set}" = set; then
32389 echo $ECHO_N "(cached) $ECHO_C" >&6
32391 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
32392 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
32394 # Is the header compilable?
32395 { echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
32396 echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; }
32397 cat >conftest.$ac_ext <<_ACEOF
32400 cat confdefs.h >>conftest.$ac_ext
32401 cat >>conftest.$ac_ext <<_ACEOF
32402 /* end confdefs.h. */
32403 $ac_includes_default
32406 rm -f conftest.$ac_objext
32407 if { (ac_try="$ac_compile"
32408 case "(($ac_try" in
32409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32410 *) ac_try_echo=$ac_try;;
32412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32413 (eval "$ac_compile") 2>conftest.er1
32415 grep -v '^
*+' conftest.er1 >conftest.err
32417 cat conftest.err >&5
32418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32419 (exit $ac_status); } && {
32420 test -z "$ac_c_werror_flag" ||
32421 test ! -s conftest.err
32422 } && test -s conftest.$ac_objext; then
32423 ac_header_compiler=yes
32425 echo "$as_me: failed program was:" >&5
32426 sed 's
/^
/|
/' conftest.$ac_ext >&5
32428 ac_header_compiler=no
32431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32432 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32433 echo "${ECHO_T}$ac_header_compiler" >&6; }
32435 # Is the header present?
32436 { echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
32437 echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; }
32438 cat >conftest.$ac_ext <<_ACEOF
32441 cat confdefs.h >>conftest.$ac_ext
32442 cat >>conftest.$ac_ext <<_ACEOF
32443 /* end confdefs.h. */
32446 if { (ac_try="$ac_cpp conftest.$ac_ext"
32447 case "(($ac_try" in
32448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32449 *) ac_try_echo=$ac_try;;
32451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32452 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32454 grep -v '^
*+' conftest.er1 >conftest.err
32456 cat conftest.err >&5
32457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32458 (exit $ac_status); } >/dev/null && {
32459 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32460 test ! -s conftest.err
32462 ac_header_preproc=yes
32464 echo "$as_me: failed program was:" >&5
32465 sed 's
/^
/|
/' conftest.$ac_ext >&5
32467 ac_header_preproc=no
32470 rm -f conftest.err conftest.$ac_ext
32471 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32472 echo "${ECHO_T}$ac_header_preproc" >&6; }
32474 # So? What about this header?
32475 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32477 { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
32478 echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32479 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result
" >&5
32480 echo "$as_me: WARNING
: dlfcn.h
: proceeding with the compiler
's result" >&2;}
32481 ac_header_preproc=yes
32484 { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
32485 echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
32486 { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5
32487 echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;}
32488 { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
32489 echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
32490 { echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5
32491 echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;}
32492 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result
" >&5
32493 echo "$as_me: WARNING
: dlfcn.h
: proceeding with the preprocessor
's result" >&2;}
32494 { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
32495 echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
32499 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5
32500 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
32501 if test "${ac_cv_header_dlfcn_h+set}" = set; then
32502 echo $ECHO_N "(cached) $ECHO_C" >&6
32504 ac_cv_header_dlfcn_h=$ac_header_preproc
32506 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
32507 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
32510 if test $ac_cv_header_dlfcn_h = yes; then
32511 cat >>confdefs.h <<\_ACEOF
32512 #define BX_HAVE_DLFCN_H 1
32518 if test "${ac_cv_header_assert_h+set}" = set; then
32519 { echo "$as_me:$LINENO: checking for assert.h" >&5
32520 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; }
32521 if test "${ac_cv_header_assert_h+set}" = set; then
32522 echo $ECHO_N "(cached) $ECHO_C" >&6
32524 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5
32525 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; }
32527 # Is the header compilable?
32528 { echo "$as_me:$LINENO: checking assert.h usability" >&5
32529 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; }
32530 cat >conftest.$ac_ext <<_ACEOF
32533 cat confdefs.h >>conftest.$ac_ext
32534 cat >>conftest.$ac_ext <<_ACEOF
32535 /* end confdefs.h. */
32536 $ac_includes_default
32537 #include <assert.h>
32539 rm -f conftest.$ac_objext
32540 if { (ac_try="$ac_compile"
32541 case "(($ac_try" in
32542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32543 *) ac_try_echo=$ac_try;;
32545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32546 (eval "$ac_compile") 2>conftest.er1
32548 grep -v '^
*+' conftest.er1 >conftest.err
32550 cat conftest.err >&5
32551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32552 (exit $ac_status); } && {
32553 test -z "$ac_c_werror_flag" ||
32554 test ! -s conftest.err
32555 } && test -s conftest.$ac_objext; then
32556 ac_header_compiler=yes
32558 echo "$as_me: failed program was:" >&5
32559 sed 's
/^
/|
/' conftest.$ac_ext >&5
32561 ac_header_compiler=no
32564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32565 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32566 echo "${ECHO_T}$ac_header_compiler" >&6; }
32568 # Is the header present?
32569 { echo "$as_me:$LINENO: checking assert.h presence" >&5
32570 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; }
32571 cat >conftest.$ac_ext <<_ACEOF
32574 cat confdefs.h >>conftest.$ac_ext
32575 cat >>conftest.$ac_ext <<_ACEOF
32576 /* end confdefs.h. */
32577 #include <assert.h>
32579 if { (ac_try="$ac_cpp conftest.$ac_ext"
32580 case "(($ac_try" in
32581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32582 *) ac_try_echo=$ac_try;;
32584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32587 grep -v '^
*+' conftest.er1 >conftest.err
32589 cat conftest.err >&5
32590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32591 (exit $ac_status); } >/dev/null && {
32592 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32593 test ! -s conftest.err
32595 ac_header_preproc=yes
32597 echo "$as_me: failed program was:" >&5
32598 sed 's
/^
/|
/' conftest.$ac_ext >&5
32600 ac_header_preproc=no
32603 rm -f conftest.err conftest.$ac_ext
32604 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32605 echo "${ECHO_T}$ac_header_preproc" >&6; }
32607 # So? What about this header?
32608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32610 { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5
32611 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32612 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result
" >&5
32613 echo "$as_me: WARNING
: assert.h
: proceeding with the compiler
's result" >&2;}
32614 ac_header_preproc=yes
32617 { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5
32618 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;}
32619 { echo "$as_me:$LINENO: WARNING: assert.h: check for missing prerequisite headers?" >&5
32620 echo "$as_me: WARNING: assert.h: check for missing prerequisite headers?" >&2;}
32621 { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5
32622 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;}
32623 { echo "$as_me:$LINENO: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&5
32624 echo "$as_me: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&2;}
32625 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result
" >&5
32626 echo "$as_me: WARNING
: assert.h
: proceeding with the preprocessor
's result" >&2;}
32627 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5
32628 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;}
32632 { echo "$as_me:$LINENO: checking for assert.h" >&5
32633 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; }
32634 if test "${ac_cv_header_assert_h+set}" = set; then
32635 echo $ECHO_N "(cached) $ECHO_C" >&6
32637 ac_cv_header_assert_h=$ac_header_preproc
32639 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5
32640 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; }
32643 if test $ac_cv_header_assert_h = yes; then
32644 cat >>confdefs.h <<\_ACEOF
32645 #define HAVE_ASSERT_H 1
32652 { echo "$as_me:$LINENO: checking for plugins support" >&5
32653 echo $ECHO_N "checking for plugins support... $ECHO_C" >&6; }
32654 # Check whether --enable-plugins was given.
32655 if test "${enable_plugins+set}" = set; then
32656 enableval=$enable_plugins; if test "$enableval" = yes; then
32669 if test "$bx_plugins" = 1; then
32670 { echo "$as_me:$LINENO: result: yes" >&5
32671 echo "${ECHO_T}yes" >&6; }
32672 cat >>confdefs.h <<\_ACEOF
32673 #define BX_PLUGINS 1
32676 GUI_NON_PLUGIN_OBJS='$
(OBJS_THAT_CANNOT_BE_PLUGINS
)'
32677 GUI_PLUGIN_OBJS='$
(OBJS_THAT_CAN_BE_PLUGINS
)'
32678 DEFINE_PLUGIN_PATH='-DBX_PLUGIN_PATH="\"${plugdir}\""'
32679 # and the $(OBJS_THAT_SUPPORT_OTHER_PLUGINS) will be built and linked
32680 # by special link rules for the plugins that they support.
32681 LIBS="$LIBS $LIBADD_DL"
32682 PLUGIN_VAR='ltdl.o
'
32683 PLUGIN_TARGET=bochs_plugins
32684 INSTALL_PLUGINS_VAR=install_libtool_plugins
32685 NONPLUGIN_GUI_LINK_OPTS=''
32687 { echo "$as_me:$LINENO: result: no" >&5
32688 echo "${ECHO_T}no" >&6; }
32690 cat >>confdefs.h <<\_ACEOF
32691 #define BX_PLUGINS 0
32694 GUI_NON_PLUGIN_OBJS='$
(OBJS_THAT_CANNOT_BE_PLUGINS
) $
(OBJS_THAT_CAN_BE_PLUGINS
) $
(OBJS_THAT_SUPPORT_OTHER_PLUGINS
)'
32696 NONPLUGIN_GUI_LINK_OPTS='$
(GUI_LINK_OPTS
)'
32701 # copy gui variables into iodev variables. Later, we will add to the gui
32702 # objs list, according to which display libraries are enabled.
32703 IODEV_NON_PLUGIN_OBJS=$GUI_NON_PLUGIN_OBJS
32704 IODEV_PLUGIN_OBJS=$GUI_PLUGIN_OBJS
32706 # on MacOSX if they enabled plugins, make sure that dlopen() was found.
32707 # It is provided by a library called dlcompat.
32708 if test "$bx_plugins" = 1 -a "$need_dlcompat_for_plugins" = 1; then
32710 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
32711 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
32712 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
32713 echo $ECHO_N "(cached) $ECHO_C" >&6
32715 ac_check_lib_save_LIBS=$LIBS
32717 cat >conftest.$ac_ext <<_ACEOF
32720 cat confdefs.h >>conftest.$ac_ext
32721 cat >>conftest.$ac_ext <<_ACEOF
32722 /* end confdefs.h. */
32724 /* Override any GCC internal prototype to avoid an error.
32725 Use char because int might match the return type of a GCC
32726 builtin and then its argument prototype would still apply. */
32739 rm -f conftest.$ac_objext conftest$ac_exeext
32740 if { (ac_try="$ac_link"
32741 case "(($ac_try" in
32742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32743 *) ac_try_echo=$ac_try;;
32745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32746 (eval "$ac_link") 2>conftest.er1
32748 grep -v '^
*+' conftest.er1 >conftest.err
32750 cat conftest.err >&5
32751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32752 (exit $ac_status); } && {
32753 test -z "$ac_c_werror_flag" ||
32754 test ! -s conftest.err
32755 } && test -s conftest$ac_exeext &&
32756 $as_test_x conftest$ac_exeext; then
32757 ac_cv_lib_dl_dlopen=yes
32759 echo "$as_me: failed program was:" >&5
32760 sed 's
/^
/|
/' conftest.$ac_ext >&5
32762 ac_cv_lib_dl_dlopen=no
32765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32766 conftest$ac_exeext conftest.$ac_ext
32767 LIBS=$ac_check_lib_save_LIBS
32769 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
32770 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
32771 if test $ac_cv_lib_dl_dlopen = yes; then
32775 { echo "$as_me:$LINENO: checking if you have dlcompat" >&5
32776 echo $ECHO_N "checking if you have dlcompat... $ECHO_C" >&6; }
32777 if test "$have_dlopen" = 0; then
32778 { echo "$as_me:$LINENO: result: no" >&5
32779 echo "${ECHO_T}no" >&6; }
32780 { { 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
32781 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;}
32782 { (exit 1); exit 1; }; }
32784 { echo "$as_me:$LINENO: result: yes" >&5
32785 echo "${ECHO_T}yes" >&6; }
32789 { echo "$as_me:$LINENO: checking if compiler allows blank labels" >&5
32790 echo $ECHO_N "checking if compiler allows blank labels... $ECHO_C" >&6; }
32791 cat >conftest.$ac_ext <<_ACEOF
32794 cat confdefs.h >>conftest.$ac_ext
32795 cat >>conftest.$ac_ext <<_ACEOF
32796 /* end confdefs.h. */
32806 rm -f conftest.$ac_objext
32807 if { (ac_try="$ac_compile"
32808 case "(($ac_try" in
32809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32810 *) ac_try_echo=$ac_try;;
32812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32813 (eval "$ac_compile") 2>conftest.er1
32815 grep -v '^
*+' conftest.er1 >conftest.err
32817 cat conftest.err >&5
32818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32819 (exit $ac_status); } && {
32820 test -z "$ac_c_werror_flag" ||
32821 test ! -s conftest.err
32822 } && test -s conftest.$ac_objext; then
32823 { echo "$as_me:$LINENO: result: yes" >&5
32824 echo "${ECHO_T}yes" >&6; }
32826 echo "$as_me: failed program was:" >&5
32827 sed 's
/^
/|
/' conftest.$ac_ext >&5
32830 { echo "$as_me:$LINENO: result: no" >&5
32831 echo "${ECHO_T}no" >&6; }
32832 cat >>confdefs.h <<\_ACEOF
32833 #define BX_NO_BLANK_LABELS 1
32839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32841 { echo "$as_me:$LINENO: checking if compiler allows LL for 64-bit constants" >&5
32842 echo $ECHO_N "checking if compiler allows LL for 64-bit constants... $ECHO_C" >&6; }
32843 cat >conftest.$ac_ext <<_ACEOF
32846 cat confdefs.h >>conftest.$ac_ext
32847 cat >>conftest.$ac_ext <<_ACEOF
32848 /* end confdefs.h. */
32858 rm -f conftest.$ac_objext
32859 if { (ac_try="$ac_compile"
32860 case "(($ac_try" in
32861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32862 *) ac_try_echo=$ac_try;;
32864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32865 (eval "$ac_compile") 2>conftest.er1
32867 grep -v '^
*+' conftest.er1 >conftest.err
32869 cat conftest.err >&5
32870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32871 (exit $ac_status); } && {
32872 test -z "$ac_c_werror_flag" ||
32873 test ! -s conftest.err
32874 } && test -s conftest.$ac_objext; then
32875 { echo "$as_me:$LINENO: result: yes" >&5
32876 echo "${ECHO_T}yes" >&6; }
32878 echo "$as_me: failed program was:" >&5
32879 sed 's
/^
/|
/' conftest.$ac_ext >&5
32882 { echo "$as_me:$LINENO: result: no" >&5
32883 echo "${ECHO_T}no" >&6; }
32884 cat >>confdefs.h <<\_ACEOF
32885 #define BX_64BIT_CONSTANTS_USE_LL 0
32891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32894 { echo "$as_me:$LINENO: checking for x86-64 support" >&5
32895 echo $ECHO_N "checking for x86-64 support... $ECHO_C" >&6; }
32896 # Check whether --enable-x86-64 was given.
32897 if test "${enable_x86_64+set}" = set; then
32898 enableval=$enable_x86_64; if test "$enableval" = yes; then
32899 { echo "$as_me:$LINENO: result: yes" >&5
32900 echo "${ECHO_T}yes" >&6; }
32902 cat >>confdefs.h <<\_ACEOF
32903 #define BX_SUPPORT_X86_64 1
32908 { echo "$as_me:$LINENO: result: no" >&5
32909 echo "${ECHO_T}no" >&6; }
32911 cat >>confdefs.h <<\_ACEOF
32912 #define BX_SUPPORT_X86_64 0
32919 { echo "$as_me:$LINENO: result: no" >&5
32920 echo "${ECHO_T}no" >&6; }
32922 cat >>confdefs.h <<\_ACEOF
32923 #define BX_SUPPORT_X86_64 0
32933 { echo "$as_me:$LINENO: checking for SMP support" >&5
32934 echo $ECHO_N "checking for SMP support... $ECHO_C" >&6; }
32935 # Check whether --enable-smp was given.
32936 if test "${enable_smp+set}" = set; then
32937 enableval=$enable_smp; if test "$enableval" = yes; then
32938 { echo "$as_me:$LINENO: result: yes" >&5
32939 echo "${ECHO_T}yes" >&6; }
32940 cat >>confdefs.h <<\_ACEOF
32941 #define BX_SUPPORT_SMP 1
32944 cat >>confdefs.h <<\_ACEOF
32945 #define BX_USE_CPU_SMF 0
32950 { echo "$as_me:$LINENO: result: no" >&5
32951 echo "${ECHO_T}no" >&6; }
32952 cat >>confdefs.h <<\_ACEOF
32953 #define BX_SUPPORT_SMP 0
32960 { echo "$as_me:$LINENO: result: no" >&5
32961 echo "${ECHO_T}no" >&6; }
32962 cat >>confdefs.h <<\_ACEOF
32963 #define BX_SUPPORT_SMP 0
32971 { echo "$as_me:$LINENO: checking for cpu level" >&5
32972 echo $ECHO_N "checking for cpu level... $ECHO_C" >&6; }
32973 # Check whether --enable-cpu-level was given.
32974 if test "${enable_cpu_level+set}" = set; then
32975 enableval=$enable_cpu_level; case "$enableval" in
32977 { echo "$as_me:$LINENO: result: 3" >&5
32978 echo "${ECHO_T}3" >&6; }
32979 cat >>confdefs.h <<\_ACEOF
32980 #define BX_CPU_LEVEL 3
32983 cat >>confdefs.h <<\_ACEOF
32984 #define BX_CPU_LEVEL_HACKED 3
32989 { echo "$as_me:$LINENO: result: 4" >&5
32990 echo "${ECHO_T}4" >&6; }
32991 cat >>confdefs.h <<\_ACEOF
32992 #define BX_CPU_LEVEL 4
32995 cat >>confdefs.h <<\_ACEOF
32996 #define BX_CPU_LEVEL_HACKED 4
33001 { echo "$as_me:$LINENO: result: 5" >&5
33002 echo "${ECHO_T}5" >&6; }
33003 cat >>confdefs.h <<\_ACEOF
33004 #define BX_CPU_LEVEL 5
33007 cat >>confdefs.h <<\_ACEOF
33008 #define BX_CPU_LEVEL_HACKED 5
33013 { echo "$as_me:$LINENO: result: 6" >&5
33014 echo "${ECHO_T}6" >&6; }
33015 cat >>confdefs.h <<\_ACEOF
33016 #define BX_CPU_LEVEL 6
33019 cat >>confdefs.h <<\_ACEOF
33020 #define BX_CPU_LEVEL_HACKED 6
33026 echo "ERROR: you must supply a valid CPU level to --enable-cpu-level"
33030 bx_cpu_level=$enableval
33031 if test "$use_smp" = 1 -a "$enableval" -lt 6; then
33032 echo "ERROR: with >1 processor, use --enable-cpu-level=6"
33038 # for multiprocessors or x86-64, cpu level must be 6
33039 if test "$use_smp" = 1 -o "$use_x86_64" = 1; then
33040 { echo "$as_me:$LINENO: result: 6" >&5
33041 echo "${ECHO_T}6" >&6; }
33042 cat >>confdefs.h <<\_ACEOF
33043 #define BX_CPU_LEVEL 6
33046 cat >>confdefs.h <<\_ACEOF
33047 #define BX_CPU_LEVEL_HACKED 6
33052 { echo "$as_me:$LINENO: result: 5" >&5
33053 echo "${ECHO_T}5" >&6; }
33054 cat >>confdefs.h <<\_ACEOF
33055 #define BX_CPU_LEVEL 5
33058 cat >>confdefs.h <<\_ACEOF
33059 #define BX_CPU_LEVEL_HACKED 5
33070 { echo "$as_me:$LINENO: checking for APIC support" >&5
33071 echo $ECHO_N "checking for APIC support... $ECHO_C" >&6; }
33072 # Check whether --enable-apic was given.
33073 if test "${enable_apic+set}" = set; then
33074 enableval=$enable_apic; if test "$enableval" = yes; then
33075 { echo "$as_me:$LINENO: result: yes" >&5
33076 echo "${ECHO_T}yes" >&6; }
33077 cat >>confdefs.h <<\_ACEOF
33078 #define BX_SUPPORT_APIC 1
33081 IOAPIC_OBJS='ioapic.o
'
33083 { echo "$as_me:$LINENO: result: no" >&5
33084 echo "${ECHO_T}no" >&6; }
33085 if test "$use_smp" = 1; then
33086 echo "ERROR: With SMP configuration you must use --enable-apic"
33089 cat >>confdefs.h <<\_ACEOF
33090 #define BX_SUPPORT_APIC 0
33098 if test "$use_smp" = 1 -o "$bx_cpu_level" -gt 5; then
33099 # enable APIC by default, if SMP configuration or if cpulevel>5
33100 { echo "$as_me:$LINENO: result: yes" >&5
33101 echo "${ECHO_T}yes" >&6; }
33102 cat >>confdefs.h <<\_ACEOF
33103 #define BX_SUPPORT_APIC 1
33106 IOAPIC_OBJS='ioapic.o
'
33108 { echo "$as_me:$LINENO: result: no" >&5
33109 echo "${ECHO_T}no" >&6; }
33110 cat >>confdefs.h <<\_ACEOF
33111 #define BX_SUPPORT_APIC 0
33122 if test "${ac_cv_header_zlib_h+set}" = set; then
33123 { echo "$as_me:$LINENO: checking for zlib.h" >&5
33124 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
33125 if test "${ac_cv_header_zlib_h+set}" = set; then
33126 echo $ECHO_N "(cached) $ECHO_C" >&6
33128 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
33129 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
33131 # Is the header compilable?
33132 { echo "$as_me:$LINENO: checking zlib.h usability" >&5
33133 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
33134 cat >conftest.$ac_ext <<_ACEOF
33137 cat confdefs.h >>conftest.$ac_ext
33138 cat >>conftest.$ac_ext <<_ACEOF
33139 /* end confdefs.h. */
33140 $ac_includes_default
33143 rm -f conftest.$ac_objext
33144 if { (ac_try="$ac_compile"
33145 case "(($ac_try" in
33146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33147 *) ac_try_echo=$ac_try;;
33149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33150 (eval "$ac_compile") 2>conftest.er1
33152 grep -v '^
*+' conftest.er1 >conftest.err
33154 cat conftest.err >&5
33155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33156 (exit $ac_status); } && {
33157 test -z "$ac_c_werror_flag" ||
33158 test ! -s conftest.err
33159 } && test -s conftest.$ac_objext; then
33160 ac_header_compiler=yes
33162 echo "$as_me: failed program was:" >&5
33163 sed 's
/^
/|
/' conftest.$ac_ext >&5
33165 ac_header_compiler=no
33168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33169 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33170 echo "${ECHO_T}$ac_header_compiler" >&6; }
33172 # Is the header present?
33173 { echo "$as_me:$LINENO: checking zlib.h presence" >&5
33174 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
33175 cat >conftest.$ac_ext <<_ACEOF
33178 cat confdefs.h >>conftest.$ac_ext
33179 cat >>conftest.$ac_ext <<_ACEOF
33180 /* end confdefs.h. */
33183 if { (ac_try="$ac_cpp conftest.$ac_ext"
33184 case "(($ac_try" in
33185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33186 *) ac_try_echo=$ac_try;;
33188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33189 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33191 grep -v '^
*+' conftest.er1 >conftest.err
33193 cat conftest.err >&5
33194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33195 (exit $ac_status); } >/dev/null && {
33196 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33197 test ! -s conftest.err
33199 ac_header_preproc=yes
33201 echo "$as_me: failed program was:" >&5
33202 sed 's
/^
/|
/' conftest.$ac_ext >&5
33204 ac_header_preproc=no
33207 rm -f conftest.err conftest.$ac_ext
33208 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33209 echo "${ECHO_T}$ac_header_preproc" >&6; }
33211 # So? What about this header?
33212 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33214 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
33215 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33216 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result
" >&5
33217 echo "$as_me: WARNING
: zlib.h
: proceeding with the compiler
's result" >&2;}
33218 ac_header_preproc=yes
33221 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
33222 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
33223 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
33224 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
33225 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
33226 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
33227 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
33228 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
33229 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result
" >&5
33230 echo "$as_me: WARNING
: zlib.h
: proceeding with the preprocessor
's result" >&2;}
33231 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
33232 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
33236 { echo "$as_me:$LINENO: checking for zlib.h" >&5
33237 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
33238 if test "${ac_cv_header_zlib_h+set}" = set; then
33239 echo $ECHO_N "(cached) $ECHO_C" >&6
33241 ac_cv_header_zlib_h=$ac_header_preproc
33243 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
33244 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
33247 if test $ac_cv_header_zlib_h = yes; then
33248 { echo "$as_me:$LINENO: checking for gzopen in -lz" >&5
33249 echo $ECHO_N "checking for gzopen in -lz... $ECHO_C" >&6; }
33250 if test "${ac_cv_lib_z_gzopen+set}" = set; then
33251 echo $ECHO_N "(cached) $ECHO_C" >&6
33253 ac_check_lib_save_LIBS=$LIBS
33255 cat >conftest.$ac_ext <<_ACEOF
33258 cat confdefs.h >>conftest.$ac_ext
33259 cat >>conftest.$ac_ext <<_ACEOF
33260 /* end confdefs.h. */
33262 /* Override any GCC internal prototype to avoid an error.
33263 Use char because int might match the return type of a GCC
33264 builtin and then its argument prototype would still apply. */
33277 rm -f conftest.$ac_objext conftest$ac_exeext
33278 if { (ac_try="$ac_link"
33279 case "(($ac_try" in
33280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33281 *) ac_try_echo=$ac_try;;
33283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33284 (eval "$ac_link") 2>conftest.er1
33286 grep -v '^
*+' conftest.er1 >conftest.err
33288 cat conftest.err >&5
33289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33290 (exit $ac_status); } && {
33291 test -z "$ac_c_werror_flag" ||
33292 test ! -s conftest.err
33293 } && test -s conftest$ac_exeext &&
33294 $as_test_x conftest$ac_exeext; then
33295 ac_cv_lib_z_gzopen=yes
33297 echo "$as_me: failed program was:" >&5
33298 sed 's
/^
/|
/' conftest.$ac_ext >&5
33300 ac_cv_lib_z_gzopen=no
33303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33304 conftest$ac_exeext conftest.$ac_ext
33305 LIBS=$ac_check_lib_save_LIBS
33307 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzopen" >&5
33308 echo "${ECHO_T}$ac_cv_lib_z_gzopen" >&6; }
33309 if test $ac_cv_lib_z_gzopen = yes; then
33310 cat >>confdefs.h <<\_ACEOF
33311 #define BX_HAVE_ZLIB 1
33320 { echo "$as_me:$LINENO: checking for compressed hard disk image support" >&5
33321 echo $ECHO_N "checking for compressed hard disk image support... $ECHO_C" >&6; }
33322 # Check whether --enable-compressed-hd was given.
33323 if test "${enable_compressed_hd+set}" = set; then
33324 enableval=$enable_compressed_hd; if test "$enableval" = yes; then
33325 { echo "$as_me:$LINENO: result: yes" >&5
33326 echo "${ECHO_T}yes" >&6; }
33327 cat >>confdefs.h <<\_ACEOF
33328 #define BX_COMPRESSED_HD_SUPPORT 1
33333 { echo "$as_me:$LINENO: result: no" >&5
33334 echo "${ECHO_T}no" >&6; }
33335 cat >>confdefs.h <<\_ACEOF
33336 #define BX_COMPRESSED_HD_SUPPORT 0
33342 { echo "$as_me:$LINENO: result: no" >&5
33343 echo "${ECHO_T}no" >&6; }
33344 cat >>confdefs.h <<\_ACEOF
33345 #define BX_COMPRESSED_HD_SUPPORT 0
33354 { echo "$as_me:$LINENO: checking for NE2000 support" >&5
33355 echo $ECHO_N "checking for NE2000 support... $ECHO_C" >&6; }
33356 # Check whether --enable-ne2000 was given.
33357 if test "${enable_ne2000+set}" = set; then
33358 enableval=$enable_ne2000; if test "$enableval" = yes; then
33359 { echo "$as_me:$LINENO: result: yes" >&5
33360 echo "${ECHO_T}yes" >&6; }
33361 cat >>confdefs.h <<\_ACEOF
33362 #define BX_SUPPORT_NE2K 1
33368 { echo "$as_me:$LINENO: result: no" >&5
33369 echo "${ECHO_T}no" >&6; }
33370 cat >>confdefs.h <<\_ACEOF
33371 #define BX_SUPPORT_NE2K 0
33379 { echo "$as_me:$LINENO: result: no" >&5
33380 echo "${ECHO_T}no" >&6; }
33381 cat >>confdefs.h <<\_ACEOF
33382 #define BX_SUPPORT_NE2K 0
33393 { echo "$as_me:$LINENO: checking for ACPI support" >&5
33394 echo $ECHO_N "checking for ACPI support... $ECHO_C" >&6; }
33395 # Check whether --enable-acpi was given.
33396 if test "${enable_acpi+set}" = set; then
33397 enableval=$enable_acpi; if test "$enableval" = yes; then
33398 { echo "$as_me:$LINENO: result: yes" >&5
33399 echo "${ECHO_T}yes" >&6; }
33400 cat >>confdefs.h <<\_ACEOF
33401 #define BX_SUPPORT_ACPI 1
33405 { echo "$as_me:$LINENO: result: no" >&5
33406 echo "${ECHO_T}no" >&6; }
33407 cat >>confdefs.h <<\_ACEOF
33408 #define BX_SUPPORT_ACPI 0
33414 { echo "$as_me:$LINENO: result: no" >&5
33415 echo "${ECHO_T}no" >&6; }
33416 cat >>confdefs.h <<\_ACEOF
33417 #define BX_SUPPORT_ACPI 0
33426 { echo "$as_me:$LINENO: checking for i440FX PCI support" >&5
33427 echo $ECHO_N "checking for i440FX PCI support... $ECHO_C" >&6; }
33428 # Check whether --enable-pci was given.
33429 if test "${enable_pci+set}" = set; then
33430 enableval=$enable_pci; if test "$enableval" = yes; then
33431 { echo "$as_me:$LINENO: result: yes" >&5
33432 echo "${ECHO_T}yes" >&6; }
33433 cat >>confdefs.h <<\_ACEOF
33434 #define BX_SUPPORT_PCI 1
33438 PCI_OBJ='pci.o pci2isa.o pci_ide.o pcivga.o acpi.o
'
33440 { echo "$as_me:$LINENO: result: no" >&5
33441 echo "${ECHO_T}no" >&6; }
33442 cat >>confdefs.h <<\_ACEOF
33443 #define BX_SUPPORT_PCI 0
33451 { echo "$as_me:$LINENO: result: no" >&5
33452 echo "${ECHO_T}no" >&6; }
33453 cat >>confdefs.h <<\_ACEOF
33454 #define BX_SUPPORT_PCI 0
33466 # PCI host device support
33468 { echo "$as_me:$LINENO: checking for PCI host device mapping support" >&5
33469 echo $ECHO_N "checking for PCI host device mapping support... $ECHO_C" >&6; }
33470 # Check whether --enable-pcidev was given.
33471 if test "${enable_pcidev+set}" = set; then
33472 enableval=$enable_pcidev;
33473 if test "$enableval" = "yes"; then
33474 { echo "$as_me:$LINENO: result: yes" >&5
33475 echo "${ECHO_T}yes" >&6; }
33476 if test "$pci" != "1"; then
33477 { { echo "$as_me:$LINENO: error: PCI host device mapping requires PCI support" >&5
33478 echo "$as_me: error: PCI host device mapping requires PCI support" >&2;}
33479 { (exit 1); exit 1; }; }
33483 { echo "$as_me:$LINENO: Linux detected as host for PCI host device mapping" >&5
33484 echo "$as_me: Linux detected as host for PCI host device mapping" >&6;}
33485 linux_version=`uname -r`
33486 case "$linux_version" in
33488 PCIDEV_MODULE_MAKE_ALL="all-kernel24"
33489 KERNEL_MODULE_SUFFIX="o"
33492 PCIDEV_MODULE_MAKE_ALL="all-kernel26"
33493 KERNEL_MODULE_SUFFIX="ko"
33496 { { echo "$as_me:$LINENO: error: Linux kernel 2.4 or 2.6 is required" >&5
33497 echo "$as_me: error: Linux kernel 2.4 or 2.6 is required" >&2;}
33498 { (exit 1); exit 1; }; }
33501 KERNELDIR="/lib/modules/$linux_version/build"
33515 { { echo "$as_me:$LINENO: error: PCI host device mapping requires Linux as host" >&5
33516 echo "$as_me: error: PCI host device mapping requires Linux as host" >&2;}
33517 { (exit 1); exit 1; }; }
33520 cat >>confdefs.h <<\_ACEOF
33521 #define BX_SUPPORT_PCIDEV 1
33524 PCI_OBJ="$PCI_OBJ pcidev.o"
33526 { echo "$as_me:$LINENO: result: no" >&5
33527 echo "${ECHO_T}no" >&6; }
33528 cat >>confdefs.h <<\_ACEOF
33529 #define BX_SUPPORT_PCIDEV 0
33536 { echo "$as_me:$LINENO: result: no" >&5
33537 echo "${ECHO_T}no" >&6; }
33538 cat >>confdefs.h <<\_ACEOF
33539 #define BX_SUPPORT_PCIDEV 0
33549 { echo "$as_me:$LINENO: checking for limited USB support" >&5
33550 echo $ECHO_N "checking for limited USB support... $ECHO_C" >&6; }
33551 # Check whether --enable-usb was given.
33552 if test "${enable_usb+set}" = set; then
33553 enableval=$enable_usb; if test "$enableval" = yes; then
33554 { echo "$as_me:$LINENO: result: yes" >&5
33555 echo "${ECHO_T}yes" >&6; }
33556 cat >>confdefs.h <<\_ACEOF
33557 #define BX_SUPPORT_PCIUSB 1
33560 PCI_OBJ="$PCI_OBJ pciusb.o"
33561 USBDEV_OBJS="usb_hid.o usb_msd.o"
33562 SCSI_OBJS="scsi_device.o"
33564 { echo "$as_me:$LINENO: result: no" >&5
33565 echo "${ECHO_T}no" >&6; }
33566 cat >>confdefs.h <<\_ACEOF
33567 #define BX_SUPPORT_PCIUSB 0
33573 { echo "$as_me:$LINENO: result: no" >&5
33574 echo "${ECHO_T}no" >&6; }
33575 cat >>confdefs.h <<\_ACEOF
33576 #define BX_SUPPORT_PCIUSB 0
33587 { echo "$as_me:$LINENO: checking for PCI pseudo NIC support" >&5
33588 echo $ECHO_N "checking for PCI pseudo NIC support... $ECHO_C" >&6; }
33589 # Check whether --enable-pnic was given.
33590 if test "${enable_pnic+set}" = set; then
33591 enableval=$enable_pnic; if test "$enableval" = yes; then
33592 { echo "$as_me:$LINENO: result: yes" >&5
33593 echo "${ECHO_T}yes" >&6; }
33594 cat >>confdefs.h <<\_ACEOF
33595 #define BX_SUPPORT_PCIPNIC 1
33598 PCI_OBJ="$PCI_OBJ pcipnic.o"
33601 { echo "$as_me:$LINENO: result: no" >&5
33602 echo "${ECHO_T}no" >&6; }
33603 cat >>confdefs.h <<\_ACEOF
33604 #define BX_SUPPORT_PCIPNIC 0
33610 { echo "$as_me:$LINENO: result: no" >&5
33611 echo "${ECHO_T}no" >&6; }
33612 cat >>confdefs.h <<\_ACEOF
33613 #define BX_SUPPORT_PCIPNIC 0
33622 if test "$networking" = yes; then
33623 NETLOW_OBJS='eth.o eth_null.o eth_vnet.o
'
33624 if test "${ac_cv_header_net_bpf_h+set}" = set; then
33625 { echo "$as_me:$LINENO: checking for net/bpf.h" >&5
33626 echo $ECHO_N "checking for net/bpf.h... $ECHO_C" >&6; }
33627 if test "${ac_cv_header_net_bpf_h+set}" = set; then
33628 echo $ECHO_N "(cached) $ECHO_C" >&6
33630 { echo "$as_me:$LINENO: result: $ac_cv_header_net_bpf_h" >&5
33631 echo "${ECHO_T}$ac_cv_header_net_bpf_h" >&6; }
33633 # Is the header compilable?
33634 { echo "$as_me:$LINENO: checking net/bpf.h usability" >&5
33635 echo $ECHO_N "checking net/bpf.h usability... $ECHO_C" >&6; }
33636 cat >conftest.$ac_ext <<_ACEOF
33639 cat confdefs.h >>conftest.$ac_ext
33640 cat >>conftest.$ac_ext <<_ACEOF
33641 /* end confdefs.h. */
33642 $ac_includes_default
33643 #include <net/bpf.h>
33645 rm -f conftest.$ac_objext
33646 if { (ac_try="$ac_compile"
33647 case "(($ac_try" in
33648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33649 *) ac_try_echo=$ac_try;;
33651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33652 (eval "$ac_compile") 2>conftest.er1
33654 grep -v '^
*+' conftest.er1 >conftest.err
33656 cat conftest.err >&5
33657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33658 (exit $ac_status); } && {
33659 test -z "$ac_c_werror_flag" ||
33660 test ! -s conftest.err
33661 } && test -s conftest.$ac_objext; then
33662 ac_header_compiler=yes
33664 echo "$as_me: failed program was:" >&5
33665 sed 's
/^
/|
/' conftest.$ac_ext >&5
33667 ac_header_compiler=no
33670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33671 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33672 echo "${ECHO_T}$ac_header_compiler" >&6; }
33674 # Is the header present?
33675 { echo "$as_me:$LINENO: checking net/bpf.h presence" >&5
33676 echo $ECHO_N "checking net/bpf.h presence... $ECHO_C" >&6; }
33677 cat >conftest.$ac_ext <<_ACEOF
33680 cat confdefs.h >>conftest.$ac_ext
33681 cat >>conftest.$ac_ext <<_ACEOF
33682 /* end confdefs.h. */
33683 #include <net/bpf.h>
33685 if { (ac_try="$ac_cpp conftest.$ac_ext"
33686 case "(($ac_try" in
33687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33688 *) ac_try_echo=$ac_try;;
33690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33691 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33693 grep -v '^
*+' conftest.er1 >conftest.err
33695 cat conftest.err >&5
33696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33697 (exit $ac_status); } >/dev/null && {
33698 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33699 test ! -s conftest.err
33701 ac_header_preproc=yes
33703 echo "$as_me: failed program was:" >&5
33704 sed 's
/^
/|
/' conftest.$ac_ext >&5
33706 ac_header_preproc=no
33709 rm -f conftest.err conftest.$ac_ext
33710 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33711 echo "${ECHO_T}$ac_header_preproc" >&6; }
33713 # So? What about this header?
33714 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33716 { echo "$as_me:$LINENO: WARNING: net/bpf.h: accepted by the compiler, rejected by the preprocessor!" >&5
33717 echo "$as_me: WARNING: net/bpf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33718 { echo "$as_me:$LINENO: WARNING: net/bpf.h: proceeding with the compiler's result
" >&5
33719 echo "$as_me: WARNING
: net
/bpf.h
: proceeding with the compiler
's result" >&2;}
33720 ac_header_preproc=yes
33723 { echo "$as_me:$LINENO: WARNING: net/bpf.h: present but cannot be compiled" >&5
33724 echo "$as_me: WARNING: net/bpf.h: present but cannot be compiled" >&2;}
33725 { echo "$as_me:$LINENO: WARNING: net/bpf.h: check for missing prerequisite headers?" >&5
33726 echo "$as_me: WARNING: net/bpf.h: check for missing prerequisite headers?" >&2;}
33727 { echo "$as_me:$LINENO: WARNING: net/bpf.h: see the Autoconf documentation" >&5
33728 echo "$as_me: WARNING: net/bpf.h: see the Autoconf documentation" >&2;}
33729 { echo "$as_me:$LINENO: WARNING: net/bpf.h: section \"Present But Cannot Be Compiled\"" >&5
33730 echo "$as_me: WARNING: net/bpf.h: section \"Present But Cannot Be Compiled\"" >&2;}
33731 { echo "$as_me:$LINENO: WARNING: net/bpf.h: proceeding with the preprocessor's result
" >&5
33732 echo "$as_me: WARNING
: net
/bpf.h
: proceeding with the preprocessor
's result" >&2;}
33733 { echo "$as_me:$LINENO: WARNING: net/bpf.h: in the future, the compiler will take precedence" >&5
33734 echo "$as_me: WARNING: net/bpf.h: in the future, the compiler will take precedence" >&2;}
33738 { echo "$as_me:$LINENO: checking for net/bpf.h" >&5
33739 echo $ECHO_N "checking for net/bpf.h... $ECHO_C" >&6; }
33740 if test "${ac_cv_header_net_bpf_h+set}" = set; then
33741 echo $ECHO_N "(cached) $ECHO_C" >&6
33743 ac_cv_header_net_bpf_h=$ac_header_preproc
33745 { echo "$as_me:$LINENO: result: $ac_cv_header_net_bpf_h" >&5
33746 echo "${ECHO_T}$ac_cv_header_net_bpf_h" >&6; }
33749 if test $ac_cv_header_net_bpf_h = yes; then
33750 NETLOW_OBJS="$NETLOW_OBJS eth_fbsd.o"
33754 if test "${ac_cv_header_netpacket_packet_h+set}" = set; then
33755 { echo "$as_me:$LINENO: checking for netpacket/packet.h" >&5
33756 echo $ECHO_N "checking for netpacket/packet.h... $ECHO_C" >&6; }
33757 if test "${ac_cv_header_netpacket_packet_h+set}" = set; then
33758 echo $ECHO_N "(cached) $ECHO_C" >&6
33760 { echo "$as_me:$LINENO: result: $ac_cv_header_netpacket_packet_h" >&5
33761 echo "${ECHO_T}$ac_cv_header_netpacket_packet_h" >&6; }
33763 # Is the header compilable?
33764 { echo "$as_me:$LINENO: checking netpacket/packet.h usability" >&5
33765 echo $ECHO_N "checking netpacket/packet.h usability... $ECHO_C" >&6; }
33766 cat >conftest.$ac_ext <<_ACEOF
33769 cat confdefs.h >>conftest.$ac_ext
33770 cat >>conftest.$ac_ext <<_ACEOF
33771 /* end confdefs.h. */
33772 $ac_includes_default
33773 #include <netpacket/packet.h>
33775 rm -f conftest.$ac_objext
33776 if { (ac_try="$ac_compile"
33777 case "(($ac_try" in
33778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33779 *) ac_try_echo=$ac_try;;
33781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33782 (eval "$ac_compile") 2>conftest.er1
33784 grep -v '^
*+' conftest.er1 >conftest.err
33786 cat conftest.err >&5
33787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33788 (exit $ac_status); } && {
33789 test -z "$ac_c_werror_flag" ||
33790 test ! -s conftest.err
33791 } && test -s conftest.$ac_objext; then
33792 ac_header_compiler=yes
33794 echo "$as_me: failed program was:" >&5
33795 sed 's
/^
/|
/' conftest.$ac_ext >&5
33797 ac_header_compiler=no
33800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33801 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33802 echo "${ECHO_T}$ac_header_compiler" >&6; }
33804 # Is the header present?
33805 { echo "$as_me:$LINENO: checking netpacket/packet.h presence" >&5
33806 echo $ECHO_N "checking netpacket/packet.h presence... $ECHO_C" >&6; }
33807 cat >conftest.$ac_ext <<_ACEOF
33810 cat confdefs.h >>conftest.$ac_ext
33811 cat >>conftest.$ac_ext <<_ACEOF
33812 /* end confdefs.h. */
33813 #include <netpacket/packet.h>
33815 if { (ac_try="$ac_cpp conftest.$ac_ext"
33816 case "(($ac_try" in
33817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33818 *) ac_try_echo=$ac_try;;
33820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33821 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33823 grep -v '^
*+' conftest.er1 >conftest.err
33825 cat conftest.err >&5
33826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33827 (exit $ac_status); } >/dev/null && {
33828 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33829 test ! -s conftest.err
33831 ac_header_preproc=yes
33833 echo "$as_me: failed program was:" >&5
33834 sed 's
/^
/|
/' conftest.$ac_ext >&5
33836 ac_header_preproc=no
33839 rm -f conftest.err conftest.$ac_ext
33840 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33841 echo "${ECHO_T}$ac_header_preproc" >&6; }
33843 # So? What about this header?
33844 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33846 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: accepted by the compiler, rejected by the preprocessor!" >&5
33847 echo "$as_me: WARNING: netpacket/packet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33848 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: proceeding with the compiler's result
" >&5
33849 echo "$as_me: WARNING
: netpacket
/packet.h
: proceeding with the compiler
's result" >&2;}
33850 ac_header_preproc=yes
33853 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: present but cannot be compiled" >&5
33854 echo "$as_me: WARNING: netpacket/packet.h: present but cannot be compiled" >&2;}
33855 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: check for missing prerequisite headers?" >&5
33856 echo "$as_me: WARNING: netpacket/packet.h: check for missing prerequisite headers?" >&2;}
33857 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: see the Autoconf documentation" >&5
33858 echo "$as_me: WARNING: netpacket/packet.h: see the Autoconf documentation" >&2;}
33859 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: section \"Present But Cannot Be Compiled\"" >&5
33860 echo "$as_me: WARNING: netpacket/packet.h: section \"Present But Cannot Be Compiled\"" >&2;}
33861 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: proceeding with the preprocessor's result
" >&5
33862 echo "$as_me: WARNING
: netpacket
/packet.h
: proceeding with the preprocessor
's result" >&2;}
33863 { echo "$as_me:$LINENO: WARNING: netpacket/packet.h: in the future, the compiler will take precedence" >&5
33864 echo "$as_me: WARNING: netpacket/packet.h: in the future, the compiler will take precedence" >&2;}
33868 { echo "$as_me:$LINENO: checking for netpacket/packet.h" >&5
33869 echo $ECHO_N "checking for netpacket/packet.h... $ECHO_C" >&6; }
33870 if test "${ac_cv_header_netpacket_packet_h+set}" = set; then
33871 echo $ECHO_N "(cached) $ECHO_C" >&6
33873 ac_cv_header_netpacket_packet_h=$ac_header_preproc
33875 { echo "$as_me:$LINENO: result: $ac_cv_header_netpacket_packet_h" >&5
33876 echo "${ECHO_T}$ac_cv_header_netpacket_packet_h" >&6; }
33879 if test $ac_cv_header_netpacket_packet_h = yes; then
33880 NETLOW_OBJS="$NETLOW_OBJS eth_linux.o"
33885 *-pc-windows* | *-pc-winnt* | *-pc-cygwin* | *-pc-mingw32*)
33886 NETLOW_OBJS="$NETLOW_OBJS eth_win32.o"
33888 *-macosx* | *-darwin*)
33889 NETLOW_OBJS="$NETLOW_OBJS eth_tuntap.o"
33890 cat >>confdefs.h <<\_ACEOF
33891 #define HAVE_TUNTAP 1
33896 { echo "$as_me:$LINENO: checking for net/if.h" >&5
33897 echo $ECHO_N "checking for net/if.h... $ECHO_C" >&6; }
33898 if test "${ac_cv_header_net_if_h+set}" = set; then
33899 echo $ECHO_N "(cached) $ECHO_C" >&6
33901 cat >conftest.$ac_ext <<_ACEOF
33904 cat confdefs.h >>conftest.$ac_ext
33905 cat >>conftest.$ac_ext <<_ACEOF
33906 /* end confdefs.h. */
33908 #include <sys/types.h>
33909 #include <sys/socket.h>
33912 #include <net/if.h>
33914 rm -f conftest.$ac_objext
33915 if { (ac_try="$ac_compile"
33916 case "(($ac_try" in
33917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33918 *) ac_try_echo=$ac_try;;
33920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33921 (eval "$ac_compile") 2>conftest.er1
33923 grep -v '^
*+' conftest.er1 >conftest.err
33925 cat conftest.err >&5
33926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33927 (exit $ac_status); } && {
33928 test -z "$ac_c_werror_flag" ||
33929 test ! -s conftest.err
33930 } && test -s conftest.$ac_objext; then
33931 ac_cv_header_net_if_h=yes
33933 echo "$as_me: failed program was:" >&5
33934 sed 's
/^
/|
/' conftest.$ac_ext >&5
33936 ac_cv_header_net_if_h=no
33939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33941 { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_h" >&5
33942 echo "${ECHO_T}$ac_cv_header_net_if_h" >&6; }
33943 if test $ac_cv_header_net_if_h = yes; then
33946 cat >>confdefs.h <<\_ACEOF
33947 #define BX_HAVE_NET_IF_H 1
33954 { echo "$as_me:$LINENO: checking for linux/netlink.h" >&5
33955 echo $ECHO_N "checking for linux/netlink.h... $ECHO_C" >&6; }
33956 if test "${ac_cv_header_linux_netlink_h+set}" = set; then
33957 echo $ECHO_N "(cached) $ECHO_C" >&6
33959 cat >conftest.$ac_ext <<_ACEOF
33962 cat confdefs.h >>conftest.$ac_ext
33963 cat >>conftest.$ac_ext <<_ACEOF
33964 /* end confdefs.h. */
33966 #include <asm/types.h>
33967 #include <sys/socket.h>
33970 #include <linux/netlink.h>
33972 rm -f conftest.$ac_objext
33973 if { (ac_try="$ac_compile"
33974 case "(($ac_try" in
33975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33976 *) ac_try_echo=$ac_try;;
33978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33979 (eval "$ac_compile") 2>conftest.er1
33981 grep -v '^
*+' conftest.er1 >conftest.err
33983 cat conftest.err >&5
33984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33985 (exit $ac_status); } && {
33986 test -z "$ac_c_werror_flag" ||
33987 test ! -s conftest.err
33988 } && test -s conftest.$ac_objext; then
33989 ac_cv_header_linux_netlink_h=yes
33991 echo "$as_me: failed program was:" >&5
33992 sed 's
/^
/|
/' conftest.$ac_ext >&5
33994 ac_cv_header_linux_netlink_h=no
33997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33999 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_netlink_h" >&5
34000 echo "${ECHO_T}$ac_cv_header_linux_netlink_h" >&6; }
34001 if test $ac_cv_header_linux_netlink_h = yes; then
34009 if test "$use_ethertap" = yes; then
34010 NETLOW_OBJS="$NETLOW_OBJS eth_tap.o eth_vde.o"
34011 cat >>confdefs.h <<\_ACEOF
34012 #define HAVE_ETHERTAP 1
34015 cat >>confdefs.h <<\_ACEOF
34021 { echo "$as_me:$LINENO: checking for net/if_tun.h" >&5
34022 echo $ECHO_N "checking for net/if_tun.h... $ECHO_C" >&6; }
34023 if test "${ac_cv_header_net_if_tun_h+set}" = set; then
34024 echo $ECHO_N "(cached) $ECHO_C" >&6
34026 cat >conftest.$ac_ext <<_ACEOF
34029 cat confdefs.h >>conftest.$ac_ext
34030 cat >>conftest.$ac_ext <<_ACEOF
34031 /* end confdefs.h. */
34033 #include <sys/types.h>
34034 #include <sys/socket.h>
34035 #include <net/if.h>
34038 #include <net/if_tun.h>
34040 rm -f conftest.$ac_objext
34041 if { (ac_try="$ac_compile"
34042 case "(($ac_try" in
34043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34044 *) ac_try_echo=$ac_try;;
34046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34047 (eval "$ac_compile") 2>conftest.er1
34049 grep -v '^
*+' conftest.er1 >conftest.err
34051 cat conftest.err >&5
34052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34053 (exit $ac_status); } && {
34054 test -z "$ac_c_werror_flag" ||
34055 test ! -s conftest.err
34056 } && test -s conftest.$ac_objext; then
34057 ac_cv_header_net_if_tun_h=yes
34059 echo "$as_me: failed program was:" >&5
34060 sed 's
/^
/|
/' conftest.$ac_ext >&5
34062 ac_cv_header_net_if_tun_h=no
34065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34067 { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tun_h" >&5
34068 echo "${ECHO_T}$ac_cv_header_net_if_tun_h" >&6; }
34069 if test $ac_cv_header_net_if_tun_h = yes; then
34076 { echo "$as_me:$LINENO: checking for linux/if_tun.h" >&5
34077 echo $ECHO_N "checking for linux/if_tun.h... $ECHO_C" >&6; }
34078 if test "${ac_cv_header_linux_if_tun_h+set}" = set; then
34079 echo $ECHO_N "(cached) $ECHO_C" >&6
34081 cat >conftest.$ac_ext <<_ACEOF
34084 cat confdefs.h >>conftest.$ac_ext
34085 cat >>conftest.$ac_ext <<_ACEOF
34086 /* end confdefs.h. */
34088 #include <asm/types.h>
34089 #include <sys/socket.h>
34092 #include <linux/if_tun.h>
34094 rm -f conftest.$ac_objext
34095 if { (ac_try="$ac_compile"
34096 case "(($ac_try" in
34097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34098 *) ac_try_echo=$ac_try;;
34100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34101 (eval "$ac_compile") 2>conftest.er1
34103 grep -v '^
*+' conftest.er1 >conftest.err
34105 cat conftest.err >&5
34106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34107 (exit $ac_status); } && {
34108 test -z "$ac_c_werror_flag" ||
34109 test ! -s conftest.err
34110 } && test -s conftest.$ac_objext; then
34111 ac_cv_header_linux_if_tun_h=yes
34113 echo "$as_me: failed program was:" >&5
34114 sed 's
/^
/|
/' conftest.$ac_ext >&5
34116 ac_cv_header_linux_if_tun_h=no
34119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34121 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_if_tun_h" >&5
34122 echo "${ECHO_T}$ac_cv_header_linux_if_tun_h" >&6; }
34123 if test $ac_cv_header_linux_if_tun_h = yes; then
34130 if test "$use_tuntap" = yes; then
34131 NETLOW_OBJS="$NETLOW_OBJS eth_tuntap.o"
34132 cat >>confdefs.h <<\_ACEOF
34133 #define HAVE_TUNTAP 1
34140 cat >>confdefs.h <<\_ACEOF
34141 #define BX_NETWORKING 1
34145 cat >>confdefs.h <<\_ACEOF
34146 #define BX_NETWORKING 0
34154 { echo "$as_me:$LINENO: checking for large pages support" >&5
34155 echo $ECHO_N "checking for large pages support... $ECHO_C" >&6; }
34156 # Check whether --enable-large-pages was given.
34157 if test "${enable_large_pages+set}" = set; then
34158 enableval=$enable_large_pages; if test "$enableval" = yes; then
34159 { echo "$as_me:$LINENO: result: yes" >&5
34160 echo "${ECHO_T}yes" >&6; }
34161 cat >>confdefs.h <<\_ACEOF
34162 #define BX_SUPPORT_LARGE_PAGES 1
34165 support_large_pages=1
34167 { echo "$as_me:$LINENO: result: no" >&5
34168 echo "${ECHO_T}no" >&6; }
34169 cat >>confdefs.h <<\_ACEOF
34170 #define BX_SUPPORT_LARGE_PAGES 0
34173 support_large_pages=0
34177 if test "$bx_cpu_level" -gt 4; then
34178 { echo "$as_me:$LINENO: result: yes" >&5
34179 echo "${ECHO_T}yes" >&6; }
34180 cat >>confdefs.h <<\_ACEOF
34181 #define BX_SUPPORT_LARGE_PAGES 1
34184 support_large_pages=1
34186 { echo "$as_me:$LINENO: result: no" >&5
34187 echo "${ECHO_T}no" >&6; }
34188 cat >>confdefs.h <<\_ACEOF
34189 #define BX_SUPPORT_LARGE_PAGES 0
34192 support_large_pages=0
34200 { echo "$as_me:$LINENO: checking for PAE support" >&5
34201 echo $ECHO_N "checking for PAE support... $ECHO_C" >&6; }
34202 # Check whether --enable-pae was given.
34203 if test "${enable_pae+set}" = set; then
34204 enableval=$enable_pae; if test "$enableval" = yes; then
34205 { echo "$as_me:$LINENO: result: yes" >&5
34206 echo "${ECHO_T}yes" >&6; }
34207 cat >>confdefs.h <<\_ACEOF
34208 #define BX_SUPPORT_PAE 1
34213 { echo "$as_me:$LINENO: result: no" >&5
34214 echo "${ECHO_T}no" >&6; }
34215 cat >>confdefs.h <<\_ACEOF
34216 #define BX_SUPPORT_PAE 0
34223 if test "$bx_cpu_level" -gt 5; then
34224 { echo "$as_me:$LINENO: result: yes" >&5
34225 echo "${ECHO_T}yes" >&6; }
34226 cat >>confdefs.h <<\_ACEOF
34227 #define BX_SUPPORT_PAE 1
34232 { echo "$as_me:$LINENO: result: no" >&5
34233 echo "${ECHO_T}no" >&6; }
34234 cat >>confdefs.h <<\_ACEOF
34235 #define BX_SUPPORT_PAE 0
34245 { echo "$as_me:$LINENO: checking for global pages support" >&5
34246 echo $ECHO_N "checking for global pages support... $ECHO_C" >&6; }
34247 # Check whether --enable-global-pages was given.
34248 if test "${enable_global_pages+set}" = set; then
34249 enableval=$enable_global_pages; if test "$enableval" = yes; then
34250 { echo "$as_me:$LINENO: result: yes" >&5
34251 echo "${ECHO_T}yes" >&6; }
34252 cat >>confdefs.h <<\_ACEOF
34253 #define BX_SUPPORT_GLOBAL_PAGES 1
34256 support_global_pages=1
34258 { echo "$as_me:$LINENO: result: no" >&5
34259 echo "${ECHO_T}no" >&6; }
34260 cat >>confdefs.h <<\_ACEOF
34261 #define BX_SUPPORT_GLOBAL_PAGES 0
34264 support_global_pages=0
34268 if test "$bx_cpu_level" -gt 5; then
34269 # enable by default
34270 { echo "$as_me:$LINENO: result: yes" >&5
34271 echo "${ECHO_T}yes" >&6; }
34272 cat >>confdefs.h <<\_ACEOF
34273 #define BX_SUPPORT_GLOBAL_PAGES 1
34276 support_global_pages=1
34278 { echo "$as_me:$LINENO: result: no" >&5
34279 echo "${ECHO_T}no" >&6; }
34280 cat >>confdefs.h <<\_ACEOF
34281 #define BX_SUPPORT_GLOBAL_PAGES 0
34284 support_global_pages=0
34291 if test "$bx_cpu_level" -lt 4 -a "$support_large_pages" = 1; then
34292 { { echo "$as_me:$LINENO: error: for large paging support the CPU level must be >= 4" >&5
34293 echo "$as_me: error: for large paging support the CPU level must be >= 4" >&2;}
34294 { (exit 1); exit 1; }; }
34297 if test "$bx_cpu_level" -lt 5 -a "$support_pae" = 1; then
34298 { { echo "$as_me:$LINENO: error: for PAE support the CPU level must be >= 5" >&5
34299 echo "$as_me: error: for PAE support the CPU level must be >= 5" >&2;}
34300 { (exit 1); exit 1; }; }
34303 if test "$bx_cpu_level" -lt 5 -a "$support_global_pages" = 1; then
34304 { { echo "$as_me:$LINENO: error: for Global Pages support the CPU level must be >= 5" >&5
34305 echo "$as_me: error: for Global Pages support the CPU level must be >= 5" >&2;}
34306 { (exit 1); exit 1; }; }
34309 { echo "$as_me:$LINENO: checking for MTRRs support" >&5
34310 echo $ECHO_N "checking for MTRRs support... $ECHO_C" >&6; }
34311 # Check whether --enable-mtrr was given.
34312 if test "${enable_mtrr+set}" = set; then
34313 enableval=$enable_mtrr; if test "$enableval" = yes; then
34314 { echo "$as_me:$LINENO: result: yes" >&5
34315 echo "${ECHO_T}yes" >&6; }
34316 cat >>confdefs.h <<\_ACEOF
34317 #define BX_SUPPORT_MTRR 1
34321 { echo "$as_me:$LINENO: result: no" >&5
34322 echo "${ECHO_T}no" >&6; }
34323 cat >>confdefs.h <<\_ACEOF
34324 #define BX_SUPPORT_MTRR 0
34330 if test "$bx_cpu_level" -gt 5; then
34331 # enable by default
34332 { echo "$as_me:$LINENO: result: yes" >&5
34333 echo "${ECHO_T}yes" >&6; }
34334 cat >>confdefs.h <<\_ACEOF
34335 #define BX_SUPPORT_MTRR 1
34339 { echo "$as_me:$LINENO: result: no" >&5
34340 echo "${ECHO_T}no" >&6; }
34341 cat >>confdefs.h <<\_ACEOF
34342 #define BX_SUPPORT_MTRR 0
34351 { echo "$as_me:$LINENO: checking for guest to host TLB support" >&5
34352 echo $ECHO_N "checking for guest to host TLB support... $ECHO_C" >&6; }
34353 # Check whether --enable-guest2host-tlb was given.
34354 if test "${enable_guest2host_tlb+set}" = set; then
34355 enableval=$enable_guest2host_tlb; if test "$enableval" = yes; then
34356 { echo "$as_me:$LINENO: result: yes" >&5
34357 echo "${ECHO_T}yes" >&6; }
34358 speedup_guest2host_tlb=1
34360 { echo "$as_me:$LINENO: result: no" >&5
34361 echo "${ECHO_T}no" >&6; }
34362 speedup_guest2host_tlb=0
34366 { echo "$as_me:$LINENO: result: no" >&5
34367 echo "${ECHO_T}no" >&6; }
34368 speedup_guest2host_tlb=0
34374 { echo "$as_me:$LINENO: checking for repeated IO and mem copy speedups" >&5
34375 echo $ECHO_N "checking for repeated IO and mem copy speedups... $ECHO_C" >&6; }
34376 # Check whether --enable-repeat-speedups was given.
34377 if test "${enable_repeat_speedups+set}" = set; then
34378 enableval=$enable_repeat_speedups; if test "$enableval" = yes; then
34379 { echo "$as_me:$LINENO: result: yes" >&5
34380 echo "${ECHO_T}yes" >&6; }
34383 { echo "$as_me:$LINENO: result: no" >&5
34384 echo "${ECHO_T}no" >&6; }
34389 { echo "$as_me:$LINENO: result: no" >&5
34390 echo "${ECHO_T}no" >&6; }
34397 { echo "$as_me:$LINENO: checking for instruction trace cache support" >&5
34398 echo $ECHO_N "checking for instruction trace cache support... $ECHO_C" >&6; }
34399 # Check whether --enable-trace-cache was given.
34400 if test "${enable_trace_cache+set}" = set; then
34401 enableval=$enable_trace_cache; if test "$enableval" = yes; then
34402 { echo "$as_me:$LINENO: result: yes" >&5
34403 echo "${ECHO_T}yes" >&6; }
34404 speedup_TraceCache=1
34406 { echo "$as_me:$LINENO: result: no" >&5
34407 echo "${ECHO_T}no" >&6; }
34408 speedup_TraceCache=0
34412 if test "$speedup_TraceCache " = 1; then
34413 { echo "$as_me:$LINENO: result: yes" >&5
34414 echo "${ECHO_T}yes" >&6; }
34415 speedup_TraceCache=1
34417 { echo "$as_me:$LINENO: result: no" >&5
34418 echo "${ECHO_T}no" >&6; }
34419 speedup_TraceCache=0
34426 { echo "$as_me:$LINENO: checking for instruction cache support" >&5
34427 echo $ECHO_N "checking for instruction cache support... $ECHO_C" >&6; }
34428 # Check whether --enable-icache was given.
34429 if test "${enable_icache+set}" = set; then
34430 enableval=$enable_icache; if test "$enableval" = yes; then
34431 { echo "$as_me:$LINENO: result: yes" >&5
34432 echo "${ECHO_T}yes" >&6; }
34435 { echo "$as_me:$LINENO: result: no" >&5
34436 echo "${ECHO_T}no" >&6; }
34441 { echo "$as_me:$LINENO: result: no" >&5
34442 echo "${ECHO_T}no" >&6; }
34449 { echo "$as_me:$LINENO: checking for gcc fast function calls optimization" >&5
34450 echo $ECHO_N "checking for gcc fast function calls optimization... $ECHO_C" >&6; }
34451 # Check whether --enable-fast-function-calls was given.
34452 if test "${enable_fast_function_calls+set}" = set; then
34453 enableval=$enable_fast_function_calls; if test "$enableval" = yes; then
34454 { echo "$as_me:$LINENO: result: yes" >&5
34455 echo "${ECHO_T}yes" >&6; }
34458 { echo "$as_me:$LINENO: result: no" >&5
34459 echo "${ECHO_T}no" >&6; }
34464 { echo "$as_me:$LINENO: result: no" >&5
34465 echo "${ECHO_T}no" >&6; }
34472 { echo "$as_me:$LINENO: checking for host specific inline assembly accelerations" >&5
34473 echo $ECHO_N "checking for host specific inline assembly accelerations... $ECHO_C" >&6; }
34474 # Check whether --enable-host-specific-asms was given.
34475 if test "${enable_host_specific_asms+set}" = set; then
34476 enableval=$enable_host_specific_asms; if test "$enableval" = yes; then
34477 { echo "$as_me:$LINENO: result: yes" >&5
34478 echo "${ECHO_T}yes" >&6; }
34479 speedup_host_specific_asms=1
34481 { echo "$as_me:$LINENO: result: no" >&5
34482 echo "${ECHO_T}no" >&6; }
34483 speedup_host_specific_asms=0
34487 { echo "$as_me:$LINENO: result: no" >&5
34488 echo "${ECHO_T}no" >&6; }
34489 speedup_host_specific_asms=0
34495 { echo "$as_me:$LINENO: checking whether to ignore bad MSR references" >&5
34496 echo $ECHO_N "checking whether to ignore bad MSR references... $ECHO_C" >&6; }
34497 # Check whether --enable-ignore-bad-msr was given.
34498 if test "${enable_ignore_bad_msr+set}" = set; then
34499 enableval=$enable_ignore_bad_msr; if test "$enableval" = yes; then
34500 { echo "$as_me:$LINENO: result: yes" >&5
34501 echo "${ECHO_T}yes" >&6; }
34502 cat >>confdefs.h <<\_ACEOF
34503 #define BX_IGNORE_BAD_MSR 1
34507 { echo "$as_me:$LINENO: result: no" >&5
34508 echo "${ECHO_T}no" >&6; }
34509 cat >>confdefs.h <<\_ACEOF
34510 #define BX_IGNORE_BAD_MSR 0
34516 { echo "$as_me:$LINENO: result: yes" >&5
34517 echo "${ECHO_T}yes" >&6; }
34518 cat >>confdefs.h <<\_ACEOF
34519 #define BX_IGNORE_BAD_MSR 1
34527 { echo "$as_me:$LINENO: checking for port e9 hack" >&5
34528 echo $ECHO_N "checking for port e9 hack... $ECHO_C" >&6; }
34529 # Check whether --enable-port-e9-hack was given.
34530 if test "${enable_port_e9_hack+set}" = set; then
34531 enableval=$enable_port_e9_hack; if test "$enableval" = yes; then
34532 { echo "$as_me:$LINENO: result: yes" >&5
34533 echo "${ECHO_T}yes" >&6; }
34534 cat >>confdefs.h <<\_ACEOF
34535 #define BX_PORT_E9_HACK 1
34539 { echo "$as_me:$LINENO: result: no" >&5
34540 echo "${ECHO_T}no" >&6; }
34541 cat >>confdefs.h <<\_ACEOF
34542 #define BX_PORT_E9_HACK 0
34548 { echo "$as_me:$LINENO: result: yes" >&5
34549 echo "${ECHO_T}yes" >&6; }
34550 cat >>confdefs.h <<\_ACEOF
34551 #define BX_PORT_E9_HACK 1
34559 { echo "$as_me:$LINENO: checking show IPS" >&5
34560 echo $ECHO_N "checking show IPS... $ECHO_C" >&6; }
34561 # Check whether --enable-show-ips was given.
34562 if test "${enable_show_ips+set}" = set; then
34563 enableval=$enable_show_ips; if test "$enableval" = yes; then
34564 { echo "$as_me:$LINENO: result: yes" >&5
34565 echo "${ECHO_T}yes" >&6; }
34566 cat >>confdefs.h <<\_ACEOF
34567 #define BX_SHOW_IPS 1
34571 { echo "$as_me:$LINENO: result: no" >&5
34572 echo "${ECHO_T}no" >&6; }
34573 cat >>confdefs.h <<\_ACEOF
34574 #define BX_SHOW_IPS 0
34580 { echo "$as_me:$LINENO: result: no" >&5
34581 echo "${ECHO_T}no" >&6; }
34582 cat >>confdefs.h <<\_ACEOF
34583 #define BX_SHOW_IPS 0
34591 { echo "$as_me:$LINENO: checking for use of .cpp as suffix" >&5
34592 echo $ECHO_N "checking for use of .cpp as suffix... $ECHO_C" >&6; }
34593 # Check whether --enable-cpp was given.
34594 if test "${enable_cpp+set}" = set; then
34595 enableval=$enable_cpp; if test "$enableval" = yes; then
34596 { echo "$as_me:$LINENO: result: yes" >&5
34597 echo "${ECHO_T}yes" >&6; }
34598 SUFFIX_LINE='.SUFFIXES
: .cpp
'
34601 { echo "$as_me:$LINENO: result: no" >&5
34602 echo "${ECHO_T}no" >&6; }
34603 SUFFIX_LINE='.SUFFIXES
: .cc
'
34608 { echo "$as_me:$LINENO: result: no" >&5
34609 echo "${ECHO_T}no" >&6; }
34610 SUFFIX_LINE='.SUFFIXES
: .cc
'
34619 if test "$enable_cpp" = yes; then
34620 echo "moving .cc source files to .cpp"
34621 sourcefiles=`find . -name "*.cc" -print`
34622 if test "$sourcefiles" != ""; then
34623 for ccname in $sourcefiles
34625 cppname=`echo $ccname | sed -e "s/\.cc$/.cpp/"`
34626 echo "mv $ccname $cppname"
34627 mv $ccname $cppname
34630 echo "no more .cc source files to rename"
34636 { echo "$as_me:$LINENO: checking for Bochs internal debugger support" >&5
34637 echo $ECHO_N "checking for Bochs internal debugger support... $ECHO_C" >&6; }
34638 # Check whether --enable-debugger was given.
34639 if test "${enable_debugger+set}" = set; then
34640 enableval=$enable_debugger; if test "$enableval" = yes; then
34641 { echo "$as_me:$LINENO: result: yes" >&5
34642 echo "${ECHO_T}yes" >&6; }
34643 cat >>confdefs.h <<\_ACEOF
34644 #define BX_DEBUGGER 1
34647 DEBUGGER_VAR='$
(DEBUGGER_LIB
)'
34650 { echo "$as_me:$LINENO: result: no" >&5
34651 echo "${ECHO_T}no" >&6; }
34652 cat >>confdefs.h <<\_ACEOF
34653 #define BX_DEBUGGER 0
34662 { echo "$as_me:$LINENO: result: no" >&5
34663 echo "${ECHO_T}no" >&6; }
34664 cat >>confdefs.h <<\_ACEOF
34665 #define BX_DEBUGGER 0
34676 { echo "$as_me:$LINENO: checking for external debugger" >&5
34677 echo $ECHO_N "checking for external debugger... $ECHO_C" >&6; }
34679 # Check whether --enable-external-debugger was given.
34680 if test "${enable_external_debugger+set}" = set; then
34681 enableval=$enable_external_debugger; if test "$enableval" = yes; then
34683 *-pc-windows* | *-cygwin* | *-mingw32*)
34684 { echo "$as_me:$LINENO: result: yes" >&5
34685 echo "${ECHO_T}yes" >&6; }
34686 cat >>confdefs.h <<\_ACEOF
34687 #define BX_EXTERNAL_DEBUGGER 1
34690 EXT_DEBUG_OBJS=extdb.o
34693 echo "ERROR: external debugger is currently supported on win32 only"
34698 { echo "$as_me:$LINENO: result: no" >&5
34699 echo "${ECHO_T}no" >&6; }
34703 { echo "$as_me:$LINENO: result: no" >&5
34704 echo "${ECHO_T}no" >&6; }
34710 { echo "$as_me:$LINENO: checking for disassembler support" >&5
34711 echo $ECHO_N "checking for disassembler support... $ECHO_C" >&6; }
34712 # Check whether --enable-disasm was given.
34713 if test "${enable_disasm+set}" = set; then
34714 enableval=$enable_disasm; if test "$enableval" = yes; then
34715 { echo "$as_me:$LINENO: result: yes" >&5
34716 echo "${ECHO_T}yes" >&6; }
34717 cat >>confdefs.h <<\_ACEOF
34718 #define BX_DISASM 1
34721 DISASM_VAR='$
(DISASM_LIB
)'
34723 { echo "$as_me:$LINENO: result: no" >&5
34724 echo "${ECHO_T}no" >&6; }
34725 if test "$bx_debugger" = 1; then
34726 echo "ERROR: debugger is enabled, so --enable-disasm is required"
34729 cat >>confdefs.h <<\_ACEOF
34730 #define BX_DISASM 0
34737 { echo "$as_me:$LINENO: result: yes" >&5
34738 echo "${ECHO_T}yes" >&6; }
34739 cat >>confdefs.h <<\_ACEOF
34740 #define BX_DISASM 1
34743 DISASM_VAR='$
(DISASM_LIB
)'
34749 { echo "$as_me:$LINENO: checking for ALL optimizations enabled" >&5
34750 echo $ECHO_N "checking for ALL optimizations enabled... $ECHO_C" >&6; }
34751 # Check whether --enable-all-optimizations was given.
34752 if test "${enable_all_optimizations+set}" = set; then
34753 enableval=$enable_all_optimizations; if test "$enableval" = yes; then
34754 { echo "$as_me:$LINENO: result: yes" >&5
34755 echo "${ECHO_T}yes" >&6; }
34758 { echo "$as_me:$LINENO: result: no" >&5
34759 echo "${ECHO_T}no" >&6; }
34765 { echo "$as_me:$LINENO: result: no" >&5
34766 echo "${ECHO_T}no" >&6; }
34774 # Optimizations section. Decide what the status of various optimizations
34775 # should be based on configure choices and other factors.
34778 if test "$speedups_all" = 1; then
34779 # Configure requested to force all options enabled.
34780 speedup_guest2host_tlb=1
34783 speedup_TraceCache=1
34787 if test "$speedup_iCache" = 0 -a "$speedup_TraceCache" = 1; then
34788 { { echo "$as_me:$LINENO: error: iCache is required to compile with trace cache optimization" >&5
34789 echo "$as_me: error: iCache is required to compile with trace cache optimization" >&2;}
34790 { (exit 1); exit 1; }; }
34793 if test "$speedup_guest2host_tlb" = 1; then
34794 cat >>confdefs.h <<\_ACEOF
34795 #define BX_SupportGuest2HostTLB 1
34799 cat >>confdefs.h <<\_ACEOF
34800 #define BX_SupportGuest2HostTLB 0
34805 if test "$speedup_repeat" = 1; then
34806 cat >>confdefs.h <<\_ACEOF
34807 #define BX_SupportRepeatSpeedups 1
34811 cat >>confdefs.h <<\_ACEOF
34812 #define BX_SupportRepeatSpeedups 0
34817 if test "$speedup_iCache" = 1; then
34818 cat >>confdefs.h <<\_ACEOF
34819 #define BX_SUPPORT_ICACHE 1
34823 cat >>confdefs.h <<\_ACEOF
34824 #define BX_SUPPORT_ICACHE 0
34829 if test "$speedup_host_specific_asms" = 1; then
34830 cat >>confdefs.h <<\_ACEOF
34831 #define BX_SupportHostAsms 1
34835 cat >>confdefs.h <<\_ACEOF
34836 #define BX_SupportHostAsms 0
34841 if test "$speedup_fastcall" = 1; then
34842 cat >>confdefs.h <<\_ACEOF
34843 #define BX_FAST_FUNC_CALL 1
34847 cat >>confdefs.h <<\_ACEOF
34848 #define BX_FAST_FUNC_CALL 0
34853 if test "$speedup_TraceCache" = 1; then
34854 cat >>confdefs.h <<\_ACEOF
34855 #define BX_SUPPORT_TRACE_CACHE 1
34859 cat >>confdefs.h <<\_ACEOF
34860 #define BX_SUPPORT_TRACE_CACHE 0
34867 rl_without_curses_ok=no
34868 rl_with_curses_ok=no
34870 { echo "$as_me:$LINENO: checking whether user wants readline" >&5
34871 echo $ECHO_N "checking whether user wants readline... $ECHO_C" >&6; }
34872 # Check whether --enable-readline was given.
34873 if test "${enable_readline+set}" = set; then
34874 enableval=$enable_readline; if test "$enableval" = yes; then
34875 { echo "$as_me:$LINENO: result: yes" >&5
34876 echo "${ECHO_T}yes" >&6; }
34879 { echo "$as_me:$LINENO: result: no" >&5
34880 echo "${ECHO_T}no" >&6; }
34885 { echo "$as_me:$LINENO: result: yes" >&5
34886 echo "${ECHO_T}yes" >&6; }
34894 { echo "$as_me:$LINENO: checking whether to use readline" >&5
34895 echo $ECHO_N "checking whether to use readline... $ECHO_C" >&6; }
34896 if test "$want_readline" = yes; then
34897 if test "$bx_debugger" = 1; then
34899 { echo "$as_me:$LINENO: checking if readline works without -lcurses" >&5
34900 echo $ECHO_N "checking if readline works without -lcurses... $ECHO_C" >&6; }
34902 LIBS="$LIBS -lreadline"
34903 if test "$cross_compiling" = yes; then
34904 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
34905 See \`config.log' for more details.
" >&5
34906 echo "$as_me: error
: cannot run
test program
while cross compiling
34907 See \
`config.log' for more details." >&2;}
34908 { (exit 1); exit 1; }; }
34910 cat >conftest.$ac_ext <<_ACEOF
34913 cat confdefs.h >>conftest.$ac_ext
34914 cat >>conftest.$ac_ext <<_ACEOF
34915 /* end confdefs.h. */
34918 #include <readline/readline.h>
34919 int main() { rl_initialize(); exit(0); }
34922 rm -f conftest$ac_exeext
34923 if { (ac_try="$ac_link"
34924 case "(($ac_try" in
34925 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34926 *) ac_try_echo
=$ac_try;;
34928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34929 (eval "$ac_link") 2>&5
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34933 { (case "(($ac_try" in
34934 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34935 *) ac_try_echo=$ac_try;;
34937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34938 (eval "$ac_try") 2>&5
34940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34941 (exit $ac_status); }; }; then
34942 { echo "$as_me:$LINENO: result: yes" >&5
34943 echo "${ECHO_T}yes" >&6; }
34944 rl_without_curses_ok=yes
34946 echo "$as_me: program exited with status $ac_status" >&5
34947 echo "$as_me: failed program was:" >&5
34948 sed 's/^/| /' conftest.$ac_ext >&5
34950 ( exit $ac_status )
34951 { echo "$as_me:$LINENO: result: no" >&5
34952 echo "${ECHO_T}no" >&6; }
34955 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34959 { echo "$as_me:$LINENO: checking if readline works with -lcurses" >&5
34960 echo $ECHO_N "checking if readline works with -lcurses... $ECHO_C" >&6; }
34961 LIBS="$LIBS -lcurses"
34962 if test "$cross_compiling" = yes; then
34963 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
34964 See \`config.log
' for more details." >&5
34965 echo "$as_me: error: cannot run test program while cross compiling
34966 See \`config.log' for more details.
" >&2;}
34967 { (exit 1); exit 1; }; }
34969 cat >conftest.$ac_ext <<_ACEOF
34972 cat confdefs.h >>conftest.$ac_ext
34973 cat >>conftest.$ac_ext <<_ACEOF
34974 /* end confdefs.h. */
34977 #include <readline/readline.h>
34978 int main() { rl_initialize(); exit(0); }
34981 rm -f conftest$ac_exeext
34982 if { (ac_try="$ac_link"
34983 case "(($ac_try" in
34984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34985 *) ac_try_echo=$ac_try;;
34987 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
34988 (eval "$ac_link") 2>&5
34990 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
34991 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34992 { (case "(($ac_try" in
34993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34994 *) ac_try_echo=$ac_try;;
34996 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
34997 (eval "$ac_try") 2>&5
34999 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
35000 (exit $ac_status); }; }; then
35001 { echo "$as_me:$LINENO: result
: yes" >&5
35002 echo "${ECHO_T}yes" >&6; }
35003 rl_with_curses_ok=yes
35005 echo "$as_me: program exited with status
$ac_status" >&5
35006 echo "$as_me: failed program was
:" >&5
35007 sed 's/^/| /' conftest.$ac_ext >&5
35009 ( exit $ac_status )
35010 { echo "$as_me:$LINENO: result
: no
" >&5
35011 echo "${ECHO_T}no
" >&6; }
35014 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35020 if test "$rl_without_curses_ok" = yes; then
35021 { echo "$as_me:$LINENO: result
: yes" >&5
35022 echo "${ECHO_T}yes" >&6; }
35023 cat >>confdefs.h <<\_ACEOF
35024 #define HAVE_LIBREADLINE 1
35027 READLINE_LIB="-lreadline"
35029 elif test "$rl_with_curses_ok" = yes; then
35030 { echo "$as_me:$LINENO: result
: yes" >&5
35031 echo "${ECHO_T}yes" >&6; }
35032 cat >>confdefs.h <<\_ACEOF
35033 #define HAVE_LIBREADLINE 1
35036 READLINE_LIB="-lreadline -lcurses"
35039 { echo "$as_me:$LINENO: result
: no
" >&5
35040 echo "${ECHO_T}no
" >&6; }
35041 echo WARNING: The readline library was disabled because it was not found.
35044 { echo "$as_me:$LINENO: result
: no
" >&5
35045 echo "${ECHO_T}no
" >&6; }
35048 { echo "$as_me:$LINENO: result
: no
" >&5
35049 echo "${ECHO_T}no
" >&6; }
35053 if test "${ac_cv_header_readline_history_h+set}" = set; then
35054 { echo "$as_me:$LINENO: checking
for readline
/history.h
" >&5
35055 echo $ECHO_N "checking
for readline
/history.h...
$ECHO_C" >&6; }
35056 if test "${ac_cv_header_readline_history_h+set}" = set; then
35057 echo $ECHO_N "(cached
) $ECHO_C" >&6
35059 { echo "$as_me:$LINENO: result
: $ac_cv_header_readline_history_h" >&5
35060 echo "${ECHO_T}$ac_cv_header_readline_history_h" >&6; }
35062 # Is the header compilable?
35063 { echo "$as_me:$LINENO: checking readline
/history.h usability
" >&5
35064 echo $ECHO_N "checking readline
/history.h usability...
$ECHO_C" >&6; }
35065 cat >conftest.$ac_ext <<_ACEOF
35068 cat confdefs.h >>conftest.$ac_ext
35069 cat >>conftest.$ac_ext <<_ACEOF
35070 /* end confdefs.h. */
35071 $ac_includes_default
35072 #include <readline/history.h>
35074 rm -f conftest.$ac_objext
35075 if { (ac_try="$ac_compile"
35076 case "(($ac_try" in
35077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35078 *) ac_try_echo=$ac_try;;
35080 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
35081 (eval "$ac_compile") 2>conftest.er1
35083 grep -v '^ *+' conftest.er1 >conftest.err
35085 cat conftest.err >&5
35086 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
35087 (exit $ac_status); } && {
35088 test -z "$ac_c_werror_flag" ||
35089 test ! -s conftest.err
35090 } && test -s conftest.$ac_objext; then
35091 ac_header_compiler=yes
35093 echo "$as_me: failed program was
:" >&5
35094 sed 's/^/| /' conftest.$ac_ext >&5
35096 ac_header_compiler=no
35099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35100 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
35101 echo "${ECHO_T}$ac_header_compiler" >&6; }
35103 # Is the header present?
35104 { echo "$as_me:$LINENO: checking readline
/history.h presence
" >&5
35105 echo $ECHO_N "checking readline
/history.h presence...
$ECHO_C" >&6; }
35106 cat >conftest.$ac_ext <<_ACEOF
35109 cat confdefs.h >>conftest.$ac_ext
35110 cat >>conftest.$ac_ext <<_ACEOF
35111 /* end confdefs.h. */
35112 #include <readline/history.h>
35114 if { (ac_try="$ac_cpp conftest.
$ac_ext"
35115 case "(($ac_try" in
35116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35117 *) ac_try_echo=$ac_try;;
35119 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
35120 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
35122 grep -v '^ *+' conftest.er1 >conftest.err
35124 cat conftest.err >&5
35125 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
35126 (exit $ac_status); } >/dev/null && {
35127 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35128 test ! -s conftest.err
35130 ac_header_preproc=yes
35132 echo "$as_me: failed program was
:" >&5
35133 sed 's/^/| /' conftest.$ac_ext >&5
35135 ac_header_preproc=no
35138 rm -f conftest.err conftest.$ac_ext
35139 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
35140 echo "${ECHO_T}$ac_header_preproc" >&6; }
35142 # So? What about this header?
35143 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35145 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
35146 echo "$as_me: WARNING
: readline
/history.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
35147 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: proceeding with the compiler
's result" >&5
35148 echo "$as_me: WARNING: readline/history.h: proceeding with the compiler's result
" >&2;}
35149 ac_header_preproc=yes
35152 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: present but cannot be compiled
" >&5
35153 echo "$as_me: WARNING
: readline
/history.h
: present but cannot be compiled
" >&2;}
35154 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: check
for missing prerequisite headers?
" >&5
35155 echo "$as_me: WARNING
: readline
/history.h
: check
for missing prerequisite headers?
" >&2;}
35156 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: see the Autoconf documentation
" >&5
35157 echo "$as_me: WARNING
: readline
/history.h
: see the Autoconf documentation
" >&2;}
35158 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: section
\"Present But Cannot Be Compiled
\"" >&5
35159 echo "$as_me: WARNING
: readline
/history.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
35160 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: proceeding with the preprocessor
's result" >&5
35161 echo "$as_me: WARNING: readline/history.h: proceeding with the preprocessor's result
" >&2;}
35162 { echo "$as_me:$LINENO: WARNING
: readline
/history.h
: in the future
, the compiler will take precedence
" >&5
35163 echo "$as_me: WARNING
: readline
/history.h
: in the future
, the compiler will take precedence
" >&2;}
35167 { echo "$as_me:$LINENO: checking
for readline
/history.h
" >&5
35168 echo $ECHO_N "checking
for readline
/history.h...
$ECHO_C" >&6; }
35169 if test "${ac_cv_header_readline_history_h+set}" = set; then
35170 echo $ECHO_N "(cached
) $ECHO_C" >&6
35172 ac_cv_header_readline_history_h=$ac_header_preproc
35174 { echo "$as_me:$LINENO: result
: $ac_cv_header_readline_history_h" >&5
35175 echo "${ECHO_T}$ac_cv_header_readline_history_h" >&6; }
35178 if test $ac_cv_header_readline_history_h = yes; then
35179 cat >>confdefs.h <<\_ACEOF
35180 #define HAVE_READLINE_HISTORY_H 1
35188 INSTRUMENT_DIR='instrument/stubs'
35190 { echo "$as_me:$LINENO: checking
for instrumentation support
" >&5
35191 echo $ECHO_N "checking
for instrumentation support...
$ECHO_C" >&6; }
35192 # Check whether --enable-instrumentation was given.
35193 if test "${enable_instrumentation+set}" = set; then
35194 enableval=$enable_instrumentation; if test "$enableval" = yes; then
35195 { echo "$as_me:$LINENO: result
: yes" >&5
35196 echo "${ECHO_T}yes" >&6; }
35197 cat >>confdefs.h <<\_ACEOF
35198 #define BX_INSTRUMENTATION 1
35201 INSTRUMENT_VAR='$(INSTRUMENT_LIB)'
35202 elif test "$enableval" = no; then
35203 { echo "$as_me:$LINENO: result
: no
" >&5
35204 echo "${ECHO_T}no
" >&6; }
35205 cat >>confdefs.h <<\_ACEOF
35206 #define BX_INSTRUMENTATION 0
35211 { echo "$as_me:$LINENO: result
: yes" >&5
35212 echo "${ECHO_T}yes" >&6; }
35213 cat >>confdefs.h <<\_ACEOF
35214 #define BX_INSTRUMENTATION 1
35217 INSTRUMENT_DIR=$enableval
35218 INSTRUMENT_VAR='$(INSTRUMENT_LIB)'
35222 { echo "$as_me:$LINENO: result
: no
" >&5
35223 echo "${ECHO_T}no
" >&6; }
35224 cat >>confdefs.h <<\_ACEOF
35225 #define BX_INSTRUMENTATION 0
35236 if test "$bx_plugins" = 0; then
35239 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS wsock32.lib
"
35241 *-cygwin* | *-mingw32*)
35242 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -lwsock32"
35247 { echo "$as_me:$LINENO: checking
enable logging
" >&5
35248 echo $ECHO_N "checking
enable logging...
$ECHO_C" >&6; }
35249 # Check whether --enable-logging was given.
35250 if test "${enable_logging+set}" = set; then
35251 enableval=$enable_logging; if test "$enableval" = yes; then
35252 { echo "$as_me:$LINENO: result
: yes" >&5
35253 echo "${ECHO_T}yes" >&6; }
35254 cat >>confdefs.h <<\_ACEOF
35255 #define BX_NO_LOGGING 0
35259 { echo "$as_me:$LINENO: result
: no
" >&5
35260 echo "${ECHO_T}no
" >&6; }
35261 cat >>confdefs.h <<\_ACEOF
35262 #define BX_NO_LOGGING 1
35268 { echo "$as_me:$LINENO: result
: yes" >&5
35269 echo "${ECHO_T}yes" >&6; }
35270 cat >>confdefs.h <<\_ACEOF
35271 #define BX_NO_LOGGING 0
35279 { echo "$as_me:$LINENO: checking
for raw serial support
" >&5
35280 echo $ECHO_N "checking
for raw serial support...
$ECHO_C" >&6; }
35281 # Check whether --enable-raw-serial was given.
35282 if test "${enable_raw_serial+set}" = set; then
35283 enableval=$enable_raw_serial; if test "$enableval" = yes; then
35284 { echo "$as_me:$LINENO: result
: yes" >&5
35285 echo "${ECHO_T}yes" >&6; }
35286 cat >>confdefs.h <<\_ACEOF
35287 #define USE_RAW_SERIAL 1
35291 { echo "$as_me:$LINENO: result
: no
" >&5
35292 echo "${ECHO_T}no
" >&6; }
35293 cat >>confdefs.h <<\_ACEOF
35294 #define USE_RAW_SERIAL 0
35300 { echo "$as_me:$LINENO: result
: no
" >&5
35301 echo "${ECHO_T}no
" >&6; }
35302 cat >>confdefs.h <<\_ACEOF
35303 #define USE_RAW_SERIAL 0
35311 { echo "$as_me:$LINENO: checking
for VESA BIOS extensions
" >&5
35312 echo $ECHO_N "checking
for VESA BIOS extensions...
$ECHO_C" >&6; }
35313 # Check whether --enable-vbe was given.
35314 if test "${enable_vbe+set}" = set; then
35315 enableval=$enable_vbe; if test "$enableval" = yes; then
35316 { echo "$as_me:$LINENO: result
: yes" >&5
35317 echo "${ECHO_T}yes" >&6; }
35318 cat >>confdefs.h <<\_ACEOF
35319 #define BX_SUPPORT_VBE 1
35322 if test "$pci" = 1; then
35323 cat >>confdefs.h <<\_ACEOF
35324 #define BX_SUPPORT_PCIVGA 1
35329 { echo "$as_me:$LINENO: result
: no
" >&5
35330 echo "${ECHO_T}no
" >&6; }
35331 cat >>confdefs.h <<\_ACEOF
35332 #define BX_SUPPORT_VBE 0
35338 { echo "$as_me:$LINENO: result
: yes" >&5
35339 echo "${ECHO_T}yes" >&6; }
35340 cat >>confdefs.h <<\_ACEOF
35341 #define BX_SUPPORT_VBE 1
35344 if test "$pci" = 1; then
35345 cat >>confdefs.h <<\_ACEOF
35346 #define BX_SUPPORT_PCIVGA 1
35355 { echo "$as_me:$LINENO: checking
for CLGD54XX emulation
" >&5
35356 echo $ECHO_N "checking
for CLGD54XX emulation...
$ECHO_C" >&6; }
35357 # Check whether --enable-clgd54xx was given.
35358 if test "${enable_clgd54xx+set}" = set; then
35359 enableval=$enable_clgd54xx; if test "$enableval" = yes; then
35360 { echo "$as_me:$LINENO: result
: yes" >&5
35361 echo "${ECHO_T}yes" >&6; }
35362 cat >>confdefs.h <<\_ACEOF
35363 #define BX_SUPPORT_CLGD54XX 1
35367 { echo "$as_me:$LINENO: result
: no
" >&5
35368 echo "${ECHO_T}no
" >&6; }
35369 cat >>confdefs.h <<\_ACEOF
35370 #define BX_SUPPORT_CLGD54XX 0
35376 { echo "$as_me:$LINENO: result
: no
" >&5
35377 echo "${ECHO_T}no
" >&6; }
35378 cat >>confdefs.h <<\_ACEOF
35379 #define BX_SUPPORT_CLGD54XX 0
35388 { echo "$as_me:$LINENO: checking
for FPU emulation
" >&5
35389 echo $ECHO_N "checking
for FPU emulation...
$ECHO_C" >&6; }
35391 # Check whether --enable-fpu was given.
35392 if test "${enable_fpu+set}" = set; then
35393 enableval=$enable_fpu; if test "$enableval" = yes; then
35394 { echo "$as_me:$LINENO: result
: yes" >&5
35395 echo "${ECHO_T}yes" >&6; }
35396 cat >>confdefs.h <<\_ACEOF
35397 #define BX_SUPPORT_FPU 1
35400 FPU_VAR='$(FPU_LIB)'
35401 elif test "$enableval" = no; then
35402 { echo "$as_me:$LINENO: result
: no
" >&5
35403 echo "${ECHO_T}no
" >&6; }
35404 cat >>confdefs.h <<\_ACEOF
35405 #define BX_SUPPORT_FPU 0
35411 echo "ERROR
: --enable-fpu does not accept a path
"
35417 { echo "$as_me:$LINENO: result
: yes" >&5
35418 echo "${ECHO_T}yes" >&6; }
35419 cat >>confdefs.h <<\_ACEOF
35420 #define BX_SUPPORT_FPU 1
35423 FPU_VAR='$(FPU_LIB)'
35430 { echo "$as_me:$LINENO: checking
for VME support
" >&5
35431 echo $ECHO_N "checking
for VME support...
$ECHO_C" >&6; }
35432 # Check whether --enable-vme was given.
35433 if test "${enable_vme+set}" = set; then
35434 enableval=$enable_vme; if test "$enableval" = yes; then
35435 { echo "$as_me:$LINENO: result
: yes" >&5
35436 echo "${ECHO_T}yes" >&6; }
35437 cat >>confdefs.h <<\_ACEOF
35438 #define BX_SUPPORT_VME 1
35441 elif test "$enableval" = no; then
35442 { echo "$as_me:$LINENO: result
: no
" >&5
35443 echo "${ECHO_T}no
" >&6; }
35444 cat >>confdefs.h <<\_ACEOF
35445 #define BX_SUPPORT_VME 0
35452 if test "$bx_cpu_level" -ge 5; then
35453 { echo "$as_me:$LINENO: result
: yes" >&5
35454 echo "${ECHO_T}yes" >&6; }
35455 cat >>confdefs.h <<\_ACEOF
35456 #define BX_SUPPORT_VME 1
35466 { echo "$as_me:$LINENO: checking
for MMX support
" >&5
35467 echo $ECHO_N "checking
for MMX support...
$ECHO_C" >&6; }
35468 # Check whether --enable-mmx was given.
35469 if test "${enable_mmx+set}" = set; then
35470 enableval=$enable_mmx; if test "$enableval" = yes; then
35471 { echo "$as_me:$LINENO: result
: yes" >&5
35472 echo "${ECHO_T}yes" >&6; }
35473 cat >>confdefs.h <<\_ACEOF
35474 #define BX_SUPPORT_MMX 1
35477 elif test "$enableval" = no; then
35478 { echo "$as_me:$LINENO: result
: no
" >&5
35479 echo "${ECHO_T}no
" >&6; }
35480 cat >>confdefs.h <<\_ACEOF
35481 #define BX_SUPPORT_MMX 0
35489 if test "$bx_cpu_level" -ge 5; then
35490 { echo "$as_me:$LINENO: result
: yes" >&5
35491 echo "${ECHO_T}yes" >&6; }
35492 cat >>confdefs.h <<\_ACEOF
35493 #define BX_SUPPORT_MMX 1
35502 { echo "$as_me:$LINENO: checking
for 3DNow
! support
" >&5
35503 echo $ECHO_N "checking
for 3DNow
! support...
$ECHO_C" >&6; }
35504 # Check whether --enable-3dnow was given.
35505 if test "${enable_3dnow+set}" = set; then
35506 enableval=$enable_3dnow; if test "$enableval" = yes; then
35507 { echo "$as_me:$LINENO: result
: yes" >&5
35508 echo "${ECHO_T}yes" >&6; }
35509 cat >>confdefs.h <<\_ACEOF
35510 #define BX_SUPPORT_3DNOW 1
35513 elif test "$enableval" = no; then
35514 { echo "$as_me:$LINENO: result
: no
" >&5
35515 echo "${ECHO_T}no
" >&6; }
35516 cat >>confdefs.h <<\_ACEOF
35517 #define BX_SUPPORT_3DNOW 0
35524 { echo "$as_me:$LINENO: result
: no
" >&5
35525 echo "${ECHO_T}no
" >&6; }
35526 cat >>confdefs.h <<\_ACEOF
35527 #define BX_SUPPORT_3DNOW 0
35536 { echo "$as_me:$LINENO: checking
for SSE support
" >&5
35537 echo $ECHO_N "checking
for SSE support...
$ECHO_C" >&6; }
35538 # Check whether --enable-sse was given.
35539 if test "${enable_sse+set}" = set; then
35540 enableval=$enable_sse; case "$enableval" in
35543 { echo "$as_me:$LINENO: result
: no
" >&5
35544 echo "${ECHO_T}no
" >&6; }
35548 { echo "$as_me:$LINENO: result
: SSE1
" >&5
35549 echo "${ECHO_T}SSE1
" >&6; }
35553 { echo "$as_me:$LINENO: result
: SSE2
" >&5
35554 echo "${ECHO_T}SSE2
" >&6; }
35558 { echo "$as_me:$LINENO: result
: SSE3
" >&5
35559 echo "${ECHO_T}SSE3
" >&6; }
35563 { echo "$as_me:$LINENO: result
: SSE4
" >&5
35564 echo "${ECHO_T}SSE4
" >&6; }
35567 echo "ERROR
: --enable-sse=$enableval not understood. Use
--enable-sse=no|
1|
2|
3|
4"
35574 if test "$use_x86_64" = 1; then
35576 { echo "$as_me:$LINENO: result
: SSE2
" >&5
35577 echo "${ECHO_T}SSE2
" >&6; }
35579 { echo "$as_me:$LINENO: result
: no
" >&5
35580 echo "${ECHO_T}no
" >&6; }
35587 if test "$support_sse" -gt 0 -a "$bx_cpu_level" -lt 6; then
35588 { { echo "$as_me:$LINENO: error
: for SSE support the CPU level must be
set to
6" >&5
35589 echo "$as_me: error
: for SSE support the CPU level must be
set to
6" >&2;}
35590 { (exit 1); exit 1; }; }
35593 if test "$support_sse" -lt 2 -a "$use_x86_64" = 1; then
35594 { { echo "$as_me:$LINENO: error
: x86-64 needs SSE2 support
" >&5
35595 echo "$as_me: error
: x86-64 needs SSE2 support
" >&2;}
35596 { (exit 1); exit 1; }; }
35599 if test "$support_sse" = 4; then
35600 cat >>confdefs.h <<\_ACEOF
35601 #define BX_SUPPORT_SSE 4
35604 elif test "$support_sse" = 3; then
35605 cat >>confdefs.h <<\_ACEOF
35606 #define BX_SUPPORT_SSE 3
35609 elif test "$support_sse" = 2; then
35610 cat >>confdefs.h <<\_ACEOF
35611 #define BX_SUPPORT_SSE 2
35614 elif test "$support_sse" = 1; then
35615 cat >>confdefs.h <<\_ACEOF
35616 #define BX_SUPPORT_SSE 1
35620 cat >>confdefs.h <<\_ACEOF
35621 #define BX_SUPPORT_SSE 0
35626 support_sse_extensions=0
35627 { echo "$as_me:$LINENO: checking
for SSE extensions support
" >&5
35628 echo $ECHO_N "checking
for SSE extensions support...
$ECHO_C" >&6; }
35629 # Check whether --enable-sse-extension was given.
35630 if test "${enable_sse_extension+set}" = set; then
35631 enableval=$enable_sse_extension; if test "$enableval" = yes; then
35632 { echo "$as_me:$LINENO: result
: yes" >&5
35633 echo "${ECHO_T}yes" >&6; }
35634 cat >>confdefs.h <<\_ACEOF
35635 #define BX_SUPPORT_SSE_EXTENSION 1
35638 support_sse_extensions=1
35639 elif test "$enableval" = no; then
35640 { echo "$as_me:$LINENO: result
: no
" >&5
35641 echo "${ECHO_T}no
" >&6; }
35642 cat >>confdefs.h <<\_ACEOF
35643 #define BX_SUPPORT_SSE_EXTENSION 0
35650 { echo "$as_me:$LINENO: result
: no
" >&5
35651 echo "${ECHO_T}no
" >&6; }
35652 cat >>confdefs.h <<\_ACEOF
35653 #define BX_SUPPORT_SSE_EXTENSION 0
35661 { echo "$as_me:$LINENO: checking
for DAZ support
" >&5
35662 echo $ECHO_N "checking
for DAZ support...
$ECHO_C" >&6; }
35663 # Check whether --enable-daz was given.
35664 if test "${enable_daz+set}" = set; then
35665 enableval=$enable_daz; if test "$enableval" = yes; then
35666 { echo "$as_me:$LINENO: result
: yes" >&5
35667 echo "${ECHO_T}yes" >&6; }
35668 cat >>confdefs.h <<\_ACEOF
35669 #define BX_SUPPORT_DAZ 1
35672 elif test "$enableval" = no; then
35673 { echo "$as_me:$LINENO: result
: no
" >&5
35674 echo "${ECHO_T}no
" >&6; }
35675 cat >>confdefs.h <<\_ACEOF
35676 #define BX_SUPPORT_DAZ 0
35683 if test "$support_sse" -ge 2; then
35684 { echo "$as_me:$LINENO: result
: yes" >&5
35685 echo "${ECHO_T}yes" >&6; }
35686 cat >>confdefs.h <<\_ACEOF
35687 #define BX_SUPPORT_DAZ 1
35691 { echo "$as_me:$LINENO: result
: no
" >&5
35692 echo "${ECHO_T}no
" >&6; }
35693 cat >>confdefs.h <<\_ACEOF
35694 #define BX_SUPPORT_DAZ 0
35704 { echo "$as_me:$LINENO: checking
for XSAVE
/XRSTOR support
" >&5
35705 echo $ECHO_N "checking
for XSAVE
/XRSTOR support...
$ECHO_C" >&6; }
35706 # Check whether --enable-xsave was given.
35707 if test "${enable_xsave+set}" = set; then
35708 enableval=$enable_xsave; if test "$enableval" = yes; then
35709 { echo "$as_me:$LINENO: result
: yes" >&5
35710 echo "${ECHO_T}yes" >&6; }
35711 cat >>confdefs.h <<\_ACEOF
35712 #define BX_SUPPORT_XSAVE 1
35716 elif test "$enableval" = no; then
35717 { echo "$as_me:$LINENO: result
: no
" >&5
35718 echo "${ECHO_T}no
" >&6; }
35719 cat >>confdefs.h <<\_ACEOF
35720 #define BX_SUPPORT_XSAVE 0
35727 { echo "$as_me:$LINENO: result
: no
" >&5
35728 echo "${ECHO_T}no
" >&6; }
35729 cat >>confdefs.h <<\_ACEOF
35730 #define BX_SUPPORT_XSAVE 0
35738 if test "$support_sse" -lt 1 -a "$use_xsave" = 1; then
35739 { { echo "$as_me:$LINENO: error
: XSAVE requires SSE support
!" >&5
35740 echo "$as_me: error
: XSAVE requires SSE support
!" >&2;}
35741 { (exit 1); exit 1; }; }
35744 { echo "$as_me:$LINENO: checking
for alignment check support
" >&5
35745 echo $ECHO_N "checking
for alignment check support...
$ECHO_C" >&6; }
35746 # Check whether --enable-alignment-check was given.
35747 if test "${enable_alignment_check+set}" = set; then
35748 enableval=$enable_alignment_check; if test "$enableval" = yes; then
35749 { echo "$as_me:$LINENO: result
: yes" >&5
35750 echo "${ECHO_T}yes" >&6; }
35751 cat >>confdefs.h <<\_ACEOF
35752 #define BX_SUPPORT_ALIGNMENT_CHECK 1
35755 elif test "$enableval" = no; then
35756 { echo "$as_me:$LINENO: result
: no
" >&5
35757 echo "${ECHO_T}no
" >&6; }
35758 cat >>confdefs.h <<\_ACEOF
35759 #define BX_SUPPORT_ALIGNMENT_CHECK 0
35766 if test "$bx_cpu_level" -gt 3; then
35767 { echo "$as_me:$LINENO: result
: yes" >&5
35768 echo "${ECHO_T}yes" >&6; }
35769 cat >>confdefs.h <<\_ACEOF
35770 #define BX_SUPPORT_ALIGNMENT_CHECK 1
35774 { echo "$as_me:$LINENO: result
: no
" >&5
35775 echo "${ECHO_T}no
" >&6; }
35776 cat >>confdefs.h <<\_ACEOF
35777 #define BX_SUPPORT_ALIGNMENT_CHECK 0
35786 { echo "$as_me:$LINENO: checking
for misaligned SSE support
" >&5
35787 echo $ECHO_N "checking
for misaligned SSE support...
$ECHO_C" >&6; }
35788 # Check whether --enable-misaligned-sse was given.
35789 if test "${enable_misaligned_sse+set}" = set; then
35790 enableval=$enable_misaligned_sse; if test "$enableval" = yes; then
35791 { echo "$as_me:$LINENO: result
: yes" >&5
35792 echo "${ECHO_T}yes" >&6; }
35793 cat >>confdefs.h <<\_ACEOF
35794 #define BX_SUPPORT_MISALIGNED_SSE 1
35797 elif test "$enableval" = no; then
35798 { echo "$as_me:$LINENO: result
: no
" >&5
35799 echo "${ECHO_T}no
" >&6; }
35800 cat >>confdefs.h <<\_ACEOF
35801 #define BX_SUPPORT_MISALIGNED_SSE 0
35808 { echo "$as_me:$LINENO: result
: no
" >&5
35809 echo "${ECHO_T}no
" >&6; }
35810 cat >>confdefs.h <<\_ACEOF
35811 #define BX_SUPPORT_MISALIGNED_SSE 0
35819 { echo "$as_me:$LINENO: checking
for SEP support
" >&5
35820 echo $ECHO_N "checking
for SEP support...
$ECHO_C" >&6; }
35821 # Check whether --enable-sep was given.
35822 if test "${enable_sep+set}" = set; then
35823 enableval=$enable_sep; if test "$enableval" = yes; then
35824 { echo "$as_me:$LINENO: result
: yes" >&5
35825 echo "${ECHO_T}yes" >&6; }
35826 cat >>confdefs.h <<\_ACEOF
35827 #define BX_SUPPORT_SEP 1
35830 elif test "$enableval" = no; then
35831 { echo "$as_me:$LINENO: result
: no
" >&5
35832 echo "${ECHO_T}no
" >&6; }
35833 cat >>confdefs.h <<\_ACEOF
35834 #define BX_SUPPORT_SEP 0
35841 if test "$bx_cpu_level" -ge 6 -a "$support_mmx" = 1; then
35842 { echo "$as_me:$LINENO: result
: yes" >&5
35843 echo "${ECHO_T}yes" >&6; }
35844 cat >>confdefs.h <<\_ACEOF
35845 #define BX_SUPPORT_SEP 1
35849 { echo "$as_me:$LINENO: result
: no
" >&5
35850 echo "${ECHO_T}no
" >&6; }
35851 cat >>confdefs.h <<\_ACEOF
35852 #define BX_SUPPORT_SEP 0
35861 { echo "$as_me:$LINENO: checking
for POPCNT instruction support
" >&5
35862 echo $ECHO_N "checking
for POPCNT instruction support...
$ECHO_C" >&6; }
35863 # Check whether --enable-popcnt was given.
35864 if test "${enable_popcnt+set}" = set; then
35865 enableval=$enable_popcnt; if test "$enableval" = yes; then
35866 { echo "$as_me:$LINENO: result
: yes" >&5
35867 echo "${ECHO_T}yes" >&6; }
35868 cat >>confdefs.h <<\_ACEOF
35869 #define BX_SUPPORT_POPCNT 1
35872 elif test "$enableval" = no; then
35873 { echo "$as_me:$LINENO: result
: no
" >&5
35874 echo "${ECHO_T}no
" >&6; }
35875 cat >>confdefs.h <<\_ACEOF
35876 #define BX_SUPPORT_POPCNT 0
35883 if test "$support_sse" -ge 4 -a "$support_sse_extensions" = 1; then
35884 { echo "$as_me:$LINENO: result
: yes" >&5
35885 echo "${ECHO_T}yes" >&6; }
35886 cat >>confdefs.h <<\_ACEOF
35887 #define BX_SUPPORT_POPCNT 1
35891 { echo "$as_me:$LINENO: result
: no
" >&5
35892 echo "${ECHO_T}no
" >&6; }
35893 cat >>confdefs.h <<\_ACEOF
35894 #define BX_SUPPORT_POPCNT 0
35903 { echo "$as_me:$LINENO: checking
for MONITOR
/MWAIT instructions support
(experimental
)" >&5
35904 echo $ECHO_N "checking
for MONITOR
/MWAIT instructions support
(experimental
)...
$ECHO_C" >&6; }
35905 # Check whether --enable-monitor_mwait was given.
35906 if test "${enable_monitor_mwait+set}" = set; then
35907 enableval=$enable_monitor_mwait; if test "$enableval" = yes; then
35908 { echo "$as_me:$LINENO: result
: yes" >&5
35909 echo "${ECHO_T}yes" >&6; }
35910 cat >>confdefs.h <<\_ACEOF
35911 #define BX_SUPPORT_MONITOR_MWAIT 1
35914 elif test "$enableval" = no; then
35915 { echo "$as_me:$LINENO: result
: no
" >&5
35916 echo "${ECHO_T}no
" >&6; }
35917 cat >>confdefs.h <<\_ACEOF
35918 #define BX_SUPPORT_MONITOR_MWAIT 0
35925 { echo "$as_me:$LINENO: result
: no
" >&5
35926 echo "${ECHO_T}no
" >&6; }
35927 cat >>confdefs.h <<\_ACEOF
35928 #define BX_SUPPORT_MONITOR_MWAIT 0
35936 { echo "$as_me:$LINENO: checking
for x86 debugger support
" >&5
35937 echo $ECHO_N "checking
for x86 debugger support...
$ECHO_C" >&6; }
35938 # Check whether --enable-x86-debugger was given.
35939 if test "${enable_x86_debugger+set}" = set; then
35940 enableval=$enable_x86_debugger; if test "$enableval" = yes; then
35941 { echo "$as_me:$LINENO: result
: yes" >&5
35942 echo "${ECHO_T}yes" >&6; }
35943 cat >>confdefs.h <<\_ACEOF
35944 #define BX_X86_DEBUGGER 1
35947 elif test "$enableval" = no; then
35948 { echo "$as_me:$LINENO: result
: no
" >&5
35949 echo "${ECHO_T}no
" >&6; }
35950 cat >>confdefs.h <<\_ACEOF
35951 #define BX_X86_DEBUGGER 0
35955 { echo "$as_me:$LINENO: result
: yes" >&5
35956 echo "${ECHO_T}yes" >&6; }
35957 cat >>confdefs.h <<\_ACEOF
35958 #define BX_X86_DEBUGGER 1
35964 { echo "$as_me:$LINENO: result
: no
" >&5
35965 echo "${ECHO_T}no
" >&6; }
35966 cat >>confdefs.h <<\_ACEOF
35967 #define BX_X86_DEBUGGER 0
35975 if test "${ac_cv_header_IOKit_storage_IOCDMedia_h+set}" = set; then
35976 { echo "$as_me:$LINENO: checking
for IOKit
/storage
/IOCDMedia.h
" >&5
35977 echo $ECHO_N "checking
for IOKit
/storage
/IOCDMedia.h...
$ECHO_C" >&6; }
35978 if test "${ac_cv_header_IOKit_storage_IOCDMedia_h+set}" = set; then
35979 echo $ECHO_N "(cached
) $ECHO_C" >&6
35981 { echo "$as_me:$LINENO: result
: $ac_cv_header_IOKit_storage_IOCDMedia_h" >&5
35982 echo "${ECHO_T}$ac_cv_header_IOKit_storage_IOCDMedia_h" >&6; }
35984 # Is the header compilable?
35985 { echo "$as_me:$LINENO: checking IOKit
/storage
/IOCDMedia.h usability
" >&5
35986 echo $ECHO_N "checking IOKit
/storage
/IOCDMedia.h usability...
$ECHO_C" >&6; }
35987 cat >conftest.$ac_ext <<_ACEOF
35990 cat confdefs.h >>conftest.$ac_ext
35991 cat >>conftest.$ac_ext <<_ACEOF
35992 /* end confdefs.h. */
35993 $ac_includes_default
35994 #include <IOKit/storage/IOCDMedia.h>
35996 rm -f conftest.$ac_objext
35997 if { (ac_try="$ac_compile"
35998 case "(($ac_try" in
35999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36000 *) ac_try_echo=$ac_try;;
36002 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36003 (eval "$ac_compile") 2>conftest.er1
36005 grep -v '^ *+' conftest.er1 >conftest.err
36007 cat conftest.err >&5
36008 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36009 (exit $ac_status); } && {
36010 test -z "$ac_c_werror_flag" ||
36011 test ! -s conftest.err
36012 } && test -s conftest.$ac_objext; then
36013 ac_header_compiler=yes
36015 echo "$as_me: failed program was
:" >&5
36016 sed 's/^/| /' conftest.$ac_ext >&5
36018 ac_header_compiler=no
36021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36022 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
36023 echo "${ECHO_T}$ac_header_compiler" >&6; }
36025 # Is the header present?
36026 { echo "$as_me:$LINENO: checking IOKit
/storage
/IOCDMedia.h presence
" >&5
36027 echo $ECHO_N "checking IOKit
/storage
/IOCDMedia.h presence...
$ECHO_C" >&6; }
36028 cat >conftest.$ac_ext <<_ACEOF
36031 cat confdefs.h >>conftest.$ac_ext
36032 cat >>conftest.$ac_ext <<_ACEOF
36033 /* end confdefs.h. */
36034 #include <IOKit/storage/IOCDMedia.h>
36036 if { (ac_try="$ac_cpp conftest.
$ac_ext"
36037 case "(($ac_try" in
36038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36039 *) ac_try_echo=$ac_try;;
36041 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36042 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
36044 grep -v '^ *+' conftest.er1 >conftest.err
36046 cat conftest.err >&5
36047 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36048 (exit $ac_status); } >/dev/null && {
36049 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36050 test ! -s conftest.err
36052 ac_header_preproc=yes
36054 echo "$as_me: failed program was
:" >&5
36055 sed 's/^/| /' conftest.$ac_ext >&5
36057 ac_header_preproc=no
36060 rm -f conftest.err conftest.$ac_ext
36061 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
36062 echo "${ECHO_T}$ac_header_preproc" >&6; }
36064 # So? What about this header?
36065 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36067 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
36068 echo "$as_me: WARNING
: IOKit
/storage
/IOCDMedia.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
36069 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: proceeding with the compiler
's result" >&5
36070 echo "$as_me: WARNING: IOKit/storage/IOCDMedia.h: proceeding with the compiler's result
" >&2;}
36071 ac_header_preproc=yes
36074 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: present but cannot be compiled
" >&5
36075 echo "$as_me: WARNING
: IOKit
/storage
/IOCDMedia.h
: present but cannot be compiled
" >&2;}
36076 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: check
for missing prerequisite headers?
" >&5
36077 echo "$as_me: WARNING
: IOKit
/storage
/IOCDMedia.h
: check
for missing prerequisite headers?
" >&2;}
36078 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: see the Autoconf documentation
" >&5
36079 echo "$as_me: WARNING
: IOKit
/storage
/IOCDMedia.h
: see the Autoconf documentation
" >&2;}
36080 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: section
\"Present But Cannot Be Compiled
\"" >&5
36081 echo "$as_me: WARNING
: IOKit
/storage
/IOCDMedia.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
36082 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: proceeding with the preprocessor
's result" >&5
36083 echo "$as_me: WARNING: IOKit/storage/IOCDMedia.h: proceeding with the preprocessor's result
" >&2;}
36084 { echo "$as_me:$LINENO: WARNING
: IOKit
/storage
/IOCDMedia.h
: in the future
, the compiler will take precedence
" >&5
36085 echo "$as_me: WARNING
: IOKit
/storage
/IOCDMedia.h
: in the future
, the compiler will take precedence
" >&2;}
36089 { echo "$as_me:$LINENO: checking
for IOKit
/storage
/IOCDMedia.h
" >&5
36090 echo $ECHO_N "checking
for IOKit
/storage
/IOCDMedia.h...
$ECHO_C" >&6; }
36091 if test "${ac_cv_header_IOKit_storage_IOCDMedia_h+set}" = set; then
36092 echo $ECHO_N "(cached
) $ECHO_C" >&6
36094 ac_cv_header_IOKit_storage_IOCDMedia_h=$ac_header_preproc
36096 { echo "$as_me:$LINENO: result
: $ac_cv_header_IOKit_storage_IOCDMedia_h" >&5
36097 echo "${ECHO_T}$ac_cv_header_IOKit_storage_IOCDMedia_h" >&6; }
36100 if test $ac_cv_header_IOKit_storage_IOCDMedia_h = yes; then
36101 can_use_osx_cdrom=yes
36107 { echo "$as_me:$LINENO: checking
for CDROM support
" >&5
36108 echo $ECHO_N "checking
for CDROM support...
$ECHO_C" >&6; }
36109 # Check whether --enable-cdrom was given.
36110 if test "${enable_cdrom+set}" = set; then
36111 enableval=$enable_cdrom; if test "$enableval" = no; then
36122 if test "$bx_cdrom" = 1; then
36123 { echo "$as_me:$LINENO: result
: yes" >&5
36124 echo "${ECHO_T}yes" >&6; }
36125 CDROM_OBJS='cdrom.o'
36126 if test "$with_amigaos" = yes; then
36127 # use the amiga cdrom file instead.
36128 CDROM_OBJS="cdrom_amigaos.o
"
36129 elif test "$can_use_osx_cdrom" = yes; then
36131 { echo "$as_me:$LINENO: result
: Using OSX IOKit CD Interface
" >&5
36132 echo "${ECHO_T}Using OSX IOKit CD Interface
" >&6; }
36133 CDROM_OBJS="cdrom.o
"
36134 EXTRA_LINK_OPTS="${EXTRA_LINK_OPTS} -framework IOKit
-framework CoreFoundation
"'$(GUI_LINK_OPTS)'
36138 # use the beos cdrom file instead
36139 CDROM_OBJS="$CDROM_OBJS cdrom_beos.o
"
36141 cat >>confdefs.h <<\_ACEOF
36142 #define BX_SUPPORT_CDROM 1
36146 { echo "$as_me:$LINENO: result
: no
" >&5
36147 echo "${ECHO_T}no
" >&6; }
36149 cat >>confdefs.h <<\_ACEOF
36150 #define BX_SUPPORT_CDROM 0
36158 { echo "$as_me:$LINENO: checking
for Sound Blaster
16 support
" >&5
36159 echo $ECHO_N "checking
for Sound Blaster
16 support...
$ECHO_C" >&6; }
36164 # Check whether --enable-sb16 was given.
36165 if test "${enable_sb16+set}" = set; then
36166 enableval=$enable_sb16; if test "$enableval" = no; then
36167 { echo "$as_me:$LINENO: result
: no
" >&5
36168 echo "${ECHO_T}no
" >&6; }
36169 cat >>confdefs.h <<\_ACEOF
36170 #define BX_SUPPORT_SB16 0
36174 case "$enableval" in
36177 cat >>confdefs.h <<\_ACEOF
36178 #define BX_SOUND_OUTPUT_C bx_sound_output_c
36181 { echo "$as_me:$LINENO: result
: dummy
" >&5
36182 echo "${ECHO_T}dummy
" >&6; }
36185 SOUNDLOW_OBJS='soundlnx.o'
36186 cat >>confdefs.h <<\_ACEOF
36187 #define BX_SOUND_OUTPUT_C bx_sound_linux_c
36190 { echo "$as_me:$LINENO: result
: linux
" >&5
36191 echo "${ECHO_T}linux
" >&6; }
36194 SOUNDLOW_OBJS='soundwin.o'
36195 cat >>confdefs.h <<\_ACEOF
36196 #define BX_SOUND_OUTPUT_C bx_sound_windows_c
36199 { echo "$as_me:$LINENO: result
: win
" >&5
36200 echo "${ECHO_T}win
" >&6; }
36203 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS winmm.lib
"
36206 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -lwinmm"
36211 SOUNDLOW_OBJS='soundosx.o'
36212 cat >>confdefs.h <<\_ACEOF
36213 #define BX_SOUND_OUTPUT_C bx_sound_osx_c
36216 { echo "$as_me:$LINENO: result
: osx
" >&5
36217 echo "${ECHO_T}osx
" >&6; }
36218 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -framework AudioUnit
-framework AudioToolbox
"
36222 *-linux* | *-freebsd*)
36223 SOUNDLOW_OBJS='soundlnx.o'
36224 cat >>confdefs.h <<\_ACEOF
36225 #define BX_SOUND_OUTPUT_C bx_sound_linux_c
36228 { echo "$as_me:$LINENO: result
: linux
" >&5
36229 echo "${ECHO_T}linux
" >&6; }
36232 SOUNDLOW_OBJS='soundwin.o'
36233 cat >>confdefs.h <<\_ACEOF
36234 #define BX_SOUND_OUTPUT_C bx_sound_windows_c
36237 { echo "$as_me:$LINENO: result
: win
" >&5
36238 echo "${ECHO_T}win
" >&6; }
36239 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS winmm.lib
"
36241 *-cygwin* | *-mingw32*)
36242 SOUNDLOW_OBJS='soundwin.o'
36243 cat >>confdefs.h <<\_ACEOF
36244 #define BX_SOUND_OUTPUT_C bx_sound_windows_c
36247 { echo "$as_me:$LINENO: result
: win
" >&5
36248 echo "${ECHO_T}win
" >&6; }
36249 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -lwinmm"
36251 *-macosx* | *-macos*)
36252 SOUNDLOW_OBJS='soundosx.o'
36253 cat >>confdefs.h <<\_ACEOF
36254 #define BX_SOUND_OUTPUT_C bx_sound_osx_c
36257 { echo "$as_me:$LINENO: result
: osx
" >&5
36258 echo "${ECHO_T}osx
" >&6; }
36259 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -framework AudioUnit
-framework AudioToolbox
"
36263 cat >>confdefs.h <<\_ACEOF
36264 #define BX_SOUND_OUTPUT_C bx_sound_output_c
36267 { echo "$as_me:$LINENO: result
: dummy
" >&5
36268 echo "${ECHO_T}dummy
" >&6; }
36274 echo \!\!\!Error\!\!\!
36275 echo "You must pass one of dummy
, linux
, win
, freebsd
, osx to
--enable-sb16"
36279 cat >>confdefs.h <<\_ACEOF
36280 #define BX_SUPPORT_SB16 1
36283 GAME_OBJS='gameport.o'
36288 { echo "$as_me:$LINENO: result
: no
" >&5
36289 echo "${ECHO_T}no
" >&6; }
36290 cat >>confdefs.h <<\_ACEOF
36291 #define BX_SUPPORT_SB16 0
36302 { echo "$as_me:$LINENO: checking
for standard PC gameport support
" >&5
36303 echo $ECHO_N "checking
for standard PC gameport support...
$ECHO_C" >&6; }
36304 # Check whether --enable-gameport was given.
36305 if test "${enable_gameport+set}" = set; then
36306 enableval=$enable_gameport; if test "$enableval" = yes; then
36307 { echo "$as_me:$LINENO: result
: yes" >&5
36308 echo "${ECHO_T}yes" >&6; }
36309 cat >>confdefs.h <<\_ACEOF
36310 #define BX_SUPPORT_GAMEPORT 1
36313 if test "$gameport_present" = 0; then
36314 GAME_OBJS='gameport.o'
36316 *-cygwin* | *-mingw32*)
36317 DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -lwinmm"
36322 { echo "$as_me:$LINENO: result
: no
" >&5
36323 echo "${ECHO_T}no
" >&6; }
36325 cat >>confdefs.h <<\_ACEOF
36326 #define BX_SUPPORT_GAMEPORT 0
36332 if test "$gameport_present" = 1; then
36333 cat >>confdefs.h <<\_ACEOF
36334 #define BX_SUPPORT_GAMEPORT 1
36337 { echo "$as_me:$LINENO: result
: yes" >&5
36338 echo "${ECHO_T}yes" >&6; }
36340 cat >>confdefs.h <<\_ACEOF
36341 #define BX_SUPPORT_GAMEPORT 0
36344 { echo "$as_me:$LINENO: result
: no
" >&5
36345 echo "${ECHO_T}no
" >&6; }
36353 { echo "$as_me:$LINENO: checking
for gdb stub
enable" >&5
36354 echo $ECHO_N "checking
for gdb stub
enable...
$ECHO_C" >&6; }
36355 # Check whether --enable-gdb-stub was given.
36356 if test "${enable_gdb_stub+set}" = set; then
36357 enableval=$enable_gdb_stub; if test "$enableval" = yes; then
36358 { echo "$as_me:$LINENO: result
: yes" >&5
36359 echo "${ECHO_T}yes" >&6; }
36360 cat >>confdefs.h <<\_ACEOF
36361 #define BX_GDBSTUB 1
36364 GDBSTUB_VAR='$(GDBSTUB_OBJS)'
36365 if test "$bx_debugger" = 1; then
36366 { { echo "$as_me:$LINENO: error
: --enable-debugger and
--enable-gdb-stub are mutually exclusive
" >&5
36367 echo "$as_me: error
: --enable-debugger and
--enable-gdb-stub are mutually exclusive
" >&2;}
36368 { (exit 1); exit 1; }; }
36371 { echo "$as_me:$LINENO: result
: no
" >&5
36372 echo "${ECHO_T}no
" >&6; }
36373 cat >>confdefs.h <<\_ACEOF
36374 #define BX_GDBSTUB 0
36381 { echo "$as_me:$LINENO: result
: no
" >&5
36382 echo "${ECHO_T}no
" >&6; }
36383 cat >>confdefs.h <<\_ACEOF
36384 #define BX_GDBSTUB 0
36395 { echo "$as_me:$LINENO: checking
for I
/O Interface to the debugger
" >&5
36396 echo $ECHO_N "checking
for I
/O Interface to the debugger...
$ECHO_C" >&6; }
36398 # Check whether --enable-iodebug was given.
36399 if test "${enable_iodebug+set}" = set; then
36400 enableval=$enable_iodebug; if test "$enableval" = yes; then
36401 { echo "$as_me:$LINENO: result
: yes" >&5
36402 echo "${ECHO_T}yes" >&6; }
36403 cat >>confdefs.h <<\_ACEOF
36404 #define BX_SUPPORT_IODEBUG 1
36407 IODEBUG_OBJS='iodebug.o'
36409 { echo "$as_me:$LINENO: result
: no
" >&5
36410 echo "${ECHO_T}no
" >&6; }
36411 cat >>confdefs.h <<\_ACEOF
36412 #define BX_SUPPORT_IODEBUG 0
36419 if test "" = 1; then
36420 # enable by default if debugger is on
36421 { echo "$as_me:$LINENO: result
: yes" >&5
36422 echo "${ECHO_T}yes" >&6; }
36423 cat >>confdefs.h <<\_ACEOF
36424 #define BX_SUPPORT_IODEBUG 1
36427 IODEBUG_OBJS='iodebug.o'
36429 { echo "$as_me:$LINENO: result
: no
" >&5
36430 echo "${ECHO_T}no
" >&6; }
36439 # Extract the first word of "docbook2html
", so it can be a program name with args.
36440 set dummy docbook2html; ac_word=$2
36441 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
36442 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
36443 if test "${ac_cv_path_DOCBOOK2HTML+set}" = set; then
36444 echo $ECHO_N "(cached
) $ECHO_C" >&6
36446 case $DOCBOOK2HTML in
36448 ac_cv_path_DOCBOOK2HTML="$DOCBOOK2HTML" # Let the user override the test with a path.
36451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36452 for as_dir in $PATH
36455 test -z "$as_dir" && as_dir=.
36456 for ac_exec_ext in '' $ac_executable_extensions; do
36457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36458 ac_cv_path_DOCBOOK2HTML="$as_dir/$ac_word$ac_exec_ext"
36459 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
36466 test -z "$ac_cv_path_DOCBOOK2HTML" && ac_cv_path_DOCBOOK2HTML="not_found
"
36470 DOCBOOK2HTML=$ac_cv_path_DOCBOOK2HTML
36471 if test -n "$DOCBOOK2HTML"; then
36472 { echo "$as_me:$LINENO: result
: $DOCBOOK2HTML" >&5
36473 echo "${ECHO_T}$DOCBOOK2HTML" >&6; }
36475 { echo "$as_me:$LINENO: result
: no
" >&5
36476 echo "${ECHO_T}no
" >&6; }
36480 { echo "$as_me:$LINENO: checking whether to build docbook documentation
" >&5
36481 echo $ECHO_N "checking whether to build docbook documentation...
$ECHO_C" >&6; }
36483 # Check whether --enable-docbook was given.
36484 if test "${enable_docbook+set}" = set; then
36485 enableval=$enable_docbook;
36486 if test "$enableval" = yes; then build_docbook=1; fi
36490 if test "$DOCBOOK2HTML" != not_found; then build_docbook=1; fi
36496 if test $build_docbook = 1; then
36497 { echo "$as_me:$LINENO: result
: yes" >&5
36498 echo "${ECHO_T}yes" >&6; }
36499 BUILD_DOCBOOK_VAR=build_docbook
36500 INSTALL_DOCBOOK_VAR=install_docbook
36501 if test "$DOCBOOK2HTML" = not_found; then
36502 echo "ERROR
: docbook2html must be installed to build the documentation
"
36506 { echo "$as_me:$LINENO: result
: no
" >&5
36507 echo "${ECHO_T}no
" >&6; }
36513 PRIMARY_TARGET='bochs'
36514 PLUGIN_LIBNAME_TRANSFORMATION='%.o=libbx_%.la'
36516 cat >>confdefs.h <<\_ACEOF
36517 #define BX_PROVIDE_DEVICE_MODELS 1
36520 IODEV_LIB_VAR='iodev/libiodev.a'
36521 cat >>confdefs.h <<\_ACEOF
36522 #define BX_PROVIDE_CPU_MEMORY 1
36525 NONINLINE_VAR='$(NONINLINE_OBJS)'
36537 # Check whether --with-x11 was given.
36538 if test "${with_x11+set}" = set; then
36544 # Check whether --with-beos was given.
36545 if test "${with_beos+set}" = set; then
36546 withval=$with_beos;
36551 # Check whether --with-win32 was given.
36552 if test "${with_win32+set}" = set; then
36553 withval=$with_win32;
36558 # Check whether --with-macos was given.
36559 if test "${with_macos+set}" = set; then
36560 withval=$with_macos;
36565 # Check whether --with-carbon was given.
36566 if test "${with_carbon+set}" = set; then
36567 withval=$with_carbon;
36572 # Check whether --with-nogui was given.
36573 if test "${with_nogui+set}" = set; then
36574 withval=$with_nogui;
36579 # Check whether --with-term was given.
36580 if test "${with_term+set}" = set; then
36581 withval=$with_term;
36586 # Check whether --with-rfb was given.
36587 if test "${with_rfb+set}" = set; then
36593 # Check whether --with-amigaos was given.
36594 if test "${with_amigaos+set}" = set; then
36595 withval=$with_amigaos;
36600 # Check whether --with-sdl was given.
36601 if test "${with_sdl+set}" = set; then
36607 # Check whether --with-svga was given.
36608 if test "${with_svga+set}" = set; then
36609 withval=$with_svga;
36614 # Check whether --with-wx was given.
36615 if test "${with_wx+set}" = set; then
36621 # Check whether --with-all-libs was given.
36622 if test "${with_all_libs+set}" = set; then
36623 withval=$with_all_libs;
36632 MAKELIB="ar rv \$@
"
36634 # first define link variables without libtool
36635 LINK="\$
(CXX
) -o \$@ \$
(CXXFLAGS
) \$
(LDFLAGS
)"
36636 LINK_CONSOLE="\$
(CXX
) -o \$@ \$
(CXXFLAGS_CONSOLE
) \$
(LDFLAGS
)"
36637 # unless NO_LT is set, add libtool to the front of the link command
36638 if test "$NO_LT" != 1; then
36639 LINK="\$
(LIBTOOL
) --mode=link
$LINK"
36640 LINK_CONSOLE="\$
(LIBTOOL
) --mode=link
$LINK_CONSOLE"
36643 COMMAND_SEPARATOR="&& \\"
36644 CD_UP_ONE="echo done"
36645 CD_UP_TWO="echo done"
36646 CD_UP_THREE="echo done"
36648 INSTALL_TARGET=install_unix
36649 INSTALL_LIST_FOR_PLATFORM=
36651 # check for existence of and usable version of wxWidgets. This comes
36652 # early so that it could affect which one gets chosen.
36653 if test x$WX_CONFIG = x; then
36654 # Extract the first word of " wx-config
--version ", so it can be a program name with args.
36655 set dummy wx-config --version ; ac_word=$2
36656 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
36657 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
36658 if test "${ac_cv_prog_WX_CONFIG+set}" = set; then
36659 echo $ECHO_N "(cached
) $ECHO_C" >&6
36661 if test -n "$WX_CONFIG"; then
36662 ac_cv_prog_WX_CONFIG="$WX_CONFIG" # Let the user override the test.
36664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36665 for as_dir in $PATH
36668 test -z "$as_dir" && as_dir=.
36669 for ac_exec_ext in '' $ac_executable_extensions; do
36670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36671 ac_cv_prog_WX_CONFIG="wx-config
"
36672 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
36679 test -z "$ac_cv_prog_WX_CONFIG" && ac_cv_prog_WX_CONFIG="not_found
"
36682 WX_CONFIG=$ac_cv_prog_WX_CONFIG
36683 if test -n "$WX_CONFIG"; then
36684 { echo "$as_me:$LINENO: result
: $WX_CONFIG" >&5
36685 echo "${ECHO_T}$WX_CONFIG" >&6; }
36687 { echo "$as_me:$LINENO: result
: no
" >&5
36688 echo "${ECHO_T}no
" >&6; }
36693 { echo "$as_me:$LINENO: checking
for wxWidgets configuration
script" >&5
36694 echo $ECHO_N "checking
for wxWidgets configuration
script...
$ECHO_C" >&6; }
36695 { echo "$as_me:$LINENO: result
: $WX_CONFIG" >&5
36696 echo "${ECHO_T}$WX_CONFIG" >&6; }
36701 { echo "$as_me:$LINENO: checking
for wxWidgets library version
" >&5
36702 echo $ECHO_N "checking
for wxWidgets library version...
$ECHO_C" >&6; }
36703 if test x$WX_CONFIG != xnot_found; then
36704 WX_VERSION=`$WX_CONFIG --version`
36705 WX_BASENAME=`$WX_CONFIG --basename`
36707 # test that version >= 2.3.2. Anybody have a better way to do this? Yuck.
36708 case x$WX_VERSION in
36709 x2.[012]*) ;; # less than version 2.3.x
36710 x2.3.[01]) ;; # less than version 2.3.2
36711 x2.3.[2-4]*) ok_wx_version=1 ;; # 2.3.2 or greater
36712 x2.[4-5]*) ok_wx_version=1 ;; # version 2.4 / 2.5
36713 x2.[6-9]*) # version 2.6 or greater
36716 case x$WX_BASENAME in
36717 xwx_gtk2|xwx_gtk2u) wx_needs_gtk2=1 ;;
36721 x[3-9]*) ok_wx_version=1 ;; # version 3 or greater
36726 { echo "$as_me:$LINENO: result
: $WX_VERSION" >&5
36727 echo "${ECHO_T}$WX_VERSION" >&6; }
36728 if test "$cross_configure" = 0; then
36729 if test "$ok_wx_version" = 1; then
36730 # detected a usable version
36731 if test "$with_all_libs" = yes; then
36735 if test "$with_wx" = yes; then
36736 { echo "$as_me:$LINENO: WARNING
: Bochs
for wxWidgets cannot be compiled here
, disabling it
" >&5
36737 echo "$as_me: WARNING
: Bochs
for wxWidgets cannot be compiled here
, disabling it
" >&2;}
36743 { echo "$as_me:$LINENO: checking
for default gui on this platform
" >&5
36744 echo $ECHO_N "checking
for default gui on this platform...
$ECHO_C" >&6; }
36745 { echo "$as_me:$LINENO: result
: $DEFAULT_GUI" >&5
36746 echo "${ECHO_T}$DEFAULT_GUI" >&6; }
36750 # the $with_* variable tells the gui library to use, but does NOT necessarily
36751 # indicate the platform. Settings that depend on the platform should be
36755 if test "$with_x11" = yes; then
36756 display_libs="$display_libs X11
"
36757 if test "$no_x" = yes; then
36758 echo ERROR: X windows gui was selected, but X windows libraries were not found.
36761 cat >>confdefs.h <<\_ACEOF
36762 #define BX_WITH_X11 1
36765 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_X11
)"
36766 GUI_CFLAGS="$GUI_CFLAGS \$
(X_CFLAGS
)"
36767 GUI_CXXFLAGS="$GUI_CXXFLAGS \$
(X_CFLAGS
)"
36768 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_X
)"
36770 { echo "$as_me:$LINENO: checking whether user wants XPM support
" >&5
36771 echo $ECHO_N "checking whether user wants XPM support...
$ECHO_C" >&6; }
36772 # Check whether --enable-xpm was given.
36773 if test "${enable_xpm+set}" = set; then
36774 enableval=$enable_xpm; if test "$enableval" = yes; then
36776 { echo "$as_me:$LINENO: result
: yes" >&5
36777 echo "${ECHO_T}yes" >&6; }
36780 { echo "$as_me:$LINENO: result
: no
" >&5
36781 echo "${ECHO_T}no
" >&6; }
36786 { echo "$as_me:$LINENO: result
: yes" >&5
36787 echo "${ECHO_T}yes" >&6; }
36793 if test $check_xpm = 1; then
36794 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
36795 { echo "$as_me:$LINENO: checking
for X11
/xpm.h
" >&5
36796 echo $ECHO_N "checking
for X11
/xpm.h...
$ECHO_C" >&6; }
36797 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
36798 echo $ECHO_N "(cached
) $ECHO_C" >&6
36800 { echo "$as_me:$LINENO: result
: $ac_cv_header_X11_xpm_h" >&5
36801 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6; }
36803 # Is the header compilable?
36804 { echo "$as_me:$LINENO: checking X11
/xpm.h usability
" >&5
36805 echo $ECHO_N "checking X11
/xpm.h usability...
$ECHO_C" >&6; }
36806 cat >conftest.$ac_ext <<_ACEOF
36809 cat confdefs.h >>conftest.$ac_ext
36810 cat >>conftest.$ac_ext <<_ACEOF
36811 /* end confdefs.h. */
36812 $ac_includes_default
36813 #include <X11/xpm.h>
36815 rm -f conftest.$ac_objext
36816 if { (ac_try="$ac_compile"
36817 case "(($ac_try" in
36818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36819 *) ac_try_echo=$ac_try;;
36821 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36822 (eval "$ac_compile") 2>conftest.er1
36824 grep -v '^ *+' conftest.er1 >conftest.err
36826 cat conftest.err >&5
36827 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36828 (exit $ac_status); } && {
36829 test -z "$ac_c_werror_flag" ||
36830 test ! -s conftest.err
36831 } && test -s conftest.$ac_objext; then
36832 ac_header_compiler=yes
36834 echo "$as_me: failed program was
:" >&5
36835 sed 's/^/| /' conftest.$ac_ext >&5
36837 ac_header_compiler=no
36840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36841 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
36842 echo "${ECHO_T}$ac_header_compiler" >&6; }
36844 # Is the header present?
36845 { echo "$as_me:$LINENO: checking X11
/xpm.h presence
" >&5
36846 echo $ECHO_N "checking X11
/xpm.h presence...
$ECHO_C" >&6; }
36847 cat >conftest.$ac_ext <<_ACEOF
36850 cat confdefs.h >>conftest.$ac_ext
36851 cat >>conftest.$ac_ext <<_ACEOF
36852 /* end confdefs.h. */
36853 #include <X11/xpm.h>
36855 if { (ac_try="$ac_cpp conftest.
$ac_ext"
36856 case "(($ac_try" in
36857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36858 *) ac_try_echo=$ac_try;;
36860 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36861 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
36863 grep -v '^ *+' conftest.er1 >conftest.err
36865 cat conftest.err >&5
36866 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36867 (exit $ac_status); } >/dev/null && {
36868 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36869 test ! -s conftest.err
36871 ac_header_preproc=yes
36873 echo "$as_me: failed program was
:" >&5
36874 sed 's/^/| /' conftest.$ac_ext >&5
36876 ac_header_preproc=no
36879 rm -f conftest.err conftest.$ac_ext
36880 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
36881 echo "${ECHO_T}$ac_header_preproc" >&6; }
36883 # So? What about this header?
36884 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36886 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
36887 echo "$as_me: WARNING
: X11
/xpm.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
36888 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: proceeding with the compiler
's result" >&5
36889 echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result
" >&2;}
36890 ac_header_preproc=yes
36893 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: present but cannot be compiled
" >&5
36894 echo "$as_me: WARNING
: X11
/xpm.h
: present but cannot be compiled
" >&2;}
36895 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: check
for missing prerequisite headers?
" >&5
36896 echo "$as_me: WARNING
: X11
/xpm.h
: check
for missing prerequisite headers?
" >&2;}
36897 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: see the Autoconf documentation
" >&5
36898 echo "$as_me: WARNING
: X11
/xpm.h
: see the Autoconf documentation
" >&2;}
36899 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: section
\"Present But Cannot Be Compiled
\"" >&5
36900 echo "$as_me: WARNING
: X11
/xpm.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
36901 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: proceeding with the preprocessor
's result" >&5
36902 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result
" >&2;}
36903 { echo "$as_me:$LINENO: WARNING
: X11
/xpm.h
: in the future
, the compiler will take precedence
" >&5
36904 echo "$as_me: WARNING
: X11
/xpm.h
: in the future
, the compiler will take precedence
" >&2;}
36908 { echo "$as_me:$LINENO: checking
for X11
/xpm.h
" >&5
36909 echo $ECHO_N "checking
for X11
/xpm.h...
$ECHO_C" >&6; }
36910 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
36911 echo $ECHO_N "(cached
) $ECHO_C" >&6
36913 ac_cv_header_X11_xpm_h=$ac_header_preproc
36915 { echo "$as_me:$LINENO: result
: $ac_cv_header_X11_xpm_h" >&5
36916 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6; }
36919 if test $ac_cv_header_X11_xpm_h = yes; then
36921 cat >>confdefs.h <<\_ACEOF
36922 #define BX_HAVE_XPM_H 1
36934 if test "$with_beos" = yes; then
36935 display_libs="$display_libs beos
"
36936 cat >>confdefs.h <<\_ACEOF
36937 #define BX_WITH_BEOS 1
36940 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_BEOS
)"
36941 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_BEOS
)"
36944 if test "$with_sdl" = yes; then
36945 display_libs="$display_libs sdl
"
36946 cat >>confdefs.h <<\_ACEOF
36947 #define BX_WITH_SDL 1
36950 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_SDL
)"
36951 # GUI_*FLAGS are added to the compilation of every bochs file, not just
36952 # the files in gui/*.cc.
36953 SDL_CFLAGS=`sdl-config --cflags`
36954 GUI_CFLAGS="$GUI_CFLAGS $SDL_CFLAGS"
36955 GUI_CXXFLAGS="$GUI_CXXFLAGS $SDL_CFLAGS"
36956 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_SDL
)"
36957 if test "$with_win32" != yes -a "$with_wx" != yes; then
36961 EXTRA_BX_OBJS="$EXTRA_BX_OBJS win32res.o
"
36963 *-cygwin* | *-mingw32*)
36964 RC_CMD="windres
-o "
36965 EXTRA_BX_OBJS="$EXTRA_BX_OBJS win32res.o
"
36971 if test "$with_svga" = yes; then
36972 display_libs="$display_libs svga
"
36973 cat >>confdefs.h <<\_ACEOF
36974 #define BX_WITH_SVGA 1
36977 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_SVGA
)"
36978 # GUI_*FLAGS are added to the compilation of every bochs file, not just
36979 # the files in gui/*.cc.
36980 GUI_CFLAGS="$GUI_CFLAGS"
36981 GUI_CXXFLAGS="$GUI_CXXFLAGS"
36982 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_SVGA
)"
36985 if test "$with_rfb" = yes; then
36986 display_libs="$display_libs rfb
"
36987 cat >>confdefs.h <<\_ACEOF
36988 #define BX_WITH_RFB 1
36991 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_RFB
)"
36992 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_RFB
)"
36995 if test "$with_amigaos" = yes; then
36996 display_libs="$display_libs amigaos
"
36997 cat >>confdefs.h <<\_ACEOF
36998 #define BX_WITH_AMIGAOS 1
37001 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_AMIGAOS
)"
37002 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_AMIGAOS
)"
37005 if test "$with_win32" = yes; then
37006 display_libs="$display_libs win32
"
37007 cat >>confdefs.h <<\_ACEOF
37008 #define BX_WITH_WIN32 1
37011 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_WIN32
)"
37014 if test "$with_wx" != yes; then
37016 EXTRA_BX_OBJS="$EXTRA_BX_OBJS win32res.o
"
37018 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_WIN32_VCPP
)"
37020 *-cygwin* | *-mingw32*)
37021 if test "$with_wx" != yes; then
37022 RC_CMD="windres
-o "
37023 EXTRA_BX_OBJS="$EXTRA_BX_OBJS win32res.o
"
37025 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_WIN32
)"
37027 *) echo Unsupported compile setup: GUI library is win32, but target is neither windows nor cygwin.
37032 if test "$with_macos" = yes; then
37033 display_libs="$display_libs macos
"
37034 cat >>confdefs.h <<\_ACEOF
37035 #define BX_WITH_MACOS 1
37038 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_MACOS
)"
37039 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_MACOS
)"
37042 if test "$with_carbon" = yes; then
37043 display_libs="$display_libs carbon
"
37044 cat >>confdefs.h <<\_ACEOF
37045 #define BX_WITH_CARBON 1
37048 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_CARBON
)"
37049 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_CARBON
)"
37050 if test "$bx_plugins" = 1; then
37051 PRIMARY_TARGET=bochs.app/.build_plugins # only for carbon application
37053 PRIMARY_TARGET=bochs.app/.build # only for carbon application
37055 INSTALL_TARGET='install_macosx'
37058 if test "$with_term" = yes; then
37059 display_libs="$display_libs term
"
37060 cat >>confdefs.h <<\_ACEOF
37061 #define BX_WITH_TERM 1
37064 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_TERM
)"
37065 GUI_LINK_OPTS="$GUI_LINK_OPTS \$
(GUI_LINK_OPTS_TERM
)"
37069 if test "$with_wx" = yes; then
37070 display_libs="$display_libs wxWidgets
"
37071 if test "$cross_configure" = 1; then
37072 true # do not insist, if configuring for another machine
37074 if test x$ok_wx_version != x1; then
37075 echo ERROR: A usable version of wxWidgets was not found.
37076 echo Upgrade the library or choose another gui.
37080 cat >>confdefs.h <<\_ACEOF
37081 #define BX_WITH_WX 1
37084 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$
(GUI_OBJS_WX
)"
37085 SPECIFIC_GUI_SUPPORT_OBJS="$SPECIFIC_GUI_SUPPORT_OBJS \$
(GUI_OBJS_WX_SUPPORT
)"
37086 WX_CFLAGS="`$WX_CONFIG --cflags`"
37087 WX_CXXFLAGS="`$WX_CONFIG --cxxflags`"
37088 if test "$wx_multi_lib" = 1; then
37089 GUI_LINK_OPTS_WX="`$WX_CONFIG --libs core,base`"
37091 GUI_LINK_OPTS_WX="`$WX_CONFIG --libs`"
37093 if test "$wx_needs_gtk2" = 1; then
37096 if test "x
$ac_cv_env_PKG_CONFIG_set" != "xset
"; then
37097 if test -n "$ac_tool_prefix"; then
37098 # Extract the first word of "${ac_tool_prefix}pkg-config
", so it can be a program name with args.
37099 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
37100 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
37101 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
37102 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
37103 echo $ECHO_N "(cached
) $ECHO_C" >&6
37105 case $PKG_CONFIG in
37107 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
37110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37111 for as_dir in $PATH
37114 test -z "$as_dir" && as_dir=.
37115 for ac_exec_ext in '' $ac_executable_extensions; do
37116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37117 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37118 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
37128 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
37129 if test -n "$PKG_CONFIG"; then
37130 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
37131 echo "${ECHO_T}$PKG_CONFIG" >&6; }
37133 { echo "$as_me:$LINENO: result
: no
" >&5
37134 echo "${ECHO_T}no
" >&6; }
37139 if test -z "$ac_cv_path_PKG_CONFIG"; then
37140 ac_pt_PKG_CONFIG=$PKG_CONFIG
37141 # Extract the first word of "pkg-config
", so it can be a program name with args.
37142 set dummy pkg-config; ac_word=$2
37143 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
37144 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
37145 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
37146 echo $ECHO_N "(cached
) $ECHO_C" >&6
37148 case $ac_pt_PKG_CONFIG in
37150 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
37153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37154 for as_dir in $PATH
37157 test -z "$as_dir" && as_dir=.
37158 for ac_exec_ext in '' $ac_executable_extensions; do
37159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37160 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37161 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
37171 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
37172 if test -n "$ac_pt_PKG_CONFIG"; then
37173 { echo "$as_me:$LINENO: result
: $ac_pt_PKG_CONFIG" >&5
37174 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
37176 { echo "$as_me:$LINENO: result
: no
" >&5
37177 echo "${ECHO_T}no
" >&6; }
37180 if test "x
$ac_pt_PKG_CONFIG" = x; then
37183 case $cross_compiling:$ac_tool_warned in
37185 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
37186 whose name does not start with the
host triplet. If you think this
37187 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
37188 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
37189 whose name does not start with the
host triplet. If you think this
37190 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
37191 ac_tool_warned=yes ;;
37193 PKG_CONFIG=$ac_pt_PKG_CONFIG
37196 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
37200 if test -n "$PKG_CONFIG"; then
37201 _pkg_min_version=0.9.0
37202 { echo "$as_me:$LINENO: checking pkg-config is
at least version
$_pkg_min_version" >&5
37203 echo $ECHO_N "checking pkg-config is
at least version
$_pkg_min_version...
$ECHO_C" >&6; }
37204 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
37205 { echo "$as_me:$LINENO: result
: yes" >&5
37206 echo "${ECHO_T}yes" >&6; }
37208 { echo "$as_me:$LINENO: result
: no
" >&5
37209 echo "${ECHO_T}no
" >&6; }
37216 { echo "$as_me:$LINENO: checking
for GTK
" >&5
37217 echo $ECHO_N "checking
for GTK...
$ECHO_C" >&6; }
37219 if test -n "$PKG_CONFIG"; then
37220 if test -n "$GTK_CFLAGS"; then
37221 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
37223 if test -n "$PKG_CONFIG" && \
37224 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"gtk
+-2.0
\"") >&5
37225 ($PKG_CONFIG --exists --print-errors "gtk
+-2.0
") 2>&5
37227 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37228 (exit $ac_status); }; then
37229 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk
+-2.0
" 2>/dev/null`
37237 if test -n "$PKG_CONFIG"; then
37238 if test -n "$GTK_LIBS"; then
37239 pkg_cv_GTK_LIBS="$GTK_LIBS"
37241 if test -n "$PKG_CONFIG" && \
37242 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"gtk
+-2.0
\"") >&5
37243 ($PKG_CONFIG --exists --print-errors "gtk
+-2.0
") 2>&5
37245 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37246 (exit $ac_status); }; then
37247 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk
+-2.0
" 2>/dev/null`
37258 if test $pkg_failed = yes; then
37260 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37261 _pkg_short_errors_supported=yes
37263 _pkg_short_errors_supported=no
37265 if test $_pkg_short_errors_supported = yes; then
37266 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk
+-2.0
"`
37268 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk
+-2.0
"`
37270 # Put the nasty error message in config.log where it belongs
37271 echo "$GTK_PKG_ERRORS" >&5
37273 { { echo "$as_me:$LINENO: error
: Package requirements
(gtk
+-2.0
) were not met
:
37277 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
37278 installed software
in a non-standard prefix.
37280 Alternatively
, you may
set the environment variables GTK_CFLAGS
37281 and GTK_LIBS to avoid the need to call pkg-config.
37282 See the pkg-config man page
for more details.
37284 echo "$as_me: error
: Package requirements
(gtk
+-2.0
) were not met
:
37288 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
37289 installed software
in a non-standard prefix.
37291 Alternatively
, you may
set the environment variables GTK_CFLAGS
37292 and GTK_LIBS to avoid the need to call pkg-config.
37293 See the pkg-config man page
for more details.
37295 { (exit 1); exit 1; }; }
37296 elif test $pkg_failed = untried; then
37297 { { echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
37298 is
in your PATH or
set the PKG_CONFIG environment variable to the full
37299 path to pkg-config.
37301 Alternatively
, you may
set the environment variables GTK_CFLAGS
37302 and GTK_LIBS to avoid the need to call pkg-config.
37303 See the pkg-config man page
for more details.
37305 To get pkg-config
, see
<http
://www.freedesktop.org
/software
/pkgconfig
>.
37306 See \
`config.log' for more details." >&5
37307 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
37308 is in your PATH or set the PKG_CONFIG environment variable to the full
37309 path to pkg-config.
37311 Alternatively, you may set the environment variables GTK_CFLAGS
37312 and GTK_LIBS to avoid the need to call pkg-config.
37313 See the pkg-config man page for more details.
37315 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
37316 See \`config.log
' for more details." >&2;}
37317 { (exit 1); exit 1; }; }
37319 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
37320 GTK_LIBS=$pkg_cv_GTK_LIBS
37321 { echo "$as_me:$LINENO: result: yes" >&5
37322 echo "${ECHO_T}yes" >&6; }
37324 WX_CFLAGS="$WX_CFLAGS $GTK_CFLAGS"
37325 WX_CXXFLAGS="$WX_CXXFLAGS $GTK_CFLAGS"
37329 # if gtk-config exists, then add it to the cflags.
37330 gtkconf=`gtk-config --cflags`
37331 if test $? = 0; then
37332 # gtk-config was found and returned 0, so it must return valid output
37333 WX_CFLAGS="$WX_CFLAGS $gtkconf"
37334 WX_CXXFLAGS="$WX_CXXFLAGS $gtkconf"
37337 # GUI_C*FLAGS are added to the compilation of every bochs file, not just
37338 # the files in gui/*.cc. They are not used when building other things
37340 GUI_CFLAGS="$GUI_CFLAGS $WX_CFLAGS"
37341 GUI_CXXFLAGS="$GUI_CXXFLAGS $WX_CXXFLAGS"
37342 GUI_LINK_OPTS="$GUI_LINK_OPTS \$(GUI_LINK_OPTS_WX)"
37343 # using debugger with readline is failing due to thread/signal handler
37346 *-pc-windows* | *-cygwin* | *-mingw32*)
37347 EXTRA_BX_OBJS="$EXTRA_BX_OBJS wxbochs_resources.o"
37348 GUI_LINK_OPTS_WX="$GUI_LINK_OPTS_WX --subsystem,windows -mwindows"
37353 if test "$with_nogui" = yes; then
37354 display_libs="$display_libs nogui"
37355 cat >>confdefs.h <<\_ACEOF
37356 #define BX_WITH_NOGUI 1
37359 SPECIFIC_GUI_OBJS="$SPECIFIC_GUI_OBJS \$(GUI_OBJS_NOGUI)"
37362 { echo "$as_me:$LINENO: checking for display libraries" >&5
37363 echo $ECHO_N "checking for display libraries... $ECHO_C" >&6; }
37364 { echo "$as_me:$LINENO: result: $display_libs" >&5
37365 echo "${ECHO_T}$display_libs" >&6; }
37367 if test "$display_libs" = ""; then
37368 echo "No display libraries were selected. Use --with-* options to enable"
37369 echo "individual display libraries, or --with-all-libs to detect the ones"
37370 echo "that Bochs supports."
37374 if test "$display_libs" = " wxWidgets"; then
37375 { echo "$as_me:$LINENO: checking for default configuration interface" >&5
37376 echo $ECHO_N "checking for default configuration interface... $ECHO_C" >&6; }
37377 { echo "$as_me:$LINENO: result: wxWidgets" >&5
37378 echo "${ECHO_T}wxWidgets" >&6; }
37379 { echo "$as_me:$LINENO: checking for default display library" >&5
37380 echo $ECHO_N "checking for default display library... $ECHO_C" >&6; }
37381 { echo "$as_me:$LINENO: result: wxWidgets" >&5
37382 echo "${ECHO_T}wxWidgets" >&6; }
37383 cat >>confdefs.h <<\_ACEOF
37384 #define BX_DEFAULT_CONFIG_INTERFACE "wx"
37387 cat >>confdefs.h <<\_ACEOF
37388 #define BX_DEFAULT_DISPLAY_LIBRARY "wx"
37391 cat >>confdefs.h <<\_ACEOF
37392 #define BX_USE_TEXTCONFIG 0
37396 cat >>confdefs.h <<\_ACEOF
37397 #define BX_USE_TEXTCONFIG 1
37402 if test "$bx_plugins" = 1; then
37403 # every item in this list will be compiled as a plugin. Do not include
37404 # support objs; they will be mentioned in plugin-specific makefile rules.
37405 GUI_PLUGIN_OBJS="$GUI_PLUGIN_OBJS $SPECIFIC_GUI_OBJS"
37407 # include support objs
37408 GUI_NON_PLUGIN_OBJS="$GUI_NON_PLUGIN_OBJS $SPECIFIC_GUI_OBJS $SPECIFIC_GUI_SUPPORT_OBJS"
37417 for ac_prog in wget curl fetch
37419 # Extract the first word of "$ac_prog", so it can be a program name with args.
37420 set dummy $ac_prog; ac_word=$2
37421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
37422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
37423 if test "${ac_cv_prog_WGET+set}" = set; then
37424 echo $ECHO_N "(cached) $ECHO_C" >&6
37426 if test -n "$WGET"; then
37427 ac_cv_prog_WGET="$WGET" # Let the user override the test.
37429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37430 for as_dir in $PATH
37433 test -z "$as_dir" && as_dir=.
37434 for ac_exec_ext in '' $ac_executable_extensions; do
37435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37436 ac_cv_prog_WGET="$ac_prog"
37437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37446 WGET=$ac_cv_prog_WGET
37447 if test -n "$WGET"; then
37448 { echo "$as_me:$LINENO: result: $WGET" >&5
37449 echo "${ECHO_T}$WGET" >&6; }
37451 { echo "$as_me:$LINENO: result: no" >&5
37452 echo "${ECHO_T}no" >&6; }
37456 test -n "$WGET" && break
37458 test -n "$WGET" || WGET="not_found"
37460 if test "$WGET" = not_found; then
37461 { echo "$as_me:$LINENO: WARNING: cannot find wget (or equivalent) command" >&5
37462 echo "$as_me: WARNING: cannot find wget (or equivalent) command" >&2;}
37464 # everybody has to re-invent the wheel. differently.
37465 test "${WGET}" = "curl" && WGET="curl -O"
37467 # modify settings based on target platform
37470 cat >>confdefs.h <<\_ACEOF
37471 #define BX_HAVE_STRDUP 0
37476 cat >>confdefs.h <<\_ACEOF
37477 #define BX_HAVE_STRDUP 0
37480 cat >>confdefs.h <<\_ACEOF
37481 #define BX_PLUGINS 0
37484 cat >>confdefs.h <<\_ACEOF
37485 #define BX_HAVE_DLFCN_H 0
37488 cat >>confdefs.h <<\_ACEOF
37489 #define BX_HAVE_SOCKLEN_T 0
37492 cat >>confdefs.h <<\_ACEOF
37493 #define BX_HAVE_SELECT 0
37496 cat >>confdefs.h <<\_ACEOF
37497 #define BX_HAVE_GETTIMEOFDAY 0
37500 cat >>confdefs.h <<\_ACEOF
37501 #define BX_NO_ATTRIBUTES 1
37504 cat >>confdefs.h <<\_ACEOF
37505 #define HAVE_TUNTAP 0
37508 cat >>confdefs.h <<\_ACEOF
37509 #define HAVE_ETHERTAP 0
37512 cat >>confdefs.h <<\_ACEOF
37513 #define BX_HAVE_HASH_MAP 0
37518 INSTALL_TARGET='install_win32
'
37521 #C_OPT="/Zi" # for debugging
37522 C_OPT="/Ox" # optimize for speed
37523 CFLAGS="/nologo /G6 /MT /W3 /GX- /DNDEBUG /DWIN32 /D_WINDOWS $C_OPT"
37531 MAKELIB="lib /nologo /subsystem:console /verbose /out:\$@"
37534 #L_OPT="/debug" # for debugging
37535 L_OPT="" # no debug info
37536 LINK="link $L_OPT /nologo /subsystem:console /incremental:no /out:\$@ "
37539 PRIMARY_TARGET="bochs.exe"
37540 BXIMAGE_LINK_OPTS="user32.lib"
37541 # also compile niclist if networking is on
37542 if test "$networking" = yes; then
37543 PRIMARY_TARGET="$PRIMARY_TARGET niclist.exe"
37545 COMMAND_SEPARATOR=""
37547 CD_UP_TWO="cd ..\.."
37548 CD_UP_THREE="cd ..\..\.."
37549 have_gettimeofday=0 # even though it may exist in build environment
37550 cat >>confdefs.h <<\_ACEOF
37551 #define BX_64BIT_CONSTANTS_USE_LL 0
37554 cat >>confdefs.h <<\_ACEOF
37555 #define inline __inline
37558 cat >>confdefs.h <<\_ACEOF
37559 #define BX_NO_EMPTY_STRUCTS 1
37562 cat >>confdefs.h <<\_ACEOF
37563 #define BX_NO_ATTRIBUTES 1
37566 cat >>confdefs.h <<\_ACEOF
37567 #define BX_HAVE_HASH_MAP 0
37570 cat >>confdefs.h <<\_ACEOF
37571 #define BX_HAVE_HASH_MAP_H 0
37574 cat >>confdefs.h <<\_ACEOF
37575 #define BX_HAVE_STRTOULL 0
37578 cat >>confdefs.h <<\_ACEOF
37579 #define BX_HAVE_STRTOUQ 0
37582 cat >>confdefs.h <<\_ACEOF
37583 #define HAVE_LIBREADLINE 0
37586 cat >>confdefs.h <<\_ACEOF
37587 #define BX_HAVE_GETTIMEOFDAY 0
37590 cat >>confdefs.h <<\_ACEOF
37591 #define BX_HAVE_DLFCN_H 0
37594 cat >>confdefs.h <<\_ACEOF
37595 #define BX_HAVE_MKSTEMP 0
37598 cat >>confdefs.h <<\_ACEOF
37599 #define BX_HAVE_SYS_MMAN_H 0
37602 cat >>confdefs.h <<\_ACEOF
37603 #define BX_HAVE_USLEEP 0
37606 cat >>confdefs.h <<\_ACEOF
37607 #define HAVE_ETHERTAP 0
37610 cat >>confdefs.h <<\_ACEOF
37611 #define BX_HAVE_SELECT 1
37614 cat >>confdefs.h <<\_ACEOF
37615 #define BX_HAVE_SOCKLEN_T 0
37621 PRIMARY_TARGET="bochs.exe"
37622 BXIMAGE_LINK_OPTS="-luser32"
37623 if test "$networking" = yes; then
37624 PRIMARY_TARGET="$PRIMARY_TARGET niclist.exe"
37626 cat >>confdefs.h <<\_ACEOF
37627 #define BX_HAVE_SELECT 1
37632 BXIMAGE_LINK_OPTS="-luser32"
37633 if test "$networking" = yes; then
37634 PRIMARY_TARGET="$PRIMARY_TARGET niclist"
37636 cat >>confdefs.h <<\_ACEOF
37637 #define BX_HAVE_SELECT 1
37642 PRIMARY_TARGET=.bochs_beos_target
37647 EXPORT_DYNAMIC="-export-dynamic"
37649 *-pc-windows* | *-pc-winnt* | *-cygwin* | *-mingw*)
37650 if test "$bx_plugins" = 1; then
37651 { echo "$as_me:$LINENO: checking for opendir in -lmingwex" >&5
37652 echo $ECHO_N "checking for opendir in -lmingwex... $ECHO_C" >&6; }
37653 if test "${ac_cv_lib_mingwex_opendir+set}" = set; then
37654 echo $ECHO_N "(cached) $ECHO_C" >&6
37656 ac_check_lib_save_LIBS=$LIBS
37657 LIBS="-lmingwex $LIBS"
37658 cat >conftest.$ac_ext <<_ACEOF
37661 cat confdefs.h >>conftest.$ac_ext
37662 cat >>conftest.$ac_ext <<_ACEOF
37663 /* end confdefs.h. */
37665 /* Override any GCC internal prototype to avoid an error.
37666 Use char because int might match the return type of a GCC
37667 builtin and then its argument prototype would still apply. */
37680 rm -f conftest.$ac_objext conftest$ac_exeext
37681 if { (ac_try="$ac_link"
37682 case "(($ac_try" in
37683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37684 *) ac_try_echo=$ac_try;;
37686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37687 (eval "$ac_link") 2>conftest.er1
37689 grep -v '^
*+' conftest.er1 >conftest.err
37691 cat conftest.err >&5
37692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37693 (exit $ac_status); } && {
37694 test -z "$ac_c_werror_flag" ||
37695 test ! -s conftest.err
37696 } && test -s conftest$ac_exeext &&
37697 $as_test_x conftest$ac_exeext; then
37698 ac_cv_lib_mingwex_opendir=yes
37700 echo "$as_me: failed program was:" >&5
37701 sed 's
/^
/|
/' conftest.$ac_ext >&5
37703 ac_cv_lib_mingwex_opendir=no
37706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37707 conftest$ac_exeext conftest.$ac_ext
37708 LIBS=$ac_check_lib_save_LIBS
37710 { echo "$as_me:$LINENO: result: $ac_cv_lib_mingwex_opendir" >&5
37711 echo "${ECHO_T}$ac_cv_lib_mingwex_opendir" >&6; }
37712 if test $ac_cv_lib_mingwex_opendir = yes; then
37713 LIBS="$LIBS -lmingwex"
37716 # set variables for building DLL plugins
37717 PRIMARY_TARGET=".win32_dll_plugin_target"
37718 PLUGIN_LIBNAME_TRANSFORMATION='%.o
=bx_
%.dll
'
37719 INSTALL_PLUGINS_VAR=install_dll_plugins
37721 if test "$with_win32" != yes; then
37722 LIBS="$LIBS -lcomctl32"
37725 DIALOG_OBJS="win32dialog.o"
37732 if test "$use_curses" = yes -a "$cross_configure" = 0; then
37733 { echo "$as_me:$LINENO: checking for mvaddch in -lcurses" >&5
37734 echo $ECHO_N "checking for mvaddch in -lcurses... $ECHO_C" >&6; }
37735 if test "${ac_cv_lib_curses_mvaddch+set}" = set; then
37736 echo $ECHO_N "(cached) $ECHO_C" >&6
37738 ac_check_lib_save_LIBS=$LIBS
37739 LIBS="-lcurses $LIBS"
37740 cat >conftest.$ac_ext <<_ACEOF
37743 cat confdefs.h >>conftest.$ac_ext
37744 cat >>conftest.$ac_ext <<_ACEOF
37745 /* end confdefs.h. */
37747 /* Override any GCC internal prototype to avoid an error.
37748 Use char because int might match the return type of a GCC
37749 builtin and then its argument prototype would still apply. */
37762 rm -f conftest.$ac_objext conftest$ac_exeext
37763 if { (ac_try="$ac_link"
37764 case "(($ac_try" in
37765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37766 *) ac_try_echo=$ac_try;;
37768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37769 (eval "$ac_link") 2>conftest.er1
37771 grep -v '^
*+' conftest.er1 >conftest.err
37773 cat conftest.err >&5
37774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37775 (exit $ac_status); } && {
37776 test -z "$ac_c_werror_flag" ||
37777 test ! -s conftest.err
37778 } && test -s conftest$ac_exeext &&
37779 $as_test_x conftest$ac_exeext; then
37780 ac_cv_lib_curses_mvaddch=yes
37782 echo "$as_me: failed program was:" >&5
37783 sed 's
/^
/|
/' conftest.$ac_ext >&5
37785 ac_cv_lib_curses_mvaddch=no
37788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37789 conftest$ac_exeext conftest.$ac_ext
37790 LIBS=$ac_check_lib_save_LIBS
37792 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_mvaddch" >&5
37793 echo "${ECHO_T}$ac_cv_lib_curses_mvaddch" >&6; }
37794 if test $ac_cv_lib_curses_mvaddch = yes; then
37795 GUI_LINK_OPTS_TERM='-lcurses'
37798 { echo "$as_me:$LINENO: checking for mvaddch in -lncurses" >&5
37799 echo $ECHO_N "checking for mvaddch in -lncurses... $ECHO_C" >&6; }
37800 if test "${ac_cv_lib_ncurses_mvaddch+set}" = set; then
37801 echo $ECHO_N "(cached) $ECHO_C" >&6
37803 ac_check_lib_save_LIBS=$LIBS
37804 LIBS="-lncurses $LIBS"
37805 cat >conftest.$ac_ext <<_ACEOF
37808 cat confdefs.h >>conftest.$ac_ext
37809 cat >>conftest.$ac_ext <<_ACEOF
37810 /* end confdefs.h. */
37812 /* Override any GCC internal prototype to avoid an error.
37813 Use char because int might match the return type of a GCC
37814 builtin and then its argument prototype would still apply. */
37827 rm -f conftest.$ac_objext conftest$ac_exeext
37828 if { (ac_try="$ac_link"
37829 case "(($ac_try" in
37830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37831 *) ac_try_echo=$ac_try;;
37833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37834 (eval "$ac_link") 2>conftest.er1
37836 grep -v '^
*+' conftest.er1 >conftest.err
37838 cat conftest.err >&5
37839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37840 (exit $ac_status); } && {
37841 test -z "$ac_c_werror_flag" ||
37842 test ! -s conftest.err
37843 } && test -s conftest$ac_exeext &&
37844 $as_test_x conftest$ac_exeext; then
37845 ac_cv_lib_ncurses_mvaddch=yes
37847 echo "$as_me: failed program was:" >&5
37848 sed 's
/^
/|
/' conftest.$ac_ext >&5
37850 ac_cv_lib_ncurses_mvaddch=no
37853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37854 conftest$ac_exeext conftest.$ac_ext
37855 LIBS=$ac_check_lib_save_LIBS
37857 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_mvaddch" >&5
37858 echo "${ECHO_T}$ac_cv_lib_ncurses_mvaddch" >&6; }
37859 if test $ac_cv_lib_ncurses_mvaddch = yes; then
37860 GUI_LINK_OPTS_TERM='-lncurses'
37863 { echo "$as_me:$LINENO: checking for mvaddch in -ltermlib" >&5
37864 echo $ECHO_N "checking for mvaddch in -ltermlib... $ECHO_C" >&6; }
37865 if test "${ac_cv_lib_termlib_mvaddch+set}" = set; then
37866 echo $ECHO_N "(cached) $ECHO_C" >&6
37868 ac_check_lib_save_LIBS=$LIBS
37869 LIBS="-ltermlib $LIBS"
37870 cat >conftest.$ac_ext <<_ACEOF
37873 cat confdefs.h >>conftest.$ac_ext
37874 cat >>conftest.$ac_ext <<_ACEOF
37875 /* end confdefs.h. */
37877 /* Override any GCC internal prototype to avoid an error.
37878 Use char because int might match the return type of a GCC
37879 builtin and then its argument prototype would still apply. */
37892 rm -f conftest.$ac_objext conftest$ac_exeext
37893 if { (ac_try="$ac_link"
37894 case "(($ac_try" in
37895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37896 *) ac_try_echo=$ac_try;;
37898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37899 (eval "$ac_link") 2>conftest.er1
37901 grep -v '^
*+' conftest.er1 >conftest.err
37903 cat conftest.err >&5
37904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37905 (exit $ac_status); } && {
37906 test -z "$ac_c_werror_flag" ||
37907 test ! -s conftest.err
37908 } && test -s conftest$ac_exeext &&
37909 $as_test_x conftest$ac_exeext; then
37910 ac_cv_lib_termlib_mvaddch=yes
37912 echo "$as_me: failed program was:" >&5
37913 sed 's
/^
/|
/' conftest.$ac_ext >&5
37915 ac_cv_lib_termlib_mvaddch=no
37918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37919 conftest$ac_exeext conftest.$ac_ext
37920 LIBS=$ac_check_lib_save_LIBS
37922 { echo "$as_me:$LINENO: result: $ac_cv_lib_termlib_mvaddch" >&5
37923 echo "${ECHO_T}$ac_cv_lib_termlib_mvaddch" >&6; }
37924 if test $ac_cv_lib_termlib_mvaddch = yes; then
37925 GUI_LINK_OPTS_TERM='-ltermlib'
37928 { echo "$as_me:$LINENO: checking for mvaddch in -lpdcurses" >&5
37929 echo $ECHO_N "checking for mvaddch in -lpdcurses... $ECHO_C" >&6; }
37930 if test "${ac_cv_lib_pdcurses_mvaddch+set}" = set; then
37931 echo $ECHO_N "(cached) $ECHO_C" >&6
37933 ac_check_lib_save_LIBS=$LIBS
37934 LIBS="-lpdcurses $LIBS"
37935 cat >conftest.$ac_ext <<_ACEOF
37938 cat confdefs.h >>conftest.$ac_ext
37939 cat >>conftest.$ac_ext <<_ACEOF
37940 /* end confdefs.h. */
37942 /* Override any GCC internal prototype to avoid an error.
37943 Use char because int might match the return type of a GCC
37944 builtin and then its argument prototype would still apply. */
37957 rm -f conftest.$ac_objext conftest$ac_exeext
37958 if { (ac_try="$ac_link"
37959 case "(($ac_try" in
37960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37961 *) ac_try_echo=$ac_try;;
37963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37964 (eval "$ac_link") 2>conftest.er1
37966 grep -v '^
*+' conftest.er1 >conftest.err
37968 cat conftest.err >&5
37969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37970 (exit $ac_status); } && {
37971 test -z "$ac_c_werror_flag" ||
37972 test ! -s conftest.err
37973 } && test -s conftest$ac_exeext &&
37974 $as_test_x conftest$ac_exeext; then
37975 ac_cv_lib_pdcurses_mvaddch=yes
37977 echo "$as_me: failed program was:" >&5
37978 sed 's
/^
/|
/' conftest.$ac_ext >&5
37980 ac_cv_lib_pdcurses_mvaddch=no
37983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37984 conftest$ac_exeext conftest.$ac_ext
37985 LIBS=$ac_check_lib_save_LIBS
37987 { echo "$as_me:$LINENO: result: $ac_cv_lib_pdcurses_mvaddch" >&5
37988 echo "${ECHO_T}$ac_cv_lib_pdcurses_mvaddch" >&6; }
37989 if test $ac_cv_lib_pdcurses_mvaddch = yes; then
37990 GUI_LINK_OPTS_TERM='-lpdcurses'
37993 if test "$GUI_LINK_OPTS_TERM" = ""; then
37994 echo Curses library not found: tried curses, ncurses, termlib and pdcurses.
37999 if test "$with_term" = yes; then
38001 LIBS="$LIBS $GUI_LINK_OPTS_TERM"
38003 for ac_func in color_set
38005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38006 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38008 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38009 echo $ECHO_N "(cached) $ECHO_C" >&6
38011 cat >conftest.$ac_ext <<_ACEOF
38014 cat confdefs.h >>conftest.$ac_ext
38015 cat >>conftest.$ac_ext <<_ACEOF
38016 /* end confdefs.h. */
38017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38019 #define $ac_func innocuous_$ac_func
38021 /* System header to define __stub macros and hopefully few prototypes,
38022 which can conflict with char $ac_func (); below.
38023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38024 <limits.h> exists even on freestanding compilers. */
38027 # include <limits.h>
38029 # include <assert.h>
38034 /* Override any GCC internal prototype to avoid an error.
38035 Use char because int might match the return type of a GCC
38036 builtin and then its argument prototype would still apply. */
38041 /* The GNU C library defines this for functions which it implements
38042 to always fail with ENOSYS. Some functions are actually named
38043 something starting with __ and the normal name is an alias. */
38044 #if defined __stub_$ac_func || defined __stub___$ac_func
38051 return $ac_func ();
38056 rm -f conftest.$ac_objext conftest$ac_exeext
38057 if { (ac_try="$ac_link"
38058 case "(($ac_try" in
38059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38060 *) ac_try_echo=$ac_try;;
38062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38063 (eval "$ac_link") 2>conftest.er1
38065 grep -v '^
*+' conftest.er1 >conftest.err
38067 cat conftest.err >&5
38068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38069 (exit $ac_status); } && {
38070 test -z "$ac_c_werror_flag" ||
38071 test ! -s conftest.err
38072 } && test -s conftest$ac_exeext &&
38073 $as_test_x conftest$ac_exeext; then
38074 eval "$as_ac_var=yes"
38076 echo "$as_me: failed program was:" >&5
38077 sed 's
/^
/|
/' conftest.$ac_ext >&5
38079 eval "$as_ac_var=no"
38082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38083 conftest$ac_exeext conftest.$ac_ext
38085 ac_res=`eval echo '${'$as_ac_var'}'`
38086 { echo "$as_me:$LINENO: result: $ac_res" >&5
38087 echo "${ECHO_T}$ac_res" >&6; }
38088 if test `eval echo '${'$as_ac_var'}'` = yes; then
38089 cat >>confdefs.h <<_ACEOF
38090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38092 cat >>confdefs.h <<\_ACEOF
38093 #define BX_HAVE_COLOR_SET 1
38100 for ac_func in mvhline
38102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38103 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38105 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38106 echo $ECHO_N "(cached) $ECHO_C" >&6
38108 cat >conftest.$ac_ext <<_ACEOF
38111 cat confdefs.h >>conftest.$ac_ext
38112 cat >>conftest.$ac_ext <<_ACEOF
38113 /* end confdefs.h. */
38114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38116 #define $ac_func innocuous_$ac_func
38118 /* System header to define __stub macros and hopefully few prototypes,
38119 which can conflict with char $ac_func (); below.
38120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38121 <limits.h> exists even on freestanding compilers. */
38124 # include <limits.h>
38126 # include <assert.h>
38131 /* Override any GCC internal prototype to avoid an error.
38132 Use char because int might match the return type of a GCC
38133 builtin and then its argument prototype would still apply. */
38138 /* The GNU C library defines this for functions which it implements
38139 to always fail with ENOSYS. Some functions are actually named
38140 something starting with __ and the normal name is an alias. */
38141 #if defined __stub_$ac_func || defined __stub___$ac_func
38148 return $ac_func ();
38153 rm -f conftest.$ac_objext conftest$ac_exeext
38154 if { (ac_try="$ac_link"
38155 case "(($ac_try" in
38156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38157 *) ac_try_echo=$ac_try;;
38159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38160 (eval "$ac_link") 2>conftest.er1
38162 grep -v '^
*+' conftest.er1 >conftest.err
38164 cat conftest.err >&5
38165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38166 (exit $ac_status); } && {
38167 test -z "$ac_c_werror_flag" ||
38168 test ! -s conftest.err
38169 } && test -s conftest$ac_exeext &&
38170 $as_test_x conftest$ac_exeext; then
38171 eval "$as_ac_var=yes"
38173 echo "$as_me: failed program was:" >&5
38174 sed 's
/^
/|
/' conftest.$ac_ext >&5
38176 eval "$as_ac_var=no"
38179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38180 conftest$ac_exeext conftest.$ac_ext
38182 ac_res=`eval echo '${'$as_ac_var'}'`
38183 { echo "$as_me:$LINENO: result: $ac_res" >&5
38184 echo "${ECHO_T}$ac_res" >&6; }
38185 if test `eval echo '${'$as_ac_var'}'` = yes; then
38186 cat >>confdefs.h <<_ACEOF
38187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38189 cat >>confdefs.h <<\_ACEOF
38190 #define BX_HAVE_MVHLINE 1
38197 for ac_func in mvvline
38199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38200 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38202 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38203 echo $ECHO_N "(cached) $ECHO_C" >&6
38205 cat >conftest.$ac_ext <<_ACEOF
38208 cat confdefs.h >>conftest.$ac_ext
38209 cat >>conftest.$ac_ext <<_ACEOF
38210 /* end confdefs.h. */
38211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38213 #define $ac_func innocuous_$ac_func
38215 /* System header to define __stub macros and hopefully few prototypes,
38216 which can conflict with char $ac_func (); below.
38217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38218 <limits.h> exists even on freestanding compilers. */
38221 # include <limits.h>
38223 # include <assert.h>
38228 /* Override any GCC internal prototype to avoid an error.
38229 Use char because int might match the return type of a GCC
38230 builtin and then its argument prototype would still apply. */
38235 /* The GNU C library defines this for functions which it implements
38236 to always fail with ENOSYS. Some functions are actually named
38237 something starting with __ and the normal name is an alias. */
38238 #if defined __stub_$ac_func || defined __stub___$ac_func
38245 return $ac_func ();
38250 rm -f conftest.$ac_objext conftest$ac_exeext
38251 if { (ac_try="$ac_link"
38252 case "(($ac_try" in
38253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38254 *) ac_try_echo=$ac_try;;
38256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38257 (eval "$ac_link") 2>conftest.er1
38259 grep -v '^
*+' conftest.er1 >conftest.err
38261 cat conftest.err >&5
38262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38263 (exit $ac_status); } && {
38264 test -z "$ac_c_werror_flag" ||
38265 test ! -s conftest.err
38266 } && test -s conftest$ac_exeext &&
38267 $as_test_x conftest$ac_exeext; then
38268 eval "$as_ac_var=yes"
38270 echo "$as_me: failed program was:" >&5
38271 sed 's
/^
/|
/' conftest.$ac_ext >&5
38273 eval "$as_ac_var=no"
38276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38277 conftest$ac_exeext conftest.$ac_ext
38279 ac_res=`eval echo '${'$as_ac_var'}'`
38280 { echo "$as_me:$LINENO: result: $ac_res" >&5
38281 echo "${ECHO_T}$ac_res" >&6; }
38282 if test `eval echo '${'$as_ac_var'}'` = yes; then
38283 cat >>confdefs.h <<_ACEOF
38284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38286 cat >>confdefs.h <<\_ACEOF
38287 #define BX_HAVE_MVVLINE 1
38296 if test "$with_rfb" = yes; then
38297 # we need the socket function
38300 # is this okay without a check ?
38301 RFB_LIBS="$RFB_LIBS wsock32.lib"
38304 *-pc-winnt* | *-pc-cygwin* | *-pc-mingw32*)
38305 # is this okay without a check ?
38306 RFB_LIBS="$RFB_LIBS -lwsock32"
38311 for ac_func in socket
38313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38314 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38316 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38317 echo $ECHO_N "(cached) $ECHO_C" >&6
38319 cat >conftest.$ac_ext <<_ACEOF
38322 cat confdefs.h >>conftest.$ac_ext
38323 cat >>conftest.$ac_ext <<_ACEOF
38324 /* end confdefs.h. */
38325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38327 #define $ac_func innocuous_$ac_func
38329 /* System header to define __stub macros and hopefully few prototypes,
38330 which can conflict with char $ac_func (); below.
38331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38332 <limits.h> exists even on freestanding compilers. */
38335 # include <limits.h>
38337 # include <assert.h>
38342 /* Override any GCC internal prototype to avoid an error.
38343 Use char because int might match the return type of a GCC
38344 builtin and then its argument prototype would still apply. */
38349 /* The GNU C library defines this for functions which it implements
38350 to always fail with ENOSYS. Some functions are actually named
38351 something starting with __ and the normal name is an alias. */
38352 #if defined __stub_$ac_func || defined __stub___$ac_func
38359 return $ac_func ();
38364 rm -f conftest.$ac_objext conftest$ac_exeext
38365 if { (ac_try="$ac_link"
38366 case "(($ac_try" in
38367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38368 *) ac_try_echo=$ac_try;;
38370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38371 (eval "$ac_link") 2>conftest.er1
38373 grep -v '^
*+' conftest.er1 >conftest.err
38375 cat conftest.err >&5
38376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38377 (exit $ac_status); } && {
38378 test -z "$ac_c_werror_flag" ||
38379 test ! -s conftest.err
38380 } && test -s conftest$ac_exeext &&
38381 $as_test_x conftest$ac_exeext; then
38382 eval "$as_ac_var=yes"
38384 echo "$as_me: failed program was:" >&5
38385 sed 's
/^
/|
/' conftest.$ac_ext >&5
38387 eval "$as_ac_var=no"
38390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38391 conftest$ac_exeext conftest.$ac_ext
38393 ac_res=`eval echo '${'$as_ac_var'}'`
38394 { echo "$as_me:$LINENO: result: $ac_res" >&5
38395 echo "${ECHO_T}$ac_res" >&6; }
38396 if test `eval echo '${'$as_ac_var'}'` = yes; then
38397 cat >>confdefs.h <<_ACEOF
38398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38404 if test "$have_socket" != yes; then
38405 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
38406 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
38407 if test "${ac_cv_lib_socket_socket+set}" = set; then
38408 echo $ECHO_N "(cached) $ECHO_C" >&6
38410 ac_check_lib_save_LIBS=$LIBS
38411 LIBS="-lsocket $LIBS"
38412 cat >conftest.$ac_ext <<_ACEOF
38415 cat confdefs.h >>conftest.$ac_ext
38416 cat >>conftest.$ac_ext <<_ACEOF
38417 /* end confdefs.h. */
38419 /* Override any GCC internal prototype to avoid an error.
38420 Use char because int might match the return type of a GCC
38421 builtin and then its argument prototype would still apply. */
38434 rm -f conftest.$ac_objext conftest$ac_exeext
38435 if { (ac_try="$ac_link"
38436 case "(($ac_try" in
38437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38438 *) ac_try_echo=$ac_try;;
38440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38441 (eval "$ac_link") 2>conftest.er1
38443 grep -v '^
*+' conftest.er1 >conftest.err
38445 cat conftest.err >&5
38446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38447 (exit $ac_status); } && {
38448 test -z "$ac_c_werror_flag" ||
38449 test ! -s conftest.err
38450 } && test -s conftest$ac_exeext &&
38451 $as_test_x conftest$ac_exeext; then
38452 ac_cv_lib_socket_socket=yes
38454 echo "$as_me: failed program was:" >&5
38455 sed 's
/^
/|
/' conftest.$ac_ext >&5
38457 ac_cv_lib_socket_socket=no
38460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38461 conftest$ac_exeext conftest.$ac_ext
38462 LIBS=$ac_check_lib_save_LIBS
38464 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
38465 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
38466 if test $ac_cv_lib_socket_socket = yes; then
38468 RFB_LIBS="$RFB_LIBS -lsocket"
38476 if test "$have_socket" != yes; then
38477 echo 'ERROR
: socket
function required
for RFB compile
'
38482 # The ACX_PTHREAD function was written by
38483 # Steven G. Johnson <stevenj@alum.mit.edu> and
38484 # Alejandro Forero Cuervo <bachue@bachue.com>
38485 # I found it in the ac-archive project on Source Forge.
38493 # First, check if the POSIX threads header, pthread.h, is available.
38494 # If it isn't
, don
't bother looking for the threads libraries.
38495 if test "${ac_cv_header_pthread_h+set}" = set; then
38496 { echo "$as_me:$LINENO: checking for pthread.h" >&5
38497 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
38498 if test "${ac_cv_header_pthread_h+set}" = set; then
38499 echo $ECHO_N "(cached) $ECHO_C" >&6
38501 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
38502 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
38504 # Is the header compilable?
38505 { echo "$as_me:$LINENO: checking pthread.h usability" >&5
38506 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; }
38507 cat >conftest.$ac_ext <<_ACEOF
38510 cat confdefs.h >>conftest.$ac_ext
38511 cat >>conftest.$ac_ext <<_ACEOF
38512 /* end confdefs.h. */
38513 $ac_includes_default
38514 #include <pthread.h>
38516 rm -f conftest.$ac_objext
38517 if { (ac_try="$ac_compile"
38518 case "(($ac_try" in
38519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38520 *) ac_try_echo=$ac_try;;
38522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38523 (eval "$ac_compile") 2>conftest.er1
38525 grep -v '^
*+' conftest.er1 >conftest.err
38527 cat conftest.err >&5
38528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38529 (exit $ac_status); } && {
38530 test -z "$ac_c_werror_flag" ||
38531 test ! -s conftest.err
38532 } && test -s conftest.$ac_objext; then
38533 ac_header_compiler=yes
38535 echo "$as_me: failed program was:" >&5
38536 sed 's
/^
/|
/' conftest.$ac_ext >&5
38538 ac_header_compiler=no
38541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38542 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38543 echo "${ECHO_T}$ac_header_compiler" >&6; }
38545 # Is the header present?
38546 { echo "$as_me:$LINENO: checking pthread.h presence" >&5
38547 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6; }
38548 cat >conftest.$ac_ext <<_ACEOF
38551 cat confdefs.h >>conftest.$ac_ext
38552 cat >>conftest.$ac_ext <<_ACEOF
38553 /* end confdefs.h. */
38554 #include <pthread.h>
38556 if { (ac_try="$ac_cpp conftest.$ac_ext"
38557 case "(($ac_try" in
38558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38559 *) ac_try_echo=$ac_try;;
38561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38562 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
38564 grep -v '^
*+' conftest.er1 >conftest.err
38566 cat conftest.err >&5
38567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38568 (exit $ac_status); } >/dev/null && {
38569 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
38570 test ! -s conftest.err
38572 ac_header_preproc=yes
38574 echo "$as_me: failed program was:" >&5
38575 sed 's
/^
/|
/' conftest.$ac_ext >&5
38577 ac_header_preproc=no
38580 rm -f conftest.err conftest.$ac_ext
38581 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38582 echo "${ECHO_T}$ac_header_preproc" >&6; }
38584 # So? What about this header?
38585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38587 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
38588 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
38589 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result
" >&5
38590 echo "$as_me: WARNING
: pthread.h
: proceeding with the compiler
's result" >&2;}
38591 ac_header_preproc=yes
38594 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
38595 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
38596 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
38597 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
38598 { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
38599 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
38600 { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
38601 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
38602 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result
" >&5
38603 echo "$as_me: WARNING
: pthread.h
: proceeding with the preprocessor
's result" >&2;}
38604 { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
38605 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
38609 { echo "$as_me:$LINENO: checking for pthread.h" >&5
38610 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
38611 if test "${ac_cv_header_pthread_h+set}" = set; then
38612 echo $ECHO_N "(cached) $ECHO_C" >&6
38614 ac_cv_header_pthread_h=$ac_header_preproc
38616 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
38617 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
38620 if test $ac_cv_header_pthread_h = yes; then
38623 acx_pthread_ok=noheader
38628 # We must check for the threads library under a number of different
38629 # names; the ordering is very important because some systems
38630 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
38631 # libraries is broken (non-POSIX).
38633 # First of all, check if the user has set any of the PTHREAD_LIBS,
38634 # etcetera environment variables, and if threads linking works using
38636 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
38637 save_CFLAGS="$CFLAGS"
38638 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
38639 CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
38641 LIBS="$PTHREAD_LIBS $LIBS"
38642 { echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
38643 echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6; }
38644 cat >conftest.$ac_ext <<_ACEOF
38647 cat confdefs.h >>conftest.$ac_ext
38648 cat >>conftest.$ac_ext <<_ACEOF
38649 /* end confdefs.h. */
38651 /* Override any GCC internal prototype to avoid an error.
38652 Use char because int might match the return type of a GCC
38653 builtin and then its argument prototype would still apply. */
38657 char pthread_join ();
38661 return pthread_join ();
38666 rm -f conftest.$ac_objext conftest$ac_exeext
38667 if { (ac_try="$ac_link"
38668 case "(($ac_try" in
38669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38670 *) ac_try_echo=$ac_try;;
38672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38673 (eval "$ac_link") 2>conftest.er1
38675 grep -v '^
*+' conftest.er1 >conftest.err
38677 cat conftest.err >&5
38678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38679 (exit $ac_status); } && {
38680 test -z "$ac_c_werror_flag" ||
38681 test ! -s conftest.err
38682 } && test -s conftest$ac_exeext &&
38683 $as_test_x conftest$ac_exeext; then
38686 echo "$as_me: failed program was:" >&5
38687 sed 's
/^
/|
/' conftest.$ac_ext >&5
38692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38693 conftest$ac_exeext conftest.$ac_ext
38694 { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
38695 echo "${ECHO_T}$acx_pthread_ok" >&6; }
38696 if test x"$acx_pthread_ok" = xno; then
38701 CFLAGS="$save_CFLAGS"
38704 # Create a list of thread flags to try. Items starting with a "-" are
38705 # C compiler flags, and other items are library names, except for "none"
38706 # which indicates that we try without any flags at all.
38708 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt"
38710 # The ordering *is* (sometimes) important. Some notes on the
38711 # individual items follow:
38713 # pthreads: AIX (must check this before -lpthread)
38714 # none: in case threads are in libc; should be tried before -Kthread and
38715 # other compiler flags to prevent continual compiler warnings
38716 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
38717 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
38718 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
38719 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
38720 # -pthreads: Solaris/gcc
38721 # -mthreads: Mingw32/gcc, Lynx/gcc
38722 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
38723 # doesn't hurt to check since this sometimes defines pthreads too
;
38724 # also defines -D_REENTRANT)
38725 # pthread: Linux, etcetera
38726 # --thread-safe: KAI C++
38728 case "${host_cpu}-${host_os}" in
38731 # On Solaris (at least, for some versions), libc contains stubbed
38732 # (non-functional) versions of the pthreads routines, so link-based
38733 # tests will erroneously succeed. (We need to link with -pthread or
38734 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
38735 # a function called by this macro, so we could check for that, but
38736 # who knows whether they'll stub that too in a future libc.) So,
38737 # we'll just look for -pthreads and -lpthread first:
38739 acx_pthread_flags
="-pthread -pthreads pthread -mt $acx_pthread_flags"
38743 if test x
"$acx_pthread_ok" = xno
; then
38744 for flag
in $acx_pthread_flags; do
38748 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38749 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38753 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38754 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38755 PTHREAD_CFLAGS
="$flag"
38759 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38760 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38761 PTHREAD_LIBS
="-l$flag"
38766 save_CFLAGS
="$CFLAGS"
38767 LIBS
="$PTHREAD_LIBS $LIBS"
38768 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
38770 # Check for various functions. We must include pthread.h,
38771 # since some functions may be macros. (On the Sequent, we
38772 # need a special flag -Kthread to make this header compile.)
38773 # We check for pthread_join because it is in -lpthread on IRIX
38774 # while pthread_create is in libc. We check for pthread_attr_init
38775 # due to DEC craziness with -lpthreads. We check for
38776 # pthread_cleanup_push because it is one of the few pthread
38777 # functions on Solaris that doesn't have a non-functional libc stub.
38778 # We try pthread_create on general principles.
38779 cat >conftest.
$ac_ext <<_ACEOF
38782 cat confdefs.h
>>conftest.
$ac_ext
38783 cat >>conftest.
$ac_ext <<_ACEOF
38784 /* end confdefs.h. */
38785 #include <pthread.h>
38789 pthread_t th; pthread_join(th, 0);
38790 pthread_attr_init(0); pthread_cleanup_push(0, 0);
38791 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
38796 rm -f conftest.
$ac_objext conftest
$ac_exeext
38797 if { (ac_try
="$ac_link"
38798 case "(($ac_try" in
38799 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
38800 *) ac_try_echo=$ac_try;;
38802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38803 (eval "$ac_link") 2>conftest.er1
38805 grep -v '^ *+' conftest.er1 >conftest.err
38807 cat conftest.err >&5
38808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38809 (exit $ac_status); } && {
38810 test -z "$ac_c_werror_flag" ||
38811 test ! -s conftest.err
38812 } && test -s conftest$ac_exeext &&
38813 $as_test_x conftest$ac_exeext; then
38816 echo "$as_me: failed program was:" >&5
38817 sed 's/^/| /' conftest.$ac_ext >&5
38822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38823 conftest$ac_exeext conftest.$ac_ext
38826 CFLAGS="$save_CFLAGS"
38828 { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
38829 echo "${ECHO_T}$acx_pthread_ok" >&6; }
38830 if test "x$acx_pthread_ok" = xyes; then
38839 # Various other checks:
38840 if test "x$acx_pthread_ok" = xyes; then
38842 LIBS="$PTHREAD_LIBS $LIBS"
38843 save_CFLAGS="$CFLAGS"
38844 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
38846 # Detect AIX lossage: threads are created detached by default
38847 # and the JOINABLE attribute has a nonstandard name (UNDETACHED).
38848 { echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
38849 echo $ECHO_N "checking for joinable pthread attribute... $ECHO_C" >&6; }
38850 cat >conftest.$ac_ext <<_ACEOF
38853 cat confdefs.h >>conftest.$ac_ext
38854 cat >>conftest.$ac_ext <<_ACEOF
38855 /* end confdefs.h. */
38856 #include <pthread.h>
38860 int attr=PTHREAD_CREATE_JOINABLE;
38865 rm -f conftest.$ac_objext conftest$ac_exeext
38866 if { (ac_try="$ac_link"
38867 case "(($ac_try" in
38868 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
38869 *) ac_try_echo
=$ac_try;;
38871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38872 (eval "$ac_link") 2>conftest.er1
38874 grep -v '^ *+' conftest.er1
>conftest.err
38876 cat conftest.err
>&5
38877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38878 (exit $ac_status); } && {
38879 test -z "$ac_c_werror_flag" ||
38880 test ! -s conftest.err
38881 } && test -s conftest
$ac_exeext &&
38882 $as_test_x conftest
$ac_exeext; then
38883 ok
=PTHREAD_CREATE_JOINABLE
38885 echo "$as_me: failed program was:" >&5
38886 sed 's/^/| /' conftest.
$ac_ext >&5
38891 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38892 conftest
$ac_exeext conftest.
$ac_ext
38893 if test x
"$ok" = xunknown
; then
38894 cat >conftest.
$ac_ext <<_ACEOF
38897 cat confdefs.h
>>conftest.
$ac_ext
38898 cat >>conftest.
$ac_ext <<_ACEOF
38899 /* end confdefs.h. */
38900 #include <pthread.h>
38904 int attr=PTHREAD_CREATE_UNDETACHED;
38909 rm -f conftest.
$ac_objext conftest
$ac_exeext
38910 if { (ac_try
="$ac_link"
38911 case "(($ac_try" in
38912 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
38913 *) ac_try_echo=$ac_try;;
38915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38916 (eval "$ac_link") 2>conftest.er1
38918 grep -v '^ *+' conftest.er1 >conftest.err
38920 cat conftest.err >&5
38921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38922 (exit $ac_status); } && {
38923 test -z "$ac_c_werror_flag" ||
38924 test ! -s conftest.err
38925 } && test -s conftest$ac_exeext &&
38926 $as_test_x conftest$ac_exeext; then
38927 ok=PTHREAD_CREATE_UNDETACHED
38929 echo "$as_me: failed program was:" >&5
38930 sed 's/^/| /' conftest.$ac_ext >&5
38935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38936 conftest$ac_exeext conftest.$ac_ext
38938 if test x"$ok" != xPTHREAD_CREATE_JOINABLE; then
38940 cat >>confdefs.h <<\_ACEOF
38941 #define PTHREAD_CREATE_JOINABLE $ok
38945 { echo "$as_me:$LINENO: result: ${ok}" >&5
38946 echo "${ECHO_T}${ok}" >&6; }
38947 if test x"$ok" = xunknown; then
38948 { echo "$as_me:$LINENO: WARNING: we do not know how to create joinable pthreads" >&5
38949 echo "$as_me: WARNING: we do not know how to create joinable pthreads" >&2;}
38952 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38953 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38955 case "${host_cpu}-${host_os}" in
38956 *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
38957 *solaris* | alpha*-osf*) flag="-D_REENTRANT";;
38959 { echo "$as_me:$LINENO: result: ${flag}" >&5
38960 echo "${ECHO_T}${flag}" >&6; }
38961 if test "x$flag" != xno; then
38962 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
38966 CFLAGS="$save_CFLAGS"
38968 # More AIX lossage: must compile with cc_r
38969 # Extract the first word of "cc_r", so it can be a program name with args.
38970 set dummy cc_r; ac_word=$2
38971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
38972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
38973 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
38974 echo $ECHO_N "(cached) $ECHO_C" >&6
38976 if test -n "$PTHREAD_CC"; then
38977 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
38979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38980 for as_dir in $PATH
38983 test -z "$as_dir" && as_dir=.
38984 for ac_exec_ext in '' $ac_executable_extensions; do
38985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38986 ac_cv_prog_PTHREAD_CC="cc_r"
38987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38994 test -z "$ac_cv_prog_PTHREAD_CC" && ac_cv_prog_PTHREAD_CC="${CC}"
38997 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
38998 if test -n "$PTHREAD_CC"; then
38999 { echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
39000 echo "${ECHO_T}$PTHREAD_CC" >&6; }
39002 { echo "$as_me:$LINENO: result: no" >&5
39003 echo "${ECHO_T}no" >&6; }
39015 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
39016 if test x"$acx_pthread_ok" = xyes; then
39019 #echo Using PTHREAD_LIBS=$PTHREAD_LIBS
39020 #echo Using PTHREAD_CFLAGS=$PTHREAD_CFLAGS
39021 #echo Using PTHREAD_CC=$PTHREAD_CC
39032 # since RFB (usually) needs pthread library, check that it was found.
39033 # But on win32 platforms, the pthread library is not needed.
39034 if test "$with_rfb" = yes -a "$cross_configure" = 0; then
39035 if test "$pthread_ok" = yes; then
39036 RFB_LIBS="$RFB_LIBS $PTHREAD_LIBS"
39037 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
39038 CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
39042 *-pc-windows* | *-pc-winnt* | *-cygwin* | *-mingw*)
39043 # pthread not needed for win32 platform
39046 echo ERROR: --with-rfb requires the pthread library, which could not be found.; exit 1
39052 { echo "$as_me:$LINENO: checking for magic breakpoints (deprecated)" >&5
39053 echo $ECHO_N "checking for magic breakpoints (deprecated)... $ECHO_C" >&6; }
39054 # Check whether --enable-magic-breakpoints was given.
39055 if test "${enable_magic_breakpoints+set}" = set; then
39056 enableval=$enable_magic_breakpoints; { echo "$as_me:$LINENO: result: $enableval" >&5
39057 echo "${ECHO_T}$enableval" >&6; }
39058 { { echo "$as_me:$LINENO: error: DEPRECATED - magic breakpoints are always enabled with Bochs internal debugger" >&5
39059 echo "$as_me: error: DEPRECATED - magic breakpoints are always enabled with Bochs internal debugger" >&2;}
39060 { (exit 1); exit 1; }; }
39064 { echo "$as_me:$LINENO: result: no" >&5
39065 echo "${ECHO_T}no" >&6; }
39070 { echo "$as_me:$LINENO: checking for save/restore (deprecated)" >&5
39071 echo $ECHO_N "checking for save/restore (deprecated)... $ECHO_C" >&6; }
39072 # Check whether --enable-save-restore was given.
39073 if test "${enable_save_restore+set}" = set; then
39074 enableval=$enable_save_restore; { echo "$as_me:$LINENO: result: $enableval" >&5
39075 echo "${ECHO_T}$enableval" >&6; }
39076 { { echo "$as_me:$LINENO: error: DEPRECATED - save/restore feature is always enabled" >&5
39077 echo "$as_me: error: DEPRECATED - save/restore feature is always enabled" >&2;}
39078 { (exit 1); exit 1; }; }
39082 { echo "$as_me:$LINENO: result: no" >&5
39083 echo "${ECHO_T}no" >&6; }
39088 # Create some subdirectories for when you run configure from some other
39090 if test ! -d instrument; then mkdir instrument; fi
39091 if test ! -d build; then mkdir build; fi
39092 if test ! -d build/linux; then mkdir build/linux; fi
39093 if test ! -d build/win32; then mkdir build/win32; fi
39094 if test ! -d build/win32/nsis; then mkdir build/win32/nsis; fi
39134 # Extract the first word of "gzip", so it can be a program name with args.
39135 set dummy gzip; ac_word=$2
39136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
39137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
39138 if test "${ac_cv_path_GZIP+set}" = set; then
39139 echo $ECHO_N "(cached) $ECHO_C" >&6
39143 ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path.
39146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39147 for as_dir in $PATH
39150 test -z "$as_dir" && as_dir=.
39151 for ac_exec_ext in '' $ac_executable_extensions; do
39152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39153 ac_cv_path_GZIP="$as_dir/$ac_word$ac_exec_ext"
39154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39164 GZIP=$ac_cv_path_GZIP
39165 if test -n "$GZIP"; then
39166 { echo "$as_me:$LINENO: result: $GZIP" >&5
39167 echo "${ECHO_T}$GZIP" >&6; }
39169 { echo "$as_me:$LINENO: result: no" >&5
39170 echo "${ECHO_T}no" >&6; }
39174 # Extract the first word of "tar", so it can be a program name with args.
39175 set dummy tar; ac_word=$2
39176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
39177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
39178 if test "${ac_cv_path_TAR+set}" = set; then
39179 echo $ECHO_N "(cached) $ECHO_C" >&6
39183 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
39186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39187 for as_dir in $PATH
39190 test -z "$as_dir" && as_dir=.
39191 for ac_exec_ext in '' $ac_executable_extensions; do
39192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39193 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
39194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39204 TAR=$ac_cv_path_TAR
39205 if test -n "$TAR"; then
39206 { echo "$as_me:$LINENO: result: $TAR" >&5
39207 echo "${ECHO_T}$TAR" >&6; }
39209 { echo "$as_me:$LINENO: result: no" >&5
39210 echo "${ECHO_T}no" >&6; }
39215 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"
39217 cat >confcache <<\_ACEOF
39218 # This file is a shell script that caches the results of configure
39219 # tests run on this system so they can be shared between configure
39220 # scripts and configure runs, see configure's option --config-cache.
39221 # It is not useful on other systems. If it contains results you don't
39222 # want to keep, you may remove or edit it.
39224 # config.status only pays attention to the cache file if you give it
39225 # the --recheck option to rerun configure.
39227 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
39228 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39229 # following values.
39233 # The following way of writing the cache mishandles newlines in values,
39234 # but we know of no workaround that is simple, portable, and efficient.
39235 # So, we kill variables containing newlines.
39236 # Ultrix sh set writes to stderr and can't be redirected directly,
39237 # and sets the high bit in the cache file unless we assign to the vars.
39239 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39240 eval ac_val
=\$
$ac_var
39244 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39245 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39248 _ | IFS | as_nl
) ;; #(
39249 *) $as_unset $ac_var ;;
39255 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39256 *${as_nl}ac_space
=\
*)
39257 # `set' does not quote correctly, so add quotes (double-quote
39258 # substitution turns \\\\ into \\, and sed turns \\ into \).
39261 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39264 # `set' quotes correctly as required by POSIX, so do not add quotes.
39265 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39274 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39276 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39278 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
39279 if test -w "$cache_file"; then
39280 test "x$cache_file" != "x/dev/null" &&
39281 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39282 echo "$as_me: updating cache $cache_file" >&6;}
39283 cat confcache
>$cache_file
39285 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39286 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39291 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
39292 # Let make expand exec_prefix.
39293 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
39295 DEFS
=-DHAVE_CONFIG_H
39299 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
39300 # 1. Remove the extension, and $U if already installed.
39301 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
39302 ac_i
=`echo "$ac_i" | sed "$ac_script"`
39303 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
39304 # will be set to the directory where LIBOBJS objects are built.
39305 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
39306 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
39308 LIBOBJS
=$ac_libobjs
39310 LTLIBOBJS
=$ac_ltlibobjs
39314 : ${CONFIG_STATUS=./config.status}
39315 ac_clean_files_save
=$ac_clean_files
39316 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
39317 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
39318 echo "$as_me: creating $CONFIG_STATUS" >&6;}
39319 cat >$CONFIG_STATUS <<_ACEOF
39321 # Generated by $as_me.
39322 # Run this file to recreate the current configuration.
39323 # Compiler output produced by configure, useful for debugging
39324 # configure, is in config.log if it exists.
39327 ac_cs_recheck=false
39329 SHELL=\${CONFIG_SHELL-$SHELL}
39332 cat >>$CONFIG_STATUS <<\_ACEOF
39333 ## --------------------- ##
39334 ## M4sh Initialization. ##
39335 ## --------------------- ##
39337 # Be more Bourne compatible
39338 DUALCASE
=1; export DUALCASE
# for MKS sh
39339 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
39342 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
39343 # is contrary to our usage. Disable this feature.
39344 alias -g '${1+"$@"}'='"$@"'
39345 setopt NO_GLOB_SUBST
39347 case `(set -o) 2>/dev/null` in
39348 *posix
*) set -o posix
;;
39357 # Avoid depending upon Character Ranges.
39358 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
39359 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39360 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39361 as_cr_digits
='0123456789'
39362 as_cr_alnum
=$as_cr_Letters$as_cr_digits
39364 # The user is always right.
39365 if test "${PATH_SEPARATOR+set}" != set; then
39366 echo "#! /bin/sh" >conf$$.sh
39367 echo "exit 0" >>conf$$.sh
39369 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
39377 # Support unset when possible.
39378 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
39386 # We need space, tab and new line, in precisely that order. Quoting is
39387 # there to prevent editors from complaining about space-tab.
39388 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
39389 # splitting by setting IFS to empty value.)
39394 # Find who we are. Look in the path if we contain no directory separator.
39396 *[\\/]* ) as_myself
=$0 ;;
39397 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39398 for as_dir
in $PATH
39401 test -z "$as_dir" && as_dir
=.
39402 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
39408 # We did not find ourselves, most probably we were run as `sh COMMAND'
39409 # in which case we are not to be found in the path.
39410 if test "x$as_myself" = x
; then
39413 if test ! -f "$as_myself"; then
39414 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
39415 { (exit 1); exit 1; }
39418 # Work around bugs in pre-3.0 UWIN ksh.
39419 for as_var
in ENV MAIL MAILPATH
39420 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
39428 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
39429 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
39430 LC_TELEPHONE LC_TIME
39432 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
39433 eval $as_var=C
; export $as_var
39435 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
39439 # Required to use basename.
39440 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
39441 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
39447 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
39448 as_basename
=basename
39454 # Name of the executable.
39455 as_me
=`$as_basename -- "$0" ||
39456 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
39457 X"$0" : 'X\(//\)$' \| \
39458 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
39460 sed '/^.*\/\([^/][^/]*\)\/*$/{
39479 as_lineno_1
=$LINENO
39480 as_lineno_2
=$LINENO
39481 test "x$as_lineno_1" != "x$as_lineno_2" &&
39482 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
39484 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
39485 # uniformly replaced by the line number. The first 'sed' inserts a
39486 # line-number line after each line using $LINENO; the second 'sed'
39487 # does the real work. The second script uses 'N' to pair each
39488 # line-number line with the line containing $LINENO, and appends
39489 # trailing '-' during substitution so that $LINENO is not a special
39490 # case at line end.
39491 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
39492 # scripts with optimization help from Paolo Bonzini. Blame Lee
39493 # E. McMahon (1931-1989) for sed's syntax. :-)
39505 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
39508 ' >$as_me.lineno
&&
39509 chmod +x
"$as_me.lineno" ||
39510 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
39511 { (exit 1); exit 1; }; }
39513 # Don't try to exec as it changes $[0], causing all sort of problems
39514 # (the dirname of $[0] is not the place where we might find the
39515 # original and so on. Autoconf is especially sensitive to this).
39516 .
"./$as_me.lineno"
39517 # Exit status is that of the last command.
39522 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
39528 ECHO_C
= ECHO_N
= ECHO_T
=
39529 case `echo -n x` in
39531 case `echo 'x\c'` in
39532 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
39539 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
39540 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
39546 rm -f conf$$ conf$$.exe conf$$.
file
39547 if test -d conf$$.dir
; then
39548 rm -f conf$$.dir
/conf$$.
file
39554 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
39556 # ... but there are two gotchas:
39557 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
39558 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
39559 # In both cases, we have to default to `cp -p'.
39560 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
39562 elif ln conf$$.
file conf$$
2>/dev
/null
; then
39567 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
39568 rmdir conf$$.dir
2>/dev
/null
39570 if mkdir
-p .
2>/dev
/null
; then
39573 test -d .
/-p && rmdir .
/-p
39577 if test -x / >/dev
/null
2>&1; then
39578 as_test_x
='test -x'
39580 if ls -dL / >/dev
/null
2>&1; then
39587 if test -d "$1"; then
39593 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
39594 ???[sx]*):;;*)false;;esac;fi
39598 as_executable_p
=$as_test_x
39600 # Sed expression to map a string onto a valid CPP name.
39601 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
39603 # Sed expression to map a string onto a valid variable name.
39604 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
39609 # Save the log message, to keep $[0] and so on meaningful, and to
39610 # report actual input values of CONFIG_FILES etc. instead of their
39611 # values after options handling.
39613 This file was extended by $as_me, which was
39614 generated by GNU Autoconf 2.61. Invocation command line was
39616 CONFIG_FILES = $CONFIG_FILES
39617 CONFIG_HEADERS = $CONFIG_HEADERS
39618 CONFIG_LINKS = $CONFIG_LINKS
39619 CONFIG_COMMANDS = $CONFIG_COMMANDS
39622 on `(hostname || uname -n) 2>/dev/null | sed 1q`
39627 cat >>$CONFIG_STATUS <<_ACEOF
39628 # Files that config.status was made for.
39629 config_files="$ac_config_files"
39630 config_headers="$ac_config_headers"
39634 cat >>$CONFIG_STATUS <<\_ACEOF
39636 \`$as_me' instantiates files from templates according to the
39637 current configuration.
39639 Usage: $0 [OPTIONS] [FILE]...
39641 -h, --help print this help, then exit
39642 -V, --version print version number and configuration settings, then exit
39643 -q, --quiet do not print progress messages
39644 -d, --debug don't remove temporary files
39645 --recheck update $as_me by reconfiguring in the same conditions
39646 --file=FILE[:TEMPLATE]
39647 instantiate the configuration file FILE
39648 --header=FILE[:TEMPLATE]
39649 instantiate the configuration header FILE
39651 Configuration files:
39654 Configuration headers:
39657 Report bugs to <bug-autoconf@gnu.org>."
39660 cat >>$CONFIG_STATUS <<_ACEOF
39663 configured by $0, generated by GNU Autoconf 2.61,
39664 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
39666 Copyright (C) 2006 Free Software Foundation, Inc.
39667 This config.status script is free software; the Free Software Foundation
39668 gives unlimited permission to copy, distribute and modify it."
39674 cat >>$CONFIG_STATUS <<\_ACEOF
39675 # If no file are specified by the user, then we need to provide default
39676 # value. By we need to know if files were specified by the user.
39682 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
39683 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
39694 # Handling of the options.
39695 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
39697 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
39698 echo "$ac_cs_version"; exit ;;
39699 --debug |
--debu |
--deb |
--de |
--d |
-d )
39701 --file |
--fil |
--fi |
--f )
39703 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
39704 ac_need_defaults
=false
;;
39705 --header |
--heade |
--head |
--hea )
39707 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
39708 ac_need_defaults
=false
;;
39710 # Conflict between --help and --header
39711 { echo "$as_me: error: ambiguous option: $1
39712 Try \`$0 --help' for more information." >&2
39713 { (exit 1); exit 1; }; };;
39714 --help |
--hel |
-h )
39715 echo "$ac_cs_usage"; exit ;;
39716 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
39717 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
39720 # This is an error.
39721 -*) { echo "$as_me: error: unrecognized option: $1
39722 Try \`$0 --help' for more information." >&2
39723 { (exit 1); exit 1; }; } ;;
39725 *) ac_config_targets
="$ac_config_targets $1"
39726 ac_need_defaults
=false
;;
39732 ac_configure_extra_args
=
39734 if $ac_cs_silent; then
39736 ac_configure_extra_args
="$ac_configure_extra_args --silent"
39740 cat >>$CONFIG_STATUS <<_ACEOF
39741 if \$ac_cs_recheck; then
39742 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
39743 CONFIG_SHELL=$SHELL
39744 export CONFIG_SHELL
39745 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
39749 cat >>$CONFIG_STATUS <<\_ACEOF
39753 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
39754 ## Running $as_me. ##
39760 cat >>$CONFIG_STATUS <<_ACEOF
39763 cat >>$CONFIG_STATUS <<\_ACEOF
39765 # Handling of arguments.
39766 for ac_config_target
in $ac_config_targets
39768 case $ac_config_target in
39769 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
39770 "ltdlconf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ltdlconf.h" ;;
39771 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
39772 "iodev/Makefile") CONFIG_FILES
="$CONFIG_FILES iodev/Makefile" ;;
39773 "bx_debug/Makefile") CONFIG_FILES
="$CONFIG_FILES bx_debug/Makefile" ;;
39774 "bios/Makefile") CONFIG_FILES
="$CONFIG_FILES bios/Makefile" ;;
39775 "cpu/Makefile") CONFIG_FILES
="$CONFIG_FILES cpu/Makefile" ;;
39776 "memory/Makefile") CONFIG_FILES
="$CONFIG_FILES memory/Makefile" ;;
39777 "gui/Makefile") CONFIG_FILES
="$CONFIG_FILES gui/Makefile" ;;
39778 "disasm/Makefile") CONFIG_FILES
="$CONFIG_FILES disasm/Makefile" ;;
39779 "${INSTRUMENT_DIR}/Makefile") CONFIG_FILES
="$CONFIG_FILES ${INSTRUMENT_DIR}/Makefile" ;;
39780 "misc/Makefile") CONFIG_FILES
="$CONFIG_FILES misc/Makefile" ;;
39781 "fpu/Makefile") CONFIG_FILES
="$CONFIG_FILES fpu/Makefile" ;;
39782 "doc/docbook/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/docbook/Makefile" ;;
39783 "build/linux/bochs-dlx") CONFIG_FILES
="$CONFIG_FILES build/linux/bochs-dlx" ;;
39784 "bxversion.h") CONFIG_FILES
="$CONFIG_FILES bxversion.h" ;;
39785 "bxversion.rc") CONFIG_FILES
="$CONFIG_FILES bxversion.rc" ;;
39786 "build/macosx/Info.plist") CONFIG_FILES
="$CONFIG_FILES build/macosx/Info.plist" ;;
39787 "build/win32/nsis/Makefile") CONFIG_FILES
="$CONFIG_FILES build/win32/nsis/Makefile" ;;
39788 "build/win32/nsis/bochs.nsi") CONFIG_FILES
="$CONFIG_FILES build/win32/nsis/bochs.nsi" ;;
39789 "host/linux/pcidev/Makefile") CONFIG_FILES
="$CONFIG_FILES host/linux/pcidev/Makefile" ;;
39791 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
39792 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
39793 { (exit 1); exit 1; }; };;
39798 # If the user did not use the arguments to specify the items to instantiate,
39799 # then the envvar interface is used. Set only those that are not.
39800 # We use the long form for the default assignment because of an extremely
39801 # bizarre bug on SunOS 4.1.3.
39802 if $ac_need_defaults; then
39803 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
39804 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
39807 # Have a temporary directory for convenience. Make it in the build tree
39808 # simply because there is no reason against having it here, and in addition,
39809 # creating and moving files from /tmp can sometimes cause problems.
39810 # Hook for its removal unless debugging.
39811 # Note that there is a small window in which the directory will not be cleaned:
39812 # after its creation but before its name has been assigned to `$tmp'.
39816 trap 'exit_status=$?
39817 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
39819 trap '{ (exit 1); exit 1; }' 1 2 13 15
39821 # Create a (secure) tmp directory for tmp files.
39824 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
39825 test -n "$tmp" && test -d "$tmp"
39828 tmp
=.
/conf$$
-$RANDOM
39829 (umask 077 && mkdir
"$tmp")
39832 echo "$me: cannot create a temporary directory in ." >&2
39833 { (exit 1); exit 1; }
39837 # Set up the sed scripts for CONFIG_FILES section.
39840 # No need to generate the scripts if there are no CONFIG_FILES.
39841 # This happens for instance when ./config.status config.h
39842 if test -n "$CONFIG_FILES"; then
39849 for ac_last_try
in false false false false false
:; do
39850 cat >conf$
$subs.
sed <<_ACEOF
39851 SHELL!$SHELL$ac_delim
39852 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
39853 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
39854 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
39855 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
39856 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
39857 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
39858 exec_prefix!$exec_prefix$ac_delim
39859 prefix!$prefix$ac_delim
39860 program_transform_name!$program_transform_name$ac_delim
39861 bindir!$bindir$ac_delim
39862 sbindir!$sbindir$ac_delim
39863 libexecdir!$libexecdir$ac_delim
39864 datarootdir!$datarootdir$ac_delim
39865 datadir!$datadir$ac_delim
39866 sysconfdir!$sysconfdir$ac_delim
39867 sharedstatedir!$sharedstatedir$ac_delim
39868 localstatedir!$localstatedir$ac_delim
39869 includedir!$includedir$ac_delim
39870 oldincludedir!$oldincludedir$ac_delim
39871 docdir!$docdir$ac_delim
39872 infodir!$infodir$ac_delim
39873 htmldir!$htmldir$ac_delim
39874 dvidir!$dvidir$ac_delim
39875 pdfdir!$pdfdir$ac_delim
39876 psdir!$psdir$ac_delim
39877 libdir!$libdir$ac_delim
39878 localedir!$localedir$ac_delim
39879 mandir!$mandir$ac_delim
39880 DEFS!$DEFS$ac_delim
39881 ECHO_C!$ECHO_C$ac_delim
39882 ECHO_N!$ECHO_N$ac_delim
39883 ECHO_T!$ECHO_T$ac_delim
39884 LIBS!$LIBS$ac_delim
39885 build_alias!$build_alias$ac_delim
39886 host_alias!$host_alias$ac_delim
39887 target_alias!$target_alias$ac_delim
39888 build!$build$ac_delim
39889 build_cpu!$build_cpu$ac_delim
39890 build_vendor!$build_vendor$ac_delim
39891 build_os!$build_os$ac_delim
39892 host!$host$ac_delim
39893 host_cpu!$host_cpu$ac_delim
39894 host_vendor!$host_vendor$ac_delim
39895 host_os!$host_os$ac_delim
39896 target!$target$ac_delim
39897 target_cpu!$target_cpu$ac_delim
39898 target_vendor!$target_vendor$ac_delim
39899 target_os!$target_os$ac_delim
39901 CFLAGS!$CFLAGS$ac_delim
39902 LDFLAGS!$LDFLAGS$ac_delim
39903 CPPFLAGS!$CPPFLAGS$ac_delim
39904 ac_ct_CC!$ac_ct_CC$ac_delim
39905 EXEEXT!$EXEEXT$ac_delim
39906 OBJEXT!$OBJEXT$ac_delim
39908 CXXFLAGS!$CXXFLAGS$ac_delim
39909 ac_ct_CXX!$ac_ct_CXX$ac_delim
39910 SET_MAKE!$SET_MAKE$ac_delim
39911 GREP!$GREP$ac_delim
39912 EGREP!$EGREP$ac_delim
39913 LN_S!$LN_S$ac_delim
39914 ECHO!$ECHO$ac_delim
39916 RANLIB!$RANLIB$ac_delim
39917 STRIP!$STRIP$ac_delim
39919 CXXCPP!$CXXCPP$ac_delim
39921 FFLAGS!$FFLAGS$ac_delim
39922 ac_ct_F77!$ac_ct_F77$ac_delim
39923 LIBTOOL!$LIBTOOL$ac_delim
39924 LIBADD_DL!$LIBADD_DL$ac_delim
39925 XMKMF!$XMKMF$ac_delim
39926 X_CFLAGS!$X_CFLAGS$ac_delim
39927 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
39928 X_LIBS!$X_LIBS$ac_delim
39929 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
39930 BX_USE_IDLE_HACK!$BX_USE_IDLE_HACK$ac_delim
39931 DEFINE_PLUGIN_PATH!$DEFINE_PLUGIN_PATH$ac_delim
39932 NONPLUGIN_GUI_LINK_OPTS!$NONPLUGIN_GUI_LINK_OPTS$ac_delim
39933 OBJS64!$OBJS64$ac_delim
39934 IOAPIC_OBJS!$IOAPIC_OBJS$ac_delim
39935 BX_COMPRESSED_HD_SUPPORT!$BX_COMPRESSED_HD_SUPPORT$ac_delim
39936 NE2K_OBJS!$NE2K_OBJS$ac_delim
39937 BX_SUPPORT_ACPI!$BX_SUPPORT_ACPI$ac_delim
39938 PCI_OBJ!$PCI_OBJ$ac_delim
39939 KERNELDIR!$KERNELDIR$ac_delim
39940 LSMOD!$LSMOD$ac_delim
39941 INSMOD!$INSMOD$ac_delim
39942 RMMOD!$RMMOD$ac_delim
39943 DEPMOD!$DEPMOD$ac_delim
39944 PCIDEV_MODULE_MAKE_ALL!$PCIDEV_MODULE_MAKE_ALL$ac_delim
39945 KERNEL_MODULE_SUFFIX!$KERNEL_MODULE_SUFFIX$ac_delim
39946 USBDEV_OBJS!$USBDEV_OBJS$ac_delim
39947 SCSI_OBJS!$SCSI_OBJS$ac_delim
39950 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
39952 elif $ac_last_try; then
39953 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
39954 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
39955 { (exit 1); exit 1; }; }
39957 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
39961 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
39962 if test -n "$ac_eof"; then
39963 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
39964 ac_eof
=`expr $ac_eof + 1`
39967 cat >>$CONFIG_STATUS <<_ACEOF
39968 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
39969 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
39972 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
39973 s/^/s,@/; s/!/@,|#_!!_#|/
39976 s/'"$ac_delim"'$/,g/; t
39978 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
39979 ' >>$CONFIG_STATUS <conf$
$subs.
sed
39980 rm -f conf$
$subs.
sed
39981 cat >>$CONFIG_STATUS <<_ACEOF
39987 for ac_last_try
in false false false false false
:; do
39988 cat >conf$
$subs.
sed <<_ACEOF
39989 NETLOW_OBJS!$NETLOW_OBJS$ac_delim
39990 SUFFIX_LINE!$SUFFIX_LINE$ac_delim
39991 CPP_SUFFIX!$CPP_SUFFIX$ac_delim
39992 DEBUGGER_VAR!$DEBUGGER_VAR$ac_delim
39993 BX_EXTERNAL_DEBUGGER!$BX_EXTERNAL_DEBUGGER$ac_delim
39994 DISASM_VAR!$DISASM_VAR$ac_delim
39995 READLINE_LIB!$READLINE_LIB$ac_delim
39996 INSTRUMENT_DIR!$INSTRUMENT_DIR$ac_delim
39997 INSTRUMENT_VAR!$INSTRUMENT_VAR$ac_delim
39998 FPU_VAR!$FPU_VAR$ac_delim
39999 CDROM_OBJS!$CDROM_OBJS$ac_delim
40000 SB16_OBJS!$SB16_OBJS$ac_delim
40001 SOUNDLOW_OBJS!$SOUNDLOW_OBJS$ac_delim
40002 GAME_OBJS!$GAME_OBJS$ac_delim
40003 GDBSTUB_VAR!$GDBSTUB_VAR$ac_delim
40004 IODEBUG_OBJS!$IODEBUG_OBJS$ac_delim
40005 DOCBOOK2HTML!$DOCBOOK2HTML$ac_delim
40006 BUILD_DOCBOOK_VAR!$BUILD_DOCBOOK_VAR$ac_delim
40007 INSTALL_DOCBOOK_VAR!$INSTALL_DOCBOOK_VAR$ac_delim
40008 IODEV_LIB_VAR!$IODEV_LIB_VAR$ac_delim
40009 EXTRA_BX_OBJS!$EXTRA_BX_OBJS$ac_delim
40010 NONINLINE_VAR!$NONINLINE_VAR$ac_delim
40011 INLINE_VAR!$INLINE_VAR$ac_delim
40012 EXTERNAL_DEPENDENCY!$EXTERNAL_DEPENDENCY$ac_delim
40013 EXT_DEBUG_OBJS!$EXT_DEBUG_OBJS$ac_delim
40014 RC_CMD!$RC_CMD$ac_delim
40015 WX_CONFIG!$WX_CONFIG$ac_delim
40016 XPM_LIB!$XPM_LIB$ac_delim
40017 PKG_CONFIG!$PKG_CONFIG$ac_delim
40018 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
40019 GTK_LIBS!$GTK_LIBS$ac_delim
40020 GUI_CFLAGS!$GUI_CFLAGS$ac_delim
40021 GUI_CXXFLAGS!$GUI_CXXFLAGS$ac_delim
40022 WX_CFLAGS!$WX_CFLAGS$ac_delim
40023 WX_CXXFLAGS!$WX_CXXFLAGS$ac_delim
40024 WGET!$WGET$ac_delim
40025 DIALOG_OBJS!$DIALOG_OBJS$ac_delim
40026 EXPORT_DYNAMIC!$EXPORT_DYNAMIC$ac_delim
40027 PTHREAD_CC!$PTHREAD_CC$ac_delim
40028 PTHREAD_LIBS!$PTHREAD_LIBS$ac_delim
40029 PTHREAD_CFLAGS!$PTHREAD_CFLAGS$ac_delim
40030 INSTALL_TARGET!$INSTALL_TARGET$ac_delim
40031 INSTALL_LIST_FOR_PLATFORM!$INSTALL_LIST_FOR_PLATFORM$ac_delim
40032 RFB_LIBS!$RFB_LIBS$ac_delim
40033 GUI_OBJS!$GUI_OBJS$ac_delim
40034 DEVICE_LINK_OPTS!$DEVICE_LINK_OPTS$ac_delim
40035 GUI_LINK_OPTS!$GUI_LINK_OPTS$ac_delim
40036 GUI_LINK_OPTS_TERM!$GUI_LINK_OPTS_TERM$ac_delim
40037 GUI_LINK_OPTS_WX!$GUI_LINK_OPTS_WX$ac_delim
40038 BXIMAGE_LINK_OPTS!$BXIMAGE_LINK_OPTS$ac_delim
40039 DASH!$DASH$ac_delim
40040 SLASH!$SLASH$ac_delim
40041 CXXFP!$CXXFP$ac_delim
40044 MAKELIB!$MAKELIB$ac_delim
40045 RMCOMMAND!$RMCOMMAND$ac_delim
40046 LINK!$LINK$ac_delim
40047 LINK_CONSOLE!$LINK_CONSOLE$ac_delim
40049 PRIMARY_TARGET!$PRIMARY_TARGET$ac_delim
40050 PLUGIN_LIBNAME_TRANSFORMATION!$PLUGIN_LIBNAME_TRANSFORMATION$ac_delim
40051 COMMAND_SEPARATOR!$COMMAND_SEPARATOR$ac_delim
40052 CD_UP_ONE!$CD_UP_ONE$ac_delim
40053 CD_UP_TWO!$CD_UP_TWO$ac_delim
40054 CD_UP_THREE!$CD_UP_THREE$ac_delim
40055 VERSION!$VERSION$ac_delim
40056 VER_STRING!$VER_STRING$ac_delim
40057 WIN_VER_STRING!$WIN_VER_STRING$ac_delim
40058 REL_STRING!$REL_STRING$ac_delim
40059 EXTRA_LINK_OPTS!$EXTRA_LINK_OPTS$ac_delim
40060 GUI_NON_PLUGIN_OBJS!$GUI_NON_PLUGIN_OBJS$ac_delim
40061 GUI_PLUGIN_OBJS!$GUI_PLUGIN_OBJS$ac_delim
40062 IODEV_NON_PLUGIN_OBJS!$IODEV_NON_PLUGIN_OBJS$ac_delim
40063 IODEV_PLUGIN_OBJS!$IODEV_PLUGIN_OBJS$ac_delim
40064 PLUGIN_VAR!$PLUGIN_VAR$ac_delim
40065 PLUGIN_TARGET!$PLUGIN_TARGET$ac_delim
40066 INSTALL_PLUGINS_VAR!$INSTALL_PLUGINS_VAR$ac_delim
40067 GZIP!$GZIP$ac_delim
40069 LIBOBJS!$LIBOBJS$ac_delim
40070 LTLIBOBJS!$LTLIBOBJS$ac_delim
40073 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
40075 elif $ac_last_try; then
40076 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
40077 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
40078 { (exit 1); exit 1; }; }
40080 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
40084 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
40085 if test -n "$ac_eof"; then
40086 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
40087 ac_eof
=`expr $ac_eof + 1`
40090 cat >>$CONFIG_STATUS <<_ACEOF
40091 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
40092 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
40095 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
40096 s/^/s,@/; s/!/@,|#_!!_#|/
40099 s/'"$ac_delim"'$/,g/; t
40101 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
40102 ' >>$CONFIG_STATUS <conf$
$subs.
sed
40103 rm -f conf$
$subs.
sed
40104 cat >>$CONFIG_STATUS <<_ACEOF
40111 # VPATH may cause trouble with some makes, so we remove $(srcdir),
40112 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
40113 # trailing colons and then remove the whole line if VPATH becomes empty
40114 # (actually we leave an empty line to preserve line numbers).
40115 if test "x$srcdir" = x.
; then
40116 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
40117 s/:*\$(srcdir):*/:/
40118 s/:*\${srcdir}:*/:/
40120 s/^\([^=]*=[ ]*\):*/\1/
40126 cat >>$CONFIG_STATUS <<\_ACEOF
40127 fi # test -n "$CONFIG_FILES"
40130 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
40133 :[FHLC
]) ac_mode
=$ac_tag; continue;;
40135 case $ac_mode$ac_tag in
40137 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
40138 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
40139 { (exit 1); exit 1; }; };;
40140 :[FH
]-) ac_tag
=-:-;;
40141 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
40158 -) ac_f
="$tmp/stdin";;
40159 *) # Look for the file first in the build tree, then in the source tree
40160 # (if the path is not absolute). The absolute path cannot be DOS-style,
40161 # because $ac_f cannot contain `:'.
40165 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
40167 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
40168 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
40169 { (exit 1); exit 1; }; };;
40171 ac_file_inputs
="$ac_file_inputs $ac_f"
40174 # Let's still pretend it is `configure' which instantiates (i.e., don't
40175 # use $as_me), people would be surprised to read:
40176 # /* config.h. Generated by config.status. */
40177 configure_input
="Generated from "`IFS=:
40178 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
40179 if test x
"$ac_file" != x-
; then
40180 configure_input
="$ac_file. $configure_input"
40181 { echo "$as_me:$LINENO: creating $ac_file" >&5
40182 echo "$as_me: creating $ac_file" >&6;}
40186 *:-:* |
*:-) cat >"$tmp/stdin";;
40191 ac_dir
=`$as_dirname -- "$ac_file" ||
40192 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40193 X"$ac_file" : 'X\(//\)[^/]' \| \
40194 X"$ac_file" : 'X\(//\)$' \| \
40195 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
40197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
40201 /^X\(\/\/\)[^/].*/{
40216 -*) as_dir
=.
/$as_dir;;
40218 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
40222 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
40223 *) as_qdir
=$as_dir;;
40225 as_dirs
="'$as_qdir' $as_dirs"
40226 as_dir
=`$as_dirname -- "$as_dir" ||
40227 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40228 X"$as_dir" : 'X\(//\)[^/]' \| \
40229 X"$as_dir" : 'X\(//\)$' \| \
40230 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
40232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
40236 /^X\(\/\/\)[^/].*/{
40249 test -d "$as_dir" && break
40251 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
40252 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
40253 echo "$as_me: error: cannot create directory $as_dir" >&2;}
40254 { (exit 1); exit 1; }; }; }
40258 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
40260 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40261 # A ".." for each directory in $ac_dir_suffix.
40262 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
40263 case $ac_top_builddir_sub in
40264 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
40265 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
40268 ac_abs_top_builddir
=$ac_pwd
40269 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
40270 # for backward compatibility:
40271 ac_top_builddir
=$ac_top_build_prefix
40274 .
) # We are building in place.
40276 ac_top_srcdir
=$ac_top_builddir_sub
40277 ac_abs_top_srcdir
=$ac_pwd ;;
40278 [\\/]* | ?
:[\\/]* ) # Absolute name.
40279 ac_srcdir
=$srcdir$ac_dir_suffix;
40280 ac_top_srcdir
=$srcdir
40281 ac_abs_top_srcdir
=$srcdir ;;
40282 *) # Relative name.
40283 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
40284 ac_top_srcdir
=$ac_top_build_prefix$srcdir
40285 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
40287 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
40298 cat >>$CONFIG_STATUS <<\_ACEOF
40299 # If the template does not know about datarootdir, expand it.
40300 # FIXME: This hack should be removed a few years after 2.60.
40301 ac_datarootdir_hack
=; ac_datarootdir_seen
=
40303 case `sed -n '/datarootdir/ {
40312 ' $ac_file_inputs` in
40313 *datarootdir
*) ac_datarootdir_seen
=yes;;
40314 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
40315 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
40316 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
40318 cat >>$CONFIG_STATUS <<_ACEOF
40319 ac_datarootdir_hack='
40320 s&@datadir@&$datadir&g
40321 s&@docdir@&$docdir&g
40322 s&@infodir@&$infodir&g
40323 s&@localedir@&$localedir&g
40324 s&@mandir@&$mandir&g
40325 s&\\\${datarootdir}&$datarootdir&g' ;;
40329 # Neutralize VPATH when `$srcdir' = `.'.
40330 # Shell code in configure.ac might set extrasub.
40331 # FIXME: do we really want to maintain this feature?
40332 cat >>$CONFIG_STATUS <<_ACEOF
40336 cat >>$CONFIG_STATUS <<\_ACEOF
40338 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
40339 s
&@configure_input@
&$configure_input&;t t
40340 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
40341 s
&@srcdir@
&$ac_srcdir&;t t
40342 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
40343 s
&@top_srcdir@
&$ac_top_srcdir&;t t
40344 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
40345 s
&@builddir@
&$ac_builddir&;t t
40346 s
&@abs_builddir@
&$ac_abs_builddir&;t t
40347 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
40348 $ac_datarootdir_hack
40349 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
40351 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
40352 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
40353 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
40354 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
40355 which seems to be undefined. Please make sure it is defined." >&5
40356 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
40357 which seems to be undefined. Please make sure it is defined." >&2;}
40361 -) cat "$tmp/out"; rm -f "$tmp/out";;
40362 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
40371 # Transform confdefs.h into a sed script `conftest.defines', that
40372 # substitutes the proper values into config.h.in to produce config.h.
40373 rm -f conftest.defines conftest.
tail
40374 # First, append a space to every undef/define line, to ease matching.
40375 echo 's/$/ /' >conftest.defines
40376 # Then, protect against being on the right side of a sed subst, or in
40377 # an unquoted here document, in config.status. If some macros were
40378 # called several times there might be several #defines for the same
40379 # symbol, which is useless. But do not sort them, since the last
40380 # AC_DEFINE must be honored.
40381 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
40382 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
40383 # NAME is the cpp macro being defined, VALUE is the value it is being given.
40384 # PARAMS is the parameter list in the macro definition--in most cases, it's
40385 # just an empty string.
40386 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
40387 ac_dB
='\\)[ (].*,\\1define\\2'
40395 s/^[ ]*#[ ]*define[ ][ ]*//
40400 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
40401 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
40402 ' >>conftest.defines
40404 # Remove the space that was appended to ease matching.
40405 # Then replace #undef with comments. This is necessary, for
40406 # example, in the case of _POSIX_SOURCE, which is predefined and required
40407 # on some systems where configure will not decide to define it.
40408 # (The regexp can be short, since the line contains either #define or #undef.)
40410 s,^[ #]*u.*,/* & */,' >>conftest.defines
40412 # Break up conftest.defines:
40413 ac_max_sed_lines
=50
40415 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
40416 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
40417 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
40419 ac_in
='$ac_file_inputs'
40420 ac_out
='"$tmp/out1"'
40421 ac_nxt
='"$tmp/out2"'
40425 # Write a here document:
40426 cat >>$CONFIG_STATUS <<_ACEOF
40427 # First, check the format of the line:
40428 cat >"\$tmp/defines.sed" <<\\CEOF
40429 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
40430 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
40434 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
40436 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
40437 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
40438 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
40439 grep . conftest.
tail >/dev
/null ||
break
40440 rm -f conftest.defines
40441 mv conftest.
tail conftest.defines
40443 rm -f conftest.defines conftest.
tail
40445 echo "ac_result=$ac_in" >>$CONFIG_STATUS
40446 cat >>$CONFIG_STATUS <<\_ACEOF
40447 if test x
"$ac_file" != x-
; then
40448 echo "/* $configure_input */" >"$tmp/config.h"
40449 cat "$ac_result" >>"$tmp/config.h"
40450 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
40451 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
40452 echo "$as_me: $ac_file is unchanged" >&6;}
40455 mv "$tmp/config.h" $ac_file
40458 echo "/* $configure_input */"
40470 { (exit 0); exit 0; }
40472 chmod +x
$CONFIG_STATUS
40473 ac_clean_files
=$ac_clean_files_save
40476 # configure is writing to config.log, and then calls config.status.
40477 # config.status does its own redirection, appending to config.log.
40478 # Unfortunately, on DOS this fails, as config.log is still kept open
40479 # by configure, so config.status won't be able to write to it; its
40480 # output is simply discarded. So we exec the FD to /dev/null,
40481 # effectively closing config.log, so it can be properly (re)opened and
40482 # appended to by config.status. When coming back to configure, we
40483 # need to make the FD available again.
40484 if test "$no_create" != yes; then
40486 ac_config_status_args
=
40487 test "$silent" = yes &&
40488 ac_config_status_args
="$ac_config_status_args --quiet"
40490 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
40492 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
40493 # would make configure fail if this is the last instruction.
40494 $ac_cs_success ||
{ (exit 1); exit 1; }