2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60 for llvm 2.1cvs.
5 # Report bugs to <llvmbugs@cs.uiuc.edu>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
12 # Copyright (c) 2003-2007 University of Illinois at Urbana-Champaign.
13 ## --------------------- ##
14 ## M4sh Initialization. ##
15 ## --------------------- ##
17 # Be Bourne compatible
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
28 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
29 DUALCASE
=1; export DUALCASE
# for MKS sh
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 # Be Bourne compatible
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 *posix
*) set -o posix
;; esac
251 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
252 DUALCASE
=1; export DUALCASE
# for MKS sh
257 CONFIG_SHELL
=$as_shell
259 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
260 # Be Bourne compatible
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
271 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
272 DUALCASE
=1; export DUALCASE
# for MKS sh
284 as_func_ret_success
() {
287 as_func_ret_failure
() {
292 if as_func_success
; then
296 echo as_func_success failed.
299 if as_func_failure
; then
301 echo as_func_failure succeeded.
304 if as_func_ret_success
; then
308 echo as_func_ret_success failed.
311 if as_func_ret_failure
; then
313 echo as_func_ret_failure succeeded.
316 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
320 echo positional parameters were not saved.
323 test $exitcode = 0) ||
{ (exit 1); exit 1; }
328 test "x$as_lineno_1" != "x$as_lineno_2" &&
329 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
340 if test "x$CONFIG_SHELL" != x
; then
341 for as_var
in BASH_ENV ENV
342 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
345 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
349 if test $as_have_required = no
; then
350 echo This
script requires a shell
more modern than all the
351 echo shells that I found on your system. Please
install a
352 echo modern shell
, or manually run the
script under such a
353 echo shell
if you
do have one.
354 { (exit 1); exit 1; }
364 (eval "as_func_return () {
373 as_func_ret_success () {
376 as_func_ret_failure () {
381 if as_func_success; then
385 echo as_func_success failed.
388 if as_func_failure; then
390 echo as_func_failure succeeded.
393 if as_func_ret_success; then
397 echo as_func_ret_success failed.
400 if as_func_ret_failure; then
402 echo as_func_ret_failure succeeded.
405 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
409 echo positional parameters were not saved.
412 test \$exitcode = 0") ||
{
413 echo No shell found that supports shell functions.
414 echo Please tell autoconf@gnu.org about your system
,
415 echo including any error possibly output before this
423 test "x$as_lineno_1" != "x$as_lineno_2" &&
424 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
426 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
427 # uniformly replaced by the line number. The first 'sed' inserts a
428 # line-number line after each line using $LINENO; the second 'sed'
429 # does the real work. The second script uses 'N' to pair each
430 # line-number line with the line containing $LINENO, and appends
431 # trailing '-' during substitution so that $LINENO is not a special
433 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
434 # scripts with optimization help from Paolo Bonzini. Blame Lee
435 # E. McMahon (1931-1989) for sed's syntax. :-)
447 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
451 chmod +x
"$as_me.lineno" ||
452 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
453 { (exit 1); exit 1; }; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
464 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
470 ECHO_C
= ECHO_N
= ECHO_T
=
474 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
481 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
482 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
488 rm -f conf$$ conf$$.exe conf$$.
file
489 if test -d conf$$.dir
; then
490 rm -f conf$$.dir
/conf$$.
file
496 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
498 # ... but there are two gotchas:
499 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
500 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
501 # In both cases, we have to default to `cp -p'.
502 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
504 elif ln conf$$.
file conf$$
2>/dev
/null
; then
509 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
510 rmdir conf$$.dir
2>/dev
/null
512 if mkdir
-p .
2>/dev
/null
; then
515 test -d .
/-p && rmdir .
/-p
519 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
520 # systems may use methods other than mode bits to determine executability.
521 cat >conf$$.
file <<_ASEOF
526 if test -x conf$$.
file >/dev
/null
2>&1; then
527 as_executable_p
="test -x"
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
542 # Check that we are running under the correct shell.
543 SHELL
=${CONFIG_SHELL-/bin/sh}
547 # Remove one level of quotation (which was required for Make).
548 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
553 if test "X$1" = X--no-reexec
; then
554 # Discard the --no-reexec flag, and continue.
556 elif test "X$1" = X--fallback-echo
; then
557 # Avoid inline document here, it may be left over
559 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
560 # Yippee, $echo works!
563 # Restart under the correct shell.
564 exec $SHELL "$0" --no-reexec ${1+"$@"}
567 if test "X$1" = X--fallback-echo
; then
568 # used as fallback echo
576 # The HP-UX ksh and POSIX shell print the target directory to stdout
578 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
580 if test -z "$ECHO"; then
581 if test "X${echo_test_string+set}" != Xset
; then
582 # find a string as large as possible, as long as the shell can cope with it
583 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
584 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
585 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
586 echo_test_string
=`eval $cmd` &&
587 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
594 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
595 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
596 test "X$echo_testing_string" = "X$echo_test_string"; then
599 # The Solaris, AIX, and Digital Unix default echo programs unquote
600 # backslashes. This makes it impossible to quote backslashes using
601 # echo "$something" | sed 's/\\/\\\\/g'
603 # So, first we look for a working echo in the user's PATH.
605 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
606 for dir
in $PATH /usr
/ucb
; do
608 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
609 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
610 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
611 test "X$echo_testing_string" = "X$echo_test_string"; then
618 if test "X$echo" = Xecho
; then
619 # We didn't find a better echo, so look for alternatives.
620 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
621 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
622 test "X$echo_testing_string" = "X$echo_test_string"; then
623 # This shell has a builtin print -r that does the trick.
625 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
626 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
627 # If we have ksh, try running configure again with it.
628 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
629 export ORIGINAL_CONFIG_SHELL
630 CONFIG_SHELL
=/bin
/ksh
632 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
636 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
637 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
638 test "X$echo_testing_string" = "X$echo_test_string"; then
641 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642 test "X$echo_testing_string" = 'X\t' &&
643 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644 test "X$echo_testing_string" = "X$echo_test_string"; then
645 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
647 SHELL
="$CONFIG_SHELL"
649 echo="$CONFIG_SHELL $0 --fallback-echo"
650 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
651 test "X$echo_testing_string" = 'X\t' &&
652 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
653 test "X$echo_testing_string" = "X$echo_test_string"; then
654 echo="$CONFIG_SHELL $0 --fallback-echo"
656 # maybe with a smaller string...
659 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
660 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
667 if test "$prev" != 'sed 50q "$0"'; then
668 echo_test_string
=`eval $prev`
669 export echo_test_string
670 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
672 # Oops. We lost completely, so just stick with echo.
681 # Copy echo and quote the copy suitably for passing to libtool from
682 # the Makefile, instead of quoting the original, which is used later.
684 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
685 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
691 tagnames
=${tagnames+${tagnames},}CXX
693 tagnames
=${tagnames+${tagnames},}F77
695 exec 7<&0 </dev
/null
6>&1
698 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
699 # so uname gets run too.
700 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
705 ac_default_prefix
=/usr
/local
707 ac_config_libobj_dir
=.
713 SHELL
=${CONFIG_SHELL-/bin/sh}
715 # Identity of this package.
717 PACKAGE_TARNAME
='-llvm-'
718 PACKAGE_VERSION
='2.1cvs'
719 PACKAGE_STRING
='llvm 2.1cvs'
720 PACKAGE_BUGREPORT
='llvmbugs@cs.uiuc.edu'
722 ac_unique_file
="lib/VMCore/Module.cpp"
723 # Factoring default headers for most tests.
724 ac_includes_default
="\
727 # include <sys/types.h>
730 # include <sys/stat.h>
741 # if !STDC_HEADERS && HAVE_MEMORY_H
747 # include <strings.h>
750 # include <inttypes.h>
768 program_transform_name
886 CONVENIENCE_LTDL_TRUE
887 CONVENIENCE_LTDL_FALSE
926 ac_precious_vars
='build_alias
942 ac_subdirs_all
='projects/sample
944 projects/llvm-stacker
950 projects/llvm-poolalloc
951 projects/llvm-kernel'
953 # Initialize some variables set by options.
955 ac_init_version
=false
956 # The variables have the same names as the options, with
957 # dashes changed to underlines.
965 program_transform_name
=s
,x
,x
,
973 # Installation directory options.
974 # These are left unexpanded so users can "make install exec_prefix=/foo"
975 # and all the variables that are supposed to be based on exec_prefix
976 # by default will actually change.
977 # Use braces instead of parens because sh, perl, etc. also accept them.
978 # (The list follows the same order as the GNU Coding Standards.)
979 bindir
='${exec_prefix}/bin'
980 sbindir
='${exec_prefix}/sbin'
981 libexecdir
='${exec_prefix}/libexec'
982 datarootdir
='${prefix}/share'
983 datadir
='${datarootdir}'
984 sysconfdir
='${prefix}/etc'
985 sharedstatedir
='${prefix}/com'
986 localstatedir
='${prefix}/var'
987 includedir
='${prefix}/include'
988 oldincludedir
='/usr/include'
989 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
990 infodir
='${datarootdir}/info'
995 libdir
='${exec_prefix}/lib'
996 localedir
='${datarootdir}/locale'
997 mandir
='${datarootdir}/man'
1003 # If the previous option needs an argument, assign it.
1004 if test -n "$ac_prev"; then
1005 eval $ac_prev=\
$ac_option
1011 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1015 # Accept the important Cygnus configure options, so we can diagnose typos.
1017 case $ac_dashdash$ac_option in
1021 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1023 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1024 bindir
=$ac_optarg ;;
1026 -build |
--build |
--buil |
--bui |
--bu)
1027 ac_prev
=build_alias
;;
1028 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1029 build_alias
=$ac_optarg ;;
1031 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1032 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1033 ac_prev
=cache_file
;;
1034 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1035 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1036 cache_file
=$ac_optarg ;;
1038 --config-cache |
-C)
1039 cache_file
=config.cache
;;
1041 -datadir |
--datadir |
--datadi |
--datad)
1043 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1044 datadir
=$ac_optarg ;;
1046 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1047 |
--dataroo |
--dataro |
--datar)
1048 ac_prev
=datarootdir
;;
1049 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1050 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1051 datarootdir
=$ac_optarg ;;
1053 -disable-* |
--disable-*)
1054 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1055 # Reject names that are not valid shell variable names.
1056 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1057 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1058 { (exit 1); exit 1; }; }
1059 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1060 eval enable_
$ac_feature=no
;;
1062 -docdir |
--docdir |
--docdi |
--doc |
--do)
1064 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1065 docdir
=$ac_optarg ;;
1067 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1069 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1070 dvidir
=$ac_optarg ;;
1072 -enable-* |
--enable-*)
1073 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
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=\
$ac_optarg ;;
1081 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1082 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1083 |
--exec |
--exe |
--ex)
1084 ac_prev
=exec_prefix
;;
1085 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1086 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1087 |
--exec=* |
--exe=* |
--ex=*)
1088 exec_prefix
=$ac_optarg ;;
1090 -gas |
--gas |
--ga |
--g)
1091 # Obsolete; use --with-gas.
1094 -help |
--help |
--hel |
--he |
-h)
1095 ac_init_help
=long
;;
1096 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1097 ac_init_help
=recursive
;;
1098 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1099 ac_init_help
=short
;;
1101 -host |
--host |
--hos |
--ho)
1102 ac_prev
=host_alias
;;
1103 -host=* |
--host=* |
--hos=* |
--ho=*)
1104 host_alias
=$ac_optarg ;;
1106 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1108 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1110 htmldir
=$ac_optarg ;;
1112 -includedir |
--includedir |
--includedi |
--included |
--include \
1113 |
--includ |
--inclu |
--incl |
--inc)
1114 ac_prev
=includedir
;;
1115 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1116 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1117 includedir
=$ac_optarg ;;
1119 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1121 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1122 infodir
=$ac_optarg ;;
1124 -libdir |
--libdir |
--libdi |
--libd)
1126 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1127 libdir
=$ac_optarg ;;
1129 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1130 |
--libexe |
--libex |
--libe)
1131 ac_prev
=libexecdir
;;
1132 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1133 |
--libexe=* |
--libex=* |
--libe=*)
1134 libexecdir
=$ac_optarg ;;
1136 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1137 ac_prev
=localedir
;;
1138 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1139 localedir
=$ac_optarg ;;
1141 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1142 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1143 ac_prev
=localstatedir
;;
1144 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1145 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1146 localstatedir
=$ac_optarg ;;
1148 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1150 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1151 mandir
=$ac_optarg ;;
1153 -nfp |
--nfp |
--nf)
1154 # Obsolete; use --without-fp.
1157 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1158 |
--no-cr |
--no-c |
-n)
1161 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1162 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1165 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1166 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1167 |
--oldin |
--oldi |
--old |
--ol |
--o)
1168 ac_prev
=oldincludedir
;;
1169 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1170 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1171 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1172 oldincludedir
=$ac_optarg ;;
1174 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1176 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1177 prefix
=$ac_optarg ;;
1179 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1180 |
--program-pre |
--program-pr |
--program-p)
1181 ac_prev
=program_prefix
;;
1182 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1183 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1184 program_prefix
=$ac_optarg ;;
1186 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1187 |
--program-suf |
--program-su |
--program-s)
1188 ac_prev
=program_suffix
;;
1189 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1190 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1191 program_suffix
=$ac_optarg ;;
1193 -program-transform-name |
--program-transform-name \
1194 |
--program-transform-nam |
--program-transform-na \
1195 |
--program-transform-n |
--program-transform- \
1196 |
--program-transform |
--program-transfor \
1197 |
--program-transfo |
--program-transf \
1198 |
--program-trans |
--program-tran \
1199 |
--progr-tra |
--program-tr |
--program-t)
1200 ac_prev
=program_transform_name
;;
1201 -program-transform-name=* |
--program-transform-name=* \
1202 |
--program-transform-nam=* |
--program-transform-na=* \
1203 |
--program-transform-n=* |
--program-transform-=* \
1204 |
--program-transform=* |
--program-transfor=* \
1205 |
--program-transfo=* |
--program-transf=* \
1206 |
--program-trans=* |
--program-tran=* \
1207 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1208 program_transform_name
=$ac_optarg ;;
1210 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1212 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1213 pdfdir
=$ac_optarg ;;
1215 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1217 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1220 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1221 |
-silent |
--silent |
--silen |
--sile |
--sil)
1224 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1226 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1228 sbindir
=$ac_optarg ;;
1230 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1231 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1232 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1234 ac_prev
=sharedstatedir
;;
1235 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1236 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1237 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1239 sharedstatedir
=$ac_optarg ;;
1241 -site |
--site |
--sit)
1243 -site=* |
--site=* |
--sit=*)
1246 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1248 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1249 srcdir
=$ac_optarg ;;
1251 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1252 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1253 ac_prev
=sysconfdir
;;
1254 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1255 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1256 sysconfdir
=$ac_optarg ;;
1258 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1259 ac_prev
=target_alias
;;
1260 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1261 target_alias
=$ac_optarg ;;
1263 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1266 -version |
--version |
--versio |
--versi |
--vers |
-V)
1267 ac_init_version
=: ;;
1270 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1271 # Reject names that are not valid shell variable names.
1272 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1273 { echo "$as_me: error: invalid package name: $ac_package" >&2
1274 { (exit 1); exit 1; }; }
1275 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1276 eval with_
$ac_package=\
$ac_optarg ;;
1278 -without-* |
--without-*)
1279 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1280 # Reject names that are not valid shell variable names.
1281 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1282 { echo "$as_me: error: invalid package name: $ac_package" >&2
1283 { (exit 1); exit 1; }; }
1284 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1285 eval with_
$ac_package=no
;;
1288 # Obsolete; use --with-x.
1291 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1292 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1293 ac_prev
=x_includes
;;
1294 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1295 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1296 x_includes
=$ac_optarg ;;
1298 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1299 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1300 ac_prev
=x_libraries
;;
1301 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1302 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1303 x_libraries
=$ac_optarg ;;
1305 -*) { echo "$as_me: error: unrecognized option: $ac_option
1306 Try \`$0 --help' for more information." >&2
1307 { (exit 1); exit 1; }; }
1311 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1312 # Reject names that are not valid shell variable names.
1313 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1314 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1315 { (exit 1); exit 1; }; }
1316 eval $ac_envvar=\
$ac_optarg
1317 export $ac_envvar ;;
1320 # FIXME: should be removed in autoconf 3.0.
1321 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1322 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1323 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1324 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1330 if test -n "$ac_prev"; then
1331 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1332 { echo "$as_me: error: missing argument to $ac_option" >&2
1333 { (exit 1); exit 1; }; }
1336 # Be sure to have absolute directory names.
1337 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1338 datadir sysconfdir sharedstatedir localstatedir includedir \
1339 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1340 libdir localedir mandir
1342 eval ac_val
=\$
$ac_var
1344 [\\/$
]* | ?
:[\\/]* ) continue;;
1345 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1347 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1348 { (exit 1); exit 1; }; }
1351 # There might be people who depend on the old broken behavior: `$host'
1352 # used to hold the argument of --host etc.
1353 # FIXME: To remove some day.
1356 target
=$target_alias
1358 # FIXME: To remove some day.
1359 if test "x$host_alias" != x
; then
1360 if test "x$build_alias" = x
; then
1361 cross_compiling
=maybe
1362 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1363 If a cross compiler is detected then cross compile mode will be used." >&2
1364 elif test "x$build_alias" != "x$host_alias"; then
1370 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1372 test "$silent" = yes && exec 6>/dev
/null
1375 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1376 ac_ls_di
=`ls -di .` &&
1377 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1378 { echo "$as_me: error: Working directory cannot be determined" >&2
1379 { (exit 1); exit 1; }; }
1380 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1381 { echo "$as_me: error: pwd does not report name of working directory" >&2
1382 { (exit 1); exit 1; }; }
1385 # Find the source files, if location was not specified.
1386 if test -z "$srcdir"; then
1387 ac_srcdir_defaulted
=yes
1388 # Try the directory containing this script, then the parent directory.
1389 ac_confdir
=`$as_dirname -- "$0" ||
1390 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1391 X"$0" : 'X\(//\)[^/]' \| \
1392 X"$0" : 'X\(//\)$' \| \
1393 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1395 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1413 if test ! -r "$srcdir/$ac_unique_file"; then
1417 ac_srcdir_defaulted
=no
1419 if test ! -r "$srcdir/$ac_unique_file"; then
1420 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1421 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1422 { (exit 1); exit 1; }; }
1424 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1426 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1427 { (exit 1); exit 1; }; }
1429 # When building in place, set srcdir=.
1430 if test "$ac_abs_confdir" = "$ac_pwd"; then
1433 # Remove unnecessary trailing slashes from srcdir.
1434 # Double slashes in file names in object file debugging info
1435 # mess up M-x gdb in Emacs.
1437 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1439 for ac_var
in $ac_precious_vars; do
1440 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1441 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1442 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1443 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1447 # Report the --help message.
1449 if test "$ac_init_help" = "long"; then
1450 # Omit some internal or obsolete options to make the list less imposing.
1451 # This message is too long to be a string in the A/UX 3.1 sh.
1453 \`configure' configures llvm 2.1cvs to adapt to many kinds of systems.
1455 Usage: $0 [OPTION]... [VAR=VALUE]...
1457 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1458 VAR=VALUE. See below for descriptions of some of the useful variables.
1460 Defaults for the options are specified in brackets.
1463 -h, --help display this help and exit
1464 --help=short display options specific to this package
1465 --help=recursive display the short help of all the included packages
1466 -V, --version display version information and exit
1467 -q, --quiet, --silent do not print \`checking...' messages
1468 --cache-file=FILE cache test results in FILE [disabled]
1469 -C, --config-cache alias for \`--cache-file=config.cache'
1470 -n, --no-create do not create output files
1471 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1473 Installation directories:
1474 --prefix=PREFIX install architecture-independent files in PREFIX
1475 [$ac_default_prefix]
1476 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1479 By default, \`make install' will install all the files in
1480 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1481 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1482 for instance \`--prefix=\$HOME'.
1484 For better control, use the options below.
1486 Fine tuning of the installation directories:
1487 --bindir=DIR user executables [EPREFIX/bin]
1488 --sbindir=DIR system admin executables [EPREFIX/sbin]
1489 --libexecdir=DIR program executables [EPREFIX/libexec]
1490 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1491 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1492 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1493 --libdir=DIR object code libraries [EPREFIX/lib]
1494 --includedir=DIR C header files [PREFIX/include]
1495 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1496 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1497 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1498 --infodir=DIR info documentation [DATAROOTDIR/info]
1499 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1500 --mandir=DIR man documentation [DATAROOTDIR/man]
1501 --docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-]
1502 --htmldir=DIR html documentation [DOCDIR]
1503 --dvidir=DIR dvi documentation [DOCDIR]
1504 --pdfdir=DIR pdf documentation [DOCDIR]
1505 --psdir=DIR ps documentation [DOCDIR]
1511 --build=BUILD configure
for building on BUILD
[guessed
]
1512 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1513 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1517 if test -n "$ac_init_help"; then
1518 case $ac_init_help in
1519 short | recursive
) echo "Configuration of llvm 2.1cvs:";;
1524 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1525 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1528 --enable-debug-runtime
1529 --enable-jit Enable Just In Time Compiling
(default is YES
)
1530 --enable-doxygen Build doxygen documentation
(default is NO
)
1531 --enable-threads Use threads
if available
(default is YES
)
1532 --enable-pic Build LLVM with Position Independent Code
(default
1534 --enable-targets Build specific
host targets
:
1535 all
,host-only
,{target-name
} (default
=all
)
1536 --enable-cbe-printf-a Enable C Backend output with hex floating point via
1538 --enable-ltdl-install install libltdl
1539 --enable-shared[=PKGS
] build shared libraries
1540 [default
=enable_shared_default
]
1541 --enable-static[=PKGS
] build static libraries
1542 [default
=enable_static_default
]
1543 --enable-fast-install[=PKGS
]
1544 optimize
for fast installation
1545 [default
=enable_Fast_install_default
]
1546 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1549 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1550 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1551 --with-llvmgccdir Specify location of llvm-gcc
install dir
(default
1553 --with-extra-options Specify addtional options to compile LLVM with
1554 --with-tclinclude directory where tcl headers are
1555 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1556 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1558 --with-tags[=TAGS
] include additional configurations
[automatic
]
1559 --with-udis86=<path
> Use udis86 external x86 disassembler library
1561 Some influential environment variables
:
1562 CC C compiler
command
1563 CFLAGS C compiler flags
1564 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1565 nonstandard directory
<lib dir
>
1566 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1567 you have headers
in a nonstandard directory
<include dir
>
1569 CXX C
++ compiler
command
1570 CXXFLAGS C
++ compiler flags
1571 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1572 the first program found out of: `bison
-y', `byacc', `yacc'.
1573 YFLAGS The list of arguments that will be passed by default to $YACC.
1574 This script will default YFLAGS to the empty string to avoid a
1575 default value of `-d' given by some make applications.
1576 CXXCPP C++ preprocessor
1577 F77 Fortran 77 compiler command
1578 FFLAGS Fortran 77 compiler flags
1580 Use these variables to override the choices made by `configure' or to
help
1581 it to
find libraries and programs with nonstandard names
/locations.
1583 Report bugs to
<llvmbugs@cs.uiuc.edu
>.
1588 if test "$ac_init_help" = "recursive"; then
1589 # If there are subdirs, report their specific --help.
1590 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1591 test -d "$ac_dir" ||
continue
1595 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1597 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1598 # A ".." for each directory in $ac_dir_suffix.
1599 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1600 case $ac_top_builddir_sub in
1601 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1602 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1605 ac_abs_top_builddir
=$ac_pwd
1606 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1607 # for backward compatibility:
1608 ac_top_builddir
=$ac_top_build_prefix
1611 .
) # We are building in place.
1613 ac_top_srcdir
=$ac_top_builddir_sub
1614 ac_abs_top_srcdir
=$ac_pwd ;;
1615 [\\/]* | ?
:[\\/]* ) # Absolute name.
1616 ac_srcdir
=$srcdir$ac_dir_suffix;
1617 ac_top_srcdir
=$srcdir
1618 ac_abs_top_srcdir
=$srcdir ;;
1620 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1621 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1622 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1624 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1626 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1627 # Check for guested configure.
1628 if test -f "$ac_srcdir/configure.gnu"; then
1630 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1631 elif test -f "$ac_srcdir/configure"; then
1633 $SHELL "$ac_srcdir/configure" --help=recursive
1635 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1637 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1641 test -n "$ac_init_help" && exit $ac_status
1642 if $ac_init_version; then
1644 llvm configure
2.1cvs
1645 generated by GNU Autoconf
2.60
1647 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1648 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1649 This configure
script is free software
; the Free Software Foundation
1650 gives unlimited permission to copy
, distribute and modify it.
1652 Copyright
(c
) 2003-2007 University of Illinois
at Urbana-Champaign.
1656 cat >config.log
<<_ACEOF
1657 This file contains any messages produced by compilers while
1658 running configure, to aid debugging if configure makes a mistake.
1660 It was created by llvm $as_me 2.1cvs, which was
1661 generated by GNU Autoconf 2.60. Invocation command line was
1673 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1674 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1675 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1676 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1677 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1679 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1680 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1682 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1683 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1684 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1685 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1686 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1687 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1688 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1696 test -z "$as_dir" && as_dir
=.
1697 echo "PATH: $as_dir"
1713 # Keep a trace of the command line.
1714 # Strip out --no-create and --no-recursion so they do not pile up.
1715 # Strip out --silent because we don't want to record it for future runs.
1716 # Also quote any args containing shell meta-characters.
1717 # Make two passes to allow for proper duplicate-argument suppression.
1721 ac_must_keep_next
=false
1727 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1728 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1729 |
-silent |
--silent |
--silen |
--sile |
--sil)
1732 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1735 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1737 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1738 if test $ac_must_keep_next = true
; then
1739 ac_must_keep_next
=false
# Got value, back to normal.
1742 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1743 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1744 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1745 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1746 case "$ac_configure_args0 " in
1747 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1750 -* ) ac_must_keep_next
=true
;;
1753 ac_configure_args
="$ac_configure_args '$ac_arg'"
1758 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1759 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1761 # When interrupted or exit'd, cleanup temporary files, and complete
1762 # config.log. We remove comments because anyway the quotes in there
1763 # would cause problems or look ugly.
1764 # WARNING: Use '\'' to represent an apostrophe within the trap.
1765 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1766 trap 'exit_status=$?
1767 # Save into config.log some information that might help in debugging.
1772 ## ---------------- ##
1773 ## Cache variables. ##
1774 ## ---------------- ##
1777 # The following way of writing the cache mishandles newlines in values,
1779 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1780 eval ac_val=\$$ac_var
1784 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1785 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1788 _ | IFS | as_nl) ;; #(
1789 *) $as_unset $ac_var ;;
1794 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1795 *${as_nl}ac_space=\ *)
1797 "s/'\''/'\''\\\\'\'''\''/g;
1798 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1801 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1809 ## ----------------- ##
1810 ## Output variables. ##
1811 ## ----------------- ##
1814 for ac_var in $ac_subst_vars
1816 eval ac_val=\$$ac_var
1818 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1820 echo "$ac_var='\''$ac_val'\''"
1824 if test -n "$ac_subst_files"; then
1826 ## ------------------- ##
1827 ## File substitutions. ##
1828 ## ------------------- ##
1831 for ac_var
in $ac_subst_files
1833 eval ac_val
=\$
$ac_var
1835 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1837 echo "$ac_var='\''$ac_val'\''"
1842 if test -s confdefs.h; then
1852 test "$ac_signal" != 0 &&
1853 echo "$as_me: caught signal $ac_signal"
1854 echo "$as_me: exit $exit_status"
1856 rm -f core *.core core.conftest.* &&
1857 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1860 for ac_signal
in 1 2 13 15; do
1861 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1865 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1866 rm -f -r conftest
* confdefs.h
1868 # Predefined preprocessor variables.
1870 cat >>confdefs.h
<<_ACEOF
1871 #define PACKAGE_NAME "$PACKAGE_NAME"
1875 cat >>confdefs.h
<<_ACEOF
1876 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1880 cat >>confdefs.h
<<_ACEOF
1881 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1885 cat >>confdefs.h
<<_ACEOF
1886 #define PACKAGE_STRING "$PACKAGE_STRING"
1890 cat >>confdefs.h
<<_ACEOF
1891 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1895 # Let the site file select an alternate cache file if it wants to.
1896 # Prefer explicitly selected file to automatically selected ones.
1897 if test -n "$CONFIG_SITE"; then
1898 set x
"$CONFIG_SITE"
1899 elif test "x$prefix" != xNONE
; then
1900 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1902 set x
"$ac_default_prefix/share/config.site" \
1903 "$ac_default_prefix/etc/config.site"
1908 if test -r "$ac_site_file"; then
1909 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1910 echo "$as_me: loading site script $ac_site_file" >&6;}
1911 sed 's/^/| /' "$ac_site_file" >&5
1916 if test -r "$cache_file"; then
1917 # Some versions of bash will fail to source /dev/null (special
1918 # files actually), so we avoid doing that.
1919 if test -f "$cache_file"; then
1920 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1921 echo "$as_me: loading cache $cache_file" >&6;}
1923 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1924 *) .
"./$cache_file";;
1928 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1929 echo "$as_me: creating cache $cache_file" >&6;}
1933 # Check that the precious variables saved in the cache have kept the same
1935 ac_cache_corrupted
=false
1936 for ac_var
in $ac_precious_vars; do
1937 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1938 eval ac_new_set
=\
$ac_env_${ac_var}_set
1939 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1940 eval ac_new_val
=\
$ac_env_${ac_var}_value
1941 case $ac_old_set,$ac_new_set in
1943 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1944 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1945 ac_cache_corrupted
=: ;;
1947 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1948 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1949 ac_cache_corrupted
=: ;;
1952 if test "x$ac_old_val" != "x$ac_new_val"; then
1953 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1954 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1955 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1956 echo "$as_me: former value: $ac_old_val" >&2;}
1957 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1958 echo "$as_me: current value: $ac_new_val" >&2;}
1959 ac_cache_corrupted
=:
1962 # Pass precious variables to config.status.
1963 if test "$ac_new_set" = set; then
1965 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1966 *) ac_arg
=$ac_var=$ac_new_val ;;
1968 case " $ac_configure_args " in
1969 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1970 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1974 if $ac_cache_corrupted; then
1975 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1976 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1977 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1978 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1979 { (exit 1); exit 1; }; }
2007 ac_cpp
='$CPP $CPPFLAGS'
2008 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2009 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2010 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2014 LLVM_COPYRIGHT
="Copyright (c) 2003-2007 University of Illinois at Urbana-Champaign."
2023 for ac_dir
in autoconf
"$srcdir"/autoconf
; do
2024 if test -f "$ac_dir/install-sh"; then
2026 ac_install_sh
="$ac_aux_dir/install-sh -c"
2028 elif test -f "$ac_dir/install.sh"; then
2030 ac_install_sh
="$ac_aux_dir/install.sh -c"
2032 elif test -f "$ac_dir/shtool"; then
2034 ac_install_sh
="$ac_aux_dir/shtool install -c"
2038 if test -z "$ac_aux_dir"; then
2039 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
2040 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
2041 { (exit 1); exit 1; }; }
2044 # These three variables are undocumented and unsupported,
2045 # and are intended to be withdrawn in a future Autoconf release.
2046 # They can cause serious problems if a builder's source tree is in a directory
2047 # whose full name contains unusual characters.
2048 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2049 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2050 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2054 if test ${srcdir} != "." ; then
2055 if test -f ${srcdir}/include
/llvm
/Config
/config.h
; then
2056 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
2057 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
2058 { (exit 1); exit 1; }; }
2062 for i
in `ls ${srcdir}/projects`
2064 if test -d ${srcdir}/projects
/${i} ; then
2067 sample
) subdirs
="$subdirs projects/sample"
2069 privbracket
) subdirs
="$subdirs projects/privbracket"
2071 llvm-stacker
) subdirs
="$subdirs projects/llvm-stacker"
2073 llvm-test
) subdirs
="$subdirs projects/llvm-test"
2075 llvm-reopt
) subdirs
="$subdirs projects/llvm-reopt"
2077 llvm-gcc
) subdirs
="$subdirs projects/llvm-gcc"
2079 llvm-java
) subdirs
="$subdirs projects/llvm-java"
2081 llvm-tv
) subdirs
="$subdirs projects/llvm-tv"
2083 llvm-poolalloc
) subdirs
="$subdirs projects/llvm-poolalloc"
2085 llvm-kernel
) subdirs
="$subdirs projects/llvm-kernel"
2088 { echo "$as_me:$LINENO: WARNING: Unknown project (${i}) won't be configured automatically" >&5
2089 echo "$as_me: WARNING: Unknown project (${i}) won't be configured automatically" >&2;}
2096 # Make sure we can run config.sub.
2097 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2098 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2099 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2100 { (exit 1); exit 1; }; }
2102 { echo "$as_me:$LINENO: checking build system type" >&5
2103 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2104 if test "${ac_cv_build+set}" = set; then
2105 echo $ECHO_N "(cached) $ECHO_C" >&6
2107 ac_build_alias
=$build_alias
2108 test "x$ac_build_alias" = x
&&
2109 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2110 test "x$ac_build_alias" = x
&&
2111 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2112 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2113 { (exit 1); exit 1; }; }
2114 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2115 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2116 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2117 { (exit 1); exit 1; }; }
2120 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2121 echo "${ECHO_T}$ac_cv_build" >&6; }
2122 case $ac_cv_build in
2124 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2125 echo "$as_me: error: invalid value of canonical build" >&2;}
2126 { (exit 1); exit 1; }; };;
2129 ac_save_IFS
=$IFS; IFS
='-'
2135 # Remember, the first character of IFS is used to create $*,
2136 # except with old shells:
2139 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2142 { echo "$as_me:$LINENO: checking host system type" >&5
2143 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2144 if test "${ac_cv_host+set}" = set; then
2145 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 if test "x$host_alias" = x
; then
2148 ac_cv_host
=$ac_cv_build
2150 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2151 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2152 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2153 { (exit 1); exit 1; }; }
2157 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2158 echo "${ECHO_T}$ac_cv_host" >&6; }
2161 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2162 echo "$as_me: error: invalid value of canonical host" >&2;}
2163 { (exit 1); exit 1; }; };;
2166 ac_save_IFS
=$IFS; IFS
='-'
2172 # Remember, the first character of IFS is used to create $*,
2173 # except with old shells:
2176 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2179 { echo "$as_me:$LINENO: checking target system type" >&5
2180 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2181 if test "${ac_cv_target+set}" = set; then
2182 echo $ECHO_N "(cached) $ECHO_C" >&6
2184 if test "x$target_alias" = x
; then
2185 ac_cv_target
=$ac_cv_host
2187 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2188 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2189 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2190 { (exit 1); exit 1; }; }
2194 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2195 echo "${ECHO_T}$ac_cv_target" >&6; }
2196 case $ac_cv_target in
2198 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2199 echo "$as_me: error: invalid value of canonical target" >&2;}
2200 { (exit 1); exit 1; }; };;
2202 target
=$ac_cv_target
2203 ac_save_IFS
=$IFS; IFS
='-'
2209 # Remember, the first character of IFS is used to create $*,
2210 # except with old shells:
2213 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2216 # The aliases save the names the user supplied, while $host etc.
2217 # will get canonicalized.
2218 test -n "$target_alias" &&
2219 test "$program_prefix$program_suffix$program_transform_name" = \
2221 program_prefix
=${target_alias}-
2223 { echo "$as_me:$LINENO: checking type of operating system we're going to host on" >&5
2224 echo $ECHO_N "checking type of operating system we're going to host on... $ECHO_C" >&6; }
2225 if test "${llvm_cv_os_type+set}" = set; then
2226 echo $ECHO_N "(cached) $ECHO_C" >&6
2230 llvm_cv_link_all_option
="-Wl,--whole-archive"
2231 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2232 llvm_cv_os_type
="AIX"
2233 llvm_cv_platform_type
="Unix" ;;
2235 llvm_cv_link_all_option
="-Wl,--whole-archive"
2236 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2237 llvm_cv_os_type
="IRIX"
2238 llvm_cv_platform_type
="Unix" ;;
2240 llvm_cv_link_all_option
="-Wl,--whole-archive"
2241 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2242 llvm_cv_os_type
="Cygwin"
2243 llvm_cv_platform_type
="Unix" ;;
2245 llvm_cv_link_all_option
="-Wl,-all_load"
2246 llvm_cv_link_all_option
="-Wl,-noall_load"
2247 llvm_cv_os_type
="Darwin"
2248 llvm_cv_platform_type
="Unix" ;;
2250 llvm_cv_link_all_option
="-Wl,--whole-archive"
2251 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2252 llvm_cv_os_type
="FreeBSD"
2253 llvm_cv_platform_type
="Unix" ;;
2255 llvm_cv_link_all_option
="-Wl,--whole-archive"
2256 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2257 llvm_cv_os_type
="OpenBSD"
2258 llvm_cv_platform_type
="Unix" ;;
2260 llvm_cv_link_all_option
="-Wl,--whole-archive"
2261 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2262 llvm_cv_os_type
="NetBSD"
2263 llvm_cv_platform_type
="Unix" ;;
2265 llvm_cv_link_all_option
="-Wl,--whole-archive"
2266 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2267 llvm_cv_os_type
="HP-UX"
2268 llvm_cv_platform_type
="Unix" ;;
2270 llvm_cv_link_all_option
="-Wl,--whole-archive"
2271 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2272 llvm_cv_os_type
="Interix"
2273 llvm_cv_platform_type
="Unix" ;;
2275 llvm_cv_link_all_option
="-Wl,--whole-archive"
2276 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2277 llvm_cv_os_type
="Linux"
2278 llvm_cv_platform_type
="Unix" ;;
2280 llvm_cv_link_all_option
="-Wl,-z,allextract"
2281 llvm_cv_no_link_all_option
="-Wl,-z,defaultextract"
2282 llvm_cv_os_type
="SunOS"
2283 llvm_cv_platform_type
="Unix" ;;
2285 llvm_cv_link_all_option
="-Wl,--whole-archive"
2286 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2287 llvm_cv_os_type
="Win32"
2288 llvm_cv_platform_type
="Win32" ;;
2290 llvm_cv_link_all_option
="-Wl,--whole-archive"
2291 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2292 llvm_cv_os_type
="MingW"
2293 llvm_cv_platform_type
="Win32" ;;
2295 llvm_cv_link_all_option
=""
2296 llvm_cv_no_link_all_option
=""
2297 llvm_cv_os_type
="Unknown"
2298 llvm_cv_platform_type
="Unknown" ;;
2301 { echo "$as_me:$LINENO: result: $llvm_cv_os_type" >&5
2302 echo "${ECHO_T}$llvm_cv_os_type" >&6; }
2304 if test "$llvm_cv_os_type" = "Unknown" ; then
2305 { { echo "$as_me:$LINENO: error: Operating system is unknown, configure can't continue" >&5
2306 echo "$as_me: error: Operating system is unknown, configure can't continue" >&2;}
2307 { (exit 1); exit 1; }; }
2313 LINKALL
=$llvm_cv_link_all_option
2315 NOLINKALL
=$llvm_cv_no_link_all_option
2318 case $llvm_cv_platform_type in
2321 cat >>confdefs.h
<<\_ACEOF
2322 #define LLVM_ON_UNIX 1
2332 cat >>confdefs.h
<<\_ACEOF
2333 #define LLVM_ON_WIN32 1
2343 { echo "$as_me:$LINENO: checking target architecture" >&5
2344 echo $ECHO_N "checking target architecture... $ECHO_C" >&6; }
2345 if test "${llvm_cv_target_arch+set}" = set; then
2346 echo $ECHO_N "(cached) $ECHO_C" >&6
2349 i?
86-*) llvm_cv_target_arch
="x86" ;;
2350 amd64-
* | x86_64-
*) llvm_cv_target_arch
="x86_64" ;;
2351 sparc
*-*) llvm_cv_target_arch
="Sparc" ;;
2352 powerpc
*-*) llvm_cv_target_arch
="PowerPC" ;;
2353 alpha
*-*) llvm_cv_target_arch
="Alpha" ;;
2354 ia64-
*) llvm_cv_target_arch
="IA64" ;;
2355 arm-
*) llvm_cv_target_arch
="ARM" ;;
2356 *) llvm_cv_target_arch
="Unknown" ;;
2359 { echo "$as_me:$LINENO: result: $llvm_cv_target_arch" >&5
2360 echo "${ECHO_T}$llvm_cv_target_arch" >&6; }
2362 if test "$llvm_cv_target_arch" = "Unknown" ; then
2363 { echo "$as_me:$LINENO: WARNING: Configuring LLVM for an unknown target archicture" >&5
2364 echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
2367 ARCH
=$llvm_cv_target_arch
2371 ac_cpp
='$CPP $CPPFLAGS'
2372 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2373 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2374 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2375 if test -n "$ac_tool_prefix"; then
2376 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2377 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2378 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2380 if test "${ac_cv_prog_CC+set}" = set; then
2381 echo $ECHO_N "(cached) $ECHO_C" >&6
2383 if test -n "$CC"; then
2384 ac_cv_prog_CC
="$CC" # Let the user override the test.
2386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2390 test -z "$as_dir" && as_dir
=.
2391 for ac_exec_ext
in '' $ac_executable_extensions; do
2392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2393 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 if test -n "$CC"; then
2405 { echo "$as_me:$LINENO: result: $CC" >&5
2406 echo "${ECHO_T}$CC" >&6; }
2408 { echo "$as_me:$LINENO: result: no" >&5
2409 echo "${ECHO_T}no" >&6; }
2414 if test -z "$ac_cv_prog_CC"; then
2416 # Extract the first word of "gcc", so it can be a program name with args.
2417 set dummy gcc
; ac_word
=$2
2418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2420 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2421 echo $ECHO_N "(cached) $ECHO_C" >&6
2423 if test -n "$ac_ct_CC"; then
2424 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2430 test -z "$as_dir" && as_dir
=.
2431 for ac_exec_ext
in '' $ac_executable_extensions; do
2432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2433 ac_cv_prog_ac_ct_CC
="gcc"
2434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2443 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2444 if test -n "$ac_ct_CC"; then
2445 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2446 echo "${ECHO_T}$ac_ct_CC" >&6; }
2448 { echo "$as_me:$LINENO: result: no" >&5
2449 echo "${ECHO_T}no" >&6; }
2452 if test "x$ac_ct_CC" = x
; then
2455 case $cross_compiling:$ac_tool_warned in
2457 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2458 whose name does not start with the host triplet. If you think this
2459 configuration is useful to you, please write to autoconf@gnu.org." >&5
2460 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2461 whose name does not start with the host triplet. If you think this
2462 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2463 ac_tool_warned
=yes ;;
2471 if test -z "$CC"; then
2472 if test -n "$ac_tool_prefix"; then
2473 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2474 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2477 if test "${ac_cv_prog_CC+set}" = set; then
2478 echo $ECHO_N "(cached) $ECHO_C" >&6
2480 if test -n "$CC"; then
2481 ac_cv_prog_CC
="$CC" # Let the user override the test.
2483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2487 test -z "$as_dir" && as_dir
=.
2488 for ac_exec_ext
in '' $ac_executable_extensions; do
2489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2490 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2501 if test -n "$CC"; then
2502 { echo "$as_me:$LINENO: result: $CC" >&5
2503 echo "${ECHO_T}$CC" >&6; }
2505 { echo "$as_me:$LINENO: result: no" >&5
2506 echo "${ECHO_T}no" >&6; }
2512 if test -z "$CC"; then
2513 # Extract the first word of "cc", so it can be a program name with args.
2514 set dummy cc
; ac_word
=$2
2515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2517 if test "${ac_cv_prog_CC+set}" = set; then
2518 echo $ECHO_N "(cached) $ECHO_C" >&6
2520 if test -n "$CC"; then
2521 ac_cv_prog_CC
="$CC" # Let the user override the test.
2524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2528 test -z "$as_dir" && as_dir
=.
2529 for ac_exec_ext
in '' $ac_executable_extensions; do
2530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2531 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2532 ac_prog_rejected
=yes
2536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2543 if test $ac_prog_rejected = yes; then
2544 # We found a bogon in the path, so make sure we never use it.
2545 set dummy
$ac_cv_prog_CC
2547 if test $# != 0; then
2548 # We chose a different compiler from the bogus one.
2549 # However, it has the same basename, so the bogon will be chosen
2550 # first if we set CC to just the basename; use the full file name.
2552 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2558 if test -n "$CC"; then
2559 { echo "$as_me:$LINENO: result: $CC" >&5
2560 echo "${ECHO_T}$CC" >&6; }
2562 { echo "$as_me:$LINENO: result: no" >&5
2563 echo "${ECHO_T}no" >&6; }
2568 if test -z "$CC"; then
2569 if test -n "$ac_tool_prefix"; then
2570 for ac_prog
in cl.exe
2572 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2573 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2574 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2576 if test "${ac_cv_prog_CC+set}" = set; then
2577 echo $ECHO_N "(cached) $ECHO_C" >&6
2579 if test -n "$CC"; then
2580 ac_cv_prog_CC
="$CC" # Let the user override the test.
2582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2586 test -z "$as_dir" && as_dir
=.
2587 for ac_exec_ext
in '' $ac_executable_extensions; do
2588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2589 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2600 if test -n "$CC"; then
2601 { echo "$as_me:$LINENO: result: $CC" >&5
2602 echo "${ECHO_T}$CC" >&6; }
2604 { echo "$as_me:$LINENO: result: no" >&5
2605 echo "${ECHO_T}no" >&6; }
2609 test -n "$CC" && break
2612 if test -z "$CC"; then
2614 for ac_prog
in cl.exe
2616 # Extract the first word of "$ac_prog", so it can be a program name with args.
2617 set dummy
$ac_prog; ac_word
=$2
2618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2620 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2621 echo $ECHO_N "(cached) $ECHO_C" >&6
2623 if test -n "$ac_ct_CC"; then
2624 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2630 test -z "$as_dir" && as_dir
=.
2631 for ac_exec_ext
in '' $ac_executable_extensions; do
2632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2633 ac_cv_prog_ac_ct_CC
="$ac_prog"
2634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2643 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2644 if test -n "$ac_ct_CC"; then
2645 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2646 echo "${ECHO_T}$ac_ct_CC" >&6; }
2648 { echo "$as_me:$LINENO: result: no" >&5
2649 echo "${ECHO_T}no" >&6; }
2653 test -n "$ac_ct_CC" && break
2656 if test "x$ac_ct_CC" = x
; then
2659 case $cross_compiling:$ac_tool_warned in
2661 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2662 whose name does not start with the host triplet. If you think this
2663 configuration is useful to you, please write to autoconf@gnu.org." >&5
2664 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2665 whose name does not start with the host triplet. If you think this
2666 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2667 ac_tool_warned
=yes ;;
2676 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2677 See \`config.log' for more details." >&5
2678 echo "$as_me: error: no acceptable C compiler found in \$PATH
2679 See \`config.log' for more details." >&2;}
2680 { (exit 1); exit 1; }; }
2682 # Provide some information about the compiler.
2683 echo "$as_me:$LINENO: checking for C compiler version" >&5
2684 ac_compiler
=`set X $ac_compile; echo $2`
2685 { (ac_try
="$ac_compiler --version >&5"
2687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2688 *) ac_try_echo=$ac_try;;
2690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2691 (eval "$ac_compiler --version >&5") 2>&5
2693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694 (exit $ac_status); }
2695 { (ac_try="$ac_compiler -v >&5"
2697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2698 *) ac_try_echo
=$ac_try;;
2700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2701 (eval "$ac_compiler -v >&5") 2>&5
2703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704 (exit $ac_status); }
2705 { (ac_try
="$ac_compiler -V >&5"
2707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2708 *) ac_try_echo=$ac_try;;
2710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2711 (eval "$ac_compiler -V >&5") 2>&5
2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); }
2716 cat >conftest.$ac_ext <<_ACEOF
2719 cat confdefs.h >>conftest.$ac_ext
2720 cat >>conftest.$ac_ext <<_ACEOF
2721 /* end confdefs.h. */
2731 ac_clean_files_save=$ac_clean_files
2732 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2733 # Try to create an executable without -o first, disregard a.out.
2734 # It will help us diagnose broken compilers, and finding out an intuition
2736 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2737 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2738 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2740 # List of possible output files, starting from the most likely.
2741 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2742 # only as a last resort. b.out is created by i960 compilers.
2743 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2745 # The IRIX 6 linker writes into existing files which may not be
2746 # executable, retaining their permissions. Remove them first so a
2747 # subsequent execution test works.
2749 for ac_file in $ac_files
2752 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2753 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2758 if { (ac_try="$ac_link_default"
2760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2761 *) ac_try_echo=$ac_try;;
2763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2764 (eval "$ac_link_default") 2>&5
2766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767 (exit $ac_status); }; then
2768 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2769 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2770 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2771 # so that the user can short-circuit this test for compilers unknown to
2773 for ac_file
in $ac_files
2775 test -f "$ac_file" ||
continue
2777 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2780 # We found the default executable, but exeext='' is most
2784 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2786 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2788 # We set ac_cv_exeext here because the later test for it is not
2789 # safe: cross compilers may not add the suffix if given an `-o'
2790 # argument, so we may need to know it at that point already.
2791 # Even if this section looks crufty: it has the advantage of
2798 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2801 echo "$as_me: failed program was:" >&5
2802 sed 's/^/| /' conftest.
$ac_ext >&5
2804 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2805 See \`config.log' for more details." >&5
2806 echo "$as_me: error: C compiler cannot create executables
2807 See \`config.log' for more details." >&2;}
2808 { (exit 77); exit 77; }; }
2811 ac_exeext
=$ac_cv_exeext
2812 { echo "$as_me:$LINENO: result: $ac_file" >&5
2813 echo "${ECHO_T}$ac_file" >&6; }
2815 # Check that the compiler produces executables we can run. If not, either
2816 # the compiler is broken, or we cross compile.
2817 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2818 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2819 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2820 # If not cross compiling, check that we can run a simple program.
2821 if test "$cross_compiling" != yes; then
2822 if { ac_try
='./$ac_file'
2823 { (case "(($ac_try" in
2824 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2825 *) ac_try_echo=$ac_try;;
2827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2828 (eval "$ac_try") 2>&5
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); }; }; then
2834 if test "$cross_compiling" = maybe; then
2837 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2838 If you meant to cross compile, use \`--host'.
2839 See \`config.log' for more details.
" >&5
2840 echo "$as_me: error
: cannot run C compiled programs.
2841 If you meant to cross compile
, use \
`--host'.
2842 See \`config.log
' for more details." >&2;}
2843 { (exit 1); exit 1; }; }
2847 { echo "$as_me:$LINENO: result: yes" >&5
2848 echo "${ECHO_T}yes" >&6; }
2850 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2851 ac_clean_files=$ac_clean_files_save
2852 # Check that the compiler produces executables we can run. If not, either
2853 # the compiler is broken, or we cross compile.
2854 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2855 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2856 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2857 echo "${ECHO_T}$cross_compiling" >&6; }
2859 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2860 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2861 if { (ac_try="$ac_link"
2863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2864 *) ac_try_echo=$ac_try;;
2866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2867 (eval "$ac_link") 2>&5
2869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870 (exit $ac_status); }; then
2871 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2872 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2873 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2875 for ac_file
in conftest.exe conftest conftest.
*; do
2876 test -f "$ac_file" ||
continue
2878 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2879 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2885 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2886 See \`config.log' for more details." >&5
2887 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2888 See \`config.log' for more details." >&2;}
2889 { (exit 1); exit 1; }; }
2892 rm -f conftest
$ac_cv_exeext
2893 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2894 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2896 rm -f conftest.
$ac_ext
2897 EXEEXT
=$ac_cv_exeext
2899 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2900 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2901 if test "${ac_cv_objext+set}" = set; then
2902 echo $ECHO_N "(cached) $ECHO_C" >&6
2904 cat >conftest.
$ac_ext <<_ACEOF
2907 cat confdefs.h
>>conftest.
$ac_ext
2908 cat >>conftest.
$ac_ext <<_ACEOF
2909 /* end confdefs.h. */
2919 rm -f conftest.o conftest.obj
2920 if { (ac_try
="$ac_compile"
2922 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2923 *) ac_try_echo=$ac_try;;
2925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2926 (eval "$ac_compile") 2>&5
2928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929 (exit $ac_status); }; then
2930 for ac_file in conftest.o conftest.obj conftest.*; do
2931 test -f "$ac_file" || continue;
2933 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2934 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2939 echo "$as_me: failed program was:" >&5
2940 sed 's/^/| /' conftest.$ac_ext >&5
2942 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2943 See \`config.log
' for more details." >&5
2944 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2945 See \`config.log' for more details.
" >&2;}
2946 { (exit 1); exit 1; }; }
2949 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2951 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2952 echo "${ECHO_T}$ac_cv_objext" >&6; }
2953 OBJEXT=$ac_cv_objext
2955 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2956 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2957 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2958 echo $ECHO_N "(cached
) $ECHO_C" >&6
2960 cat >conftest.$ac_ext <<_ACEOF
2963 cat confdefs.h >>conftest.$ac_ext
2964 cat >>conftest.$ac_ext <<_ACEOF
2965 /* end confdefs.h. */
2978 rm -f conftest.$ac_objext
2979 if { (ac_try="$ac_compile"
2981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2982 *) ac_try_echo=$ac_try;;
2984 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2985 (eval "$ac_compile") 2>conftest.er1
2987 grep -v '^ *+' conftest.er1 >conftest.err
2989 cat conftest.err >&5
2990 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2991 (exit $ac_status); } &&
2992 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2993 { (case "(($ac_try" in
2994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2995 *) ac_try_echo=$ac_try;;
2997 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2998 (eval "$ac_try") 2>&5
3000 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3001 (exit $ac_status); }; } &&
3002 { ac_try='test -s conftest.$ac_objext'
3003 { (case "(($ac_try" in
3004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3005 *) ac_try_echo=$ac_try;;
3007 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3008 (eval "$ac_try") 2>&5
3010 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3011 (exit $ac_status); }; }; then
3014 echo "$as_me: failed program was
:" >&5
3015 sed 's/^/| /' conftest.$ac_ext >&5
3020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3021 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3024 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3025 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3026 GCC=`test $ac_compiler_gnu = yes && echo yes`
3027 ac_test_CFLAGS=${CFLAGS+set}
3028 ac_save_CFLAGS=$CFLAGS
3029 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3030 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3031 if test "${ac_cv_prog_cc_g+set}" = set; then
3032 echo $ECHO_N "(cached
) $ECHO_C" >&6
3034 ac_save_c_werror_flag=$ac_c_werror_flag
3035 ac_c_werror_flag=yes
3038 cat >conftest.$ac_ext <<_ACEOF
3041 cat confdefs.h >>conftest.$ac_ext
3042 cat >>conftest.$ac_ext <<_ACEOF
3043 /* end confdefs.h. */
3053 rm -f conftest.$ac_objext
3054 if { (ac_try="$ac_compile"
3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057 *) ac_try_echo=$ac_try;;
3059 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3060 (eval "$ac_compile") 2>conftest.er1
3062 grep -v '^ *+' conftest.er1 >conftest.err
3064 cat conftest.err >&5
3065 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3066 (exit $ac_status); } &&
3067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3068 { (case "(($ac_try" in
3069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3070 *) ac_try_echo=$ac_try;;
3072 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3073 (eval "$ac_try") 2>&5
3075 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3076 (exit $ac_status); }; } &&
3077 { ac_try='test -s conftest.$ac_objext'
3078 { (case "(($ac_try" in
3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3082 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3083 (eval "$ac_try") 2>&5
3085 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3086 (exit $ac_status); }; }; then
3089 echo "$as_me: failed program was
:" >&5
3090 sed 's/^/| /' conftest.$ac_ext >&5
3093 cat >conftest.$ac_ext <<_ACEOF
3096 cat confdefs.h >>conftest.$ac_ext
3097 cat >>conftest.$ac_ext <<_ACEOF
3098 /* end confdefs.h. */
3108 rm -f conftest.$ac_objext
3109 if { (ac_try="$ac_compile"
3111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3112 *) ac_try_echo=$ac_try;;
3114 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3115 (eval "$ac_compile") 2>conftest.er1
3117 grep -v '^ *+' conftest.er1 >conftest.err
3119 cat conftest.err >&5
3120 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3121 (exit $ac_status); } &&
3122 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3123 { (case "(($ac_try" in
3124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3125 *) ac_try_echo=$ac_try;;
3127 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3128 (eval "$ac_try") 2>&5
3130 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3131 (exit $ac_status); }; } &&
3132 { ac_try='test -s conftest.$ac_objext'
3133 { (case "(($ac_try" in
3134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135 *) ac_try_echo=$ac_try;;
3137 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3138 (eval "$ac_try") 2>&5
3140 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3141 (exit $ac_status); }; }; then
3144 echo "$as_me: failed program was
:" >&5
3145 sed 's/^/| /' conftest.$ac_ext >&5
3147 ac_c_werror_flag=$ac_save_c_werror_flag
3149 cat >conftest.$ac_ext <<_ACEOF
3152 cat confdefs.h >>conftest.$ac_ext
3153 cat >>conftest.$ac_ext <<_ACEOF
3154 /* end confdefs.h. */
3164 rm -f conftest.$ac_objext
3165 if { (ac_try="$ac_compile"
3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168 *) ac_try_echo=$ac_try;;
3170 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3171 (eval "$ac_compile") 2>conftest.er1
3173 grep -v '^ *+' conftest.er1 >conftest.err
3175 cat conftest.err >&5
3176 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3177 (exit $ac_status); } &&
3178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3179 { (case "(($ac_try" in
3180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3181 *) ac_try_echo=$ac_try;;
3183 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3184 (eval "$ac_try") 2>&5
3186 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3187 (exit $ac_status); }; } &&
3188 { ac_try='test -s conftest.$ac_objext'
3189 { (case "(($ac_try" in
3190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3191 *) ac_try_echo=$ac_try;;
3193 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3194 (eval "$ac_try") 2>&5
3196 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3197 (exit $ac_status); }; }; then
3200 echo "$as_me: failed program was
:" >&5
3201 sed 's/^/| /' conftest.$ac_ext >&5
3206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3213 ac_c_werror_flag=$ac_save_c_werror_flag
3215 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3216 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3217 if test "$ac_test_CFLAGS" = set; then
3218 CFLAGS=$ac_save_CFLAGS
3219 elif test $ac_cv_prog_cc_g = yes; then
3220 if test "$GCC" = yes; then
3226 if test "$GCC" = yes; then
3232 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3233 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3234 if test "${ac_cv_prog_cc_c89+set}" = set; then
3235 echo $ECHO_N "(cached
) $ECHO_C" >&6
3237 ac_cv_prog_cc_c89=no
3239 cat >conftest.$ac_ext <<_ACEOF
3242 cat confdefs.h >>conftest.$ac_ext
3243 cat >>conftest.$ac_ext <<_ACEOF
3244 /* end confdefs.h. */
3247 #include <sys/types.h>
3248 #include <sys/stat.h>
3249 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3250 struct buf { int x; };
3251 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3252 static char *e (p, i)
3258 static char *f (char * (*g) (char **, int), char **p, ...)
3263 s = g (p, va_arg (v,int));
3268 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3269 function prototypes and stuff, but not '\xHH' hex character constants.
3270 These don't provoke an error unfortunately, instead are silently treated
3271 as 'x'. The following induces an error, until -std is added to get
3272 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3273 array size at least. It's necessary to write '\x00'==0 to get something
3274 that's true only with -std. */
3275 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3277 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3278 inside strings and character constants. */
3280 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3282 int test (int i, double x);
3283 struct s1 {int (*f) (int a);};
3284 struct s2 {int (*f) (double a);};
3285 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3291 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3296 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3297 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3299 CC="$ac_save_CC $ac_arg"
3300 rm -f conftest.$ac_objext
3301 if { (ac_try="$ac_compile"
3303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3304 *) ac_try_echo=$ac_try;;
3306 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3307 (eval "$ac_compile") 2>conftest.er1
3309 grep -v '^ *+' conftest.er1 >conftest.err
3311 cat conftest.err >&5
3312 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3313 (exit $ac_status); } &&
3314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3315 { (case "(($ac_try" in
3316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3317 *) ac_try_echo=$ac_try;;
3319 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3320 (eval "$ac_try") 2>&5
3322 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3323 (exit $ac_status); }; } &&
3324 { ac_try='test -s conftest.$ac_objext'
3325 { (case "(($ac_try" in
3326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3327 *) ac_try_echo=$ac_try;;
3329 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3330 (eval "$ac_try") 2>&5
3332 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3333 (exit $ac_status); }; }; then
3334 ac_cv_prog_cc_c89=$ac_arg
3336 echo "$as_me: failed program was
:" >&5
3337 sed 's/^/| /' conftest.$ac_ext >&5
3342 rm -f core conftest.err conftest.$ac_objext
3343 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3345 rm -f conftest.$ac_ext
3350 case "x
$ac_cv_prog_cc_c89" in
3352 { echo "$as_me:$LINENO: result
: none needed
" >&5
3353 echo "${ECHO_T}none needed
" >&6; } ;;
3355 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3356 echo "${ECHO_T}unsupported
" >&6; } ;;
3358 CC="$CC $ac_cv_prog_cc_c89"
3359 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3360 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3365 ac_cpp='$CPP $CPPFLAGS'
3366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3372 ac_cpp='$CPP $CPPFLAGS'
3373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3376 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3377 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3378 # On Suns, sometimes $CPP names a directory.
3379 if test -n "$CPP" && test -d "$CPP"; then
3382 if test -z "$CPP"; then
3383 if test "${ac_cv_prog_CPP+set}" = set; then
3384 echo $ECHO_N "(cached
) $ECHO_C" >&6
3386 # Double quotes because CPP needs to be expanded
3387 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3390 for ac_c_preproc_warn_flag in '' yes
3392 # Use a header file that comes with gcc, so configuring glibc
3393 # with a fresh cross-compiler works.
3394 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3395 # <limits.h> exists even on freestanding compilers.
3396 # On the NeXT, cc -E runs the code through the compiler's parser,
3397 # not just through cpp. "Syntax error
" is here to catch this case.
3398 cat >conftest.$ac_ext <<_ACEOF
3401 cat confdefs.h >>conftest.$ac_ext
3402 cat >>conftest.$ac_ext <<_ACEOF
3403 /* end confdefs.h. */
3405 # include <limits.h>
3407 # include <assert.h>
3411 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3414 *) ac_try_echo=$ac_try;;
3416 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3417 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3419 grep -v '^ *+' conftest.er1 >conftest.err
3421 cat conftest.err >&5
3422 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3423 (exit $ac_status); } >/dev/null; then
3424 if test -s conftest.err; then
3425 ac_cpp_err=$ac_c_preproc_warn_flag
3426 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3433 if test -z "$ac_cpp_err"; then
3436 echo "$as_me: failed program was
:" >&5
3437 sed 's/^/| /' conftest.$ac_ext >&5
3439 # Broken: fails on valid input.
3443 rm -f conftest.err conftest.$ac_ext
3445 # OK, works on sane cases. Now check whether nonexistent headers
3446 # can be detected and how.
3447 cat >conftest.$ac_ext <<_ACEOF
3450 cat confdefs.h >>conftest.$ac_ext
3451 cat >>conftest.$ac_ext <<_ACEOF
3452 /* end confdefs.h. */
3453 #include <ac_nonexistent.h>
3455 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3458 *) ac_try_echo=$ac_try;;
3460 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3461 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3463 grep -v '^ *+' conftest.er1 >conftest.err
3465 cat conftest.err >&5
3466 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3467 (exit $ac_status); } >/dev/null; then
3468 if test -s conftest.err; then
3469 ac_cpp_err=$ac_c_preproc_warn_flag
3470 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3477 if test -z "$ac_cpp_err"; then
3478 # Broken: success on invalid input.
3481 echo "$as_me: failed program was
:" >&5
3482 sed 's/^/| /' conftest.$ac_ext >&5
3484 # Passes both tests.
3489 rm -f conftest.err conftest.$ac_ext
3492 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3493 rm -f conftest.err conftest.$ac_ext
3494 if $ac_preproc_ok; then
3506 { echo "$as_me:$LINENO: result
: $CPP" >&5
3507 echo "${ECHO_T}$CPP" >&6; }
3509 for ac_c_preproc_warn_flag in '' yes
3511 # Use a header file that comes with gcc, so configuring glibc
3512 # with a fresh cross-compiler works.
3513 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3514 # <limits.h> exists even on freestanding compilers.
3515 # On the NeXT, cc -E runs the code through the compiler's parser,
3516 # not just through cpp. "Syntax error
" is here to catch this case.
3517 cat >conftest.$ac_ext <<_ACEOF
3520 cat confdefs.h >>conftest.$ac_ext
3521 cat >>conftest.$ac_ext <<_ACEOF
3522 /* end confdefs.h. */
3524 # include <limits.h>
3526 # include <assert.h>
3530 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3533 *) ac_try_echo=$ac_try;;
3535 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3536 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3538 grep -v '^ *+' conftest.er1 >conftest.err
3540 cat conftest.err >&5
3541 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3542 (exit $ac_status); } >/dev/null; then
3543 if test -s conftest.err; then
3544 ac_cpp_err=$ac_c_preproc_warn_flag
3545 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3552 if test -z "$ac_cpp_err"; then
3555 echo "$as_me: failed program was
:" >&5
3556 sed 's/^/| /' conftest.$ac_ext >&5
3558 # Broken: fails on valid input.
3562 rm -f conftest.err conftest.$ac_ext
3564 # OK, works on sane cases. Now check whether nonexistent headers
3565 # can be detected and how.
3566 cat >conftest.$ac_ext <<_ACEOF
3569 cat confdefs.h >>conftest.$ac_ext
3570 cat >>conftest.$ac_ext <<_ACEOF
3571 /* end confdefs.h. */
3572 #include <ac_nonexistent.h>
3574 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3577 *) ac_try_echo=$ac_try;;
3579 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3580 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3582 grep -v '^ *+' conftest.er1 >conftest.err
3584 cat conftest.err >&5
3585 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3586 (exit $ac_status); } >/dev/null; then
3587 if test -s conftest.err; then
3588 ac_cpp_err=$ac_c_preproc_warn_flag
3589 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3596 if test -z "$ac_cpp_err"; then
3597 # Broken: success on invalid input.
3600 echo "$as_me: failed program was
:" >&5
3601 sed 's/^/| /' conftest.$ac_ext >&5
3603 # Passes both tests.
3608 rm -f conftest.err conftest.$ac_ext
3611 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3612 rm -f conftest.err conftest.$ac_ext
3613 if $ac_preproc_ok; then
3616 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3617 See \
`config.log' for more details." >&5
3618 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3619 See \`config.log
' for more details." >&2;}
3620 { (exit 1); exit 1; }; }
3624 ac_cpp='$CPP $CPPFLAGS'
3625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3626 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3630 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3631 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3632 if test "${ac_cv_path_GREP+set}" = set; then
3633 echo $ECHO_N "(cached) $ECHO_C" >&6
3635 # Extract the first word of "grep ggrep" to use in msg output
3636 if test -z "$GREP"; then
3637 set dummy grep ggrep; ac_prog_name=$2
3638 if test "${ac_cv_path_GREP+set}" = set; then
3639 echo $ECHO_N "(cached) $ECHO_C" >&6
3641 ac_path_GREP_found=false
3642 # Loop through the user's path and
test for each of PROGNAME-LIST
3643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3644 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3647 test -z "$as_dir" && as_dir
=.
3648 for ac_prog
in grep ggrep
; do
3649 for ac_exec_ext
in '' $ac_executable_extensions; do
3650 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3651 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
3652 # Check for GNU ac_path_GREP and select it if it is found.
3653 # Check for GNU $ac_path_GREP
3654 case `"$ac_path_GREP" --version 2>&1` in
3656 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3659 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3662 cat "conftest.in" "conftest.in" >"conftest.tmp"
3663 mv "conftest.tmp" "conftest.in"
3664 cp "conftest.in" "conftest.nl"
3665 echo 'GREP' >> "conftest.nl"
3666 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3667 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3668 ac_count
=`expr $ac_count + 1`
3669 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3670 # Best one so far, save it but keep looking for a better one
3671 ac_cv_path_GREP
="$ac_path_GREP"
3672 ac_path_GREP_max
=$ac_count
3674 # 10*(2^10) chars as input seems more than enough
3675 test $ac_count -gt 10 && break
3677 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3681 $ac_path_GREP_found && break 3
3691 GREP
="$ac_cv_path_GREP"
3692 if test -z "$GREP"; then
3693 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3694 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3695 { (exit 1); exit 1; }; }
3699 ac_cv_path_GREP
=$GREP
3704 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3705 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3706 GREP
="$ac_cv_path_GREP"
3709 { echo "$as_me:$LINENO: checking for egrep" >&5
3710 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3711 if test "${ac_cv_path_EGREP+set}" = set; then
3712 echo $ECHO_N "(cached) $ECHO_C" >&6
3714 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3715 then ac_cv_path_EGREP
="$GREP -E"
3717 # Extract the first word of "egrep" to use in msg output
3718 if test -z "$EGREP"; then
3719 set dummy
egrep; ac_prog_name
=$2
3720 if test "${ac_cv_path_EGREP+set}" = set; then
3721 echo $ECHO_N "(cached) $ECHO_C" >&6
3723 ac_path_EGREP_found
=false
3724 # Loop through the user's path and test for each of PROGNAME-LIST
3725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3726 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3729 test -z "$as_dir" && as_dir
=.
3730 for ac_prog
in egrep; do
3731 for ac_exec_ext
in '' $ac_executable_extensions; do
3732 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3733 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
3734 # Check for GNU ac_path_EGREP and select it if it is found.
3735 # Check for GNU $ac_path_EGREP
3736 case `"$ac_path_EGREP" --version 2>&1` in
3738 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3741 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3744 cat "conftest.in" "conftest.in" >"conftest.tmp"
3745 mv "conftest.tmp" "conftest.in"
3746 cp "conftest.in" "conftest.nl"
3747 echo 'EGREP' >> "conftest.nl"
3748 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3749 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3750 ac_count
=`expr $ac_count + 1`
3751 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3752 # Best one so far, save it but keep looking for a better one
3753 ac_cv_path_EGREP
="$ac_path_EGREP"
3754 ac_path_EGREP_max
=$ac_count
3756 # 10*(2^10) chars as input seems more than enough
3757 test $ac_count -gt 10 && break
3759 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3763 $ac_path_EGREP_found && break 3
3773 EGREP
="$ac_cv_path_EGREP"
3774 if test -z "$EGREP"; then
3775 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3776 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3777 { (exit 1); exit 1; }; }
3781 ac_cv_path_EGREP
=$EGREP
3787 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3788 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3789 EGREP
="$ac_cv_path_EGREP"
3792 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3793 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3794 if test "${ac_cv_header_stdc+set}" = set; then
3795 echo $ECHO_N "(cached) $ECHO_C" >&6
3797 cat >conftest.
$ac_ext <<_ACEOF
3800 cat confdefs.h
>>conftest.
$ac_ext
3801 cat >>conftest.
$ac_ext <<_ACEOF
3802 /* end confdefs.h. */
3816 rm -f conftest.
$ac_objext
3817 if { (ac_try
="$ac_compile"
3819 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3820 *) ac_try_echo=$ac_try;;
3822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3823 (eval "$ac_compile") 2>conftest.er1
3825 grep -v '^ *+' conftest.er1 >conftest.err
3827 cat conftest.err >&5
3828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3829 (exit $ac_status); } &&
3830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3831 { (case "(($ac_try" in
3832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3833 *) ac_try_echo
=$ac_try;;
3835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3836 (eval "$ac_try") 2>&5
3838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3839 (exit $ac_status); }; } &&
3840 { ac_try
='test -s conftest.$ac_objext'
3841 { (case "(($ac_try" in
3842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3843 *) ac_try_echo=$ac_try;;
3845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3846 (eval "$ac_try") 2>&5
3848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849 (exit $ac_status); }; }; then
3850 ac_cv_header_stdc=yes
3852 echo "$as_me: failed program was:" >&5
3853 sed 's/^/| /' conftest.$ac_ext >&5
3855 ac_cv_header_stdc=no
3858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3860 if test $ac_cv_header_stdc = yes; then
3861 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3862 cat >conftest.$ac_ext <<_ACEOF
3865 cat confdefs.h >>conftest.$ac_ext
3866 cat >>conftest.$ac_ext <<_ACEOF
3867 /* end confdefs.h. */
3871 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3872 $EGREP "memchr" >/dev/null 2>&1; then
3875 ac_cv_header_stdc=no
3881 if test $ac_cv_header_stdc = yes; then
3882 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3883 cat >conftest.$ac_ext <<_ACEOF
3886 cat confdefs.h >>conftest.$ac_ext
3887 cat >>conftest.$ac_ext <<_ACEOF
3888 /* end confdefs.h. */
3892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3893 $EGREP "free" >/dev/null 2>&1; then
3896 ac_cv_header_stdc=no
3902 if test $ac_cv_header_stdc = yes; then
3903 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3904 if test "$cross_compiling" = yes; then
3907 cat >conftest.$ac_ext <<_ACEOF
3910 cat confdefs.h >>conftest.$ac_ext
3911 cat >>conftest.$ac_ext <<_ACEOF
3912 /* end confdefs.h. */
3915 #if ((' ' & 0x0FF) == 0x020)
3916 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3917 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3919 # define ISLOWER(c) \
3920 (('a' <= (c) && (c) <= 'i') \
3921 || ('j' <= (c) && (c) <= 'r') \
3922 || ('s' <= (c) && (c) <= 'z'))
3923 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3926 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3931 for (i = 0; i < 256; i++)
3932 if (XOR (islower (i), ISLOWER (i))
3933 || toupper (i) != TOUPPER (i))
3938 rm -f conftest$ac_exeext
3939 if { (ac_try="$ac_link"
3941 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3942 *) ac_try_echo
=$ac_try;;
3944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3945 (eval "$ac_link") 2>&5
3947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3949 { (case "(($ac_try" in
3950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3951 *) ac_try_echo=$ac_try;;
3953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3954 (eval "$ac_try") 2>&5
3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957 (exit $ac_status); }; }; then
3960 echo "$as_me: program exited with status $ac_status" >&5
3961 echo "$as_me: failed program was:" >&5
3962 sed 's/^/| /' conftest.$ac_ext >&5
3965 ac_cv_header_stdc=no
3967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3973 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3974 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3975 if test $ac_cv_header_stdc = yes; then
3977 cat >>confdefs.h <<\_ACEOF
3978 #define STDC_HEADERS 1
3983 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3993 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3994 inttypes.h stdint.h unistd.h
3996 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
3997 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3999 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4000 echo $ECHO_N "(cached) $ECHO_C" >&6
4002 cat >conftest.$ac_ext <<_ACEOF
4005 cat confdefs.h >>conftest.$ac_ext
4006 cat >>conftest.$ac_ext <<_ACEOF
4007 /* end confdefs.h. */
4008 $ac_includes_default
4010 #include <$ac_header>
4012 rm -f conftest.$ac_objext
4013 if { (ac_try="$ac_compile"
4015 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4016 *) ac_try_echo
=$ac_try;;
4018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4019 (eval "$ac_compile") 2>conftest.er1
4021 grep -v '^ *+' conftest.er1
>conftest.err
4023 cat conftest.err
>&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); } &&
4026 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4027 { (case "(($ac_try" in
4028 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4029 *) ac_try_echo=$ac_try;;
4031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4032 (eval "$ac_try") 2>&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); }; } &&
4036 { ac_try='test -s conftest.$ac_objext'
4037 { (case "(($ac_try" in
4038 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4039 *) ac_try_echo
=$ac_try;;
4041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4042 (eval "$ac_try") 2>&5
4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 (exit $ac_status); }; }; then
4046 eval "$as_ac_Header=yes"
4048 echo "$as_me: failed program was:" >&5
4049 sed 's/^/| /' conftest.
$ac_ext >&5
4051 eval "$as_ac_Header=no"
4054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4056 ac_res
=`eval echo '${'$as_ac_Header'}'`
4057 { echo "$as_me:$LINENO: result: $ac_res" >&5
4058 echo "${ECHO_T}$ac_res" >&6; }
4059 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4060 cat >>confdefs.h
<<_ACEOF
4061 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4069 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4070 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4071 if test "${ac_cv_c_bigendian+set}" = set; then
4072 echo $ECHO_N "(cached) $ECHO_C" >&6
4074 # See if sys/param.h defines the BYTE_ORDER macro.
4075 cat >conftest.
$ac_ext <<_ACEOF
4078 cat confdefs.h
>>conftest.
$ac_ext
4079 cat >>conftest.
$ac_ext <<_ACEOF
4080 /* end confdefs.h. */
4081 #include <sys/types.h>
4082 #include <sys/param.h>
4087 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4095 rm -f conftest.
$ac_objext
4096 if { (ac_try
="$ac_compile"
4098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4099 *) ac_try_echo=$ac_try;;
4101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4102 (eval "$ac_compile") 2>conftest.er1
4104 grep -v '^ *+' conftest.er1 >conftest.err
4106 cat conftest.err >&5
4107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4108 (exit $ac_status); } &&
4109 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4110 { (case "(($ac_try" in
4111 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4112 *) ac_try_echo
=$ac_try;;
4114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4115 (eval "$ac_try") 2>&5
4117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118 (exit $ac_status); }; } &&
4119 { ac_try
='test -s conftest.$ac_objext'
4120 { (case "(($ac_try" in
4121 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4122 *) ac_try_echo=$ac_try;;
4124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4125 (eval "$ac_try") 2>&5
4127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4128 (exit $ac_status); }; }; then
4129 # It does; now see whether it defined to BIG_ENDIAN or not.
4130 cat >conftest.$ac_ext <<_ACEOF
4133 cat confdefs.h >>conftest.$ac_ext
4134 cat >>conftest.$ac_ext <<_ACEOF
4135 /* end confdefs.h. */
4136 #include <sys/types.h>
4137 #include <sys/param.h>
4142 #if BYTE_ORDER != BIG_ENDIAN
4150 rm -f conftest.$ac_objext
4151 if { (ac_try="$ac_compile"
4153 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4154 *) ac_try_echo
=$ac_try;;
4156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4157 (eval "$ac_compile") 2>conftest.er1
4159 grep -v '^ *+' conftest.er1
>conftest.err
4161 cat conftest.err
>&5
4162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4163 (exit $ac_status); } &&
4164 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4165 { (case "(($ac_try" in
4166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4167 *) ac_try_echo=$ac_try;;
4169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4170 (eval "$ac_try") 2>&5
4172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173 (exit $ac_status); }; } &&
4174 { ac_try='test -s conftest.$ac_objext'
4175 { (case "(($ac_try" in
4176 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4177 *) ac_try_echo
=$ac_try;;
4179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4180 (eval "$ac_try") 2>&5
4182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183 (exit $ac_status); }; }; then
4184 ac_cv_c_bigendian
=yes
4186 echo "$as_me: failed program was:" >&5
4187 sed 's/^/| /' conftest.
$ac_ext >&5
4189 ac_cv_c_bigendian
=no
4192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4194 echo "$as_me: failed program was:" >&5
4195 sed 's/^/| /' conftest.
$ac_ext >&5
4197 # It does not; compile a test program.
4198 if test "$cross_compiling" = yes; then
4199 # try to guess the endianness by grepping values into an object file
4200 ac_cv_c_bigendian
=unknown
4201 cat >conftest.
$ac_ext <<_ACEOF
4204 cat confdefs.h
>>conftest.
$ac_ext
4205 cat >>conftest.
$ac_ext <<_ACEOF
4206 /* end confdefs.h. */
4207 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4208 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4209 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4210 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4211 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4212 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4216 _ascii (); _ebcdic ();
4221 rm -f conftest.
$ac_objext
4222 if { (ac_try
="$ac_compile"
4224 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4225 *) ac_try_echo=$ac_try;;
4227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4228 (eval "$ac_compile") 2>conftest.er1
4230 grep -v '^ *+' conftest.er1 >conftest.err
4232 cat conftest.err >&5
4233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234 (exit $ac_status); } &&
4235 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4236 { (case "(($ac_try" in
4237 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4238 *) ac_try_echo
=$ac_try;;
4240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4241 (eval "$ac_try") 2>&5
4243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4244 (exit $ac_status); }; } &&
4245 { ac_try
='test -s conftest.$ac_objext'
4246 { (case "(($ac_try" in
4247 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4248 *) ac_try_echo=$ac_try;;
4250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4251 (eval "$ac_try") 2>&5
4253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4254 (exit $ac_status); }; }; then
4255 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4256 ac_cv_c_bigendian=yes
4258 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4259 if test "$ac_cv_c_bigendian" = unknown; then
4260 ac_cv_c_bigendian=no
4262 # finding both strings is unlikely to happen, but who knows?
4263 ac_cv_c_bigendian=unknown
4267 echo "$as_me: failed program was:" >&5
4268 sed 's/^/| /' conftest.$ac_ext >&5
4273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4275 cat >conftest.$ac_ext <<_ACEOF
4278 cat confdefs.h >>conftest.$ac_ext
4279 cat >>conftest.$ac_ext <<_ACEOF
4280 /* end confdefs.h. */
4281 $ac_includes_default
4286 /* Are we little or big endian? From Harbison&Steele. */
4290 char c[sizeof (long int)];
4293 return u.c[sizeof (long int) - 1] == 1;
4299 rm -f conftest$ac_exeext
4300 if { (ac_try="$ac_link"
4302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4303 *) ac_try_echo
=$ac_try;;
4305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4306 (eval "$ac_link") 2>&5
4308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4310 { (case "(($ac_try" in
4311 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4312 *) ac_try_echo=$ac_try;;
4314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4315 (eval "$ac_try") 2>&5
4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); }; }; then
4319 ac_cv_c_bigendian=no
4321 echo "$as_me: program exited with status $ac_status" >&5
4322 echo "$as_me: failed program was:" >&5
4323 sed 's/^/| /' conftest.$ac_ext >&5
4326 ac_cv_c_bigendian=yes
4328 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4336 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4337 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4338 case $ac_cv_c_bigendian in
4346 { { echo "$as_me:$LINENO: error: unknown endianness
4347 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4348 echo "$as_me: error: unknown endianness
4349 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4350 { (exit 1); exit 1; }; } ;;
4354 if test "$cross_compiling" = yes; then
4355 LLVM_CROSS_COMPILING=1
4358 { echo "$as_me:$LINENO: checking for executable suffix on build platform" >&5
4359 echo $ECHO_N "checking for executable suffix on build platform... $ECHO_C" >&6; }
4360 if test "${ac_cv_build_exeext+set}" = set; then
4361 echo $ECHO_N "(cached) $ECHO_C" >&6
4363 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
4364 ac_cv_build_exeext=.exe
4366 ac_build_prefix=${build_alias}-
4368 # Extract the first word of "${ac_build_prefix}gcc", so it can be a program name with args.
4369 set dummy ${ac_build_prefix}gcc; ac_word=$2
4370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4372 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4373 echo $ECHO_N "(cached) $ECHO_C" >&6
4375 if test -n "$BUILD_CC"; then
4376 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4382 test -z "$as_dir" && as_dir=.
4383 for ac_exec_ext in '' $ac_executable_extensions; do
4384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4385 ac_cv_prog_BUILD_CC="${ac_build_prefix}gcc"
4386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4395 BUILD_CC=$ac_cv_prog_BUILD_CC
4396 if test -n "$BUILD_CC"; then
4397 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4398 echo "${ECHO_T}$BUILD_CC" >&6; }
4400 { echo "$as_me:$LINENO: result: no" >&5
4401 echo "${ECHO_T}no" >&6; }
4405 if test -z "$BUILD_CC"; then
4406 # Extract the first word of "gcc", so it can be a program name with args.
4407 set dummy gcc; ac_word=$2
4408 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4410 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4411 echo $ECHO_N "(cached) $ECHO_C" >&6
4413 if test -n "$BUILD_CC"; then
4414 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4420 test -z "$as_dir" && as_dir=.
4421 for ac_exec_ext in '' $ac_executable_extensions; do
4422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4423 ac_cv_prog_BUILD_CC="gcc"
4424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4433 BUILD_CC=$ac_cv_prog_BUILD_CC
4434 if test -n "$BUILD_CC"; then
4435 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4436 echo "${ECHO_T}$BUILD_CC" >&6; }
4438 { echo "$as_me:$LINENO: result: no" >&5
4439 echo "${ECHO_T}no" >&6; }
4443 if test -z "$BUILD_CC"; then
4444 # Extract the first word of "cc", so it can be a program name with args.
4445 set dummy cc; ac_word=$2
4446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4448 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4449 echo $ECHO_N "(cached) $ECHO_C" >&6
4451 if test -n "$BUILD_CC"; then
4452 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4459 test -z "$as_dir" && as_dir=.
4460 for ac_exec_ext in '' $ac_executable_extensions; do
4461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4462 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4463 ac_prog_rejected=yes
4466 ac_cv_prog_BUILD_CC="cc"
4467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4474 if test $ac_prog_rejected = yes; then
4475 # We found a bogon in the path, so make sure we never use it.
4476 set dummy $ac_cv_prog_BUILD_CC
4478 if test $# != 0; then
4479 # We chose a different compiler from the bogus one.
4480 # However, it has the same basename, so the bogon will be chosen
4481 # first if we set BUILD_CC to just the basename; use the full file name.
4483 ac_cv_prog_BUILD_CC="$as_dir/$ac_word${1+' '}$@"
4488 BUILD_CC=$ac_cv_prog_BUILD_CC
4489 if test -n "$BUILD_CC"; then
4490 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4491 echo "${ECHO_T}$BUILD_CC" >&6; }
4493 { echo "$as_me:$LINENO: result: no" >&5
4494 echo "${ECHO_T}no" >&6; }
4500 test -z "$BUILD_CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
4501 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
4502 { (exit 1); exit 1; }; }
4503 ac_build_link='${BUILD_CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4505 echo 'int main () { return 0; }' > conftest.$ac_ext
4507 if { (eval echo "$as_me:$LINENO: \"$ac_build_link\"") >&5
4508 (eval $ac_build_link) 2>&5
4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511 (exit $ac_status); }; then
4512 for file in conftest.*; do
4514 *.c | *.o | *.obj) ;;
4515 *) ac_cv_build_exeext=`echo $file |
sed -e s
/conftest
//` ;;
4519 { { echo "$as_me:$LINENO: error: installation or configuration problem: compiler cannot create executables." >&5
4520 echo "$as_me: error: installation or configuration problem: compiler cannot create executables." >&2;}
4521 { (exit 1); exit 1; }; }
4524 test x"${ac_cv_build_exeext}" = x && ac_cv_build_exeext=blank
4529 test x"${ac_cv_build_exeext}" != xblank && BUILD_EXEEXT=${ac_cv_build_exeext}
4530 { echo "$as_me:$LINENO: result: ${ac_cv_build_exeext}" >&5
4531 echo "${ECHO_T}${ac_cv_build_exeext}" >&6; }
4532 ac_build_exeext=$BUILD_EXEEXT
4535 LLVM_CROSS_COMPILING=0
4539 if test -d "CVS" -o -d "${srcdir}/CVS" -o -d ".svn" -o -d "${srcdir}/.svn"; then
4550 # Check whether --enable-optimized was given.
4551 if test "${enable_optimized+set}" = set; then
4552 enableval=$enable_optimized;
4557 if test ${enableval} = "no" ; then
4561 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
4565 # Check whether --enable-assertions was given.
4566 if test "${enable_assertions+set}" = set; then
4567 enableval=$enable_assertions;
4572 if test ${enableval} = "yes" ; then
4576 DISABLE_ASSERTIONS=DISABLE_ASSERTIONS=1
4580 # Check whether --enable-debug-runtime was given.
4581 if test "${enable_debug_runtime+set}" = set; then
4582 enableval=$enable_debug_runtime;
4587 if test ${enableval} = "no" ; then
4591 DEBUG_RUNTIME=DEBUG_RUNTIME=1
4595 # Check whether --enable-jit was given.
4596 if test "${enable_jit+set}" = set; then
4597 enableval=$enable_jit;
4602 if test ${enableval} = "no"
4607 case "$llvm_cv_target_arch" in
4608 x86) TARGET_HAS_JIT=1
4610 Sparc) TARGET_HAS_JIT=0
4612 PowerPC) TARGET_HAS_JIT=1
4614 x86_64) TARGET_HAS_JIT=1
4616 Alpha) TARGET_HAS_JIT=1
4618 IA64) TARGET_HAS_JIT=0
4620 ARM) TARGET_HAS_JIT=0
4627 # Check whether --enable-doxygen was given.
4628 if test "${enable_doxygen+set}" = set; then
4629 enableval=$enable_doxygen;
4634 case "$enableval" in
4635 yes) ENABLE_DOXYGEN=1
4637 no) ENABLE_DOXYGEN=0
4639 default) ENABLE_DOXYGEN=0
4641 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&5
4642 echo "$as_me: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&2;}
4643 { (exit 1); exit 1; }; } ;;
4646 # Check whether --enable-threads was given.
4647 if test "${enable_threads+set}" = set; then
4648 enableval=$enable_threads;
4653 case "$enableval" in
4654 yes) ENABLE_THREADS=1
4656 no) ENABLE_THREADS=0
4658 default) ENABLE_THREADS=1
4660 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&5
4661 echo "$as_me: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&2;}
4662 { (exit 1); exit 1; }; } ;;
4665 cat >>confdefs.h <<_ACEOF
4666 #define ENABLE_THREADS $ENABLE_THREADS
4670 # Check whether --enable-pic was given.
4671 if test "${enable_pic+set}" = set; then
4672 enableval=$enable_pic;
4677 case "$enableval" in
4682 default) ENABLE_PIC=0
4684 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&5
4685 echo "$as_me: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&2;}
4686 { (exit 1); exit 1; }; } ;;
4689 cat >>confdefs.h <<_ACEOF
4690 #define ENABLE_PIC $ENABLE_PIC
4695 # Check whether --enable-targets was given.
4696 if test "${enable_targets+set}" = set; then
4697 enableval=$enable_targets;
4702 case "$enableval" in
4703 all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha IA64 ARM" ;;
4705 case "$llvm_cv_target_arch" in
4706 x86) TARGETS_TO_BUILD="X86" ;;
4707 x86_64) TARGETS_TO_BUILD="X86" ;;
4708 Sparc) TARGETS_TO_BUILD="Sparc" ;;
4709 PowerPC) TARGETS_TO_BUILD="PowerPC" ;;
4710 Alpha) TARGETS_TO_BUILD="Alpha" ;;
4711 IA64) TARGETS_TO_BUILD="IA64" ;;
4712 ARM) TARGETS_TO_BUILD="ARM" ;;
4713 *) { { echo "$as_me:$LINENO: error: Can not set target to build" >&5
4714 echo "$as_me: error: Can not set target to build" >&2;}
4715 { (exit 1); exit 1; }; } ;;
4718 *)for a_target in `echo $enableval|
sed -e 's/,/ /g' ` ; do
4720 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
4721 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
4722 sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
4723 powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
4724 alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
4725 ia64) TARGETS_TO_BUILD="IA64 $TARGETS_TO_BUILD" ;;
4726 arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
4727 *) { { echo "$as_me:$LINENO: error: Unrecognized target $a_target" >&5
4728 echo "$as_me: error: Unrecognized target $a_target" >&2;}
4729 { (exit 1); exit 1; }; } ;;
4734 TARGETS_TO_BUILD="CBackend MSIL $TARGETS_TO_BUILD"
4735 TARGETS_TO_BUILD=$TARGETS_TO_BUILD
4738 # Check whether --enable-cbe-printf-a was given.
4739 if test "${enable_cbe_printf_a+set}" = set; then
4740 enableval=$enable_cbe_printf_a;
4745 case "$enableval" in
4746 yes) ENABLE_CBE_PRINTF_A=1
4748 no) ENABLE_CBE_PRINTF_A=0
4750 default) ENABLE_CBE_PRINTF_A=1
4752 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&5
4753 echo "$as_me: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&2;}
4754 { (exit 1); exit 1; }; } ;;
4757 cat >>confdefs.h <<_ACEOF
4758 #define ENABLE_CBE_PRINTF_A $ENABLE_CBE_PRINTF_A
4763 # Check whether --with-llvmgccdir was given.
4764 if test "${with_llvmgccdir+set}" = set; then
4765 withval=$with_llvmgccdir;
4771 default) WITH_LLVMGCCDIR=default ;;
4772 /* | [A-Za-z]:[\\/]*) WITH_LLVMGCCDIR=$withval ;;
4773 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-llvmgccdir. Provide full path" >&5
4774 echo "$as_me: error: Invalid path for --with-llvmgccdir. Provide full path" >&2;}
4775 { (exit 1); exit 1; }; } ;;
4779 # Check whether --with-extra-options was given.
4780 if test "${with_extra_options+set}" = set; then
4781 withval=$with_extra_options;
4787 default) EXTRA_OPTIONS= ;;
4788 *) EXTRA_OPTIONS=$withval ;;
4790 EXTRA_OPTIONS=$EXTRA_OPTIONS
4795 ac_cpp='$CPP $CPPFLAGS'
4796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4799 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4800 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4801 # On Suns, sometimes $CPP names a directory.
4802 if test -n "$CPP" && test -d "$CPP"; then
4805 if test -z "$CPP"; then
4806 if test "${ac_cv_prog_CPP+set}" = set; then
4807 echo $ECHO_N "(cached) $ECHO_C" >&6
4809 # Double quotes because CPP needs to be expanded
4810 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4813 for ac_c_preproc_warn_flag in '' yes
4815 # Use a header file that comes with gcc, so configuring glibc
4816 # with a fresh cross-compiler works.
4817 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4818 # <limits.h> exists even on freestanding compilers.
4819 # On the NeXT, cc -E runs the code through the compiler's parser,
4820 # not just through cpp. "Syntax error" is here to catch this case.
4821 cat >conftest.$ac_ext <<_ACEOF
4824 cat confdefs.h >>conftest.$ac_ext
4825 cat >>conftest.$ac_ext <<_ACEOF
4826 /* end confdefs.h. */
4828 # include <limits.h>
4830 # include <assert.h>
4834 if { (ac_try="$ac_cpp conftest.$ac_ext"
4836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4837 *) ac_try_echo
=$ac_try;;
4839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4840 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4842 grep -v '^ *+' conftest.er1
>conftest.err
4844 cat conftest.err
>&5
4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 (exit $ac_status); } >/dev
/null
; then
4847 if test -s conftest.err
; then
4848 ac_cpp_err
=$ac_c_preproc_warn_flag
4849 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4856 if test -z "$ac_cpp_err"; then
4859 echo "$as_me: failed program was:" >&5
4860 sed 's/^/| /' conftest.
$ac_ext >&5
4862 # Broken: fails on valid input.
4866 rm -f conftest.err conftest.
$ac_ext
4868 # OK, works on sane cases. Now check whether nonexistent headers
4869 # can be detected and how.
4870 cat >conftest.
$ac_ext <<_ACEOF
4873 cat confdefs.h
>>conftest.
$ac_ext
4874 cat >>conftest.
$ac_ext <<_ACEOF
4875 /* end confdefs.h. */
4876 #include <ac_nonexistent.h>
4878 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4880 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4881 *) ac_try_echo=$ac_try;;
4883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4884 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4886 grep -v '^ *+' conftest.er1 >conftest.err
4888 cat conftest.err >&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); } >/dev/null; then
4891 if test -s conftest.err; then
4892 ac_cpp_err=$ac_c_preproc_warn_flag
4893 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4900 if test -z "$ac_cpp_err"; then
4901 # Broken: success on invalid input.
4904 echo "$as_me: failed program was:" >&5
4905 sed 's/^/| /' conftest.$ac_ext >&5
4907 # Passes both tests.
4912 rm -f conftest.err conftest.$ac_ext
4915 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4916 rm -f conftest.err conftest.
$ac_ext
4917 if $ac_preproc_ok; then
4929 { echo "$as_me:$LINENO: result: $CPP" >&5
4930 echo "${ECHO_T}$CPP" >&6; }
4932 for ac_c_preproc_warn_flag
in '' yes
4934 # Use a header file that comes with gcc, so configuring glibc
4935 # with a fresh cross-compiler works.
4936 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4937 # <limits.h> exists even on freestanding compilers.
4938 # On the NeXT, cc -E runs the code through the compiler's parser,
4939 # not just through cpp. "Syntax error" is here to catch this case.
4940 cat >conftest.
$ac_ext <<_ACEOF
4943 cat confdefs.h
>>conftest.
$ac_ext
4944 cat >>conftest.
$ac_ext <<_ACEOF
4945 /* end confdefs.h. */
4947 # include <limits.h>
4949 # include <assert.h>
4953 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4955 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4956 *) ac_try_echo=$ac_try;;
4958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4959 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4961 grep -v '^ *+' conftest.er1 >conftest.err
4963 cat conftest.err >&5
4964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4965 (exit $ac_status); } >/dev/null; then
4966 if test -s conftest.err; then
4967 ac_cpp_err=$ac_c_preproc_warn_flag
4968 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4975 if test -z "$ac_cpp_err"; then
4978 echo "$as_me: failed program was:" >&5
4979 sed 's/^/| /' conftest.$ac_ext >&5
4981 # Broken: fails on valid input.
4985 rm -f conftest.err conftest.$ac_ext
4987 # OK, works on sane cases. Now check whether nonexistent headers
4988 # can be detected and how.
4989 cat >conftest.$ac_ext <<_ACEOF
4992 cat confdefs.h >>conftest.$ac_ext
4993 cat >>conftest.$ac_ext <<_ACEOF
4994 /* end confdefs.h. */
4995 #include <ac_nonexistent.h>
4997 if { (ac_try="$ac_cpp conftest.$ac_ext"
4999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5000 *) ac_try_echo
=$ac_try;;
5002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5003 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5005 grep -v '^ *+' conftest.er1
>conftest.err
5007 cat conftest.err
>&5
5008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009 (exit $ac_status); } >/dev
/null
; then
5010 if test -s conftest.err
; then
5011 ac_cpp_err
=$ac_c_preproc_warn_flag
5012 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5019 if test -z "$ac_cpp_err"; then
5020 # Broken: success on invalid input.
5023 echo "$as_me: failed program was:" >&5
5024 sed 's/^/| /' conftest.
$ac_ext >&5
5026 # Passes both tests.
5031 rm -f conftest.err conftest.
$ac_ext
5034 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5035 rm -f conftest.err conftest.
$ac_ext
5036 if $ac_preproc_ok; then
5039 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5040 See \`config.log' for more details." >&5
5041 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5042 See \`config.log' for more details." >&2;}
5043 { (exit 1); exit 1; }; }
5047 ac_cpp
='$CPP $CPPFLAGS'
5048 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5049 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5050 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5053 ac_cpp
='$CPP $CPPFLAGS'
5054 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5055 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5056 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5057 if test -n "$ac_tool_prefix"; then
5060 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5061 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5062 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5064 if test "${ac_cv_prog_CC+set}" = set; then
5065 echo $ECHO_N "(cached) $ECHO_C" >&6
5067 if test -n "$CC"; then
5068 ac_cv_prog_CC
="$CC" # Let the user override the test.
5070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5074 test -z "$as_dir" && as_dir
=.
5075 for ac_exec_ext
in '' $ac_executable_extensions; do
5076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5077 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5088 if test -n "$CC"; then
5089 { echo "$as_me:$LINENO: result: $CC" >&5
5090 echo "${ECHO_T}$CC" >&6; }
5092 { echo "$as_me:$LINENO: result: no" >&5
5093 echo "${ECHO_T}no" >&6; }
5097 test -n "$CC" && break
5100 if test -z "$CC"; then
5104 # Extract the first word of "$ac_prog", so it can be a program name with args.
5105 set dummy
$ac_prog; ac_word
=$2
5106 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5108 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5109 echo $ECHO_N "(cached) $ECHO_C" >&6
5111 if test -n "$ac_ct_CC"; then
5112 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5118 test -z "$as_dir" && as_dir
=.
5119 for ac_exec_ext
in '' $ac_executable_extensions; do
5120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5121 ac_cv_prog_ac_ct_CC
="$ac_prog"
5122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5131 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5132 if test -n "$ac_ct_CC"; then
5133 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5134 echo "${ECHO_T}$ac_ct_CC" >&6; }
5136 { echo "$as_me:$LINENO: result: no" >&5
5137 echo "${ECHO_T}no" >&6; }
5141 test -n "$ac_ct_CC" && break
5144 if test "x$ac_ct_CC" = x
; then
5147 case $cross_compiling:$ac_tool_warned in
5149 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5150 whose name does not start with the host triplet. If you think this
5151 configuration is useful to you, please write to autoconf@gnu.org." >&5
5152 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5153 whose name does not start with the host triplet. If you think this
5154 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5155 ac_tool_warned
=yes ;;
5162 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5163 See \`config.log' for more details." >&5
5164 echo "$as_me: error: no acceptable C compiler found in \$PATH
5165 See \`config.log' for more details." >&2;}
5166 { (exit 1); exit 1; }; }
5168 # Provide some information about the compiler.
5169 echo "$as_me:$LINENO: checking for C compiler version" >&5
5170 ac_compiler
=`set X $ac_compile; echo $2`
5171 { (ac_try
="$ac_compiler --version >&5"
5173 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5174 *) ac_try_echo=$ac_try;;
5176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5177 (eval "$ac_compiler --version >&5") 2>&5
5179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5180 (exit $ac_status); }
5181 { (ac_try="$ac_compiler -v >&5"
5183 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5184 *) ac_try_echo
=$ac_try;;
5186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5187 (eval "$ac_compiler -v >&5") 2>&5
5189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5190 (exit $ac_status); }
5191 { (ac_try
="$ac_compiler -V >&5"
5193 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5194 *) ac_try_echo=$ac_try;;
5196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5197 (eval "$ac_compiler -V >&5") 2>&5
5199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200 (exit $ac_status); }
5202 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5203 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
5204 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5205 echo $ECHO_N "(cached) $ECHO_C" >&6
5207 cat >conftest.$ac_ext <<_ACEOF
5210 cat confdefs.h >>conftest.$ac_ext
5211 cat >>conftest.$ac_ext <<_ACEOF
5212 /* end confdefs.h. */
5225 rm -f conftest.$ac_objext
5226 if { (ac_try="$ac_compile"
5228 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5229 *) ac_try_echo
=$ac_try;;
5231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5232 (eval "$ac_compile") 2>conftest.er1
5234 grep -v '^ *+' conftest.er1
>conftest.err
5236 cat conftest.err
>&5
5237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5238 (exit $ac_status); } &&
5239 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5240 { (case "(($ac_try" in
5241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5242 *) ac_try_echo=$ac_try;;
5244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5245 (eval "$ac_try") 2>&5
5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5248 (exit $ac_status); }; } &&
5249 { ac_try='test -s conftest.$ac_objext'
5250 { (case "(($ac_try" in
5251 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5252 *) ac_try_echo
=$ac_try;;
5254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5255 (eval "$ac_try") 2>&5
5257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258 (exit $ac_status); }; }; then
5261 echo "$as_me: failed program was:" >&5
5262 sed 's/^/| /' conftest.
$ac_ext >&5
5267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5268 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5271 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5272 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5273 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5274 ac_test_CFLAGS
=${CFLAGS+set}
5275 ac_save_CFLAGS
=$CFLAGS
5276 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5277 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5278 if test "${ac_cv_prog_cc_g+set}" = set; then
5279 echo $ECHO_N "(cached) $ECHO_C" >&6
5281 ac_save_c_werror_flag
=$ac_c_werror_flag
5282 ac_c_werror_flag
=yes
5285 cat >conftest.
$ac_ext <<_ACEOF
5288 cat confdefs.h
>>conftest.
$ac_ext
5289 cat >>conftest.
$ac_ext <<_ACEOF
5290 /* end confdefs.h. */
5300 rm -f conftest.
$ac_objext
5301 if { (ac_try
="$ac_compile"
5303 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5304 *) ac_try_echo=$ac_try;;
5306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5307 (eval "$ac_compile") 2>conftest.er1
5309 grep -v '^ *+' conftest.er1 >conftest.err
5311 cat conftest.err >&5
5312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5313 (exit $ac_status); } &&
5314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5315 { (case "(($ac_try" in
5316 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5317 *) ac_try_echo
=$ac_try;;
5319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5320 (eval "$ac_try") 2>&5
5322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323 (exit $ac_status); }; } &&
5324 { ac_try
='test -s conftest.$ac_objext'
5325 { (case "(($ac_try" in
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_try") 2>&5
5332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5333 (exit $ac_status); }; }; then
5336 echo "$as_me: failed program was:" >&5
5337 sed 's/^/| /' conftest.$ac_ext >&5
5340 cat >conftest.$ac_ext <<_ACEOF
5343 cat confdefs.h >>conftest.$ac_ext
5344 cat >>conftest.$ac_ext <<_ACEOF
5345 /* end confdefs.h. */
5355 rm -f conftest.$ac_objext
5356 if { (ac_try="$ac_compile"
5358 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5359 *) ac_try_echo
=$ac_try;;
5361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5362 (eval "$ac_compile") 2>conftest.er1
5364 grep -v '^ *+' conftest.er1
>conftest.err
5366 cat conftest.err
>&5
5367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5368 (exit $ac_status); } &&
5369 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5370 { (case "(($ac_try" in
5371 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5372 *) ac_try_echo=$ac_try;;
5374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5375 (eval "$ac_try") 2>&5
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); }; } &&
5379 { ac_try='test -s conftest.$ac_objext'
5380 { (case "(($ac_try" in
5381 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5382 *) ac_try_echo
=$ac_try;;
5384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5385 (eval "$ac_try") 2>&5
5387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388 (exit $ac_status); }; }; then
5391 echo "$as_me: failed program was:" >&5
5392 sed 's/^/| /' conftest.
$ac_ext >&5
5394 ac_c_werror_flag
=$ac_save_c_werror_flag
5396 cat >conftest.
$ac_ext <<_ACEOF
5399 cat confdefs.h
>>conftest.
$ac_ext
5400 cat >>conftest.
$ac_ext <<_ACEOF
5401 /* end confdefs.h. */
5411 rm -f conftest.
$ac_objext
5412 if { (ac_try
="$ac_compile"
5414 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5415 *) ac_try_echo=$ac_try;;
5417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5418 (eval "$ac_compile") 2>conftest.er1
5420 grep -v '^ *+' conftest.er1 >conftest.err
5422 cat conftest.err >&5
5423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5424 (exit $ac_status); } &&
5425 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5426 { (case "(($ac_try" in
5427 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5428 *) ac_try_echo
=$ac_try;;
5430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5431 (eval "$ac_try") 2>&5
5433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5434 (exit $ac_status); }; } &&
5435 { ac_try
='test -s conftest.$ac_objext'
5436 { (case "(($ac_try" in
5437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5438 *) ac_try_echo=$ac_try;;
5440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5441 (eval "$ac_try") 2>&5
5443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5444 (exit $ac_status); }; }; then
5447 echo "$as_me: failed program was:" >&5
5448 sed 's/^/| /' conftest.$ac_ext >&5
5453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5460 ac_c_werror_flag=$ac_save_c_werror_flag
5462 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5463 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5464 if test "$ac_test_CFLAGS" = set; then
5465 CFLAGS=$ac_save_CFLAGS
5466 elif test $ac_cv_prog_cc_g = yes; then
5467 if test "$GCC" = yes; then
5473 if test "$GCC" = yes; then
5479 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5480 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5481 if test "${ac_cv_prog_cc_c89+set}" = set; then
5482 echo $ECHO_N "(cached) $ECHO_C" >&6
5484 ac_cv_prog_cc_c89=no
5486 cat >conftest.$ac_ext <<_ACEOF
5489 cat confdefs.h >>conftest.$ac_ext
5490 cat >>conftest.$ac_ext <<_ACEOF
5491 /* end confdefs.h. */
5494 #include <sys/types.h>
5495 #include <sys/stat.h>
5496 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5497 struct buf { int x; };
5498 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5499 static char *e (p, i)
5505 static char *f (char * (*g) (char **, int), char **p, ...)
5510 s = g (p, va_arg (v,int));
5515 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5516 function prototypes and stuff, but not '\xHH' hex character constants.
5517 These don't provoke an error unfortunately, instead are silently treated
5518 as 'x'. The following induces an error, until -std is added to get
5519 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5520 array size at least. It's necessary to write '\x00'==0 to get something
5521 that's true only with -std. */
5522 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5524 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5525 inside strings and character constants. */
5527 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5529 int test (int i, double x);
5530 struct s1 {int (*f) (int a);};
5531 struct s2 {int (*f) (double a);};
5532 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5538 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5543 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5544 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5546 CC="$ac_save_CC $ac_arg"
5547 rm -f conftest.$ac_objext
5548 if { (ac_try="$ac_compile"
5550 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5551 *) ac_try_echo
=$ac_try;;
5553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5554 (eval "$ac_compile") 2>conftest.er1
5556 grep -v '^ *+' conftest.er1
>conftest.err
5558 cat conftest.err
>&5
5559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560 (exit $ac_status); } &&
5561 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5562 { (case "(($ac_try" in
5563 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5564 *) ac_try_echo=$ac_try;;
5566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5567 (eval "$ac_try") 2>&5
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); }; } &&
5571 { ac_try='test -s conftest.$ac_objext'
5572 { (case "(($ac_try" in
5573 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5574 *) ac_try_echo
=$ac_try;;
5576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5577 (eval "$ac_try") 2>&5
5579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580 (exit $ac_status); }; }; then
5581 ac_cv_prog_cc_c89
=$ac_arg
5583 echo "$as_me: failed program was:" >&5
5584 sed 's/^/| /' conftest.
$ac_ext >&5
5589 rm -f core conftest.err conftest.
$ac_objext
5590 test "x$ac_cv_prog_cc_c89" != "xno" && break
5592 rm -f conftest.
$ac_ext
5597 case "x$ac_cv_prog_cc_c89" in
5599 { echo "$as_me:$LINENO: result: none needed" >&5
5600 echo "${ECHO_T}none needed" >&6; } ;;
5602 { echo "$as_me:$LINENO: result: unsupported" >&5
5603 echo "${ECHO_T}unsupported" >&6; } ;;
5605 CC
="$CC $ac_cv_prog_cc_c89"
5606 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5607 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5612 ac_cpp
='$CPP $CPPFLAGS'
5613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5618 ac_cpp
='$CXXCPP $CPPFLAGS'
5619 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5620 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5621 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5622 if test -z "$CXX"; then
5623 if test -n "$CCC"; then
5626 if test -n "$ac_tool_prefix"; then
5629 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5630 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5631 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5633 if test "${ac_cv_prog_CXX+set}" = set; then
5634 echo $ECHO_N "(cached) $ECHO_C" >&6
5636 if test -n "$CXX"; then
5637 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5643 test -z "$as_dir" && as_dir
=.
5644 for ac_exec_ext
in '' $ac_executable_extensions; do
5645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5646 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5657 if test -n "$CXX"; then
5658 { echo "$as_me:$LINENO: result: $CXX" >&5
5659 echo "${ECHO_T}$CXX" >&6; }
5661 { echo "$as_me:$LINENO: result: no" >&5
5662 echo "${ECHO_T}no" >&6; }
5666 test -n "$CXX" && break
5669 if test -z "$CXX"; then
5673 # Extract the first word of "$ac_prog", so it can be a program name with args.
5674 set dummy
$ac_prog; ac_word
=$2
5675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5677 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5678 echo $ECHO_N "(cached) $ECHO_C" >&6
5680 if test -n "$ac_ct_CXX"; then
5681 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5687 test -z "$as_dir" && as_dir
=.
5688 for ac_exec_ext
in '' $ac_executable_extensions; do
5689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5690 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5700 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5701 if test -n "$ac_ct_CXX"; then
5702 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5703 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5705 { echo "$as_me:$LINENO: result: no" >&5
5706 echo "${ECHO_T}no" >&6; }
5710 test -n "$ac_ct_CXX" && break
5713 if test "x$ac_ct_CXX" = x
; then
5716 case $cross_compiling:$ac_tool_warned in
5718 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5719 whose name does not start with the host triplet. If you think this
5720 configuration is useful to you, please write to autoconf@gnu.org." >&5
5721 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5722 whose name does not start with the host triplet. If you think this
5723 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5724 ac_tool_warned
=yes ;;
5732 # Provide some information about the compiler.
5733 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5734 ac_compiler
=`set X $ac_compile; echo $2`
5735 { (ac_try
="$ac_compiler --version >&5"
5737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5738 *) ac_try_echo=$ac_try;;
5740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5741 (eval "$ac_compiler --version >&5") 2>&5
5743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744 (exit $ac_status); }
5745 { (ac_try="$ac_compiler -v >&5"
5747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5748 *) ac_try_echo
=$ac_try;;
5750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5751 (eval "$ac_compiler -v >&5") 2>&5
5753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5754 (exit $ac_status); }
5755 { (ac_try
="$ac_compiler -V >&5"
5757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5758 *) ac_try_echo=$ac_try;;
5760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5761 (eval "$ac_compiler -V >&5") 2>&5
5763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764 (exit $ac_status); }
5766 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5767 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5768 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5769 echo $ECHO_N "(cached) $ECHO_C" >&6
5771 cat >conftest.$ac_ext <<_ACEOF
5774 cat confdefs.h >>conftest.$ac_ext
5775 cat >>conftest.$ac_ext <<_ACEOF
5776 /* end confdefs.h. */
5789 rm -f conftest.$ac_objext
5790 if { (ac_try="$ac_compile"
5792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5793 *) ac_try_echo
=$ac_try;;
5795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5796 (eval "$ac_compile") 2>conftest.er1
5798 grep -v '^ *+' conftest.er1
>conftest.err
5800 cat conftest.err
>&5
5801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802 (exit $ac_status); } &&
5803 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5804 { (case "(($ac_try" in
5805 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5806 *) ac_try_echo=$ac_try;;
5808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5809 (eval "$ac_try") 2>&5
5811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812 (exit $ac_status); }; } &&
5813 { ac_try='test -s conftest.$ac_objext'
5814 { (case "(($ac_try" in
5815 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5816 *) ac_try_echo
=$ac_try;;
5818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5819 (eval "$ac_try") 2>&5
5821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5822 (exit $ac_status); }; }; then
5825 echo "$as_me: failed program was:" >&5
5826 sed 's/^/| /' conftest.
$ac_ext >&5
5831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5832 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5835 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5836 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5837 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5838 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5839 ac_save_CXXFLAGS
=$CXXFLAGS
5840 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5841 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5842 if test "${ac_cv_prog_cxx_g+set}" = set; then
5843 echo $ECHO_N "(cached) $ECHO_C" >&6
5845 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5846 ac_cxx_werror_flag
=yes
5849 cat >conftest.
$ac_ext <<_ACEOF
5852 cat confdefs.h
>>conftest.
$ac_ext
5853 cat >>conftest.
$ac_ext <<_ACEOF
5854 /* end confdefs.h. */
5864 rm -f conftest.
$ac_objext
5865 if { (ac_try
="$ac_compile"
5867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5868 *) ac_try_echo=$ac_try;;
5870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5871 (eval "$ac_compile") 2>conftest.er1
5873 grep -v '^ *+' conftest.er1 >conftest.err
5875 cat conftest.err >&5
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); } &&
5878 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5879 { (case "(($ac_try" in
5880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5881 *) ac_try_echo
=$ac_try;;
5883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5884 (eval "$ac_try") 2>&5
5886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5887 (exit $ac_status); }; } &&
5888 { ac_try
='test -s conftest.$ac_objext'
5889 { (case "(($ac_try" in
5890 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5891 *) ac_try_echo=$ac_try;;
5893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5894 (eval "$ac_try") 2>&5
5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897 (exit $ac_status); }; }; then
5898 ac_cv_prog_cxx_g=yes
5900 echo "$as_me: failed program was:" >&5
5901 sed 's/^/| /' conftest.$ac_ext >&5
5904 cat >conftest.$ac_ext <<_ACEOF
5907 cat confdefs.h >>conftest.$ac_ext
5908 cat >>conftest.$ac_ext <<_ACEOF
5909 /* end confdefs.h. */
5919 rm -f conftest.$ac_objext
5920 if { (ac_try="$ac_compile"
5922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5923 *) ac_try_echo
=$ac_try;;
5925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5926 (eval "$ac_compile") 2>conftest.er1
5928 grep -v '^ *+' conftest.er1
>conftest.err
5930 cat conftest.err
>&5
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); } &&
5933 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5934 { (case "(($ac_try" in
5935 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5936 *) ac_try_echo=$ac_try;;
5938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5939 (eval "$ac_try") 2>&5
5941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5942 (exit $ac_status); }; } &&
5943 { ac_try='test -s conftest.$ac_objext'
5944 { (case "(($ac_try" in
5945 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5946 *) ac_try_echo
=$ac_try;;
5948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5949 (eval "$ac_try") 2>&5
5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 (exit $ac_status); }; }; then
5955 echo "$as_me: failed program was:" >&5
5956 sed 's/^/| /' conftest.
$ac_ext >&5
5958 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5960 cat >conftest.
$ac_ext <<_ACEOF
5963 cat confdefs.h
>>conftest.
$ac_ext
5964 cat >>conftest.
$ac_ext <<_ACEOF
5965 /* end confdefs.h. */
5975 rm -f conftest.
$ac_objext
5976 if { (ac_try
="$ac_compile"
5978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5979 *) ac_try_echo=$ac_try;;
5981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5982 (eval "$ac_compile") 2>conftest.er1
5984 grep -v '^ *+' conftest.er1 >conftest.err
5986 cat conftest.err >&5
5987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5988 (exit $ac_status); } &&
5989 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5990 { (case "(($ac_try" in
5991 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5992 *) ac_try_echo
=$ac_try;;
5994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5995 (eval "$ac_try") 2>&5
5997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998 (exit $ac_status); }; } &&
5999 { ac_try
='test -s conftest.$ac_objext'
6000 { (case "(($ac_try" in
6001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6002 *) ac_try_echo=$ac_try;;
6004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6005 (eval "$ac_try") 2>&5
6007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6008 (exit $ac_status); }; }; then
6009 ac_cv_prog_cxx_g=yes
6011 echo "$as_me: failed program was:" >&5
6012 sed 's/^/| /' conftest.$ac_ext >&5
6017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6024 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6026 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6027 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6028 if test "$ac_test_CXXFLAGS" = set; then
6029 CXXFLAGS=$ac_save_CXXFLAGS
6030 elif test $ac_cv_prog_cxx_g = yes; then
6031 if test "$GXX" = yes; then
6037 if test "$GXX" = yes; then
6044 ac_cpp='$CPP $CPPFLAGS'
6045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6049 { echo "$as_me:$LINENO: checking " >&5
6050 echo $ECHO_N "checking ... $ECHO_C" >&6; }
6051 if test "${ac_cv_has_flex+set}" = set; then
6052 echo $ECHO_N "(cached) $ECHO_C" >&6
6054 for ac_prog in flex lex
6056 # Extract the first word of "$ac_prog", so it can be a program name with args.
6057 set dummy $ac_prog; ac_word=$2
6058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6060 if test "${ac_cv_prog_LEX+set}" = set; then
6061 echo $ECHO_N "(cached) $ECHO_C" >&6
6063 if test -n "$LEX"; then
6064 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 test -z "$as_dir" && as_dir=.
6071 for ac_exec_ext in '' $ac_executable_extensions; do
6072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6073 ac_cv_prog_LEX="$ac_prog"
6074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6084 if test -n "$LEX"; then
6085 { echo "$as_me:$LINENO: result: $LEX" >&5
6086 echo "${ECHO_T}$LEX" >&6; }
6088 { echo "$as_me:$LINENO: result: no" >&5
6089 echo "${ECHO_T}no" >&6; }
6093 test -n "$LEX" && break
6095 test -n "$LEX" || LEX=":"
6097 if test -z "$LEXLIB"
6099 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
6100 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
6101 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
6102 echo $ECHO_N "(cached) $ECHO_C" >&6
6104 ac_check_lib_save_LIBS=$LIBS
6106 cat >conftest.$ac_ext <<_ACEOF
6109 cat confdefs.h >>conftest.$ac_ext
6110 cat >>conftest.$ac_ext <<_ACEOF
6111 /* end confdefs.h. */
6113 /* Override any GCC internal prototype to avoid an error.
6114 Use char because int might match the return type of a GCC
6115 builtin and then its argument prototype would still apply. */
6128 rm -f conftest.$ac_objext conftest$ac_exeext
6129 if { (ac_try="$ac_link"
6131 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6132 *) ac_try_echo
=$ac_try;;
6134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6135 (eval "$ac_link") 2>conftest.er1
6137 grep -v '^ *+' conftest.er1
>conftest.err
6139 cat conftest.err
>&5
6140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6141 (exit $ac_status); } &&
6142 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6143 { (case "(($ac_try" in
6144 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6145 *) ac_try_echo=$ac_try;;
6147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6148 (eval "$ac_try") 2>&5
6150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151 (exit $ac_status); }; } &&
6152 { ac_try='test -s conftest$ac_exeext'
6153 { (case "(($ac_try" in
6154 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6155 *) ac_try_echo
=$ac_try;;
6157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6158 (eval "$ac_try") 2>&5
6160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6161 (exit $ac_status); }; }; then
6162 ac_cv_lib_fl_yywrap
=yes
6164 echo "$as_me: failed program was:" >&5
6165 sed 's/^/| /' conftest.
$ac_ext >&5
6167 ac_cv_lib_fl_yywrap
=no
6170 rm -f core conftest.err conftest.
$ac_objext \
6171 conftest
$ac_exeext conftest.
$ac_ext
6172 LIBS
=$ac_check_lib_save_LIBS
6174 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
6175 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
6176 if test $ac_cv_lib_fl_yywrap = yes; then
6179 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
6180 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
6181 if test "${ac_cv_lib_l_yywrap+set}" = set; then
6182 echo $ECHO_N "(cached) $ECHO_C" >&6
6184 ac_check_lib_save_LIBS
=$LIBS
6186 cat >conftest.
$ac_ext <<_ACEOF
6189 cat confdefs.h
>>conftest.
$ac_ext
6190 cat >>conftest.
$ac_ext <<_ACEOF
6191 /* end confdefs.h. */
6193 /* Override any GCC internal prototype to avoid an error.
6194 Use char because int might match the return type of a GCC
6195 builtin and then its argument prototype would still apply. */
6208 rm -f conftest.
$ac_objext conftest
$ac_exeext
6209 if { (ac_try
="$ac_link"
6211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6212 *) ac_try_echo=$ac_try;;
6214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6215 (eval "$ac_link") 2>conftest.er1
6217 grep -v '^ *+' conftest.er1 >conftest.err
6219 cat conftest.err >&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); } &&
6222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6223 { (case "(($ac_try" in
6224 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6225 *) ac_try_echo
=$ac_try;;
6227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6228 (eval "$ac_try") 2>&5
6230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6231 (exit $ac_status); }; } &&
6232 { ac_try
='test -s conftest$ac_exeext'
6233 { (case "(($ac_try" in
6234 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6235 *) ac_try_echo=$ac_try;;
6237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6238 (eval "$ac_try") 2>&5
6240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6241 (exit $ac_status); }; }; then
6242 ac_cv_lib_l_yywrap=yes
6244 echo "$as_me: failed program was:" >&5
6245 sed 's/^/| /' conftest.$ac_ext >&5
6247 ac_cv_lib_l_yywrap=no
6250 rm -f core conftest.err conftest.$ac_objext \
6251 conftest$ac_exeext conftest.$ac_ext
6252 LIBS=$ac_check_lib_save_LIBS
6254 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
6255 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
6256 if test $ac_cv_lib_l_yywrap = yes; then
6264 if test "x$LEX" != "x:"; then
6265 { echo "$as_me:$LINENO: checking lex output file root" >&5
6266 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
6267 if test "${ac_cv_prog_lex_root+set}" = set; then
6268 echo $ECHO_N "(cached) $ECHO_C" >&6
6270 # The minimal lex program is just a single line: %%. But some broken lexes
6271 # (Solaris, I think it was) want two %% lines, so accommodate them.
6272 cat >conftest.l <<_ACEOF
6276 { (ac_try="$LEX conftest.l"
6278 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6279 *) ac_try_echo
=$ac_try;;
6281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6282 (eval "$LEX conftest.l") 2>&5
6284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 (exit $ac_status); }
6286 if test -f lex.yy.c
; then
6287 ac_cv_prog_lex_root
=lex.yy
6288 elif test -f lexyy.c
; then
6289 ac_cv_prog_lex_root
=lexyy
6291 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
6292 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
6293 { (exit 1); exit 1; }; }
6296 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
6297 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
6299 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
6301 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
6302 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
6303 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
6304 echo $ECHO_N "(cached) $ECHO_C" >&6
6306 # POSIX says lex can declare yytext either as a pointer or an array; the
6307 # default is implementation-dependent. Figure out which it is, since
6308 # not all implementations provide the %pointer and %array declarations.
6309 ac_cv_prog_lex_yytext_pointer
=no
6310 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
6312 LIBS
="$LIBS $LEXLIB"
6313 cat >conftest.
$ac_ext <<_ACEOF
6314 `cat $LEX_OUTPUT_ROOT.c`
6316 rm -f conftest.
$ac_objext conftest
$ac_exeext
6317 if { (ac_try
="$ac_link"
6319 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6320 *) ac_try_echo=$ac_try;;
6322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6323 (eval "$ac_link") 2>conftest.er1
6325 grep -v '^ *+' conftest.er1 >conftest.err
6327 cat conftest.err >&5
6328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6329 (exit $ac_status); } &&
6330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6331 { (case "(($ac_try" in
6332 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6333 *) ac_try_echo
=$ac_try;;
6335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6336 (eval "$ac_try") 2>&5
6338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6339 (exit $ac_status); }; } &&
6340 { ac_try
='test -s conftest$ac_exeext'
6341 { (case "(($ac_try" in
6342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6343 *) ac_try_echo=$ac_try;;
6345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6346 (eval "$ac_try") 2>&5
6348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6349 (exit $ac_status); }; }; then
6350 ac_cv_prog_lex_yytext_pointer=yes
6352 echo "$as_me: failed program was:" >&5
6353 sed 's/^/| /' conftest.$ac_ext >&5
6358 rm -f core conftest.err conftest.$ac_objext \
6359 conftest$ac_exeext conftest.$ac_ext
6361 rm -f "${LEX_OUTPUT_ROOT}.c"
6364 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
6365 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
6366 if test $ac_cv_prog_lex_yytext_pointer = yes; then
6368 cat >>confdefs.h <<\_ACEOF
6369 #define YYTEXT_POINTER 1
6377 { echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
6378 echo "${ECHO_T}$ac_cv_has_flex" >&6; }
6379 if test "$LEX" != "flex"; then
6380 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
6381 echo "$as_me: error: flex not found but required" >&2;}
6382 { (exit 1); exit 1; }; }
6388 { echo "$as_me:$LINENO: checking " >&5
6389 echo $ECHO_N "checking ... $ECHO_C" >&6; }
6390 if test "${llvm_cv_has_bison+set}" = set; then
6391 echo $ECHO_N "(cached) $ECHO_C" >&6
6393 for ac_prog in 'bison -y' byacc
6395 # Extract the first word of "$ac_prog", so it can be a program name with args.
6396 set dummy $ac_prog; ac_word=$2
6397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6399 if test "${ac_cv_prog_YACC+set}" = set; then
6400 echo $ECHO_N "(cached) $ECHO_C" >&6
6402 if test -n "$YACC"; then
6403 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6409 test -z "$as_dir" && as_dir=.
6410 for ac_exec_ext in '' $ac_executable_extensions; do
6411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6412 ac_cv_prog_YACC="$ac_prog"
6413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6422 YACC=$ac_cv_prog_YACC
6423 if test -n "$YACC"; then
6424 { echo "$as_me:$LINENO: result: $YACC" >&5
6425 echo "${ECHO_T}$YACC" >&6; }
6427 { echo "$as_me:$LINENO: result: no" >&5
6428 echo "${ECHO_T}no" >&6; }
6432 test -n "$YACC" && break
6434 test -n "$YACC" || YACC="yacc"
6437 { echo "$as_me:$LINENO: result: $llvm_cv_has_bison" >&5
6438 echo "${ECHO_T}$llvm_cv_has_bison" >&6; }
6439 if test "$YACC" != "bison -y"; then
6441 { echo "$as_me:$LINENO: WARNING: bison not found, can't rebuild grammars" >&5
6442 echo "$as_me: WARNING: bison not found, can't rebuild grammars" >&2;}
6448 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6449 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
6450 if test "${lt_cv_path_NM+set}" = set; then
6451 echo $ECHO_N "(cached) $ECHO_C" >&6
6453 if test -n "$NM"; then
6454 # Let the user override the test.
6457 lt_nm_to_check="${ac_tool_prefix}nm"
6458 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6459 lt_nm_to_check="$lt_nm_to_check nm"
6461 for lt_tmp_nm in $lt_nm_to_check; do
6462 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6463 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6465 test -z "$ac_dir" && ac_dir=.
6466 tmp_nm="$ac_dir/$lt_tmp_nm"
6467 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6468 # Check to see if the nm accepts a BSD-compat flag.
6469 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
6470 # nm: unknown option "B" ignored
6471 # Tru64's nm complains that
/dev
/null is an invalid object
file
6472 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6473 */dev
/null
* |
*'Invalid file or object type'*)
6474 lt_cv_path_NM
="$tmp_nm -B"
6478 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6480 lt_cv_path_NM
="$tmp_nm -p"
6484 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6485 continue # so that we can try to find one that supports BSD flags
6494 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
6497 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6498 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6503 { echo "$as_me:$LINENO: checking for GNU make" >&5
6504 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; }
6505 if test "${llvm_cv_gnu_make_command+set}" = set; then
6506 echo $ECHO_N "(cached) $ECHO_C" >&6
6508 llvm_cv_gnu_make_command
=''
6509 for a
in "$MAKE" make gmake gnumake
; do
6510 if test -z "$a" ; then continue ; fi ;
6511 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
)
6513 llvm_cv_gnu_make_command
=$a ;
6518 { echo "$as_me:$LINENO: result: $llvm_cv_gnu_make_command" >&5
6519 echo "${ECHO_T}$llvm_cv_gnu_make_command" >&6; }
6520 if test "x$llvm_cv_gnu_make_command" != "x" ; then
6524 { echo "$as_me:$LINENO: result: \"Not found\"" >&5
6525 echo "${ECHO_T}\"Not found\"" >&6; };
6529 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6530 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6532 if test "$LN_S" = "ln -s"; then
6533 { echo "$as_me:$LINENO: result: yes" >&5
6534 echo "${ECHO_T}yes" >&6; }
6536 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6537 echo "${ECHO_T}no, using $LN_S" >&6; }
6540 # Extract the first word of "cmp", so it can be a program name with args.
6541 set dummy
cmp; ac_word
=$2
6542 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6544 if test "${ac_cv_path_CMP+set}" = set; then
6545 echo $ECHO_N "(cached) $ECHO_C" >&6
6549 ac_cv_path_CMP
="$CMP" # Let the user override the test with a path.
6552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6556 test -z "$as_dir" && as_dir
=.
6557 for ac_exec_ext
in '' $ac_executable_extensions; do
6558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6559 ac_cv_path_CMP
="$as_dir/$ac_word$ac_exec_ext"
6560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6567 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP
="cmp"
6572 if test -n "$CMP"; then
6573 { echo "$as_me:$LINENO: result: $CMP" >&5
6574 echo "${ECHO_T}$CMP" >&6; }
6576 { echo "$as_me:$LINENO: result: no" >&5
6577 echo "${ECHO_T}no" >&6; }
6581 # Extract the first word of "cp", so it can be a program name with args.
6582 set dummy
cp; ac_word
=$2
6583 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6585 if test "${ac_cv_path_CP+set}" = set; then
6586 echo $ECHO_N "(cached) $ECHO_C" >&6
6590 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
6593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6597 test -z "$as_dir" && as_dir
=.
6598 for ac_exec_ext
in '' $ac_executable_extensions; do
6599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6600 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
6601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6608 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
6613 if test -n "$CP"; then
6614 { echo "$as_me:$LINENO: result: $CP" >&5
6615 echo "${ECHO_T}$CP" >&6; }
6617 { echo "$as_me:$LINENO: result: no" >&5
6618 echo "${ECHO_T}no" >&6; }
6622 # Extract the first word of "date", so it can be a program name with args.
6623 set dummy
date; ac_word
=$2
6624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6626 if test "${ac_cv_path_DATE+set}" = set; then
6627 echo $ECHO_N "(cached) $ECHO_C" >&6
6631 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
6634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6638 test -z "$as_dir" && as_dir
=.
6639 for ac_exec_ext
in '' $ac_executable_extensions; do
6640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6641 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
6642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6649 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE
="date"
6653 DATE
=$ac_cv_path_DATE
6654 if test -n "$DATE"; then
6655 { echo "$as_me:$LINENO: result: $DATE" >&5
6656 echo "${ECHO_T}$DATE" >&6; }
6658 { echo "$as_me:$LINENO: result: no" >&5
6659 echo "${ECHO_T}no" >&6; }
6663 # Extract the first word of "find", so it can be a program name with args.
6664 set dummy
find; ac_word
=$2
6665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6667 if test "${ac_cv_path_FIND+set}" = set; then
6668 echo $ECHO_N "(cached) $ECHO_C" >&6
6672 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
6675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6679 test -z "$as_dir" && as_dir
=.
6680 for ac_exec_ext
in '' $ac_executable_extensions; do
6681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6682 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
6683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6690 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
="find"
6694 FIND
=$ac_cv_path_FIND
6695 if test -n "$FIND"; then
6696 { echo "$as_me:$LINENO: result: $FIND" >&5
6697 echo "${ECHO_T}$FIND" >&6; }
6699 { echo "$as_me:$LINENO: result: no" >&5
6700 echo "${ECHO_T}no" >&6; }
6704 # Extract the first word of "grep", so it can be a program name with args.
6705 set dummy
grep; ac_word
=$2
6706 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6708 if test "${ac_cv_path_GREP+set}" = set; then
6709 echo $ECHO_N "(cached) $ECHO_C" >&6
6713 ac_cv_path_GREP
="$GREP" # Let the user override the test with a path.
6716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6720 test -z "$as_dir" && as_dir
=.
6721 for ac_exec_ext
in '' $ac_executable_extensions; do
6722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6723 ac_cv_path_GREP
="$as_dir/$ac_word$ac_exec_ext"
6724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6731 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP
="grep"
6735 GREP
=$ac_cv_path_GREP
6736 if test -n "$GREP"; then
6737 { echo "$as_me:$LINENO: result: $GREP" >&5
6738 echo "${ECHO_T}$GREP" >&6; }
6740 { echo "$as_me:$LINENO: result: no" >&5
6741 echo "${ECHO_T}no" >&6; }
6745 # Extract the first word of "mkdir", so it can be a program name with args.
6746 set dummy mkdir
; ac_word
=$2
6747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6749 if test "${ac_cv_path_MKDIR+set}" = set; then
6750 echo $ECHO_N "(cached) $ECHO_C" >&6
6754 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
6757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6761 test -z "$as_dir" && as_dir
=.
6762 for ac_exec_ext
in '' $ac_executable_extensions; do
6763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6764 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
6765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6772 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR
="mkdir"
6776 MKDIR
=$ac_cv_path_MKDIR
6777 if test -n "$MKDIR"; then
6778 { echo "$as_me:$LINENO: result: $MKDIR" >&5
6779 echo "${ECHO_T}$MKDIR" >&6; }
6781 { echo "$as_me:$LINENO: result: no" >&5
6782 echo "${ECHO_T}no" >&6; }
6786 # Extract the first word of "mv", so it can be a program name with args.
6787 set dummy
mv; ac_word
=$2
6788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6790 if test "${ac_cv_path_MV+set}" = set; then
6791 echo $ECHO_N "(cached) $ECHO_C" >&6
6795 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
6798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6802 test -z "$as_dir" && as_dir
=.
6803 for ac_exec_ext
in '' $ac_executable_extensions; do
6804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6805 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
6806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6813 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
6818 if test -n "$MV"; then
6819 { echo "$as_me:$LINENO: result: $MV" >&5
6820 echo "${ECHO_T}$MV" >&6; }
6822 { echo "$as_me:$LINENO: result: no" >&5
6823 echo "${ECHO_T}no" >&6; }
6827 if test -n "$ac_tool_prefix"; then
6828 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6829 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6830 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6832 if test "${ac_cv_prog_RANLIB+set}" = set; then
6833 echo $ECHO_N "(cached) $ECHO_C" >&6
6835 if test -n "$RANLIB"; then
6836 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6842 test -z "$as_dir" && as_dir
=.
6843 for ac_exec_ext
in '' $ac_executable_extensions; do
6844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6845 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6855 RANLIB
=$ac_cv_prog_RANLIB
6856 if test -n "$RANLIB"; then
6857 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6858 echo "${ECHO_T}$RANLIB" >&6; }
6860 { echo "$as_me:$LINENO: result: no" >&5
6861 echo "${ECHO_T}no" >&6; }
6866 if test -z "$ac_cv_prog_RANLIB"; then
6867 ac_ct_RANLIB
=$RANLIB
6868 # Extract the first word of "ranlib", so it can be a program name with args.
6869 set dummy ranlib
; ac_word
=$2
6870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6872 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6873 echo $ECHO_N "(cached) $ECHO_C" >&6
6875 if test -n "$ac_ct_RANLIB"; then
6876 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6882 test -z "$as_dir" && as_dir
=.
6883 for ac_exec_ext
in '' $ac_executable_extensions; do
6884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6885 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6895 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6896 if test -n "$ac_ct_RANLIB"; then
6897 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6898 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6900 { echo "$as_me:$LINENO: result: no" >&5
6901 echo "${ECHO_T}no" >&6; }
6904 if test "x$ac_ct_RANLIB" = x
; then
6907 case $cross_compiling:$ac_tool_warned in
6909 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6910 whose name does not start with the host triplet. If you think this
6911 configuration is useful to you, please write to autoconf@gnu.org." >&5
6912 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6913 whose name does not start with the host triplet. If you think this
6914 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6915 ac_tool_warned
=yes ;;
6917 RANLIB
=$ac_ct_RANLIB
6920 RANLIB
="$ac_cv_prog_RANLIB"
6923 # Extract the first word of "rm", so it can be a program name with args.
6924 set dummy
rm; ac_word
=$2
6925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6927 if test "${ac_cv_path_RM+set}" = set; then
6928 echo $ECHO_N "(cached) $ECHO_C" >&6
6932 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
6935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6939 test -z "$as_dir" && as_dir
=.
6940 for ac_exec_ext
in '' $ac_executable_extensions; do
6941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6942 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
6943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6950 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
6955 if test -n "$RM"; then
6956 { echo "$as_me:$LINENO: result: $RM" >&5
6957 echo "${ECHO_T}$RM" >&6; }
6959 { echo "$as_me:$LINENO: result: no" >&5
6960 echo "${ECHO_T}no" >&6; }
6964 # Extract the first word of "sed", so it can be a program name with args.
6965 set dummy
sed; ac_word
=$2
6966 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6968 if test "${ac_cv_path_SED+set}" = set; then
6969 echo $ECHO_N "(cached) $ECHO_C" >&6
6973 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
6976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6980 test -z "$as_dir" && as_dir
=.
6981 for ac_exec_ext
in '' $ac_executable_extensions; do
6982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6983 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
6984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6991 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
6996 if test -n "$SED"; then
6997 { echo "$as_me:$LINENO: result: $SED" >&5
6998 echo "${ECHO_T}$SED" >&6; }
7000 { echo "$as_me:$LINENO: result: no" >&5
7001 echo "${ECHO_T}no" >&6; }
7005 # Extract the first word of "tar", so it can be a program name with args.
7006 set dummy
tar; ac_word
=$2
7007 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7009 if test "${ac_cv_path_TAR+set}" = set; then
7010 echo $ECHO_N "(cached) $ECHO_C" >&6
7014 ac_cv_path_TAR
="$TAR" # Let the user override the test with a path.
7017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7021 test -z "$as_dir" && as_dir
=.
7022 for ac_exec_ext
in '' $ac_executable_extensions; do
7023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7024 ac_cv_path_TAR
="$as_dir/$ac_word$ac_exec_ext"
7025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7032 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR
="gtar"
7037 if test -n "$TAR"; then
7038 { echo "$as_me:$LINENO: result: $TAR" >&5
7039 echo "${ECHO_T}$TAR" >&6; }
7041 { echo "$as_me:$LINENO: result: no" >&5
7042 echo "${ECHO_T}no" >&6; }
7046 # Extract the first word of "pwd", so it can be a program name with args.
7047 set dummy
pwd; ac_word
=$2
7048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7050 if test "${ac_cv_path_BINPWD+set}" = set; then
7051 echo $ECHO_N "(cached) $ECHO_C" >&6
7055 ac_cv_path_BINPWD
="$BINPWD" # Let the user override the test with a path.
7058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7062 test -z "$as_dir" && as_dir
=.
7063 for ac_exec_ext
in '' $ac_executable_extensions; do
7064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7065 ac_cv_path_BINPWD
="$as_dir/$ac_word$ac_exec_ext"
7066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7073 test -z "$ac_cv_path_BINPWD" && ac_cv_path_BINPWD
="pwd"
7077 BINPWD
=$ac_cv_path_BINPWD
7078 if test -n "$BINPWD"; then
7079 { echo "$as_me:$LINENO: result: $BINPWD" >&5
7080 echo "${ECHO_T}$BINPWD" >&6; }
7082 { echo "$as_me:$LINENO: result: no" >&5
7083 echo "${ECHO_T}no" >&6; }
7088 # Extract the first word of "Graphviz", so it can be a program name with args.
7089 set dummy Graphviz
; ac_word
=$2
7090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7092 if test "${ac_cv_path_GRAPHVIZ+set}" = set; then
7093 echo $ECHO_N "(cached) $ECHO_C" >&6
7097 ac_cv_path_GRAPHVIZ
="$GRAPHVIZ" # Let the user override the test with a path.
7100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7104 test -z "$as_dir" && as_dir
=.
7105 for ac_exec_ext
in '' $ac_executable_extensions; do
7106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7107 ac_cv_path_GRAPHVIZ
="$as_dir/$ac_word$ac_exec_ext"
7108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7115 test -z "$ac_cv_path_GRAPHVIZ" && ac_cv_path_GRAPHVIZ
="echo Graphviz"
7119 GRAPHVIZ
=$ac_cv_path_GRAPHVIZ
7120 if test -n "$GRAPHVIZ"; then
7121 { echo "$as_me:$LINENO: result: $GRAPHVIZ" >&5
7122 echo "${ECHO_T}$GRAPHVIZ" >&6; }
7124 { echo "$as_me:$LINENO: result: no" >&5
7125 echo "${ECHO_T}no" >&6; }
7129 if test "$GRAPHVIZ" != "echo Graphviz" ; then
7131 cat >>confdefs.h
<<\_ACEOF
7132 #define HAVE_GRAPHVIZ 1
7135 if test "$llvm_cv_os_type" = "MingW" ; then
7136 GRAPHVIZ
=`echo $GRAPHVIZ | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7139 cat >>confdefs.h
<<_ACEOF
7140 #define LLVM_PATH_GRAPHVIZ "$GRAPHVIZ${EXEEXT}"
7144 # Extract the first word of "dot", so it can be a program name with args.
7145 set dummy dot
; ac_word
=$2
7146 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7148 if test "${ac_cv_path_DOT+set}" = set; then
7149 echo $ECHO_N "(cached) $ECHO_C" >&6
7153 ac_cv_path_DOT
="$DOT" # Let the user override the test with a path.
7156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7160 test -z "$as_dir" && as_dir
=.
7161 for ac_exec_ext
in '' $ac_executable_extensions; do
7162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7163 ac_cv_path_DOT
="$as_dir/$ac_word$ac_exec_ext"
7164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7171 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT
="echo dot"
7176 if test -n "$DOT"; then
7177 { echo "$as_me:$LINENO: result: $DOT" >&5
7178 echo "${ECHO_T}$DOT" >&6; }
7180 { echo "$as_me:$LINENO: result: no" >&5
7181 echo "${ECHO_T}no" >&6; }
7185 if test "$DOT" != "echo dot" ; then
7187 cat >>confdefs.h
<<\_ACEOF
7191 if test "$llvm_cv_os_type" = "MingW" ; then
7192 DOT
=`echo $DOT | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7195 cat >>confdefs.h
<<_ACEOF
7196 #define LLVM_PATH_DOT "$DOT${EXEEXT}"
7200 for ac_prog
in gv gsview32
7202 # Extract the first word of "$ac_prog", so it can be a program name with args.
7203 set dummy
$ac_prog; ac_word
=$2
7204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7206 if test "${ac_cv_path_GV+set}" = set; then
7207 echo $ECHO_N "(cached) $ECHO_C" >&6
7211 ac_cv_path_GV
="$GV" # Let the user override the test with a path.
7214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7218 test -z "$as_dir" && as_dir
=.
7219 for ac_exec_ext
in '' $ac_executable_extensions; do
7220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7221 ac_cv_path_GV
="$as_dir/$ac_word$ac_exec_ext"
7222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7233 if test -n "$GV"; then
7234 { echo "$as_me:$LINENO: result: $GV" >&5
7235 echo "${ECHO_T}$GV" >&6; }
7237 { echo "$as_me:$LINENO: result: no" >&5
7238 echo "${ECHO_T}no" >&6; }
7242 test -n "$GV" && break
7244 test -n "$GV" || GV
="echo gv"
7246 if test "$GV" != "echo gv" ; then
7248 cat >>confdefs.h
<<\_ACEOF
7252 if test "$llvm_cv_os_type" = "MingW" ; then
7253 GV
=`echo $GV | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7256 cat >>confdefs.h
<<_ACEOF
7257 #define LLVM_PATH_GV "$GV${EXEEXT}"
7261 # Extract the first word of "dotty", so it can be a program name with args.
7262 set dummy dotty
; ac_word
=$2
7263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7265 if test "${ac_cv_path_DOTTY+set}" = set; then
7266 echo $ECHO_N "(cached) $ECHO_C" >&6
7270 ac_cv_path_DOTTY
="$DOTTY" # Let the user override the test with a path.
7273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7277 test -z "$as_dir" && as_dir
=.
7278 for ac_exec_ext
in '' $ac_executable_extensions; do
7279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7280 ac_cv_path_DOTTY
="$as_dir/$ac_word$ac_exec_ext"
7281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7288 test -z "$ac_cv_path_DOTTY" && ac_cv_path_DOTTY
="echo dotty"
7292 DOTTY
=$ac_cv_path_DOTTY
7293 if test -n "$DOTTY"; then
7294 { echo "$as_me:$LINENO: result: $DOTTY" >&5
7295 echo "${ECHO_T}$DOTTY" >&6; }
7297 { echo "$as_me:$LINENO: result: no" >&5
7298 echo "${ECHO_T}no" >&6; }
7302 if test "$DOTTY" != "echo dotty" ; then
7304 cat >>confdefs.h
<<\_ACEOF
7305 #define HAVE_DOTTY 1
7308 if test "$llvm_cv_os_type" = "MingW" ; then
7309 DOTTY
=`echo $DOTTY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7312 cat >>confdefs.h
<<_ACEOF
7313 #define LLVM_PATH_DOTTY "$DOTTY${EXEEXT}"
7319 # Extract the first word of "perl", so it can be a program name with args.
7320 set dummy perl
; ac_word
=$2
7321 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7323 if test "${ac_cv_path_PERL+set}" = set; then
7324 echo $ECHO_N "(cached) $ECHO_C" >&6
7328 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
7331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7335 test -z "$as_dir" && as_dir
=.
7336 for ac_exec_ext
in '' $ac_executable_extensions; do
7337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7338 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
7339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7346 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="none"
7350 PERL
=$ac_cv_path_PERL
7351 if test -n "$PERL"; then
7352 { echo "$as_me:$LINENO: result: $PERL" >&5
7353 echo "${ECHO_T}$PERL" >&6; }
7355 { echo "$as_me:$LINENO: result: no" >&5
7356 echo "${ECHO_T}no" >&6; }
7360 if test "$PERL" != "none"; then
7361 { echo "$as_me:$LINENO: checking for Perl 5.006 or newer" >&5
7362 echo $ECHO_N "checking for Perl 5.006 or newer... $ECHO_C" >&6; }
7363 if $PERL -e 'use 5.006;' 2>&1 > /dev
/null
; then
7364 { echo "$as_me:$LINENO: result: yes" >&5
7365 echo "${ECHO_T}yes" >&6; }
7368 { echo "$as_me:$LINENO: result: not found" >&5
7369 echo "${ECHO_T}not found" >&6; }
7374 if test x
"$PERL" = xnone
; then
7377 { { echo "$as_me:$LINENO: error: perl is required but was not found, please install it" >&5
7378 echo "$as_me: error: perl is required but was not found, please install it" >&2;}
7379 { (exit 1); exit 1; }; }
7385 # Find a good install program. We prefer a C program (faster),
7386 # so one script is as good as another. But avoid the broken or
7387 # incompatible versions:
7388 # SysV /etc/install, /usr/sbin/install
7389 # SunOS /usr/etc/install
7390 # IRIX /sbin/install
7392 # AmigaOS /C/install, which installs bootblocks on floppy discs
7393 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7394 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7395 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7396 # OS/2's system install, which has a completely different semantic
7397 # ./install, which can be erroneously created by make from ./install.sh.
7398 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7399 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
7400 if test -z "$INSTALL"; then
7401 if test "${ac_cv_path_install+set}" = set; then
7402 echo $ECHO_N "(cached) $ECHO_C" >&6
7404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7408 test -z "$as_dir" && as_dir
=.
7409 # Account for people who put trailing slashes in PATH elements.
7411 .
/ | .
// |
/cC
/* | \
7412 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
7413 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
7416 # OSF1 and SCO ODT 3.0 have their own names for install.
7417 # Don't use installbsd from OSF since it installs stuff as root
7419 for ac_prog
in ginstall scoinst
install; do
7420 for ac_exec_ext
in '' $ac_executable_extensions; do
7421 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
7422 if test $ac_prog = install &&
7423 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7424 # AIX install. It has an incompatible calling convention.
7426 elif test $ac_prog = install &&
7427 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7428 # program-specific install script used by HP pwplus--don't use.
7431 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
7444 if test "${ac_cv_path_install+set}" = set; then
7445 INSTALL
=$ac_cv_path_install
7447 # As a last resort, use the slow shell script. Don't cache a
7448 # value for INSTALL within a source directory, because that will
7449 # break other packages using the cache if that directory is
7450 # removed, or if the value is a relative name.
7451 INSTALL
=$ac_install_sh
7454 { echo "$as_me:$LINENO: result: $INSTALL" >&5
7455 echo "${ECHO_T}$INSTALL" >&6; }
7457 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7458 # It thinks the first close brace ends the variable substitution.
7459 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7461 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
7463 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7466 # Extract the first word of "bzip2", so it can be a program name with args.
7467 set dummy
bzip2; ac_word
=$2
7468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7470 if test "${ac_cv_path_BZIP2+set}" = set; then
7471 echo $ECHO_N "(cached) $ECHO_C" >&6
7475 ac_cv_path_BZIP2
="$BZIP2" # Let the user override the test with a path.
7478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7482 test -z "$as_dir" && as_dir
=.
7483 for ac_exec_ext
in '' $ac_executable_extensions; do
7484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7485 ac_cv_path_BZIP2
="$as_dir/$ac_word$ac_exec_ext"
7486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7493 test -z "$ac_cv_path_BZIP2" && ac_cv_path_BZIP2
="echo "Skipped
: bzip2 not found
""
7497 BZIP2
=$ac_cv_path_BZIP2
7498 if test -n "$BZIP2"; then
7499 { echo "$as_me:$LINENO: result: $BZIP2" >&5
7500 echo "${ECHO_T}$BZIP2" >&6; }
7502 { echo "$as_me:$LINENO: result: no" >&5
7503 echo "${ECHO_T}no" >&6; }
7507 # Extract the first word of "doxygen", so it can be a program name with args.
7508 set dummy doxygen
; ac_word
=$2
7509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7511 if test "${ac_cv_path_DOXYGEN+set}" = set; then
7512 echo $ECHO_N "(cached) $ECHO_C" >&6
7516 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
7519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7523 test -z "$as_dir" && as_dir
=.
7524 for ac_exec_ext
in '' $ac_executable_extensions; do
7525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7526 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
7527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7534 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN
="echo "Skipped
: doxygen not found
""
7538 DOXYGEN
=$ac_cv_path_DOXYGEN
7539 if test -n "$DOXYGEN"; then
7540 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
7541 echo "${ECHO_T}$DOXYGEN" >&6; }
7543 { echo "$as_me:$LINENO: result: no" >&5
7544 echo "${ECHO_T}no" >&6; }
7548 # Extract the first word of "groff", so it can be a program name with args.
7549 set dummy
groff; ac_word
=$2
7550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7552 if test "${ac_cv_path_GROFF+set}" = set; then
7553 echo $ECHO_N "(cached) $ECHO_C" >&6
7557 ac_cv_path_GROFF
="$GROFF" # Let the user override the test with a path.
7560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7564 test -z "$as_dir" && as_dir
=.
7565 for ac_exec_ext
in '' $ac_executable_extensions; do
7566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7567 ac_cv_path_GROFF
="$as_dir/$ac_word$ac_exec_ext"
7568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7575 test -z "$ac_cv_path_GROFF" && ac_cv_path_GROFF
="echo "Skipped
: groff not found
""
7579 GROFF
=$ac_cv_path_GROFF
7580 if test -n "$GROFF"; then
7581 { echo "$as_me:$LINENO: result: $GROFF" >&5
7582 echo "${ECHO_T}$GROFF" >&6; }
7584 { echo "$as_me:$LINENO: result: no" >&5
7585 echo "${ECHO_T}no" >&6; }
7589 # Extract the first word of "gzip", so it can be a program name with args.
7590 set dummy
gzip; ac_word
=$2
7591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7593 if test "${ac_cv_path_GZIP+set}" = set; then
7594 echo $ECHO_N "(cached) $ECHO_C" >&6
7598 ac_cv_path_GZIP
="$GZIP" # Let the user override the test with a path.
7601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7605 test -z "$as_dir" && as_dir
=.
7606 for ac_exec_ext
in '' $ac_executable_extensions; do
7607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7608 ac_cv_path_GZIP
="$as_dir/$ac_word$ac_exec_ext"
7609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7616 test -z "$ac_cv_path_GZIP" && ac_cv_path_GZIP
="echo "Skipped
: gzip not found
""
7620 GZIP
=$ac_cv_path_GZIP
7621 if test -n "$GZIP"; then
7622 { echo "$as_me:$LINENO: result: $GZIP" >&5
7623 echo "${ECHO_T}$GZIP" >&6; }
7625 { echo "$as_me:$LINENO: result: no" >&5
7626 echo "${ECHO_T}no" >&6; }
7630 # Extract the first word of "pod2html", so it can be a program name with args.
7631 set dummy pod2html
; ac_word
=$2
7632 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7634 if test "${ac_cv_path_POD2HTML+set}" = set; then
7635 echo $ECHO_N "(cached) $ECHO_C" >&6
7639 ac_cv_path_POD2HTML
="$POD2HTML" # Let the user override the test with a path.
7642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7646 test -z "$as_dir" && as_dir
=.
7647 for ac_exec_ext
in '' $ac_executable_extensions; do
7648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7649 ac_cv_path_POD2HTML
="$as_dir/$ac_word$ac_exec_ext"
7650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7657 test -z "$ac_cv_path_POD2HTML" && ac_cv_path_POD2HTML
="echo "Skipped
: pod2html not found
""
7661 POD2HTML
=$ac_cv_path_POD2HTML
7662 if test -n "$POD2HTML"; then
7663 { echo "$as_me:$LINENO: result: $POD2HTML" >&5
7664 echo "${ECHO_T}$POD2HTML" >&6; }
7666 { echo "$as_me:$LINENO: result: no" >&5
7667 echo "${ECHO_T}no" >&6; }
7671 # Extract the first word of "pod2man", so it can be a program name with args.
7672 set dummy pod2man
; ac_word
=$2
7673 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7675 if test "${ac_cv_path_POD2MAN+set}" = set; then
7676 echo $ECHO_N "(cached) $ECHO_C" >&6
7680 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
7683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7687 test -z "$as_dir" && as_dir
=.
7688 for ac_exec_ext
in '' $ac_executable_extensions; do
7689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7690 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
7691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7698 test -z "$ac_cv_path_POD2MAN" && ac_cv_path_POD2MAN
="echo "Skipped
: pod2man not found
""
7702 POD2MAN
=$ac_cv_path_POD2MAN
7703 if test -n "$POD2MAN"; then
7704 { echo "$as_me:$LINENO: result: $POD2MAN" >&5
7705 echo "${ECHO_T}$POD2MAN" >&6; }
7707 { echo "$as_me:$LINENO: result: no" >&5
7708 echo "${ECHO_T}no" >&6; }
7712 # Extract the first word of "runtest", so it can be a program name with args.
7713 set dummy runtest
; ac_word
=$2
7714 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7716 if test "${ac_cv_path_RUNTEST+set}" = set; then
7717 echo $ECHO_N "(cached) $ECHO_C" >&6
7721 ac_cv_path_RUNTEST
="$RUNTEST" # Let the user override the test with a path.
7724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7728 test -z "$as_dir" && as_dir
=.
7729 for ac_exec_ext
in '' $ac_executable_extensions; do
7730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7731 ac_cv_path_RUNTEST
="$as_dir/$ac_word$ac_exec_ext"
7732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7739 test -z "$ac_cv_path_RUNTEST" && ac_cv_path_RUNTEST
="echo "Skipped
: runtest not found
""
7743 RUNTEST
=$ac_cv_path_RUNTEST
7744 if test -n "$RUNTEST"; then
7745 { echo "$as_me:$LINENO: result: $RUNTEST" >&5
7746 echo "${ECHO_T}$RUNTEST" >&6; }
7748 { echo "$as_me:$LINENO: result: no" >&5
7749 echo "${ECHO_T}no" >&6; }
7755 { echo "$as_me:$LINENO: checking for the tclsh program in tclinclude directory" >&5
7756 echo $ECHO_N "checking for the tclsh program in tclinclude directory... $ECHO_C" >&6; }
7758 # Check whether --with-tclinclude was given.
7759 if test "${with_tclinclude+set}" = set; then
7760 withval
=$with_tclinclude; with_tclinclude
=${withval}
7765 if test "${ac_cv_path_tclsh+set}" = set; then
7766 echo $ECHO_N "(cached) $ECHO_C" >&6
7769 if test x
"${with_tclinclude}" != x
; then
7770 if test -f ${with_tclinclude}/tclsh
; then
7771 ac_cv_path_tclsh
=`(cd ${with_tclinclude}; pwd)`
7772 elif test -f ${with_tclinclude}/src
/tclsh
; then
7773 ac_cv_path_tclsh
=`(cd ${with_tclinclude}/src; pwd)`
7775 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain tclsh" >&5
7776 echo "$as_me: error: ${with_tclinclude} directory doesn't contain tclsh" >&2;}
7777 { (exit 1); exit 1; }; }
7781 if test x
"${ac_cv_path_tclsh}" = x
; then
7782 { echo "$as_me:$LINENO: result: none" >&5
7783 echo "${ECHO_T}none" >&6; }
7784 for ac_prog
in tclsh8.4 tclsh8.4
.8 tclsh8.4
.7 tclsh8.4
.6 tclsh8.4
.5 tclsh8.4
.4 tclsh8.4
.3 tclsh8.4
.2 tclsh8.4
.1 tclsh8.4
.0 tclsh8.3 tclsh8.3
.5 tclsh8.3
.4 tclsh8.3
.3 tclsh8.3
.2 tclsh8.3
.1 tclsh8.3
.0 tclsh
7786 # Extract the first word of "$ac_prog", so it can be a program name with args.
7787 set dummy
$ac_prog; ac_word
=$2
7788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7790 if test "${ac_cv_path_TCLSH+set}" = set; then
7791 echo $ECHO_N "(cached) $ECHO_C" >&6
7795 ac_cv_path_TCLSH
="$TCLSH" # Let the user override the test with a path.
7798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7802 test -z "$as_dir" && as_dir
=.
7803 for ac_exec_ext
in '' $ac_executable_extensions; do
7804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7805 ac_cv_path_TCLSH
="$as_dir/$ac_word$ac_exec_ext"
7806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7816 TCLSH
=$ac_cv_path_TCLSH
7817 if test -n "$TCLSH"; then
7818 { echo "$as_me:$LINENO: result: $TCLSH" >&5
7819 echo "${ECHO_T}$TCLSH" >&6; }
7821 { echo "$as_me:$LINENO: result: no" >&5
7822 echo "${ECHO_T}no" >&6; }
7826 test -n "$TCLSH" && break
7829 if test x
"${TCLSH}" = x
; then
7830 ac_cv_path_tclsh
='';
7832 ac_cv_path_tclsh
="${TCLSH}";
7835 { echo "$as_me:$LINENO: result: ${ac_cv_path_tclsh}" >&5
7836 echo "${ECHO_T}${ac_cv_path_tclsh}" >&6; }
7837 TCLSH="${ac_cv_path_tclsh}"
7843 # Extract the first word of "zip", so it can be a program name with args.
7844 set dummy zip; ac_word=$2
7845 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7846 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7847 if test "${ac_cv_path_ZIP+set}" = set; then
7848 echo $ECHO_N "(cached
) $ECHO_C" >&6
7852 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
7855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7859 test -z "$as_dir" && as_dir=.
7860 for ac_exec_ext in '' $ac_executable_extensions; do
7861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7862 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
7863 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7870 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP="echo "Skipped: zip not found""
7875 if test -n "$ZIP"; then
7876 { echo "$as_me:$LINENO: result
: $ZIP" >&5
7877 echo "${ECHO_T}$ZIP" >&6; }
7879 { echo "$as_me:$LINENO: result
: no
" >&5
7880 echo "${ECHO_T}no
" >&6; }
7885 { echo "$as_me:$LINENO: checking
for compiler
-Wl,-R<path
> option
" >&5
7886 echo $ECHO_N "checking
for compiler
-Wl,-R<path
> option...
$ECHO_C" >&6; }
7887 if test "${llvm_cv_link_use_r+set}" = set; then
7888 echo $ECHO_N "(cached
) $ECHO_C" >&6
7891 ac_cpp='$CPP $CPPFLAGS'
7892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7897 CFLAGS="$CFLAGS -Wl,-R.
"
7898 cat >conftest.$ac_ext <<_ACEOF
7901 cat confdefs.h >>conftest.$ac_ext
7902 cat >>conftest.$ac_ext <<_ACEOF
7903 /* end confdefs.h. */
7908 int main() { return 0; }
7913 rm -f conftest.$ac_objext conftest$ac_exeext
7914 if { (ac_try="$ac_link"
7916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7917 *) ac_try_echo=$ac_try;;
7919 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7920 (eval "$ac_link") 2>conftest.er1
7922 grep -v '^ *+' conftest.er1 >conftest.err
7924 cat conftest.err >&5
7925 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7926 (exit $ac_status); } &&
7927 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7928 { (case "(($ac_try" in
7929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7930 *) ac_try_echo=$ac_try;;
7932 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7933 (eval "$ac_try") 2>&5
7935 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7936 (exit $ac_status); }; } &&
7937 { ac_try='test -s conftest$ac_exeext'
7938 { (case "(($ac_try" in
7939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7940 *) ac_try_echo=$ac_try;;
7942 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7943 (eval "$ac_try") 2>&5
7945 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7946 (exit $ac_status); }; }; then
7947 llvm_cv_link_use_r=yes
7949 echo "$as_me: failed program was
:" >&5
7950 sed 's/^/| /' conftest.$ac_ext >&5
7952 llvm_cv_link_use_r=no
7955 rm -f core conftest.err conftest.$ac_objext \
7956 conftest$ac_exeext conftest.$ac_ext
7959 ac_cpp='$CPP $CPPFLAGS'
7960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7966 { echo "$as_me:$LINENO: result
: $llvm_cv_link_use_r" >&5
7967 echo "${ECHO_T}$llvm_cv_link_use_r" >&6; }
7968 if test "$llvm_cv_link_use_r" = yes ; then
7970 cat >>confdefs.h <<\_ACEOF
7971 #define HAVE_LINK_R 1
7979 { echo "$as_me:$LINENO: checking
for an ANSI C-conforming const
" >&5
7980 echo $ECHO_N "checking
for an ANSI C-conforming const...
$ECHO_C" >&6; }
7981 if test "${ac_cv_c_const+set}" = set; then
7982 echo $ECHO_N "(cached
) $ECHO_C" >&6
7984 cat >conftest.$ac_ext <<_ACEOF
7987 cat confdefs.h >>conftest.$ac_ext
7988 cat >>conftest.$ac_ext <<_ACEOF
7989 /* end confdefs.h. */
7994 /* FIXME: Include the comments suggested by Paul. */
7996 /* Ultrix mips cc rejects this. */
7997 typedef int charset[2];
7999 /* SunOS 4.1.1 cc rejects this. */
8000 char const *const *ccp;
8002 /* NEC SVR4.0.2 mips cc rejects this. */
8003 struct point {int x, y;};
8004 static struct point const zero = {0,0};
8005 /* AIX XL C 1.02.0.0 rejects this.
8006 It does not let you subtract one const X* pointer from another in
8007 an arm of an if-expression whose if-part is not a constant
8009 const char *g = "string
";
8010 ccp = &g + (g ? g-g : 0);
8011 /* HPUX 7.0 cc rejects these. */
8014 ccp = (char const *const *) p;
8015 { /* SCO 3.2v4 cc rejects this. */
8017 char const *s = 0 ? (char *) 0 : (char const *) 0;
8022 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8024 const int *foo = &x[0];
8027 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8028 typedef const int *iptr;
8032 { /* AIX XL C 1.02.0.0 rejects this saying
8033 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8034 struct s { int j; const int *ap[3]; };
8035 struct s *b; b->j = 5;
8037 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8041 return !x[0] && !zero.x;
8048 rm -f conftest.$ac_objext
8049 if { (ac_try="$ac_compile"
8051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8052 *) ac_try_echo=$ac_try;;
8054 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8055 (eval "$ac_compile") 2>conftest.er1
8057 grep -v '^ *+' conftest.er1 >conftest.err
8059 cat conftest.err >&5
8060 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8061 (exit $ac_status); } &&
8062 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8063 { (case "(($ac_try" in
8064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8065 *) ac_try_echo=$ac_try;;
8067 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8068 (eval "$ac_try") 2>&5
8070 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8071 (exit $ac_status); }; } &&
8072 { ac_try='test -s conftest.$ac_objext'
8073 { (case "(($ac_try" in
8074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8075 *) ac_try_echo=$ac_try;;
8077 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8078 (eval "$ac_try") 2>&5
8080 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8081 (exit $ac_status); }; }; then
8084 echo "$as_me: failed program was
:" >&5
8085 sed 's/^/| /' conftest.$ac_ext >&5
8090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8092 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
8093 echo "${ECHO_T}$ac_cv_c_const" >&6; }
8094 if test $ac_cv_c_const = no; then
8096 cat >>confdefs.h <<\_ACEOF
8108 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8109 as_ac_Header=`echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
8110 { echo "$as_me:$LINENO: checking
for $ac_hdr that defines DIR
" >&5
8111 echo $ECHO_N "checking
for $ac_hdr that defines DIR...
$ECHO_C" >&6; }
8112 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8113 echo $ECHO_N "(cached
) $ECHO_C" >&6
8115 cat >conftest.$ac_ext <<_ACEOF
8118 cat confdefs.h >>conftest.$ac_ext
8119 cat >>conftest.$ac_ext <<_ACEOF
8120 /* end confdefs.h. */
8121 #include <sys/types.h>
8133 rm -f conftest.$ac_objext
8134 if { (ac_try="$ac_compile"
8136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8137 *) ac_try_echo=$ac_try;;
8139 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8140 (eval "$ac_compile") 2>conftest.er1
8142 grep -v '^ *+' conftest.er1 >conftest.err
8144 cat conftest.err >&5
8145 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8146 (exit $ac_status); } &&
8147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8148 { (case "(($ac_try" in
8149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8150 *) ac_try_echo=$ac_try;;
8152 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8153 (eval "$ac_try") 2>&5
8155 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8156 (exit $ac_status); }; } &&
8157 { ac_try='test -s conftest.$ac_objext'
8158 { (case "(($ac_try" in
8159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8160 *) ac_try_echo=$ac_try;;
8162 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8163 (eval "$ac_try") 2>&5
8165 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8166 (exit $ac_status); }; }; then
8167 eval "$as_ac_Header=yes"
8169 echo "$as_me: failed program was
:" >&5
8170 sed 's/^/| /' conftest.$ac_ext >&5
8172 eval "$as_ac_Header=no
"
8175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8177 ac_res=`eval echo '${'$as_ac_Header'}'`
8178 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8179 echo "${ECHO_T}$ac_res" >&6; }
8180 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8181 cat >>confdefs.h <<_ACEOF
8182 #define `echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
8185 ac_header_dirent=$ac_hdr; break
8189 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8190 if test $ac_header_dirent = dirent.h; then
8191 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
8192 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
8193 if test "${ac_cv_search_opendir+set}" = set; then
8194 echo $ECHO_N "(cached
) $ECHO_C" >&6
8196 ac_func_search_save_LIBS=$LIBS
8197 cat >conftest.$ac_ext <<_ACEOF
8200 cat confdefs.h >>conftest.$ac_ext
8201 cat >>conftest.$ac_ext <<_ACEOF
8202 /* end confdefs.h. */
8204 /* Override any GCC internal prototype to avoid an error.
8205 Use char because int might match the return type of a GCC
8206 builtin and then its argument prototype would still apply. */
8219 for ac_lib in '' dir; do
8220 if test -z "$ac_lib"; then
8221 ac_res="none required
"
8224 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8226 rm -f conftest.$ac_objext conftest$ac_exeext
8227 if { (ac_try="$ac_link"
8229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8230 *) ac_try_echo=$ac_try;;
8232 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8233 (eval "$ac_link") 2>conftest.er1
8235 grep -v '^ *+' conftest.er1 >conftest.err
8237 cat conftest.err >&5
8238 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8239 (exit $ac_status); } &&
8240 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8241 { (case "(($ac_try" in
8242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8243 *) ac_try_echo=$ac_try;;
8245 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8246 (eval "$ac_try") 2>&5
8248 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8249 (exit $ac_status); }; } &&
8250 { ac_try='test -s conftest$ac_exeext'
8251 { (case "(($ac_try" in
8252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8253 *) ac_try_echo=$ac_try;;
8255 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8256 (eval "$ac_try") 2>&5
8258 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8259 (exit $ac_status); }; }; then
8260 ac_cv_search_opendir=$ac_res
8262 echo "$as_me: failed program was
:" >&5
8263 sed 's/^/| /' conftest.$ac_ext >&5
8268 rm -f core conftest.err conftest.$ac_objext \
8270 if test "${ac_cv_search_opendir+set}" = set; then
8274 if test "${ac_cv_search_opendir+set}" = set; then
8277 ac_cv_search_opendir=no
8280 LIBS=$ac_func_search_save_LIBS
8282 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
8283 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8284 ac_res=$ac_cv_search_opendir
8285 if test "$ac_res" != no; then
8286 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8291 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
8292 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
8293 if test "${ac_cv_search_opendir+set}" = set; then
8294 echo $ECHO_N "(cached
) $ECHO_C" >&6
8296 ac_func_search_save_LIBS=$LIBS
8297 cat >conftest.$ac_ext <<_ACEOF
8300 cat confdefs.h >>conftest.$ac_ext
8301 cat >>conftest.$ac_ext <<_ACEOF
8302 /* end confdefs.h. */
8304 /* Override any GCC internal prototype to avoid an error.
8305 Use char because int might match the return type of a GCC
8306 builtin and then its argument prototype would still apply. */
8319 for ac_lib in '' x; do
8320 if test -z "$ac_lib"; then
8321 ac_res="none required
"
8324 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8326 rm -f conftest.$ac_objext conftest$ac_exeext
8327 if { (ac_try="$ac_link"
8329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8330 *) ac_try_echo=$ac_try;;
8332 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8333 (eval "$ac_link") 2>conftest.er1
8335 grep -v '^ *+' conftest.er1 >conftest.err
8337 cat conftest.err >&5
8338 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8339 (exit $ac_status); } &&
8340 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8341 { (case "(($ac_try" in
8342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8343 *) ac_try_echo=$ac_try;;
8345 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8346 (eval "$ac_try") 2>&5
8348 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8349 (exit $ac_status); }; } &&
8350 { ac_try='test -s conftest$ac_exeext'
8351 { (case "(($ac_try" in
8352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8353 *) ac_try_echo=$ac_try;;
8355 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8356 (eval "$ac_try") 2>&5
8358 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8359 (exit $ac_status); }; }; then
8360 ac_cv_search_opendir=$ac_res
8362 echo "$as_me: failed program was
:" >&5
8363 sed 's/^/| /' conftest.$ac_ext >&5
8368 rm -f core conftest.err conftest.$ac_objext \
8370 if test "${ac_cv_search_opendir+set}" = set; then
8374 if test "${ac_cv_search_opendir+set}" = set; then
8377 ac_cv_search_opendir=no
8380 LIBS=$ac_func_search_save_LIBS
8382 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
8383 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8384 ac_res=$ac_cv_search_opendir
8385 if test "$ac_res" != no; then
8386 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8393 for ac_header in dlfcn.h
8395 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8396 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8397 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8398 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8399 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8400 echo $ECHO_N "(cached
) $ECHO_C" >&6
8402 ac_res=`eval echo '${'$as_ac_Header'}'`
8403 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8404 echo "${ECHO_T}$ac_res" >&6; }
8406 # Is the header compilable?
8407 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8408 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
8409 cat >conftest.$ac_ext <<_ACEOF
8412 cat confdefs.h >>conftest.$ac_ext
8413 cat >>conftest.$ac_ext <<_ACEOF
8414 /* end confdefs.h. */
8415 $ac_includes_default
8416 #include <$ac_header>
8418 rm -f conftest.$ac_objext
8419 if { (ac_try="$ac_compile"
8421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8422 *) ac_try_echo=$ac_try;;
8424 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8425 (eval "$ac_compile") 2>conftest.er1
8427 grep -v '^ *+' conftest.er1 >conftest.err
8429 cat conftest.err >&5
8430 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8431 (exit $ac_status); } &&
8432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8433 { (case "(($ac_try" in
8434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8435 *) ac_try_echo=$ac_try;;
8437 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8438 (eval "$ac_try") 2>&5
8440 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8441 (exit $ac_status); }; } &&
8442 { ac_try='test -s conftest.$ac_objext'
8443 { (case "(($ac_try" in
8444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8445 *) ac_try_echo=$ac_try;;
8447 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8448 (eval "$ac_try") 2>&5
8450 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8451 (exit $ac_status); }; }; then
8452 ac_header_compiler=yes
8454 echo "$as_me: failed program was
:" >&5
8455 sed 's/^/| /' conftest.$ac_ext >&5
8457 ac_header_compiler=no
8460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8461 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8462 echo "${ECHO_T}$ac_header_compiler" >&6; }
8464 # Is the header present?
8465 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8466 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
8467 cat >conftest.$ac_ext <<_ACEOF
8470 cat confdefs.h >>conftest.$ac_ext
8471 cat >>conftest.$ac_ext <<_ACEOF
8472 /* end confdefs.h. */
8473 #include <$ac_header>
8475 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8478 *) ac_try_echo=$ac_try;;
8480 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8481 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8483 grep -v '^ *+' conftest.er1 >conftest.err
8485 cat conftest.err >&5
8486 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8487 (exit $ac_status); } >/dev/null; then
8488 if test -s conftest.err; then
8489 ac_cpp_err=$ac_c_preproc_warn_flag
8490 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8497 if test -z "$ac_cpp_err"; then
8498 ac_header_preproc=yes
8500 echo "$as_me: failed program was
:" >&5
8501 sed 's/^/| /' conftest.$ac_ext >&5
8503 ac_header_preproc=no
8506 rm -f conftest.err conftest.$ac_ext
8507 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8508 echo "${ECHO_T}$ac_header_preproc" >&6; }
8510 # So? What about this header?
8511 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8513 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8514 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8515 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8516 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8517 ac_header_preproc=yes
8520 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8521 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8522 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8523 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8524 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8525 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8526 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8527 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8528 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8529 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8530 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8531 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8533 ## ----------------------------------- ##
8534 ## Report this to llvmbugs@cs.uiuc.edu ##
8535 ## ----------------------------------- ##
8537 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
8540 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8541 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8542 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8543 echo $ECHO_N "(cached
) $ECHO_C" >&6
8545 eval "$as_ac_Header=\
$ac_header_preproc"
8547 ac_res=`eval echo '${'$as_ac_Header'}'`
8548 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8549 echo "${ECHO_T}$ac_res" >&6; }
8552 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8553 cat >>confdefs.h <<_ACEOF
8554 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8561 # Check whether --enable-ltdl-install was given.
8562 if test "${enable_ltdl_install+set}" = set; then
8563 enableval=$enable_ltdl_install;
8569 if test x"${enable_ltdl_install-no}" != xno; then
8571 INSTALL_LTDL_FALSE='#'
8573 INSTALL_LTDL_TRUE='#'
8579 if test x"${enable_ltdl_convenience-no}" != xno; then
8580 CONVENIENCE_LTDL_TRUE=
8581 CONVENIENCE_LTDL_FALSE='#'
8583 CONVENIENCE_LTDL_TRUE='#'
8584 CONVENIENCE_LTDL_FALSE=
8588 { echo "$as_me:$LINENO: checking dynamic linker characteristics
" >&5
8589 echo $ECHO_N "checking dynamic linker characteristics...
$ECHO_C" >&6; }
8591 libname_spec='lib$name'
8599 shlibpath_overrides_runpath=unknown
8601 dynamic_linker="$host_os ld.so
"
8602 sys_lib_dlsearch_path_spec="/lib
/usr
/lib
"
8603 if test "$GCC" = yes; then
8604 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries
:" | $SED -e "s
/^libraries
://" -e "s
,=/,/,g
"`
8605 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8606 # if the path contains ";" then we assume it to be the separator
8607 # otherwise default to the standard path separator (i.e. ":") - it is
8608 # assumed that no part of a normal pathname contains ";" but that should
8609 # okay in the real world where ";" in dirpaths is itself problematic.
8610 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8612 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g
"`
8615 sys_lib_search_path_spec="/lib
/usr
/lib
/usr
/local
/lib
"
8617 need_lib_prefix=unknown
8618 hardcode_into_libs=no
8620 # when you set need_version to no, make sure it does not cause -set_version
8621 # flags to be left without arguments
8622 need_version=unknown
8627 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8628 shlibpath_var=LIBPATH
8630 # AIX 3 has no versioning support, so we append a major version to the name.
8631 soname_spec='${libname}${release}${shared_ext}$major'
8638 hardcode_into_libs=yes
8639 if test "$host_cpu" = ia64; then
8640 # AIX 5 supports IA64
8641 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8642 shlibpath_var=LD_LIBRARY_PATH
8644 # With GCC up to 2.95.x, collect2 would create an import file
8645 # for dependence libraries. The import file would start with
8646 # the line `#! .'. This would cause the generated library to
8647 # depend on `.', always an invalid library. This was fixed in
8648 # development snapshots of GCC prior to 3.0.
8650 aix4 | aix4.[01] | aix4.[01].*)
8651 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8653 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
8660 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8661 # soname into executable. Probably we can add versioning support to
8662 # collect2, so additional links can be useful in future.
8663 if test "$aix_use_runtimelinking" = yes; then
8664 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8665 # instead of lib<name>.a to let people know that these are not
8666 # typical AIX shared libraries.
8667 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8669 # We preserve .a as extension for shared libraries through AIX4.2
8670 # and later when we are not doing run time linking.
8671 library_names_spec='${libname}${release}.a $libname.a'
8672 soname_spec='${libname}${release}${shared_ext}$major'
8674 shlibpath_var=LIBPATH
8679 library_names_spec='$libname.ixlibrary $libname.a'
8680 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8681 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'
8685 library_names_spec='${libname}${shared_ext}'
8686 dynamic_linker="$host_os ld.so
"
8687 shlibpath_var=LIBRARY_PATH
8693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8694 soname_spec='${libname}${release}${shared_ext}$major'
8695 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig $libdir'
8696 shlibpath_var=LD_LIBRARY_PATH
8697 sys_lib_search_path_spec="/shlib
/usr
/lib
/usr
/X11
/lib
/usr
/contrib
/lib
/lib
/usr
/local
/lib
"
8698 sys_lib_dlsearch_path_spec="/shlib
/usr
/lib
/usr
/local
/lib
"
8699 # the default ld.so.conf also contains /usr/contrib/lib and
8700 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8701 # libtool to hard-code these into programs
8704 cygwin* | mingw* | pw32*)
8705 version_type=windows
8710 case $GCC,$host_os in
8711 yes,cygwin* | yes,mingw* | yes,pw32*)
8712 library_names_spec='$libname.dll.a'
8713 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8714 postinstall_cmds='base_file=`basename \${file}`~
8715 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8716 dldir=$destdir/`dirname \$dlpath`~
8717 test -d \$dldir || mkdir -p \$dldir~
8718 $install_prog $dir/$dlname \$dldir/$dlname~
8719 chmod a+x \$dldir/$dlname'
8720 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8721 dlpath=$dir/\$dldll~
8723 shlibpath_overrides_runpath=yes
8727 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8728 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8729 sys_lib_search_path_spec="/usr
/lib
/lib
/w32api
/lib
/usr
/local
/lib
"
8732 # MinGW DLLs use traditional 'lib' prefix
8733 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8734 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries
:" | $SED -e "s
/^libraries
://" -e "s
,=/,/,g
"`
8735 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
8736 # It is most probably a Windows format PATH printed by
8737 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8738 # path with ; separators, and with drive letters. We can handle the
8739 # drive letters (cygwin fileutils understands them), so leave them,
8740 # especially as we might pass files found there to a mingw objdump,
8741 # which wouldn't understand a cygwinified path. Ahh.
8742 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8744 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g
"`
8748 # pw32 DLLs use 'pw' prefix rather than 'lib'
8749 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8755 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8758 dynamic_linker='Win32 ld.exe'
8759 # FIXME: first we should search . and the directory the executable is in
8763 darwin* | rhapsody*)
8764 dynamic_linker="$host_os dyld
"
8768 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8769 soname_spec='${libname}${release}${major}$shared_ext'
8770 shlibpath_overrides_runpath=yes
8771 shlibpath_var=DYLD_LIBRARY_PATH
8772 shrext_cmds='.dylib'
8773 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8774 if test "$GCC" = yes; then
8775 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
"`
8777 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8779 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8787 soname_spec='${libname}${release}${shared_ext}$major'
8788 shlibpath_var=LD_LIBRARY_PATH
8799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8800 soname_spec='${libname}${release}${shared_ext}$major'
8801 shlibpath_var=LD_LIBRARY_PATH
8802 shlibpath_overrides_runpath=no
8803 hardcode_into_libs=yes
8804 dynamic_linker='GNU ld.so'
8807 freebsd* | dragonfly*)
8808 # DragonFly does not have aout. When/if they implement a new
8809 # versioning mechanism, adjust this.
8810 if test -x /usr/bin/objformat; then
8811 objformat=`/usr/bin/objformat`
8814 freebsd[123]*) objformat=aout ;;
8818 version_type=freebsd-$objformat
8819 case $version_type in
8821 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8826 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8830 shlibpath_var=LD_LIBRARY_PATH
8833 shlibpath_overrides_runpath=yes
8835 freebsd3.[01]* | freebsdelf3.[01]*)
8836 shlibpath_overrides_runpath=yes
8837 hardcode_into_libs=yes
8839 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8840 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8841 shlibpath_overrides_runpath=no
8842 hardcode_into_libs=yes
8844 freebsd*) # from 4.6 on
8845 shlibpath_overrides_runpath=yes
8846 hardcode_into_libs=yes
8855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8856 soname_spec='${libname}${release}${shared_ext}$major'
8857 shlibpath_var=LD_LIBRARY_PATH
8858 hardcode_into_libs=yes
8861 hpux9* | hpux10* | hpux11*)
8862 # Give a soname corresponding to the major version so that dld.sl refuses to
8863 # link against other versions.
8870 hardcode_into_libs=yes
8871 dynamic_linker="$host_os dld.so
"
8872 shlibpath_var=LD_LIBRARY_PATH
8873 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8875 soname_spec='${libname}${release}${shared_ext}$major'
8876 if test "X
$HPUX_IA64_MODE" = X32; then
8877 sys_lib_search_path_spec="/usr
/lib
/hpux32
/usr
/local
/lib
/hpux32
/usr
/local
/lib
"
8879 sys_lib_search_path_spec="/usr
/lib
/hpux64
/usr
/local
/lib
/hpux64
"
8881 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8885 hardcode_into_libs=yes
8886 dynamic_linker="$host_os dld.sl
"
8887 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8888 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8889 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8890 soname_spec='${libname}${release}${shared_ext}$major'
8891 sys_lib_search_path_spec="/usr
/lib
/pa20_64
/usr
/ccs
/lib
/pa20_64
"
8892 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8896 dynamic_linker="$host_os dld.sl
"
8897 shlibpath_var=SHLIB_PATH
8898 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8900 soname_spec='${libname}${release}${shared_ext}$major'
8903 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8904 postinstall_cmds='chmod 555 $lib'
8911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8912 soname_spec='${libname}${release}${shared_ext}$major'
8913 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8914 shlibpath_var=LD_LIBRARY_PATH
8915 shlibpath_overrides_runpath=no
8916 hardcode_into_libs=yes
8919 irix5* | irix6* | nonstopux*)
8921 nonstopux*) version_type=nonstopux ;;
8923 if test "$lt_cv_prog_gnu_ld" = yes; then
8931 soname_spec='${libname}${release}${shared_ext}$major'
8932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8934 irix5* | nonstopux*)
8938 case $LD in # libtool.m4 will add one of these switches to LD
8939 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8940 libsuff= shlibsuff= libmagic=32-bit;;
8941 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8942 libsuff=32 shlibsuff=N32 libmagic=N32;;
8943 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8944 libsuff=64 shlibsuff=64 libmagic=64-bit;;
8945 *) libsuff= shlibsuff= libmagic=never-match;;
8949 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8950 shlibpath_overrides_runpath=no
8951 sys_lib_search_path_spec="/usr
/lib
${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8952 sys_lib_dlsearch_path_spec="/usr
/lib
${libsuff} /lib
${libsuff}"
8953 hardcode_into_libs=yes
8956 # No shared lib support for Linux oldld, aout, or coff.
8957 linux*oldld* | linux*aout* | linux*coff*)
8961 # This must be Linux ELF.
8966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8967 soname_spec='${libname}${release}${shared_ext}$major'
8968 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -n $libdir'
8969 shlibpath_var=LD_LIBRARY_PATH
8970 shlibpath_overrides_runpath=no
8971 # This implies no fast_install, which is unacceptable.
8972 # Some rework will be needed to allow for fast_install
8973 # before this can be enabled.
8974 hardcode_into_libs=yes
8976 # Append ld.so.conf contents to the search path
8977 if test -f /etc/ld.so.conf; then
8978 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc
; cat %s
", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8979 sys_lib_dlsearch_path_spec="/lib
/usr
/lib
$lt_ld_extra"
8982 # We used to test for /lib/ld.so.1 and disable shared libraries on
8983 # powerpc, because MkLinux only supported shared libraries with the
8984 # GNU dynamic linker. Since this was broken with cross compilers,
8985 # most powerpc-linux boxes support dynamic linking these days and
8986 # people can always --disable-shared, the test was removed, and we
8987 # assume the GNU/Linux dynamic linker is in use.
8988 dynamic_linker='GNU/Linux ld.so'
8995 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8996 soname_spec='${libname}${release}${shared_ext}$major'
8997 shlibpath_var=LD_LIBRARY_PATH
8998 shlibpath_overrides_runpath=no
8999 hardcode_into_libs=yes
9000 dynamic_linker='GNU ld.so'
9007 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9009 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -m $libdir'
9010 dynamic_linker='NetBSD (a.out) ld.so'
9012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9013 soname_spec='${libname}${release}${shared_ext}$major'
9014 dynamic_linker='NetBSD ld.elf_so'
9016 shlibpath_var=LD_LIBRARY_PATH
9017 shlibpath_overrides_runpath=yes
9018 hardcode_into_libs=yes
9023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9024 shlibpath_var=LD_LIBRARY_PATH
9025 shlibpath_overrides_runpath=yes
9032 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9033 soname_spec='${libname}${release}${shared_ext}$major'
9034 shlibpath_var=LD_LIBRARY_PATH
9035 shlibpath_overrides_runpath=yes
9040 sys_lib_dlsearch_path_spec="/usr
/lib
"
9042 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9044 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9045 *) need_version=no ;;
9047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9048 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -m $libdir'
9049 shlibpath_var=LD_LIBRARY_PATH
9050 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
9052 openbsd2.[89] | openbsd2.[89].*)
9053 shlibpath_overrides_runpath=no
9056 shlibpath_overrides_runpath=yes
9060 shlibpath_overrides_runpath=yes
9065 libname_spec='$name'
9068 library_names_spec='$libname${shared_ext} $libname.a'
9069 dynamic_linker='OS/2 ld.exe'
9070 shlibpath_var=LIBPATH
9073 osf3* | osf4* | osf5*)
9077 soname_spec='${libname}${release}${shared_ext}$major'
9078 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9079 shlibpath_var=LD_LIBRARY_PATH
9080 sys_lib_search_path_spec="/usr
/shlib
/usr
/ccs
/lib
/usr
/lib
/cmplrs
/cc
/usr
/lib
/usr
/local
/lib
/var
/shlib
"
9081 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9088 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9089 soname_spec='${libname}${release}${shared_ext}$major'
9090 shlibpath_var=LD_LIBRARY_PATH
9091 shlibpath_overrides_runpath=yes
9092 hardcode_into_libs=yes
9093 # ldd complains unless libraries are executable
9094 postinstall_cmds='chmod +x $lib'
9099 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9100 finish_cmds='PATH="\
$PATH:/usr
/etc
" ldconfig $libdir'
9101 shlibpath_var=LD_LIBRARY_PATH
9102 shlibpath_overrides_runpath=yes
9103 if test "$with_gnu_ld" = yes; then
9111 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9112 soname_spec='${libname}${release}${shared_ext}$major'
9113 shlibpath_var=LD_LIBRARY_PATH
9114 case $host_vendor in
9116 shlibpath_overrides_runpath=no
9118 export_dynamic_flag_spec='${wl}-Blargedynsym'
9119 runpath_var=LD_RUN_PATH
9127 shlibpath_overrides_runpath=no
9128 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9134 if test -d /usr/nec ;then
9136 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9137 soname_spec='$libname${shared_ext}.$major'
9138 shlibpath_var=LD_LIBRARY_PATH
9142 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9143 version_type=freebsd-elf
9146 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9147 soname_spec='${libname}${release}${shared_ext}$major'
9148 shlibpath_var=LD_LIBRARY_PATH
9149 hardcode_into_libs=yes
9150 if test "$with_gnu_ld" = yes; then
9151 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9152 shlibpath_overrides_runpath=no
9154 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9155 shlibpath_overrides_runpath=yes
9158 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib
"
9162 sys_lib_dlsearch_path_spec='/usr/lib'
9167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9168 soname_spec='${libname}${release}${shared_ext}$major'
9169 shlibpath_var=LD_LIBRARY_PATH
9176 { echo "$as_me:$LINENO: result
: $dynamic_linker" >&5
9177 echo "${ECHO_T}$dynamic_linker" >&6; }
9178 test "$dynamic_linker" = no && can_build_shared=no
9180 variables_saved_for_relink="PATH
$shlibpath_var $runpath_var"
9181 if test "$GCC" = yes; then
9182 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH
"
9186 { echo "$as_me:$LINENO: checking
which extension is used
for loadable modules
" >&5
9187 echo $ECHO_N "checking
which extension is used
for loadable modules...
$ECHO_C" >&6; }
9188 if test "${libltdl_cv_shlibext+set}" = set; then
9189 echo $ECHO_N "(cached
) $ECHO_C" >&6
9193 eval libltdl_cv_shlibext=$shrext_cmds
9196 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibext" >&5
9197 echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
9198 if test -n "$libltdl_cv_shlibext"; then
9200 cat >>confdefs.h <<_ACEOF
9201 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
9207 { echo "$as_me:$LINENO: checking
which variable specifies run-time library path
" >&5
9208 echo $ECHO_N "checking
which variable specifies run-time library path...
$ECHO_C" >&6; }
9209 if test "${libltdl_cv_shlibpath_var+set}" = set; then
9210 echo $ECHO_N "(cached
) $ECHO_C" >&6
9212 libltdl_cv_shlibpath_var="$shlibpath_var"
9214 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibpath_var" >&5
9215 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
9216 if test -n "$libltdl_cv_shlibpath_var"; then
9218 cat >>confdefs.h <<_ACEOF
9219 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
9225 { echo "$as_me:$LINENO: checking
for the default library search path
" >&5
9226 echo $ECHO_N "checking
for the default library search path...
$ECHO_C" >&6; }
9227 if test "${libltdl_cv_sys_search_path+set}" = set; then
9228 echo $ECHO_N "(cached
) $ECHO_C" >&6
9230 libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"
9232 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_search_path" >&5
9233 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6; }
9234 if test -n "$libltdl_cv_sys_search_path"; then
9236 for dir in $libltdl_cv_sys_search_path; do
9237 if test -z "$sys_search_path"; then
9238 sys_search_path="$dir"
9240 sys_search_path="$sys_search_path$PATH_SEPARATOR$dir"
9244 cat >>confdefs.h <<_ACEOF
9245 #define LTDL_SYSSEARCHPATH "$sys_search_path"
9250 { echo "$as_me:$LINENO: checking
for objdir
" >&5
9251 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6; }
9252 if test "${libltdl_cv_objdir+set}" = set; then
9253 echo $ECHO_N "(cached
) $ECHO_C" >&6
9255 libltdl_cv_objdir="$objdir"
9256 if test -n "$objdir"; then
9259 rm -f .libs 2>/dev/null
9260 mkdir .libs 2>/dev/null
9261 if test -d .libs; then
9262 libltdl_cv_objdir=.libs
9264 # MS-DOS does not allow filenames that begin with a dot.
9265 libltdl_cv_objdir=_libs
9267 rmdir .libs 2>/dev/null
9271 { echo "$as_me:$LINENO: result
: $libltdl_cv_objdir" >&5
9272 echo "${ECHO_T}$libltdl_cv_objdir" >&6; }
9274 cat >>confdefs.h <<_ACEOF
9275 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
9283 # Check for command to grab the raw symbol name followed by C symbol from nm.
9284 { echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
9285 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6; }
9286 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9287 echo $ECHO_N "(cached
) $ECHO_C" >&6
9290 # These are sane defaults that work on at least a few old systems.
9291 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9293 # Character class describing NM global symbol codes.
9294 symcode='[BCDEGRST]'
9296 # Regexp to match symbols that can be accessed directly from C.
9297 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9299 # Transform an extracted symbol line into a proper C declaration
9300 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9302 # Transform an extracted symbol line into symbol name and symbol address
9303 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'"
9305 # Define system-specific variables.
9310 cygwin* | mingw* | pw32*)
9311 symcode='[ABCDGISTW]'
9313 hpux*) # Its linker distinguishes data from code symbols
9314 if test "$host_cpu" = ia64; then
9315 symcode='[ABCDEGRST]'
9317 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9318 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'"
9321 if test "$host_cpu" = ia64; then
9322 symcode='[ABCDGIRSTW]'
9323 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9324 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'"
9328 symcode='[BCDEGRST]'
9331 symcode='[BCDEGQRST]'
9342 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9350 # Handle CRLF in mingw tool chain
9354 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9358 # If we're using GNU nm, then use its standard symbol codes.
9359 case `$NM -V 2>&1` in
9360 *GNU* | *'with BFD'*)
9361 symcode='[ABCDGIRSTW]' ;;
9364 # Try without a prefix undercore, then with it.
9365 for ac_symprfx in "" "_
"; do
9367 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9368 symxfrm="\\1 $ac_symprfx\\2 \\2"
9370 # Write the raw and C identifiers.
9371 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9373 # Check to see that the pipe works correctly.
9377 cat > conftest.$ac_ext <<EOF
9382 void nm_test_func(){}
9386 int main(){nm_test_var='a';nm_test_func();return(0);}
9389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9390 (eval $ac_compile) 2>&5
9392 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9393 (exit $ac_status); }; then
9394 # Now try to grab the symbols.
9396 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
9397 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
9399 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9400 (exit $ac_status); } && test -s "$nlist"; then
9401 # Try sorting and uniquifying the output.
9402 if sort "$nlist" | uniq > "$nlist"T; then
9403 mv -f "$nlist"T "$nlist"
9408 # Make sure that we snagged all the symbols we need.
9409 if grep ' nm_test_var$' "$nlist" >/dev/null; then
9410 if grep ' nm_test_func$' "$nlist" >/dev/null; then
9411 cat <<EOF > conftest.$ac_ext
9417 # Now generate the symbol file.
9418 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
9420 cat <<EOF >> conftest.$ac_ext
9421 #if defined (__STDC__) && __STDC__
9422 # define lt_ptr_t void *
9424 # define lt_ptr_t char *
9428 /* The mapping between symbol names and symbols. */
9433 lt_preloaded_symbols[] =
9436 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (lt_ptr_t
) \
&\
2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
9437 cat <<\EOF >> conftest.$ac_ext
9445 # Now try linking the two files.
9446 mv conftest.$ac_objext conftstm.$ac_objext
9447 lt_save_LIBS="$LIBS"
9448 lt_save_CFLAGS="$CFLAGS"
9449 LIBS="conftstm.
$ac_objext"
9450 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9452 (eval $ac_link) 2>&5
9454 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9455 (exit $ac_status); } && test -s conftest${ac_exeext}; then
9458 LIBS="$lt_save_LIBS"
9459 CFLAGS="$lt_save_CFLAGS"
9461 echo "cannot
find nm_test_func
in $nlist" >&5
9464 echo "cannot
find nm_test_var
in $nlist" >&5
9467 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
9470 echo "$progname: failed program was
:" >&5
9471 cat conftest.$ac_ext >&5
9473 rm -f conftest* conftst*
9475 # Do not use the global_symbol_pipe unless it works.
9476 if test "$pipe_works" = yes; then
9479 lt_cv_sys_global_symbol_pipe=
9485 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9486 lt_cv_sys_global_symbol_to_cdecl=
9488 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9489 { echo "$as_me:$LINENO: result
: failed
" >&5
9490 echo "${ECHO_T}failed
" >&6; }
9492 { echo "$as_me:$LINENO: result
: ok
" >&5
9493 echo "${ECHO_T}ok
" >&6; }
9497 { echo "$as_me:$LINENO: checking whether libtool supports
-dlopen/-dlpreopen" >&5
9498 echo $ECHO_N "checking whether libtool supports
-dlopen/-dlpreopen...
$ECHO_C" >&6; }
9499 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
9500 echo $ECHO_N "(cached
) $ECHO_C" >&6
9502 if test -n "$lt_cv_sys_global_symbol_pipe"; then
9503 libltdl_cv_preloaded_symbols=yes
9505 libltdl_cv_preloaded_symbols=no
9509 { echo "$as_me:$LINENO: result
: $libltdl_cv_preloaded_symbols" >&5
9510 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
9511 if test x"$libltdl_cv_preloaded_symbols" = xyes; then
9513 cat >>confdefs.h <<\_ACEOF
9514 #define HAVE_PRELOADED_SYMBOLS 1
9522 ac_cpp='$CPP $CPPFLAGS'
9523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9528 { echo "$as_me:$LINENO: checking
for shl_load
" >&5
9529 echo $ECHO_N "checking
for shl_load...
$ECHO_C" >&6; }
9530 if test "${ac_cv_func_shl_load+set}" = set; then
9531 echo $ECHO_N "(cached
) $ECHO_C" >&6
9533 cat >conftest.$ac_ext <<_ACEOF
9536 cat confdefs.h >>conftest.$ac_ext
9537 cat >>conftest.$ac_ext <<_ACEOF
9538 /* end confdefs.h. */
9539 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9541 #define shl_load innocuous_shl_load
9543 /* System header to define __stub macros and hopefully few prototypes,
9544 which can conflict with char shl_load (); below.
9545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9546 <limits.h> exists even on freestanding compilers. */
9549 # include <limits.h>
9551 # include <assert.h>
9556 /* Override any GCC internal prototype to avoid an error.
9557 Use char because int might match the return type of a GCC
9558 builtin and then its argument prototype would still apply. */
9563 /* The GNU C library defines this for functions which it implements
9564 to always fail with ENOSYS. Some functions are actually named
9565 something starting with __ and the normal name is an alias. */
9566 #if defined __stub_shl_load || defined __stub___shl_load
9578 rm -f conftest.$ac_objext conftest$ac_exeext
9579 if { (ac_try="$ac_link"
9581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9582 *) ac_try_echo=$ac_try;;
9584 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9585 (eval "$ac_link") 2>conftest.er1
9587 grep -v '^ *+' conftest.er1 >conftest.err
9589 cat conftest.err >&5
9590 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9591 (exit $ac_status); } &&
9592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9593 { (case "(($ac_try" in
9594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9595 *) ac_try_echo=$ac_try;;
9597 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9598 (eval "$ac_try") 2>&5
9600 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9601 (exit $ac_status); }; } &&
9602 { ac_try='test -s conftest$ac_exeext'
9603 { (case "(($ac_try" in
9604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9605 *) ac_try_echo=$ac_try;;
9607 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9608 (eval "$ac_try") 2>&5
9610 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9611 (exit $ac_status); }; }; then
9612 ac_cv_func_shl_load=yes
9614 echo "$as_me: failed program was
:" >&5
9615 sed 's/^/| /' conftest.$ac_ext >&5
9617 ac_cv_func_shl_load=no
9620 rm -f core conftest.err conftest.$ac_objext \
9621 conftest$ac_exeext conftest.$ac_ext
9623 { echo "$as_me:$LINENO: result
: $ac_cv_func_shl_load" >&5
9624 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9625 if test $ac_cv_func_shl_load = yes; then
9627 cat >>confdefs.h <<\_ACEOF
9628 #define HAVE_SHL_LOAD 1
9632 { echo "$as_me:$LINENO: checking
for shl_load
in -ldld" >&5
9633 echo $ECHO_N "checking
for shl_load
in -ldld...
$ECHO_C" >&6; }
9634 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9635 echo $ECHO_N "(cached
) $ECHO_C" >&6
9637 ac_check_lib_save_LIBS=$LIBS
9639 cat >conftest.$ac_ext <<_ACEOF
9642 cat confdefs.h >>conftest.$ac_ext
9643 cat >>conftest.$ac_ext <<_ACEOF
9644 /* end confdefs.h. */
9646 /* Override any GCC internal prototype to avoid an error.
9647 Use char because int might match the return type of a GCC
9648 builtin and then its argument prototype would still apply. */
9661 rm -f conftest.$ac_objext conftest$ac_exeext
9662 if { (ac_try="$ac_link"
9664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9665 *) ac_try_echo=$ac_try;;
9667 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9668 (eval "$ac_link") 2>conftest.er1
9670 grep -v '^ *+' conftest.er1 >conftest.err
9672 cat conftest.err >&5
9673 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9674 (exit $ac_status); } &&
9675 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9676 { (case "(($ac_try" in
9677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9678 *) ac_try_echo=$ac_try;;
9680 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9681 (eval "$ac_try") 2>&5
9683 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9684 (exit $ac_status); }; } &&
9685 { ac_try='test -s conftest$ac_exeext'
9686 { (case "(($ac_try" in
9687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9688 *) ac_try_echo=$ac_try;;
9690 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9691 (eval "$ac_try") 2>&5
9693 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9694 (exit $ac_status); }; }; then
9695 ac_cv_lib_dld_shl_load=yes
9697 echo "$as_me: failed program was
:" >&5
9698 sed 's/^/| /' conftest.$ac_ext >&5
9700 ac_cv_lib_dld_shl_load=no
9703 rm -f core conftest.err conftest.$ac_objext \
9704 conftest$ac_exeext conftest.$ac_ext
9705 LIBS=$ac_check_lib_save_LIBS
9707 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_shl_load" >&5
9708 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9709 if test $ac_cv_lib_dld_shl_load = yes; then
9711 cat >>confdefs.h <<\_ACEOF
9712 #define HAVE_SHL_LOAD 1
9715 LIBADD_DL="$LIBADD_DL -ldld"
9717 { echo "$as_me:$LINENO: checking
for dlopen
in -ldl" >&5
9718 echo $ECHO_N "checking
for dlopen
in -ldl...
$ECHO_C" >&6; }
9719 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9720 echo $ECHO_N "(cached
) $ECHO_C" >&6
9722 ac_check_lib_save_LIBS=$LIBS
9724 cat >conftest.$ac_ext <<_ACEOF
9727 cat confdefs.h >>conftest.$ac_ext
9728 cat >>conftest.$ac_ext <<_ACEOF
9729 /* end confdefs.h. */
9731 /* Override any GCC internal prototype to avoid an error.
9732 Use char because int might match the return type of a GCC
9733 builtin and then its argument prototype would still apply. */
9746 rm -f conftest.$ac_objext conftest$ac_exeext
9747 if { (ac_try="$ac_link"
9749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9750 *) ac_try_echo=$ac_try;;
9752 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9753 (eval "$ac_link") 2>conftest.er1
9755 grep -v '^ *+' conftest.er1 >conftest.err
9757 cat conftest.err >&5
9758 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9759 (exit $ac_status); } &&
9760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9761 { (case "(($ac_try" in
9762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9763 *) ac_try_echo=$ac_try;;
9765 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9766 (eval "$ac_try") 2>&5
9768 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9769 (exit $ac_status); }; } &&
9770 { ac_try='test -s conftest$ac_exeext'
9771 { (case "(($ac_try" in
9772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9773 *) ac_try_echo=$ac_try;;
9775 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9776 (eval "$ac_try") 2>&5
9778 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9779 (exit $ac_status); }; }; then
9780 ac_cv_lib_dl_dlopen=yes
9782 echo "$as_me: failed program was
:" >&5
9783 sed 's/^/| /' conftest.$ac_ext >&5
9785 ac_cv_lib_dl_dlopen=no
9788 rm -f core conftest.err conftest.$ac_objext \
9789 conftest$ac_exeext conftest.$ac_ext
9790 LIBS=$ac_check_lib_save_LIBS
9792 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dl_dlopen" >&5
9793 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9794 if test $ac_cv_lib_dl_dlopen = yes; then
9796 cat >>confdefs.h <<\_ACEOF
9797 #define HAVE_LIBDL 1
9800 LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"
9802 cat >conftest.$ac_ext <<_ACEOF
9805 cat confdefs.h >>conftest.$ac_ext
9806 cat >>conftest.$ac_ext <<_ACEOF
9807 /* end confdefs.h. */
9820 rm -f conftest.$ac_objext conftest$ac_exeext
9821 if { (ac_try="$ac_link"
9823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9824 *) ac_try_echo=$ac_try;;
9826 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9827 (eval "$ac_link") 2>conftest.er1
9829 grep -v '^ *+' conftest.er1 >conftest.err
9831 cat conftest.err >&5
9832 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9833 (exit $ac_status); } &&
9834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9835 { (case "(($ac_try" in
9836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9837 *) ac_try_echo=$ac_try;;
9839 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9840 (eval "$ac_try") 2>&5
9842 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9843 (exit $ac_status); }; } &&
9844 { ac_try='test -s conftest$ac_exeext'
9845 { (case "(($ac_try" in
9846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9847 *) ac_try_echo=$ac_try;;
9849 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9850 (eval "$ac_try") 2>&5
9852 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9853 (exit $ac_status); }; }; then
9855 cat >>confdefs.h <<\_ACEOF
9856 #define HAVE_LIBDL 1
9858 libltdl_cv_func_dlopen="yes"
9860 echo "$as_me: failed program was
:" >&5
9861 sed 's/^/| /' conftest.$ac_ext >&5
9863 { echo "$as_me:$LINENO: checking
for dlopen
in -lsvld" >&5
9864 echo $ECHO_N "checking
for dlopen
in -lsvld...
$ECHO_C" >&6; }
9865 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9866 echo $ECHO_N "(cached
) $ECHO_C" >&6
9868 ac_check_lib_save_LIBS=$LIBS
9870 cat >conftest.$ac_ext <<_ACEOF
9873 cat confdefs.h >>conftest.$ac_ext
9874 cat >>conftest.$ac_ext <<_ACEOF
9875 /* end confdefs.h. */
9877 /* Override any GCC internal prototype to avoid an error.
9878 Use char because int might match the return type of a GCC
9879 builtin and then its argument prototype would still apply. */
9892 rm -f conftest.$ac_objext conftest$ac_exeext
9893 if { (ac_try="$ac_link"
9895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9896 *) ac_try_echo=$ac_try;;
9898 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9899 (eval "$ac_link") 2>conftest.er1
9901 grep -v '^ *+' conftest.er1 >conftest.err
9903 cat conftest.err >&5
9904 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9905 (exit $ac_status); } &&
9906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9907 { (case "(($ac_try" in
9908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9909 *) ac_try_echo=$ac_try;;
9911 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9912 (eval "$ac_try") 2>&5
9914 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9915 (exit $ac_status); }; } &&
9916 { ac_try='test -s conftest$ac_exeext'
9917 { (case "(($ac_try" in
9918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9919 *) ac_try_echo=$ac_try;;
9921 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9922 (eval "$ac_try") 2>&5
9924 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9925 (exit $ac_status); }; }; then
9926 ac_cv_lib_svld_dlopen=yes
9928 echo "$as_me: failed program was
:" >&5
9929 sed 's/^/| /' conftest.$ac_ext >&5
9931 ac_cv_lib_svld_dlopen=no
9934 rm -f core conftest.err conftest.$ac_objext \
9935 conftest$ac_exeext conftest.$ac_ext
9936 LIBS=$ac_check_lib_save_LIBS
9938 { echo "$as_me:$LINENO: result
: $ac_cv_lib_svld_dlopen" >&5
9939 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9940 if test $ac_cv_lib_svld_dlopen = yes; then
9942 cat >>confdefs.h <<\_ACEOF
9943 #define HAVE_LIBDL 1
9946 LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"
9948 { echo "$as_me:$LINENO: checking
for dld_link
in -ldld" >&5
9949 echo $ECHO_N "checking
for dld_link
in -ldld...
$ECHO_C" >&6; }
9950 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9951 echo $ECHO_N "(cached
) $ECHO_C" >&6
9953 ac_check_lib_save_LIBS=$LIBS
9955 cat >conftest.$ac_ext <<_ACEOF
9958 cat confdefs.h >>conftest.$ac_ext
9959 cat >>conftest.$ac_ext <<_ACEOF
9960 /* end confdefs.h. */
9962 /* Override any GCC internal prototype to avoid an error.
9963 Use char because int might match the return type of a GCC
9964 builtin and then its argument prototype would still apply. */
9977 rm -f conftest.$ac_objext conftest$ac_exeext
9978 if { (ac_try="$ac_link"
9980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9981 *) ac_try_echo=$ac_try;;
9983 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9984 (eval "$ac_link") 2>conftest.er1
9986 grep -v '^ *+' conftest.er1 >conftest.err
9988 cat conftest.err >&5
9989 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9990 (exit $ac_status); } &&
9991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9992 { (case "(($ac_try" in
9993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9994 *) ac_try_echo=$ac_try;;
9996 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9997 (eval "$ac_try") 2>&5
9999 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10000 (exit $ac_status); }; } &&
10001 { ac_try='test -s conftest$ac_exeext'
10002 { (case "(($ac_try" in
10003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10004 *) ac_try_echo=$ac_try;;
10006 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10007 (eval "$ac_try") 2>&5
10009 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10010 (exit $ac_status); }; }; then
10011 ac_cv_lib_dld_dld_link=yes
10013 echo "$as_me: failed program was
:" >&5
10014 sed 's/^/| /' conftest.$ac_ext >&5
10016 ac_cv_lib_dld_dld_link=no
10019 rm -f core conftest.err conftest.$ac_objext \
10020 conftest$ac_exeext conftest.$ac_ext
10021 LIBS=$ac_check_lib_save_LIBS
10023 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_dld_link" >&5
10024 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10025 if test $ac_cv_lib_dld_dld_link = yes; then
10027 cat >>confdefs.h <<\_ACEOF
10031 LIBADD_DL="$LIBADD_DL -ldld"
10033 { echo "$as_me:$LINENO: checking
for _dyld_func_lookup
" >&5
10034 echo $ECHO_N "checking
for _dyld_func_lookup...
$ECHO_C" >&6; }
10035 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
10036 echo $ECHO_N "(cached
) $ECHO_C" >&6
10038 cat >conftest.$ac_ext <<_ACEOF
10041 cat confdefs.h >>conftest.$ac_ext
10042 cat >>conftest.$ac_ext <<_ACEOF
10043 /* end confdefs.h. */
10044 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
10045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10046 #define _dyld_func_lookup innocuous__dyld_func_lookup
10048 /* System header to define __stub macros and hopefully few prototypes,
10049 which can conflict with char _dyld_func_lookup (); below.
10050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10051 <limits.h> exists even on freestanding compilers. */
10054 # include <limits.h>
10056 # include <assert.h>
10059 #undef _dyld_func_lookup
10061 /* Override any GCC internal prototype to avoid an error.
10062 Use char because int might match the return type of a GCC
10063 builtin and then its argument prototype would still apply. */
10067 char _dyld_func_lookup ();
10068 /* The GNU C library defines this for functions which it implements
10069 to always fail with ENOSYS. Some functions are actually named
10070 something starting with __ and the normal name is an alias. */
10071 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
10078 return _dyld_func_lookup ();
10083 rm -f conftest.$ac_objext conftest$ac_exeext
10084 if { (ac_try="$ac_link"
10085 case "(($ac_try" in
10086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10087 *) ac_try_echo=$ac_try;;
10089 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10090 (eval "$ac_link") 2>conftest.er1
10092 grep -v '^ *+' conftest.er1 >conftest.err
10094 cat conftest.err >&5
10095 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10096 (exit $ac_status); } &&
10097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10098 { (case "(($ac_try" in
10099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10100 *) ac_try_echo=$ac_try;;
10102 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10103 (eval "$ac_try") 2>&5
10105 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10106 (exit $ac_status); }; } &&
10107 { ac_try='test -s conftest$ac_exeext'
10108 { (case "(($ac_try" in
10109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10110 *) ac_try_echo=$ac_try;;
10112 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10113 (eval "$ac_try") 2>&5
10115 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10116 (exit $ac_status); }; }; then
10117 ac_cv_func__dyld_func_lookup=yes
10119 echo "$as_me: failed program was
:" >&5
10120 sed 's/^/| /' conftest.$ac_ext >&5
10122 ac_cv_func__dyld_func_lookup=no
10125 rm -f core conftest.err conftest.$ac_objext \
10126 conftest$ac_exeext conftest.$ac_ext
10128 { echo "$as_me:$LINENO: result
: $ac_cv_func__dyld_func_lookup" >&5
10129 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
10130 if test $ac_cv_func__dyld_func_lookup = yes; then
10132 cat >>confdefs.h <<\_ACEOF
10133 #define HAVE_DYLD 1
10147 rm -f core conftest.err conftest.$ac_objext \
10148 conftest$ac_exeext conftest.$ac_ext
10159 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
10161 lt_save_LIBS="$LIBS"
10162 LIBS="$LIBS $LIBADD_DL"
10164 for ac_func in dlerror
10166 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
10167 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
10168 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
10169 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
10170 echo $ECHO_N "(cached
) $ECHO_C" >&6
10172 cat >conftest.$ac_ext <<_ACEOF
10175 cat confdefs.h >>conftest.$ac_ext
10176 cat >>conftest.$ac_ext <<_ACEOF
10177 /* end confdefs.h. */
10178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10180 #define $ac_func innocuous_$ac_func
10182 /* System header to define __stub macros and hopefully few prototypes,
10183 which can conflict with char $ac_func (); below.
10184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10185 <limits.h> exists even on freestanding compilers. */
10188 # include <limits.h>
10190 # include <assert.h>
10195 /* Override any GCC internal prototype to avoid an error.
10196 Use char because int might match the return type of a GCC
10197 builtin and then its argument prototype would still apply. */
10202 /* The GNU C library defines this for functions which it implements
10203 to always fail with ENOSYS. Some functions are actually named
10204 something starting with __ and the normal name is an alias. */
10205 #if defined __stub_$ac_func || defined __stub___$ac_func
10212 return $ac_func ();
10217 rm -f conftest.$ac_objext conftest$ac_exeext
10218 if { (ac_try="$ac_link"
10219 case "(($ac_try" in
10220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10221 *) ac_try_echo=$ac_try;;
10223 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10224 (eval "$ac_link") 2>conftest.er1
10226 grep -v '^ *+' conftest.er1 >conftest.err
10228 cat conftest.err >&5
10229 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10230 (exit $ac_status); } &&
10231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10232 { (case "(($ac_try" in
10233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10234 *) ac_try_echo=$ac_try;;
10236 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10237 (eval "$ac_try") 2>&5
10239 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10240 (exit $ac_status); }; } &&
10241 { ac_try='test -s conftest$ac_exeext'
10242 { (case "(($ac_try" in
10243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10244 *) ac_try_echo=$ac_try;;
10246 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10247 (eval "$ac_try") 2>&5
10249 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10250 (exit $ac_status); }; }; then
10251 eval "$as_ac_var=yes"
10253 echo "$as_me: failed program was
:" >&5
10254 sed 's/^/| /' conftest.$ac_ext >&5
10256 eval "$as_ac_var=no
"
10259 rm -f core conftest.err conftest.$ac_objext \
10260 conftest$ac_exeext conftest.$ac_ext
10262 ac_res=`eval echo '${'$as_ac_var'}'`
10263 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10264 echo "${ECHO_T}$ac_res" >&6; }
10265 if test `eval echo '${'$as_ac_var'}'` = yes; then
10266 cat >>confdefs.h <<_ACEOF
10267 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
10273 LIBS="$lt_save_LIBS"
10276 ac_cpp='$CPP $CPPFLAGS'
10277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10283 { echo "$as_me:$LINENO: checking
for _ prefix
in compiled symbols
" >&5
10284 echo $ECHO_N "checking
for _ prefix
in compiled symbols...
$ECHO_C" >&6; }
10285 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
10286 echo $ECHO_N "(cached
) $ECHO_C" >&6
10288 ac_cv_sys_symbol_underscore=no
10289 cat > conftest.$ac_ext <<EOF
10290 void nm_test_func(){}
10291 int main(){nm_test_func;return 0;}
10293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10294 (eval $ac_compile) 2>&5
10296 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10297 (exit $ac_status); }; then
10298 # Now try to grab the symbols.
10299 ac_nlist=conftest.nm
10300 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist\"") >&5
10301 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
10303 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10304 (exit $ac_status); } && test -s "$ac_nlist"; then
10305 # See whether the symbols have a leading underscore.
10306 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
10307 ac_cv_sys_symbol_underscore=yes
10309 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
10312 echo "configure
: cannot
find nm_test_func
in $ac_nlist" >&5
10316 echo "configure
: cannot run
$lt_cv_sys_global_symbol_pipe" >&5
10319 echo "configure
: failed program was
:" >&5
10325 { echo "$as_me:$LINENO: result
: $ac_cv_sys_symbol_underscore" >&5
10326 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
10329 if test x"$ac_cv_sys_symbol_underscore" = xyes; then
10330 if test x"$libltdl_cv_func_dlopen" = xyes ||
10331 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
10332 { echo "$as_me:$LINENO: checking whether we have to add an underscore
for dlsym
" >&5
10333 echo $ECHO_N "checking whether we have to add an underscore
for dlsym...
$ECHO_C" >&6; }
10334 if test "${libltdl_cv_need_uscore+set}" = set; then
10335 echo $ECHO_N "(cached
) $ECHO_C" >&6
10337 libltdl_cv_need_uscore=unknown
10339 LIBS="$LIBS $LIBADD_DL"
10340 if test "$cross_compiling" = yes; then :
10341 libltdl_cv_need_uscore=cross
10343 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10344 lt_status=$lt_dlunknown
10345 cat > conftest.$ac_ext <<EOF
10346 #line 10346 "configure
"
10347 #include "confdefs.h
"
10356 # define LT_DLGLOBAL RTLD_GLOBAL
10359 # define LT_DLGLOBAL DL_GLOBAL
10361 # define LT_DLGLOBAL 0
10365 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10366 find out it does not work in some platform. */
10367 #ifndef LT_DLLAZY_OR_NOW
10369 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10372 # define LT_DLLAZY_OR_NOW DL_LAZY
10375 # define LT_DLLAZY_OR_NOW RTLD_NOW
10378 # define LT_DLLAZY_OR_NOW DL_NOW
10380 # define LT_DLLAZY_OR_NOW 0
10388 extern "C
" void exit (int);
10391 void fnord() { int i=42;}
10394 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10395 int status = $lt_dlunknown;
10399 if (dlsym (self,"fnord
")) status = $lt_dlno_uscore;
10400 else if (dlsym( self,"_fnord
")) status = $lt_dlneed_uscore;
10401 /* dlclose (self); */
10409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10410 (eval $ac_link) 2>&5
10412 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10413 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10414 (./conftest; exit; ) >&5 2>/dev/null
10416 case x$lt_status in
10417 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
10418 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
10419 x$lt_dlunknown|x*) ;;
10422 # compilation failed
10431 { echo "$as_me:$LINENO: result
: $libltdl_cv_need_uscore" >&5
10432 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
10436 if test x"$libltdl_cv_need_uscore" = xyes; then
10438 cat >>confdefs.h <<\_ACEOF
10439 #define NEED_USCORE 1
10445 { echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen
" >&5
10446 echo $ECHO_N "checking whether deplibs are loaded by dlopen...
$ECHO_C" >&6; }
10447 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
10448 echo $ECHO_N "(cached
) $ECHO_C" >&6
10450 # PORTME does your system automatically load deplibs for dlopen?
10451 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
10452 # For now, we just catch OSes we know something about -- in the
10453 # future, we'll try test this programmatically.
10454 libltdl_cv_sys_dlopen_deplibs=unknown
10456 aix3*|aix4.1.*|aix4.2.*)
10457 # Unknown whether this is true for these versions of AIX, but
10458 # we want this `case' here to explicitly catch those versions.
10459 libltdl_cv_sys_dlopen_deplibs=unknown
10462 libltdl_cv_sys_dlopen_deplibs=yes
10465 # Assuming the user has installed a libdl from somewhere, this is true
10466 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
10467 libltdl_cv_sys_dlopen_deplibs=yes
10469 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
10470 # GNU and its variants, using gnu ld.so (Glibc)
10471 libltdl_cv_sys_dlopen_deplibs=yes
10474 libltdl_cv_sys_dlopen_deplibs=yes
10477 libltdl_cv_sys_dlopen_deplibs=yes
10479 irix[12345]*|irix6.[01]*)
10480 # Catch all versions of IRIX before 6.2, and indicate that we don't
10481 # know how it worked for any of those versions.
10482 libltdl_cv_sys_dlopen_deplibs=unknown
10485 # The case above catches anything before 6.2, and it's known that
10486 # at 6.2 and later dlopen does load deplibs.
10487 libltdl_cv_sys_dlopen_deplibs=yes
10490 libltdl_cv_sys_dlopen_deplibs=yes
10493 libltdl_cv_sys_dlopen_deplibs=yes
10496 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
10497 # it did *not* use an RPATH in a shared library to find objects the
10498 # library depends on, so we explictly say `no'.
10499 libltdl_cv_sys_dlopen_deplibs=no
10501 osf5.0|osf5.0a|osf5.1)
10502 # dlopen *does* load deplibs and with the right loader patch applied
10503 # it even uses RPATH in a shared library to search for shared objects
10504 # that the library depends on, but there's no easy way to know if that
10505 # patch is installed. Since this is the case, all we can really
10506 # say is unknown -- it depends on the patch being installed. If
10507 # it is, this changes to `yes'. Without it, it would be `no'.
10508 libltdl_cv_sys_dlopen_deplibs=unknown
10511 # the two cases above should catch all versions of osf <= 5.1. Read
10512 # the comments above for what we know about them.
10513 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
10514 # is used to find them so we can finally say `yes'.
10515 libltdl_cv_sys_dlopen_deplibs=yes
10518 libltdl_cv_sys_dlopen_deplibs=yes
10520 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10521 libltdl_cv_sys_dlopen_deplibs=yes
10526 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_dlopen_deplibs" >&5
10527 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6; }
10528 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
10530 cat >>confdefs.h <<\_ACEOF
10531 #define LTDL_DLOPEN_DEPLIBS 1
10537 for ac_header in argz.h
10539 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10540 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10541 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
10542 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
10543 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10544 echo $ECHO_N "(cached
) $ECHO_C" >&6
10546 ac_res=`eval echo '${'$as_ac_Header'}'`
10547 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10548 echo "${ECHO_T}$ac_res" >&6; }
10550 # Is the header compilable?
10551 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10552 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
10553 cat >conftest.$ac_ext <<_ACEOF
10556 cat confdefs.h >>conftest.$ac_ext
10557 cat >>conftest.$ac_ext <<_ACEOF
10558 /* end confdefs.h. */
10559 $ac_includes_default
10560 #include <$ac_header>
10562 rm -f conftest.$ac_objext
10563 if { (ac_try="$ac_compile"
10564 case "(($ac_try" in
10565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10566 *) ac_try_echo=$ac_try;;
10568 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10569 (eval "$ac_compile") 2>conftest.er1
10571 grep -v '^ *+' conftest.er1 >conftest.err
10573 cat conftest.err >&5
10574 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10575 (exit $ac_status); } &&
10576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10577 { (case "(($ac_try" in
10578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10579 *) ac_try_echo=$ac_try;;
10581 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10582 (eval "$ac_try") 2>&5
10584 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10585 (exit $ac_status); }; } &&
10586 { ac_try='test -s conftest.$ac_objext'
10587 { (case "(($ac_try" in
10588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10589 *) ac_try_echo=$ac_try;;
10591 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10592 (eval "$ac_try") 2>&5
10594 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10595 (exit $ac_status); }; }; then
10596 ac_header_compiler=yes
10598 echo "$as_me: failed program was
:" >&5
10599 sed 's/^/| /' conftest.$ac_ext >&5
10601 ac_header_compiler=no
10604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10605 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10606 echo "${ECHO_T}$ac_header_compiler" >&6; }
10608 # Is the header present?
10609 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10610 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
10611 cat >conftest.$ac_ext <<_ACEOF
10614 cat confdefs.h >>conftest.$ac_ext
10615 cat >>conftest.$ac_ext <<_ACEOF
10616 /* end confdefs.h. */
10617 #include <$ac_header>
10619 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10620 case "(($ac_try" in
10621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10622 *) ac_try_echo=$ac_try;;
10624 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10625 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10627 grep -v '^ *+' conftest.er1 >conftest.err
10629 cat conftest.err >&5
10630 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10631 (exit $ac_status); } >/dev/null; then
10632 if test -s conftest.err; then
10633 ac_cpp_err=$ac_c_preproc_warn_flag
10634 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10641 if test -z "$ac_cpp_err"; then
10642 ac_header_preproc=yes
10644 echo "$as_me: failed program was
:" >&5
10645 sed 's/^/| /' conftest.$ac_ext >&5
10647 ac_header_preproc=no
10650 rm -f conftest.err conftest.$ac_ext
10651 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10652 echo "${ECHO_T}$ac_header_preproc" >&6; }
10654 # So? What about this header?
10655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10657 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10658 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10659 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10660 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10661 ac_header_preproc=yes
10664 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10665 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10666 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10667 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10668 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10669 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10670 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10671 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10672 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10673 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10674 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10675 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10677 ## ----------------------------------- ##
10678 ## Report this to llvmbugs@cs.uiuc.edu ##
10679 ## ----------------------------------- ##
10681 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
10684 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
10685 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
10686 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10687 echo $ECHO_N "(cached
) $ECHO_C" >&6
10689 eval "$as_ac_Header=\
$ac_header_preproc"
10691 ac_res=`eval echo '${'$as_ac_Header'}'`
10692 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10693 echo "${ECHO_T}$ac_res" >&6; }
10696 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10697 cat >>confdefs.h <<_ACEOF
10698 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10706 { echo "$as_me:$LINENO: checking
for error_t
" >&5
10707 echo $ECHO_N "checking
for error_t...
$ECHO_C" >&6; }
10708 if test "${ac_cv_type_error_t+set}" = set; then
10709 echo $ECHO_N "(cached
) $ECHO_C" >&6
10711 cat >conftest.$ac_ext <<_ACEOF
10714 cat confdefs.h >>conftest.$ac_ext
10715 cat >>conftest.$ac_ext <<_ACEOF
10716 /* end confdefs.h. */
10721 typedef error_t ac__type_new_;
10725 if ((ac__type_new_ *) 0)
10727 if (sizeof (ac__type_new_))
10733 rm -f conftest.$ac_objext
10734 if { (ac_try="$ac_compile"
10735 case "(($ac_try" in
10736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10737 *) ac_try_echo=$ac_try;;
10739 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10740 (eval "$ac_compile") 2>conftest.er1
10742 grep -v '^ *+' conftest.er1 >conftest.err
10744 cat conftest.err >&5
10745 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10746 (exit $ac_status); } &&
10747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10748 { (case "(($ac_try" in
10749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10750 *) ac_try_echo=$ac_try;;
10752 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10753 (eval "$ac_try") 2>&5
10755 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10756 (exit $ac_status); }; } &&
10757 { ac_try='test -s conftest.$ac_objext'
10758 { (case "(($ac_try" in
10759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10760 *) ac_try_echo=$ac_try;;
10762 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10763 (eval "$ac_try") 2>&5
10765 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10766 (exit $ac_status); }; }; then
10767 ac_cv_type_error_t=yes
10769 echo "$as_me: failed program was
:" >&5
10770 sed 's/^/| /' conftest.$ac_ext >&5
10772 ac_cv_type_error_t=no
10775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10777 { echo "$as_me:$LINENO: result
: $ac_cv_type_error_t" >&5
10778 echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
10779 if test $ac_cv_type_error_t = yes; then
10781 cat >>confdefs.h <<_ACEOF
10782 #define HAVE_ERROR_T 1
10788 cat >>confdefs.h <<\_ACEOF
10789 #define error_t int
10800 for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
10802 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
10803 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
10804 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
10805 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
10806 echo $ECHO_N "(cached
) $ECHO_C" >&6
10808 cat >conftest.$ac_ext <<_ACEOF
10811 cat confdefs.h >>conftest.$ac_ext
10812 cat >>conftest.$ac_ext <<_ACEOF
10813 /* end confdefs.h. */
10814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10816 #define $ac_func innocuous_$ac_func
10818 /* System header to define __stub macros and hopefully few prototypes,
10819 which can conflict with char $ac_func (); below.
10820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10821 <limits.h> exists even on freestanding compilers. */
10824 # include <limits.h>
10826 # include <assert.h>
10831 /* Override any GCC internal prototype to avoid an error.
10832 Use char because int might match the return type of a GCC
10833 builtin and then its argument prototype would still apply. */
10838 /* The GNU C library defines this for functions which it implements
10839 to always fail with ENOSYS. Some functions are actually named
10840 something starting with __ and the normal name is an alias. */
10841 #if defined __stub_$ac_func || defined __stub___$ac_func
10848 return $ac_func ();
10853 rm -f conftest.$ac_objext conftest$ac_exeext
10854 if { (ac_try="$ac_link"
10855 case "(($ac_try" in
10856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10857 *) ac_try_echo=$ac_try;;
10859 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10860 (eval "$ac_link") 2>conftest.er1
10862 grep -v '^ *+' conftest.er1 >conftest.err
10864 cat conftest.err >&5
10865 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10866 (exit $ac_status); } &&
10867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10868 { (case "(($ac_try" in
10869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10870 *) ac_try_echo=$ac_try;;
10872 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10873 (eval "$ac_try") 2>&5
10875 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10876 (exit $ac_status); }; } &&
10877 { ac_try='test -s conftest$ac_exeext'
10878 { (case "(($ac_try" in
10879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10880 *) ac_try_echo=$ac_try;;
10882 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10883 (eval "$ac_try") 2>&5
10885 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10886 (exit $ac_status); }; }; then
10887 eval "$as_ac_var=yes"
10889 echo "$as_me: failed program was
:" >&5
10890 sed 's/^/| /' conftest.$ac_ext >&5
10892 eval "$as_ac_var=no
"
10895 rm -f core conftest.err conftest.$ac_objext \
10896 conftest$ac_exeext conftest.$ac_ext
10898 ac_res=`eval echo '${'$as_ac_var'}'`
10899 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10900 echo "${ECHO_T}$ac_res" >&6; }
10901 if test `eval echo '${'$as_ac_var'}'` = yes; then
10902 cat >>confdefs.h <<_ACEOF
10903 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
10936 for ac_header in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
10939 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10940 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10941 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
10942 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
10943 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10944 echo $ECHO_N "(cached
) $ECHO_C" >&6
10946 ac_res=`eval echo '${'$as_ac_Header'}'`
10947 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10948 echo "${ECHO_T}$ac_res" >&6; }
10950 # Is the header compilable?
10951 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10952 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
10953 cat >conftest.$ac_ext <<_ACEOF
10956 cat confdefs.h >>conftest.$ac_ext
10957 cat >>conftest.$ac_ext <<_ACEOF
10958 /* end confdefs.h. */
10959 $ac_includes_default
10960 #include <$ac_header>
10962 rm -f conftest.$ac_objext
10963 if { (ac_try="$ac_compile"
10964 case "(($ac_try" in
10965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10966 *) ac_try_echo=$ac_try;;
10968 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10969 (eval "$ac_compile") 2>conftest.er1
10971 grep -v '^ *+' conftest.er1 >conftest.err
10973 cat conftest.err >&5
10974 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10975 (exit $ac_status); } &&
10976 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10977 { (case "(($ac_try" in
10978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10979 *) ac_try_echo=$ac_try;;
10981 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10982 (eval "$ac_try") 2>&5
10984 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10985 (exit $ac_status); }; } &&
10986 { ac_try='test -s conftest.$ac_objext'
10987 { (case "(($ac_try" in
10988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10989 *) ac_try_echo=$ac_try;;
10991 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10992 (eval "$ac_try") 2>&5
10994 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10995 (exit $ac_status); }; }; then
10996 ac_header_compiler=yes
10998 echo "$as_me: failed program was
:" >&5
10999 sed 's/^/| /' conftest.$ac_ext >&5
11001 ac_header_compiler=no
11004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11005 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11006 echo "${ECHO_T}$ac_header_compiler" >&6; }
11008 # Is the header present?
11009 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11010 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11011 cat >conftest.$ac_ext <<_ACEOF
11014 cat confdefs.h >>conftest.$ac_ext
11015 cat >>conftest.$ac_ext <<_ACEOF
11016 /* end confdefs.h. */
11017 #include <$ac_header>
11019 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11020 case "(($ac_try" in
11021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11022 *) ac_try_echo=$ac_try;;
11024 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11025 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11027 grep -v '^ *+' conftest.er1 >conftest.err
11029 cat conftest.err >&5
11030 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11031 (exit $ac_status); } >/dev/null; then
11032 if test -s conftest.err; then
11033 ac_cpp_err=$ac_c_preproc_warn_flag
11034 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11041 if test -z "$ac_cpp_err"; then
11042 ac_header_preproc=yes
11044 echo "$as_me: failed program was
:" >&5
11045 sed 's/^/| /' conftest.$ac_ext >&5
11047 ac_header_preproc=no
11050 rm -f conftest.err conftest.$ac_ext
11051 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11052 echo "${ECHO_T}$ac_header_preproc" >&6; }
11054 # So? What about this header?
11055 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11057 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11058 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11059 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11060 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11061 ac_header_preproc=yes
11064 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11065 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11066 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11067 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11068 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11069 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11070 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11071 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11072 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11073 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11074 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11075 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11077 ## ----------------------------------- ##
11078 ## Report this to llvmbugs@cs.uiuc.edu ##
11079 ## ----------------------------------- ##
11081 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11084 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11085 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11086 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11087 echo $ECHO_N "(cached
) $ECHO_C" >&6
11089 eval "$as_ac_Header=\
$ac_header_preproc"
11091 ac_res=`eval echo '${'$as_ac_Header'}'`
11092 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11093 echo "${ECHO_T}$ac_res" >&6; }
11096 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11097 cat >>confdefs.h <<_ACEOF
11098 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11109 for ac_header in dl.h sys/dl.h dld.h mach-o/dyld.h
11111 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11112 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11113 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11114 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11115 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11116 echo $ECHO_N "(cached
) $ECHO_C" >&6
11118 ac_res=`eval echo '${'$as_ac_Header'}'`
11119 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11120 echo "${ECHO_T}$ac_res" >&6; }
11122 # Is the header compilable?
11123 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11124 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11125 cat >conftest.$ac_ext <<_ACEOF
11128 cat confdefs.h >>conftest.$ac_ext
11129 cat >>conftest.$ac_ext <<_ACEOF
11130 /* end confdefs.h. */
11131 $ac_includes_default
11132 #include <$ac_header>
11134 rm -f conftest.$ac_objext
11135 if { (ac_try="$ac_compile"
11136 case "(($ac_try" in
11137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11138 *) ac_try_echo=$ac_try;;
11140 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11141 (eval "$ac_compile") 2>conftest.er1
11143 grep -v '^ *+' conftest.er1 >conftest.err
11145 cat conftest.err >&5
11146 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11147 (exit $ac_status); } &&
11148 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11149 { (case "(($ac_try" in
11150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11151 *) ac_try_echo=$ac_try;;
11153 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11154 (eval "$ac_try") 2>&5
11156 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11157 (exit $ac_status); }; } &&
11158 { ac_try='test -s conftest.$ac_objext'
11159 { (case "(($ac_try" in
11160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11161 *) ac_try_echo=$ac_try;;
11163 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11164 (eval "$ac_try") 2>&5
11166 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11167 (exit $ac_status); }; }; then
11168 ac_header_compiler=yes
11170 echo "$as_me: failed program was
:" >&5
11171 sed 's/^/| /' conftest.$ac_ext >&5
11173 ac_header_compiler=no
11176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11177 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11178 echo "${ECHO_T}$ac_header_compiler" >&6; }
11180 # Is the header present?
11181 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11182 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11183 cat >conftest.$ac_ext <<_ACEOF
11186 cat confdefs.h >>conftest.$ac_ext
11187 cat >>conftest.$ac_ext <<_ACEOF
11188 /* end confdefs.h. */
11189 #include <$ac_header>
11191 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11192 case "(($ac_try" in
11193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11194 *) ac_try_echo=$ac_try;;
11196 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11197 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11199 grep -v '^ *+' conftest.er1 >conftest.err
11201 cat conftest.err >&5
11202 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11203 (exit $ac_status); } >/dev/null; then
11204 if test -s conftest.err; then
11205 ac_cpp_err=$ac_c_preproc_warn_flag
11206 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11213 if test -z "$ac_cpp_err"; then
11214 ac_header_preproc=yes
11216 echo "$as_me: failed program was
:" >&5
11217 sed 's/^/| /' conftest.$ac_ext >&5
11219 ac_header_preproc=no
11222 rm -f conftest.err conftest.$ac_ext
11223 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11224 echo "${ECHO_T}$ac_header_preproc" >&6; }
11226 # So? What about this header?
11227 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11229 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11230 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11231 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11232 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11233 ac_header_preproc=yes
11236 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11237 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11238 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11239 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11240 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11241 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11242 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11243 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11244 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11245 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11246 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11247 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11249 ## ----------------------------------- ##
11250 ## Report this to llvmbugs@cs.uiuc.edu ##
11251 ## ----------------------------------- ##
11253 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11256 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11257 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11258 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11259 echo $ECHO_N "(cached
) $ECHO_C" >&6
11261 eval "$as_ac_Header=\
$ac_header_preproc"
11263 ac_res=`eval echo '${'$as_ac_Header'}'`
11264 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11265 echo "${ECHO_T}$ac_res" >&6; }
11268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11269 cat >>confdefs.h <<_ACEOF
11270 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11279 for ac_header in string.h strings.h
11281 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11282 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11283 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11284 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11285 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11286 echo $ECHO_N "(cached
) $ECHO_C" >&6
11288 ac_res=`eval echo '${'$as_ac_Header'}'`
11289 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11290 echo "${ECHO_T}$ac_res" >&6; }
11292 # Is the header compilable?
11293 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11294 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11295 cat >conftest.$ac_ext <<_ACEOF
11298 cat confdefs.h >>conftest.$ac_ext
11299 cat >>conftest.$ac_ext <<_ACEOF
11300 /* end confdefs.h. */
11301 $ac_includes_default
11302 #include <$ac_header>
11304 rm -f conftest.$ac_objext
11305 if { (ac_try="$ac_compile"
11306 case "(($ac_try" in
11307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11308 *) ac_try_echo=$ac_try;;
11310 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11311 (eval "$ac_compile") 2>conftest.er1
11313 grep -v '^ *+' conftest.er1 >conftest.err
11315 cat conftest.err >&5
11316 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11317 (exit $ac_status); } &&
11318 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11319 { (case "(($ac_try" in
11320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11321 *) ac_try_echo=$ac_try;;
11323 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11324 (eval "$ac_try") 2>&5
11326 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11327 (exit $ac_status); }; } &&
11328 { ac_try='test -s conftest.$ac_objext'
11329 { (case "(($ac_try" in
11330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11331 *) ac_try_echo=$ac_try;;
11333 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11334 (eval "$ac_try") 2>&5
11336 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11337 (exit $ac_status); }; }; then
11338 ac_header_compiler=yes
11340 echo "$as_me: failed program was
:" >&5
11341 sed 's/^/| /' conftest.$ac_ext >&5
11343 ac_header_compiler=no
11346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11347 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11348 echo "${ECHO_T}$ac_header_compiler" >&6; }
11350 # Is the header present?
11351 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11352 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11353 cat >conftest.$ac_ext <<_ACEOF
11356 cat confdefs.h >>conftest.$ac_ext
11357 cat >>conftest.$ac_ext <<_ACEOF
11358 /* end confdefs.h. */
11359 #include <$ac_header>
11361 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11362 case "(($ac_try" in
11363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11364 *) ac_try_echo=$ac_try;;
11366 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11367 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11369 grep -v '^ *+' conftest.er1 >conftest.err
11371 cat conftest.err >&5
11372 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11373 (exit $ac_status); } >/dev/null; then
11374 if test -s conftest.err; then
11375 ac_cpp_err=$ac_c_preproc_warn_flag
11376 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11383 if test -z "$ac_cpp_err"; then
11384 ac_header_preproc=yes
11386 echo "$as_me: failed program was
:" >&5
11387 sed 's/^/| /' conftest.$ac_ext >&5
11389 ac_header_preproc=no
11392 rm -f conftest.err conftest.$ac_ext
11393 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11394 echo "${ECHO_T}$ac_header_preproc" >&6; }
11396 # So? What about this header?
11397 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11399 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11400 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11401 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11402 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11403 ac_header_preproc=yes
11406 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11407 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11408 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11409 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11410 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11411 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11412 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11413 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11414 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11415 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11416 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11417 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11419 ## ----------------------------------- ##
11420 ## Report this to llvmbugs@cs.uiuc.edu ##
11421 ## ----------------------------------- ##
11423 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11426 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11427 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11428 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11429 echo $ECHO_N "(cached
) $ECHO_C" >&6
11431 eval "$as_ac_Header=\
$ac_header_preproc"
11433 ac_res=`eval echo '${'$as_ac_Header'}'`
11434 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11435 echo "${ECHO_T}$ac_res" >&6; }
11438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11439 cat >>confdefs.h <<_ACEOF
11440 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11450 for ac_func in strchr index
11452 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11453 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11454 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11455 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11456 echo $ECHO_N "(cached
) $ECHO_C" >&6
11458 cat >conftest.$ac_ext <<_ACEOF
11461 cat confdefs.h >>conftest.$ac_ext
11462 cat >>conftest.$ac_ext <<_ACEOF
11463 /* end confdefs.h. */
11464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11466 #define $ac_func innocuous_$ac_func
11468 /* System header to define __stub macros and hopefully few prototypes,
11469 which can conflict with char $ac_func (); below.
11470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11471 <limits.h> exists even on freestanding compilers. */
11474 # include <limits.h>
11476 # include <assert.h>
11481 /* Override any GCC internal prototype to avoid an error.
11482 Use char because int might match the return type of a GCC
11483 builtin and then its argument prototype would still apply. */
11488 /* The GNU C library defines this for functions which it implements
11489 to always fail with ENOSYS. Some functions are actually named
11490 something starting with __ and the normal name is an alias. */
11491 #if defined __stub_$ac_func || defined __stub___$ac_func
11498 return $ac_func ();
11503 rm -f conftest.$ac_objext conftest$ac_exeext
11504 if { (ac_try="$ac_link"
11505 case "(($ac_try" in
11506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11507 *) ac_try_echo=$ac_try;;
11509 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11510 (eval "$ac_link") 2>conftest.er1
11512 grep -v '^ *+' conftest.er1 >conftest.err
11514 cat conftest.err >&5
11515 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11516 (exit $ac_status); } &&
11517 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11518 { (case "(($ac_try" in
11519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11520 *) ac_try_echo=$ac_try;;
11522 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11523 (eval "$ac_try") 2>&5
11525 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11526 (exit $ac_status); }; } &&
11527 { ac_try='test -s conftest$ac_exeext'
11528 { (case "(($ac_try" in
11529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11530 *) ac_try_echo=$ac_try;;
11532 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11533 (eval "$ac_try") 2>&5
11535 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11536 (exit $ac_status); }; }; then
11537 eval "$as_ac_var=yes"
11539 echo "$as_me: failed program was
:" >&5
11540 sed 's/^/| /' conftest.$ac_ext >&5
11542 eval "$as_ac_var=no
"
11545 rm -f core conftest.err conftest.$ac_objext \
11546 conftest$ac_exeext conftest.$ac_ext
11548 ac_res=`eval echo '${'$as_ac_var'}'`
11549 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11550 echo "${ECHO_T}$ac_res" >&6; }
11551 if test `eval echo '${'$as_ac_var'}'` = yes; then
11552 cat >>confdefs.h <<_ACEOF
11553 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11561 for ac_func in strrchr rindex
11563 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11564 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11565 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11566 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11567 echo $ECHO_N "(cached
) $ECHO_C" >&6
11569 cat >conftest.$ac_ext <<_ACEOF
11572 cat confdefs.h >>conftest.$ac_ext
11573 cat >>conftest.$ac_ext <<_ACEOF
11574 /* end confdefs.h. */
11575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11577 #define $ac_func innocuous_$ac_func
11579 /* System header to define __stub macros and hopefully few prototypes,
11580 which can conflict with char $ac_func (); below.
11581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11582 <limits.h> exists even on freestanding compilers. */
11585 # include <limits.h>
11587 # include <assert.h>
11592 /* Override any GCC internal prototype to avoid an error.
11593 Use char because int might match the return type of a GCC
11594 builtin and then its argument prototype would still apply. */
11599 /* The GNU C library defines this for functions which it implements
11600 to always fail with ENOSYS. Some functions are actually named
11601 something starting with __ and the normal name is an alias. */
11602 #if defined __stub_$ac_func || defined __stub___$ac_func
11609 return $ac_func ();
11614 rm -f conftest.$ac_objext conftest$ac_exeext
11615 if { (ac_try="$ac_link"
11616 case "(($ac_try" in
11617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11618 *) ac_try_echo=$ac_try;;
11620 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11621 (eval "$ac_link") 2>conftest.er1
11623 grep -v '^ *+' conftest.er1 >conftest.err
11625 cat conftest.err >&5
11626 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11627 (exit $ac_status); } &&
11628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11629 { (case "(($ac_try" in
11630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11631 *) ac_try_echo=$ac_try;;
11633 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11634 (eval "$ac_try") 2>&5
11636 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11637 (exit $ac_status); }; } &&
11638 { ac_try='test -s conftest$ac_exeext'
11639 { (case "(($ac_try" in
11640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11641 *) ac_try_echo=$ac_try;;
11643 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11644 (eval "$ac_try") 2>&5
11646 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11647 (exit $ac_status); }; }; then
11648 eval "$as_ac_var=yes"
11650 echo "$as_me: failed program was
:" >&5
11651 sed 's/^/| /' conftest.$ac_ext >&5
11653 eval "$as_ac_var=no
"
11656 rm -f core conftest.err conftest.$ac_objext \
11657 conftest$ac_exeext conftest.$ac_ext
11659 ac_res=`eval echo '${'$as_ac_var'}'`
11660 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11661 echo "${ECHO_T}$ac_res" >&6; }
11662 if test `eval echo '${'$as_ac_var'}'` = yes; then
11663 cat >>confdefs.h <<_ACEOF
11664 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11672 for ac_func in memcpy bcopy
11674 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11675 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11676 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11677 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11678 echo $ECHO_N "(cached
) $ECHO_C" >&6
11680 cat >conftest.$ac_ext <<_ACEOF
11683 cat confdefs.h >>conftest.$ac_ext
11684 cat >>conftest.$ac_ext <<_ACEOF
11685 /* end confdefs.h. */
11686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11688 #define $ac_func innocuous_$ac_func
11690 /* System header to define __stub macros and hopefully few prototypes,
11691 which can conflict with char $ac_func (); below.
11692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11693 <limits.h> exists even on freestanding compilers. */
11696 # include <limits.h>
11698 # include <assert.h>
11703 /* Override any GCC internal prototype to avoid an error.
11704 Use char because int might match the return type of a GCC
11705 builtin and then its argument prototype would still apply. */
11710 /* The GNU C library defines this for functions which it implements
11711 to always fail with ENOSYS. Some functions are actually named
11712 something starting with __ and the normal name is an alias. */
11713 #if defined __stub_$ac_func || defined __stub___$ac_func
11720 return $ac_func ();
11725 rm -f conftest.$ac_objext conftest$ac_exeext
11726 if { (ac_try="$ac_link"
11727 case "(($ac_try" in
11728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11729 *) ac_try_echo=$ac_try;;
11731 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11732 (eval "$ac_link") 2>conftest.er1
11734 grep -v '^ *+' conftest.er1 >conftest.err
11736 cat conftest.err >&5
11737 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11738 (exit $ac_status); } &&
11739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11740 { (case "(($ac_try" in
11741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11742 *) ac_try_echo=$ac_try;;
11744 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11745 (eval "$ac_try") 2>&5
11747 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11748 (exit $ac_status); }; } &&
11749 { ac_try='test -s conftest$ac_exeext'
11750 { (case "(($ac_try" in
11751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11752 *) ac_try_echo=$ac_try;;
11754 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11755 (eval "$ac_try") 2>&5
11757 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11758 (exit $ac_status); }; }; then
11759 eval "$as_ac_var=yes"
11761 echo "$as_me: failed program was
:" >&5
11762 sed 's/^/| /' conftest.$ac_ext >&5
11764 eval "$as_ac_var=no
"
11767 rm -f core conftest.err conftest.$ac_objext \
11768 conftest$ac_exeext conftest.$ac_ext
11770 ac_res=`eval echo '${'$as_ac_var'}'`
11771 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11772 echo "${ECHO_T}$ac_res" >&6; }
11773 if test `eval echo '${'$as_ac_var'}'` = yes; then
11774 cat >>confdefs.h <<_ACEOF
11775 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11783 for ac_func in memmove strcmp
11785 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11786 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11787 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11788 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11789 echo $ECHO_N "(cached
) $ECHO_C" >&6
11791 cat >conftest.$ac_ext <<_ACEOF
11794 cat confdefs.h >>conftest.$ac_ext
11795 cat >>conftest.$ac_ext <<_ACEOF
11796 /* end confdefs.h. */
11797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11799 #define $ac_func innocuous_$ac_func
11801 /* System header to define __stub macros and hopefully few prototypes,
11802 which can conflict with char $ac_func (); below.
11803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11804 <limits.h> exists even on freestanding compilers. */
11807 # include <limits.h>
11809 # include <assert.h>
11814 /* Override any GCC internal prototype to avoid an error.
11815 Use char because int might match the return type of a GCC
11816 builtin and then its argument prototype would still apply. */
11821 /* The GNU C library defines this for functions which it implements
11822 to always fail with ENOSYS. Some functions are actually named
11823 something starting with __ and the normal name is an alias. */
11824 #if defined __stub_$ac_func || defined __stub___$ac_func
11831 return $ac_func ();
11836 rm -f conftest.$ac_objext conftest$ac_exeext
11837 if { (ac_try="$ac_link"
11838 case "(($ac_try" in
11839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11840 *) ac_try_echo=$ac_try;;
11842 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11843 (eval "$ac_link") 2>conftest.er1
11845 grep -v '^ *+' conftest.er1 >conftest.err
11847 cat conftest.err >&5
11848 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11849 (exit $ac_status); } &&
11850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11851 { (case "(($ac_try" in
11852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11853 *) ac_try_echo=$ac_try;;
11855 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11856 (eval "$ac_try") 2>&5
11858 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11859 (exit $ac_status); }; } &&
11860 { ac_try='test -s conftest$ac_exeext'
11861 { (case "(($ac_try" in
11862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11863 *) ac_try_echo=$ac_try;;
11865 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11866 (eval "$ac_try") 2>&5
11868 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11869 (exit $ac_status); }; }; then
11870 eval "$as_ac_var=yes"
11872 echo "$as_me: failed program was
:" >&5
11873 sed 's/^/| /' conftest.$ac_ext >&5
11875 eval "$as_ac_var=no
"
11878 rm -f core conftest.err conftest.$ac_objext \
11879 conftest$ac_exeext conftest.$ac_ext
11881 ac_res=`eval echo '${'$as_ac_var'}'`
11882 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11883 echo "${ECHO_T}$ac_res" >&6; }
11884 if test `eval echo '${'$as_ac_var'}'` = yes; then
11885 cat >>confdefs.h <<_ACEOF
11886 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11895 for ac_func in closedir opendir readdir
11897 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11898 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11899 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11900 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11901 echo $ECHO_N "(cached
) $ECHO_C" >&6
11903 cat >conftest.$ac_ext <<_ACEOF
11906 cat confdefs.h >>conftest.$ac_ext
11907 cat >>conftest.$ac_ext <<_ACEOF
11908 /* end confdefs.h. */
11909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11911 #define $ac_func innocuous_$ac_func
11913 /* System header to define __stub macros and hopefully few prototypes,
11914 which can conflict with char $ac_func (); below.
11915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11916 <limits.h> exists even on freestanding compilers. */
11919 # include <limits.h>
11921 # include <assert.h>
11926 /* Override any GCC internal prototype to avoid an error.
11927 Use char because int might match the return type of a GCC
11928 builtin and then its argument prototype would still apply. */
11933 /* The GNU C library defines this for functions which it implements
11934 to always fail with ENOSYS. Some functions are actually named
11935 something starting with __ and the normal name is an alias. */
11936 #if defined __stub_$ac_func || defined __stub___$ac_func
11943 return $ac_func ();
11948 rm -f conftest.$ac_objext conftest$ac_exeext
11949 if { (ac_try="$ac_link"
11950 case "(($ac_try" in
11951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11952 *) ac_try_echo=$ac_try;;
11954 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11955 (eval "$ac_link") 2>conftest.er1
11957 grep -v '^ *+' conftest.er1 >conftest.err
11959 cat conftest.err >&5
11960 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11961 (exit $ac_status); } &&
11962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11963 { (case "(($ac_try" in
11964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11965 *) ac_try_echo=$ac_try;;
11967 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11968 (eval "$ac_try") 2>&5
11970 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11971 (exit $ac_status); }; } &&
11972 { ac_try='test -s conftest$ac_exeext'
11973 { (case "(($ac_try" in
11974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11975 *) ac_try_echo=$ac_try;;
11977 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11978 (eval "$ac_try") 2>&5
11980 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11981 (exit $ac_status); }; }; then
11982 eval "$as_ac_var=yes"
11984 echo "$as_me: failed program was
:" >&5
11985 sed 's/^/| /' conftest.$ac_ext >&5
11987 eval "$as_ac_var=no
"
11990 rm -f core conftest.err conftest.$ac_objext \
11991 conftest$ac_exeext conftest.$ac_ext
11993 ac_res=`eval echo '${'$as_ac_var'}'`
11994 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11995 echo "${ECHO_T}$ac_res" >&6; }
11996 if test `eval echo '${'$as_ac_var'}'` = yes; then
11997 cat >>confdefs.h <<_ACEOF
11998 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12005 # Check whether --enable-shared was given.
12006 if test "${enable_shared+set}" = set; then
12007 enableval=$enable_shared; p=${PACKAGE-default}
12009 yes) enable_shared=yes ;;
12010 no) enable_shared=no ;;
12013 # Look at the argument we got. We use all the common list separators.
12014 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12015 for pkg in $enableval; do
12017 if test "X
$pkg" = "X
$p"; then
12029 # Check whether --enable-static was given.
12030 if test "${enable_static+set}" = set; then
12031 enableval=$enable_static; p=${PACKAGE-default}
12033 yes) enable_static=yes ;;
12034 no) enable_static=no ;;
12037 # Look at the argument we got. We use all the common list separators.
12038 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12039 for pkg in $enableval; do
12041 if test "X
$pkg" = "X
$p"; then
12053 # Check whether --enable-fast-install was given.
12054 if test "${enable_fast_install+set}" = set; then
12055 enableval=$enable_fast_install; p=${PACKAGE-default}
12057 yes) enable_fast_install=yes ;;
12058 no) enable_fast_install=no ;;
12060 enable_fast_install=no
12061 # Look at the argument we got. We use all the common list separators.
12062 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12063 for pkg in $enableval; do
12065 if test "X
$pkg" = "X
$p"; then
12066 enable_fast_install=yes
12073 enable_fast_install=yes
12077 { echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
12078 echo $ECHO_N "checking
for a
sed that does not truncate output...
$ECHO_C" >&6; }
12079 if test "${lt_cv_path_SED+set}" = set; then
12080 echo $ECHO_N "(cached
) $ECHO_C" >&6
12082 # Loop through the user's path and test for sed and gsed.
12083 # Then use that list of sed's as ones to test for truncation.
12084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12085 for as_dir in $PATH
12088 test -z "$as_dir" && as_dir=.
12089 for lt_ac_prog in sed gsed; do
12090 for ac_exec_ext in '' $ac_executable_extensions; do
12091 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
12092 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
12099 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
12100 # along with /bin/sed that truncates output.
12101 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
12102 test ! -f $lt_ac_sed && continue
12103 cat /dev/null > conftest.in
12105 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
12106 # Check for GNU sed and select it if it is found.
12107 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
12108 lt_cv_path_SED=$lt_ac_sed
12112 cat conftest.in conftest.in >conftest.tmp
12113 mv conftest.tmp conftest.in
12114 cp conftest.in conftest.nl
12116 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
12117 cmp -s conftest.out conftest.nl || break
12118 # 10000 chars as input seems more than enough
12119 test $lt_ac_count -gt 10 && break
12120 lt_ac_count=`expr $lt_ac_count + 1`
12121 if test $lt_ac_count -gt $lt_ac_max; then
12122 lt_ac_max=$lt_ac_count
12123 lt_cv_path_SED=$lt_ac_sed
12130 SED=$lt_cv_path_SED
12131 { echo "$as_me:$LINENO: result
: $SED" >&5
12132 echo "${ECHO_T}$SED" >&6; }
12135 # Check whether --with-gnu-ld was given.
12136 if test "${with_gnu_ld+set}" = set; then
12137 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12143 if test "$GCC" = yes; then
12144 # Check if gcc -print-prog-name=ld gives a path.
12145 { echo "$as_me:$LINENO: checking
for ld used by
$CC" >&5
12146 echo $ECHO_N "checking
for ld used by
$CC...
$ECHO_C" >&6; }
12149 # gcc leaves a trailing carriage return which upsets mingw
12150 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12152 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12155 # Accept absolute paths.
12157 re_direlt='/[^/][^/]*/\.\./'
12158 # Canonicalize the pathname of ld
12159 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12160 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12161 ac_prog=`echo $ac_prog| $SED "s
%$re_direlt%/%"`
12163 test -z "$LD" && LD="$ac_prog"
12166 # If it fails, then pretend we aren't using GCC.
12170 # If it is relative, then search for the first ld in PATH.
12171 with_gnu_ld=unknown
12174 elif test "$with_gnu_ld" = yes; then
12175 { echo "$as_me:$LINENO: checking
for GNU ld
" >&5
12176 echo $ECHO_N "checking
for GNU ld...
$ECHO_C" >&6; }
12178 { echo "$as_me:$LINENO: checking
for non-GNU ld
" >&5
12179 echo $ECHO_N "checking
for non-GNU ld...
$ECHO_C" >&6; }
12181 if test "${lt_cv_path_LD+set}" = set; then
12182 echo $ECHO_N "(cached
) $ECHO_C" >&6
12184 if test -z "$LD"; then
12185 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12186 for ac_dir in $PATH; do
12188 test -z "$ac_dir" && ac_dir=.
12189 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12190 lt_cv_path_LD="$ac_dir/$ac_prog"
12191 # Check to see if the program is GNU ld. I'd rather use --version,
12192 # but apparently some variants of GNU ld only accept -v.
12193 # Break only if it was the GNU/non-GNU ld that we prefer.
12194 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12195 *GNU* | *'with BFD'*)
12196 test "$with_gnu_ld" != no && break
12199 test "$with_gnu_ld" != yes && break
12206 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12210 LD="$lt_cv_path_LD"
12211 if test -n "$LD"; then
12212 { echo "$as_me:$LINENO: result
: $LD" >&5
12213 echo "${ECHO_T}$LD" >&6; }
12215 { echo "$as_me:$LINENO: result
: no
" >&5
12216 echo "${ECHO_T}no
" >&6; }
12218 test -z "$LD" && { { echo "$as_me:$LINENO: error
: no acceptable ld found
in \
$PATH" >&5
12219 echo "$as_me: error
: no acceptable ld found
in \
$PATH" >&2;}
12220 { (exit 1); exit 1; }; }
12221 { echo "$as_me:$LINENO: checking
if the linker
($LD) is GNU ld
" >&5
12222 echo $ECHO_N "checking
if the linker
($LD) is GNU ld...
$ECHO_C" >&6; }
12223 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12224 echo $ECHO_N "(cached
) $ECHO_C" >&6
12226 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12227 case `$LD -v 2>&1 </dev/null` in
12228 *GNU* | *'with BFD'*)
12229 lt_cv_prog_gnu_ld=yes
12232 lt_cv_prog_gnu_ld=no
12236 { echo "$as_me:$LINENO: result
: $lt_cv_prog_gnu_ld" >&5
12237 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12238 with_gnu_ld=$lt_cv_prog_gnu_ld
12241 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
12242 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
12243 if test "${lt_cv_ld_reload_flag+set}" = set; then
12244 echo $ECHO_N "(cached
) $ECHO_C" >&6
12246 lt_cv_ld_reload_flag='-r'
12248 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
12249 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
12250 reload_flag=$lt_cv_ld_reload_flag
12251 case $reload_flag in
12253 *) reload_flag=" $reload_flag" ;;
12255 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12258 if test "$GCC" = yes; then
12259 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r $compiler_flags -o $output$reload_objs'
12261 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12266 { echo "$as_me:$LINENO: checking how to recognise dependent libraries
" >&5
12267 echo $ECHO_N "checking how to recognise dependent libraries...
$ECHO_C" >&6; }
12268 if test "${lt_cv_deplibs_check_method+set}" = set; then
12269 echo $ECHO_N "(cached
) $ECHO_C" >&6
12271 lt_cv_file_magic_cmd='$MAGIC_CMD'
12272 lt_cv_file_magic_test_file=
12273 lt_cv_deplibs_check_method='unknown'
12274 # Need to set the preceding variable on all platforms that support
12275 # interlibrary dependencies.
12276 # 'none' -- dependencies not supported.
12277 # `unknown' -- same as none, but documents that we really don't know.
12278 # 'pass_all' -- all dependencies passed with no checks.
12279 # 'test_compile' -- check by making test program.
12280 # 'file_magic [[regex]]' -- check by looking for files in library path
12281 # which responds to the $file_magic_cmd with a given extended regex.
12282 # If you have `file' or equivalent on your system and you're not sure
12283 # whether `pass_all' will *always* work, you probably want this one.
12287 lt_cv_deplibs_check_method=pass_all
12291 lt_cv_deplibs_check_method=pass_all
12295 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
12296 lt_cv_file_magic_cmd='/usr/bin/file -L'
12297 lt_cv_file_magic_test_file=/shlib/libc.so
12301 # func_win32_libid is a shell function defined in ltmain.sh
12302 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12303 lt_cv_file_magic_cmd='func_win32_libid'
12307 # Base MSYS/MinGW do not provide the 'file' command needed by
12308 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
12309 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
12310 lt_cv_file_magic_cmd='$OBJDUMP -f'
12313 darwin* | rhapsody*)
12314 lt_cv_deplibs_check_method=pass_all
12317 freebsd* | kfreebsd*-gnu | dragonfly*)
12318 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12321 # Not sure whether the presence of OpenBSD here was a mistake.
12322 # Let's accept both of them until this is cleared up.
12323 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
12324 lt_cv_file_magic_cmd=/usr/bin/file
12325 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12329 lt_cv_deplibs_check_method=pass_all
12334 lt_cv_deplibs_check_method=pass_all
12337 hpux10.20* | hpux11*)
12338 lt_cv_file_magic_cmd=/usr/bin/file
12341 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
12342 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
12345 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]'
12346 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
12349 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
12350 lt_cv_file_magic_test_file=/usr/lib/libc.sl
12356 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
12357 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
12360 irix5* | irix6* | nonstopux*)
12362 *-32|*"-32 ") libmagic=32-bit;;
12363 *-n32|*"-n32 ") libmagic=N32;;
12364 *-64|*"-64 ") libmagic=64-bit;;
12365 *) libmagic=never-match;;
12367 lt_cv_deplibs_check_method=pass_all
12370 # This must be Linux ELF.
12372 lt_cv_deplibs_check_method=pass_all
12376 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12377 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12379 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
12384 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
12385 lt_cv_file_magic_cmd=/usr/bin/file
12386 lt_cv_file_magic_test_file=/usr/lib/libnls.so
12390 lt_cv_deplibs_check_method=unknown
12394 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
12395 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
12397 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12401 osf3* | osf4* | osf5*)
12402 lt_cv_deplibs_check_method=pass_all
12406 lt_cv_deplibs_check_method=pass_all
12410 case $host_vendor in
12412 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]'
12413 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
12416 lt_cv_deplibs_check_method=pass_all
12419 lt_cv_file_magic_cmd='/bin/file'
12420 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
12423 lt_cv_file_magic_cmd='/bin/file'
12424 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
12425 lt_cv_file_magic_test_file=/lib/libc.so
12428 lt_cv_deplibs_check_method=pass_all
12431 lt_cv_deplibs_check_method=pass_all
12436 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12437 lt_cv_deplibs_check_method=pass_all
12442 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
12443 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
12444 file_magic_cmd=$lt_cv_file_magic_cmd
12445 deplibs_check_method=$lt_cv_deplibs_check_method
12446 test -z "$deplibs_check_method" && deplibs_check_method=unknown
12450 # If no C compiler was specified, use CC.
12453 # If no C compiler flags were specified, use CFLAGS.
12454 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12456 # Allow CC to be a program name with arguments.
12459 # Check whether --enable-libtool-lock was given.
12460 if test "${enable_libtool_lock+set}" = set; then
12461 enableval=$enable_libtool_lock;
12464 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
12466 # Some flags need to be propagated to the compiler or linker for good
12470 # Find out which ABI we are using.
12471 echo 'int i;' > conftest.$ac_ext
12472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12473 (eval $ac_compile) 2>&5
12475 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12476 (exit $ac_status); }; then
12477 case `/usr/bin/file conftest.$ac_objext` in
12479 HPUX_IA64_MODE="32"
12482 HPUX_IA64_MODE="64"
12489 # Find out which ABI we are using.
12490 echo '#line 12490 "configure
"' > conftest.$ac_ext
12491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12492 (eval $ac_compile) 2>&5
12494 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12495 (exit $ac_status); }; then
12496 if test "$lt_cv_prog_gnu_ld" = yes; then
12497 case `/usr/bin/file conftest.$ac_objext` in
12499 LD="${LD-ld} -melf32bsmip"
12502 LD="${LD-ld} -melf32bmipn32"
12505 LD="${LD-ld} -melf64bmip"
12509 case `/usr/bin/file conftest.$ac_objext` in
12525 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
12526 # Find out which ABI we are using.
12527 echo 'int i;' > conftest.$ac_ext
12528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12529 (eval $ac_compile) 2>&5
12531 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12532 (exit $ac_status); }; then
12533 case `/usr/bin/file conftest.o` in
12537 LD="${LD-ld} -m elf_i386
"
12539 ppc64-*linux*|powerpc64-*linux*)
12540 LD="${LD-ld} -m elf32ppclinux
"
12543 LD="${LD-ld} -m elf_s390
"
12546 LD="${LD-ld} -m elf32_sparc
"
12553 LD="${LD-ld} -m elf_x86_64
"
12555 ppc*-*linux*|powerpc*-*linux*)
12556 LD="${LD-ld} -m elf64ppc
"
12559 LD="${LD-ld} -m elf64_s390
"
12562 LD="${LD-ld} -m elf64_sparc
"
12572 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
12573 SAVE_CFLAGS="$CFLAGS"
12574 CFLAGS="$CFLAGS -belf"
12575 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
12576 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
12577 if test "${lt_cv_cc_needs_belf+set}" = set; then
12578 echo $ECHO_N "(cached
) $ECHO_C" >&6
12581 ac_cpp='$CPP $CPPFLAGS'
12582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12586 cat >conftest.$ac_ext <<_ACEOF
12589 cat confdefs.h >>conftest.$ac_ext
12590 cat >>conftest.$ac_ext <<_ACEOF
12591 /* end confdefs.h. */
12601 rm -f conftest.$ac_objext conftest$ac_exeext
12602 if { (ac_try="$ac_link"
12603 case "(($ac_try" in
12604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12605 *) ac_try_echo=$ac_try;;
12607 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12608 (eval "$ac_link") 2>conftest.er1
12610 grep -v '^ *+' conftest.er1 >conftest.err
12612 cat conftest.err >&5
12613 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12614 (exit $ac_status); } &&
12615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12616 { (case "(($ac_try" in
12617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12618 *) ac_try_echo=$ac_try;;
12620 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12621 (eval "$ac_try") 2>&5
12623 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12624 (exit $ac_status); }; } &&
12625 { ac_try='test -s conftest$ac_exeext'
12626 { (case "(($ac_try" in
12627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12628 *) ac_try_echo=$ac_try;;
12630 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12631 (eval "$ac_try") 2>&5
12633 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12634 (exit $ac_status); }; }; then
12635 lt_cv_cc_needs_belf=yes
12637 echo "$as_me: failed program was
:" >&5
12638 sed 's/^/| /' conftest.$ac_ext >&5
12640 lt_cv_cc_needs_belf=no
12643 rm -f core conftest.err conftest.$ac_objext \
12644 conftest$ac_exeext conftest.$ac_ext
12646 ac_cpp='$CPP $CPPFLAGS'
12647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12652 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
12653 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
12654 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
12655 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
12656 CFLAGS="$SAVE_CFLAGS"
12660 # Find out which ABI we are using.
12661 echo 'int i;' > conftest.$ac_ext
12662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12663 (eval $ac_compile) 2>&5
12665 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12666 (exit $ac_status); }; then
12667 case `/usr/bin/file conftest.o` in
12669 case $lt_cv_prog_gnu_ld in
12670 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
12671 *) LD="${LD-ld} -64" ;;
12682 need_locks="$enable_libtool_lock"
12687 if test -n "$CXX" && ( test "X
$CXX" != "Xno
" &&
12688 ( (test "X
$CXX" = "Xg
++" && `g++ -v >/dev/null 2>&1` ) ||
12689 (test "X
$CXX" != "Xg
++"))) ; then
12691 ac_cpp='$CXXCPP $CPPFLAGS'
12692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12695 { echo "$as_me:$LINENO: checking how to run the C
++ preprocessor
" >&5
12696 echo $ECHO_N "checking how to run the C
++ preprocessor...
$ECHO_C" >&6; }
12697 if test -z "$CXXCPP"; then
12698 if test "${ac_cv_prog_CXXCPP+set}" = set; then
12699 echo $ECHO_N "(cached
) $ECHO_C" >&6
12701 # Double quotes because CXXCPP needs to be expanded
12702 for CXXCPP in "$CXX -E" "/lib
/cpp
"
12704 ac_preproc_ok=false
12705 for ac_cxx_preproc_warn_flag in '' yes
12707 # Use a header file that comes with gcc, so configuring glibc
12708 # with a fresh cross-compiler works.
12709 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12710 # <limits.h> exists even on freestanding compilers.
12711 # On the NeXT, cc -E runs the code through the compiler's parser,
12712 # not just through cpp. "Syntax error
" is here to catch this case.
12713 cat >conftest.$ac_ext <<_ACEOF
12716 cat confdefs.h >>conftest.$ac_ext
12717 cat >>conftest.$ac_ext <<_ACEOF
12718 /* end confdefs.h. */
12720 # include <limits.h>
12722 # include <assert.h>
12726 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12727 case "(($ac_try" in
12728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12729 *) ac_try_echo=$ac_try;;
12731 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12732 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12734 grep -v '^ *+' conftest.er1 >conftest.err
12736 cat conftest.err >&5
12737 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12738 (exit $ac_status); } >/dev/null; then
12739 if test -s conftest.err; then
12740 ac_cpp_err=$ac_cxx_preproc_warn_flag
12741 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12748 if test -z "$ac_cpp_err"; then
12751 echo "$as_me: failed program was
:" >&5
12752 sed 's/^/| /' conftest.$ac_ext >&5
12754 # Broken: fails on valid input.
12758 rm -f conftest.err conftest.$ac_ext
12760 # OK, works on sane cases. Now check whether nonexistent headers
12761 # can be detected and how.
12762 cat >conftest.$ac_ext <<_ACEOF
12765 cat confdefs.h >>conftest.$ac_ext
12766 cat >>conftest.$ac_ext <<_ACEOF
12767 /* end confdefs.h. */
12768 #include <ac_nonexistent.h>
12770 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12771 case "(($ac_try" in
12772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12773 *) ac_try_echo=$ac_try;;
12775 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12776 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12778 grep -v '^ *+' conftest.er1 >conftest.err
12780 cat conftest.err >&5
12781 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12782 (exit $ac_status); } >/dev/null; then
12783 if test -s conftest.err; then
12784 ac_cpp_err=$ac_cxx_preproc_warn_flag
12785 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12792 if test -z "$ac_cpp_err"; then
12793 # Broken: success on invalid input.
12796 echo "$as_me: failed program was
:" >&5
12797 sed 's/^/| /' conftest.$ac_ext >&5
12799 # Passes both tests.
12804 rm -f conftest.err conftest.$ac_ext
12807 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12808 rm -f conftest.err conftest.$ac_ext
12809 if $ac_preproc_ok; then
12814 ac_cv_prog_CXXCPP=$CXXCPP
12817 CXXCPP=$ac_cv_prog_CXXCPP
12819 ac_cv_prog_CXXCPP=$CXXCPP
12821 { echo "$as_me:$LINENO: result
: $CXXCPP" >&5
12822 echo "${ECHO_T}$CXXCPP" >&6; }
12823 ac_preproc_ok=false
12824 for ac_cxx_preproc_warn_flag in '' yes
12826 # Use a header file that comes with gcc, so configuring glibc
12827 # with a fresh cross-compiler works.
12828 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12829 # <limits.h> exists even on freestanding compilers.
12830 # On the NeXT, cc -E runs the code through the compiler's parser,
12831 # not just through cpp. "Syntax error
" is here to catch this case.
12832 cat >conftest.$ac_ext <<_ACEOF
12835 cat confdefs.h >>conftest.$ac_ext
12836 cat >>conftest.$ac_ext <<_ACEOF
12837 /* end confdefs.h. */
12839 # include <limits.h>
12841 # include <assert.h>
12845 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12846 case "(($ac_try" in
12847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12848 *) ac_try_echo=$ac_try;;
12850 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12851 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12853 grep -v '^ *+' conftest.er1 >conftest.err
12855 cat conftest.err >&5
12856 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12857 (exit $ac_status); } >/dev/null; then
12858 if test -s conftest.err; then
12859 ac_cpp_err=$ac_cxx_preproc_warn_flag
12860 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12867 if test -z "$ac_cpp_err"; then
12870 echo "$as_me: failed program was
:" >&5
12871 sed 's/^/| /' conftest.$ac_ext >&5
12873 # Broken: fails on valid input.
12877 rm -f conftest.err conftest.$ac_ext
12879 # OK, works on sane cases. Now check whether nonexistent headers
12880 # can be detected and how.
12881 cat >conftest.$ac_ext <<_ACEOF
12884 cat confdefs.h >>conftest.$ac_ext
12885 cat >>conftest.$ac_ext <<_ACEOF
12886 /* end confdefs.h. */
12887 #include <ac_nonexistent.h>
12889 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12890 case "(($ac_try" in
12891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12892 *) ac_try_echo=$ac_try;;
12894 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12895 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12897 grep -v '^ *+' conftest.er1 >conftest.err
12899 cat conftest.err >&5
12900 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12901 (exit $ac_status); } >/dev/null; then
12902 if test -s conftest.err; then
12903 ac_cpp_err=$ac_cxx_preproc_warn_flag
12904 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12911 if test -z "$ac_cpp_err"; then
12912 # Broken: success on invalid input.
12915 echo "$as_me: failed program was
:" >&5
12916 sed 's/^/| /' conftest.$ac_ext >&5
12918 # Passes both tests.
12923 rm -f conftest.err conftest.$ac_ext
12926 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12927 rm -f conftest.err conftest.$ac_ext
12928 if $ac_preproc_ok; then
12931 { { echo "$as_me:$LINENO: error
: C
++ preprocessor
\"$CXXCPP\" fails sanity check
12932 See \
`config.log' for more details." >&5
12933 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
12934 See \`config.log
' for more details." >&2;}
12935 { (exit 1); exit 1; }; }
12939 ac_cpp='$CXXCPP $CPPFLAGS'
12940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12941 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12948 ac_compile='$F77 -c $FFLAGS conftest.
$ac_ext >&5'
12949 ac_link='$F77 -o conftest
$ac_exeext $FFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12950 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12951 if test -n "$ac_tool_prefix"; then
12952 for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
12954 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12955 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12958 if test "${ac_cv_prog_F77+set}" = set; then
12959 echo $ECHO_N "(cached) $ECHO_C" >&6
12961 if test -n "$F77"; then
12962 ac_cv_prog_F77="$F77" # Let the user override the test.
12964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12965 for as_dir in $PATH
12968 test -z "$as_dir" && as_dir=.
12969 for ac_exec_ext in '' $ac_executable_extensions; do
12970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12971 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
12972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12981 F77=$ac_cv_prog_F77
12982 if test -n "$F77"; then
12983 { echo "$as_me:$LINENO: result: $F77" >&5
12984 echo "${ECHO_T}$F77" >&6; }
12986 { echo "$as_me:$LINENO: result: no" >&5
12987 echo "${ECHO_T}no" >&6; }
12991 test -n "$F77" && break
12994 if test -z "$F77"; then
12996 for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
12998 # Extract the first word of "$ac_prog", so it can be a program name with args.
12999 set dummy $ac_prog; ac_word=$2
13000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13002 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
13003 echo $ECHO_N "(cached) $ECHO_C" >&6
13005 if test -n "$ac_ct_F77"; then
13006 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
13008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13009 for as_dir in $PATH
13012 test -z "$as_dir" && as_dir=.
13013 for ac_exec_ext in '' $ac_executable_extensions; do
13014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13015 ac_cv_prog_ac_ct_F77="$ac_prog"
13016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13025 ac_ct_F77=$ac_cv_prog_ac_ct_F77
13026 if test -n "$ac_ct_F77"; then
13027 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
13028 echo "${ECHO_T}$ac_ct_F77" >&6; }
13030 { echo "$as_me:$LINENO: result: no" >&5
13031 echo "${ECHO_T}no" >&6; }
13035 test -n "$ac_ct_F77" && break
13038 if test "x$ac_ct_F77" = x; then
13041 case $cross_compiling:$ac_tool_warned in
13043 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13044 whose name does not start with the host triplet. If you think this
13045 configuration is useful to you, please write to autoconf@gnu.org." >&5
13046 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13047 whose name does not start with the host triplet. If you think this
13048 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13049 ac_tool_warned=yes ;;
13056 # Provide some information about the compiler.
13057 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
13058 ac_compiler=`set X $ac_compile; echo $2`
13059 { (ac_try="$ac_compiler --version >&5"
13060 case "(($ac_try" in
13061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13062 *) ac_try_echo=$ac_try;;
13064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13065 (eval "$ac_compiler --version >&5") 2>&5
13067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13068 (exit $ac_status); }
13069 { (ac_try="$ac_compiler -v >&5"
13070 case "(($ac_try" in
13071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13072 *) ac_try_echo=$ac_try;;
13074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13075 (eval "$ac_compiler -v >&5") 2>&5
13077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13078 (exit $ac_status); }
13079 { (ac_try="$ac_compiler -V >&5"
13080 case "(($ac_try" in
13081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13082 *) ac_try_echo=$ac_try;;
13084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13085 (eval "$ac_compiler -V >&5") 2>&5
13087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13088 (exit $ac_status); }
13091 # If we don't use
`.F' as extension, the preprocessor is not run on the
13092 # input file. (Note that this only needs to work for GNU compilers.)
13093 ac_save_ext=$ac_ext
13095 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
13096 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
13097 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
13098 echo $ECHO_N "(cached) $ECHO_C" >&6
13100 cat >conftest.$ac_ext <<_ACEOF
13108 rm -f conftest.$ac_objext
13109 if { (ac_try="$ac_compile"
13110 case "(($ac_try" in
13111 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13112 *) ac_try_echo
=$ac_try;;
13114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13115 (eval "$ac_compile") 2>conftest.er1
13117 grep -v '^ *+' conftest.er1
>conftest.err
13119 cat conftest.err
>&5
13120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13121 (exit $ac_status); } &&
13122 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13123 { (case "(($ac_try" in
13124 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13125 *) ac_try_echo=$ac_try;;
13127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13128 (eval "$ac_try") 2>&5
13130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13131 (exit $ac_status); }; } &&
13132 { ac_try='test -s conftest.$ac_objext'
13133 { (case "(($ac_try" in
13134 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13135 *) ac_try_echo
=$ac_try;;
13137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13138 (eval "$ac_try") 2>&5
13140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13141 (exit $ac_status); }; }; then
13142 ac_compiler_gnu
=yes
13144 echo "$as_me: failed program was:" >&5
13145 sed 's/^/| /' conftest.
$ac_ext >&5
13150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13151 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
13154 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
13155 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
13156 ac_ext
=$ac_save_ext
13157 ac_test_FFLAGS
=${FFLAGS+set}
13158 ac_save_FFLAGS
=$FFLAGS
13160 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
13161 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
13162 if test "${ac_cv_prog_f77_g+set}" = set; then
13163 echo $ECHO_N "(cached) $ECHO_C" >&6
13166 cat >conftest.
$ac_ext <<_ACEOF
13171 rm -f conftest.
$ac_objext
13172 if { (ac_try
="$ac_compile"
13173 case "(($ac_try" in
13174 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13175 *) ac_try_echo=$ac_try;;
13177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13178 (eval "$ac_compile") 2>conftest.er1
13180 grep -v '^ *+' conftest.er1 >conftest.err
13182 cat conftest.err >&5
13183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13184 (exit $ac_status); } &&
13185 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13186 { (case "(($ac_try" in
13187 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13188 *) ac_try_echo
=$ac_try;;
13190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13191 (eval "$ac_try") 2>&5
13193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13194 (exit $ac_status); }; } &&
13195 { ac_try
='test -s conftest.$ac_objext'
13196 { (case "(($ac_try" in
13197 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13198 *) ac_try_echo=$ac_try;;
13200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13201 (eval "$ac_try") 2>&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); }; }; then
13205 ac_cv_prog_f77_g=yes
13207 echo "$as_me: failed program was:" >&5
13208 sed 's/^/| /' conftest.$ac_ext >&5
13210 ac_cv_prog_f77_g=no
13213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13216 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
13217 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
13218 if test "$ac_test_FFLAGS" = set; then
13219 FFLAGS=$ac_save_FFLAGS
13220 elif test $ac_cv_prog_f77_g = yes; then
13221 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13227 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13234 G77=`test $ac_compiler_gnu = yes && echo yes`
13236 ac_cpp='$CPP $CPPFLAGS'
13237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13243 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
13245 # find the maximum length of command line arguments
13246 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
13247 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
13248 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
13249 echo $ECHO_N "(cached) $ECHO_C" >&6
13256 # On DJGPP, this test can blow up pretty badly due to problems in libc
13257 # (any single argument exceeding 2000 bytes causes a buffer overrun
13258 # during glob expansion). Even if it were fixed, the result of this
13259 # check would be larger than it should be.
13260 lt_cv_sys_max_cmd_len=12288; # 12K is about right
13264 # Under GNU Hurd, this test is not required because there is
13265 # no limit to the length of command line arguments.
13266 # Libtool will interpret -1 as no limit whatsoever
13267 lt_cv_sys_max_cmd_len=-1;
13271 # On Win9x/ME, this test blows up -- it succeeds, but takes
13272 # about 5 minutes as the teststring grows exponentially.
13273 # Worse, since 9x/ME are not pre-emptively multitasking,
13274 # you end up with a "frozen" computer, even though with patience
13275 # the test eventually succeeds (with a max line length of 256k).
13276 # Instead, let's just punt: use the minimum linelength reported by
13277 # all of the supported platforms: 8192 (on NT/2K/XP).
13278 lt_cv_sys_max_cmd_len=8192;
13282 # On AmigaOS with pdksh, this test takes hours, literally.
13283 # So we just punt and use a minimum line length of 8192.
13284 lt_cv_sys_max_cmd_len=8192;
13287 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
13288 # This has been around since 386BSD, at least. Likely further.
13289 if test -x /sbin/sysctl; then
13290 lt_cv_sys_max_cmd_len=`/sbin
/sysctl
-n kern.argmax
`
13291 elif test -x /usr/sbin/sysctl; then
13292 lt_cv_sys_max_cmd_len=`/usr
/sbin
/sysctl
-n kern.argmax
`
13294 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
13296 # And add a safety zone
13297 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
13298 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
13302 # We know the value 262144 and hardcode it with a safety zone (like BSD)
13303 lt_cv_sys_max_cmd_len=196608
13307 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
13308 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
13309 # nice to cause kernel panics so lets avoid the loop below.
13310 # First set a reasonable default.
13311 lt_cv_sys_max_cmd_len=16384
13313 if test -x /sbin/sysconfig; then
13314 case `/sbin
/sysconfig
-q proc exec_disable_arg_limit
` in
13315 *1*) lt_cv_sys_max_cmd_len=-1 ;;
13320 lt_cv_sys_max_cmd_len=102400
13322 sysv5* | sco5v6* | sysv4.2uw2*)
13323 kargmax=`grep ARG_MAX
/etc
/conf
/cf.d
/stune
2>/dev
/null
`
13324 if test -n "$kargmax"; then
13325 lt_cv_sys_max_cmd_len=`echo $kargmax |
sed 's/.*[ ]//'`
13327 lt_cv_sys_max_cmd_len=32768
13331 # If test is not a shell built-in, we'll probably end up computing a
13332 # maximum length that is only half of the actual maximum length, but
13334 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
13335 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev
/null
` \
13336 = "XX$teststring") >/dev/null 2>&1 &&
13337 new_result=`expr "X$teststring" : ".*" 2>&1` &&
13338 lt_cv_sys_max_cmd_len=$new_result &&
13339 test $i != 17 # 1/2 MB should be enough
13342 teststring=$teststring$teststring
13345 # Add a significant safety factor because C++ compilers can tack on massive
13346 # amounts of additional arguments before passing them to the linker.
13347 # It appears as though 1/2 is a usable value.
13348 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 2`
13354 if test -n $lt_cv_sys_max_cmd_len ; then
13355 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
13356 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
13358 { echo "$as_me:$LINENO: result: none" >&5
13359 echo "${ECHO_T}none" >&6; }
13365 # Check for command to grab the raw symbol name followed by C symbol from nm.
13366 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
13367 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
13368 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
13369 echo $ECHO_N "(cached) $ECHO_C" >&6
13372 # These are sane defaults that work on at least a few old systems.
13373 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
13375 # Character class describing NM global symbol codes.
13376 symcode='[BCDEGRST]'
13378 # Regexp to match symbols that can be accessed directly from C.
13379 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
13381 # Transform an extracted symbol line into a proper C declaration
13382 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
13384 # Transform an extracted symbol line into symbol name and symbol address
13385 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'"
13387 # Define system-specific variables.
13392 cygwin* | mingw* | pw32*)
13393 symcode='[ABCDGISTW]'
13395 hpux*) # Its linker distinguishes data from code symbols
13396 if test "$host_cpu" = ia64; then
13397 symcode='[ABCDEGRST]'
13399 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13400 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'"
13403 if test "$host_cpu" = ia64; then
13404 symcode='[ABCDGIRSTW]'
13405 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13406 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'"
13409 irix* | nonstopux*)
13410 symcode='[BCDEGRST]'
13413 symcode='[BCDEGQRST]'
13424 sysv5* | sco5v6* | unixware* | OpenUNIX*)
13432 # Handle CRLF in mingw tool chain
13436 opt_cr=`echo 'x\{0,1\}' |
tr x
'\015'` # option cr in regexp
13440 # If we're using GNU nm, then use its standard symbol codes.
13441 case `$NM -V 2>&1` in
13442 *GNU* | *'with BFD'*)
13443 symcode='[ABCDGIRSTW]' ;;
13446 # Try without a prefix undercore, then with it.
13447 for ac_symprfx in "" "_"; do
13449 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
13450 symxfrm="\\1 $ac_symprfx\\2 \\2"
13452 # Write the raw and C identifiers.
13453 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
13455 # Check to see that the pipe works correctly.
13459 cat > conftest.$ac_ext <<EOF
13464 void nm_test_func(){}
13468 int main(){nm_test_var='a';nm_test_func();return(0);}
13471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13472 (eval $ac_compile) 2>&5
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); }; then
13476 # Now try to grab the symbols.
13478 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
13479 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
13481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13482 (exit $ac_status); } && test -s "$nlist"; then
13483 # Try sorting and uniquifying the output.
13484 if sort "$nlist" | uniq > "$nlist"T; then
13485 mv -f "$nlist"T "$nlist"
13490 # Make sure that we snagged all the symbols we need.
13491 if grep ' nm_test_var$' "$nlist" >/dev/null; then
13492 if grep ' nm_test_func$' "$nlist" >/dev/null; then
13493 cat <<EOF > conftest.$ac_ext
13499 # Now generate the symbol file.
13500 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
13502 cat <<EOF >> conftest.$ac_ext
13503 #if defined (__STDC__) && __STDC__
13504 # define lt_ptr_t void *
13506 # define lt_ptr_t char *
13510 /* The mapping between symbol names and symbols. */
13515 lt_preloaded_symbols[] =
13518 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
13519 cat <<\EOF >> conftest.$ac_ext
13527 # Now try linking the two files.
13528 mv conftest.$ac_objext conftstm.$ac_objext
13529 lt_save_LIBS="$LIBS"
13530 lt_save_CFLAGS="$CFLAGS"
13531 LIBS="conftstm.$ac_objext"
13532 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
13533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13534 (eval $ac_link) 2>&5
13536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537 (exit $ac_status); } && test -s conftest${ac_exeext}; then
13540 LIBS="$lt_save_LIBS"
13541 CFLAGS="$lt_save_CFLAGS"
13543 echo "cannot find nm_test_func in $nlist" >&5
13546 echo "cannot find nm_test_var in $nlist" >&5
13549 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
13552 echo "$progname: failed program was:" >&5
13553 cat conftest.$ac_ext >&5
13555 rm -f conftest* conftst*
13557 # Do not use the global_symbol_pipe unless it works.
13558 if test "$pipe_works" = yes; then
13561 lt_cv_sys_global_symbol_pipe=
13567 if test -z "$lt_cv_sys_global_symbol_pipe"; then
13568 lt_cv_sys_global_symbol_to_cdecl=
13570 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
13571 { echo "$as_me:$LINENO: result: failed" >&5
13572 echo "${ECHO_T}failed" >&6; }
13574 { echo "$as_me:$LINENO: result: ok" >&5
13575 echo "${ECHO_T}ok" >&6; }
13578 { echo "$as_me:$LINENO: checking for objdir" >&5
13579 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
13580 if test "${lt_cv_objdir+set}" = set; then
13581 echo $ECHO_N "(cached) $ECHO_C" >&6
13583 rm -f .libs 2>/dev/null
13584 mkdir .libs 2>/dev/null
13585 if test -d .libs; then
13588 # MS-DOS does not allow filenames that begin with a dot.
13591 rmdir .libs 2>/dev/null
13593 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
13594 echo "${ECHO_T}$lt_cv_objdir" >&6; }
13595 objdir=$lt_cv_objdir
13603 # AIX sometimes has problems with the GCC collect2 program. For some
13604 # reason, if we set the COLLECT_NAMES environment variable, the problems
13605 # vanish in a puff of smoke.
13606 if test "X${COLLECT_NAMES+set}" != Xset; then
13608 export COLLECT_NAMES
13613 # Sed substitution that helps us do robust quoting. It backslashifies
13614 # metacharacters that are still active within double-quoted strings.
13615 Xsed='sed -e 1s/^X//'
13616 sed_quote_subst='s/\([\\"\\`$
\\\\]\
)/\\\
1/g
'
13618 # Same as above, but do not quote variable references.
13619 double_quote_subst='s
/\
([\\"\\`\\\\]\)/\\\1/g'
13621 # Sed substitution to delay expansion of an escaped shell variable in a
13622 # double_quote_subst'ed string.
13623 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
13625 # Sed substitution to avoid accidental globbing in evaled expressions
13626 no_glob_subst='s/\*/\\\*/g'
13631 # Global variables:
13632 default_ofile=mklib
13633 can_build_shared=yes
13635 # All known linkers require a `.a' archive for static linking (except MSVC,
13636 # which needs '.lib').
13638 ltmain="$ac_aux_dir/ltmain.sh
"
13639 ofile="$default_ofile"
13640 with_gnu_ld="$lt_cv_prog_gnu_ld"
13642 if test -n "$ac_tool_prefix"; then
13643 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13644 set dummy ${ac_tool_prefix}ar; ac_word=$2
13645 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13646 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13647 if test "${ac_cv_prog_AR+set}" = set; then
13648 echo $ECHO_N "(cached
) $ECHO_C" >&6
13650 if test -n "$AR"; then
13651 ac_cv_prog_AR="$AR" # Let the user override the test.
13653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13654 for as_dir in $PATH
13657 test -z "$as_dir" && as_dir=.
13658 for ac_exec_ext in '' $ac_executable_extensions; do
13659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13660 ac_cv_prog_AR="${ac_tool_prefix}ar"
13661 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13671 if test -n "$AR"; then
13672 { echo "$as_me:$LINENO: result
: $AR" >&5
13673 echo "${ECHO_T}$AR" >&6; }
13675 { echo "$as_me:$LINENO: result
: no
" >&5
13676 echo "${ECHO_T}no
" >&6; }
13681 if test -z "$ac_cv_prog_AR"; then
13683 # Extract the first word of "ar", so it can be a program name with args.
13684 set dummy ar; ac_word=$2
13685 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13686 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13687 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
13688 echo $ECHO_N "(cached
) $ECHO_C" >&6
13690 if test -n "$ac_ct_AR"; then
13691 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
13693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13694 for as_dir in $PATH
13697 test -z "$as_dir" && as_dir=.
13698 for ac_exec_ext in '' $ac_executable_extensions; do
13699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13700 ac_cv_prog_ac_ct_AR="ar"
13701 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13710 ac_ct_AR=$ac_cv_prog_ac_ct_AR
13711 if test -n "$ac_ct_AR"; then
13712 { echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
13713 echo "${ECHO_T}$ac_ct_AR" >&6; }
13715 { echo "$as_me:$LINENO: result
: no
" >&5
13716 echo "${ECHO_T}no
" >&6; }
13719 if test "x
$ac_ct_AR" = x; then
13722 case $cross_compiling:$ac_tool_warned in
13724 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
13725 whose name does not start with the
host triplet. If you think this
13726 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
13727 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
13728 whose name does not start with the
host triplet. If you think this
13729 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
13730 ac_tool_warned=yes ;;
13735 AR="$ac_cv_prog_AR"
13738 if test -n "$ac_tool_prefix"; then
13739 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
13740 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13741 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13742 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13743 if test "${ac_cv_prog_RANLIB+set}" = set; then
13744 echo $ECHO_N "(cached
) $ECHO_C" >&6
13746 if test -n "$RANLIB"; then
13747 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13750 for as_dir in $PATH
13753 test -z "$as_dir" && as_dir=.
13754 for ac_exec_ext in '' $ac_executable_extensions; do
13755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13756 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
13757 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13766 RANLIB=$ac_cv_prog_RANLIB
13767 if test -n "$RANLIB"; then
13768 { echo "$as_me:$LINENO: result
: $RANLIB" >&5
13769 echo "${ECHO_T}$RANLIB" >&6; }
13771 { echo "$as_me:$LINENO: result
: no
" >&5
13772 echo "${ECHO_T}no
" >&6; }
13777 if test -z "$ac_cv_prog_RANLIB"; then
13778 ac_ct_RANLIB=$RANLIB
13779 # Extract the first word of "ranlib
", so it can be a program name with args.
13780 set dummy ranlib; ac_word=$2
13781 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13782 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13783 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13784 echo $ECHO_N "(cached
) $ECHO_C" >&6
13786 if test -n "$ac_ct_RANLIB"; then
13787 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
13789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13790 for as_dir in $PATH
13793 test -z "$as_dir" && as_dir=.
13794 for ac_exec_ext in '' $ac_executable_extensions; do
13795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13796 ac_cv_prog_ac_ct_RANLIB="ranlib
"
13797 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13806 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
13807 if test -n "$ac_ct_RANLIB"; then
13808 { echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
13809 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
13811 { echo "$as_me:$LINENO: result
: no
" >&5
13812 echo "${ECHO_T}no
" >&6; }
13815 if test "x
$ac_ct_RANLIB" = x; then
13818 case $cross_compiling:$ac_tool_warned in
13820 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
13821 whose name does not start with the
host triplet. If you think this
13822 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
13823 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
13824 whose name does not start with the
host triplet. If you think this
13825 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
13826 ac_tool_warned=yes ;;
13828 RANLIB=$ac_ct_RANLIB
13831 RANLIB="$ac_cv_prog_RANLIB"
13834 if test -n "$ac_tool_prefix"; then
13835 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
13836 set dummy ${ac_tool_prefix}strip; ac_word=$2
13837 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13838 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13839 if test "${ac_cv_prog_STRIP+set}" = set; then
13840 echo $ECHO_N "(cached
) $ECHO_C" >&6
13842 if test -n "$STRIP"; then
13843 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
13845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13846 for as_dir in $PATH
13849 test -z "$as_dir" && as_dir=.
13850 for ac_exec_ext in '' $ac_executable_extensions; do
13851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13852 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
13853 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13862 STRIP=$ac_cv_prog_STRIP
13863 if test -n "$STRIP"; then
13864 { echo "$as_me:$LINENO: result
: $STRIP" >&5
13865 echo "${ECHO_T}$STRIP" >&6; }
13867 { echo "$as_me:$LINENO: result
: no
" >&5
13868 echo "${ECHO_T}no
" >&6; }
13873 if test -z "$ac_cv_prog_STRIP"; then
13875 # Extract the first word of "strip
", so it can be a program name with args.
13876 set dummy strip; ac_word=$2
13877 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13878 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13879 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
13880 echo $ECHO_N "(cached
) $ECHO_C" >&6
13882 if test -n "$ac_ct_STRIP"; then
13883 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
13885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13886 for as_dir in $PATH
13889 test -z "$as_dir" && as_dir=.
13890 for ac_exec_ext in '' $ac_executable_extensions; do
13891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13892 ac_cv_prog_ac_ct_STRIP="strip
"
13893 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13902 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
13903 if test -n "$ac_ct_STRIP"; then
13904 { echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
13905 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
13907 { echo "$as_me:$LINENO: result
: no
" >&5
13908 echo "${ECHO_T}no
" >&6; }
13911 if test "x
$ac_ct_STRIP" = x; then
13914 case $cross_compiling:$ac_tool_warned in
13916 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
13917 whose name does not start with the
host triplet. If you think this
13918 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
13919 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
13920 whose name does not start with the
host triplet. If you think this
13921 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
13922 ac_tool_warned=yes ;;
13927 STRIP="$ac_cv_prog_STRIP"
13932 old_CFLAGS="$CFLAGS"
13934 # Set sane defaults for various variables
13935 test -z "$AR" && AR=ar
13936 test -z "$AR_FLAGS" && AR_FLAGS=cru
13937 test -z "$AS" && AS=as
13938 test -z "$CC" && CC=cc
13939 test -z "$LTCC" && LTCC=$CC
13940 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
13941 test -z "$DLLTOOL" && DLLTOOL=dlltool
13942 test -z "$LD" && LD=ld
13943 test -z "$LN_S" && LN_S="ln -s"
13944 test -z "$MAGIC_CMD" && MAGIC_CMD=file
13945 test -z "$NM" && NM=nm
13946 test -z "$SED" && SED=sed
13947 test -z "$OBJDUMP" && OBJDUMP=objdump
13948 test -z "$RANLIB" && RANLIB=:
13949 test -z "$STRIP" && STRIP=:
13950 test -z "$ac_objext" && ac_objext=o
13952 # Determine commands to create old-style static archives.
13953 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
13954 old_postinstall_cmds='chmod 644 $oldlib'
13955 old_postuninstall_cmds=
13957 if test -n "$RANLIB"; then
13960 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
13963 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
13966 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
13969 for cc_temp in $compiler""; do
13971 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13972 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13977 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
13980 # Only perform the check for file, if the check method requires it
13981 case $deplibs_check_method in
13983 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
13984 { echo "$as_me:$LINENO: checking
for ${ac_tool_prefix}file" >&5
13985 echo $ECHO_N "checking
for ${ac_tool_prefix}file...
$ECHO_C" >&6; }
13986 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
13987 echo $ECHO_N "(cached
) $ECHO_C" >&6
13991 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
13994 lt_save_MAGIC_CMD="$MAGIC_CMD"
13995 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13996 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
13997 for ac_dir in $ac_dummy; do
13999 test -z "$ac_dir" && ac_dir=.
14000 if test -f $ac_dir/${ac_tool_prefix}file; then
14001 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
14002 if test -n "$file_magic_test_file"; then
14003 case $deplibs_check_method in
14005 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14006 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14007 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14008 $EGREP "$file_magic_regex" > /dev/null; then
14013 *** Warning: the command libtool uses to detect shared libraries,
14014 *** $file_magic_cmd, produces output that libtool cannot recognize.
14015 *** The result is that libtool may fail to recognize shared libraries
14016 *** as such. This will affect the creation of libtool libraries that
14017 *** depend on shared libraries, but programs linked with such libtool
14018 *** libraries will work regardless of this problem. Nevertheless, you
14019 *** may want to report the problem to your system manager and/or to
14020 *** bug-libtool@gnu.org
14030 MAGIC_CMD="$lt_save_MAGIC_CMD"
14035 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14036 if test -n "$MAGIC_CMD"; then
14037 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14038 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14040 { echo "$as_me:$LINENO: result
: no
" >&5
14041 echo "${ECHO_T}no
" >&6; }
14044 if test -z "$lt_cv_path_MAGIC_CMD"; then
14045 if test -n "$ac_tool_prefix"; then
14046 { echo "$as_me:$LINENO: checking
for file" >&5
14047 echo $ECHO_N "checking
for file...
$ECHO_C" >&6; }
14048 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14049 echo $ECHO_N "(cached
) $ECHO_C" >&6
14053 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14056 lt_save_MAGIC_CMD="$MAGIC_CMD"
14057 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14058 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
14059 for ac_dir in $ac_dummy; do
14061 test -z "$ac_dir" && ac_dir=.
14062 if test -f $ac_dir/file; then
14063 lt_cv_path_MAGIC_CMD="$ac_dir/file"
14064 if test -n "$file_magic_test_file"; then
14065 case $deplibs_check_method in
14067 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14068 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14069 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14070 $EGREP "$file_magic_regex" > /dev/null; then
14075 *** Warning: the command libtool uses to detect shared libraries,
14076 *** $file_magic_cmd, produces output that libtool cannot recognize.
14077 *** The result is that libtool may fail to recognize shared libraries
14078 *** as such. This will affect the creation of libtool libraries that
14079 *** depend on shared libraries, but programs linked with such libtool
14080 *** libraries will work regardless of this problem. Nevertheless, you
14081 *** may want to report the problem to your system manager and/or to
14082 *** bug-libtool@gnu.org
14092 MAGIC_CMD="$lt_save_MAGIC_CMD"
14097 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14098 if test -n "$MAGIC_CMD"; then
14099 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14100 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14102 { echo "$as_me:$LINENO: result
: no
" >&5
14103 echo "${ECHO_T}no
" >&6; }
14116 enable_win32_dll=no
14118 # Check whether --enable-libtool-lock was given.
14119 if test "${enable_libtool_lock+set}" = set; then
14120 enableval=$enable_libtool_lock;
14123 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
14126 # Check whether --with-pic was given.
14127 if test "${with_pic+set}" = set; then
14128 withval=$with_pic; pic_mode="$withval"
14133 test -z "$pic_mode" && pic_mode=default
14135 # Use C for the default configuration in the libtool script
14139 ac_cpp='$CPP $CPPFLAGS'
14140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14145 # Source file extension for C test sources.
14148 # Object file extension for compiled C test sources.
14152 # Code to be used in simple compile tests
14153 lt_simple_compile_test_code="int some_variable
= 0;\n"
14155 # Code to be used in simple link tests
14156 lt_simple_link_test_code='int main(){return(0);}\n'
14159 # If no C compiler was specified, use CC.
14162 # If no C compiler flags were specified, use CFLAGS.
14163 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14165 # Allow CC to be a program name with arguments.
14169 # save warnings/boilerplate of simple test code
14170 ac_outfile=conftest.$ac_objext
14171 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14172 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14173 _lt_compiler_boilerplate=`cat conftest.err`
14176 ac_outfile=conftest.$ac_objext
14177 printf "$lt_simple_link_test_code" >conftest.$ac_ext
14178 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14179 _lt_linker_boilerplate=`cat conftest.err`
14184 lt_prog_compiler_no_builtin_flag=
14186 if test "$GCC" = yes; then
14187 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
14190 { echo "$as_me:$LINENO: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
14191 echo $ECHO_N "checking
if $compiler supports
-fno-rtti -fno-exceptions...
$ECHO_C" >&6; }
14192 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14193 echo $ECHO_N "(cached
) $ECHO_C" >&6
14195 lt_cv_prog_compiler_rtti_exceptions=no
14196 ac_outfile=conftest.$ac_objext
14197 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14198 lt_compiler_flag="-fno-rtti -fno-exceptions"
14199 # Insert the option either (1) after the last *FLAGS variable, or
14200 # (2) before a word containing "conftest.
", or (3) at the end.
14201 # Note that $ac_compile itself does not contain backslashes and begins
14202 # with a dollar sign (not a hyphen), so the echo should work correctly.
14203 # The option is referenced via a variable to avoid confusing sed.
14204 lt_compile=`echo "$ac_compile" | $SED \
14205 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14206 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14207 -e 's:$: $lt_compiler_flag:'`
14208 (eval echo "\"\
$as_me:14208: $lt_compile\"" >&5)
14209 (eval "$lt_compile" 2>conftest.err)
14211 cat conftest.err >&5
14212 echo "$as_me:14212: \$?
= $ac_status" >&5
14213 if (exit $ac_status) && test -s "$ac_outfile"; then
14214 # The compiler can only warn and ignore the option if not recognized
14215 # So say no if there are warnings other than the usual output.
14216 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14217 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14218 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14219 lt_cv_prog_compiler_rtti_exceptions=yes
14225 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
14226 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
14228 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
14229 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
14236 lt_prog_compiler_wl=
14237 lt_prog_compiler_pic=
14238 lt_prog_compiler_static=
14240 { echo "$as_me:$LINENO: checking
for $compiler option to produce PIC
" >&5
14241 echo $ECHO_N "checking
for $compiler option to produce PIC...
$ECHO_C" >&6; }
14243 if test "$GCC" = yes; then
14244 lt_prog_compiler_wl='-Wl,'
14245 lt_prog_compiler_static='-static'
14249 # All AIX code is PIC.
14250 if test "$host_cpu" = ia64; then
14251 # AIX 5 now supports IA64 processor
14252 lt_prog_compiler_static='-Bstatic'
14257 # FIXME: we need at least 68020 code to build shared libraries, but
14258 # adding the `-m68020' flag to GCC prevents building anything better,
14260 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
14263 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14264 # PIC is the default for these OSes.
14267 mingw* | pw32* | os2*)
14268 # This hack is so that the source file can tell whether it is being
14269 # built for inclusion in a dll (and should export symbols for example).
14270 lt_prog_compiler_pic='-DDLL_EXPORT'
14273 darwin* | rhapsody*)
14274 # PIC is the default on this platform
14275 # Common symbols not allowed in MH_DYLIB files
14276 lt_prog_compiler_pic='-fno-common'
14280 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14281 # Instead, we relocate shared libraries at runtime.
14285 # Just because we use GCC doesn't mean we suddenly get shared libraries
14286 # on systems that don't support them.
14287 lt_prog_compiler_can_build_shared=no
14292 if test -d /usr/nec; then
14293 lt_prog_compiler_pic=-Kconform_pic
14298 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14299 # not for PA HP-UX.
14305 lt_prog_compiler_pic='-fPIC'
14311 lt_prog_compiler_pic='-fPIC'
14315 # PORTME Check for flag to pass linker flags through the system compiler.
14318 lt_prog_compiler_wl='-Wl,'
14319 if test "$host_cpu" = ia64; then
14320 # AIX 5 now supports IA64 processor
14321 lt_prog_compiler_static='-Bstatic'
14323 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
14327 # PIC is the default on this platform
14328 # Common symbols not allowed in MH_DYLIB files
14329 case $cc_basename in
14331 lt_prog_compiler_pic='-qnocommon'
14332 lt_prog_compiler_wl='-Wl,'
14337 mingw* | pw32* | os2*)
14338 # This hack is so that the source file can tell whether it is being
14339 # built for inclusion in a dll (and should export symbols for example).
14340 lt_prog_compiler_pic='-DDLL_EXPORT'
14343 hpux9* | hpux10* | hpux11*)
14344 lt_prog_compiler_wl='-Wl,'
14345 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14346 # not for PA HP-UX.
14352 lt_prog_compiler_pic='+Z'
14355 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14356 lt_prog_compiler_static='${wl}-a ${wl}archive'
14359 irix5* | irix6* | nonstopux*)
14360 lt_prog_compiler_wl='-Wl,'
14361 # PIC (with -KPIC) is the default.
14362 lt_prog_compiler_static='-non_shared'
14366 lt_prog_compiler_pic='-KPIC'
14367 lt_prog_compiler_static='-Bstatic'
14371 case $cc_basename in
14373 lt_prog_compiler_wl='-Wl,'
14374 lt_prog_compiler_pic='-KPIC'
14375 lt_prog_compiler_static='-static'
14377 pgcc* | pgf77* | pgf90* | pgf95*)
14378 # Portland Group compilers (*not* the Pentium gcc compiler,
14379 # which looks to be a dead project)
14380 lt_prog_compiler_wl='-Wl,'
14381 lt_prog_compiler_pic='-fpic'
14382 lt_prog_compiler_static='-Bstatic'
14385 lt_prog_compiler_wl='-Wl,'
14386 # All Alpha code is PIC.
14387 lt_prog_compiler_static='-non_shared'
14392 osf3* | osf4* | osf5*)
14393 lt_prog_compiler_wl='-Wl,'
14394 # All OSF/1 code is PIC.
14395 lt_prog_compiler_static='-non_shared'
14399 lt_prog_compiler_pic='-KPIC'
14400 lt_prog_compiler_static='-Bstatic'
14401 case $cc_basename in
14402 f77* | f90* | f95*)
14403 lt_prog_compiler_wl='-Qoption ld ';;
14405 lt_prog_compiler_wl='-Wl,';;
14410 lt_prog_compiler_wl='-Qoption ld '
14411 lt_prog_compiler_pic='-PIC'
14412 lt_prog_compiler_static='-Bstatic'
14415 sysv4 | sysv4.2uw2* | sysv4.3*)
14416 lt_prog_compiler_wl='-Wl,'
14417 lt_prog_compiler_pic='-KPIC'
14418 lt_prog_compiler_static='-Bstatic'
14422 if test -d /usr/nec ;then
14423 lt_prog_compiler_pic='-Kconform_pic'
14424 lt_prog_compiler_static='-Bstatic'
14428 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14429 lt_prog_compiler_wl='-Wl,'
14430 lt_prog_compiler_pic='-KPIC'
14431 lt_prog_compiler_static='-Bstatic'
14435 lt_prog_compiler_wl='-Wl,'
14436 lt_prog_compiler_can_build_shared=no
14440 lt_prog_compiler_pic='-pic'
14441 lt_prog_compiler_static='-Bstatic'
14445 lt_prog_compiler_can_build_shared=no
14450 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic" >&5
14451 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
14454 # Check to make sure the PIC flag actually works.
14456 if test -n "$lt_prog_compiler_pic"; then
14458 { echo "$as_me:$LINENO: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
14459 echo $ECHO_N "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
$ECHO_C" >&6; }
14460 if test "${lt_prog_compiler_pic_works+set}" = set; then
14461 echo $ECHO_N "(cached
) $ECHO_C" >&6
14463 lt_prog_compiler_pic_works=no
14464 ac_outfile=conftest.$ac_objext
14465 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14466 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
14467 # Insert the option either (1) after the last *FLAGS variable, or
14468 # (2) before a word containing "conftest.
", or (3) at the end.
14469 # Note that $ac_compile itself does not contain backslashes and begins
14470 # with a dollar sign (not a hyphen), so the echo should work correctly.
14471 # The option is referenced via a variable to avoid confusing sed.
14472 lt_compile=`echo "$ac_compile" | $SED \
14473 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14474 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14475 -e 's:$: $lt_compiler_flag:'`
14476 (eval echo "\"\
$as_me:14476: $lt_compile\"" >&5)
14477 (eval "$lt_compile" 2>conftest.err)
14479 cat conftest.err >&5
14480 echo "$as_me:14480: \$?
= $ac_status" >&5
14481 if (exit $ac_status) && test -s "$ac_outfile"; then
14482 # The compiler can only warn and ignore the option if not recognized
14483 # So say no if there are warnings other than the usual output.
14484 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14485 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14486 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14487 lt_prog_compiler_pic_works=yes
14493 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic_works" >&5
14494 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
14496 if test x"$lt_prog_compiler_pic_works" = xyes; then
14497 case $lt_prog_compiler_pic in
14499 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
14502 lt_prog_compiler_pic=
14503 lt_prog_compiler_can_build_shared=no
14508 # For platforms which do not support PIC, -DPIC is meaningless:
14510 lt_prog_compiler_pic=
14513 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
14518 # Check to make sure the static flag actually works.
14520 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
14521 { echo "$as_me:$LINENO: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
14522 echo $ECHO_N "checking
if $compiler static flag
$lt_tmp_static_flag works...
$ECHO_C" >&6; }
14523 if test "${lt_prog_compiler_static_works+set}" = set; then
14524 echo $ECHO_N "(cached
) $ECHO_C" >&6
14526 lt_prog_compiler_static_works=no
14527 save_LDFLAGS="$LDFLAGS"
14528 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14529 printf "$lt_simple_link_test_code" > conftest.$ac_ext
14530 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14531 # The linker can only warn and ignore the option if not recognized
14532 # So say no if there are warnings
14533 if test -s conftest.err; then
14534 # Append any errors to the config.log.
14535 cat conftest.err 1>&5
14536 $echo "X
$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14537 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14538 if diff conftest.exp conftest.er2 >/dev/null; then
14539 lt_prog_compiler_static_works=yes
14542 lt_prog_compiler_static_works=yes
14546 LDFLAGS="$save_LDFLAGS"
14549 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_static_works" >&5
14550 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
14552 if test x"$lt_prog_compiler_static_works" = xyes; then
14555 lt_prog_compiler_static=
14559 { echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
14560 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6; }
14561 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
14562 echo $ECHO_N "(cached
) $ECHO_C" >&6
14564 lt_cv_prog_compiler_c_o=no
14565 $rm -r conftest 2>/dev/null
14569 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14571 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
14572 # Insert the option either (1) after the last *FLAGS variable, or
14573 # (2) before a word containing "conftest.
", or (3) at the end.
14574 # Note that $ac_compile itself does not contain backslashes and begins
14575 # with a dollar sign (not a hyphen), so the echo should work correctly.
14576 lt_compile=`echo "$ac_compile" | $SED \
14577 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14578 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14579 -e 's:$: $lt_compiler_flag:'`
14580 (eval echo "\"\
$as_me:14580: $lt_compile\"" >&5)
14581 (eval "$lt_compile" 2>out/conftest.err)
14583 cat out/conftest.err >&5
14584 echo "$as_me:14584: \$?
= $ac_status" >&5
14585 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14587 # The compiler can only warn and ignore the option if not recognized
14588 # So say no if there are warnings
14589 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14590 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14591 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14592 lt_cv_prog_compiler_c_o=yes
14597 # SGI C++ compiler will create directory out/ii_files/ for
14598 # template instantiation
14599 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14600 $rm out/* && rmdir out
14606 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
14607 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
14610 hard_links="nottested
"
14611 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
14612 # do not overwrite the value of need_locks provided by the user
14613 { echo "$as_me:$LINENO: checking
if we can lock with hard links
" >&5
14614 echo $ECHO_N "checking
if we can lock with hard links...
$ECHO_C" >&6; }
14617 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14619 ln conftest.a conftest.b 2>&5 || hard_links=no
14620 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14621 { echo "$as_me:$LINENO: result
: $hard_links" >&5
14622 echo "${ECHO_T}$hard_links" >&6; }
14623 if test "$hard_links" = no; then
14624 { echo "$as_me:$LINENO: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
14625 echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
14632 { echo "$as_me:$LINENO: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
14633 echo $ECHO_N "checking whether the
$compiler linker
($LD) supports shared libraries...
$ECHO_C" >&6; }
14636 allow_undefined_flag=
14637 enable_shared_with_static_runtimes=no
14639 archive_expsym_cmds=
14640 old_archive_From_new_cmds=
14641 old_archive_from_expsyms_cmds=
14642 export_dynamic_flag_spec=
14643 whole_archive_flag_spec=
14644 thread_safe_flag_spec=
14645 hardcode_libdir_flag_spec=
14646 hardcode_libdir_flag_spec_ld=
14647 hardcode_libdir_separator=
14649 hardcode_minus_L=no
14650 hardcode_shlibpath_var=unsupported
14651 link_all_deplibs=unknown
14652 hardcode_automatic=no
14654 module_expsym_cmds=
14655 always_export_symbols=no
14656 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14657 # include_expsyms should be a list of space-separated symbols to be *always*
14658 # included in the symbol list
14660 # exclude_expsyms can be an extended regexp of symbols to exclude
14661 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14662 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14663 # as well as any symbol that contains `d'.
14664 exclude_expsyms="_GLOBAL_OFFSET_TABLE_
"
14665 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14666 # platforms (ab)use it in PIC code, but their linkers get confused if
14667 # the symbol is explicitly referenced. Since portable code cannot
14668 # rely on this symbol name, it's probably fine to never include it in
14669 # preloaded symbol tables.
14670 extract_expsyms_cmds=
14671 # Just being paranoid about ensuring that cc_basename is set.
14672 for cc_temp in $compiler""; do
14674 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14675 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14680 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
14683 cygwin* | mingw* | pw32*)
14684 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14685 # When not using gcc, we currently assume that we are using
14686 # Microsoft Visual C++.
14687 if test "$GCC" != yes; then
14692 # we just hope/assume this is gcc and not c89 (= MSVC++)
14701 if test "$with_gnu_ld" = yes; then
14702 # If archive_cmds runs LD, not CC, wlarc should be empty
14705 # Set some defaults for GNU ld with shared library support. These
14706 # are reset later if shared libraries are not supported. Putting them
14707 # here allows them to be overridden if necessary.
14708 runpath_var=LD_RUN_PATH
14709 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
14710 export_dynamic_flag_spec='${wl}--export-dynamic'
14711 # ancient GNU ld didn't support --whole-archive et. al.
14712 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14713 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14715 whole_archive_flag_spec=
14717 supports_anon_versioning=no
14718 case `$LD -v 2>/dev/null` in
14719 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14720 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14721 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14722 *\ 2.11.*) ;; # other 2.11 versions
14723 *) supports_anon_versioning=yes ;;
14726 # See if GNU ld supports shared libraries.
14728 aix3* | aix4* | aix5*)
14729 # On AIX/PPC, the GNU linker is very broken
14730 if test "$host_cpu" != ia64; then
14734 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14735 *** to be unable to reliably create shared libraries on AIX.
14736 *** Therefore, libtool is disabling shared libraries support. If you
14737 *** really care for shared libraries, you may want to modify your PATH
14738 *** so that a non-GNU linker is found, and then restart.
14745 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)'
14746 hardcode_libdir_flag_spec
='-L$libdir'
14747 hardcode_minus_L
=yes
14749 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14750 # that the semantics of dynamic libraries on AmigaOS, at least up
14751 # to version 4, is to share data among multiple programs linked
14752 # with the same dynamic library. Since this doesn't match the
14753 # behavior of shared libraries on other platforms, we can't use
14759 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14760 allow_undefined_flag
=unsupported
14761 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14762 # support --undefined. This deserves some investigation. FIXME
14763 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14769 cygwin
* | mingw
* | pw32
*)
14770 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
14771 # as there is no search path for DLLs.
14772 hardcode_libdir_flag_spec
='-L$libdir'
14773 allow_undefined_flag
=unsupported
14774 always_export_symbols
=no
14775 enable_shared_with_static_runtimes
=yes
14776 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14778 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14779 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14780 # If the export-symbols file already is a .def file (1st line
14781 # is EXPORTS), use it as is; otherwise, prepend...
14782 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14783 cp $export_symbols $output_objdir/$soname.def;
14785 echo EXPORTS > $output_objdir/$soname.def;
14786 cat $export_symbols >> $output_objdir/$soname.def;
14788 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14796 hardcode_shlibpath_var
=no
14797 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
14798 export_dynamic_flag_spec
='${wl}-E'
14799 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14800 # Instead, shared libraries are loaded at an image base (0x10000000 by
14801 # default) and relocated if they conflict, which is a slow very memory
14802 # consuming and fragmenting process. To avoid this, we pick a random,
14803 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14804 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14805 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14806 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14810 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14812 case $cc_basename,$host_cpu in
14813 pgcc
*) # Portland Group C compiler
14814 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14815 tmp_addflag
=' $pic_flag'
14817 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14818 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14819 tmp_addflag
=' $pic_flag -Mnomain' ;;
14820 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14821 tmp_addflag
=' -i_dynamic' ;;
14822 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14823 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14824 ifc
* | ifort
*) # Intel Fortran compiler
14825 tmp_addflag
=' -nofor_main' ;;
14827 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14829 if test $supports_anon_versioning = yes; then
14830 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
14831 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14832 $echo "local: *; };" >> $output_objdir/$libname.ver~
14833 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14841 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14842 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14845 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14846 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14851 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14855 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14856 *** create shared libraries on Solaris systems. Therefore, libtool
14857 *** is disabling shared libraries support. We urge you to upgrade GNU
14858 *** binutils to release 2.9.1 or newer. Another option is to modify
14859 *** your PATH or compiler configuration so that the native linker is
14860 *** used, and then restart.
14863 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14864 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14865 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14871 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14872 case `$LD -v 2>&1` in
14873 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14877 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14878 *** reliably create shared libraries on SCO systems. Therefore, libtool
14879 *** is disabling shared libraries support. We urge you to upgrade GNU
14880 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14881 *** your PATH or compiler configuration so that the native linker is
14882 *** used, and then restart.
14887 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14888 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14889 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14890 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14899 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14901 hardcode_direct
=yes
14902 hardcode_shlibpath_var
=no
14906 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14907 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14908 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14915 if test "$ld_shlibs" = no
; then
14917 hardcode_libdir_flag_spec
=
14918 export_dynamic_flag_spec
=
14919 whole_archive_flag_spec
=
14922 # PORTME fill in a description of your system's linker (not GNU ld)
14925 allow_undefined_flag
=unsupported
14926 always_export_symbols
=yes
14927 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'
14928 # Note: this linker hardcodes the directories in LIBPATH if there
14929 # are no directories specified by -L.
14930 hardcode_minus_L
=yes
14931 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14932 # Neither direct hardcoding nor static linking is supported with a
14934 hardcode_direct
=unsupported
14939 if test "$host_cpu" = ia64
; then
14940 # On IA64, the linker does run time linking by default, so we don't
14941 # have to do anything special.
14942 aix_use_runtimelinking
=no
14943 exp_sym_flag
='-Bexport'
14946 # If we're using GNU nm, then we don't want the "-C" option.
14947 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14948 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14949 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'
14951 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'
14953 aix_use_runtimelinking
=no
14955 # Test if we are trying to use run time linking or normal
14956 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14957 # need to do runtime linking.
14958 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14959 for ld_flag
in $LDFLAGS; do
14960 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14961 aix_use_runtimelinking
=yes
14968 exp_sym_flag
='-bexport'
14969 no_entry_flag
='-bnoentry'
14972 # When large executables or shared objects are built, AIX ld can
14973 # have problems creating the table of contents. If linking a library
14974 # or program results in "error TOC overflow" add -mminimal-toc to
14975 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14976 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14979 hardcode_direct
=yes
14980 hardcode_libdir_separator
=':'
14981 link_all_deplibs
=yes
14983 if test "$GCC" = yes; then
14984 case $host_os in aix4.
[012]|aix4.
[012].
*)
14985 # We only want to do this on AIX 4.2 and lower, the check
14986 # below for broken collect2 doesn't work under 4.3+
14987 collect2name
=`${CC} -print-prog-name=collect2`
14988 if test -f "$collect2name" && \
14989 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14991 # We have reworked collect2
14992 hardcode_direct
=yes
14994 # We have old collect2
14995 hardcode_direct
=unsupported
14996 # It fails to find uninstalled libraries when the uninstalled
14997 # path is not listed in the libpath. Setting hardcode_minus_L
14998 # to unsupported forces relinking
14999 hardcode_minus_L
=yes
15000 hardcode_libdir_flag_spec
='-L$libdir'
15001 hardcode_libdir_separator
=
15005 shared_flag
='-shared'
15006 if test "$aix_use_runtimelinking" = yes; then
15007 shared_flag
="$shared_flag "'${wl}-G'
15011 if test "$host_cpu" = ia64
; then
15012 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15013 # chokes on -Wl,-G. The following line is correct:
15016 if test "$aix_use_runtimelinking" = yes; then
15017 shared_flag
='${wl}-G'
15019 shared_flag
='${wl}-bM:SRE'
15024 # It seems that -bexpall does not export symbols beginning with
15025 # underscore (_), so it is better to generate a list of symbols to export.
15026 always_export_symbols
=yes
15027 if test "$aix_use_runtimelinking" = yes; then
15028 # Warning - without using the other runtime loading flags (-brtl),
15029 # -berok will link without error, but may produce a broken library.
15030 allow_undefined_flag
='-berok'
15031 # Determine the default libpath from the value encoded in an empty executable.
15032 cat >conftest.
$ac_ext <<_ACEOF
15035 cat confdefs.h
>>conftest.
$ac_ext
15036 cat >>conftest.
$ac_ext <<_ACEOF
15037 /* end confdefs.h. */
15047 rm -f conftest.
$ac_objext conftest
$ac_exeext
15048 if { (ac_try
="$ac_link"
15049 case "(($ac_try" in
15050 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15051 *) ac_try_echo=$ac_try;;
15053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15054 (eval "$ac_link") 2>conftest.er1
15056 grep -v '^ *+' conftest.er1 >conftest.err
15058 cat conftest.err >&5
15059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060 (exit $ac_status); } &&
15061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15062 { (case "(($ac_try" in
15063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15064 *) ac_try_echo
=$ac_try;;
15066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15067 (eval "$ac_try") 2>&5
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); }; } &&
15071 { ac_try
='test -s conftest$ac_exeext'
15072 { (case "(($ac_try" in
15073 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15074 *) ac_try_echo=$ac_try;;
15076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15077 (eval "$ac_try") 2>&5
15079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15080 (exit $ac_status); }; }; then
15082 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15084 # Check for a 64-bit object if we didn't find anything.
15085 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; }
15088 echo "$as_me: failed program was:" >&5
15089 sed 's/^/| /' conftest.$ac_ext >&5
15094 rm -f core conftest.err conftest.$ac_objext \
15095 conftest$ac_exeext conftest.$ac_ext
15096 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15098 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15099 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15101 if test "$host_cpu" = ia64; then
15102 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
15103 allow_undefined_flag="-z nodefs"
15104 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
15106 # Determine the default libpath from the value encoded in an empty executable.
15107 cat >conftest.$ac_ext <<_ACEOF
15110 cat confdefs.h >>conftest.$ac_ext
15111 cat >>conftest.$ac_ext <<_ACEOF
15112 /* end confdefs.h. */
15122 rm -f conftest.$ac_objext conftest$ac_exeext
15123 if { (ac_try="$ac_link"
15124 case "(($ac_try" in
15125 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15126 *) ac_try_echo
=$ac_try;;
15128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15129 (eval "$ac_link") 2>conftest.er1
15131 grep -v '^ *+' conftest.er1
>conftest.err
15133 cat conftest.err
>&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); } &&
15136 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15137 { (case "(($ac_try" in
15138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15139 *) ac_try_echo=$ac_try;;
15141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15142 (eval "$ac_try") 2>&5
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); }; } &&
15146 { ac_try='test -s conftest$ac_exeext'
15147 { (case "(($ac_try" in
15148 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15149 *) ac_try_echo
=$ac_try;;
15151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15152 (eval "$ac_try") 2>&5
15154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155 (exit $ac_status); }; }; then
15157 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15159 # Check for a 64-bit object if we didn't find anything.
15160 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; }
15163 echo "$as_me: failed program was:" >&5
15164 sed 's/^/| /' conftest.
$ac_ext >&5
15169 rm -f core conftest.err conftest.
$ac_objext \
15170 conftest
$ac_exeext conftest.
$ac_ext
15171 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15173 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
15174 # Warning - without using the other run time loading flags,
15175 # -berok will link without error, but may produce a broken library.
15176 no_undefined_flag
=' ${wl}-bernotok'
15177 allow_undefined_flag
=' ${wl}-berok'
15178 # Exported symbols can be pulled into shared objects from archives
15179 whole_archive_flag_spec
='$convenience'
15180 archive_cmds_need_lc
=yes
15181 # This is similar to how AIX traditionally builds its shared libraries.
15182 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15188 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)'
15189 hardcode_libdir_flag_spec
='-L$libdir'
15190 hardcode_minus_L
=yes
15191 # see comment about different semantics on the GNU ld section
15196 export_dynamic_flag_spec
=-rdynamic
15199 cygwin
* | mingw
* | pw32
*)
15200 # When not using gcc, we currently assume that we are using
15201 # Microsoft Visual C++.
15202 # hardcode_libdir_flag_spec is actually meaningless, as there is
15203 # no search path for DLLs.
15204 hardcode_libdir_flag_spec
=' '
15205 allow_undefined_flag
=unsupported
15206 # Tell ltmain to make .lib files, not .a files.
15208 # Tell ltmain to make .dll files, not .so files.
15210 # FIXME: Setting linknames here is a bad hack.
15211 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15212 # The linker will automatically build a .lib file if we build a DLL.
15213 old_archive_From_new_cmds
='true'
15214 # FIXME: Should let the user specify the lib program.
15215 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
15216 fix_srcfile_path
='`cygpath -w "$srcfile"`'
15217 enable_shared_with_static_runtimes
=yes
15220 darwin
* | rhapsody
*)
15222 rhapsody
* | darwin1.
[012])
15223 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
15226 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15227 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15229 case ${MACOSX_DEPLOYMENT_TARGET} in
15231 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15234 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
15240 archive_cmds_need_lc
=no
15242 hardcode_automatic
=yes
15243 hardcode_shlibpath_var
=unsupported
15244 whole_archive_flag_spec
=''
15245 link_all_deplibs
=yes
15246 if test "$GCC" = yes ; then
15247 output_verbose_link_cmd
='echo'
15248 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15249 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15250 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15251 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}'
15252 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}'
15254 case $cc_basename in
15256 output_verbose_link_cmd
='echo'
15257 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15258 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15259 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15260 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15261 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}'
15271 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15272 hardcode_libdir_flag_spec
='-L$libdir'
15273 hardcode_shlibpath_var
=no
15280 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15281 # support. Future versions do this automatically, but an explicit c++rt0.o
15282 # does not break anything, and helps significantly (at the cost of a little
15285 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15286 hardcode_libdir_flag_spec
='-R$libdir'
15287 hardcode_direct
=yes
15288 hardcode_shlibpath_var
=no
15291 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15293 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15294 hardcode_direct
=yes
15295 hardcode_minus_L
=yes
15296 hardcode_shlibpath_var
=no
15299 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15300 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
15301 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15302 hardcode_libdir_flag_spec
='-R$libdir'
15303 hardcode_direct
=yes
15304 hardcode_shlibpath_var
=no
15308 if test "$GCC" = yes; then
15309 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'
15311 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'
15313 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15314 hardcode_libdir_separator
=:
15315 hardcode_direct
=yes
15317 # hardcode_minus_L: Not really in the search PATH,
15318 # but as the default location of the library.
15319 hardcode_minus_L
=yes
15320 export_dynamic_flag_spec
='${wl}-E'
15324 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15325 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15327 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15329 if test "$with_gnu_ld" = no
; then
15330 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15331 hardcode_libdir_separator
=:
15333 hardcode_direct
=yes
15334 export_dynamic_flag_spec
='${wl}-E'
15336 # hardcode_minus_L: Not really in the search PATH,
15337 # but as the default location of the library.
15338 hardcode_minus_L
=yes
15343 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15346 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15349 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15352 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15358 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15361 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15364 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15368 if test "$with_gnu_ld" = no
; then
15369 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15370 hardcode_libdir_separator
=:
15374 hardcode_libdir_flag_spec_ld
='+b $libdir'
15376 hardcode_shlibpath_var
=no
15379 hardcode_direct
=yes
15380 export_dynamic_flag_spec
='${wl}-E'
15382 # hardcode_minus_L: Not really in the search PATH,
15383 # but as the default location of the library.
15384 hardcode_minus_L
=yes
15390 irix5
* | irix6
* | nonstopux
*)
15391 if test "$GCC" = yes; then
15392 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'
15394 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'
15395 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
15397 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15398 hardcode_libdir_separator
=:
15399 link_all_deplibs
=yes
15403 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15404 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15406 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15408 hardcode_libdir_flag_spec
='-R$libdir'
15409 hardcode_direct
=yes
15410 hardcode_shlibpath_var
=no
15414 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15415 hardcode_direct
=yes
15416 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15417 hardcode_libdir_separator
=:
15418 hardcode_shlibpath_var
=no
15422 hardcode_direct
=yes
15423 hardcode_shlibpath_var
=no
15424 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15425 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15426 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15427 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15428 export_dynamic_flag_spec
='${wl}-E'
15431 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15432 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15433 hardcode_libdir_flag_spec
='-R$libdir'
15436 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15437 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15444 hardcode_libdir_flag_spec
='-L$libdir'
15445 hardcode_minus_L
=yes
15446 allow_undefined_flag
=unsupported
15447 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'
15448 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15452 if test "$GCC" = yes; then
15453 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
15454 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'
15456 allow_undefined_flag
=' -expect_unresolved \*'
15457 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'
15459 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15460 hardcode_libdir_separator
=:
15463 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15464 if test "$GCC" = yes; then
15465 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
15466 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'
15467 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15469 allow_undefined_flag
=' -expect_unresolved \*'
15470 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'
15471 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15472 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15474 # Both c and cxx compiler support -rpath directly
15475 hardcode_libdir_flag_spec
='-rpath $libdir'
15477 hardcode_libdir_separator
=:
15481 no_undefined_flag
=' -z text'
15482 if test "$GCC" = yes; then
15484 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15485 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15486 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15489 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15490 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15491 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15493 hardcode_libdir_flag_spec
='-R$libdir'
15494 hardcode_shlibpath_var
=no
15496 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15498 # The compiler driver will combine linker options so we
15499 # cannot just pass the convience library names through
15500 # without $wl, iff we do not link with $LD.
15501 # Luckily, gcc supports the same syntax we need for Sun Studio.
15502 # Supported since Solaris 2.6 (maybe 2.5.1?)
15505 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
15507 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15510 link_all_deplibs
=yes
15514 if test "x$host_vendor" = xsequent
; then
15515 # Use $CC to link under sequent, because it throws in some extra .o
15516 # files that make .init and .fini sections work.
15517 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15519 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15521 hardcode_libdir_flag_spec
='-L$libdir'
15522 hardcode_direct
=yes
15523 hardcode_minus_L
=yes
15524 hardcode_shlibpath_var
=no
15528 case $host_vendor in
15530 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15531 hardcode_direct
=yes # is this really true???
15534 ## LD is ld it makes a PLAMLIB
15535 ## CC just makes a GrossModule.
15536 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15537 reload_cmds
='$CC -r -o $output$reload_objs'
15541 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15542 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
15545 runpath_var
='LD_RUN_PATH'
15546 hardcode_shlibpath_var
=no
15550 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15551 hardcode_shlibpath_var
=no
15552 export_dynamic_flag_spec
='-Bexport'
15556 if test -d /usr
/nec
; then
15557 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15558 hardcode_shlibpath_var
=no
15559 runpath_var
=LD_RUN_PATH
15560 hardcode_runpath_var
=yes
15565 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15566 no_undefined_flag
='${wl}-z,text'
15567 archive_cmds_need_lc
=no
15568 hardcode_shlibpath_var
=no
15569 runpath_var
='LD_RUN_PATH'
15571 if test "$GCC" = yes; then
15572 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15573 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15575 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15576 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15580 sysv5
* | sco3.2v5
* | sco5v6
*)
15581 # Note: We can NOT use -z defs as we might desire, because we do not
15582 # link with -lc, and that would cause any symbols used from libc to
15583 # always be unresolved, which means just about no library would
15584 # ever link correctly. If we're not using GNU ld we use -z text
15585 # though, which does catch some bad symbols but isn't as heavy-handed
15587 no_undefined_flag
='${wl}-z,text'
15588 allow_undefined_flag
='${wl}-z,nodefs'
15589 archive_cmds_need_lc
=no
15590 hardcode_shlibpath_var
=no
15591 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15592 hardcode_libdir_separator
=':'
15593 link_all_deplibs
=yes
15594 export_dynamic_flag_spec
='${wl}-Bexport'
15595 runpath_var
='LD_RUN_PATH'
15597 if test "$GCC" = yes; then
15598 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15599 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15601 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15602 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15607 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15608 hardcode_libdir_flag_spec
='-L$libdir'
15609 hardcode_shlibpath_var
=no
15618 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
15619 echo "${ECHO_T}$ld_shlibs" >&6; }
15620 test "$ld_shlibs" = no
&& can_build_shared
=no
15623 # Do we need to explicitly link libc?
15625 case "x$archive_cmds_need_lc" in
15627 # Assume -lc should be added
15628 archive_cmds_need_lc
=yes
15630 if test "$enable_shared" = yes && test "$GCC" = yes; then
15631 case $archive_cmds in
15633 # FIXME: we may have to deal with multi-command sequences.
15636 # Test whether the compiler implicitly links with -lc since on some
15637 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15638 # to ld, don't add -lc before -lgcc.
15639 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15640 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15642 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15645 (eval $ac_compile) 2>&5
15647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15648 (exit $ac_status); } 2>conftest.err
; then
15651 libobjs
=conftest.
$ac_objext
15653 wl
=$lt_prog_compiler_wl
15654 pic_flag
=$lt_prog_compiler_pic
15660 lt_save_allow_undefined_flag
=$allow_undefined_flag
15661 allow_undefined_flag
=
15662 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15663 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 (exit $ac_status); }
15668 archive_cmds_need_lc
=no
15670 archive_cmds_need_lc
=yes
15672 allow_undefined_flag
=$lt_save_allow_undefined_flag
15674 cat conftest.err
1>&5
15677 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
15678 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
15685 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15686 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15687 library_names_spec
=
15688 libname_spec
='lib$name'
15692 postuninstall_cmds
=
15696 shlibpath_overrides_runpath
=unknown
15698 dynamic_linker
="$host_os ld.so"
15699 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15700 if test "$GCC" = yes; then
15701 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15702 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15703 # if the path contains ";" then we assume it to be the separator
15704 # otherwise default to the standard path separator (i.e. ":") - it is
15705 # assumed that no part of a normal pathname contains ";" but that should
15706 # okay in the real world where ";" in dirpaths is itself problematic.
15707 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15709 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15712 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15714 need_lib_prefix
=unknown
15715 hardcode_into_libs
=no
15717 # when you set need_version to no, make sure it does not cause -set_version
15718 # flags to be left without arguments
15719 need_version
=unknown
15724 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15725 shlibpath_var
=LIBPATH
15727 # AIX 3 has no versioning support, so we append a major version to the name.
15728 soname_spec
='${libname}${release}${shared_ext}$major'
15735 hardcode_into_libs
=yes
15736 if test "$host_cpu" = ia64
; then
15737 # AIX 5 supports IA64
15738 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15739 shlibpath_var
=LD_LIBRARY_PATH
15741 # With GCC up to 2.95.x, collect2 would create an import file
15742 # for dependence libraries. The import file would start with
15743 # the line `#! .'. This would cause the generated library to
15744 # depend on `.', always an invalid library. This was fixed in
15745 # development snapshots of GCC prior to 3.0.
15747 aix4 | aix4.
[01] | aix4.
[01].
*)
15748 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15750 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15753 can_build_shared
=no
15757 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15758 # soname into executable. Probably we can add versioning support to
15759 # collect2, so additional links can be useful in future.
15760 if test "$aix_use_runtimelinking" = yes; then
15761 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15762 # instead of lib<name>.a to let people know that these are not
15763 # typical AIX shared libraries.
15764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15766 # We preserve .a as extension for shared libraries through AIX4.2
15767 # and later when we are not doing run time linking.
15768 library_names_spec
='${libname}${release}.a $libname.a'
15769 soname_spec
='${libname}${release}${shared_ext}$major'
15771 shlibpath_var
=LIBPATH
15776 library_names_spec
='$libname.ixlibrary $libname.a'
15777 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15778 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'
15782 library_names_spec
='${libname}${shared_ext}'
15783 dynamic_linker
="$host_os ld.so"
15784 shlibpath_var
=LIBRARY_PATH
15790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15791 soname_spec
='${libname}${release}${shared_ext}$major'
15792 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15793 shlibpath_var
=LD_LIBRARY_PATH
15794 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15795 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15796 # the default ld.so.conf also contains /usr/contrib/lib and
15797 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15798 # libtool to hard-code these into programs
15801 cygwin
* | mingw
* | pw32
*)
15802 version_type
=windows
15807 case $GCC,$host_os in
15808 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15809 library_names_spec
='$libname.dll.a'
15810 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15811 postinstall_cmds
='base_file=`basename \${file}`~
15812 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15813 dldir=$destdir/`dirname \$dlpath`~
15814 test -d \$dldir || mkdir -p \$dldir~
15815 $install_prog $dir/$dlname \$dldir/$dlname~
15816 chmod a+x \$dldir/$dlname'
15817 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15818 dlpath=$dir/\$dldll~
15820 shlibpath_overrides_runpath
=yes
15824 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15825 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15826 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15829 # MinGW DLLs use traditional 'lib' prefix
15830 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15831 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15832 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15833 # It is most probably a Windows format PATH printed by
15834 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15835 # path with ; separators, and with drive letters. We can handle the
15836 # drive letters (cygwin fileutils understands them), so leave them,
15837 # especially as we might pass files found there to a mingw objdump,
15838 # which wouldn't understand a cygwinified path. Ahh.
15839 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15841 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15845 # pw32 DLLs use 'pw' prefix rather than 'lib'
15846 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15852 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15855 dynamic_linker
='Win32 ld.exe'
15856 # FIXME: first we should search . and the directory the executable is in
15860 darwin
* | rhapsody
*)
15861 dynamic_linker
="$host_os dyld"
15862 version_type
=darwin
15865 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15866 soname_spec
='${libname}${release}${major}$shared_ext'
15867 shlibpath_overrides_runpath
=yes
15868 shlibpath_var
=DYLD_LIBRARY_PATH
15869 shrext_cmds
='.dylib'
15870 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15871 if test "$GCC" = yes; then
15872 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"`
15874 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15876 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15884 soname_spec
='${libname}${release}${shared_ext}$major'
15885 shlibpath_var
=LD_LIBRARY_PATH
15896 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15897 soname_spec
='${libname}${release}${shared_ext}$major'
15898 shlibpath_var
=LD_LIBRARY_PATH
15899 shlibpath_overrides_runpath
=no
15900 hardcode_into_libs
=yes
15901 dynamic_linker
='GNU ld.so'
15904 freebsd
* | dragonfly
*)
15905 # DragonFly does not have aout. When/if they implement a new
15906 # versioning mechanism, adjust this.
15907 if test -x /usr
/bin
/objformat
; then
15908 objformat
=`/usr/bin/objformat`
15911 freebsd
[123]*) objformat
=aout
;;
15912 *) objformat
=elf
;;
15915 version_type
=freebsd-
$objformat
15916 case $version_type in
15918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15923 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15927 shlibpath_var
=LD_LIBRARY_PATH
15930 shlibpath_overrides_runpath
=yes
15932 freebsd3.
[01]* | freebsdelf3.
[01]*)
15933 shlibpath_overrides_runpath
=yes
15934 hardcode_into_libs
=yes
15936 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15937 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15938 shlibpath_overrides_runpath
=no
15939 hardcode_into_libs
=yes
15941 freebsd
*) # from 4.6 on
15942 shlibpath_overrides_runpath
=yes
15943 hardcode_into_libs
=yes
15952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15953 soname_spec
='${libname}${release}${shared_ext}$major'
15954 shlibpath_var
=LD_LIBRARY_PATH
15955 hardcode_into_libs
=yes
15958 hpux9
* | hpux10
* | hpux11
*)
15959 # Give a soname corresponding to the major version so that dld.sl refuses to
15960 # link against other versions.
15967 hardcode_into_libs
=yes
15968 dynamic_linker
="$host_os dld.so"
15969 shlibpath_var
=LD_LIBRARY_PATH
15970 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15971 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15972 soname_spec
='${libname}${release}${shared_ext}$major'
15973 if test "X$HPUX_IA64_MODE" = X32
; then
15974 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15976 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15978 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15982 hardcode_into_libs
=yes
15983 dynamic_linker
="$host_os dld.sl"
15984 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15985 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15986 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15987 soname_spec
='${libname}${release}${shared_ext}$major'
15988 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15989 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15993 dynamic_linker
="$host_os dld.sl"
15994 shlibpath_var
=SHLIB_PATH
15995 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15997 soname_spec
='${libname}${release}${shared_ext}$major'
16000 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16001 postinstall_cmds
='chmod 555 $lib'
16008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16009 soname_spec
='${libname}${release}${shared_ext}$major'
16010 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16011 shlibpath_var
=LD_LIBRARY_PATH
16012 shlibpath_overrides_runpath
=no
16013 hardcode_into_libs
=yes
16016 irix5
* | irix6
* | nonstopux
*)
16018 nonstopux
*) version_type
=nonstopux
;;
16020 if test "$lt_cv_prog_gnu_ld" = yes; then
16028 soname_spec
='${libname}${release}${shared_ext}$major'
16029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16031 irix5
* | nonstopux
*)
16032 libsuff
= shlibsuff
=
16035 case $LD in # libtool.m4 will add one of these switches to LD
16036 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16037 libsuff
= shlibsuff
= libmagic
=32-bit;;
16038 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16039 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16040 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16041 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16042 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16046 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16047 shlibpath_overrides_runpath
=no
16048 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16049 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16050 hardcode_into_libs
=yes
16053 # No shared lib support for Linux oldld, aout, or coff.
16054 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16058 # This must be Linux ELF.
16063 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16064 soname_spec
='${libname}${release}${shared_ext}$major'
16065 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16066 shlibpath_var
=LD_LIBRARY_PATH
16067 shlibpath_overrides_runpath
=no
16068 # This implies no fast_install, which is unacceptable.
16069 # Some rework will be needed to allow for fast_install
16070 # before this can be enabled.
16071 hardcode_into_libs
=yes
16073 # Append ld.so.conf contents to the search path
16074 if test -f /etc
/ld.so.conf
; then
16075 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16076 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16079 # We used to test for /lib/ld.so.1 and disable shared libraries on
16080 # powerpc, because MkLinux only supported shared libraries with the
16081 # GNU dynamic linker. Since this was broken with cross compilers,
16082 # most powerpc-linux boxes support dynamic linking these days and
16083 # people can always --disable-shared, the test was removed, and we
16084 # assume the GNU/Linux dynamic linker is in use.
16085 dynamic_linker
='GNU/Linux ld.so'
16092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16093 soname_spec
='${libname}${release}${shared_ext}$major'
16094 shlibpath_var
=LD_LIBRARY_PATH
16095 shlibpath_overrides_runpath
=no
16096 hardcode_into_libs
=yes
16097 dynamic_linker
='GNU ld.so'
16104 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16106 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16107 dynamic_linker
='NetBSD (a.out) ld.so'
16109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16110 soname_spec
='${libname}${release}${shared_ext}$major'
16111 dynamic_linker
='NetBSD ld.elf_so'
16113 shlibpath_var
=LD_LIBRARY_PATH
16114 shlibpath_overrides_runpath
=yes
16115 hardcode_into_libs
=yes
16120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16121 shlibpath_var
=LD_LIBRARY_PATH
16122 shlibpath_overrides_runpath
=yes
16129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16130 soname_spec
='${libname}${release}${shared_ext}$major'
16131 shlibpath_var
=LD_LIBRARY_PATH
16132 shlibpath_overrides_runpath
=yes
16137 sys_lib_dlsearch_path_spec
="/usr/lib"
16139 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16141 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16142 *) need_version
=no
;;
16144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16145 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16146 shlibpath_var
=LD_LIBRARY_PATH
16147 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16149 openbsd2.
[89] | openbsd2.
[89].
*)
16150 shlibpath_overrides_runpath
=no
16153 shlibpath_overrides_runpath
=yes
16157 shlibpath_overrides_runpath
=yes
16162 libname_spec
='$name'
16165 library_names_spec
='$libname${shared_ext} $libname.a'
16166 dynamic_linker
='OS/2 ld.exe'
16167 shlibpath_var
=LIBPATH
16170 osf3
* | osf4
* | osf5
*)
16174 soname_spec
='${libname}${release}${shared_ext}$major'
16175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16176 shlibpath_var
=LD_LIBRARY_PATH
16177 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16178 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16186 soname_spec
='${libname}${release}${shared_ext}$major'
16187 shlibpath_var
=LD_LIBRARY_PATH
16188 shlibpath_overrides_runpath
=yes
16189 hardcode_into_libs
=yes
16190 # ldd complains unless libraries are executable
16191 postinstall_cmds
='chmod +x $lib'
16196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16197 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16198 shlibpath_var
=LD_LIBRARY_PATH
16199 shlibpath_overrides_runpath
=yes
16200 if test "$with_gnu_ld" = yes; then
16208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16209 soname_spec
='${libname}${release}${shared_ext}$major'
16210 shlibpath_var
=LD_LIBRARY_PATH
16211 case $host_vendor in
16213 shlibpath_overrides_runpath
=no
16215 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16216 runpath_var
=LD_RUN_PATH
16224 shlibpath_overrides_runpath
=no
16225 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16231 if test -d /usr
/nec
;then
16233 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16234 soname_spec
='$libname${shared_ext}.$major'
16235 shlibpath_var
=LD_LIBRARY_PATH
16239 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16240 version_type
=freebsd-elf
16243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16244 soname_spec
='${libname}${release}${shared_ext}$major'
16245 shlibpath_var
=LD_LIBRARY_PATH
16246 hardcode_into_libs
=yes
16247 if test "$with_gnu_ld" = yes; then
16248 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16249 shlibpath_overrides_runpath
=no
16251 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16252 shlibpath_overrides_runpath
=yes
16255 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16259 sys_lib_dlsearch_path_spec
='/usr/lib'
16264 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16265 soname_spec
='${libname}${release}${shared_ext}$major'
16266 shlibpath_var
=LD_LIBRARY_PATH
16273 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16274 echo "${ECHO_T}$dynamic_linker" >&6; }
16275 test "$dynamic_linker" = no
&& can_build_shared
=no
16277 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16278 if test "$GCC" = yes; then
16279 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16282 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16283 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16285 if test -n "$hardcode_libdir_flag_spec" || \
16286 test -n "$runpath_var" || \
16287 test "X$hardcode_automatic" = "Xyes" ; then
16289 # We can hardcode non-existant directories.
16290 if test "$hardcode_direct" != no
&&
16291 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16292 # have to relink, otherwise we might link with an installed library
16293 # when we should be linking with a yet-to-be-installed one
16294 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
16295 test "$hardcode_minus_L" != no
; then
16296 # Linking always hardcodes the temporary library directory.
16297 hardcode_action
=relink
16299 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16300 hardcode_action
=immediate
16303 # We cannot hardcode anything, or else we can only hardcode existing
16305 hardcode_action
=unsupported
16307 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
16308 echo "${ECHO_T}$hardcode_action" >&6; }
16310 if test "$hardcode_action" = relink
; then
16311 # Fast installation is not supported
16312 enable_fast_install
=no
16313 elif test "$shlibpath_overrides_runpath" = yes ||
16314 test "$enable_shared" = no
; then
16315 # Fast installation is not necessary
16316 enable_fast_install
=needless
16321 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16322 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
16323 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
16324 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
16325 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
16326 { echo "$as_me:$LINENO: result: yes" >&5
16327 echo "${ECHO_T}yes" >&6; }
16329 # FIXME - insert some real tests, host_os isn't really good enough
16332 if test -n "$STRIP" ; then
16333 striplib
="$STRIP -x"
16334 { echo "$as_me:$LINENO: result: yes" >&5
16335 echo "${ECHO_T}yes" >&6; }
16337 { echo "$as_me:$LINENO: result: no" >&5
16338 echo "${ECHO_T}no" >&6; }
16342 { echo "$as_me:$LINENO: result: no" >&5
16343 echo "${ECHO_T}no" >&6; }
16348 if test "x$enable_dlopen" != xyes
; then
16349 enable_dlopen
=unknown
16350 enable_dlopen_self
=unknown
16351 enable_dlopen_self_static
=unknown
16358 lt_cv_dlopen
="load_add_on"
16360 lt_cv_dlopen_self
=yes
16364 lt_cv_dlopen
="LoadLibrary"
16369 lt_cv_dlopen
="dlopen"
16374 # if libdl is installed we need to link against it
16375 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16376 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16377 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16378 echo $ECHO_N "(cached) $ECHO_C" >&6
16380 ac_check_lib_save_LIBS
=$LIBS
16382 cat >conftest.
$ac_ext <<_ACEOF
16385 cat confdefs.h
>>conftest.
$ac_ext
16386 cat >>conftest.
$ac_ext <<_ACEOF
16387 /* end confdefs.h. */
16389 /* Override any GCC internal prototype to avoid an error.
16390 Use char because int might match the return type of a GCC
16391 builtin and then its argument prototype would still apply. */
16404 rm -f conftest.
$ac_objext conftest
$ac_exeext
16405 if { (ac_try
="$ac_link"
16406 case "(($ac_try" in
16407 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16408 *) ac_try_echo=$ac_try;;
16410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16411 (eval "$ac_link") 2>conftest.er1
16413 grep -v '^ *+' conftest.er1 >conftest.err
16415 cat conftest.err >&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); } &&
16418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16419 { (case "(($ac_try" in
16420 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16421 *) ac_try_echo
=$ac_try;;
16423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16424 (eval "$ac_try") 2>&5
16426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16427 (exit $ac_status); }; } &&
16428 { ac_try
='test -s conftest$ac_exeext'
16429 { (case "(($ac_try" in
16430 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16431 *) ac_try_echo=$ac_try;;
16433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16434 (eval "$ac_try") 2>&5
16436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16437 (exit $ac_status); }; }; then
16438 ac_cv_lib_dl_dlopen=yes
16440 echo "$as_me: failed program was:" >&5
16441 sed 's/^/| /' conftest.$ac_ext >&5
16443 ac_cv_lib_dl_dlopen=no
16446 rm -f core conftest.err conftest.$ac_objext \
16447 conftest$ac_exeext conftest.$ac_ext
16448 LIBS=$ac_check_lib_save_LIBS
16450 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16451 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16452 if test $ac_cv_lib_dl_dlopen = yes; then
16453 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16456 lt_cv_dlopen="dyld"
16458 lt_cv_dlopen_self=yes
16465 { echo "$as_me:$LINENO: checking for shl_load" >&5
16466 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
16467 if test "${ac_cv_func_shl_load+set}" = set; then
16468 echo $ECHO_N "(cached) $ECHO_C" >&6
16470 cat >conftest.$ac_ext <<_ACEOF
16473 cat confdefs.h >>conftest.$ac_ext
16474 cat >>conftest.$ac_ext <<_ACEOF
16475 /* end confdefs.h. */
16476 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
16477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16478 #define shl_load innocuous_shl_load
16480 /* System header to define __stub macros and hopefully few prototypes,
16481 which can conflict with char shl_load (); below.
16482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16483 <limits.h> exists even on freestanding compilers. */
16486 # include <limits.h>
16488 # include <assert.h>
16493 /* Override any GCC internal prototype to avoid an error.
16494 Use char because int might match the return type of a GCC
16495 builtin and then its argument prototype would still apply. */
16500 /* The GNU C library defines this for functions which it implements
16501 to always fail with ENOSYS. Some functions are actually named
16502 something starting with __ and the normal name is an alias. */
16503 #if defined __stub_shl_load || defined __stub___shl_load
16510 return shl_load ();
16515 rm -f conftest.$ac_objext conftest$ac_exeext
16516 if { (ac_try="$ac_link"
16517 case "(($ac_try" in
16518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16519 *) ac_try_echo
=$ac_try;;
16521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16522 (eval "$ac_link") 2>conftest.er1
16524 grep -v '^ *+' conftest.er1
>conftest.err
16526 cat conftest.err
>&5
16527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16528 (exit $ac_status); } &&
16529 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16530 { (case "(($ac_try" in
16531 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16532 *) ac_try_echo=$ac_try;;
16534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16535 (eval "$ac_try") 2>&5
16537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16538 (exit $ac_status); }; } &&
16539 { ac_try='test -s conftest$ac_exeext'
16540 { (case "(($ac_try" in
16541 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16542 *) ac_try_echo
=$ac_try;;
16544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16545 (eval "$ac_try") 2>&5
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); }; }; then
16549 ac_cv_func_shl_load
=yes
16551 echo "$as_me: failed program was:" >&5
16552 sed 's/^/| /' conftest.
$ac_ext >&5
16554 ac_cv_func_shl_load
=no
16557 rm -f core conftest.err conftest.
$ac_objext \
16558 conftest
$ac_exeext conftest.
$ac_ext
16560 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16561 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
16562 if test $ac_cv_func_shl_load = yes; then
16563 lt_cv_dlopen
="shl_load"
16565 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16566 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
16567 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16568 echo $ECHO_N "(cached) $ECHO_C" >&6
16570 ac_check_lib_save_LIBS
=$LIBS
16572 cat >conftest.
$ac_ext <<_ACEOF
16575 cat confdefs.h
>>conftest.
$ac_ext
16576 cat >>conftest.
$ac_ext <<_ACEOF
16577 /* end confdefs.h. */
16579 /* Override any GCC internal prototype to avoid an error.
16580 Use char because int might match the return type of a GCC
16581 builtin and then its argument prototype would still apply. */
16589 return shl_load ();
16594 rm -f conftest.
$ac_objext conftest
$ac_exeext
16595 if { (ac_try
="$ac_link"
16596 case "(($ac_try" in
16597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16598 *) ac_try_echo=$ac_try;;
16600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16601 (eval "$ac_link") 2>conftest.er1
16603 grep -v '^ *+' conftest.er1 >conftest.err
16605 cat conftest.err >&5
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); } &&
16608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16609 { (case "(($ac_try" in
16610 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16611 *) ac_try_echo
=$ac_try;;
16613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16614 (eval "$ac_try") 2>&5
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); }; } &&
16618 { ac_try
='test -s conftest$ac_exeext'
16619 { (case "(($ac_try" in
16620 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16621 *) ac_try_echo=$ac_try;;
16623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16624 (eval "$ac_try") 2>&5
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); }; }; then
16628 ac_cv_lib_dld_shl_load=yes
16630 echo "$as_me: failed program was:" >&5
16631 sed 's/^/| /' conftest.$ac_ext >&5
16633 ac_cv_lib_dld_shl_load=no
16636 rm -f core conftest.err conftest.$ac_objext \
16637 conftest$ac_exeext conftest.$ac_ext
16638 LIBS=$ac_check_lib_save_LIBS
16640 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
16641 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
16642 if test $ac_cv_lib_dld_shl_load = yes; then
16643 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
16645 { echo "$as_me:$LINENO: checking for dlopen" >&5
16646 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
16647 if test "${ac_cv_func_dlopen+set}" = set; then
16648 echo $ECHO_N "(cached) $ECHO_C" >&6
16650 cat >conftest.$ac_ext <<_ACEOF
16653 cat confdefs.h >>conftest.$ac_ext
16654 cat >>conftest.$ac_ext <<_ACEOF
16655 /* end confdefs.h. */
16656 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
16657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16658 #define dlopen innocuous_dlopen
16660 /* System header to define __stub macros and hopefully few prototypes,
16661 which can conflict with char dlopen (); below.
16662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16663 <limits.h> exists even on freestanding compilers. */
16666 # include <limits.h>
16668 # include <assert.h>
16673 /* Override any GCC internal prototype to avoid an error.
16674 Use char because int might match the return type of a GCC
16675 builtin and then its argument prototype would still apply. */
16680 /* The GNU C library defines this for functions which it implements
16681 to always fail with ENOSYS. Some functions are actually named
16682 something starting with __ and the normal name is an alias. */
16683 #if defined __stub_dlopen || defined __stub___dlopen
16695 rm -f conftest.$ac_objext conftest$ac_exeext
16696 if { (ac_try="$ac_link"
16697 case "(($ac_try" in
16698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16699 *) ac_try_echo
=$ac_try;;
16701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16702 (eval "$ac_link") 2>conftest.er1
16704 grep -v '^ *+' conftest.er1
>conftest.err
16706 cat conftest.err
>&5
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); } &&
16709 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16710 { (case "(($ac_try" in
16711 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16712 *) ac_try_echo=$ac_try;;
16714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16715 (eval "$ac_try") 2>&5
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); }; } &&
16719 { ac_try='test -s conftest$ac_exeext'
16720 { (case "(($ac_try" in
16721 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16722 *) ac_try_echo
=$ac_try;;
16724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16725 (eval "$ac_try") 2>&5
16727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16728 (exit $ac_status); }; }; then
16729 ac_cv_func_dlopen
=yes
16731 echo "$as_me: failed program was:" >&5
16732 sed 's/^/| /' conftest.
$ac_ext >&5
16734 ac_cv_func_dlopen
=no
16737 rm -f core conftest.err conftest.
$ac_objext \
16738 conftest
$ac_exeext conftest.
$ac_ext
16740 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
16741 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
16742 if test $ac_cv_func_dlopen = yes; then
16743 lt_cv_dlopen
="dlopen"
16745 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16746 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16747 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16748 echo $ECHO_N "(cached) $ECHO_C" >&6
16750 ac_check_lib_save_LIBS
=$LIBS
16752 cat >conftest.
$ac_ext <<_ACEOF
16755 cat confdefs.h
>>conftest.
$ac_ext
16756 cat >>conftest.
$ac_ext <<_ACEOF
16757 /* end confdefs.h. */
16759 /* Override any GCC internal prototype to avoid an error.
16760 Use char because int might match the return type of a GCC
16761 builtin and then its argument prototype would still apply. */
16774 rm -f conftest.
$ac_objext conftest
$ac_exeext
16775 if { (ac_try
="$ac_link"
16776 case "(($ac_try" in
16777 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16778 *) ac_try_echo=$ac_try;;
16780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16781 (eval "$ac_link") 2>conftest.er1
16783 grep -v '^ *+' conftest.er1 >conftest.err
16785 cat conftest.err >&5
16786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16787 (exit $ac_status); } &&
16788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16789 { (case "(($ac_try" in
16790 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16791 *) ac_try_echo
=$ac_try;;
16793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16794 (eval "$ac_try") 2>&5
16796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16797 (exit $ac_status); }; } &&
16798 { ac_try
='test -s conftest$ac_exeext'
16799 { (case "(($ac_try" in
16800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16801 *) ac_try_echo=$ac_try;;
16803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16804 (eval "$ac_try") 2>&5
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); }; }; then
16808 ac_cv_lib_dl_dlopen=yes
16810 echo "$as_me: failed program was:" >&5
16811 sed 's/^/| /' conftest.$ac_ext >&5
16813 ac_cv_lib_dl_dlopen=no
16816 rm -f core conftest.err conftest.$ac_objext \
16817 conftest$ac_exeext conftest.$ac_ext
16818 LIBS=$ac_check_lib_save_LIBS
16820 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16821 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16822 if test $ac_cv_lib_dl_dlopen = yes; then
16823 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16825 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
16826 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
16827 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16830 ac_check_lib_save_LIBS=$LIBS
16831 LIBS="-lsvld $LIBS"
16832 cat >conftest.$ac_ext <<_ACEOF
16835 cat confdefs.h >>conftest.$ac_ext
16836 cat >>conftest.$ac_ext <<_ACEOF
16837 /* end confdefs.h. */
16839 /* Override any GCC internal prototype to avoid an error.
16840 Use char because int might match the return type of a GCC
16841 builtin and then its argument prototype would still apply. */
16854 rm -f conftest.$ac_objext conftest$ac_exeext
16855 if { (ac_try="$ac_link"
16856 case "(($ac_try" in
16857 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16858 *) ac_try_echo
=$ac_try;;
16860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16861 (eval "$ac_link") 2>conftest.er1
16863 grep -v '^ *+' conftest.er1
>conftest.err
16865 cat conftest.err
>&5
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); } &&
16868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16869 { (case "(($ac_try" in
16870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16871 *) ac_try_echo=$ac_try;;
16873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16874 (eval "$ac_try") 2>&5
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); }; } &&
16878 { ac_try='test -s conftest$ac_exeext'
16879 { (case "(($ac_try" in
16880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16881 *) ac_try_echo
=$ac_try;;
16883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16884 (eval "$ac_try") 2>&5
16886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16887 (exit $ac_status); }; }; then
16888 ac_cv_lib_svld_dlopen
=yes
16890 echo "$as_me: failed program was:" >&5
16891 sed 's/^/| /' conftest.
$ac_ext >&5
16893 ac_cv_lib_svld_dlopen
=no
16896 rm -f core conftest.err conftest.
$ac_objext \
16897 conftest
$ac_exeext conftest.
$ac_ext
16898 LIBS
=$ac_check_lib_save_LIBS
16900 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
16901 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
16902 if test $ac_cv_lib_svld_dlopen = yes; then
16903 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
16905 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
16906 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
16907 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
16908 echo $ECHO_N "(cached) $ECHO_C" >&6
16910 ac_check_lib_save_LIBS
=$LIBS
16912 cat >conftest.
$ac_ext <<_ACEOF
16915 cat confdefs.h
>>conftest.
$ac_ext
16916 cat >>conftest.
$ac_ext <<_ACEOF
16917 /* end confdefs.h. */
16919 /* Override any GCC internal prototype to avoid an error.
16920 Use char because int might match the return type of a GCC
16921 builtin and then its argument prototype would still apply. */
16929 return dld_link ();
16934 rm -f conftest.
$ac_objext conftest
$ac_exeext
16935 if { (ac_try
="$ac_link"
16936 case "(($ac_try" in
16937 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16938 *) ac_try_echo=$ac_try;;
16940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16941 (eval "$ac_link") 2>conftest.er1
16943 grep -v '^ *+' conftest.er1 >conftest.err
16945 cat conftest.err >&5
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); } &&
16948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16949 { (case "(($ac_try" in
16950 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16951 *) ac_try_echo
=$ac_try;;
16953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16954 (eval "$ac_try") 2>&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); }; } &&
16958 { ac_try
='test -s conftest$ac_exeext'
16959 { (case "(($ac_try" in
16960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16961 *) ac_try_echo=$ac_try;;
16963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16964 (eval "$ac_try") 2>&5
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); }; }; then
16968 ac_cv_lib_dld_dld_link=yes
16970 echo "$as_me: failed program was:" >&5
16971 sed 's/^/| /' conftest.$ac_ext >&5
16973 ac_cv_lib_dld_dld_link=no
16976 rm -f core conftest.err conftest.$ac_objext \
16977 conftest$ac_exeext conftest.$ac_ext
16978 LIBS=$ac_check_lib_save_LIBS
16980 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
16981 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
16982 if test $ac_cv_lib_dld_dld_link = yes; then
16983 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17004 if test "x$lt_cv_dlopen" != xno; then
17010 case $lt_cv_dlopen in
17012 save_CPPFLAGS="$CPPFLAGS"
17013 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17015 save_LDFLAGS="$LDFLAGS"
17016 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17019 LIBS="$lt_cv_dlopen_libs $LIBS"
17021 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17022 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
17023 if test "${lt_cv_dlopen_self+set}" = set; then
17024 echo $ECHO_N "(cached) $ECHO_C" >&6
17026 if test "$cross_compiling" = yes; then :
17027 lt_cv_dlopen_self=cross
17029 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17030 lt_status=$lt_dlunknown
17031 cat > conftest.$ac_ext <<EOF
17032 #line 17032 "configure"
17033 #include "confdefs.h"
17042 # define LT_DLGLOBAL RTLD_GLOBAL
17045 # define LT_DLGLOBAL DL_GLOBAL
17047 # define LT_DLGLOBAL 0
17051 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17052 find out it does not work in some platform. */
17053 #ifndef LT_DLLAZY_OR_NOW
17055 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17058 # define LT_DLLAZY_OR_NOW DL_LAZY
17061 # define LT_DLLAZY_OR_NOW RTLD_NOW
17064 # define LT_DLLAZY_OR_NOW DL_NOW
17066 # define LT_DLLAZY_OR_NOW 0
17074 extern "C" void exit (int);
17077 void fnord() { int i=42;}
17080 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17081 int status = $lt_dlunknown;
17085 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17086 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17087 /* dlclose (self); */
17095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17096 (eval $ac_link) 2>&5
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17100 (./conftest; exit; ) >&5 2>/dev/null
17102 case x$lt_status in
17103 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17104 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17105 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
17108 # compilation failed
17109 lt_cv_dlopen_self=no
17116 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17117 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
17119 if test "x$lt_cv_dlopen_self" = xyes; then
17120 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
17121 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17122 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
17123 if test "${lt_cv_dlopen_self_static+set}" = set; then
17124 echo $ECHO_N "(cached) $ECHO_C" >&6
17126 if test "$cross_compiling" = yes; then :
17127 lt_cv_dlopen_self_static=cross
17129 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17130 lt_status=$lt_dlunknown
17131 cat > conftest.$ac_ext <<EOF
17132 #line 17132 "configure"
17133 #include "confdefs.h"
17142 # define LT_DLGLOBAL RTLD_GLOBAL
17145 # define LT_DLGLOBAL DL_GLOBAL
17147 # define LT_DLGLOBAL 0
17151 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17152 find out it does not work in some platform. */
17153 #ifndef LT_DLLAZY_OR_NOW
17155 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17158 # define LT_DLLAZY_OR_NOW DL_LAZY
17161 # define LT_DLLAZY_OR_NOW RTLD_NOW
17164 # define LT_DLLAZY_OR_NOW DL_NOW
17166 # define LT_DLLAZY_OR_NOW 0
17174 extern "C" void exit (int);
17177 void fnord() { int i=42;}
17180 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17181 int status = $lt_dlunknown;
17185 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17186 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17187 /* dlclose (self); */
17195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17196 (eval $ac_link) 2>&5
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17200 (./conftest; exit; ) >&5 2>/dev/null
17202 case x$lt_status in
17203 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17204 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17205 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
17208 # compilation failed
17209 lt_cv_dlopen_self_static=no
17216 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17217 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
17220 CPPFLAGS="$save_CPPFLAGS"
17221 LDFLAGS="$save_LDFLAGS"
17226 case $lt_cv_dlopen_self in
17227 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17228 *) enable_dlopen_self=unknown ;;
17231 case $lt_cv_dlopen_self_static in
17232 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17233 *) enable_dlopen_self_static=unknown ;;
17238 # Report which library types will actually be built
17239 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17240 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
17241 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
17242 echo "${ECHO_T}$can_build_shared" >&6; }
17244 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17245 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
17246 test "$can_build_shared" = "no" && enable_shared=no
17248 # On AIX, shared libraries and static libraries use the same namespace, and
17249 # are all built from PIC.
17252 test "$enable_shared" = yes && enable_static=no
17253 if test -n "$RANLIB"; then
17254 archive_cmds="$archive_cmds~\$RANLIB \$lib"
17255 postinstall_cmds='$RANLIB $lib'
17260 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17261 test "$enable_shared" = yes && enable_static=no
17265 { echo "$as_me:$LINENO: result: $enable_shared" >&5
17266 echo "${ECHO_T}$enable_shared" >&6; }
17268 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17269 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
17270 # Make sure either enable_shared or enable_static is yes.
17271 test "$enable_shared" = yes || enable_static=yes
17272 { echo "$as_me:$LINENO: result: $enable_static" >&5
17273 echo "${ECHO_T}$enable_static" >&6; }
17275 # The else clause should only fire when bootstrapping the
17276 # libtool distribution, otherwise you forgot to ship ltmain.sh
17277 # with your package, and you will get complaints that there are
17278 # no rules to generate ltmain.sh.
17279 if test -f "$ltmain"; then
17280 # See if we are running on zsh, and set the options which allow our commands through
17281 # without removal of \ escapes.
17282 if test -n "${ZSH_VERSION+set}" ; then
17283 setopt NO_GLOB_SUBST
17285 # Now quote all the things that may contain metacharacters while being
17286 # careful not to overquote the AC_SUBSTed values. We take copies of the
17287 # variables and quote the copies for generation of the libtool script.
17288 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17290 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17291 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17292 deplibs_check_method reload_flag reload_cmds need_locks \
17293 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17294 lt_cv_sys_global_symbol_to_c_name_address \
17295 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17296 old_postinstall_cmds old_postuninstall_cmds \
17300 lt_prog_compiler_wl \
17301 lt_prog_compiler_pic \
17302 lt_prog_compiler_static \
17303 lt_prog_compiler_no_builtin_flag \
17304 export_dynamic_flag_spec \
17305 thread_safe_flag_spec \
17306 whole_archive_flag_spec \
17307 enable_shared_with_static_runtimes \
17309 old_archive_from_new_cmds \
17314 compiler_lib_search_path \
17316 archive_expsym_cmds \
17318 postuninstall_cmds \
17319 old_archive_from_expsyms_cmds \
17320 allow_undefined_flag \
17321 no_undefined_flag \
17322 export_symbols_cmds \
17323 hardcode_libdir_flag_spec \
17324 hardcode_libdir_flag_spec_ld \
17325 hardcode_libdir_separator \
17326 hardcode_automatic \
17328 module_expsym_cmds \
17329 lt_cv_prog_compiler_c_o \
17331 include_expsyms; do
17334 old_archive_cmds | \
17335 old_archive_from_new_cmds | \
17337 archive_expsym_cmds | \
17339 module_expsym_cmds | \
17340 old_archive_from_expsyms_cmds | \
17341 export_symbols_cmds | \
17342 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17343 postinstall_cmds | postuninstall_cmds | \
17344 old_postinstall_cmds | old_postuninstall_cmds | \
17345 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17346 # Double-quote double-evaled strings.
17347 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
17350 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
17356 *'\$0 --fallback-echo"')
17357 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17361 cfgfile="${ofile}T"
17362 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
17364 { echo "$as_me:$LINENO: creating $ofile" >&5
17365 echo "$as_me: creating $ofile" >&6;}
17367 cat <<__EOF__ >> "$cfgfile"
17370 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
17371 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
17372 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17374 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
17375 # Free Software Foundation, Inc.
17377 # This file is part of GNU Libtool:
17378 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
17380 # This program is free software; you can redistribute it and/or modify
17381 # it under the terms of the GNU General Public License as published by
17382 # the Free Software Foundation; either version 2 of the License, or
17383 # (at your option) any later version.
17385 # This program is distributed in the hope that it will be useful, but
17386 # WITHOUT ANY WARRANTY; without even the implied warranty of
17387 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17388 # General Public License for more details.
17390 # You should have received a copy of the GNU General Public License
17391 # along with this program; if not, write to the Free Software
17392 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17394 # As a special exception to the GNU General Public License, if you
17395 # distribute this file as part of a program that contains a
17396 # configuration script generated by Autoconf, you may include it under
17397 # the same distribution terms that you use for the rest of that program.
17399 # A sed program that does not truncate output.
17402 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17403 Xsed="$SED -e 1s/^X//"
17405 # The HP-UX ksh and POSIX shell print the target directory to stdout
17406 # if CDPATH is set.
17407 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17409 # The names of the tagged configurations supported by this script.
17412 # ### BEGIN LIBTOOL CONFIG
17414 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
17416 # Shell to use when invoking shell scripts.
17419 # Whether or not to build shared libraries.
17420 build_libtool_libs=$enable_shared
17422 # Whether or not to build static libraries.
17423 build_old_libs=$enable_static
17425 # Whether or not to add -lc for building shared libraries.
17426 build_libtool_need_lc=$archive_cmds_need_lc
17428 # Whether or not to disallow shared libs when runtime libs are static
17429 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17431 # Whether or not to optimize for fast installation.
17432 fast_install=$enable_fast_install
17435 host_alias=$host_alias
17439 # The build system.
17440 build_alias=$build_alias
17444 # An echo program that does not interpret backslashes.
17449 AR_FLAGS=$lt_AR_FLAGS
17454 # LTCC compiler flags.
17455 LTCFLAGS=$lt_LTCFLAGS
17457 # A language-specific compiler.
17460 # Is the compiler the GNU C compiler?
17466 # The linker used to build libraries.
17469 # Whether we need hard or soft links.
17472 # A BSD-compatible nm program.
17475 # A symbol stripping program
17478 # Used to examine libraries when file_magic_cmd begins "file"
17479 MAGIC_CMD=$MAGIC_CMD
17481 # Used on cygwin: DLL creation program.
17484 # Used on cygwin: object dumper.
17487 # Used on cygwin: assembler.
17490 # The name of the directory that contains temporary libtool files.
17493 # How to create reloadable object files.
17494 reload_flag=$lt_reload_flag
17495 reload_cmds=$lt_reload_cmds
17497 # How to pass a linker flag through the compiler.
17498 wl=$lt_lt_prog_compiler_wl
17500 # Object file suffix (normally "o").
17501 objext="$ac_objext"
17503 # Old archive suffix (normally "a").
17506 # Shared library suffix (normally ".so").
17507 shrext_cmds='$shrext_cmds'
17509 # Executable file suffix (normally "").
17512 # Additional compiler flags for building library objects.
17513 pic_flag=$lt_lt_prog_compiler_pic
17516 # What is the maximum length of a command?
17517 max_cmd_len=$lt_cv_sys_max_cmd_len
17519 # Does compiler simultaneously support -c and -o options?
17520 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17522 # Must we lock files when doing compilation?
17523 need_locks=$lt_need_locks
17525 # Do we need the lib prefix for modules?
17526 need_lib_prefix=$need_lib_prefix
17528 # Do we need a version for libraries?
17529 need_version=$need_version
17531 # Whether dlopen is supported.
17532 dlopen_support=$enable_dlopen
17534 # Whether dlopen of programs is supported.
17535 dlopen_self=$enable_dlopen_self
17537 # Whether dlopen of statically linked programs is supported.
17538 dlopen_self_static=$enable_dlopen_self_static
17540 # Compiler flag to prevent dynamic linking.
17541 link_static_flag=$lt_lt_prog_compiler_static
17543 # Compiler flag to turn off builtin functions.
17544 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17546 # Compiler flag to allow reflexive dlopens.
17547 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17549 # Compiler flag to generate shared objects directly from archives.
17550 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17552 # Compiler flag to generate thread-safe objects.
17553 thread_safe_flag_spec=$lt_thread_safe_flag_spec
17555 # Library versioning type.
17556 version_type=$version_type
17558 # Format of library name prefix.
17559 libname_spec=$lt_libname_spec
17561 # List of archive names. First name is the real one, the rest are links.
17562 # The last name is the one that the linker finds with -lNAME.
17563 library_names_spec=$lt_library_names_spec
17565 # The coded name of the library, if different from the real name.
17566 soname_spec=$lt_soname_spec
17568 # Commands used to build and install an old-style archive.
17570 old_archive_cmds=$lt_old_archive_cmds
17571 old_postinstall_cmds=$lt_old_postinstall_cmds
17572 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17574 # Create an old-style archive from a shared archive.
17575 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17577 # Create a temporary old-style archive to link instead of a shared archive.
17578 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17580 # Commands used to build and install a shared archive.
17581 archive_cmds=$lt_archive_cmds
17582 archive_expsym_cmds=$lt_archive_expsym_cmds
17583 postinstall_cmds=$lt_postinstall_cmds
17584 postuninstall_cmds=$lt_postuninstall_cmds
17586 # Commands used to build a loadable module (assumed same as above if empty)
17587 module_cmds=$lt_module_cmds
17588 module_expsym_cmds=$lt_module_expsym_cmds
17590 # Commands to strip libraries.
17591 old_striplib=$lt_old_striplib
17592 striplib=$lt_striplib
17594 # Dependencies to place before the objects being linked to create a
17596 predep_objects=$lt_predep_objects
17598 # Dependencies to place after the objects being linked to create a
17600 postdep_objects=$lt_postdep_objects
17602 # Dependencies to place before the objects being linked to create a
17604 predeps=$lt_predeps
17606 # Dependencies to place after the objects being linked to create a
17608 postdeps=$lt_postdeps
17610 # The library search path used internally by the compiler when linking
17611 # a shared library.
17612 compiler_lib_search_path=$lt_compiler_lib_search_path
17614 # Method to check whether dependent libraries are shared objects.
17615 deplibs_check_method=$lt_deplibs_check_method
17617 # Command to use when deplibs_check_method == file_magic.
17618 file_magic_cmd=$lt_file_magic_cmd
17620 # Flag that allows shared libraries with undefined symbols to be built.
17621 allow_undefined_flag=$lt_allow_undefined_flag
17623 # Flag that forces no undefined symbols.
17624 no_undefined_flag=$lt_no_undefined_flag
17626 # Commands used to finish a libtool library installation in a directory.
17627 finish_cmds=$lt_finish_cmds
17629 # Same as above, but a single script fragment to be evaled but not shown.
17630 finish_eval=$lt_finish_eval
17632 # Take the output of nm and produce a listing of raw symbols and C names.
17633 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17635 # Transform the output of nm in a proper C declaration
17636 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17638 # Transform the output of nm in a C name address pair
17639 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17641 # This is the shared library runtime path variable.
17642 runpath_var=$runpath_var
17644 # This is the shared library path variable.
17645 shlibpath_var=$shlibpath_var
17647 # Is shlibpath searched before the hard-coded library search path?
17648 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17650 # How to hardcode a shared library path into an executable.
17651 hardcode_action=$hardcode_action
17653 # Whether we should hardcode library paths into libraries.
17654 hardcode_into_libs=$hardcode_into_libs
17656 # Flag to hardcode \$libdir into a binary during linking.
17657 # This must work even if \$libdir does not exist.
17658 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17660 # If ld is used when linking, flag to hardcode \$libdir into
17661 # a binary during linking. This must work even if \$libdir does
17663 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17665 # Whether we need a single -rpath flag with a separated argument.
17666 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17668 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17669 # resulting binary.
17670 hardcode_direct=$hardcode_direct
17672 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17673 # resulting binary.
17674 hardcode_minus_L=$hardcode_minus_L
17676 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17677 # the resulting binary.
17678 hardcode_shlibpath_var=$hardcode_shlibpath_var
17680 # Set to yes if building a shared library automatically hardcodes DIR into the library
17681 # and all subsequent libraries and executables linked against it.
17682 hardcode_automatic=$hardcode_automatic
17684 # Variables whose values should be saved in libtool wrapper scripts and
17685 # restored at relink time.
17686 variables_saved_for_relink="$variables_saved_for_relink"
17688 # Whether libtool must link a program against all its dependency libraries.
17689 link_all_deplibs=$link_all_deplibs
17691 # Compile-time system search path for libraries
17692 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17694 # Run-time system search path for libraries
17695 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17697 # Fix the shell variable \$srcfile for the compiler.
17698 fix_srcfile_path="$fix_srcfile_path"
17700 # Set to yes if exported symbols are required.
17701 always_export_symbols=$always_export_symbols
17703 # The commands to list exported symbols.
17704 export_symbols_cmds=$lt_export_symbols_cmds
17706 # The commands to extract the exported symbol list from a shared archive.
17707 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17709 # Symbols that should not be listed in the preloaded symbols.
17710 exclude_expsyms=$lt_exclude_expsyms
17712 # Symbols that must always be exported.
17713 include_expsyms=$lt_include_expsyms
17715 # ### END LIBTOOL CONFIG
17722 cat <<\EOF >> "$cfgfile"
17724 # AIX sometimes has problems with the GCC collect2 program. For some
17725 # reason, if we set the COLLECT_NAMES environment variable, the problems
17726 # vanish in a puff of smoke.
17727 if test "X${COLLECT_NAMES+set}" != Xset; then
17729 export COLLECT_NAMES
17735 # We use sed instead of cat because bash on DJGPP gets confused if
17736 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17737 # text mode, it properly converts lines to CR/LF. This bash problem
17738 # is reportedly fixed, but why not run on old versions too?
17739 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
17741 mv -f "$cfgfile" "$ofile" || \
17742 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17746 # If there is no Makefile yet, we rely on a make rule to execute
17747 # `config.status
--recheck' to rerun these tests and create the
17748 # libtool script then.
17749 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
17750 if test -f "$ltmain_in"; then
17751 test -f Makefile && make "$ltmain"
17757 ac_cpp='$CPP $CPPFLAGS'
17758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17759 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17765 # Check whether --with-tags was given.
17766 if test "${with_tags+set}" = set; then
17767 withval=$with_tags; tagnames="$withval"
17771 if test -f "$ltmain" && test -n "$tagnames"; then
17772 if test ! -f "${ofile}"; then
17773 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
17774 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
17777 if test -z "$LTCC"; then
17778 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
17779 if test -z "$LTCC"; then
17780 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
17781 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
17783 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
17784 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
17787 if test -z "$LTCFLAGS"; then
17788 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
17791 # Extract list of available tagged configurations in $ofile.
17792 # Note that this assumes the entire list is on one line.
17793 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
17795 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
17796 for tagname in $tagnames; do
17798 # Check whether tagname contains only valid characters
17799 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
17801 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
17802 echo "$as_me: error: invalid tag name: $tagname" >&2;}
17803 { (exit 1); exit 1; }; }
17807 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
17809 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
17810 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
17811 { (exit 1); exit 1; }; }
17814 # Update the list of available tags.
17815 if test -n "$tagname"; then
17816 echo appending configuration tag \"$tagname\" to $ofile
17820 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
17821 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
17822 (test "X$CXX" != "Xg++"))) ; then
17824 ac_cpp='$CXXCPP $CPPFLAGS'
17825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17832 archive_cmds_need_lc_CXX=no
17833 allow_undefined_flag_CXX=
17834 always_export_symbols_CXX=no
17835 archive_expsym_cmds_CXX=
17836 export_dynamic_flag_spec_CXX=
17837 hardcode_direct_CXX=no
17838 hardcode_libdir_flag_spec_CXX=
17839 hardcode_libdir_flag_spec_ld_CXX=
17840 hardcode_libdir_separator_CXX=
17841 hardcode_minus_L_CXX=no
17842 hardcode_shlibpath_var_CXX=unsupported
17843 hardcode_automatic_CXX=no
17845 module_expsym_cmds_CXX=
17846 link_all_deplibs_CXX=unknown
17847 old_archive_cmds_CXX=$old_archive_cmds
17848 no_undefined_flag_CXX=
17849 whole_archive_flag_spec_CXX=
17850 enable_shared_with_static_runtimes_CXX=no
17852 # Dependencies to place before and after the object being linked:
17853 predep_objects_CXX=
17854 postdep_objects_CXX=
17857 compiler_lib_search_path_CXX=
17859 # Source file extension for C++ test sources.
17862 # Object file extension for compiled C++ test sources.
17866 # Code to be used in simple compile tests
17867 lt_simple_compile_test_code="int some_variable = 0;\n"
17869 # Code to be used in simple link tests
17870 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
17872 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17874 # If no C compiler was specified, use CC.
17877 # If no C compiler flags were specified, use CFLAGS.
17878 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17880 # Allow CC to be a program name with arguments.
17884 # save warnings/boilerplate of simple test code
17885 ac_outfile=conftest.$ac_objext
17886 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
17887 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17888 _lt_compiler_boilerplate=`cat conftest.err
`
17891 ac_outfile=conftest.$ac_objext
17892 printf "$lt_simple_link_test_code" >conftest.$ac_ext
17893 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17894 _lt_linker_boilerplate=`cat conftest.err
`
17898 # Allow CC to be a program name with arguments.
17903 lt_save_with_gnu_ld=$with_gnu_ld
17904 lt_save_path_LD=$lt_cv_path_LD
17905 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
17906 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
17908 $as_unset lt_cv_prog_gnu_ld
17910 if test -n "${lt_cv_path_LDCXX+set}"; then
17911 lt_cv_path_LD=$lt_cv_path_LDCXX
17913 $as_unset lt_cv_path_LD
17915 test -z "${LDCXX+set}" || LD=$LDCXX
17919 for cc_temp in $compiler""; do
17921 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17922 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17927 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17930 # We don't want -fno-exception wen compiling C++ code, so set the
17931 # no_builtin_flag separately
17932 if test "$GXX" = yes; then
17933 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
17935 lt_prog_compiler_no_builtin_flag_CXX=
17938 if test "$GXX" = yes; then
17939 # Set up default GNU C++ configuration
17942 # Check whether --with-gnu-ld was given.
17943 if test "${with_gnu_ld+set}" = set; then
17944 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17950 if test "$GCC" = yes; then
17951 # Check if gcc -print-prog-name=ld gives a path.
17952 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
17953 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
17956 # gcc leaves a trailing carriage return which upsets mingw
17957 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
17959 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
17962 # Accept absolute paths.
17964 re_direlt='/[^/][^/]*/\.\./'
17965 # Canonicalize the pathname of ld
17966 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
17967 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
17968 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
17970 test -z "$LD" && LD="$ac_prog"
17973 # If it fails, then pretend we aren't using GCC.
17977 # If it is relative, then search for the first ld in PATH.
17978 with_gnu_ld=unknown
17981 elif test "$with_gnu_ld" = yes; then
17982 { echo "$as_me:$LINENO: checking for GNU ld" >&5
17983 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
17985 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
17986 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
17988 if test "${lt_cv_path_LD+set}" = set; then
17989 echo $ECHO_N "(cached) $ECHO_C" >&6
17991 if test -z "$LD"; then
17992 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17993 for ac_dir in $PATH; do
17995 test -z "$ac_dir" && ac_dir=.
17996 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17997 lt_cv_path_LD="$ac_dir/$ac_prog"
17998 # Check to see if the program is GNU ld. I'd rather use --version,
17999 # but apparently some variants of GNU ld only accept -v.
18000 # Break only if it was the GNU/non-GNU ld that we prefer.
18001 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
18002 *GNU* | *'with BFD'*)
18003 test "$with_gnu_ld" != no && break
18006 test "$with_gnu_ld" != yes && break
18013 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18017 LD="$lt_cv_path_LD"
18018 if test -n "$LD"; then
18019 { echo "$as_me:$LINENO: result: $LD" >&5
18020 echo "${ECHO_T}$LD" >&6; }
18022 { echo "$as_me:$LINENO: result: no" >&5
18023 echo "${ECHO_T}no" >&6; }
18025 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18026 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18027 { (exit 1); exit 1; }; }
18028 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18029 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
18030 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18031 echo $ECHO_N "(cached) $ECHO_C" >&6
18033 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18034 case `$LD -v 2>&1 </dev
/null
` in
18035 *GNU* | *'with BFD'*)
18036 lt_cv_prog_gnu_ld=yes
18039 lt_cv_prog_gnu_ld=no
18043 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18044 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
18045 with_gnu_ld=$lt_cv_prog_gnu_ld
18049 # Check if GNU C++ uses GNU ld as the underlying linker, since the
18050 # archiving commands below assume that GNU ld is being used.
18051 if test "$with_gnu_ld" = yes; then
18052 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18053 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'
18055 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18056 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18058 # If archive_cmds runs LD, not CC, wlarc should be empty
18059 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18060 # investigate it a little bit more. (MM)
18063 # ancient GNU ld didn't support --whole-archive et. al.
18064 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
18065 grep 'no-whole-archive' > /dev/null; then
18066 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18068 whole_archive_flag_spec_CXX=
18074 # A generic and very simple default shared library creation
18075 # command for GNU C++ for the case where it uses the native
18076 # linker, instead of GNU ld. If possible, this setting should
18077 # overridden to take advantage of the native linker features on
18078 # the platform it is being used on.
18079 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18082 # Commands to make compiler produce verbose output that lists
18083 # what "hidden" libraries, object files and flags are used when
18084 # linking a shared library.
18085 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18093 # PORTME: fill in a description of your system's C++ link characteristics
18094 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18095 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18099 # FIXME: insert proper C++ library support
18103 if test "$host_cpu" = ia64; then
18104 # On IA64, the linker does run time linking by default, so we don't
18105 # have to do anything special.
18106 aix_use_runtimelinking=no
18107 exp_sym_flag='-Bexport'
18110 aix_use_runtimelinking=no
18112 # Test if we are trying to use run time linking or normal
18113 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18114 # need to do runtime linking.
18115 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18116 for ld_flag in $LDFLAGS; do
18119 aix_use_runtimelinking=yes
18127 exp_sym_flag='-bexport'
18128 no_entry_flag='-bnoentry'
18131 # When large executables or shared objects are built, AIX ld can
18132 # have problems creating the table of contents. If linking a library
18133 # or program results in "error TOC overflow" add -mminimal-toc to
18134 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18135 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18137 archive_cmds_CXX=''
18138 hardcode_direct_CXX=yes
18139 hardcode_libdir_separator_CXX=':'
18140 link_all_deplibs_CXX=yes
18142 if test "$GXX" = yes; then
18143 case $host_os in aix4.[012]|aix4.[012].*)
18144 # We only want to do this on AIX 4.2 and lower, the check
18145 # below for broken collect2 doesn't work under 4.3+
18146 collect2name=`${CC} -print-prog-name=collect2
`
18147 if test -f "$collect2name" && \
18148 strings "$collect2name" | grep resolve_lib_name >/dev/null
18150 # We have reworked collect2
18151 hardcode_direct_CXX=yes
18153 # We have old collect2
18154 hardcode_direct_CXX=unsupported
18155 # It fails to find uninstalled libraries when the uninstalled
18156 # path is not listed in the libpath. Setting hardcode_minus_L
18157 # to unsupported forces relinking
18158 hardcode_minus_L_CXX=yes
18159 hardcode_libdir_flag_spec_CXX='-L$libdir'
18160 hardcode_libdir_separator_CXX=
18164 shared_flag='-shared'
18165 if test "$aix_use_runtimelinking" = yes; then
18166 shared_flag="$shared_flag "'${wl}-G'
18170 if test "$host_cpu" = ia64; then
18171 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18172 # chokes on -Wl,-G. The following line is correct:
18175 if test "$aix_use_runtimelinking" = yes; then
18176 shared_flag='${wl}-G'
18178 shared_flag='${wl}-bM:SRE'
18183 # It seems that -bexpall does not export symbols beginning with
18184 # underscore (_), so it is better to generate a list of symbols to export.
18185 always_export_symbols_CXX=yes
18186 if test "$aix_use_runtimelinking" = yes; then
18187 # Warning - without using the other runtime loading flags (-brtl),
18188 # -berok will link without error, but may produce a broken library.
18189 allow_undefined_flag_CXX='-berok'
18190 # Determine the default libpath from the value encoded in an empty executable.
18191 cat >conftest.$ac_ext <<_ACEOF
18194 cat confdefs.h >>conftest.$ac_ext
18195 cat >>conftest.$ac_ext <<_ACEOF
18196 /* end confdefs.h. */
18206 rm -f conftest.$ac_objext conftest$ac_exeext
18207 if { (ac_try="$ac_link"
18208 case "(($ac_try" in
18209 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18210 *) ac_try_echo
=$ac_try;;
18212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18213 (eval "$ac_link") 2>conftest.er1
18215 grep -v '^ *+' conftest.er1
>conftest.err
18217 cat conftest.err
>&5
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); } &&
18220 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18221 { (case "(($ac_try" in
18222 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18223 *) ac_try_echo=$ac_try;;
18225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18226 (eval "$ac_try") 2>&5
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); }; } &&
18230 { ac_try='test -s conftest$ac_exeext'
18231 { (case "(($ac_try" in
18232 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18233 *) ac_try_echo
=$ac_try;;
18235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18236 (eval "$ac_try") 2>&5
18238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18239 (exit $ac_status); }; }; then
18241 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18243 # Check for a 64-bit object if we didn't find anything.
18244 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; }
18247 echo "$as_me: failed program was:" >&5
18248 sed 's/^/| /' conftest.
$ac_ext >&5
18253 rm -f core conftest.err conftest.
$ac_objext \
18254 conftest
$ac_exeext conftest.
$ac_ext
18255 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18257 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
18259 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18261 if test "$host_cpu" = ia64
; then
18262 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
18263 allow_undefined_flag_CXX
="-z nodefs"
18264 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
18266 # Determine the default libpath from the value encoded in an empty executable.
18267 cat >conftest.
$ac_ext <<_ACEOF
18270 cat confdefs.h
>>conftest.
$ac_ext
18271 cat >>conftest.
$ac_ext <<_ACEOF
18272 /* end confdefs.h. */
18282 rm -f conftest.
$ac_objext conftest
$ac_exeext
18283 if { (ac_try
="$ac_link"
18284 case "(($ac_try" in
18285 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18286 *) ac_try_echo=$ac_try;;
18288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18289 (eval "$ac_link") 2>conftest.er1
18291 grep -v '^ *+' conftest.er1 >conftest.err
18293 cat conftest.err >&5
18294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18295 (exit $ac_status); } &&
18296 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18297 { (case "(($ac_try" in
18298 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18299 *) ac_try_echo
=$ac_try;;
18301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18302 (eval "$ac_try") 2>&5
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); }; } &&
18306 { ac_try
='test -s conftest$ac_exeext'
18307 { (case "(($ac_try" in
18308 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18309 *) ac_try_echo=$ac_try;;
18311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18312 (eval "$ac_try") 2>&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); }; }; then
18317 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18319 # Check for a 64-bit object if we didn't find anything.
18320 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; }
18323 echo "$as_me: failed program was:" >&5
18324 sed 's/^/| /' conftest.$ac_ext >&5
18329 rm -f core conftest.err conftest.$ac_objext \
18330 conftest$ac_exeext conftest.$ac_ext
18331 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18333 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18334 # Warning - without using the other run time loading flags,
18335 # -berok will link without error, but may produce a broken library.
18336 no_undefined_flag_CXX=' ${wl}-bernotok'
18337 allow_undefined_flag_CXX=' ${wl}-berok'
18338 # Exported symbols can be pulled into shared objects from archives
18339 whole_archive_flag_spec_CXX='$convenience'
18340 archive_cmds_need_lc_CXX=yes
18341 # This is similar to how AIX traditionally builds its shared libraries.
18342 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
18348 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18349 allow_undefined_flag_CXX=unsupported
18350 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18351 # support --undefined. This deserves some investigation. FIXME
18352 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18359 case $cc_basename in
18361 # FIXME: insert proper C++ library support
18367 cygwin* | mingw* | pw32*)
18368 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18369 # as there is no search path for DLLs.
18370 hardcode_libdir_flag_spec_CXX='-L$libdir'
18371 allow_undefined_flag_CXX=unsupported
18372 always_export_symbols_CXX=no
18373 enable_shared_with_static_runtimes_CXX=yes
18375 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18376 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18377 # If the export-symbols file already is a .def file (1st line
18378 # is EXPORTS), use it as is; otherwise, prepend...
18379 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
18380 cp $export_symbols $output_objdir/$soname.def;
18382 echo EXPORTS > $output_objdir/$soname.def;
18383 cat $export_symbols >> $output_objdir/$soname.def;
18385 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18390 darwin* | rhapsody*)
18392 rhapsody* | darwin1.[012])
18393 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
18396 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18397 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18399 case ${MACOSX_DEPLOYMENT_TARGET} in
18401 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18404 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
18410 archive_cmds_need_lc_CXX=no
18411 hardcode_direct_CXX=no
18412 hardcode_automatic_CXX=yes
18413 hardcode_shlibpath_var_CXX=unsupported
18414 whole_archive_flag_spec_CXX=''
18415 link_all_deplibs_CXX=yes
18417 if test "$GXX" = yes ; then
18418 lt_int_apple_cc_single_mod=no
18419 output_verbose_link_cmd='echo'
18420 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
18421 lt_int_apple_cc_single_mod=yes
18423 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18424 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18426 archive_cmds_CXX='$CC -r -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'
18428 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18429 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18430 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18431 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}'
18433 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -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}'
18435 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}'
18437 case $cc_basename in
18439 output_verbose_link_cmd='echo'
18440 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
18441 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18442 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18443 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18444 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}'
18454 case $cc_basename in
18456 # FIXME: insert proper C++ library support
18460 # Green Hills C++ Compiler
18461 # FIXME: insert proper C++ library support
18465 # FIXME: insert proper C++ library support
18471 # C++ shared libraries reported to be fairly broken before switch to ELF
18475 archive_cmds_need_lc_CXX=no
18477 freebsd* | kfreebsd*-gnu | dragonfly*)
18478 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18485 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18486 hardcode_libdir_separator_CXX=:
18487 export_dynamic_flag_spec_CXX='${wl}-E'
18488 hardcode_direct_CXX=yes
18489 hardcode_minus_L_CXX=yes # Not in the search PATH,
18490 # but as the default
18491 # location of the library.
18493 case $cc_basename in
18495 # FIXME: insert proper C++ library support
18499 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'
18500 # Commands to make compiler produce verbose output that lists
18501 # what "hidden" libraries, object files and flags are used when
18502 # linking a shared library.
18504 # There doesn't appear to be a way to prevent this compiler from
18505 # explicitly linking system object files so we need to strip them
18506 # from the output so that they don't get included in the library
18508 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'
18511 if test "$GXX" = yes; then
18512 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'
18514 # FIXME: insert proper C++ library support
18521 if test $with_gnu_ld = no; then
18522 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18523 hardcode_libdir_separator_CXX=:
18527 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
18530 export_dynamic_flag_spec_CXX='${wl}-E'
18536 hardcode_direct_CXX=no
18537 hardcode_shlibpath_var_CXX=no
18540 hardcode_direct_CXX=yes
18541 hardcode_minus_L_CXX=yes # Not in the search PATH,
18542 # but as the default
18543 # location of the library.
18547 case $cc_basename in
18549 # FIXME: insert proper C++ library support
18555 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18558 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18561 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18564 # Commands to make compiler produce verbose output that lists
18565 # what "hidden" libraries, object files and flags are used when
18566 # linking a shared library.
18568 # There doesn't appear to be a way to prevent this compiler from
18569 # explicitly linking system object files so we need to strip them
18570 # from the output so that they don't get included in the library
18572 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'
18575 if test "$GXX" = yes; then
18576 if test $with_gnu_ld = no; then
18579 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18582 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18585 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'
18590 # FIXME: insert proper C++ library support
18597 hardcode_direct_CXX=no
18598 hardcode_shlibpath_var_CXX=no
18599 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18600 export_dynamic_flag_spec_CXX='${wl}-E'
18601 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18602 # Instead, shared libraries are loaded at an image base (0x10000000 by
18603 # default) and relocated if they conflict, which is a slow very memory
18604 # consuming and fragmenting process. To avoid this, we pick a random,
18605 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18606 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18607 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18608 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~
$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \
* 262144 + 1342177280` -o $lib'
18611 case $cc_basename in
18614 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 ${output_objdir}/so_locations -o $lib'
18616 # Archives containing C++ object files must be created using
18617 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
18618 # necessary to make sure instantiated templates are included
18620 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18623 if test "$GXX" = yes; then
18624 if test "$with_gnu_ld" = no; then
18625 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}${output_objdir}/so_locations -o $lib'
18627 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'
18630 link_all_deplibs_CXX=yes
18633 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18634 hardcode_libdir_separator_CXX=:
18637 case $cc_basename in
18639 # Kuck and Associates, Inc. (KAI) C++ Compiler
18641 # KCC will only create a shared library if the output file
18642 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18643 # to its proper name (with version) after linking.
18644 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'
18645 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'
18646 # Commands to make compiler produce verbose output that lists
18647 # what "hidden" libraries, object files and flags are used when
18648 # linking a shared library.
18650 # There doesn't appear to be a way to prevent this compiler from
18651 # explicitly linking system object files so we need to strip them
18652 # from the output so that they don't get included in the library
18654 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'
18656 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
18657 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18659 # Archives containing C++ object files must be created using
18660 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18661 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
18666 # version 8.0 and above of icpc choke on multiply defined symbols
18667 # if we add $predep_objects and $postdep_objects, however 7.1 and
18668 # earlier do not add the objects themselves.
18669 case `$CC -V 2>&1` in
18671 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18672 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'
18674 *) # Version 8.0 or newer
18677 ia64
*) tmp_idyn
=' -i_dynamic';;
18679 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18680 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18683 archive_cmds_need_lc_CXX
=no
18684 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18685 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18686 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18689 # Portland Group C++ compiler
18690 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18691 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
18693 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
18694 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18695 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18699 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18700 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'
18702 runpath_var
=LD_RUN_PATH
18703 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
18704 hardcode_libdir_separator_CXX
=:
18706 # Commands to make compiler produce verbose output that lists
18707 # what "hidden" libraries, object files and flags are used when
18708 # linking a shared library.
18710 # There doesn't appear to be a way to prevent this compiler from
18711 # explicitly linking system object files so we need to strip them
18712 # from the output so that they don't get included in the library
18714 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'
18719 # FIXME: insert proper C++ library support
18723 # FIXME: insert proper C++ library support
18727 case $cc_basename in
18729 # FIXME: insert proper C++ library support
18733 # FIXME: insert proper C++ library support
18739 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18740 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18742 hardcode_libdir_flag_spec_CXX
='-R$libdir'
18743 hardcode_direct_CXX
=yes
18744 hardcode_shlibpath_var_CXX
=no
18746 # Workaround some broken pre-1.5 toolchains
18747 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18750 # C++ shared libraries are fairly broken
18754 hardcode_direct_CXX
=yes
18755 hardcode_shlibpath_var_CXX
=no
18756 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18757 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18758 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18759 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18760 export_dynamic_flag_spec_CXX
='${wl}-E'
18761 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18763 output_verbose_link_cmd
='echo'
18766 case $cc_basename in
18768 # Kuck and Associates, Inc. (KAI) C++ Compiler
18770 # KCC will only create a shared library if the output file
18771 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18772 # to its proper name (with version) after linking.
18773 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'
18775 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18776 hardcode_libdir_separator_CXX
=:
18778 # Archives containing C++ object files must be created using
18779 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18780 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
18784 # Rational C++ 2.4.1
18785 # FIXME: insert proper C++ library support
18789 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
18790 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 ${output_objdir}/so_locations -o $lib'
18792 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
18793 hardcode_libdir_separator_CXX
=:
18795 # Commands to make compiler produce verbose output that lists
18796 # what "hidden" libraries, object files and flags are used when
18797 # linking a shared library.
18799 # There doesn't appear to be a way to prevent this compiler from
18800 # explicitly linking system object files so we need to strip them
18801 # from the output so that they don't get included in the library
18803 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'
18806 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
18807 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
18808 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}${output_objdir}/so_locations -o $lib'
18810 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
18811 hardcode_libdir_separator_CXX
=:
18813 # Commands to make compiler produce verbose output that lists
18814 # what "hidden" libraries, object files and flags are used when
18815 # linking a shared library.
18816 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18819 # FIXME: insert proper C++ library support
18826 case $cc_basename in
18828 # Kuck and Associates, Inc. (KAI) C++ Compiler
18830 # KCC will only create a shared library if the output file
18831 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18832 # to its proper name (with version) after linking.
18833 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'
18835 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18836 hardcode_libdir_separator_CXX
=:
18838 # Archives containing C++ object files must be created using
18839 # the KAI C++ compiler.
18840 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
18843 # Rational C++ 2.4.1
18844 # FIXME: insert proper C++ library support
18848 allow_undefined_flag_CXX
=' -expect_unresolved \*'
18849 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 ${output_objdir}/so_locations -o $lib'
18850 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
18851 echo "-hidden">> $lib.exp~
18852 $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 ${output_objdir}/so_locations -o $lib~
18855 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
18856 hardcode_libdir_separator_CXX
=:
18858 # Commands to make compiler produce verbose output that lists
18859 # what "hidden" libraries, object files and flags are used when
18860 # linking a shared library.
18862 # There doesn't appear to be a way to prevent this compiler from
18863 # explicitly linking system object files so we need to strip them
18864 # from the output so that they don't get included in the library
18866 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'
18869 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
18870 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
18871 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}${output_objdir}/so_locations -o $lib'
18873 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
18874 hardcode_libdir_separator_CXX
=:
18876 # Commands to make compiler produce verbose output that lists
18877 # what "hidden" libraries, object files and flags are used when
18878 # linking a shared library.
18879 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18882 # FIXME: insert proper C++ library support
18889 # FIXME: insert proper C++ library support
18893 case $cc_basename in
18896 # FIXME: insert proper C++ library support
18901 # FIXME: insert proper C++ library support
18905 # FIXME: insert proper C++ library support
18911 case $cc_basename in
18913 # Sun C++ 4.2, 5.x and Centerline C++
18914 archive_cmds_need_lc_CXX
=yes
18915 no_undefined_flag_CXX
=' -zdefs'
18916 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18917 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18918 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
18920 hardcode_libdir_flag_spec_CXX
='-R$libdir'
18921 hardcode_shlibpath_var_CXX
=no
18923 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18925 # The C++ compiler is used as linker so we must use $wl
18926 # flag to pass the commands to the underlying system
18927 # linker. We must also pass each convience library through
18928 # to the system linker between allextract/defaultextract.
18929 # The C++ compiler will combine linker options so we
18930 # cannot just pass the convience library names through
18932 # Supported since Solaris 2.6 (maybe 2.5.1?)
18933 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
18936 link_all_deplibs_CXX
=yes
18938 output_verbose_link_cmd
='echo'
18940 # Archives containing C++ object files must be created using
18941 # "CC -xar", where "CC" is the Sun C++ compiler. This is
18942 # necessary to make sure instantiated templates are included
18944 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
18947 # Green Hills C++ Compiler
18948 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18950 # The C++ compiler must be used to create the archive.
18951 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
18954 # GNU C++ compiler with Solaris linker
18955 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
18956 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
18957 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
18958 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18959 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18960 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
18962 # Commands to make compiler produce verbose output that lists
18963 # what "hidden" libraries, object files and flags are used when
18964 # linking a shared library.
18965 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
18967 # g++ 2.7 appears to require `-G' NOT `-shared' on this
18969 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18970 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18971 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
18973 # Commands to make compiler produce verbose output that lists
18974 # what "hidden" libraries, object files and flags are used when
18975 # linking a shared library.
18976 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
18979 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
18984 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18985 no_undefined_flag_CXX
='${wl}-z,text'
18986 archive_cmds_need_lc_CXX
=no
18987 hardcode_shlibpath_var_CXX
=no
18988 runpath_var
='LD_RUN_PATH'
18990 case $cc_basename in
18992 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18993 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18996 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18997 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19001 sysv5
* | sco3.2v5
* | sco5v6
*)
19002 # Note: We can NOT use -z defs as we might desire, because we do not
19003 # link with -lc, and that would cause any symbols used from libc to
19004 # always be unresolved, which means just about no library would
19005 # ever link correctly. If we're not using GNU ld we use -z text
19006 # though, which does catch some bad symbols but isn't as heavy-handed
19008 # For security reasons, it is highly recommended that you always
19009 # use absolute paths for naming shared libraries, and exclude the
19010 # DT_RUNPATH tag from executables and libraries. But doing so
19011 # requires that you compile everything twice, which is a pain.
19012 # So that behaviour is only enabled if SCOABSPATH is set to a
19013 # non-empty value in the environment. Most likely only useful for
19014 # creating official distributions of packages.
19015 # This is a hack until libtool officially supports absolute path
19016 # names for shared libraries.
19017 no_undefined_flag_CXX
='${wl}-z,text'
19018 allow_undefined_flag_CXX
='${wl}-z,nodefs'
19019 archive_cmds_need_lc_CXX
=no
19020 hardcode_shlibpath_var_CXX
=no
19021 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19022 hardcode_libdir_separator_CXX
=':'
19023 link_all_deplibs_CXX
=yes
19024 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
19025 runpath_var
='LD_RUN_PATH'
19027 case $cc_basename in
19029 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19030 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19033 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19034 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19039 case $cc_basename in
19041 # NonStop-UX NCC 3.20
19042 # FIXME: insert proper C++ library support
19046 # FIXME: insert proper C++ library support
19052 # FIXME: insert proper C++ library support
19056 # FIXME: insert proper C++ library support
19060 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19061 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19062 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
19068 cat > conftest.
$ac_ext <<EOF
19072 Foo (void) { a = 0; }
19078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19079 (eval $ac_compile) 2>&5
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); }; then
19083 # Parse the compiler output and extract the necessary
19084 # objects, libraries and library flags.
19086 # Sentinel used to keep track of whether or not we are before
19087 # the conftest object file.
19088 pre_test_object_deps_done
=no
19090 # The `*' in the case matches for architectures that use `case' in
19091 # $output_verbose_cmd can trigger glob expansion during the loop
19092 # eval without this substitution.
19093 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
19095 for p
in `eval $output_verbose_link_cmd`; do
19099 # Some compilers place space between "-{L,R}" and the path.
19100 # Remove the space.
19101 if test $p = "-L" \
19102 ||
test $p = "-R"; then
19109 if test "$pre_test_object_deps_done" = no
; then
19112 # Internal compiler library paths should come after those
19113 # provided the user. The postdeps already come after the
19114 # user supplied libs so there is no need to process them.
19115 if test -z "$compiler_lib_search_path_CXX"; then
19116 compiler_lib_search_path_CXX
="${prev}${p}"
19118 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
19121 # The "-l" case would never come before the object being
19122 # linked, so don't bother handling this case.
19125 if test -z "$postdeps_CXX"; then
19126 postdeps_CXX
="${prev}${p}"
19128 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
19134 # This assumes that the test object file only shows up
19135 # once in the compiler output.
19136 if test "$p" = "conftest.$objext"; then
19137 pre_test_object_deps_done
=yes
19141 if test "$pre_test_object_deps_done" = no
; then
19142 if test -z "$predep_objects_CXX"; then
19143 predep_objects_CXX
="$p"
19145 predep_objects_CXX
="$predep_objects_CXX $p"
19148 if test -z "$postdep_objects_CXX"; then
19149 postdep_objects_CXX
="$p"
19151 postdep_objects_CXX
="$postdep_objects_CXX $p"
19156 *) ;; # Ignore the rest.
19164 echo "libtool.m4: error: problem compiling CXX test program"
19167 $rm -f confest.
$objext
19169 # PORTME: override above test on systems where it is broken
19172 # Interix 3.5 installs completely hosed .la files for C++, so rather than
19173 # hack all around it, let's just trust "g++" to DTRT.
19174 predep_objects_CXX
=
19175 postdep_objects_CXX
=
19180 case $cc_basename in
19182 # Adding this requires a known-good setup of shared libraries for
19183 # Sun compiler versions before 5.6, else PIC objects from an old
19184 # archive will be linked into the output, leading to subtle bugs.
19185 postdeps_CXX
='-lCstd -lCrun'
19192 case " $postdeps_CXX " in
19193 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
19196 lt_prog_compiler_wl_CXX
=
19197 lt_prog_compiler_pic_CXX
=
19198 lt_prog_compiler_static_CXX
=
19200 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19201 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19203 # C++ specific cases for pic, static, wl, etc.
19204 if test "$GXX" = yes; then
19205 lt_prog_compiler_wl_CXX
='-Wl,'
19206 lt_prog_compiler_static_CXX
='-static'
19210 # All AIX code is PIC.
19211 if test "$host_cpu" = ia64
; then
19212 # AIX 5 now supports IA64 processor
19213 lt_prog_compiler_static_CXX
='-Bstatic'
19217 # FIXME: we need at least 68020 code to build shared libraries, but
19218 # adding the `-m68020' flag to GCC prevents building anything better,
19220 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
19222 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
19223 # PIC is the default for these OSes.
19225 mingw
* | os2
* | pw32
*)
19226 # This hack is so that the source file can tell whether it is being
19227 # built for inclusion in a dll (and should export symbols for example).
19228 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
19230 darwin
* | rhapsody
*)
19231 # PIC is the default on this platform
19232 # Common symbols not allowed in MH_DYLIB files
19233 lt_prog_compiler_pic_CXX
='-fno-common'
19236 # DJGPP does not support shared libraries at all
19237 lt_prog_compiler_pic_CXX
=
19240 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19241 # Instead, we relocate shared libraries at runtime.
19244 if test -d /usr
/nec
; then
19245 lt_prog_compiler_pic_CXX
=-Kconform_pic
19249 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19250 # not for PA HP-UX.
19255 lt_prog_compiler_pic_CXX
='-fPIC'
19260 lt_prog_compiler_pic_CXX
='-fPIC'
19266 # All AIX code is PIC.
19267 if test "$host_cpu" = ia64
; then
19268 # AIX 5 now supports IA64 processor
19269 lt_prog_compiler_static_CXX
='-Bstatic'
19271 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
19275 case $cc_basename in
19277 # Green Hills C++ Compiler
19278 # _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"
19283 # PIC is the default on this platform
19284 # Common symbols not allowed in MH_DYLIB files
19285 case $cc_basename in
19287 lt_prog_compiler_pic_CXX
='-qnocommon'
19288 lt_prog_compiler_wl_CXX
='-Wl,'
19293 case $cc_basename in
19295 lt_prog_compiler_pic_CXX
='-KPIC'
19298 # Green Hills C++ Compiler
19299 lt_prog_compiler_pic_CXX
='-pic'
19305 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
19306 # FreeBSD uses GNU C++
19308 hpux9
* | hpux10
* | hpux11
*)
19309 case $cc_basename in
19311 lt_prog_compiler_wl_CXX
='-Wl,'
19312 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
19313 if test "$host_cpu" != ia64
; then
19314 lt_prog_compiler_pic_CXX
='+Z'
19318 lt_prog_compiler_wl_CXX
='-Wl,'
19319 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
19325 lt_prog_compiler_pic_CXX
='+Z'
19334 # This is c89, which is MS Visual C++ (no shared libs)
19335 # Anyone wants to do a port?
19337 irix5
* | irix6
* | nonstopux
*)
19338 case $cc_basename in
19340 lt_prog_compiler_wl_CXX
='-Wl,'
19341 lt_prog_compiler_static_CXX
='-non_shared'
19342 # CC pic flag -KPIC is the default.
19349 case $cc_basename in
19352 lt_prog_compiler_wl_CXX
='--backend -Wl,'
19353 lt_prog_compiler_pic_CXX
='-fPIC'
19357 lt_prog_compiler_wl_CXX
='-Wl,'
19358 lt_prog_compiler_pic_CXX
='-KPIC'
19359 lt_prog_compiler_static_CXX
='-static'
19362 # Portland Group C++ compiler.
19363 lt_prog_compiler_wl_CXX
='-Wl,'
19364 lt_prog_compiler_pic_CXX
='-fpic'
19365 lt_prog_compiler_static_CXX
='-Bstatic'
19369 # Make sure the PIC flag is empty. It appears that all Alpha
19370 # Linux and Compaq Tru64 Unix objects are PIC.
19371 lt_prog_compiler_pic_CXX
=
19372 lt_prog_compiler_static_CXX
='-non_shared'
19383 case $cc_basename in
19385 lt_prog_compiler_pic_CXX
='-W c,exportall'
19393 osf3
* | osf4
* | osf5
*)
19394 case $cc_basename in
19396 lt_prog_compiler_wl_CXX
='--backend -Wl,'
19399 # Rational C++ 2.4.1
19400 lt_prog_compiler_pic_CXX
='-pic'
19403 # Digital/Compaq C++
19404 lt_prog_compiler_wl_CXX
='-Wl,'
19405 # Make sure the PIC flag is empty. It appears that all Alpha
19406 # Linux and Compaq Tru64 Unix objects are PIC.
19407 lt_prog_compiler_pic_CXX
=
19408 lt_prog_compiler_static_CXX
='-non_shared'
19417 case $cc_basename in
19419 # Sun C++ 4.2, 5.x and Centerline C++
19420 lt_prog_compiler_pic_CXX
='-KPIC'
19421 lt_prog_compiler_static_CXX
='-Bstatic'
19422 lt_prog_compiler_wl_CXX
='-Qoption ld '
19425 # Green Hills C++ Compiler
19426 lt_prog_compiler_pic_CXX
='-PIC'
19433 case $cc_basename in
19436 lt_prog_compiler_pic_CXX
='-pic'
19437 lt_prog_compiler_static_CXX
='-Bstatic'
19441 lt_prog_compiler_pic_CXX
='-pic'
19448 case $cc_basename in
19450 # NonStop-UX NCC 3.20
19451 lt_prog_compiler_pic_CXX
='-KPIC'
19457 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
19458 case $cc_basename in
19460 lt_prog_compiler_wl_CXX
='-Wl,'
19461 lt_prog_compiler_pic_CXX
='-KPIC'
19462 lt_prog_compiler_static_CXX
='-Bstatic'
19469 lt_prog_compiler_can_build_shared_CXX
=no
19474 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
19475 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
19478 # Check to make sure the PIC flag actually works.
19480 if test -n "$lt_prog_compiler_pic_CXX"; then
19482 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19483 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
19484 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
19485 echo $ECHO_N "(cached) $ECHO_C" >&6
19487 lt_prog_compiler_pic_works_CXX
=no
19488 ac_outfile
=conftest.
$ac_objext
19489 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19490 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
19491 # Insert the option either (1) after the last *FLAGS variable, or
19492 # (2) before a word containing "conftest.", or (3) at the end.
19493 # Note that $ac_compile itself does not contain backslashes and begins
19494 # with a dollar sign (not a hyphen), so the echo should work correctly.
19495 # The option is referenced via a variable to avoid confusing sed.
19496 lt_compile
=`echo "$ac_compile" | $SED \
19497 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19498 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19499 -e 's:$: $lt_compiler_flag:'`
19500 (eval echo "\"\$as_me:19500: $lt_compile\"" >&5)
19501 (eval "$lt_compile" 2>conftest.err
)
19503 cat conftest.err
>&5
19504 echo "$as_me:19504: \$? = $ac_status" >&5
19505 if (exit $ac_status) && test -s "$ac_outfile"; then
19506 # The compiler can only warn and ignore the option if not recognized
19507 # So say no if there are warnings other than the usual output.
19508 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
19509 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
19510 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
19511 lt_prog_compiler_pic_works_CXX
=yes
19517 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
19518 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
19520 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
19521 case $lt_prog_compiler_pic_CXX in
19523 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
19526 lt_prog_compiler_pic_CXX
=
19527 lt_prog_compiler_can_build_shared_CXX
=no
19532 # For platforms which do not support PIC, -DPIC is meaningless:
19534 lt_prog_compiler_pic_CXX
=
19537 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
19542 # Check to make sure the static flag actually works.
19544 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
19545 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19546 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
19547 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
19548 echo $ECHO_N "(cached) $ECHO_C" >&6
19550 lt_prog_compiler_static_works_CXX
=no
19551 save_LDFLAGS
="$LDFLAGS"
19552 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
19553 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
19554 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
19555 # The linker can only warn and ignore the option if not recognized
19556 # So say no if there are warnings
19557 if test -s conftest.err
; then
19558 # Append any errors to the config.log.
19559 cat conftest.err
1>&5
19560 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
19561 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
19562 if diff conftest.exp conftest.er2
>/dev
/null
; then
19563 lt_prog_compiler_static_works_CXX
=yes
19566 lt_prog_compiler_static_works_CXX
=yes
19570 LDFLAGS
="$save_LDFLAGS"
19573 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
19574 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
19576 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
19579 lt_prog_compiler_static_CXX
=
19583 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19584 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19585 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
19586 echo $ECHO_N "(cached) $ECHO_C" >&6
19588 lt_cv_prog_compiler_c_o_CXX
=no
19589 $rm -r conftest
2>/dev
/null
19593 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19595 lt_compiler_flag
="-o out/conftest2.$ac_objext"
19596 # Insert the option either (1) after the last *FLAGS variable, or
19597 # (2) before a word containing "conftest.", or (3) at the end.
19598 # Note that $ac_compile itself does not contain backslashes and begins
19599 # with a dollar sign (not a hyphen), so the echo should work correctly.
19600 lt_compile
=`echo "$ac_compile" | $SED \
19601 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19602 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19603 -e 's:$: $lt_compiler_flag:'`
19604 (eval echo "\"\$as_me:19604: $lt_compile\"" >&5)
19605 (eval "$lt_compile" 2>out
/conftest.err
)
19607 cat out
/conftest.err
>&5
19608 echo "$as_me:19608: \$? = $ac_status" >&5
19609 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
19611 # The compiler can only warn and ignore the option if not recognized
19612 # So say no if there are warnings
19613 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
19614 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
19615 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
19616 lt_cv_prog_compiler_c_o_CXX
=yes
19621 # SGI C++ compiler will create directory out/ii_files/ for
19622 # template instantiation
19623 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
19624 $rm out
/* && rmdir out
19630 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19631 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
19634 hard_links
="nottested"
19635 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
19636 # do not overwrite the value of need_locks provided by the user
19637 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19638 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19641 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19643 ln conftest.a conftest.b
2>&5 || hard_links
=no
19644 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19645 { echo "$as_me:$LINENO: result: $hard_links" >&5
19646 echo "${ECHO_T}$hard_links" >&6; }
19647 if test "$hard_links" = no
; then
19648 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19649 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19656 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19657 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19659 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19662 # If we're using GNU nm, then we don't want the "-C" option.
19663 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19664 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
19665 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'
19667 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'
19671 export_symbols_cmds_CXX
="$ltdll_cmds"
19674 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
19677 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19681 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19682 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19683 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
19686 # Do we need to explicitly link libc?
19688 case "x$archive_cmds_need_lc_CXX" in
19690 # Assume -lc should be added
19691 archive_cmds_need_lc_CXX
=yes
19693 if test "$enable_shared" = yes && test "$GCC" = yes; then
19694 case $archive_cmds_CXX in
19696 # FIXME: we may have to deal with multi-command sequences.
19699 # Test whether the compiler implicitly links with -lc since on some
19700 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19701 # to ld, don't add -lc before -lgcc.
19702 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19703 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19705 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19708 (eval $ac_compile) 2>&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); } 2>conftest.err
; then
19714 libobjs
=conftest.
$ac_objext
19716 wl
=$lt_prog_compiler_wl_CXX
19717 pic_flag
=$lt_prog_compiler_pic_CXX
19723 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
19724 allow_undefined_flag_CXX
=
19725 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19726 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); }
19731 archive_cmds_need_lc_CXX
=no
19733 archive_cmds_need_lc_CXX
=yes
19735 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
19737 cat conftest.err
1>&5
19740 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
19741 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
19748 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19749 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19750 library_names_spec
=
19751 libname_spec
='lib$name'
19755 postuninstall_cmds
=
19759 shlibpath_overrides_runpath
=unknown
19761 dynamic_linker
="$host_os ld.so"
19762 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
19763 if test "$GCC" = yes; then
19764 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19765 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
19766 # if the path contains ";" then we assume it to be the separator
19767 # otherwise default to the standard path separator (i.e. ":") - it is
19768 # assumed that no part of a normal pathname contains ";" but that should
19769 # okay in the real world where ";" in dirpaths is itself problematic.
19770 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19772 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19775 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
19777 need_lib_prefix
=unknown
19778 hardcode_into_libs
=no
19780 # when you set need_version to no, make sure it does not cause -set_version
19781 # flags to be left without arguments
19782 need_version
=unknown
19787 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
19788 shlibpath_var
=LIBPATH
19790 # AIX 3 has no versioning support, so we append a major version to the name.
19791 soname_spec
='${libname}${release}${shared_ext}$major'
19798 hardcode_into_libs
=yes
19799 if test "$host_cpu" = ia64
; then
19800 # AIX 5 supports IA64
19801 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19802 shlibpath_var
=LD_LIBRARY_PATH
19804 # With GCC up to 2.95.x, collect2 would create an import file
19805 # for dependence libraries. The import file would start with
19806 # the line `#! .'. This would cause the generated library to
19807 # depend on `.', always an invalid library. This was fixed in
19808 # development snapshots of GCC prior to 3.0.
19810 aix4 | aix4.
[01] | aix4.
[01].
*)
19811 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19813 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
19816 can_build_shared
=no
19820 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19821 # soname into executable. Probably we can add versioning support to
19822 # collect2, so additional links can be useful in future.
19823 if test "$aix_use_runtimelinking" = yes; then
19824 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19825 # instead of lib<name>.a to let people know that these are not
19826 # typical AIX shared libraries.
19827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19829 # We preserve .a as extension for shared libraries through AIX4.2
19830 # and later when we are not doing run time linking.
19831 library_names_spec
='${libname}${release}.a $libname.a'
19832 soname_spec
='${libname}${release}${shared_ext}$major'
19834 shlibpath_var
=LIBPATH
19839 library_names_spec
='$libname.ixlibrary $libname.a'
19840 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19841 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'
19845 library_names_spec
='${libname}${shared_ext}'
19846 dynamic_linker
="$host_os ld.so"
19847 shlibpath_var
=LIBRARY_PATH
19853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19854 soname_spec
='${libname}${release}${shared_ext}$major'
19855 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
19856 shlibpath_var
=LD_LIBRARY_PATH
19857 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19858 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
19859 # the default ld.so.conf also contains /usr/contrib/lib and
19860 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19861 # libtool to hard-code these into programs
19864 cygwin
* | mingw
* | pw32
*)
19865 version_type
=windows
19870 case $GCC,$host_os in
19871 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
19872 library_names_spec
='$libname.dll.a'
19873 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19874 postinstall_cmds
='base_file=`basename \${file}`~
19875 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19876 dldir=$destdir/`dirname \$dlpath`~
19877 test -d \$dldir || mkdir -p \$dldir~
19878 $install_prog $dir/$dlname \$dldir/$dlname~
19879 chmod a+x \$dldir/$dlname'
19880 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19881 dlpath=$dir/\$dldll~
19883 shlibpath_overrides_runpath
=yes
19887 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19888 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19889 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
19892 # MinGW DLLs use traditional 'lib' prefix
19893 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19894 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19895 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
19896 # It is most probably a Windows format PATH printed by
19897 # mingw gcc, but we are running on Cygwin. Gcc prints its search
19898 # path with ; separators, and with drive letters. We can handle the
19899 # drive letters (cygwin fileutils understands them), so leave them,
19900 # especially as we might pass files found there to a mingw objdump,
19901 # which wouldn't understand a cygwinified path. Ahh.
19902 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19904 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19908 # pw32 DLLs use 'pw' prefix rather than 'lib'
19909 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19915 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19918 dynamic_linker
='Win32 ld.exe'
19919 # FIXME: first we should search . and the directory the executable is in
19923 darwin
* | rhapsody
*)
19924 dynamic_linker
="$host_os dyld"
19925 version_type
=darwin
19928 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19929 soname_spec
='${libname}${release}${major}$shared_ext'
19930 shlibpath_overrides_runpath
=yes
19931 shlibpath_var
=DYLD_LIBRARY_PATH
19932 shrext_cmds
='.dylib'
19933 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19934 if test "$GCC" = yes; then
19935 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"`
19937 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
19939 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
19946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19947 soname_spec
='${libname}${release}${shared_ext}$major'
19948 shlibpath_var
=LD_LIBRARY_PATH
19959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19960 soname_spec
='${libname}${release}${shared_ext}$major'
19961 shlibpath_var
=LD_LIBRARY_PATH
19962 shlibpath_overrides_runpath
=no
19963 hardcode_into_libs
=yes
19964 dynamic_linker
='GNU ld.so'
19967 freebsd
* | dragonfly
*)
19968 # DragonFly does not have aout. When/if they implement a new
19969 # versioning mechanism, adjust this.
19970 if test -x /usr
/bin
/objformat
; then
19971 objformat
=`/usr/bin/objformat`
19974 freebsd
[123]*) objformat
=aout
;;
19975 *) objformat
=elf
;;
19978 version_type
=freebsd-
$objformat
19979 case $version_type in
19981 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19986 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19990 shlibpath_var
=LD_LIBRARY_PATH
19993 shlibpath_overrides_runpath
=yes
19995 freebsd3.
[01]* | freebsdelf3.
[01]*)
19996 shlibpath_overrides_runpath
=yes
19997 hardcode_into_libs
=yes
19999 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
20000 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
20001 shlibpath_overrides_runpath
=no
20002 hardcode_into_libs
=yes
20004 freebsd
*) # from 4.6 on
20005 shlibpath_overrides_runpath
=yes
20006 hardcode_into_libs
=yes
20015 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20016 soname_spec
='${libname}${release}${shared_ext}$major'
20017 shlibpath_var
=LD_LIBRARY_PATH
20018 hardcode_into_libs
=yes
20021 hpux9
* | hpux10
* | hpux11
*)
20022 # Give a soname corresponding to the major version so that dld.sl refuses to
20023 # link against other versions.
20030 hardcode_into_libs
=yes
20031 dynamic_linker
="$host_os dld.so"
20032 shlibpath_var
=LD_LIBRARY_PATH
20033 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20034 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20035 soname_spec
='${libname}${release}${shared_ext}$major'
20036 if test "X$HPUX_IA64_MODE" = X32
; then
20037 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20039 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
20041 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20045 hardcode_into_libs
=yes
20046 dynamic_linker
="$host_os dld.sl"
20047 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
20048 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20050 soname_spec
='${libname}${release}${shared_ext}$major'
20051 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20052 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20056 dynamic_linker
="$host_os dld.sl"
20057 shlibpath_var
=SHLIB_PATH
20058 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
20059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20060 soname_spec
='${libname}${release}${shared_ext}$major'
20063 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20064 postinstall_cmds
='chmod 555 $lib'
20071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20072 soname_spec
='${libname}${release}${shared_ext}$major'
20073 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
20074 shlibpath_var
=LD_LIBRARY_PATH
20075 shlibpath_overrides_runpath
=no
20076 hardcode_into_libs
=yes
20079 irix5
* | irix6
* | nonstopux
*)
20081 nonstopux
*) version_type
=nonstopux
;;
20083 if test "$lt_cv_prog_gnu_ld" = yes; then
20091 soname_spec
='${libname}${release}${shared_ext}$major'
20092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20094 irix5
* | nonstopux
*)
20095 libsuff
= shlibsuff
=
20098 case $LD in # libtool.m4 will add one of these switches to LD
20099 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
20100 libsuff
= shlibsuff
= libmagic
=32-bit;;
20101 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
20102 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
20103 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
20104 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
20105 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
20109 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
20110 shlibpath_overrides_runpath
=no
20111 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20112 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
20113 hardcode_into_libs
=yes
20116 # No shared lib support for Linux oldld, aout, or coff.
20117 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
20121 # This must be Linux ELF.
20126 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20127 soname_spec
='${libname}${release}${shared_ext}$major'
20128 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20129 shlibpath_var
=LD_LIBRARY_PATH
20130 shlibpath_overrides_runpath
=no
20131 # This implies no fast_install, which is unacceptable.
20132 # Some rework will be needed to allow for fast_install
20133 # before this can be enabled.
20134 hardcode_into_libs
=yes
20136 # Append ld.so.conf contents to the search path
20137 if test -f /etc
/ld.so.conf
; then
20138 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
20139 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
20142 # We used to test for /lib/ld.so.1 and disable shared libraries on
20143 # powerpc, because MkLinux only supported shared libraries with the
20144 # GNU dynamic linker. Since this was broken with cross compilers,
20145 # most powerpc-linux boxes support dynamic linking these days and
20146 # people can always --disable-shared, the test was removed, and we
20147 # assume the GNU/Linux dynamic linker is in use.
20148 dynamic_linker
='GNU/Linux ld.so'
20155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20156 soname_spec
='${libname}${release}${shared_ext}$major'
20157 shlibpath_var
=LD_LIBRARY_PATH
20158 shlibpath_overrides_runpath
=no
20159 hardcode_into_libs
=yes
20160 dynamic_linker
='GNU ld.so'
20167 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
20168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20169 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20170 dynamic_linker
='NetBSD (a.out) ld.so'
20172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20173 soname_spec
='${libname}${release}${shared_ext}$major'
20174 dynamic_linker
='NetBSD ld.elf_so'
20176 shlibpath_var
=LD_LIBRARY_PATH
20177 shlibpath_overrides_runpath
=yes
20178 hardcode_into_libs
=yes
20183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20184 shlibpath_var
=LD_LIBRARY_PATH
20185 shlibpath_overrides_runpath
=yes
20192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20193 soname_spec
='${libname}${release}${shared_ext}$major'
20194 shlibpath_var
=LD_LIBRARY_PATH
20195 shlibpath_overrides_runpath
=yes
20200 sys_lib_dlsearch_path_spec
="/usr/lib"
20202 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20204 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
20205 *) need_version
=no
;;
20207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20208 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20209 shlibpath_var
=LD_LIBRARY_PATH
20210 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20212 openbsd2.
[89] | openbsd2.
[89].
*)
20213 shlibpath_overrides_runpath
=no
20216 shlibpath_overrides_runpath
=yes
20220 shlibpath_overrides_runpath
=yes
20225 libname_spec
='$name'
20228 library_names_spec
='$libname${shared_ext} $libname.a'
20229 dynamic_linker
='OS/2 ld.exe'
20230 shlibpath_var
=LIBPATH
20233 osf3
* | osf4
* | osf5
*)
20237 soname_spec
='${libname}${release}${shared_ext}$major'
20238 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20239 shlibpath_var
=LD_LIBRARY_PATH
20240 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20241 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
20248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20249 soname_spec
='${libname}${release}${shared_ext}$major'
20250 shlibpath_var
=LD_LIBRARY_PATH
20251 shlibpath_overrides_runpath
=yes
20252 hardcode_into_libs
=yes
20253 # ldd complains unless libraries are executable
20254 postinstall_cmds
='chmod +x $lib'
20259 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20260 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20261 shlibpath_var
=LD_LIBRARY_PATH
20262 shlibpath_overrides_runpath
=yes
20263 if test "$with_gnu_ld" = yes; then
20271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20272 soname_spec
='${libname}${release}${shared_ext}$major'
20273 shlibpath_var
=LD_LIBRARY_PATH
20274 case $host_vendor in
20276 shlibpath_overrides_runpath
=no
20278 export_dynamic_flag_spec
='${wl}-Blargedynsym'
20279 runpath_var
=LD_RUN_PATH
20287 shlibpath_overrides_runpath
=no
20288 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
20294 if test -d /usr
/nec
;then
20296 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20297 soname_spec
='$libname${shared_ext}.$major'
20298 shlibpath_var
=LD_LIBRARY_PATH
20302 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
20303 version_type
=freebsd-elf
20306 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20307 soname_spec
='${libname}${release}${shared_ext}$major'
20308 shlibpath_var
=LD_LIBRARY_PATH
20309 hardcode_into_libs
=yes
20310 if test "$with_gnu_ld" = yes; then
20311 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20312 shlibpath_overrides_runpath
=no
20314 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
20315 shlibpath_overrides_runpath
=yes
20318 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
20322 sys_lib_dlsearch_path_spec
='/usr/lib'
20327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20328 soname_spec
='${libname}${release}${shared_ext}$major'
20329 shlibpath_var
=LD_LIBRARY_PATH
20336 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20337 echo "${ECHO_T}$dynamic_linker" >&6; }
20338 test "$dynamic_linker" = no
&& can_build_shared
=no
20340 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
20341 if test "$GCC" = yes; then
20342 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20345 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20346 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20347 hardcode_action_CXX
=
20348 if test -n "$hardcode_libdir_flag_spec_CXX" || \
20349 test -n "$runpath_var_CXX" || \
20350 test "X$hardcode_automatic_CXX" = "Xyes" ; then
20352 # We can hardcode non-existant directories.
20353 if test "$hardcode_direct_CXX" != no
&&
20354 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20355 # have to relink, otherwise we might link with an installed library
20356 # when we should be linking with a yet-to-be-installed one
20357 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20358 test "$hardcode_minus_L_CXX" != no
; then
20359 # Linking always hardcodes the temporary library directory.
20360 hardcode_action_CXX
=relink
20362 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20363 hardcode_action_CXX
=immediate
20366 # We cannot hardcode anything, or else we can only hardcode existing
20368 hardcode_action_CXX
=unsupported
20370 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
20371 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
20373 if test "$hardcode_action_CXX" = relink
; then
20374 # Fast installation is not supported
20375 enable_fast_install
=no
20376 elif test "$shlibpath_overrides_runpath" = yes ||
20377 test "$enable_shared" = no
; then
20378 # Fast installation is not necessary
20379 enable_fast_install
=needless
20383 # The else clause should only fire when bootstrapping the
20384 # libtool distribution, otherwise you forgot to ship ltmain.sh
20385 # with your package, and you will get complaints that there are
20386 # no rules to generate ltmain.sh.
20387 if test -f "$ltmain"; then
20388 # See if we are running on zsh, and set the options which allow our commands through
20389 # without removal of \ escapes.
20390 if test -n "${ZSH_VERSION+set}" ; then
20391 setopt NO_GLOB_SUBST
20393 # Now quote all the things that may contain metacharacters while being
20394 # careful not to overquote the AC_SUBSTed values. We take copies of the
20395 # variables and quote the copies for generation of the libtool script.
20396 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20398 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20399 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20400 deplibs_check_method reload_flag reload_cmds need_locks \
20401 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20402 lt_cv_sys_global_symbol_to_c_name_address \
20403 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20404 old_postinstall_cmds old_postuninstall_cmds \
20408 lt_prog_compiler_wl_CXX \
20409 lt_prog_compiler_pic_CXX \
20410 lt_prog_compiler_static_CXX \
20411 lt_prog_compiler_no_builtin_flag_CXX \
20412 export_dynamic_flag_spec_CXX \
20413 thread_safe_flag_spec_CXX \
20414 whole_archive_flag_spec_CXX \
20415 enable_shared_with_static_runtimes_CXX \
20416 old_archive_cmds_CXX \
20417 old_archive_from_new_cmds_CXX \
20418 predep_objects_CXX \
20419 postdep_objects_CXX \
20422 compiler_lib_search_path_CXX \
20424 archive_expsym_cmds_CXX \
20425 postinstall_cmds_CXX \
20426 postuninstall_cmds_CXX \
20427 old_archive_from_expsyms_cmds_CXX \
20428 allow_undefined_flag_CXX \
20429 no_undefined_flag_CXX \
20430 export_symbols_cmds_CXX \
20431 hardcode_libdir_flag_spec_CXX \
20432 hardcode_libdir_flag_spec_ld_CXX \
20433 hardcode_libdir_separator_CXX \
20434 hardcode_automatic_CXX \
20436 module_expsym_cmds_CXX \
20437 lt_cv_prog_compiler_c_o_CXX \
20438 exclude_expsyms_CXX \
20439 include_expsyms_CXX
; do
20442 old_archive_cmds_CXX | \
20443 old_archive_from_new_cmds_CXX | \
20444 archive_cmds_CXX | \
20445 archive_expsym_cmds_CXX | \
20446 module_cmds_CXX | \
20447 module_expsym_cmds_CXX | \
20448 old_archive_from_expsyms_cmds_CXX | \
20449 export_symbols_cmds_CXX | \
20450 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20451 postinstall_cmds | postuninstall_cmds | \
20452 old_postinstall_cmds | old_postuninstall_cmds | \
20453 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20454 # Double-quote double-evaled strings.
20455 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20458 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20464 *'\$0 --fallback-echo"')
20465 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20471 cat <<__EOF__ >> "$cfgfile"
20472 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20474 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20476 # Shell to use when invoking shell scripts.
20479 # Whether or not to build shared libraries.
20480 build_libtool_libs=$enable_shared
20482 # Whether or not to build static libraries.
20483 build_old_libs=$enable_static
20485 # Whether or not to add -lc for building shared libraries.
20486 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20488 # Whether or not to disallow shared libs when runtime libs are static
20489 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20491 # Whether or not to optimize for fast installation.
20492 fast_install=$enable_fast_install
20495 host_alias=$host_alias
20499 # The build system.
20500 build_alias=$build_alias
20504 # An echo program that does not interpret backslashes.
20509 AR_FLAGS=$lt_AR_FLAGS
20514 # LTCC compiler flags.
20515 LTCFLAGS=$lt_LTCFLAGS
20517 # A language-specific compiler.
20518 CC=$lt_compiler_CXX
20520 # Is the compiler the GNU C compiler?
20526 # The linker used to build libraries.
20529 # Whether we need hard or soft links.
20532 # A BSD-compatible nm program.
20535 # A symbol stripping program
20538 # Used to examine libraries when file_magic_cmd begins "file"
20539 MAGIC_CMD=$MAGIC_CMD
20541 # Used on cygwin: DLL creation program.
20544 # Used on cygwin: object dumper.
20547 # Used on cygwin: assembler.
20550 # The name of the directory that contains temporary libtool files.
20553 # How to create reloadable object files.
20554 reload_flag=$lt_reload_flag
20555 reload_cmds=$lt_reload_cmds
20557 # How to pass a linker flag through the compiler.
20558 wl=$lt_lt_prog_compiler_wl_CXX
20560 # Object file suffix (normally "o").
20561 objext="$ac_objext"
20563 # Old archive suffix (normally "a").
20566 # Shared library suffix (normally ".so").
20567 shrext_cmds='$shrext_cmds'
20569 # Executable file suffix (normally "").
20572 # Additional compiler flags for building library objects.
20573 pic_flag=$lt_lt_prog_compiler_pic_CXX
20576 # What is the maximum length of a command?
20577 max_cmd_len=$lt_cv_sys_max_cmd_len
20579 # Does compiler simultaneously support -c and -o options?
20580 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20582 # Must we lock files when doing compilation?
20583 need_locks=$lt_need_locks
20585 # Do we need the lib prefix for modules?
20586 need_lib_prefix=$need_lib_prefix
20588 # Do we need a version for libraries?
20589 need_version=$need_version
20591 # Whether dlopen is supported.
20592 dlopen_support=$enable_dlopen
20594 # Whether dlopen of programs is supported.
20595 dlopen_self=$enable_dlopen_self
20597 # Whether dlopen of statically linked programs is supported.
20598 dlopen_self_static=$enable_dlopen_self_static
20600 # Compiler flag to prevent dynamic linking.
20601 link_static_flag=$lt_lt_prog_compiler_static_CXX
20603 # Compiler flag to turn off builtin functions.
20604 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20606 # Compiler flag to allow reflexive dlopens.
20607 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20609 # Compiler flag to generate shared objects directly from archives.
20610 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20612 # Compiler flag to generate thread-safe objects.
20613 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
20615 # Library versioning type.
20616 version_type=$version_type
20618 # Format of library name prefix.
20619 libname_spec=$lt_libname_spec
20621 # List of archive names. First name is the real one, the rest are links.
20622 # The last name is the one that the linker finds with -lNAME.
20623 library_names_spec=$lt_library_names_spec
20625 # The coded name of the library, if different from the real name.
20626 soname_spec=$lt_soname_spec
20628 # Commands used to build and install an old-style archive.
20630 old_archive_cmds=$lt_old_archive_cmds_CXX
20631 old_postinstall_cmds=$lt_old_postinstall_cmds
20632 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20634 # Create an old-style archive from a shared archive.
20635 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20637 # Create a temporary old-style archive to link instead of a shared archive.
20638 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20640 # Commands used to build and install a shared archive.
20641 archive_cmds=$lt_archive_cmds_CXX
20642 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20643 postinstall_cmds=$lt_postinstall_cmds
20644 postuninstall_cmds=$lt_postuninstall_cmds
20646 # Commands used to build a loadable module (assumed same as above if empty)
20647 module_cmds=$lt_module_cmds_CXX
20648 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20650 # Commands to strip libraries.
20651 old_striplib=$lt_old_striplib
20652 striplib=$lt_striplib
20654 # Dependencies to place before the objects being linked to create a
20656 predep_objects=$lt_predep_objects_CXX
20658 # Dependencies to place after the objects being linked to create a
20660 postdep_objects=$lt_postdep_objects_CXX
20662 # Dependencies to place before the objects being linked to create a
20664 predeps=$lt_predeps_CXX
20666 # Dependencies to place after the objects being linked to create a
20668 postdeps=$lt_postdeps_CXX
20670 # The library search path used internally by the compiler when linking
20671 # a shared library.
20672 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20674 # Method to check whether dependent libraries are shared objects.
20675 deplibs_check_method=$lt_deplibs_check_method
20677 # Command to use when deplibs_check_method == file_magic.
20678 file_magic_cmd=$lt_file_magic_cmd
20680 # Flag that allows shared libraries with undefined symbols to be built.
20681 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20683 # Flag that forces no undefined symbols.
20684 no_undefined_flag=$lt_no_undefined_flag_CXX
20686 # Commands used to finish a libtool library installation in a directory.
20687 finish_cmds=$lt_finish_cmds
20689 # Same as above, but a single script fragment to be evaled but not shown.
20690 finish_eval=$lt_finish_eval
20692 # Take the output of nm and produce a listing of raw symbols and C names.
20693 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20695 # Transform the output of nm in a proper C declaration
20696 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20698 # Transform the output of nm in a C name address pair
20699 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20701 # This is the shared library runtime path variable.
20702 runpath_var=$runpath_var
20704 # This is the shared library path variable.
20705 shlibpath_var=$shlibpath_var
20707 # Is shlibpath searched before the hard-coded library search path?
20708 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20710 # How to hardcode a shared library path into an executable.
20711 hardcode_action=$hardcode_action_CXX
20713 # Whether we should hardcode library paths into libraries.
20714 hardcode_into_libs=$hardcode_into_libs
20716 # Flag to hardcode \$libdir into a binary during linking.
20717 # This must work even if \$libdir does not exist.
20718 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20720 # If ld is used when linking, flag to hardcode \$libdir into
20721 # a binary during linking. This must work even if \$libdir does
20723 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20725 # Whether we need a single -rpath flag with a separated argument.
20726 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20728 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20729 # resulting binary.
20730 hardcode_direct=$hardcode_direct_CXX
20732 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20733 # resulting binary.
20734 hardcode_minus_L=$hardcode_minus_L_CXX
20736 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20737 # the resulting binary.
20738 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20740 # Set to yes if building a shared library automatically hardcodes DIR into the library
20741 # and all subsequent libraries and executables linked against it.
20742 hardcode_automatic=$hardcode_automatic_CXX
20744 # Variables whose values should be saved in libtool wrapper scripts and
20745 # restored at relink time.
20746 variables_saved_for_relink="$variables_saved_for_relink"
20748 # Whether libtool must link a program against all its dependency libraries.
20749 link_all_deplibs=$link_all_deplibs_CXX
20751 # Compile-time system search path for libraries
20752 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20754 # Run-time system search path for libraries
20755 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20757 # Fix the shell variable \$srcfile for the compiler.
20758 fix_srcfile_path="$fix_srcfile_path_CXX"
20760 # Set to yes if exported symbols are required.
20761 always_export_symbols=$always_export_symbols_CXX
20763 # The commands to list exported symbols.
20764 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20766 # The commands to extract the exported symbol list from a shared archive.
20767 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20769 # Symbols that should not be listed in the preloaded symbols.
20770 exclude_expsyms=$lt_exclude_expsyms_CXX
20772 # Symbols that must always be exported.
20773 include_expsyms=$lt_include_expsyms_CXX
20775 # ### END LIBTOOL TAG CONFIG: $tagname
20781 # If there is no Makefile yet, we rely on a make rule to execute
20782 # `config.status --recheck' to rerun these tests and create the
20783 # libtool script then.
20784 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20785 if test -f "$ltmain_in"; then
20786 test -f Makefile
&& make "$ltmain"
20792 ac_cpp
='$CPP $CPPFLAGS'
20793 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20794 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20795 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20801 with_gnu_ldcxx
=$with_gnu_ld
20802 with_gnu_ld
=$lt_save_with_gnu_ld
20803 lt_cv_path_LDCXX
=$lt_cv_path_LD
20804 lt_cv_path_LD
=$lt_save_path_LD
20805 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
20806 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
20814 if test -n "$F77" && test "X$F77" != "Xno"; then
20817 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
20818 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20819 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
20822 archive_cmds_need_lc_F77
=no
20823 allow_undefined_flag_F77
=
20824 always_export_symbols_F77
=no
20825 archive_expsym_cmds_F77
=
20826 export_dynamic_flag_spec_F77
=
20827 hardcode_direct_F77
=no
20828 hardcode_libdir_flag_spec_F77
=
20829 hardcode_libdir_flag_spec_ld_F77
=
20830 hardcode_libdir_separator_F77
=
20831 hardcode_minus_L_F77
=no
20832 hardcode_automatic_F77
=no
20834 module_expsym_cmds_F77
=
20835 link_all_deplibs_F77
=unknown
20836 old_archive_cmds_F77
=$old_archive_cmds
20837 no_undefined_flag_F77
=
20838 whole_archive_flag_spec_F77
=
20839 enable_shared_with_static_runtimes_F77
=no
20841 # Source file extension for f77 test sources.
20844 # Object file extension for compiled f77 test sources.
20848 # Code to be used in simple compile tests
20849 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
20851 # Code to be used in simple link tests
20852 lt_simple_link_test_code
=" program t\n end\n"
20854 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20856 # If no C compiler was specified, use CC.
20859 # If no C compiler flags were specified, use CFLAGS.
20860 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
20862 # Allow CC to be a program name with arguments.
20866 # save warnings/boilerplate of simple test code
20867 ac_outfile
=conftest.
$ac_objext
20868 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
20869 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
20870 _lt_compiler_boilerplate
=`cat conftest.err`
20873 ac_outfile
=conftest.
$ac_objext
20874 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
20875 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
20876 _lt_linker_boilerplate
=`cat conftest.err`
20880 # Allow CC to be a program name with arguments.
20885 for cc_temp
in $compiler""; do
20887 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
20888 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
20893 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20896 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
20897 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
20898 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
20899 echo "${ECHO_T}$can_build_shared" >&6; }
20901 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
20902 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
20903 test "$can_build_shared" = "no" && enable_shared
=no
20905 # On AIX, shared libraries and static libraries use the same namespace, and
20906 # are all built from PIC.
20909 test "$enable_shared" = yes && enable_static
=no
20910 if test -n "$RANLIB"; then
20911 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
20912 postinstall_cmds
='$RANLIB $lib'
20916 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
20917 test "$enable_shared" = yes && enable_static
=no
20921 { echo "$as_me:$LINENO: result: $enable_shared" >&5
20922 echo "${ECHO_T}$enable_shared" >&6; }
20924 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
20925 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
20926 # Make sure either enable_shared or enable_static is yes.
20927 test "$enable_shared" = yes || enable_static
=yes
20928 { echo "$as_me:$LINENO: result: $enable_static" >&5
20929 echo "${ECHO_T}$enable_static" >&6; }
20934 lt_prog_compiler_wl_F77
=
20935 lt_prog_compiler_pic_F77
=
20936 lt_prog_compiler_static_F77
=
20938 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
20939 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
20941 if test "$GCC" = yes; then
20942 lt_prog_compiler_wl_F77
='-Wl,'
20943 lt_prog_compiler_static_F77
='-static'
20947 # All AIX code is PIC.
20948 if test "$host_cpu" = ia64
; then
20949 # AIX 5 now supports IA64 processor
20950 lt_prog_compiler_static_F77
='-Bstatic'
20955 # FIXME: we need at least 68020 code to build shared libraries, but
20956 # adding the `-m68020' flag to GCC prevents building anything better,
20958 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
20961 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
20962 # PIC is the default for these OSes.
20965 mingw
* | pw32
* | os2
*)
20966 # This hack is so that the source file can tell whether it is being
20967 # built for inclusion in a dll (and should export symbols for example).
20968 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
20971 darwin
* | rhapsody
*)
20972 # PIC is the default on this platform
20973 # Common symbols not allowed in MH_DYLIB files
20974 lt_prog_compiler_pic_F77
='-fno-common'
20978 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
20979 # Instead, we relocate shared libraries at runtime.
20983 # Just because we use GCC doesn't mean we suddenly get shared libraries
20984 # on systems that don't support them.
20985 lt_prog_compiler_can_build_shared_F77
=no
20990 if test -d /usr
/nec
; then
20991 lt_prog_compiler_pic_F77
=-Kconform_pic
20996 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
20997 # not for PA HP-UX.
21003 lt_prog_compiler_pic_F77
='-fPIC'
21009 lt_prog_compiler_pic_F77
='-fPIC'
21013 # PORTME Check for flag to pass linker flags through the system compiler.
21016 lt_prog_compiler_wl_F77
='-Wl,'
21017 if test "$host_cpu" = ia64
; then
21018 # AIX 5 now supports IA64 processor
21019 lt_prog_compiler_static_F77
='-Bstatic'
21021 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
21025 # PIC is the default on this platform
21026 # Common symbols not allowed in MH_DYLIB files
21027 case $cc_basename in
21029 lt_prog_compiler_pic_F77
='-qnocommon'
21030 lt_prog_compiler_wl_F77
='-Wl,'
21035 mingw
* | pw32
* | os2
*)
21036 # This hack is so that the source file can tell whether it is being
21037 # built for inclusion in a dll (and should export symbols for example).
21038 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
21041 hpux9
* | hpux10
* | hpux11
*)
21042 lt_prog_compiler_wl_F77
='-Wl,'
21043 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21044 # not for PA HP-UX.
21050 lt_prog_compiler_pic_F77
='+Z'
21053 # Is there a better lt_prog_compiler_static that works with the bundled CC?
21054 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
21057 irix5
* | irix6
* | nonstopux
*)
21058 lt_prog_compiler_wl_F77
='-Wl,'
21059 # PIC (with -KPIC) is the default.
21060 lt_prog_compiler_static_F77
='-non_shared'
21064 lt_prog_compiler_pic_F77
='-KPIC'
21065 lt_prog_compiler_static_F77
='-Bstatic'
21069 case $cc_basename in
21071 lt_prog_compiler_wl_F77
='-Wl,'
21072 lt_prog_compiler_pic_F77
='-KPIC'
21073 lt_prog_compiler_static_F77
='-static'
21075 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
21076 # Portland Group compilers (*not* the Pentium gcc compiler,
21077 # which looks to be a dead project)
21078 lt_prog_compiler_wl_F77
='-Wl,'
21079 lt_prog_compiler_pic_F77
='-fpic'
21080 lt_prog_compiler_static_F77
='-Bstatic'
21083 lt_prog_compiler_wl_F77
='-Wl,'
21084 # All Alpha code is PIC.
21085 lt_prog_compiler_static_F77
='-non_shared'
21090 osf3
* | osf4
* | osf5
*)
21091 lt_prog_compiler_wl_F77
='-Wl,'
21092 # All OSF/1 code is PIC.
21093 lt_prog_compiler_static_F77
='-non_shared'
21097 lt_prog_compiler_pic_F77
='-KPIC'
21098 lt_prog_compiler_static_F77
='-Bstatic'
21099 case $cc_basename in
21100 f77
* | f90
* | f95
*)
21101 lt_prog_compiler_wl_F77
='-Qoption ld ';;
21103 lt_prog_compiler_wl_F77
='-Wl,';;
21108 lt_prog_compiler_wl_F77
='-Qoption ld '
21109 lt_prog_compiler_pic_F77
='-PIC'
21110 lt_prog_compiler_static_F77
='-Bstatic'
21113 sysv4 | sysv4.2uw2
* | sysv4.3
*)
21114 lt_prog_compiler_wl_F77
='-Wl,'
21115 lt_prog_compiler_pic_F77
='-KPIC'
21116 lt_prog_compiler_static_F77
='-Bstatic'
21120 if test -d /usr
/nec
;then
21121 lt_prog_compiler_pic_F77
='-Kconform_pic'
21122 lt_prog_compiler_static_F77
='-Bstatic'
21126 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
21127 lt_prog_compiler_wl_F77
='-Wl,'
21128 lt_prog_compiler_pic_F77
='-KPIC'
21129 lt_prog_compiler_static_F77
='-Bstatic'
21133 lt_prog_compiler_wl_F77
='-Wl,'
21134 lt_prog_compiler_can_build_shared_F77
=no
21138 lt_prog_compiler_pic_F77
='-pic'
21139 lt_prog_compiler_static_F77
='-Bstatic'
21143 lt_prog_compiler_can_build_shared_F77
=no
21148 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
21149 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
21152 # Check to make sure the PIC flag actually works.
21154 if test -n "$lt_prog_compiler_pic_F77"; then
21156 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
21157 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
21158 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
21159 echo $ECHO_N "(cached) $ECHO_C" >&6
21161 lt_prog_compiler_pic_works_F77
=no
21162 ac_outfile
=conftest.
$ac_objext
21163 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21164 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
21165 # Insert the option either (1) after the last *FLAGS variable, or
21166 # (2) before a word containing "conftest.", or (3) at the end.
21167 # Note that $ac_compile itself does not contain backslashes and begins
21168 # with a dollar sign (not a hyphen), so the echo should work correctly.
21169 # The option is referenced via a variable to avoid confusing sed.
21170 lt_compile
=`echo "$ac_compile" | $SED \
21171 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21172 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21173 -e 's:$: $lt_compiler_flag:'`
21174 (eval echo "\"\$as_me:21174: $lt_compile\"" >&5)
21175 (eval "$lt_compile" 2>conftest.err
)
21177 cat conftest.err
>&5
21178 echo "$as_me:21178: \$? = $ac_status" >&5
21179 if (exit $ac_status) && test -s "$ac_outfile"; then
21180 # The compiler can only warn and ignore the option if not recognized
21181 # So say no if there are warnings other than the usual output.
21182 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
21183 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21184 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
21185 lt_prog_compiler_pic_works_F77
=yes
21191 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
21192 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
21194 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
21195 case $lt_prog_compiler_pic_F77 in
21197 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
21200 lt_prog_compiler_pic_F77
=
21201 lt_prog_compiler_can_build_shared_F77
=no
21206 # For platforms which do not support PIC, -DPIC is meaningless:
21208 lt_prog_compiler_pic_F77
=
21211 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
21216 # Check to make sure the static flag actually works.
21218 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
21219 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21220 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
21221 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
21222 echo $ECHO_N "(cached) $ECHO_C" >&6
21224 lt_prog_compiler_static_works_F77
=no
21225 save_LDFLAGS
="$LDFLAGS"
21226 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
21227 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
21228 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
21229 # The linker can only warn and ignore the option if not recognized
21230 # So say no if there are warnings
21231 if test -s conftest.err
; then
21232 # Append any errors to the config.log.
21233 cat conftest.err
1>&5
21234 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
21235 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21236 if diff conftest.exp conftest.er2
>/dev
/null
; then
21237 lt_prog_compiler_static_works_F77
=yes
21240 lt_prog_compiler_static_works_F77
=yes
21244 LDFLAGS
="$save_LDFLAGS"
21247 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
21248 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
21250 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
21253 lt_prog_compiler_static_F77
=
21257 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21258 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
21259 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
21260 echo $ECHO_N "(cached) $ECHO_C" >&6
21262 lt_cv_prog_compiler_c_o_F77
=no
21263 $rm -r conftest
2>/dev
/null
21267 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21269 lt_compiler_flag
="-o out/conftest2.$ac_objext"
21270 # Insert the option either (1) after the last *FLAGS variable, or
21271 # (2) before a word containing "conftest.", or (3) at the end.
21272 # Note that $ac_compile itself does not contain backslashes and begins
21273 # with a dollar sign (not a hyphen), so the echo should work correctly.
21274 lt_compile
=`echo "$ac_compile" | $SED \
21275 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21276 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21277 -e 's:$: $lt_compiler_flag:'`
21278 (eval echo "\"\$as_me:21278: $lt_compile\"" >&5)
21279 (eval "$lt_compile" 2>out
/conftest.err
)
21281 cat out
/conftest.err
>&5
21282 echo "$as_me:21282: \$? = $ac_status" >&5
21283 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
21285 # The compiler can only warn and ignore the option if not recognized
21286 # So say no if there are warnings
21287 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
21288 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
21289 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
21290 lt_cv_prog_compiler_c_o_F77
=yes
21295 # SGI C++ compiler will create directory out/ii_files/ for
21296 # template instantiation
21297 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
21298 $rm out
/* && rmdir out
21304 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
21305 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
21308 hard_links
="nottested"
21309 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
21310 # do not overwrite the value of need_locks provided by the user
21311 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21312 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
21315 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21317 ln conftest.a conftest.b
2>&5 || hard_links
=no
21318 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21319 { echo "$as_me:$LINENO: result: $hard_links" >&5
21320 echo "${ECHO_T}$hard_links" >&6; }
21321 if test "$hard_links" = no
; then
21322 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21323 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21330 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21331 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
21334 allow_undefined_flag_F77
=
21335 enable_shared_with_static_runtimes_F77
=no
21337 archive_expsym_cmds_F77
=
21338 old_archive_From_new_cmds_F77
=
21339 old_archive_from_expsyms_cmds_F77
=
21340 export_dynamic_flag_spec_F77
=
21341 whole_archive_flag_spec_F77
=
21342 thread_safe_flag_spec_F77
=
21343 hardcode_libdir_flag_spec_F77
=
21344 hardcode_libdir_flag_spec_ld_F77
=
21345 hardcode_libdir_separator_F77
=
21346 hardcode_direct_F77
=no
21347 hardcode_minus_L_F77
=no
21348 hardcode_shlibpath_var_F77
=unsupported
21349 link_all_deplibs_F77
=unknown
21350 hardcode_automatic_F77
=no
21352 module_expsym_cmds_F77
=
21353 always_export_symbols_F77
=no
21354 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21355 # include_expsyms should be a list of space-separated symbols to be *always*
21356 # included in the symbol list
21357 include_expsyms_F77
=
21358 # exclude_expsyms can be an extended regexp of symbols to exclude
21359 # it will be wrapped by ` (' and `)$', so one must not match beginning or
21360 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
21361 # as well as any symbol that contains `d'.
21362 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
21363 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
21364 # platforms (ab)use it in PIC code, but their linkers get confused if
21365 # the symbol is explicitly referenced. Since portable code cannot
21366 # rely on this symbol name, it's probably fine to never include it in
21367 # preloaded symbol tables.
21368 extract_expsyms_cmds
=
21369 # Just being paranoid about ensuring that cc_basename is set.
21370 for cc_temp
in $compiler""; do
21372 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
21373 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
21378 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21381 cygwin
* | mingw
* | pw32
*)
21382 # FIXME: the MSVC++ port hasn't been tested in a loooong time
21383 # When not using gcc, we currently assume that we are using
21384 # Microsoft Visual C++.
21385 if test "$GCC" != yes; then
21390 # we just hope/assume this is gcc and not c89 (= MSVC++)
21399 if test "$with_gnu_ld" = yes; then
21400 # If archive_cmds runs LD, not CC, wlarc should be empty
21403 # Set some defaults for GNU ld with shared library support. These
21404 # are reset later if shared libraries are not supported. Putting them
21405 # here allows them to be overridden if necessary.
21406 runpath_var
=LD_RUN_PATH
21407 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
21408 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
21409 # ancient GNU ld didn't support --whole-archive et. al.
21410 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
21411 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21413 whole_archive_flag_spec_F77
=
21415 supports_anon_versioning
=no
21416 case `$LD -v 2>/dev/null` in
21417 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
21418 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
21419 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
21420 *\
2.11.
*) ;; # other 2.11 versions
21421 *) supports_anon_versioning
=yes ;;
21424 # See if GNU ld supports shared libraries.
21426 aix3
* | aix4
* | aix5
*)
21427 # On AIX/PPC, the GNU linker is very broken
21428 if test "$host_cpu" != ia64
; then
21432 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
21433 *** to be unable to reliably create shared libraries on AIX.
21434 *** Therefore, libtool is disabling shared libraries support. If you
21435 *** really care for shared libraries, you may want to modify your PATH
21436 *** so that a non-GNU linker is found, and then restart.
21443 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)'
21444 hardcode_libdir_flag_spec_F77
='-L$libdir'
21445 hardcode_minus_L_F77
=yes
21447 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
21448 # that the semantics of dynamic libraries on AmigaOS, at least up
21449 # to version 4, is to share data among multiple programs linked
21450 # with the same dynamic library. Since this doesn't match the
21451 # behavior of shared libraries on other platforms, we can't use
21457 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21458 allow_undefined_flag_F77
=unsupported
21459 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
21460 # support --undefined. This deserves some investigation. FIXME
21461 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21467 cygwin
* | mingw
* | pw32
*)
21468 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
21469 # as there is no search path for DLLs.
21470 hardcode_libdir_flag_spec_F77
='-L$libdir'
21471 allow_undefined_flag_F77
=unsupported
21472 always_export_symbols_F77
=no
21473 enable_shared_with_static_runtimes_F77
=yes
21474 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
21476 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
21477 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21478 # If the export-symbols file already is a .def file (1st line
21479 # is EXPORTS), use it as is; otherwise, prepend...
21480 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21481 cp $export_symbols $output_objdir/$soname.def;
21483 echo EXPORTS > $output_objdir/$soname.def;
21484 cat $export_symbols >> $output_objdir/$soname.def;
21486 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21493 hardcode_direct_F77
=no
21494 hardcode_shlibpath_var_F77
=no
21495 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
21496 export_dynamic_flag_spec_F77
='${wl}-E'
21497 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
21498 # Instead, shared libraries are loaded at an image base (0x10000000 by
21499 # default) and relocated if they conflict, which is a slow very memory
21500 # consuming and fragmenting process. To avoid this, we pick a random,
21501 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
21502 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
21503 archive_cmds_F77
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
21504 archive_expsym_cmds_F77
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
21508 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21510 case $cc_basename,$host_cpu in
21511 pgcc
*) # Portland Group C compiler
21512 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
21513 tmp_addflag
=' $pic_flag'
21515 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
21516 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
21517 tmp_addflag
=' $pic_flag -Mnomain' ;;
21518 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
21519 tmp_addflag
=' -i_dynamic' ;;
21520 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
21521 tmp_addflag
=' -i_dynamic -nofor_main' ;;
21522 ifc
* | ifort
*) # Intel Fortran compiler
21523 tmp_addflag
=' -nofor_main' ;;
21525 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21527 if test $supports_anon_versioning = yes; then
21528 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
21529 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
21530 $echo "local: *; };" >> $output_objdir/$libname.ver~
21531 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
21539 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
21540 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
21543 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21544 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21549 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
21553 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
21554 *** create shared libraries on Solaris systems. Therefore, libtool
21555 *** is disabling shared libraries support. We urge you to upgrade GNU
21556 *** binutils to release 2.9.1 or newer. Another option is to modify
21557 *** your PATH or compiler configuration so that the native linker is
21558 *** used, and then restart.
21561 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21562 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21563 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21569 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
21570 case `$LD -v 2>&1` in
21571 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
21575 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
21576 *** reliably create shared libraries on SCO systems. Therefore, libtool
21577 *** is disabling shared libraries support. We urge you to upgrade GNU
21578 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
21579 *** your PATH or compiler configuration so that the native linker is
21580 *** used, and then restart.
21585 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21586 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
21587 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
21588 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
21597 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21599 hardcode_direct_F77
=yes
21600 hardcode_shlibpath_var_F77
=no
21604 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21605 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21606 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21613 if test "$ld_shlibs_F77" = no
; then
21615 hardcode_libdir_flag_spec_F77
=
21616 export_dynamic_flag_spec_F77
=
21617 whole_archive_flag_spec_F77
=
21620 # PORTME fill in a description of your system's linker (not GNU ld)
21623 allow_undefined_flag_F77
=unsupported
21624 always_export_symbols_F77
=yes
21625 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'
21626 # Note: this linker hardcodes the directories in LIBPATH if there
21627 # are no directories specified by -L.
21628 hardcode_minus_L_F77
=yes
21629 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
21630 # Neither direct hardcoding nor static linking is supported with a
21632 hardcode_direct_F77
=unsupported
21637 if test "$host_cpu" = ia64
; then
21638 # On IA64, the linker does run time linking by default, so we don't
21639 # have to do anything special.
21640 aix_use_runtimelinking
=no
21641 exp_sym_flag
='-Bexport'
21644 # If we're using GNU nm, then we don't want the "-C" option.
21645 # -C means demangle to AIX nm, but means don't demangle with GNU nm
21646 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
21647 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'
21649 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'
21651 aix_use_runtimelinking
=no
21653 # Test if we are trying to use run time linking or normal
21654 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
21655 # need to do runtime linking.
21656 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
21657 for ld_flag
in $LDFLAGS; do
21658 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
21659 aix_use_runtimelinking
=yes
21666 exp_sym_flag
='-bexport'
21667 no_entry_flag
='-bnoentry'
21670 # When large executables or shared objects are built, AIX ld can
21671 # have problems creating the table of contents. If linking a library
21672 # or program results in "error TOC overflow" add -mminimal-toc to
21673 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
21674 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
21676 archive_cmds_F77
=''
21677 hardcode_direct_F77
=yes
21678 hardcode_libdir_separator_F77
=':'
21679 link_all_deplibs_F77
=yes
21681 if test "$GCC" = yes; then
21682 case $host_os in aix4.
[012]|aix4.
[012].
*)
21683 # We only want to do this on AIX 4.2 and lower, the check
21684 # below for broken collect2 doesn't work under 4.3+
21685 collect2name
=`${CC} -print-prog-name=collect2`
21686 if test -f "$collect2name" && \
21687 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
21689 # We have reworked collect2
21690 hardcode_direct_F77
=yes
21692 # We have old collect2
21693 hardcode_direct_F77
=unsupported
21694 # It fails to find uninstalled libraries when the uninstalled
21695 # path is not listed in the libpath. Setting hardcode_minus_L
21696 # to unsupported forces relinking
21697 hardcode_minus_L_F77
=yes
21698 hardcode_libdir_flag_spec_F77
='-L$libdir'
21699 hardcode_libdir_separator_F77
=
21703 shared_flag
='-shared'
21704 if test "$aix_use_runtimelinking" = yes; then
21705 shared_flag
="$shared_flag "'${wl}-G'
21709 if test "$host_cpu" = ia64
; then
21710 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
21711 # chokes on -Wl,-G. The following line is correct:
21714 if test "$aix_use_runtimelinking" = yes; then
21715 shared_flag
='${wl}-G'
21717 shared_flag
='${wl}-bM:SRE'
21722 # It seems that -bexpall does not export symbols beginning with
21723 # underscore (_), so it is better to generate a list of symbols to export.
21724 always_export_symbols_F77
=yes
21725 if test "$aix_use_runtimelinking" = yes; then
21726 # Warning - without using the other runtime loading flags (-brtl),
21727 # -berok will link without error, but may produce a broken library.
21728 allow_undefined_flag_F77
='-berok'
21729 # Determine the default libpath from the value encoded in an empty executable.
21730 cat >conftest.
$ac_ext <<_ACEOF
21735 rm -f conftest.
$ac_objext conftest
$ac_exeext
21736 if { (ac_try
="$ac_link"
21737 case "(($ac_try" in
21738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21739 *) ac_try_echo=$ac_try;;
21741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21742 (eval "$ac_link") 2>conftest.er1
21744 grep -v '^ *+' conftest.er1 >conftest.err
21746 cat conftest.err >&5
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); } &&
21749 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
21750 { (case "(($ac_try" in
21751 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21752 *) ac_try_echo
=$ac_try;;
21754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21755 (eval "$ac_try") 2>&5
21757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758 (exit $ac_status); }; } &&
21759 { ac_try
='test -s conftest$ac_exeext'
21760 { (case "(($ac_try" in
21761 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21762 *) ac_try_echo=$ac_try;;
21764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21765 (eval "$ac_try") 2>&5
21767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21768 (exit $ac_status); }; }; then
21770 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21772 # Check for a 64-bit object if we didn't find anything.
21773 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; }
21776 echo "$as_me: failed program was:" >&5
21777 sed 's/^/| /' conftest.$ac_ext >&5
21782 rm -f core conftest.err conftest.$ac_objext \
21783 conftest$ac_exeext conftest.$ac_ext
21784 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21786 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
21787 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
21789 if test "$host_cpu" = ia64; then
21790 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
21791 allow_undefined_flag_F77="-z nodefs"
21792 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
21794 # Determine the default libpath from the value encoded in an empty executable.
21795 cat >conftest.$ac_ext <<_ACEOF
21800 rm -f conftest.$ac_objext conftest$ac_exeext
21801 if { (ac_try="$ac_link"
21802 case "(($ac_try" in
21803 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21804 *) ac_try_echo
=$ac_try;;
21806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21807 (eval "$ac_link") 2>conftest.er1
21809 grep -v '^ *+' conftest.er1
>conftest.err
21811 cat conftest.err
>&5
21812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21813 (exit $ac_status); } &&
21814 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
21815 { (case "(($ac_try" in
21816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21817 *) ac_try_echo=$ac_try;;
21819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21820 (eval "$ac_try") 2>&5
21822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21823 (exit $ac_status); }; } &&
21824 { ac_try='test -s conftest$ac_exeext'
21825 { (case "(($ac_try" in
21826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21827 *) ac_try_echo
=$ac_try;;
21829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21830 (eval "$ac_try") 2>&5
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); }; }; then
21835 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21837 # Check for a 64-bit object if we didn't find anything.
21838 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; }
21841 echo "$as_me: failed program was:" >&5
21842 sed 's/^/| /' conftest.
$ac_ext >&5
21847 rm -f core conftest.err conftest.
$ac_objext \
21848 conftest
$ac_exeext conftest.
$ac_ext
21849 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
21851 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
21852 # Warning - without using the other run time loading flags,
21853 # -berok will link without error, but may produce a broken library.
21854 no_undefined_flag_F77
=' ${wl}-bernotok'
21855 allow_undefined_flag_F77
=' ${wl}-berok'
21856 # Exported symbols can be pulled into shared objects from archives
21857 whole_archive_flag_spec_F77
='$convenience'
21858 archive_cmds_need_lc_F77
=yes
21859 # This is similar to how AIX traditionally builds its shared libraries.
21860 archive_expsym_cmds_F77
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
21866 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)'
21867 hardcode_libdir_flag_spec_F77
='-L$libdir'
21868 hardcode_minus_L_F77
=yes
21869 # see comment about different semantics on the GNU ld section
21874 export_dynamic_flag_spec_F77
=-rdynamic
21877 cygwin
* | mingw
* | pw32
*)
21878 # When not using gcc, we currently assume that we are using
21879 # Microsoft Visual C++.
21880 # hardcode_libdir_flag_spec is actually meaningless, as there is
21881 # no search path for DLLs.
21882 hardcode_libdir_flag_spec_F77
=' '
21883 allow_undefined_flag_F77
=unsupported
21884 # Tell ltmain to make .lib files, not .a files.
21886 # Tell ltmain to make .dll files, not .so files.
21888 # FIXME: Setting linknames here is a bad hack.
21889 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
21890 # The linker will automatically build a .lib file if we build a DLL.
21891 old_archive_From_new_cmds_F77
='true'
21892 # FIXME: Should let the user specify the lib program.
21893 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
21894 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
21895 enable_shared_with_static_runtimes_F77
=yes
21898 darwin
* | rhapsody
*)
21900 rhapsody
* | darwin1.
[012])
21901 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
21904 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
21905 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
21907 case ${MACOSX_DEPLOYMENT_TARGET} in
21909 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
21912 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
21918 archive_cmds_need_lc_F77
=no
21919 hardcode_direct_F77
=no
21920 hardcode_automatic_F77
=yes
21921 hardcode_shlibpath_var_F77
=unsupported
21922 whole_archive_flag_spec_F77
=''
21923 link_all_deplibs_F77
=yes
21924 if test "$GCC" = yes ; then
21925 output_verbose_link_cmd
='echo'
21926 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
21927 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
21928 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
21929 archive_expsym_cmds_F77
='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}'
21930 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}'
21932 case $cc_basename in
21934 output_verbose_link_cmd
='echo'
21935 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
21936 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
21937 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
21938 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
21939 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}'
21949 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21950 hardcode_libdir_flag_spec_F77
='-L$libdir'
21951 hardcode_shlibpath_var_F77
=no
21958 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
21959 # support. Future versions do this automatically, but an explicit c++rt0.o
21960 # does not break anything, and helps significantly (at the cost of a little
21963 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
21964 hardcode_libdir_flag_spec_F77
='-R$libdir'
21965 hardcode_direct_F77
=yes
21966 hardcode_shlibpath_var_F77
=no
21969 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
21971 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21972 hardcode_direct_F77
=yes
21973 hardcode_minus_L_F77
=yes
21974 hardcode_shlibpath_var_F77
=no
21977 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
21978 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
21979 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
21980 hardcode_libdir_flag_spec_F77
='-R$libdir'
21981 hardcode_direct_F77
=yes
21982 hardcode_shlibpath_var_F77
=no
21986 if test "$GCC" = yes; then
21987 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'
21989 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'
21991 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
21992 hardcode_libdir_separator_F77
=:
21993 hardcode_direct_F77
=yes
21995 # hardcode_minus_L: Not really in the search PATH,
21996 # but as the default location of the library.
21997 hardcode_minus_L_F77
=yes
21998 export_dynamic_flag_spec_F77
='${wl}-E'
22002 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22003 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22005 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22007 if test "$with_gnu_ld" = no
; then
22008 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22009 hardcode_libdir_separator_F77
=:
22011 hardcode_direct_F77
=yes
22012 export_dynamic_flag_spec_F77
='${wl}-E'
22014 # hardcode_minus_L: Not really in the search PATH,
22015 # but as the default location of the library.
22016 hardcode_minus_L_F77
=yes
22021 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22024 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22027 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22030 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22036 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22039 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22042 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22046 if test "$with_gnu_ld" = no
; then
22047 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22048 hardcode_libdir_separator_F77
=:
22052 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
22053 hardcode_direct_F77
=no
22054 hardcode_shlibpath_var_F77
=no
22057 hardcode_direct_F77
=yes
22058 export_dynamic_flag_spec_F77
='${wl}-E'
22060 # hardcode_minus_L: Not really in the search PATH,
22061 # but as the default location of the library.
22062 hardcode_minus_L_F77
=yes
22068 irix5
* | irix6
* | nonstopux
*)
22069 if test "$GCC" = yes; then
22070 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'
22072 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'
22073 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
22075 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22076 hardcode_libdir_separator_F77
=:
22077 link_all_deplibs_F77
=yes
22081 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
22082 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22084 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22086 hardcode_libdir_flag_spec_F77
='-R$libdir'
22087 hardcode_direct_F77
=yes
22088 hardcode_shlibpath_var_F77
=no
22092 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22093 hardcode_direct_F77
=yes
22094 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22095 hardcode_libdir_separator_F77
=:
22096 hardcode_shlibpath_var_F77
=no
22100 hardcode_direct_F77
=yes
22101 hardcode_shlibpath_var_F77
=no
22102 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22103 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22104 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22105 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22106 export_dynamic_flag_spec_F77
='${wl}-E'
22109 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
22110 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22111 hardcode_libdir_flag_spec_F77
='-R$libdir'
22114 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22115 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22122 hardcode_libdir_flag_spec_F77
='-L$libdir'
22123 hardcode_minus_L_F77
=yes
22124 allow_undefined_flag_F77
=unsupported
22125 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'
22126 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22130 if test "$GCC" = yes; then
22131 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
22132 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'
22134 allow_undefined_flag_F77
=' -expect_unresolved \*'
22135 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'
22137 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22138 hardcode_libdir_separator_F77
=:
22141 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
22142 if test "$GCC" = yes; then
22143 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
22144 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'
22145 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22147 allow_undefined_flag_F77
=' -expect_unresolved \*'
22148 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'
22149 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~
22150 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
22152 # Both c and cxx compiler support -rpath directly
22153 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
22155 hardcode_libdir_separator_F77
=:
22159 no_undefined_flag_F77
=' -z text'
22160 if test "$GCC" = yes; then
22162 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22163 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22164 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22167 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22168 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22169 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22171 hardcode_libdir_flag_spec_F77
='-R$libdir'
22172 hardcode_shlibpath_var_F77
=no
22174 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
22176 # The compiler driver will combine linker options so we
22177 # cannot just pass the convience library names through
22178 # without $wl, iff we do not link with $LD.
22179 # Luckily, gcc supports the same syntax we need for Sun Studio.
22180 # Supported since Solaris 2.6 (maybe 2.5.1?)
22183 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
22185 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
22188 link_all_deplibs_F77
=yes
22192 if test "x$host_vendor" = xsequent
; then
22193 # Use $CC to link under sequent, because it throws in some extra .o
22194 # files that make .init and .fini sections work.
22195 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22197 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22199 hardcode_libdir_flag_spec_F77
='-L$libdir'
22200 hardcode_direct_F77
=yes
22201 hardcode_minus_L_F77
=yes
22202 hardcode_shlibpath_var_F77
=no
22206 case $host_vendor in
22208 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22209 hardcode_direct_F77
=yes # is this really true???
22212 ## LD is ld it makes a PLAMLIB
22213 ## CC just makes a GrossModule.
22214 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22215 reload_cmds_F77
='$CC -r -o $output$reload_objs'
22216 hardcode_direct_F77
=no
22219 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22220 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
22223 runpath_var
='LD_RUN_PATH'
22224 hardcode_shlibpath_var_F77
=no
22228 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22229 hardcode_shlibpath_var_F77
=no
22230 export_dynamic_flag_spec_F77
='-Bexport'
22234 if test -d /usr
/nec
; then
22235 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22236 hardcode_shlibpath_var_F77
=no
22237 runpath_var
=LD_RUN_PATH
22238 hardcode_runpath_var
=yes
22243 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
22244 no_undefined_flag_F77
='${wl}-z,text'
22245 archive_cmds_need_lc_F77
=no
22246 hardcode_shlibpath_var_F77
=no
22247 runpath_var
='LD_RUN_PATH'
22249 if test "$GCC" = yes; then
22250 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22251 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22253 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22254 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22258 sysv5
* | sco3.2v5
* | sco5v6
*)
22259 # Note: We can NOT use -z defs as we might desire, because we do not
22260 # link with -lc, and that would cause any symbols used from libc to
22261 # always be unresolved, which means just about no library would
22262 # ever link correctly. If we're not using GNU ld we use -z text
22263 # though, which does catch some bad symbols but isn't as heavy-handed
22265 no_undefined_flag_F77
='${wl}-z,text'
22266 allow_undefined_flag_F77
='${wl}-z,nodefs'
22267 archive_cmds_need_lc_F77
=no
22268 hardcode_shlibpath_var_F77
=no
22269 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
22270 hardcode_libdir_separator_F77
=':'
22271 link_all_deplibs_F77
=yes
22272 export_dynamic_flag_spec_F77
='${wl}-Bexport'
22273 runpath_var
='LD_RUN_PATH'
22275 if test "$GCC" = yes; then
22276 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22277 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22279 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22280 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22285 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22286 hardcode_libdir_flag_spec_F77
='-L$libdir'
22287 hardcode_shlibpath_var_F77
=no
22296 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
22297 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
22298 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
22301 # Do we need to explicitly link libc?
22303 case "x$archive_cmds_need_lc_F77" in
22305 # Assume -lc should be added
22306 archive_cmds_need_lc_F77
=yes
22308 if test "$enable_shared" = yes && test "$GCC" = yes; then
22309 case $archive_cmds_F77 in
22311 # FIXME: we may have to deal with multi-command sequences.
22314 # Test whether the compiler implicitly links with -lc since on some
22315 # systems, -lgcc has to come before -lc. If gcc already passes -lc
22316 # to ld, don't add -lc before -lgcc.
22317 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22318 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
22320 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
22322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22323 (eval $ac_compile) 2>&5
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); } 2>conftest.err
; then
22329 libobjs
=conftest.
$ac_objext
22331 wl
=$lt_prog_compiler_wl_F77
22332 pic_flag
=$lt_prog_compiler_pic_F77
22338 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
22339 allow_undefined_flag_F77
=
22340 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22341 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
22343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344 (exit $ac_status); }
22346 archive_cmds_need_lc_F77
=no
22348 archive_cmds_need_lc_F77
=yes
22350 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
22352 cat conftest.err
1>&5
22355 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
22356 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
22363 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22364 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
22365 library_names_spec
=
22366 libname_spec
='lib$name'
22370 postuninstall_cmds
=
22374 shlibpath_overrides_runpath
=unknown
22376 dynamic_linker
="$host_os ld.so"
22377 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
22378 if test "$GCC" = yes; then
22379 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22380 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
22381 # if the path contains ";" then we assume it to be the separator
22382 # otherwise default to the standard path separator (i.e. ":") - it is
22383 # assumed that no part of a normal pathname contains ";" but that should
22384 # okay in the real world where ";" in dirpaths is itself problematic.
22385 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22387 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22390 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
22392 need_lib_prefix
=unknown
22393 hardcode_into_libs
=no
22395 # when you set need_version to no, make sure it does not cause -set_version
22396 # flags to be left without arguments
22397 need_version
=unknown
22402 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
22403 shlibpath_var
=LIBPATH
22405 # AIX 3 has no versioning support, so we append a major version to the name.
22406 soname_spec
='${libname}${release}${shared_ext}$major'
22413 hardcode_into_libs
=yes
22414 if test "$host_cpu" = ia64
; then
22415 # AIX 5 supports IA64
22416 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22417 shlibpath_var
=LD_LIBRARY_PATH
22419 # With GCC up to 2.95.x, collect2 would create an import file
22420 # for dependence libraries. The import file would start with
22421 # the line `#! .'. This would cause the generated library to
22422 # depend on `.', always an invalid library. This was fixed in
22423 # development snapshots of GCC prior to 3.0.
22425 aix4 | aix4.
[01] | aix4.
[01].
*)
22426 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22428 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
22431 can_build_shared
=no
22435 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22436 # soname into executable. Probably we can add versioning support to
22437 # collect2, so additional links can be useful in future.
22438 if test "$aix_use_runtimelinking" = yes; then
22439 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22440 # instead of lib<name>.a to let people know that these are not
22441 # typical AIX shared libraries.
22442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22444 # We preserve .a as extension for shared libraries through AIX4.2
22445 # and later when we are not doing run time linking.
22446 library_names_spec
='${libname}${release}.a $libname.a'
22447 soname_spec
='${libname}${release}${shared_ext}$major'
22449 shlibpath_var
=LIBPATH
22454 library_names_spec
='$libname.ixlibrary $libname.a'
22455 # Create ${libname}_ixlibrary.a entries in /sys/libs.
22456 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'
22460 library_names_spec
='${libname}${shared_ext}'
22461 dynamic_linker
="$host_os ld.so"
22462 shlibpath_var
=LIBRARY_PATH
22468 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22469 soname_spec
='${libname}${release}${shared_ext}$major'
22470 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
22471 shlibpath_var
=LD_LIBRARY_PATH
22472 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22473 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
22474 # the default ld.so.conf also contains /usr/contrib/lib and
22475 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22476 # libtool to hard-code these into programs
22479 cygwin
* | mingw
* | pw32
*)
22480 version_type
=windows
22485 case $GCC,$host_os in
22486 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
22487 library_names_spec
='$libname.dll.a'
22488 # DLL is installed to $(libdir)/../bin by postinstall_cmds
22489 postinstall_cmds
='base_file=`basename \${file}`~
22490 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
22491 dldir=$destdir/`dirname \$dlpath`~
22492 test -d \$dldir || mkdir -p \$dldir~
22493 $install_prog $dir/$dlname \$dldir/$dlname~
22494 chmod a+x \$dldir/$dlname'
22495 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22496 dlpath=$dir/\$dldll~
22498 shlibpath_overrides_runpath
=yes
22502 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22503 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22504 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
22507 # MinGW DLLs use traditional 'lib' prefix
22508 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22509 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22510 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
22511 # It is most probably a Windows format PATH printed by
22512 # mingw gcc, but we are running on Cygwin. Gcc prints its search
22513 # path with ; separators, and with drive letters. We can handle the
22514 # drive letters (cygwin fileutils understands them), so leave them,
22515 # especially as we might pass files found there to a mingw objdump,
22516 # which wouldn't understand a cygwinified path. Ahh.
22517 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22519 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22523 # pw32 DLLs use 'pw' prefix rather than 'lib'
22524 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22530 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22533 dynamic_linker
='Win32 ld.exe'
22534 # FIXME: first we should search . and the directory the executable is in
22538 darwin
* | rhapsody
*)
22539 dynamic_linker
="$host_os dyld"
22540 version_type
=darwin
22543 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22544 soname_spec
='${libname}${release}${major}$shared_ext'
22545 shlibpath_overrides_runpath
=yes
22546 shlibpath_var
=DYLD_LIBRARY_PATH
22547 shrext_cmds
='.dylib'
22548 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
22549 if test "$GCC" = yes; then
22550 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"`
22552 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
22554 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
22561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
22562 soname_spec
='${libname}${release}${shared_ext}$major'
22563 shlibpath_var
=LD_LIBRARY_PATH
22574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22575 soname_spec
='${libname}${release}${shared_ext}$major'
22576 shlibpath_var
=LD_LIBRARY_PATH
22577 shlibpath_overrides_runpath
=no
22578 hardcode_into_libs
=yes
22579 dynamic_linker
='GNU ld.so'
22582 freebsd
* | dragonfly
*)
22583 # DragonFly does not have aout. When/if they implement a new
22584 # versioning mechanism, adjust this.
22585 if test -x /usr
/bin
/objformat
; then
22586 objformat
=`/usr/bin/objformat`
22589 freebsd
[123]*) objformat
=aout
;;
22590 *) objformat
=elf
;;
22593 version_type
=freebsd-
$objformat
22594 case $version_type in
22596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22601 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
22605 shlibpath_var
=LD_LIBRARY_PATH
22608 shlibpath_overrides_runpath
=yes
22610 freebsd3.
[01]* | freebsdelf3.
[01]*)
22611 shlibpath_overrides_runpath
=yes
22612 hardcode_into_libs
=yes
22614 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
22615 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
22616 shlibpath_overrides_runpath
=no
22617 hardcode_into_libs
=yes
22619 freebsd
*) # from 4.6 on
22620 shlibpath_overrides_runpath
=yes
22621 hardcode_into_libs
=yes
22630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22631 soname_spec
='${libname}${release}${shared_ext}$major'
22632 shlibpath_var
=LD_LIBRARY_PATH
22633 hardcode_into_libs
=yes
22636 hpux9
* | hpux10
* | hpux11
*)
22637 # Give a soname corresponding to the major version so that dld.sl refuses to
22638 # link against other versions.
22645 hardcode_into_libs
=yes
22646 dynamic_linker
="$host_os dld.so"
22647 shlibpath_var
=LD_LIBRARY_PATH
22648 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
22649 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22650 soname_spec
='${libname}${release}${shared_ext}$major'
22651 if test "X$HPUX_IA64_MODE" = X32
; then
22652 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22654 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
22656 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
22660 hardcode_into_libs
=yes
22661 dynamic_linker
="$host_os dld.sl"
22662 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
22663 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
22664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22665 soname_spec
='${libname}${release}${shared_ext}$major'
22666 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22667 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
22671 dynamic_linker
="$host_os dld.sl"
22672 shlibpath_var
=SHLIB_PATH
22673 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
22674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22675 soname_spec
='${libname}${release}${shared_ext}$major'
22678 # HP-UX runs *really* slowly unless shared libraries are mode 555.
22679 postinstall_cmds
='chmod 555 $lib'
22686 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22687 soname_spec
='${libname}${release}${shared_ext}$major'
22688 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
22689 shlibpath_var
=LD_LIBRARY_PATH
22690 shlibpath_overrides_runpath
=no
22691 hardcode_into_libs
=yes
22694 irix5
* | irix6
* | nonstopux
*)
22696 nonstopux
*) version_type
=nonstopux
;;
22698 if test "$lt_cv_prog_gnu_ld" = yes; then
22706 soname_spec
='${libname}${release}${shared_ext}$major'
22707 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
22709 irix5
* | nonstopux
*)
22710 libsuff
= shlibsuff
=
22713 case $LD in # libtool.m4 will add one of these switches to LD
22714 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
22715 libsuff
= shlibsuff
= libmagic
=32-bit;;
22716 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
22717 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
22718 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
22719 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
22720 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
22724 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
22725 shlibpath_overrides_runpath
=no
22726 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22727 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
22728 hardcode_into_libs
=yes
22731 # No shared lib support for Linux oldld, aout, or coff.
22732 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
22736 # This must be Linux ELF.
22741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22742 soname_spec
='${libname}${release}${shared_ext}$major'
22743 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22744 shlibpath_var
=LD_LIBRARY_PATH
22745 shlibpath_overrides_runpath
=no
22746 # This implies no fast_install, which is unacceptable.
22747 # Some rework will be needed to allow for fast_install
22748 # before this can be enabled.
22749 hardcode_into_libs
=yes
22751 # Append ld.so.conf contents to the search path
22752 if test -f /etc
/ld.so.conf
; then
22753 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
22754 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
22757 # We used to test for /lib/ld.so.1 and disable shared libraries on
22758 # powerpc, because MkLinux only supported shared libraries with the
22759 # GNU dynamic linker. Since this was broken with cross compilers,
22760 # most powerpc-linux boxes support dynamic linking these days and
22761 # people can always --disable-shared, the test was removed, and we
22762 # assume the GNU/Linux dynamic linker is in use.
22763 dynamic_linker
='GNU/Linux ld.so'
22770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22771 soname_spec
='${libname}${release}${shared_ext}$major'
22772 shlibpath_var
=LD_LIBRARY_PATH
22773 shlibpath_overrides_runpath
=no
22774 hardcode_into_libs
=yes
22775 dynamic_linker
='GNU ld.so'
22782 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
22783 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22784 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22785 dynamic_linker
='NetBSD (a.out) ld.so'
22787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22788 soname_spec
='${libname}${release}${shared_ext}$major'
22789 dynamic_linker
='NetBSD ld.elf_so'
22791 shlibpath_var
=LD_LIBRARY_PATH
22792 shlibpath_overrides_runpath
=yes
22793 hardcode_into_libs
=yes
22798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22799 shlibpath_var
=LD_LIBRARY_PATH
22800 shlibpath_overrides_runpath
=yes
22807 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22808 soname_spec
='${libname}${release}${shared_ext}$major'
22809 shlibpath_var
=LD_LIBRARY_PATH
22810 shlibpath_overrides_runpath
=yes
22815 sys_lib_dlsearch_path_spec
="/usr/lib"
22817 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
22819 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
22820 *) need_version
=no
;;
22822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22823 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22824 shlibpath_var
=LD_LIBRARY_PATH
22825 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22827 openbsd2.
[89] | openbsd2.
[89].
*)
22828 shlibpath_overrides_runpath
=no
22831 shlibpath_overrides_runpath
=yes
22835 shlibpath_overrides_runpath
=yes
22840 libname_spec
='$name'
22843 library_names_spec
='$libname${shared_ext} $libname.a'
22844 dynamic_linker
='OS/2 ld.exe'
22845 shlibpath_var
=LIBPATH
22848 osf3
* | osf4
* | osf5
*)
22852 soname_spec
='${libname}${release}${shared_ext}$major'
22853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22854 shlibpath_var
=LD_LIBRARY_PATH
22855 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
22856 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
22863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22864 soname_spec
='${libname}${release}${shared_ext}$major'
22865 shlibpath_var
=LD_LIBRARY_PATH
22866 shlibpath_overrides_runpath
=yes
22867 hardcode_into_libs
=yes
22868 # ldd complains unless libraries are executable
22869 postinstall_cmds
='chmod +x $lib'
22874 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22875 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
22876 shlibpath_var
=LD_LIBRARY_PATH
22877 shlibpath_overrides_runpath
=yes
22878 if test "$with_gnu_ld" = yes; then
22886 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22887 soname_spec
='${libname}${release}${shared_ext}$major'
22888 shlibpath_var
=LD_LIBRARY_PATH
22889 case $host_vendor in
22891 shlibpath_overrides_runpath
=no
22893 export_dynamic_flag_spec
='${wl}-Blargedynsym'
22894 runpath_var
=LD_RUN_PATH
22902 shlibpath_overrides_runpath
=no
22903 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
22909 if test -d /usr
/nec
;then
22911 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
22912 soname_spec
='$libname${shared_ext}.$major'
22913 shlibpath_var
=LD_LIBRARY_PATH
22917 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
22918 version_type
=freebsd-elf
22921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22922 soname_spec
='${libname}${release}${shared_ext}$major'
22923 shlibpath_var
=LD_LIBRARY_PATH
22924 hardcode_into_libs
=yes
22925 if test "$with_gnu_ld" = yes; then
22926 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
22927 shlibpath_overrides_runpath
=no
22929 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
22930 shlibpath_overrides_runpath
=yes
22933 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
22937 sys_lib_dlsearch_path_spec
='/usr/lib'
22942 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22943 soname_spec
='${libname}${release}${shared_ext}$major'
22944 shlibpath_var
=LD_LIBRARY_PATH
22951 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
22952 echo "${ECHO_T}$dynamic_linker" >&6; }
22953 test "$dynamic_linker" = no
&& can_build_shared
=no
22955 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
22956 if test "$GCC" = yes; then
22957 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
22960 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
22961 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
22962 hardcode_action_F77
=
22963 if test -n "$hardcode_libdir_flag_spec_F77" || \
22964 test -n "$runpath_var_F77" || \
22965 test "X$hardcode_automatic_F77" = "Xyes" ; then
22967 # We can hardcode non-existant directories.
22968 if test "$hardcode_direct_F77" != no
&&
22969 # If the only mechanism to avoid hardcoding is shlibpath_var, we
22970 # have to relink, otherwise we might link with an installed library
22971 # when we should be linking with a yet-to-be-installed one
22972 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
22973 test "$hardcode_minus_L_F77" != no
; then
22974 # Linking always hardcodes the temporary library directory.
22975 hardcode_action_F77
=relink
22977 # We can link without hardcoding, and we can hardcode nonexisting dirs.
22978 hardcode_action_F77
=immediate
22981 # We cannot hardcode anything, or else we can only hardcode existing
22983 hardcode_action_F77
=unsupported
22985 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
22986 echo "${ECHO_T}$hardcode_action_F77" >&6; }
22988 if test "$hardcode_action_F77" = relink
; then
22989 # Fast installation is not supported
22990 enable_fast_install
=no
22991 elif test "$shlibpath_overrides_runpath" = yes ||
22992 test "$enable_shared" = no
; then
22993 # Fast installation is not necessary
22994 enable_fast_install
=needless
22998 # The else clause should only fire when bootstrapping the
22999 # libtool distribution, otherwise you forgot to ship ltmain.sh
23000 # with your package, and you will get complaints that there are
23001 # no rules to generate ltmain.sh.
23002 if test -f "$ltmain"; then
23003 # See if we are running on zsh, and set the options which allow our commands through
23004 # without removal of \ escapes.
23005 if test -n "${ZSH_VERSION+set}" ; then
23006 setopt NO_GLOB_SUBST
23008 # Now quote all the things that may contain metacharacters while being
23009 # careful not to overquote the AC_SUBSTed values. We take copies of the
23010 # variables and quote the copies for generation of the libtool script.
23011 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23013 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23014 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23015 deplibs_check_method reload_flag reload_cmds need_locks \
23016 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23017 lt_cv_sys_global_symbol_to_c_name_address \
23018 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23019 old_postinstall_cmds old_postuninstall_cmds \
23023 lt_prog_compiler_wl_F77 \
23024 lt_prog_compiler_pic_F77 \
23025 lt_prog_compiler_static_F77 \
23026 lt_prog_compiler_no_builtin_flag_F77 \
23027 export_dynamic_flag_spec_F77 \
23028 thread_safe_flag_spec_F77 \
23029 whole_archive_flag_spec_F77 \
23030 enable_shared_with_static_runtimes_F77 \
23031 old_archive_cmds_F77 \
23032 old_archive_from_new_cmds_F77 \
23033 predep_objects_F77 \
23034 postdep_objects_F77 \
23037 compiler_lib_search_path_F77 \
23039 archive_expsym_cmds_F77 \
23040 postinstall_cmds_F77 \
23041 postuninstall_cmds_F77 \
23042 old_archive_from_expsyms_cmds_F77 \
23043 allow_undefined_flag_F77 \
23044 no_undefined_flag_F77 \
23045 export_symbols_cmds_F77 \
23046 hardcode_libdir_flag_spec_F77 \
23047 hardcode_libdir_flag_spec_ld_F77 \
23048 hardcode_libdir_separator_F77 \
23049 hardcode_automatic_F77 \
23051 module_expsym_cmds_F77 \
23052 lt_cv_prog_compiler_c_o_F77 \
23053 exclude_expsyms_F77 \
23054 include_expsyms_F77
; do
23057 old_archive_cmds_F77 | \
23058 old_archive_from_new_cmds_F77 | \
23059 archive_cmds_F77 | \
23060 archive_expsym_cmds_F77 | \
23061 module_cmds_F77 | \
23062 module_expsym_cmds_F77 | \
23063 old_archive_from_expsyms_cmds_F77 | \
23064 export_symbols_cmds_F77 | \
23065 extract_expsyms_cmds | reload_cmds | finish_cmds | \
23066 postinstall_cmds | postuninstall_cmds | \
23067 old_postinstall_cmds | old_postuninstall_cmds | \
23068 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
23069 # Double-quote double-evaled strings.
23070 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23073 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23079 *'\$0 --fallback-echo"')
23080 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23086 cat <<__EOF__ >> "$cfgfile"
23087 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
23089 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23091 # Shell to use when invoking shell scripts.
23094 # Whether or not to build shared libraries.
23095 build_libtool_libs=$enable_shared
23097 # Whether or not to build static libraries.
23098 build_old_libs=$enable_static
23100 # Whether or not to add -lc for building shared libraries.
23101 build_libtool_need_lc=$archive_cmds_need_lc_F77
23103 # Whether or not to disallow shared libs when runtime libs are static
23104 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
23106 # Whether or not to optimize for fast installation.
23107 fast_install=$enable_fast_install
23110 host_alias=$host_alias
23114 # The build system.
23115 build_alias=$build_alias
23119 # An echo program that does not interpret backslashes.
23124 AR_FLAGS=$lt_AR_FLAGS
23129 # LTCC compiler flags.
23130 LTCFLAGS=$lt_LTCFLAGS
23132 # A language-specific compiler.
23133 CC=$lt_compiler_F77
23135 # Is the compiler the GNU C compiler?
23141 # The linker used to build libraries.
23144 # Whether we need hard or soft links.
23147 # A BSD-compatible nm program.
23150 # A symbol stripping program
23153 # Used to examine libraries when file_magic_cmd begins "file"
23154 MAGIC_CMD=$MAGIC_CMD
23156 # Used on cygwin: DLL creation program.
23159 # Used on cygwin: object dumper.
23162 # Used on cygwin: assembler.
23165 # The name of the directory that contains temporary libtool files.
23168 # How to create reloadable object files.
23169 reload_flag=$lt_reload_flag
23170 reload_cmds=$lt_reload_cmds
23172 # How to pass a linker flag through the compiler.
23173 wl=$lt_lt_prog_compiler_wl_F77
23175 # Object file suffix (normally "o").
23176 objext="$ac_objext"
23178 # Old archive suffix (normally "a").
23181 # Shared library suffix (normally ".so").
23182 shrext_cmds='$shrext_cmds'
23184 # Executable file suffix (normally "").
23187 # Additional compiler flags for building library objects.
23188 pic_flag=$lt_lt_prog_compiler_pic_F77
23191 # What is the maximum length of a command?
23192 max_cmd_len=$lt_cv_sys_max_cmd_len
23194 # Does compiler simultaneously support -c and -o options?
23195 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
23197 # Must we lock files when doing compilation?
23198 need_locks=$lt_need_locks
23200 # Do we need the lib prefix for modules?
23201 need_lib_prefix=$need_lib_prefix
23203 # Do we need a version for libraries?
23204 need_version=$need_version
23206 # Whether dlopen is supported.
23207 dlopen_support=$enable_dlopen
23209 # Whether dlopen of programs is supported.
23210 dlopen_self=$enable_dlopen_self
23212 # Whether dlopen of statically linked programs is supported.
23213 dlopen_self_static=$enable_dlopen_self_static
23215 # Compiler flag to prevent dynamic linking.
23216 link_static_flag=$lt_lt_prog_compiler_static_F77
23218 # Compiler flag to turn off builtin functions.
23219 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
23221 # Compiler flag to allow reflexive dlopens.
23222 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
23224 # Compiler flag to generate shared objects directly from archives.
23225 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
23227 # Compiler flag to generate thread-safe objects.
23228 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
23230 # Library versioning type.
23231 version_type=$version_type
23233 # Format of library name prefix.
23234 libname_spec=$lt_libname_spec
23236 # List of archive names. First name is the real one, the rest are links.
23237 # The last name is the one that the linker finds with -lNAME.
23238 library_names_spec=$lt_library_names_spec
23240 # The coded name of the library, if different from the real name.
23241 soname_spec=$lt_soname_spec
23243 # Commands used to build and install an old-style archive.
23245 old_archive_cmds=$lt_old_archive_cmds_F77
23246 old_postinstall_cmds=$lt_old_postinstall_cmds
23247 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23249 # Create an old-style archive from a shared archive.
23250 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
23252 # Create a temporary old-style archive to link instead of a shared archive.
23253 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
23255 # Commands used to build and install a shared archive.
23256 archive_cmds=$lt_archive_cmds_F77
23257 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
23258 postinstall_cmds=$lt_postinstall_cmds
23259 postuninstall_cmds=$lt_postuninstall_cmds
23261 # Commands used to build a loadable module (assumed same as above if empty)
23262 module_cmds=$lt_module_cmds_F77
23263 module_expsym_cmds=$lt_module_expsym_cmds_F77
23265 # Commands to strip libraries.
23266 old_striplib=$lt_old_striplib
23267 striplib=$lt_striplib
23269 # Dependencies to place before the objects being linked to create a
23271 predep_objects=$lt_predep_objects_F77
23273 # Dependencies to place after the objects being linked to create a
23275 postdep_objects=$lt_postdep_objects_F77
23277 # Dependencies to place before the objects being linked to create a
23279 predeps=$lt_predeps_F77
23281 # Dependencies to place after the objects being linked to create a
23283 postdeps=$lt_postdeps_F77
23285 # The library search path used internally by the compiler when linking
23286 # a shared library.
23287 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
23289 # Method to check whether dependent libraries are shared objects.
23290 deplibs_check_method=$lt_deplibs_check_method
23292 # Command to use when deplibs_check_method == file_magic.
23293 file_magic_cmd=$lt_file_magic_cmd
23295 # Flag that allows shared libraries with undefined symbols to be built.
23296 allow_undefined_flag=$lt_allow_undefined_flag_F77
23298 # Flag that forces no undefined symbols.
23299 no_undefined_flag=$lt_no_undefined_flag_F77
23301 # Commands used to finish a libtool library installation in a directory.
23302 finish_cmds=$lt_finish_cmds
23304 # Same as above, but a single script fragment to be evaled but not shown.
23305 finish_eval=$lt_finish_eval
23307 # Take the output of nm and produce a listing of raw symbols and C names.
23308 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23310 # Transform the output of nm in a proper C declaration
23311 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23313 # Transform the output of nm in a C name address pair
23314 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23316 # This is the shared library runtime path variable.
23317 runpath_var=$runpath_var
23319 # This is the shared library path variable.
23320 shlibpath_var=$shlibpath_var
23322 # Is shlibpath searched before the hard-coded library search path?
23323 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23325 # How to hardcode a shared library path into an executable.
23326 hardcode_action=$hardcode_action_F77
23328 # Whether we should hardcode library paths into libraries.
23329 hardcode_into_libs=$hardcode_into_libs
23331 # Flag to hardcode \$libdir into a binary during linking.
23332 # This must work even if \$libdir does not exist.
23333 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
23335 # If ld is used when linking, flag to hardcode \$libdir into
23336 # a binary during linking. This must work even if \$libdir does
23338 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
23340 # Whether we need a single -rpath flag with a separated argument.
23341 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
23343 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23344 # resulting binary.
23345 hardcode_direct=$hardcode_direct_F77
23347 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
23348 # resulting binary.
23349 hardcode_minus_L=$hardcode_minus_L_F77
23351 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
23352 # the resulting binary.
23353 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
23355 # Set to yes if building a shared library automatically hardcodes DIR into the library
23356 # and all subsequent libraries and executables linked against it.
23357 hardcode_automatic=$hardcode_automatic_F77
23359 # Variables whose values should be saved in libtool wrapper scripts and
23360 # restored at relink time.
23361 variables_saved_for_relink="$variables_saved_for_relink"
23363 # Whether libtool must link a program against all its dependency libraries.
23364 link_all_deplibs=$link_all_deplibs_F77
23366 # Compile-time system search path for libraries
23367 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23369 # Run-time system search path for libraries
23370 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23372 # Fix the shell variable \$srcfile for the compiler.
23373 fix_srcfile_path="$fix_srcfile_path_F77"
23375 # Set to yes if exported symbols are required.
23376 always_export_symbols=$always_export_symbols_F77
23378 # The commands to list exported symbols.
23379 export_symbols_cmds=$lt_export_symbols_cmds_F77
23381 # The commands to extract the exported symbol list from a shared archive.
23382 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23384 # Symbols that should not be listed in the preloaded symbols.
23385 exclude_expsyms=$lt_exclude_expsyms_F77
23387 # Symbols that must always be exported.
23388 include_expsyms=$lt_include_expsyms_F77
23390 # ### END LIBTOOL TAG CONFIG: $tagname
23396 # If there is no Makefile yet, we rely on a make rule to execute
23397 # `config.status --recheck' to rerun these tests and create the
23398 # libtool script then.
23399 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
23400 if test -f "$ltmain_in"; then
23401 test -f Makefile
&& make "$ltmain"
23407 ac_cpp
='$CPP $CPPFLAGS'
23408 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23409 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23410 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23420 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
23422 ac_cpp
='$CPP $CPPFLAGS'
23423 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23424 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23425 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23428 # Source file extension for Java test sources.
23431 # Object file extension for compiled Java test sources.
23435 # Code to be used in simple compile tests
23436 lt_simple_compile_test_code
="class foo {}\n"
23438 # Code to be used in simple link tests
23439 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
23441 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
23443 # If no C compiler was specified, use CC.
23446 # If no C compiler flags were specified, use CFLAGS.
23447 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
23449 # Allow CC to be a program name with arguments.
23453 # save warnings/boilerplate of simple test code
23454 ac_outfile
=conftest.
$ac_objext
23455 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
23456 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
23457 _lt_compiler_boilerplate
=`cat conftest.err`
23460 ac_outfile
=conftest.
$ac_objext
23461 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
23462 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
23463 _lt_linker_boilerplate
=`cat conftest.err`
23467 # Allow CC to be a program name with arguments.
23472 for cc_temp
in $compiler""; do
23474 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
23475 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
23480 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23483 # GCJ did not exist at the time GCC didn't implicitly link libc in.
23484 archive_cmds_need_lc_GCJ
=no
23486 old_archive_cmds_GCJ
=$old_archive_cmds
23489 lt_prog_compiler_no_builtin_flag_GCJ
=
23491 if test "$GCC" = yes; then
23492 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
23495 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
23496 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
23497 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
23498 echo $ECHO_N "(cached) $ECHO_C" >&6
23500 lt_cv_prog_compiler_rtti_exceptions
=no
23501 ac_outfile
=conftest.
$ac_objext
23502 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
23503 lt_compiler_flag
="-fno-rtti -fno-exceptions"
23504 # Insert the option either (1) after the last *FLAGS variable, or
23505 # (2) before a word containing "conftest.", or (3) at the end.
23506 # Note that $ac_compile itself does not contain backslashes and begins
23507 # with a dollar sign (not a hyphen), so the echo should work correctly.
23508 # The option is referenced via a variable to avoid confusing sed.
23509 lt_compile
=`echo "$ac_compile" | $SED \
23510 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23511 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23512 -e 's:$: $lt_compiler_flag:'`
23513 (eval echo "\"\$as_me:23513: $lt_compile\"" >&5)
23514 (eval "$lt_compile" 2>conftest.err
)
23516 cat conftest.err
>&5
23517 echo "$as_me:23517: \$? = $ac_status" >&5
23518 if (exit $ac_status) && test -s "$ac_outfile"; then
23519 # The compiler can only warn and ignore the option if not recognized
23520 # So say no if there are warnings other than the usual output.
23521 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
23522 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
23523 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
23524 lt_cv_prog_compiler_rtti_exceptions
=yes
23530 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
23531 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
23533 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
23534 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
23541 lt_prog_compiler_wl_GCJ
=
23542 lt_prog_compiler_pic_GCJ
=
23543 lt_prog_compiler_static_GCJ
=
23545 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23546 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
23548 if test "$GCC" = yes; then
23549 lt_prog_compiler_wl_GCJ
='-Wl,'
23550 lt_prog_compiler_static_GCJ
='-static'
23554 # All AIX code is PIC.
23555 if test "$host_cpu" = ia64
; then
23556 # AIX 5 now supports IA64 processor
23557 lt_prog_compiler_static_GCJ
='-Bstatic'
23562 # FIXME: we need at least 68020 code to build shared libraries, but
23563 # adding the `-m68020' flag to GCC prevents building anything better,
23565 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
23568 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
23569 # PIC is the default for these OSes.
23572 mingw
* | pw32
* | os2
*)
23573 # This hack is so that the source file can tell whether it is being
23574 # built for inclusion in a dll (and should export symbols for example).
23575 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
23578 darwin
* | rhapsody
*)
23579 # PIC is the default on this platform
23580 # Common symbols not allowed in MH_DYLIB files
23581 lt_prog_compiler_pic_GCJ
='-fno-common'
23585 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
23586 # Instead, we relocate shared libraries at runtime.
23590 # Just because we use GCC doesn't mean we suddenly get shared libraries
23591 # on systems that don't support them.
23592 lt_prog_compiler_can_build_shared_GCJ
=no
23597 if test -d /usr
/nec
; then
23598 lt_prog_compiler_pic_GCJ
=-Kconform_pic
23603 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23604 # not for PA HP-UX.
23610 lt_prog_compiler_pic_GCJ
='-fPIC'
23616 lt_prog_compiler_pic_GCJ
='-fPIC'
23620 # PORTME Check for flag to pass linker flags through the system compiler.
23623 lt_prog_compiler_wl_GCJ
='-Wl,'
23624 if test "$host_cpu" = ia64
; then
23625 # AIX 5 now supports IA64 processor
23626 lt_prog_compiler_static_GCJ
='-Bstatic'
23628 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
23632 # PIC is the default on this platform
23633 # Common symbols not allowed in MH_DYLIB files
23634 case $cc_basename in
23636 lt_prog_compiler_pic_GCJ
='-qnocommon'
23637 lt_prog_compiler_wl_GCJ
='-Wl,'
23642 mingw
* | pw32
* | os2
*)
23643 # This hack is so that the source file can tell whether it is being
23644 # built for inclusion in a dll (and should export symbols for example).
23645 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
23648 hpux9
* | hpux10
* | hpux11
*)
23649 lt_prog_compiler_wl_GCJ
='-Wl,'
23650 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23651 # not for PA HP-UX.
23657 lt_prog_compiler_pic_GCJ
='+Z'
23660 # Is there a better lt_prog_compiler_static that works with the bundled CC?
23661 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
23664 irix5
* | irix6
* | nonstopux
*)
23665 lt_prog_compiler_wl_GCJ
='-Wl,'
23666 # PIC (with -KPIC) is the default.
23667 lt_prog_compiler_static_GCJ
='-non_shared'
23671 lt_prog_compiler_pic_GCJ
='-KPIC'
23672 lt_prog_compiler_static_GCJ
='-Bstatic'
23676 case $cc_basename in
23678 lt_prog_compiler_wl_GCJ
='-Wl,'
23679 lt_prog_compiler_pic_GCJ
='-KPIC'
23680 lt_prog_compiler_static_GCJ
='-static'
23682 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
23683 # Portland Group compilers (*not* the Pentium gcc compiler,
23684 # which looks to be a dead project)
23685 lt_prog_compiler_wl_GCJ
='-Wl,'
23686 lt_prog_compiler_pic_GCJ
='-fpic'
23687 lt_prog_compiler_static_GCJ
='-Bstatic'
23690 lt_prog_compiler_wl_GCJ
='-Wl,'
23691 # All Alpha code is PIC.
23692 lt_prog_compiler_static_GCJ
='-non_shared'
23697 osf3
* | osf4
* | osf5
*)
23698 lt_prog_compiler_wl_GCJ
='-Wl,'
23699 # All OSF/1 code is PIC.
23700 lt_prog_compiler_static_GCJ
='-non_shared'
23704 lt_prog_compiler_pic_GCJ
='-KPIC'
23705 lt_prog_compiler_static_GCJ
='-Bstatic'
23706 case $cc_basename in
23707 f77
* | f90
* | f95
*)
23708 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
23710 lt_prog_compiler_wl_GCJ
='-Wl,';;
23715 lt_prog_compiler_wl_GCJ
='-Qoption ld '
23716 lt_prog_compiler_pic_GCJ
='-PIC'
23717 lt_prog_compiler_static_GCJ
='-Bstatic'
23720 sysv4 | sysv4.2uw2
* | sysv4.3
*)
23721 lt_prog_compiler_wl_GCJ
='-Wl,'
23722 lt_prog_compiler_pic_GCJ
='-KPIC'
23723 lt_prog_compiler_static_GCJ
='-Bstatic'
23727 if test -d /usr
/nec
;then
23728 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
23729 lt_prog_compiler_static_GCJ
='-Bstatic'
23733 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
23734 lt_prog_compiler_wl_GCJ
='-Wl,'
23735 lt_prog_compiler_pic_GCJ
='-KPIC'
23736 lt_prog_compiler_static_GCJ
='-Bstatic'
23740 lt_prog_compiler_wl_GCJ
='-Wl,'
23741 lt_prog_compiler_can_build_shared_GCJ
=no
23745 lt_prog_compiler_pic_GCJ
='-pic'
23746 lt_prog_compiler_static_GCJ
='-Bstatic'
23750 lt_prog_compiler_can_build_shared_GCJ
=no
23755 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
23756 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
23759 # Check to make sure the PIC flag actually works.
23761 if test -n "$lt_prog_compiler_pic_GCJ"; then
23763 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
23764 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
23765 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
23766 echo $ECHO_N "(cached) $ECHO_C" >&6
23768 lt_prog_compiler_pic_works_GCJ
=no
23769 ac_outfile
=conftest.
$ac_objext
23770 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
23771 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
23772 # Insert the option either (1) after the last *FLAGS variable, or
23773 # (2) before a word containing "conftest.", or (3) at the end.
23774 # Note that $ac_compile itself does not contain backslashes and begins
23775 # with a dollar sign (not a hyphen), so the echo should work correctly.
23776 # The option is referenced via a variable to avoid confusing sed.
23777 lt_compile
=`echo "$ac_compile" | $SED \
23778 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23779 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23780 -e 's:$: $lt_compiler_flag:'`
23781 (eval echo "\"\$as_me:23781: $lt_compile\"" >&5)
23782 (eval "$lt_compile" 2>conftest.err
)
23784 cat conftest.err
>&5
23785 echo "$as_me:23785: \$? = $ac_status" >&5
23786 if (exit $ac_status) && test -s "$ac_outfile"; then
23787 # The compiler can only warn and ignore the option if not recognized
23788 # So say no if there are warnings other than the usual output.
23789 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
23790 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
23791 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
23792 lt_prog_compiler_pic_works_GCJ
=yes
23798 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
23799 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
23801 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
23802 case $lt_prog_compiler_pic_GCJ in
23804 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
23807 lt_prog_compiler_pic_GCJ
=
23808 lt_prog_compiler_can_build_shared_GCJ
=no
23813 # For platforms which do not support PIC, -DPIC is meaningless:
23815 lt_prog_compiler_pic_GCJ
=
23818 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
23823 # Check to make sure the static flag actually works.
23825 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
23826 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
23827 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
23828 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
23829 echo $ECHO_N "(cached) $ECHO_C" >&6
23831 lt_prog_compiler_static_works_GCJ
=no
23832 save_LDFLAGS
="$LDFLAGS"
23833 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
23834 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
23835 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
23836 # The linker can only warn and ignore the option if not recognized
23837 # So say no if there are warnings
23838 if test -s conftest.err
; then
23839 # Append any errors to the config.log.
23840 cat conftest.err
1>&5
23841 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
23842 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
23843 if diff conftest.exp conftest.er2
>/dev
/null
; then
23844 lt_prog_compiler_static_works_GCJ
=yes
23847 lt_prog_compiler_static_works_GCJ
=yes
23851 LDFLAGS
="$save_LDFLAGS"
23854 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
23855 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
23857 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
23860 lt_prog_compiler_static_GCJ
=
23864 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
23865 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
23866 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
23867 echo $ECHO_N "(cached) $ECHO_C" >&6
23869 lt_cv_prog_compiler_c_o_GCJ
=no
23870 $rm -r conftest
2>/dev
/null
23874 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
23876 lt_compiler_flag
="-o out/conftest2.$ac_objext"
23877 # Insert the option either (1) after the last *FLAGS variable, or
23878 # (2) before a word containing "conftest.", or (3) at the end.
23879 # Note that $ac_compile itself does not contain backslashes and begins
23880 # with a dollar sign (not a hyphen), so the echo should work correctly.
23881 lt_compile
=`echo "$ac_compile" | $SED \
23882 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23883 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23884 -e 's:$: $lt_compiler_flag:'`
23885 (eval echo "\"\$as_me:23885: $lt_compile\"" >&5)
23886 (eval "$lt_compile" 2>out
/conftest.err
)
23888 cat out
/conftest.err
>&5
23889 echo "$as_me:23889: \$? = $ac_status" >&5
23890 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
23892 # The compiler can only warn and ignore the option if not recognized
23893 # So say no if there are warnings
23894 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
23895 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
23896 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
23897 lt_cv_prog_compiler_c_o_GCJ
=yes
23902 # SGI C++ compiler will create directory out/ii_files/ for
23903 # template instantiation
23904 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
23905 $rm out
/* && rmdir out
23911 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
23912 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
23915 hard_links
="nottested"
23916 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
23917 # do not overwrite the value of need_locks provided by the user
23918 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
23919 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
23922 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
23924 ln conftest.a conftest.b
2>&5 || hard_links
=no
23925 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
23926 { echo "$as_me:$LINENO: result: $hard_links" >&5
23927 echo "${ECHO_T}$hard_links" >&6; }
23928 if test "$hard_links" = no
; then
23929 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
23930 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
23937 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
23938 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
23941 allow_undefined_flag_GCJ
=
23942 enable_shared_with_static_runtimes_GCJ
=no
23944 archive_expsym_cmds_GCJ
=
23945 old_archive_From_new_cmds_GCJ
=
23946 old_archive_from_expsyms_cmds_GCJ
=
23947 export_dynamic_flag_spec_GCJ
=
23948 whole_archive_flag_spec_GCJ
=
23949 thread_safe_flag_spec_GCJ
=
23950 hardcode_libdir_flag_spec_GCJ
=
23951 hardcode_libdir_flag_spec_ld_GCJ
=
23952 hardcode_libdir_separator_GCJ
=
23953 hardcode_direct_GCJ
=no
23954 hardcode_minus_L_GCJ
=no
23955 hardcode_shlibpath_var_GCJ
=unsupported
23956 link_all_deplibs_GCJ
=unknown
23957 hardcode_automatic_GCJ
=no
23959 module_expsym_cmds_GCJ
=
23960 always_export_symbols_GCJ
=no
23961 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
23962 # include_expsyms should be a list of space-separated symbols to be *always*
23963 # included in the symbol list
23964 include_expsyms_GCJ
=
23965 # exclude_expsyms can be an extended regexp of symbols to exclude
23966 # it will be wrapped by ` (' and `)$', so one must not match beginning or
23967 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
23968 # as well as any symbol that contains `d'.
23969 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
23970 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
23971 # platforms (ab)use it in PIC code, but their linkers get confused if
23972 # the symbol is explicitly referenced. Since portable code cannot
23973 # rely on this symbol name, it's probably fine to never include it in
23974 # preloaded symbol tables.
23975 extract_expsyms_cmds
=
23976 # Just being paranoid about ensuring that cc_basename is set.
23977 for cc_temp
in $compiler""; do
23979 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
23980 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
23985 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23988 cygwin
* | mingw
* | pw32
*)
23989 # FIXME: the MSVC++ port hasn't been tested in a loooong time
23990 # When not using gcc, we currently assume that we are using
23991 # Microsoft Visual C++.
23992 if test "$GCC" != yes; then
23997 # we just hope/assume this is gcc and not c89 (= MSVC++)
24006 if test "$with_gnu_ld" = yes; then
24007 # If archive_cmds runs LD, not CC, wlarc should be empty
24010 # Set some defaults for GNU ld with shared library support. These
24011 # are reset later if shared libraries are not supported. Putting them
24012 # here allows them to be overridden if necessary.
24013 runpath_var
=LD_RUN_PATH
24014 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
24015 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
24016 # ancient GNU ld didn't support --whole-archive et. al.
24017 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
24018 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24020 whole_archive_flag_spec_GCJ
=
24022 supports_anon_versioning
=no
24023 case `$LD -v 2>/dev/null` in
24024 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
24025 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
24026 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
24027 *\
2.11.
*) ;; # other 2.11 versions
24028 *) supports_anon_versioning
=yes ;;
24031 # See if GNU ld supports shared libraries.
24033 aix3
* | aix4
* | aix5
*)
24034 # On AIX/PPC, the GNU linker is very broken
24035 if test "$host_cpu" != ia64
; then
24039 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
24040 *** to be unable to reliably create shared libraries on AIX.
24041 *** Therefore, libtool is disabling shared libraries support. If you
24042 *** really care for shared libraries, you may want to modify your PATH
24043 *** so that a non-GNU linker is found, and then restart.
24050 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)'
24051 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24052 hardcode_minus_L_GCJ
=yes
24054 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
24055 # that the semantics of dynamic libraries on AmigaOS, at least up
24056 # to version 4, is to share data among multiple programs linked
24057 # with the same dynamic library. Since this doesn't match the
24058 # behavior of shared libraries on other platforms, we can't use
24064 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24065 allow_undefined_flag_GCJ
=unsupported
24066 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
24067 # support --undefined. This deserves some investigation. FIXME
24068 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24074 cygwin
* | mingw
* | pw32
*)
24075 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
24076 # as there is no search path for DLLs.
24077 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24078 allow_undefined_flag_GCJ
=unsupported
24079 always_export_symbols_GCJ
=no
24080 enable_shared_with_static_runtimes_GCJ
=yes
24081 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
24083 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
24084 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24085 # If the export-symbols file already is a .def file (1st line
24086 # is EXPORTS), use it as is; otherwise, prepend...
24087 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24088 cp $export_symbols $output_objdir/$soname.def;
24090 echo EXPORTS > $output_objdir/$soname.def;
24091 cat $export_symbols >> $output_objdir/$soname.def;
24093 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24100 hardcode_direct_GCJ
=no
24101 hardcode_shlibpath_var_GCJ
=no
24102 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24103 export_dynamic_flag_spec_GCJ
='${wl}-E'
24104 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
24105 # Instead, shared libraries are loaded at an image base (0x10000000 by
24106 # default) and relocated if they conflict, which is a slow very memory
24107 # consuming and fragmenting process. To avoid this, we pick a random,
24108 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
24109 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
24110 archive_cmds_GCJ
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
24111 archive_expsym_cmds_GCJ
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
24115 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24117 case $cc_basename,$host_cpu in
24118 pgcc
*) # Portland Group C compiler
24119 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
24120 tmp_addflag
=' $pic_flag'
24122 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
24123 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
24124 tmp_addflag
=' $pic_flag -Mnomain' ;;
24125 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
24126 tmp_addflag
=' -i_dynamic' ;;
24127 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
24128 tmp_addflag
=' -i_dynamic -nofor_main' ;;
24129 ifc
* | ifort
*) # Intel Fortran compiler
24130 tmp_addflag
=' -nofor_main' ;;
24132 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24134 if test $supports_anon_versioning = yes; then
24135 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
24136 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24137 $echo "local: *; };" >> $output_objdir/$libname.ver~
24138 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24146 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
24147 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
24150 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24151 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24156 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
24160 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
24161 *** create shared libraries on Solaris systems. Therefore, libtool
24162 *** is disabling shared libraries support. We urge you to upgrade GNU
24163 *** binutils to release 2.9.1 or newer. Another option is to modify
24164 *** your PATH or compiler configuration so that the native linker is
24165 *** used, and then restart.
24168 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24169 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24170 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24176 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
24177 case `$LD -v 2>&1` in
24178 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
24182 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
24183 *** reliably create shared libraries on SCO systems. Therefore, libtool
24184 *** is disabling shared libraries support. We urge you to upgrade GNU
24185 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
24186 *** your PATH or compiler configuration so that the native linker is
24187 *** used, and then restart.
24192 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24193 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
24194 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
24195 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
24204 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24206 hardcode_direct_GCJ
=yes
24207 hardcode_shlibpath_var_GCJ
=no
24211 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24212 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24213 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24220 if test "$ld_shlibs_GCJ" = no
; then
24222 hardcode_libdir_flag_spec_GCJ
=
24223 export_dynamic_flag_spec_GCJ
=
24224 whole_archive_flag_spec_GCJ
=
24227 # PORTME fill in a description of your system's linker (not GNU ld)
24230 allow_undefined_flag_GCJ
=unsupported
24231 always_export_symbols_GCJ
=yes
24232 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'
24233 # Note: this linker hardcodes the directories in LIBPATH if there
24234 # are no directories specified by -L.
24235 hardcode_minus_L_GCJ
=yes
24236 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
24237 # Neither direct hardcoding nor static linking is supported with a
24239 hardcode_direct_GCJ
=unsupported
24244 if test "$host_cpu" = ia64
; then
24245 # On IA64, the linker does run time linking by default, so we don't
24246 # have to do anything special.
24247 aix_use_runtimelinking
=no
24248 exp_sym_flag
='-Bexport'
24251 # If we're using GNU nm, then we don't want the "-C" option.
24252 # -C means demangle to AIX nm, but means don't demangle with GNU nm
24253 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
24254 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'
24256 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'
24258 aix_use_runtimelinking
=no
24260 # Test if we are trying to use run time linking or normal
24261 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
24262 # need to do runtime linking.
24263 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
24264 for ld_flag
in $LDFLAGS; do
24265 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
24266 aix_use_runtimelinking
=yes
24273 exp_sym_flag
='-bexport'
24274 no_entry_flag
='-bnoentry'
24277 # When large executables or shared objects are built, AIX ld can
24278 # have problems creating the table of contents. If linking a library
24279 # or program results in "error TOC overflow" add -mminimal-toc to
24280 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
24281 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
24283 archive_cmds_GCJ
=''
24284 hardcode_direct_GCJ
=yes
24285 hardcode_libdir_separator_GCJ
=':'
24286 link_all_deplibs_GCJ
=yes
24288 if test "$GCC" = yes; then
24289 case $host_os in aix4.
[012]|aix4.
[012].
*)
24290 # We only want to do this on AIX 4.2 and lower, the check
24291 # below for broken collect2 doesn't work under 4.3+
24292 collect2name
=`${CC} -print-prog-name=collect2`
24293 if test -f "$collect2name" && \
24294 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
24296 # We have reworked collect2
24297 hardcode_direct_GCJ
=yes
24299 # We have old collect2
24300 hardcode_direct_GCJ
=unsupported
24301 # It fails to find uninstalled libraries when the uninstalled
24302 # path is not listed in the libpath. Setting hardcode_minus_L
24303 # to unsupported forces relinking
24304 hardcode_minus_L_GCJ
=yes
24305 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24306 hardcode_libdir_separator_GCJ
=
24310 shared_flag
='-shared'
24311 if test "$aix_use_runtimelinking" = yes; then
24312 shared_flag
="$shared_flag "'${wl}-G'
24316 if test "$host_cpu" = ia64
; then
24317 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
24318 # chokes on -Wl,-G. The following line is correct:
24321 if test "$aix_use_runtimelinking" = yes; then
24322 shared_flag
='${wl}-G'
24324 shared_flag
='${wl}-bM:SRE'
24329 # It seems that -bexpall does not export symbols beginning with
24330 # underscore (_), so it is better to generate a list of symbols to export.
24331 always_export_symbols_GCJ
=yes
24332 if test "$aix_use_runtimelinking" = yes; then
24333 # Warning - without using the other runtime loading flags (-brtl),
24334 # -berok will link without error, but may produce a broken library.
24335 allow_undefined_flag_GCJ
='-berok'
24336 # Determine the default libpath from the value encoded in an empty executable.
24337 cat >conftest.
$ac_ext <<_ACEOF
24340 cat confdefs.h
>>conftest.
$ac_ext
24341 cat >>conftest.
$ac_ext <<_ACEOF
24342 /* end confdefs.h. */
24352 rm -f conftest.
$ac_objext conftest
$ac_exeext
24353 if { (ac_try
="$ac_link"
24354 case "(($ac_try" in
24355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24356 *) ac_try_echo=$ac_try;;
24358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24359 (eval "$ac_link") 2>conftest.er1
24361 grep -v '^ *+' conftest.er1 >conftest.err
24363 cat conftest.err >&5
24364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24365 (exit $ac_status); } &&
24366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24367 { (case "(($ac_try" in
24368 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24369 *) ac_try_echo
=$ac_try;;
24371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24372 (eval "$ac_try") 2>&5
24374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24375 (exit $ac_status); }; } &&
24376 { ac_try
='test -s conftest$ac_exeext'
24377 { (case "(($ac_try" in
24378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24379 *) ac_try_echo=$ac_try;;
24381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24382 (eval "$ac_try") 2>&5
24384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24385 (exit $ac_status); }; }; then
24387 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24389 # Check for a 64-bit object if we didn't find anything.
24390 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; }
24393 echo "$as_me: failed program was:" >&5
24394 sed 's/^/| /' conftest.$ac_ext >&5
24399 rm -f core conftest.err conftest.$ac_objext \
24400 conftest$ac_exeext conftest.$ac_ext
24401 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24403 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24404 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
24406 if test "$host_cpu" = ia64; then
24407 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
24408 allow_undefined_flag_GCJ="-z nodefs"
24409 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
24411 # Determine the default libpath from the value encoded in an empty executable.
24412 cat >conftest.$ac_ext <<_ACEOF
24415 cat confdefs.h >>conftest.$ac_ext
24416 cat >>conftest.$ac_ext <<_ACEOF
24417 /* end confdefs.h. */
24427 rm -f conftest.$ac_objext conftest$ac_exeext
24428 if { (ac_try="$ac_link"
24429 case "(($ac_try" in
24430 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24431 *) ac_try_echo
=$ac_try;;
24433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24434 (eval "$ac_link") 2>conftest.er1
24436 grep -v '^ *+' conftest.er1
>conftest.err
24438 cat conftest.err
>&5
24439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); } &&
24441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24442 { (case "(($ac_try" in
24443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24444 *) ac_try_echo=$ac_try;;
24446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24447 (eval "$ac_try") 2>&5
24449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24450 (exit $ac_status); }; } &&
24451 { ac_try='test -s conftest$ac_exeext'
24452 { (case "(($ac_try" in
24453 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24454 *) ac_try_echo
=$ac_try;;
24456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24457 (eval "$ac_try") 2>&5
24459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24460 (exit $ac_status); }; }; then
24462 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24464 # Check for a 64-bit object if we didn't find anything.
24465 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; }
24468 echo "$as_me: failed program was:" >&5
24469 sed 's/^/| /' conftest.
$ac_ext >&5
24474 rm -f core conftest.err conftest.
$ac_objext \
24475 conftest
$ac_exeext conftest.
$ac_ext
24476 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
24478 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
24479 # Warning - without using the other run time loading flags,
24480 # -berok will link without error, but may produce a broken library.
24481 no_undefined_flag_GCJ
=' ${wl}-bernotok'
24482 allow_undefined_flag_GCJ
=' ${wl}-berok'
24483 # Exported symbols can be pulled into shared objects from archives
24484 whole_archive_flag_spec_GCJ
='$convenience'
24485 archive_cmds_need_lc_GCJ
=yes
24486 # This is similar to how AIX traditionally builds its shared libraries.
24487 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
24493 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)'
24494 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24495 hardcode_minus_L_GCJ
=yes
24496 # see comment about different semantics on the GNU ld section
24501 export_dynamic_flag_spec_GCJ
=-rdynamic
24504 cygwin
* | mingw
* | pw32
*)
24505 # When not using gcc, we currently assume that we are using
24506 # Microsoft Visual C++.
24507 # hardcode_libdir_flag_spec is actually meaningless, as there is
24508 # no search path for DLLs.
24509 hardcode_libdir_flag_spec_GCJ
=' '
24510 allow_undefined_flag_GCJ
=unsupported
24511 # Tell ltmain to make .lib files, not .a files.
24513 # Tell ltmain to make .dll files, not .so files.
24515 # FIXME: Setting linknames here is a bad hack.
24516 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
24517 # The linker will automatically build a .lib file if we build a DLL.
24518 old_archive_From_new_cmds_GCJ
='true'
24519 # FIXME: Should let the user specify the lib program.
24520 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
24521 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
24522 enable_shared_with_static_runtimes_GCJ
=yes
24525 darwin
* | rhapsody
*)
24527 rhapsody
* | darwin1.
[012])
24528 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
24531 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
24532 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24534 case ${MACOSX_DEPLOYMENT_TARGET} in
24536 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24539 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
24545 archive_cmds_need_lc_GCJ
=no
24546 hardcode_direct_GCJ
=no
24547 hardcode_automatic_GCJ
=yes
24548 hardcode_shlibpath_var_GCJ
=unsupported
24549 whole_archive_flag_spec_GCJ
=''
24550 link_all_deplibs_GCJ
=yes
24551 if test "$GCC" = yes ; then
24552 output_verbose_link_cmd
='echo'
24553 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
24554 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24555 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24556 archive_expsym_cmds_GCJ
='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}'
24557 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}'
24559 case $cc_basename in
24561 output_verbose_link_cmd
='echo'
24562 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
24563 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24564 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24565 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24566 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}'
24576 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24577 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24578 hardcode_shlibpath_var_GCJ
=no
24585 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
24586 # support. Future versions do this automatically, but an explicit c++rt0.o
24587 # does not break anything, and helps significantly (at the cost of a little
24590 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
24591 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24592 hardcode_direct_GCJ
=yes
24593 hardcode_shlibpath_var_GCJ
=no
24596 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
24598 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24599 hardcode_direct_GCJ
=yes
24600 hardcode_minus_L_GCJ
=yes
24601 hardcode_shlibpath_var_GCJ
=no
24604 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
24605 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
24606 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
24607 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24608 hardcode_direct_GCJ
=yes
24609 hardcode_shlibpath_var_GCJ
=no
24613 if test "$GCC" = yes; then
24614 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'
24616 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'
24618 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24619 hardcode_libdir_separator_GCJ
=:
24620 hardcode_direct_GCJ
=yes
24622 # hardcode_minus_L: Not really in the search PATH,
24623 # but as the default location of the library.
24624 hardcode_minus_L_GCJ
=yes
24625 export_dynamic_flag_spec_GCJ
='${wl}-E'
24629 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
24630 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24632 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
24634 if test "$with_gnu_ld" = no
; then
24635 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24636 hardcode_libdir_separator_GCJ
=:
24638 hardcode_direct_GCJ
=yes
24639 export_dynamic_flag_spec_GCJ
='${wl}-E'
24641 # hardcode_minus_L: Not really in the search PATH,
24642 # but as the default location of the library.
24643 hardcode_minus_L_GCJ
=yes
24648 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
24651 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24654 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24657 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24663 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24666 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24669 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24673 if test "$with_gnu_ld" = no
; then
24674 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24675 hardcode_libdir_separator_GCJ
=:
24679 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
24680 hardcode_direct_GCJ
=no
24681 hardcode_shlibpath_var_GCJ
=no
24684 hardcode_direct_GCJ
=yes
24685 export_dynamic_flag_spec_GCJ
='${wl}-E'
24687 # hardcode_minus_L: Not really in the search PATH,
24688 # but as the default location of the library.
24689 hardcode_minus_L_GCJ
=yes
24695 irix5
* | irix6
* | nonstopux
*)
24696 if test "$GCC" = yes; then
24697 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'
24699 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'
24700 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
24702 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24703 hardcode_libdir_separator_GCJ
=:
24704 link_all_deplibs_GCJ
=yes
24708 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
24709 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
24711 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
24713 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24714 hardcode_direct_GCJ
=yes
24715 hardcode_shlibpath_var_GCJ
=no
24719 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24720 hardcode_direct_GCJ
=yes
24721 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24722 hardcode_libdir_separator_GCJ
=:
24723 hardcode_shlibpath_var_GCJ
=no
24727 hardcode_direct_GCJ
=yes
24728 hardcode_shlibpath_var_GCJ
=no
24729 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24730 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24731 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
24732 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24733 export_dynamic_flag_spec_GCJ
='${wl}-E'
24736 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
24737 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24738 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24741 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24742 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24749 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24750 hardcode_minus_L_GCJ
=yes
24751 allow_undefined_flag_GCJ
=unsupported
24752 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'
24753 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
24757 if test "$GCC" = yes; then
24758 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
24759 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'
24761 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
24762 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'
24764 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24765 hardcode_libdir_separator_GCJ
=:
24768 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
24769 if test "$GCC" = yes; then
24770 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
24771 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'
24772 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24774 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
24775 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'
24776 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~
24777 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
24779 # Both c and cxx compiler support -rpath directly
24780 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
24782 hardcode_libdir_separator_GCJ
=:
24786 no_undefined_flag_GCJ
=' -z text'
24787 if test "$GCC" = yes; then
24789 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24790 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24791 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
24794 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
24795 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24796 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
24798 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24799 hardcode_shlibpath_var_GCJ
=no
24801 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
24803 # The compiler driver will combine linker options so we
24804 # cannot just pass the convience library names through
24805 # without $wl, iff we do not link with $LD.
24806 # Luckily, gcc supports the same syntax we need for Sun Studio.
24807 # Supported since Solaris 2.6 (maybe 2.5.1?)
24810 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
24812 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
24815 link_all_deplibs_GCJ
=yes
24819 if test "x$host_vendor" = xsequent
; then
24820 # Use $CC to link under sequent, because it throws in some extra .o
24821 # files that make .init and .fini sections work.
24822 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
24824 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
24826 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24827 hardcode_direct_GCJ
=yes
24828 hardcode_minus_L_GCJ
=yes
24829 hardcode_shlibpath_var_GCJ
=no
24833 case $host_vendor in
24835 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24836 hardcode_direct_GCJ
=yes # is this really true???
24839 ## LD is ld it makes a PLAMLIB
24840 ## CC just makes a GrossModule.
24841 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
24842 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
24843 hardcode_direct_GCJ
=no
24846 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24847 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
24850 runpath_var
='LD_RUN_PATH'
24851 hardcode_shlibpath_var_GCJ
=no
24855 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24856 hardcode_shlibpath_var_GCJ
=no
24857 export_dynamic_flag_spec_GCJ
='-Bexport'
24861 if test -d /usr
/nec
; then
24862 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24863 hardcode_shlibpath_var_GCJ
=no
24864 runpath_var
=LD_RUN_PATH
24865 hardcode_runpath_var
=yes
24870 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
24871 no_undefined_flag_GCJ
='${wl}-z,text'
24872 archive_cmds_need_lc_GCJ
=no
24873 hardcode_shlibpath_var_GCJ
=no
24874 runpath_var
='LD_RUN_PATH'
24876 if test "$GCC" = yes; then
24877 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24878 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24880 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24881 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24885 sysv5
* | sco3.2v5
* | sco5v6
*)
24886 # Note: We can NOT use -z defs as we might desire, because we do not
24887 # link with -lc, and that would cause any symbols used from libc to
24888 # always be unresolved, which means just about no library would
24889 # ever link correctly. If we're not using GNU ld we use -z text
24890 # though, which does catch some bad symbols but isn't as heavy-handed
24892 no_undefined_flag_GCJ
='${wl}-z,text'
24893 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
24894 archive_cmds_need_lc_GCJ
=no
24895 hardcode_shlibpath_var_GCJ
=no
24896 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
24897 hardcode_libdir_separator_GCJ
=':'
24898 link_all_deplibs_GCJ
=yes
24899 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
24900 runpath_var
='LD_RUN_PATH'
24902 if test "$GCC" = yes; then
24903 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24904 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24906 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24907 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24912 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24913 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24914 hardcode_shlibpath_var_GCJ
=no
24923 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
24924 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
24925 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
24928 # Do we need to explicitly link libc?
24930 case "x$archive_cmds_need_lc_GCJ" in
24932 # Assume -lc should be added
24933 archive_cmds_need_lc_GCJ
=yes
24935 if test "$enable_shared" = yes && test "$GCC" = yes; then
24936 case $archive_cmds_GCJ in
24938 # FIXME: we may have to deal with multi-command sequences.
24941 # Test whether the compiler implicitly links with -lc since on some
24942 # systems, -lgcc has to come before -lc. If gcc already passes -lc
24943 # to ld, don't add -lc before -lgcc.
24944 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
24945 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
24947 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
24949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24950 (eval $ac_compile) 2>&5
24952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24953 (exit $ac_status); } 2>conftest.err
; then
24956 libobjs
=conftest.
$ac_objext
24958 wl
=$lt_prog_compiler_wl_GCJ
24959 pic_flag
=$lt_prog_compiler_pic_GCJ
24965 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
24966 allow_undefined_flag_GCJ
=
24967 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
24968 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
24970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24971 (exit $ac_status); }
24973 archive_cmds_need_lc_GCJ
=no
24975 archive_cmds_need_lc_GCJ
=yes
24977 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
24979 cat conftest.err
1>&5
24982 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
24983 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
24990 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
24991 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
24992 library_names_spec
=
24993 libname_spec
='lib$name'
24997 postuninstall_cmds
=
25001 shlibpath_overrides_runpath
=unknown
25003 dynamic_linker
="$host_os ld.so"
25004 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
25005 if test "$GCC" = yes; then
25006 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25007 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
25008 # if the path contains ";" then we assume it to be the separator
25009 # otherwise default to the standard path separator (i.e. ":") - it is
25010 # assumed that no part of a normal pathname contains ";" but that should
25011 # okay in the real world where ";" in dirpaths is itself problematic.
25012 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25014 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25017 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
25019 need_lib_prefix
=unknown
25020 hardcode_into_libs
=no
25022 # when you set need_version to no, make sure it does not cause -set_version
25023 # flags to be left without arguments
25024 need_version
=unknown
25029 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
25030 shlibpath_var
=LIBPATH
25032 # AIX 3 has no versioning support, so we append a major version to the name.
25033 soname_spec
='${libname}${release}${shared_ext}$major'
25040 hardcode_into_libs
=yes
25041 if test "$host_cpu" = ia64
; then
25042 # AIX 5 supports IA64
25043 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25044 shlibpath_var
=LD_LIBRARY_PATH
25046 # With GCC up to 2.95.x, collect2 would create an import file
25047 # for dependence libraries. The import file would start with
25048 # the line `#! .'. This would cause the generated library to
25049 # depend on `.', always an invalid library. This was fixed in
25050 # development snapshots of GCC prior to 3.0.
25052 aix4 | aix4.
[01] | aix4.
[01].
*)
25053 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25055 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
25058 can_build_shared
=no
25062 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25063 # soname into executable. Probably we can add versioning support to
25064 # collect2, so additional links can be useful in future.
25065 if test "$aix_use_runtimelinking" = yes; then
25066 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
25067 # instead of lib<name>.a to let people know that these are not
25068 # typical AIX shared libraries.
25069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25071 # We preserve .a as extension for shared libraries through AIX4.2
25072 # and later when we are not doing run time linking.
25073 library_names_spec
='${libname}${release}.a $libname.a'
25074 soname_spec
='${libname}${release}${shared_ext}$major'
25076 shlibpath_var
=LIBPATH
25081 library_names_spec
='$libname.ixlibrary $libname.a'
25082 # Create ${libname}_ixlibrary.a entries in /sys/libs.
25083 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'
25087 library_names_spec
='${libname}${shared_ext}'
25088 dynamic_linker
="$host_os ld.so"
25089 shlibpath_var
=LIBRARY_PATH
25095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25096 soname_spec
='${libname}${release}${shared_ext}$major'
25097 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
25098 shlibpath_var
=LD_LIBRARY_PATH
25099 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25100 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
25101 # the default ld.so.conf also contains /usr/contrib/lib and
25102 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
25103 # libtool to hard-code these into programs
25106 cygwin
* | mingw
* | pw32
*)
25107 version_type
=windows
25112 case $GCC,$host_os in
25113 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
25114 library_names_spec
='$libname.dll.a'
25115 # DLL is installed to $(libdir)/../bin by postinstall_cmds
25116 postinstall_cmds
='base_file=`basename \${file}`~
25117 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
25118 dldir=$destdir/`dirname \$dlpath`~
25119 test -d \$dldir || mkdir -p \$dldir~
25120 $install_prog $dir/$dlname \$dldir/$dlname~
25121 chmod a+x \$dldir/$dlname'
25122 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
25123 dlpath=$dir/\$dldll~
25125 shlibpath_overrides_runpath
=yes
25129 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
25130 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25131 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
25134 # MinGW DLLs use traditional 'lib' prefix
25135 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25136 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25137 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
25138 # It is most probably a Windows format PATH printed by
25139 # mingw gcc, but we are running on Cygwin. Gcc prints its search
25140 # path with ; separators, and with drive letters. We can handle the
25141 # drive letters (cygwin fileutils understands them), so leave them,
25142 # especially as we might pass files found there to a mingw objdump,
25143 # which wouldn't understand a cygwinified path. Ahh.
25144 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25146 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25150 # pw32 DLLs use 'pw' prefix rather than 'lib'
25151 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25157 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
25160 dynamic_linker
='Win32 ld.exe'
25161 # FIXME: first we should search . and the directory the executable is in
25165 darwin
* | rhapsody
*)
25166 dynamic_linker
="$host_os dyld"
25167 version_type
=darwin
25170 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
25171 soname_spec
='${libname}${release}${major}$shared_ext'
25172 shlibpath_overrides_runpath
=yes
25173 shlibpath_var
=DYLD_LIBRARY_PATH
25174 shrext_cmds
='.dylib'
25175 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
25176 if test "$GCC" = yes; then
25177 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"`
25179 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
25181 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
25188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
25189 soname_spec
='${libname}${release}${shared_ext}$major'
25190 shlibpath_var
=LD_LIBRARY_PATH
25201 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25202 soname_spec
='${libname}${release}${shared_ext}$major'
25203 shlibpath_var
=LD_LIBRARY_PATH
25204 shlibpath_overrides_runpath
=no
25205 hardcode_into_libs
=yes
25206 dynamic_linker
='GNU ld.so'
25209 freebsd
* | dragonfly
*)
25210 # DragonFly does not have aout. When/if they implement a new
25211 # versioning mechanism, adjust this.
25212 if test -x /usr
/bin
/objformat
; then
25213 objformat
=`/usr/bin/objformat`
25216 freebsd
[123]*) objformat
=aout
;;
25217 *) objformat
=elf
;;
25220 version_type
=freebsd-
$objformat
25221 case $version_type in
25223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25228 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
25232 shlibpath_var
=LD_LIBRARY_PATH
25235 shlibpath_overrides_runpath
=yes
25237 freebsd3.
[01]* | freebsdelf3.
[01]*)
25238 shlibpath_overrides_runpath
=yes
25239 hardcode_into_libs
=yes
25241 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
25242 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
25243 shlibpath_overrides_runpath
=no
25244 hardcode_into_libs
=yes
25246 freebsd
*) # from 4.6 on
25247 shlibpath_overrides_runpath
=yes
25248 hardcode_into_libs
=yes
25257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
25258 soname_spec
='${libname}${release}${shared_ext}$major'
25259 shlibpath_var
=LD_LIBRARY_PATH
25260 hardcode_into_libs
=yes
25263 hpux9
* | hpux10
* | hpux11
*)
25264 # Give a soname corresponding to the major version so that dld.sl refuses to
25265 # link against other versions.
25272 hardcode_into_libs
=yes
25273 dynamic_linker
="$host_os dld.so"
25274 shlibpath_var
=LD_LIBRARY_PATH
25275 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
25276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25277 soname_spec
='${libname}${release}${shared_ext}$major'
25278 if test "X$HPUX_IA64_MODE" = X32
; then
25279 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
25281 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
25283 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
25287 hardcode_into_libs
=yes
25288 dynamic_linker
="$host_os dld.sl"
25289 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
25290 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
25291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25292 soname_spec
='${libname}${release}${shared_ext}$major'
25293 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
25294 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
25298 dynamic_linker
="$host_os dld.sl"
25299 shlibpath_var
=SHLIB_PATH
25300 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
25301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25302 soname_spec
='${libname}${release}${shared_ext}$major'
25305 # HP-UX runs *really* slowly unless shared libraries are mode 555.
25306 postinstall_cmds
='chmod 555 $lib'
25313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25314 soname_spec
='${libname}${release}${shared_ext}$major'
25315 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
25316 shlibpath_var
=LD_LIBRARY_PATH
25317 shlibpath_overrides_runpath
=no
25318 hardcode_into_libs
=yes
25321 irix5
* | irix6
* | nonstopux
*)
25323 nonstopux
*) version_type
=nonstopux
;;
25325 if test "$lt_cv_prog_gnu_ld" = yes; then
25333 soname_spec
='${libname}${release}${shared_ext}$major'
25334 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
25336 irix5
* | nonstopux
*)
25337 libsuff
= shlibsuff
=
25340 case $LD in # libtool.m4 will add one of these switches to LD
25341 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
25342 libsuff
= shlibsuff
= libmagic
=32-bit;;
25343 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
25344 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
25345 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
25346 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
25347 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
25351 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
25352 shlibpath_overrides_runpath
=no
25353 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
25354 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
25355 hardcode_into_libs
=yes
25358 # No shared lib support for Linux oldld, aout, or coff.
25359 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
25363 # This must be Linux ELF.
25368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25369 soname_spec
='${libname}${release}${shared_ext}$major'
25370 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
25371 shlibpath_var
=LD_LIBRARY_PATH
25372 shlibpath_overrides_runpath
=no
25373 # This implies no fast_install, which is unacceptable.
25374 # Some rework will be needed to allow for fast_install
25375 # before this can be enabled.
25376 hardcode_into_libs
=yes
25378 # Append ld.so.conf contents to the search path
25379 if test -f /etc
/ld.so.conf
; then
25380 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
25381 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
25384 # We used to test for /lib/ld.so.1 and disable shared libraries on
25385 # powerpc, because MkLinux only supported shared libraries with the
25386 # GNU dynamic linker. Since this was broken with cross compilers,
25387 # most powerpc-linux boxes support dynamic linking these days and
25388 # people can always --disable-shared, the test was removed, and we
25389 # assume the GNU/Linux dynamic linker is in use.
25390 dynamic_linker
='GNU/Linux ld.so'
25397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25398 soname_spec
='${libname}${release}${shared_ext}$major'
25399 shlibpath_var
=LD_LIBRARY_PATH
25400 shlibpath_overrides_runpath
=no
25401 hardcode_into_libs
=yes
25402 dynamic_linker
='GNU ld.so'
25409 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
25410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25411 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25412 dynamic_linker
='NetBSD (a.out) ld.so'
25414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25415 soname_spec
='${libname}${release}${shared_ext}$major'
25416 dynamic_linker
='NetBSD ld.elf_so'
25418 shlibpath_var
=LD_LIBRARY_PATH
25419 shlibpath_overrides_runpath
=yes
25420 hardcode_into_libs
=yes
25425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25426 shlibpath_var
=LD_LIBRARY_PATH
25427 shlibpath_overrides_runpath
=yes
25434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25435 soname_spec
='${libname}${release}${shared_ext}$major'
25436 shlibpath_var
=LD_LIBRARY_PATH
25437 shlibpath_overrides_runpath
=yes
25442 sys_lib_dlsearch_path_spec
="/usr/lib"
25444 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
25446 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
25447 *) need_version
=no
;;
25449 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25450 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25451 shlibpath_var
=LD_LIBRARY_PATH
25452 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25454 openbsd2.
[89] | openbsd2.
[89].
*)
25455 shlibpath_overrides_runpath
=no
25458 shlibpath_overrides_runpath
=yes
25462 shlibpath_overrides_runpath
=yes
25467 libname_spec
='$name'
25470 library_names_spec
='$libname${shared_ext} $libname.a'
25471 dynamic_linker
='OS/2 ld.exe'
25472 shlibpath_var
=LIBPATH
25475 osf3
* | osf4
* | osf5
*)
25479 soname_spec
='${libname}${release}${shared_ext}$major'
25480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25481 shlibpath_var
=LD_LIBRARY_PATH
25482 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
25483 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
25490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25491 soname_spec
='${libname}${release}${shared_ext}$major'
25492 shlibpath_var
=LD_LIBRARY_PATH
25493 shlibpath_overrides_runpath
=yes
25494 hardcode_into_libs
=yes
25495 # ldd complains unless libraries are executable
25496 postinstall_cmds
='chmod +x $lib'
25501 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25502 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
25503 shlibpath_var
=LD_LIBRARY_PATH
25504 shlibpath_overrides_runpath
=yes
25505 if test "$with_gnu_ld" = yes; then
25513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25514 soname_spec
='${libname}${release}${shared_ext}$major'
25515 shlibpath_var
=LD_LIBRARY_PATH
25516 case $host_vendor in
25518 shlibpath_overrides_runpath
=no
25520 export_dynamic_flag_spec
='${wl}-Blargedynsym'
25521 runpath_var
=LD_RUN_PATH
25529 shlibpath_overrides_runpath
=no
25530 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
25536 if test -d /usr
/nec
;then
25538 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
25539 soname_spec
='$libname${shared_ext}.$major'
25540 shlibpath_var
=LD_LIBRARY_PATH
25544 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
25545 version_type
=freebsd-elf
25548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25549 soname_spec
='${libname}${release}${shared_ext}$major'
25550 shlibpath_var
=LD_LIBRARY_PATH
25551 hardcode_into_libs
=yes
25552 if test "$with_gnu_ld" = yes; then
25553 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
25554 shlibpath_overrides_runpath
=no
25556 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
25557 shlibpath_overrides_runpath
=yes
25560 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
25564 sys_lib_dlsearch_path_spec
='/usr/lib'
25569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25570 soname_spec
='${libname}${release}${shared_ext}$major'
25571 shlibpath_var
=LD_LIBRARY_PATH
25578 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
25579 echo "${ECHO_T}$dynamic_linker" >&6; }
25580 test "$dynamic_linker" = no
&& can_build_shared
=no
25582 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
25583 if test "$GCC" = yes; then
25584 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
25587 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
25588 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
25589 hardcode_action_GCJ
=
25590 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
25591 test -n "$runpath_var_GCJ" || \
25592 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
25594 # We can hardcode non-existant directories.
25595 if test "$hardcode_direct_GCJ" != no
&&
25596 # If the only mechanism to avoid hardcoding is shlibpath_var, we
25597 # have to relink, otherwise we might link with an installed library
25598 # when we should be linking with a yet-to-be-installed one
25599 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
25600 test "$hardcode_minus_L_GCJ" != no
; then
25601 # Linking always hardcodes the temporary library directory.
25602 hardcode_action_GCJ
=relink
25604 # We can link without hardcoding, and we can hardcode nonexisting dirs.
25605 hardcode_action_GCJ
=immediate
25608 # We cannot hardcode anything, or else we can only hardcode existing
25610 hardcode_action_GCJ
=unsupported
25612 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
25613 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
25615 if test "$hardcode_action_GCJ" = relink
; then
25616 # Fast installation is not supported
25617 enable_fast_install
=no
25618 elif test "$shlibpath_overrides_runpath" = yes ||
25619 test "$enable_shared" = no
; then
25620 # Fast installation is not necessary
25621 enable_fast_install
=needless
25625 # The else clause should only fire when bootstrapping the
25626 # libtool distribution, otherwise you forgot to ship ltmain.sh
25627 # with your package, and you will get complaints that there are
25628 # no rules to generate ltmain.sh.
25629 if test -f "$ltmain"; then
25630 # See if we are running on zsh, and set the options which allow our commands through
25631 # without removal of \ escapes.
25632 if test -n "${ZSH_VERSION+set}" ; then
25633 setopt NO_GLOB_SUBST
25635 # Now quote all the things that may contain metacharacters while being
25636 # careful not to overquote the AC_SUBSTed values. We take copies of the
25637 # variables and quote the copies for generation of the libtool script.
25638 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
25640 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25641 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25642 deplibs_check_method reload_flag reload_cmds need_locks \
25643 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25644 lt_cv_sys_global_symbol_to_c_name_address \
25645 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25646 old_postinstall_cmds old_postuninstall_cmds \
25650 lt_prog_compiler_wl_GCJ \
25651 lt_prog_compiler_pic_GCJ \
25652 lt_prog_compiler_static_GCJ \
25653 lt_prog_compiler_no_builtin_flag_GCJ \
25654 export_dynamic_flag_spec_GCJ \
25655 thread_safe_flag_spec_GCJ \
25656 whole_archive_flag_spec_GCJ \
25657 enable_shared_with_static_runtimes_GCJ \
25658 old_archive_cmds_GCJ \
25659 old_archive_from_new_cmds_GCJ \
25660 predep_objects_GCJ \
25661 postdep_objects_GCJ \
25664 compiler_lib_search_path_GCJ \
25666 archive_expsym_cmds_GCJ \
25667 postinstall_cmds_GCJ \
25668 postuninstall_cmds_GCJ \
25669 old_archive_from_expsyms_cmds_GCJ \
25670 allow_undefined_flag_GCJ \
25671 no_undefined_flag_GCJ \
25672 export_symbols_cmds_GCJ \
25673 hardcode_libdir_flag_spec_GCJ \
25674 hardcode_libdir_flag_spec_ld_GCJ \
25675 hardcode_libdir_separator_GCJ \
25676 hardcode_automatic_GCJ \
25678 module_expsym_cmds_GCJ \
25679 lt_cv_prog_compiler_c_o_GCJ \
25680 exclude_expsyms_GCJ \
25681 include_expsyms_GCJ
; do
25684 old_archive_cmds_GCJ | \
25685 old_archive_from_new_cmds_GCJ | \
25686 archive_cmds_GCJ | \
25687 archive_expsym_cmds_GCJ | \
25688 module_cmds_GCJ | \
25689 module_expsym_cmds_GCJ | \
25690 old_archive_from_expsyms_cmds_GCJ | \
25691 export_symbols_cmds_GCJ | \
25692 extract_expsyms_cmds | reload_cmds | finish_cmds | \
25693 postinstall_cmds | postuninstall_cmds | \
25694 old_postinstall_cmds | old_postuninstall_cmds | \
25695 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
25696 # Double-quote double-evaled strings.
25697 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25700 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25706 *'\$0 --fallback-echo"')
25707 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25713 cat <<__EOF__ >> "$cfgfile"
25714 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
25716 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25718 # Shell to use when invoking shell scripts.
25721 # Whether or not to build shared libraries.
25722 build_libtool_libs=$enable_shared
25724 # Whether or not to build static libraries.
25725 build_old_libs=$enable_static
25727 # Whether or not to add -lc for building shared libraries.
25728 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
25730 # Whether or not to disallow shared libs when runtime libs are static
25731 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
25733 # Whether or not to optimize for fast installation.
25734 fast_install=$enable_fast_install
25737 host_alias=$host_alias
25741 # The build system.
25742 build_alias=$build_alias
25746 # An echo program that does not interpret backslashes.
25751 AR_FLAGS=$lt_AR_FLAGS
25756 # LTCC compiler flags.
25757 LTCFLAGS=$lt_LTCFLAGS
25759 # A language-specific compiler.
25760 CC=$lt_compiler_GCJ
25762 # Is the compiler the GNU C compiler?
25768 # The linker used to build libraries.
25771 # Whether we need hard or soft links.
25774 # A BSD-compatible nm program.
25777 # A symbol stripping program
25780 # Used to examine libraries when file_magic_cmd begins "file"
25781 MAGIC_CMD=$MAGIC_CMD
25783 # Used on cygwin: DLL creation program.
25786 # Used on cygwin: object dumper.
25789 # Used on cygwin: assembler.
25792 # The name of the directory that contains temporary libtool files.
25795 # How to create reloadable object files.
25796 reload_flag=$lt_reload_flag
25797 reload_cmds=$lt_reload_cmds
25799 # How to pass a linker flag through the compiler.
25800 wl=$lt_lt_prog_compiler_wl_GCJ
25802 # Object file suffix (normally "o").
25803 objext="$ac_objext"
25805 # Old archive suffix (normally "a").
25808 # Shared library suffix (normally ".so").
25809 shrext_cmds='$shrext_cmds'
25811 # Executable file suffix (normally "").
25814 # Additional compiler flags for building library objects.
25815 pic_flag=$lt_lt_prog_compiler_pic_GCJ
25818 # What is the maximum length of a command?
25819 max_cmd_len=$lt_cv_sys_max_cmd_len
25821 # Does compiler simultaneously support -c and -o options?
25822 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
25824 # Must we lock files when doing compilation?
25825 need_locks=$lt_need_locks
25827 # Do we need the lib prefix for modules?
25828 need_lib_prefix=$need_lib_prefix
25830 # Do we need a version for libraries?
25831 need_version=$need_version
25833 # Whether dlopen is supported.
25834 dlopen_support=$enable_dlopen
25836 # Whether dlopen of programs is supported.
25837 dlopen_self=$enable_dlopen_self
25839 # Whether dlopen of statically linked programs is supported.
25840 dlopen_self_static=$enable_dlopen_self_static
25842 # Compiler flag to prevent dynamic linking.
25843 link_static_flag=$lt_lt_prog_compiler_static_GCJ
25845 # Compiler flag to turn off builtin functions.
25846 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
25848 # Compiler flag to allow reflexive dlopens.
25849 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
25851 # Compiler flag to generate shared objects directly from archives.
25852 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
25854 # Compiler flag to generate thread-safe objects.
25855 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
25857 # Library versioning type.
25858 version_type=$version_type
25860 # Format of library name prefix.
25861 libname_spec=$lt_libname_spec
25863 # List of archive names. First name is the real one, the rest are links.
25864 # The last name is the one that the linker finds with -lNAME.
25865 library_names_spec=$lt_library_names_spec
25867 # The coded name of the library, if different from the real name.
25868 soname_spec=$lt_soname_spec
25870 # Commands used to build and install an old-style archive.
25872 old_archive_cmds=$lt_old_archive_cmds_GCJ
25873 old_postinstall_cmds=$lt_old_postinstall_cmds
25874 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25876 # Create an old-style archive from a shared archive.
25877 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
25879 # Create a temporary old-style archive to link instead of a shared archive.
25880 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
25882 # Commands used to build and install a shared archive.
25883 archive_cmds=$lt_archive_cmds_GCJ
25884 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
25885 postinstall_cmds=$lt_postinstall_cmds
25886 postuninstall_cmds=$lt_postuninstall_cmds
25888 # Commands used to build a loadable module (assumed same as above if empty)
25889 module_cmds=$lt_module_cmds_GCJ
25890 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
25892 # Commands to strip libraries.
25893 old_striplib=$lt_old_striplib
25894 striplib=$lt_striplib
25896 # Dependencies to place before the objects being linked to create a
25898 predep_objects=$lt_predep_objects_GCJ
25900 # Dependencies to place after the objects being linked to create a
25902 postdep_objects=$lt_postdep_objects_GCJ
25904 # Dependencies to place before the objects being linked to create a
25906 predeps=$lt_predeps_GCJ
25908 # Dependencies to place after the objects being linked to create a
25910 postdeps=$lt_postdeps_GCJ
25912 # The library search path used internally by the compiler when linking
25913 # a shared library.
25914 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
25916 # Method to check whether dependent libraries are shared objects.
25917 deplibs_check_method=$lt_deplibs_check_method
25919 # Command to use when deplibs_check_method == file_magic.
25920 file_magic_cmd=$lt_file_magic_cmd
25922 # Flag that allows shared libraries with undefined symbols to be built.
25923 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
25925 # Flag that forces no undefined symbols.
25926 no_undefined_flag=$lt_no_undefined_flag_GCJ
25928 # Commands used to finish a libtool library installation in a directory.
25929 finish_cmds=$lt_finish_cmds
25931 # Same as above, but a single script fragment to be evaled but not shown.
25932 finish_eval=$lt_finish_eval
25934 # Take the output of nm and produce a listing of raw symbols and C names.
25935 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25937 # Transform the output of nm in a proper C declaration
25938 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25940 # Transform the output of nm in a C name address pair
25941 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25943 # This is the shared library runtime path variable.
25944 runpath_var=$runpath_var
25946 # This is the shared library path variable.
25947 shlibpath_var=$shlibpath_var
25949 # Is shlibpath searched before the hard-coded library search path?
25950 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25952 # How to hardcode a shared library path into an executable.
25953 hardcode_action=$hardcode_action_GCJ
25955 # Whether we should hardcode library paths into libraries.
25956 hardcode_into_libs=$hardcode_into_libs
25958 # Flag to hardcode \$libdir into a binary during linking.
25959 # This must work even if \$libdir does not exist.
25960 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
25962 # If ld is used when linking, flag to hardcode \$libdir into
25963 # a binary during linking. This must work even if \$libdir does
25965 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
25967 # Whether we need a single -rpath flag with a separated argument.
25968 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
25970 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
25971 # resulting binary.
25972 hardcode_direct=$hardcode_direct_GCJ
25974 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
25975 # resulting binary.
25976 hardcode_minus_L=$hardcode_minus_L_GCJ
25978 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
25979 # the resulting binary.
25980 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
25982 # Set to yes if building a shared library automatically hardcodes DIR into the library
25983 # and all subsequent libraries and executables linked against it.
25984 hardcode_automatic=$hardcode_automatic_GCJ
25986 # Variables whose values should be saved in libtool wrapper scripts and
25987 # restored at relink time.
25988 variables_saved_for_relink="$variables_saved_for_relink"
25990 # Whether libtool must link a program against all its dependency libraries.
25991 link_all_deplibs=$link_all_deplibs_GCJ
25993 # Compile-time system search path for libraries
25994 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25996 # Run-time system search path for libraries
25997 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25999 # Fix the shell variable \$srcfile for the compiler.
26000 fix_srcfile_path="$fix_srcfile_path_GCJ"
26002 # Set to yes if exported symbols are required.
26003 always_export_symbols=$always_export_symbols_GCJ
26005 # The commands to list exported symbols.
26006 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
26008 # The commands to extract the exported symbol list from a shared archive.
26009 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26011 # Symbols that should not be listed in the preloaded symbols.
26012 exclude_expsyms=$lt_exclude_expsyms_GCJ
26014 # Symbols that must always be exported.
26015 include_expsyms=$lt_include_expsyms_GCJ
26017 # ### END LIBTOOL TAG CONFIG: $tagname
26023 # If there is no Makefile yet, we rely on a make rule to execute
26024 # `config.status --recheck' to rerun these tests and create the
26025 # libtool script then.
26026 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26027 if test -f "$ltmain_in"; then
26028 test -f Makefile
&& make "$ltmain"
26034 ac_cpp
='$CPP $CPPFLAGS'
26035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26048 ac_cpp
='$CPP $CPPFLAGS'
26049 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26050 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26051 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26054 # Source file extension for RC test sources.
26057 # Object file extension for compiled RC test sources.
26061 # Code to be used in simple compile tests
26062 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
26064 # Code to be used in simple link tests
26065 lt_simple_link_test_code
="$lt_simple_compile_test_code"
26067 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
26069 # If no C compiler was specified, use CC.
26072 # If no C compiler flags were specified, use CFLAGS.
26073 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
26075 # Allow CC to be a program name with arguments.
26079 # save warnings/boilerplate of simple test code
26080 ac_outfile
=conftest.
$ac_objext
26081 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
26082 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
26083 _lt_compiler_boilerplate
=`cat conftest.err`
26086 ac_outfile
=conftest.
$ac_objext
26087 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
26088 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
26089 _lt_linker_boilerplate
=`cat conftest.err`
26093 # Allow CC to be a program name with arguments.
26098 for cc_temp
in $compiler""; do
26100 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
26101 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
26106 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
26108 lt_cv_prog_compiler_c_o_RC
=yes
26110 # The else clause should only fire when bootstrapping the
26111 # libtool distribution, otherwise you forgot to ship ltmain.sh
26112 # with your package, and you will get complaints that there are
26113 # no rules to generate ltmain.sh.
26114 if test -f "$ltmain"; then
26115 # See if we are running on zsh, and set the options which allow our commands through
26116 # without removal of \ escapes.
26117 if test -n "${ZSH_VERSION+set}" ; then
26118 setopt NO_GLOB_SUBST
26120 # Now quote all the things that may contain metacharacters while being
26121 # careful not to overquote the AC_SUBSTed values. We take copies of the
26122 # variables and quote the copies for generation of the libtool script.
26123 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26125 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26126 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26127 deplibs_check_method reload_flag reload_cmds need_locks \
26128 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26129 lt_cv_sys_global_symbol_to_c_name_address \
26130 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26131 old_postinstall_cmds old_postuninstall_cmds \
26135 lt_prog_compiler_wl_RC \
26136 lt_prog_compiler_pic_RC \
26137 lt_prog_compiler_static_RC \
26138 lt_prog_compiler_no_builtin_flag_RC \
26139 export_dynamic_flag_spec_RC \
26140 thread_safe_flag_spec_RC \
26141 whole_archive_flag_spec_RC \
26142 enable_shared_with_static_runtimes_RC \
26143 old_archive_cmds_RC \
26144 old_archive_from_new_cmds_RC \
26145 predep_objects_RC \
26146 postdep_objects_RC \
26149 compiler_lib_search_path_RC \
26151 archive_expsym_cmds_RC \
26152 postinstall_cmds_RC \
26153 postuninstall_cmds_RC \
26154 old_archive_from_expsyms_cmds_RC \
26155 allow_undefined_flag_RC \
26156 no_undefined_flag_RC \
26157 export_symbols_cmds_RC \
26158 hardcode_libdir_flag_spec_RC \
26159 hardcode_libdir_flag_spec_ld_RC \
26160 hardcode_libdir_separator_RC \
26161 hardcode_automatic_RC \
26163 module_expsym_cmds_RC \
26164 lt_cv_prog_compiler_c_o_RC \
26165 exclude_expsyms_RC \
26166 include_expsyms_RC
; do
26169 old_archive_cmds_RC | \
26170 old_archive_from_new_cmds_RC | \
26171 archive_cmds_RC | \
26172 archive_expsym_cmds_RC | \
26174 module_expsym_cmds_RC | \
26175 old_archive_from_expsyms_cmds_RC | \
26176 export_symbols_cmds_RC | \
26177 extract_expsyms_cmds | reload_cmds | finish_cmds | \
26178 postinstall_cmds | postuninstall_cmds | \
26179 old_postinstall_cmds | old_postuninstall_cmds | \
26180 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
26181 # Double-quote double-evaled strings.
26182 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26185 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26191 *'\$0 --fallback-echo"')
26192 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26198 cat <<__EOF__ >> "$cfgfile"
26199 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
26201 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26203 # Shell to use when invoking shell scripts.
26206 # Whether or not to build shared libraries.
26207 build_libtool_libs=$enable_shared
26209 # Whether or not to build static libraries.
26210 build_old_libs=$enable_static
26212 # Whether or not to add -lc for building shared libraries.
26213 build_libtool_need_lc=$archive_cmds_need_lc_RC
26215 # Whether or not to disallow shared libs when runtime libs are static
26216 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
26218 # Whether or not to optimize for fast installation.
26219 fast_install=$enable_fast_install
26222 host_alias=$host_alias
26226 # The build system.
26227 build_alias=$build_alias
26231 # An echo program that does not interpret backslashes.
26236 AR_FLAGS=$lt_AR_FLAGS
26241 # LTCC compiler flags.
26242 LTCFLAGS=$lt_LTCFLAGS
26244 # A language-specific compiler.
26247 # Is the compiler the GNU C compiler?
26253 # The linker used to build libraries.
26256 # Whether we need hard or soft links.
26259 # A BSD-compatible nm program.
26262 # A symbol stripping program
26265 # Used to examine libraries when file_magic_cmd begins "file"
26266 MAGIC_CMD=$MAGIC_CMD
26268 # Used on cygwin: DLL creation program.
26271 # Used on cygwin: object dumper.
26274 # Used on cygwin: assembler.
26277 # The name of the directory that contains temporary libtool files.
26280 # How to create reloadable object files.
26281 reload_flag=$lt_reload_flag
26282 reload_cmds=$lt_reload_cmds
26284 # How to pass a linker flag through the compiler.
26285 wl=$lt_lt_prog_compiler_wl_RC
26287 # Object file suffix (normally "o").
26288 objext="$ac_objext"
26290 # Old archive suffix (normally "a").
26293 # Shared library suffix (normally ".so").
26294 shrext_cmds='$shrext_cmds'
26296 # Executable file suffix (normally "").
26299 # Additional compiler flags for building library objects.
26300 pic_flag=$lt_lt_prog_compiler_pic_RC
26303 # What is the maximum length of a command?
26304 max_cmd_len=$lt_cv_sys_max_cmd_len
26306 # Does compiler simultaneously support -c and -o options?
26307 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
26309 # Must we lock files when doing compilation?
26310 need_locks=$lt_need_locks
26312 # Do we need the lib prefix for modules?
26313 need_lib_prefix=$need_lib_prefix
26315 # Do we need a version for libraries?
26316 need_version=$need_version
26318 # Whether dlopen is supported.
26319 dlopen_support=$enable_dlopen
26321 # Whether dlopen of programs is supported.
26322 dlopen_self=$enable_dlopen_self
26324 # Whether dlopen of statically linked programs is supported.
26325 dlopen_self_static=$enable_dlopen_self_static
26327 # Compiler flag to prevent dynamic linking.
26328 link_static_flag=$lt_lt_prog_compiler_static_RC
26330 # Compiler flag to turn off builtin functions.
26331 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
26333 # Compiler flag to allow reflexive dlopens.
26334 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
26336 # Compiler flag to generate shared objects directly from archives.
26337 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
26339 # Compiler flag to generate thread-safe objects.
26340 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
26342 # Library versioning type.
26343 version_type=$version_type
26345 # Format of library name prefix.
26346 libname_spec=$lt_libname_spec
26348 # List of archive names. First name is the real one, the rest are links.
26349 # The last name is the one that the linker finds with -lNAME.
26350 library_names_spec=$lt_library_names_spec
26352 # The coded name of the library, if different from the real name.
26353 soname_spec=$lt_soname_spec
26355 # Commands used to build and install an old-style archive.
26357 old_archive_cmds=$lt_old_archive_cmds_RC
26358 old_postinstall_cmds=$lt_old_postinstall_cmds
26359 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26361 # Create an old-style archive from a shared archive.
26362 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
26364 # Create a temporary old-style archive to link instead of a shared archive.
26365 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
26367 # Commands used to build and install a shared archive.
26368 archive_cmds=$lt_archive_cmds_RC
26369 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
26370 postinstall_cmds=$lt_postinstall_cmds
26371 postuninstall_cmds=$lt_postuninstall_cmds
26373 # Commands used to build a loadable module (assumed same as above if empty)
26374 module_cmds=$lt_module_cmds_RC
26375 module_expsym_cmds=$lt_module_expsym_cmds_RC
26377 # Commands to strip libraries.
26378 old_striplib=$lt_old_striplib
26379 striplib=$lt_striplib
26381 # Dependencies to place before the objects being linked to create a
26383 predep_objects=$lt_predep_objects_RC
26385 # Dependencies to place after the objects being linked to create a
26387 postdep_objects=$lt_postdep_objects_RC
26389 # Dependencies to place before the objects being linked to create a
26391 predeps=$lt_predeps_RC
26393 # Dependencies to place after the objects being linked to create a
26395 postdeps=$lt_postdeps_RC
26397 # The library search path used internally by the compiler when linking
26398 # a shared library.
26399 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
26401 # Method to check whether dependent libraries are shared objects.
26402 deplibs_check_method=$lt_deplibs_check_method
26404 # Command to use when deplibs_check_method == file_magic.
26405 file_magic_cmd=$lt_file_magic_cmd
26407 # Flag that allows shared libraries with undefined symbols to be built.
26408 allow_undefined_flag=$lt_allow_undefined_flag_RC
26410 # Flag that forces no undefined symbols.
26411 no_undefined_flag=$lt_no_undefined_flag_RC
26413 # Commands used to finish a libtool library installation in a directory.
26414 finish_cmds=$lt_finish_cmds
26416 # Same as above, but a single script fragment to be evaled but not shown.
26417 finish_eval=$lt_finish_eval
26419 # Take the output of nm and produce a listing of raw symbols and C names.
26420 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26422 # Transform the output of nm in a proper C declaration
26423 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26425 # Transform the output of nm in a C name address pair
26426 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26428 # This is the shared library runtime path variable.
26429 runpath_var=$runpath_var
26431 # This is the shared library path variable.
26432 shlibpath_var=$shlibpath_var
26434 # Is shlibpath searched before the hard-coded library search path?
26435 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26437 # How to hardcode a shared library path into an executable.
26438 hardcode_action=$hardcode_action_RC
26440 # Whether we should hardcode library paths into libraries.
26441 hardcode_into_libs=$hardcode_into_libs
26443 # Flag to hardcode \$libdir into a binary during linking.
26444 # This must work even if \$libdir does not exist.
26445 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
26447 # If ld is used when linking, flag to hardcode \$libdir into
26448 # a binary during linking. This must work even if \$libdir does
26450 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
26452 # Whether we need a single -rpath flag with a separated argument.
26453 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
26455 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26456 # resulting binary.
26457 hardcode_direct=$hardcode_direct_RC
26459 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26460 # resulting binary.
26461 hardcode_minus_L=$hardcode_minus_L_RC
26463 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26464 # the resulting binary.
26465 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
26467 # Set to yes if building a shared library automatically hardcodes DIR into the library
26468 # and all subsequent libraries and executables linked against it.
26469 hardcode_automatic=$hardcode_automatic_RC
26471 # Variables whose values should be saved in libtool wrapper scripts and
26472 # restored at relink time.
26473 variables_saved_for_relink="$variables_saved_for_relink"
26475 # Whether libtool must link a program against all its dependency libraries.
26476 link_all_deplibs=$link_all_deplibs_RC
26478 # Compile-time system search path for libraries
26479 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26481 # Run-time system search path for libraries
26482 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26484 # Fix the shell variable \$srcfile for the compiler.
26485 fix_srcfile_path="$fix_srcfile_path_RC"
26487 # Set to yes if exported symbols are required.
26488 always_export_symbols=$always_export_symbols_RC
26490 # The commands to list exported symbols.
26491 export_symbols_cmds=$lt_export_symbols_cmds_RC
26493 # The commands to extract the exported symbol list from a shared archive.
26494 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26496 # Symbols that should not be listed in the preloaded symbols.
26497 exclude_expsyms=$lt_exclude_expsyms_RC
26499 # Symbols that must always be exported.
26500 include_expsyms=$lt_include_expsyms_RC
26502 # ### END LIBTOOL TAG CONFIG: $tagname
26508 # If there is no Makefile yet, we rely on a make rule to execute
26509 # `config.status --recheck' to rerun these tests and create the
26510 # libtool script then.
26511 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26512 if test -f "$ltmain_in"; then
26513 test -f Makefile
&& make "$ltmain"
26519 ac_cpp
='$CPP $CPPFLAGS'
26520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26529 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
26530 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
26531 { (exit 1); exit 1; }; }
26535 # Append the new tag name to the list of available tags.
26536 if test -n "$tagname" ; then
26537 available_tags
="$available_tags $tagname"
26543 # Now substitute the updated list of available tags.
26544 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
26545 mv "${ofile}T" "$ofile"
26549 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
26550 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
26551 { (exit 1); exit 1; }; }
26557 # This can be used to rebuild libtool when needed
26558 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
26560 # Always use our own libtool.
26561 LIBTOOL
='$(SHELL) $(top_builddir)/mklib'
26563 # Prevent multiple expansion
26585 if test "$lt_cv_dlopen_self" = "yes" ; then
26587 cat >>confdefs.h
<<\_ACEOF
26588 #define CAN_DLOPEN_SELF 1
26593 etags_version
=`$ETAGS --version 2>&1`
26594 case "$etags_version" in
26595 *Eexuberant
*) ETAGSFLAGS
="--language-force=c++" ;;
26596 *GNU\ Emacs
*) ETAGSFLAGS
="-l c++" ;;
26597 *) ETAGSFLAGS
="" ;;
26599 ETAGSFLAGS
=$ETAGSFLAGS
26602 if test "$WITH_LLVMGCCDIR" = "default" ; then
26603 LLVMGCC
="llvm-gcc${EXEEXT}"
26604 LLVMGXX
="llvm-g++${EXEEXT}"
26605 # Extract the first word of "$LLVMGCC", so it can be a program name with args.
26606 set dummy
$LLVMGCC; ac_word
=$2
26607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26609 if test "${ac_cv_path_LLVMGCC+set}" = set; then
26610 echo $ECHO_N "(cached) $ECHO_C" >&6
26614 ac_cv_path_LLVMGCC
="$LLVMGCC" # Let the user override the test with a path.
26617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26618 for as_dir
in $PATH
26621 test -z "$as_dir" && as_dir
=.
26622 for ac_exec_ext
in '' $ac_executable_extensions; do
26623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26624 ac_cv_path_LLVMGCC
="$as_dir/$ac_word$ac_exec_ext"
26625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26635 LLVMGCC
=$ac_cv_path_LLVMGCC
26636 if test -n "$LLVMGCC"; then
26637 { echo "$as_me:$LINENO: result: $LLVMGCC" >&5
26638 echo "${ECHO_T}$LLVMGCC" >&6; }
26640 { echo "$as_me:$LINENO: result: no" >&5
26641 echo "${ECHO_T}no" >&6; }
26645 # Extract the first word of "$LLVMGXX", so it can be a program name with args.
26646 set dummy
$LLVMGXX; ac_word
=$2
26647 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26649 if test "${ac_cv_path_LLVMGXX+set}" = set; then
26650 echo $ECHO_N "(cached) $ECHO_C" >&6
26654 ac_cv_path_LLVMGXX
="$LLVMGXX" # Let the user override the test with a path.
26657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26658 for as_dir
in $PATH
26661 test -z "$as_dir" && as_dir
=.
26662 for ac_exec_ext
in '' $ac_executable_extensions; do
26663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26664 ac_cv_path_LLVMGXX
="$as_dir/$ac_word$ac_exec_ext"
26665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26675 LLVMGXX
=$ac_cv_path_LLVMGXX
26676 if test -n "$LLVMGXX"; then
26677 { echo "$as_me:$LINENO: result: $LLVMGXX" >&5
26678 echo "${ECHO_T}$LLVMGXX" >&6; }
26680 { echo "$as_me:$LINENO: result: no" >&5
26681 echo "${ECHO_T}no" >&6; }
26686 LLVMGCC
="$WITH_LLVMGCCDIR/bin/llvm-gcc${EXEEXT}"
26687 LLVMGXX
="$WITH_LLVMGCCDIR/bin/llvm-g++${EXEEXT}"
26694 { echo "$as_me:$LINENO: checking tool compatibility" >&5
26695 echo $ECHO_N "checking tool compatibility... $ECHO_C" >&6; }
26708 if test "$GCC" != "yes" && test "$ICC" != "yes"
26710 { { echo "$as_me:$LINENO: error: gcc|icc required but not found" >&5
26711 echo "$as_me: error: gcc|icc required but not found" >&2;}
26712 { (exit 1); exit 1; }; }
26715 if test "$GXX" != "yes" && test "$IXX" != "yes"
26717 { { echo "$as_me:$LINENO: error: g++|icc required but not found" >&5
26718 echo "$as_me: error: g++|icc required but not found" >&2;}
26719 { (exit 1); exit 1; }; }
26722 if test "$GCC" = "yes"
26724 gccmajor
=`$CC --version | head -n 1 | sed 's/[^0-9]*\([0-9.]\).*/\1/'`
26725 if test "$gccmajor" -lt "3"
26727 { { echo "$as_me:$LINENO: error: gcc 3.x required, but you have a lower version" >&5
26728 echo "$as_me: error: gcc 3.x required, but you have a lower version" >&2;}
26729 { (exit 1); exit 1; }; }
26733 if test -z "$llvm_cv_gnu_make_command"
26735 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
26736 echo "$as_me: error: GNU Make required but not found" >&2;}
26737 { (exit 1); exit 1; }; }
26740 { echo "$as_me:$LINENO: result: ok" >&5
26741 echo "${ECHO_T}ok" >&6; }
26745 { echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
26746 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; }
26747 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
26748 echo $ECHO_N "(cached) $ECHO_C" >&6
26750 ac_check_lib_save_LIBS
=$LIBS
26752 cat >conftest.
$ac_ext <<_ACEOF
26755 cat confdefs.h
>>conftest.
$ac_ext
26756 cat >>conftest.
$ac_ext <<_ACEOF
26757 /* end confdefs.h. */
26759 /* Override any GCC internal prototype to avoid an error.
26760 Use char because int might match the return type of a GCC
26761 builtin and then its argument prototype would still apply. */
26769 return elf_begin ();
26774 rm -f conftest.
$ac_objext conftest
$ac_exeext
26775 if { (ac_try
="$ac_link"
26776 case "(($ac_try" in
26777 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26778 *) ac_try_echo=$ac_try;;
26780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26781 (eval "$ac_link") 2>conftest.er1
26783 grep -v '^ *+' conftest.er1 >conftest.err
26785 cat conftest.err >&5
26786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26787 (exit $ac_status); } &&
26788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26789 { (case "(($ac_try" in
26790 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26791 *) ac_try_echo
=$ac_try;;
26793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26794 (eval "$ac_try") 2>&5
26796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26797 (exit $ac_status); }; } &&
26798 { ac_try
='test -s conftest$ac_exeext'
26799 { (case "(($ac_try" in
26800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26801 *) ac_try_echo=$ac_try;;
26803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26804 (eval "$ac_try") 2>&5
26806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26807 (exit $ac_status); }; }; then
26808 ac_cv_lib_elf_elf_begin=yes
26810 echo "$as_me: failed program was:" >&5
26811 sed 's/^/| /' conftest.$ac_ext >&5
26813 ac_cv_lib_elf_elf_begin=no
26816 rm -f core conftest.err conftest.$ac_objext \
26817 conftest$ac_exeext conftest.$ac_ext
26818 LIBS=$ac_check_lib_save_LIBS
26820 { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
26821 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; }
26822 if test $ac_cv_lib_elf_elf_begin = yes; then
26823 cat >>confdefs.h <<_ACEOF
26824 #define HAVE_LIBELF 1
26832 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
26833 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
26834 if test "${ac_cv_lib_m_sin+set}" = set; then
26835 echo $ECHO_N "(cached) $ECHO_C" >&6
26837 ac_check_lib_save_LIBS=$LIBS
26839 cat >conftest.$ac_ext <<_ACEOF
26842 cat confdefs.h >>conftest.$ac_ext
26843 cat >>conftest.$ac_ext <<_ACEOF
26844 /* end confdefs.h. */
26846 /* Override any GCC internal prototype to avoid an error.
26847 Use char because int might match the return type of a GCC
26848 builtin and then its argument prototype would still apply. */
26861 rm -f conftest.$ac_objext conftest$ac_exeext
26862 if { (ac_try="$ac_link"
26863 case "(($ac_try" in
26864 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26865 *) ac_try_echo
=$ac_try;;
26867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26868 (eval "$ac_link") 2>conftest.er1
26870 grep -v '^ *+' conftest.er1
>conftest.err
26872 cat conftest.err
>&5
26873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26874 (exit $ac_status); } &&
26875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26876 { (case "(($ac_try" in
26877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26878 *) ac_try_echo=$ac_try;;
26880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26881 (eval "$ac_try") 2>&5
26883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26884 (exit $ac_status); }; } &&
26885 { ac_try='test -s conftest$ac_exeext'
26886 { (case "(($ac_try" in
26887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26888 *) ac_try_echo
=$ac_try;;
26890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26891 (eval "$ac_try") 2>&5
26893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894 (exit $ac_status); }; }; then
26895 ac_cv_lib_m_sin
=yes
26897 echo "$as_me: failed program was:" >&5
26898 sed 's/^/| /' conftest.
$ac_ext >&5
26903 rm -f core conftest.err conftest.
$ac_objext \
26904 conftest
$ac_exeext conftest.
$ac_ext
26905 LIBS
=$ac_check_lib_save_LIBS
26907 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
26908 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
26909 if test $ac_cv_lib_m_sin = yes; then
26910 cat >>confdefs.h
<<_ACEOF
26911 #define HAVE_LIBM 1
26918 if test "$llvm_cv_os_type" = "MingW" ; then
26920 { echo "$as_me:$LINENO: checking for main in -limagehlp" >&5
26921 echo $ECHO_N "checking for main in -limagehlp... $ECHO_C" >&6; }
26922 if test "${ac_cv_lib_imagehlp_main+set}" = set; then
26923 echo $ECHO_N "(cached) $ECHO_C" >&6
26925 ac_check_lib_save_LIBS
=$LIBS
26926 LIBS
="-limagehlp $LIBS"
26927 cat >conftest.
$ac_ext <<_ACEOF
26930 cat confdefs.h
>>conftest.
$ac_ext
26931 cat >>conftest.
$ac_ext <<_ACEOF
26932 /* end confdefs.h. */
26943 rm -f conftest.
$ac_objext conftest
$ac_exeext
26944 if { (ac_try
="$ac_link"
26945 case "(($ac_try" in
26946 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26947 *) ac_try_echo=$ac_try;;
26949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26950 (eval "$ac_link") 2>conftest.er1
26952 grep -v '^ *+' conftest.er1 >conftest.err
26954 cat conftest.err >&5
26955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26956 (exit $ac_status); } &&
26957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26958 { (case "(($ac_try" in
26959 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26960 *) ac_try_echo
=$ac_try;;
26962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26963 (eval "$ac_try") 2>&5
26965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26966 (exit $ac_status); }; } &&
26967 { ac_try
='test -s conftest$ac_exeext'
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_try") 2>&5
26975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26976 (exit $ac_status); }; }; then
26977 ac_cv_lib_imagehlp_main=yes
26979 echo "$as_me: failed program was:" >&5
26980 sed 's/^/| /' conftest.$ac_ext >&5
26982 ac_cv_lib_imagehlp_main=no
26985 rm -f core conftest.err conftest.$ac_objext \
26986 conftest$ac_exeext conftest.$ac_ext
26987 LIBS=$ac_check_lib_save_LIBS
26989 { echo "$as_me:$LINENO: result: $ac_cv_lib_imagehlp_main" >&5
26990 echo "${ECHO_T}$ac_cv_lib_imagehlp_main" >&6; }
26991 if test $ac_cv_lib_imagehlp_main = yes; then
26992 cat >>confdefs.h <<_ACEOF
26993 #define HAVE_LIBIMAGEHLP 1
26996 LIBS="-limagehlp $LIBS"
27001 { echo "$as_me:$LINENO: checking for main in -lpsapi" >&5
27002 echo $ECHO_N "checking for main in -lpsapi... $ECHO_C" >&6; }
27003 if test "${ac_cv_lib_psapi_main+set}" = set; then
27004 echo $ECHO_N "(cached) $ECHO_C" >&6
27006 ac_check_lib_save_LIBS=$LIBS
27007 LIBS="-lpsapi $LIBS"
27008 cat >conftest.$ac_ext <<_ACEOF
27011 cat confdefs.h >>conftest.$ac_ext
27012 cat >>conftest.$ac_ext <<_ACEOF
27013 /* end confdefs.h. */
27024 rm -f conftest.$ac_objext conftest$ac_exeext
27025 if { (ac_try="$ac_link"
27026 case "(($ac_try" in
27027 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27028 *) ac_try_echo
=$ac_try;;
27030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27031 (eval "$ac_link") 2>conftest.er1
27033 grep -v '^ *+' conftest.er1
>conftest.err
27035 cat conftest.err
>&5
27036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27037 (exit $ac_status); } &&
27038 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27039 { (case "(($ac_try" in
27040 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27041 *) ac_try_echo=$ac_try;;
27043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27044 (eval "$ac_try") 2>&5
27046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27047 (exit $ac_status); }; } &&
27048 { ac_try='test -s conftest$ac_exeext'
27049 { (case "(($ac_try" in
27050 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27051 *) ac_try_echo
=$ac_try;;
27053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27054 (eval "$ac_try") 2>&5
27056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27057 (exit $ac_status); }; }; then
27058 ac_cv_lib_psapi_main
=yes
27060 echo "$as_me: failed program was:" >&5
27061 sed 's/^/| /' conftest.
$ac_ext >&5
27063 ac_cv_lib_psapi_main
=no
27066 rm -f core conftest.err conftest.
$ac_objext \
27067 conftest
$ac_exeext conftest.
$ac_ext
27068 LIBS
=$ac_check_lib_save_LIBS
27070 { echo "$as_me:$LINENO: result: $ac_cv_lib_psapi_main" >&5
27071 echo "${ECHO_T}$ac_cv_lib_psapi_main" >&6; }
27072 if test $ac_cv_lib_psapi_main = yes; then
27073 cat >>confdefs.h
<<_ACEOF
27074 #define HAVE_LIBPSAPI 1
27077 LIBS
="-lpsapi $LIBS"
27083 { echo "$as_me:$LINENO: checking for library containing lt_dlopen" >&5
27084 echo $ECHO_N "checking for library containing lt_dlopen... $ECHO_C" >&6; }
27085 if test "${ac_cv_search_lt_dlopen+set}" = set; then
27086 echo $ECHO_N "(cached) $ECHO_C" >&6
27088 ac_func_search_save_LIBS
=$LIBS
27089 cat >conftest.
$ac_ext <<_ACEOF
27092 cat confdefs.h
>>conftest.
$ac_ext
27093 cat >>conftest.
$ac_ext <<_ACEOF
27094 /* end confdefs.h. */
27096 /* Override any GCC internal prototype to avoid an error.
27097 Use char because int might match the return type of a GCC
27098 builtin and then its argument prototype would still apply. */
27106 return lt_dlopen ();
27111 for ac_lib
in '' ltdl
; do
27112 if test -z "$ac_lib"; then
27113 ac_res
="none required"
27116 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
27118 rm -f conftest.
$ac_objext conftest
$ac_exeext
27119 if { (ac_try
="$ac_link"
27120 case "(($ac_try" in
27121 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27122 *) ac_try_echo=$ac_try;;
27124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27125 (eval "$ac_link") 2>conftest.er1
27127 grep -v '^ *+' conftest.er1 >conftest.err
27129 cat conftest.err >&5
27130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27131 (exit $ac_status); } &&
27132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27133 { (case "(($ac_try" in
27134 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27135 *) ac_try_echo
=$ac_try;;
27137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27138 (eval "$ac_try") 2>&5
27140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27141 (exit $ac_status); }; } &&
27142 { ac_try
='test -s conftest$ac_exeext'
27143 { (case "(($ac_try" in
27144 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27145 *) ac_try_echo=$ac_try;;
27147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27148 (eval "$ac_try") 2>&5
27150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27151 (exit $ac_status); }; }; then
27152 ac_cv_search_lt_dlopen=$ac_res
27154 echo "$as_me: failed program was:" >&5
27155 sed 's/^/| /' conftest.$ac_ext >&5
27160 rm -f core conftest.err conftest.$ac_objext \
27162 if test "${ac_cv_search_lt_dlopen+set}" = set; then
27166 if test "${ac_cv_search_lt_dlopen+set}" = set; then
27169 ac_cv_search_lt_dlopen=no
27171 rm conftest.$ac_ext
27172 LIBS=$ac_func_search_save_LIBS
27174 { echo "$as_me:$LINENO: result: $ac_cv_search_lt_dlopen" >&5
27175 echo "${ECHO_T}$ac_cv_search_lt_dlopen" >&6; }
27176 ac_res=$ac_cv_search_lt_dlopen
27177 if test "$ac_res" != no; then
27178 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27180 cat >>confdefs.h <<\_ACEOF
27181 #define HAVE_LT_DLOPEN 1
27185 { echo "$as_me:$LINENO: WARNING: lt_dlopen() not found - plugin support might
27186 not be available" >&5
27187 echo "$as_me: WARNING: lt_dlopen() not found - plugin support might
27188 not be available" >&2;}
27192 { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
27193 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
27194 if test "${ac_cv_search_dlopen+set}" = set; then
27195 echo $ECHO_N "(cached) $ECHO_C" >&6
27197 ac_func_search_save_LIBS=$LIBS
27198 cat >conftest.$ac_ext <<_ACEOF
27201 cat confdefs.h >>conftest.$ac_ext
27202 cat >>conftest.$ac_ext <<_ACEOF
27203 /* end confdefs.h. */
27205 /* Override any GCC internal prototype to avoid an error.
27206 Use char because int might match the return type of a GCC
27207 builtin and then its argument prototype would still apply. */
27220 for ac_lib in '' dl; do
27221 if test -z "$ac_lib"; then
27222 ac_res="none required"
27225 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27227 rm -f conftest.$ac_objext conftest$ac_exeext
27228 if { (ac_try="$ac_link"
27229 case "(($ac_try" in
27230 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27231 *) ac_try_echo
=$ac_try;;
27233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27234 (eval "$ac_link") 2>conftest.er1
27236 grep -v '^ *+' conftest.er1
>conftest.err
27238 cat conftest.err
>&5
27239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27240 (exit $ac_status); } &&
27241 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27242 { (case "(($ac_try" in
27243 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27244 *) ac_try_echo=$ac_try;;
27246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27247 (eval "$ac_try") 2>&5
27249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27250 (exit $ac_status); }; } &&
27251 { ac_try='test -s conftest$ac_exeext'
27252 { (case "(($ac_try" in
27253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27254 *) ac_try_echo
=$ac_try;;
27256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27257 (eval "$ac_try") 2>&5
27259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27260 (exit $ac_status); }; }; then
27261 ac_cv_search_dlopen
=$ac_res
27263 echo "$as_me: failed program was:" >&5
27264 sed 's/^/| /' conftest.
$ac_ext >&5
27269 rm -f core conftest.err conftest.
$ac_objext \
27271 if test "${ac_cv_search_dlopen+set}" = set; then
27275 if test "${ac_cv_search_dlopen+set}" = set; then
27278 ac_cv_search_dlopen
=no
27280 rm conftest.
$ac_ext
27281 LIBS
=$ac_func_search_save_LIBS
27283 { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
27284 echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
27285 ac_res
=$ac_cv_search_dlopen
27286 if test "$ac_res" != no
; then
27287 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27289 cat >>confdefs.h
<<\_ACEOF
27290 #define HAVE_DLOPEN 1
27294 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
27295 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
27299 { echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
27300 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6; }
27301 if test "${ac_cv_search_mallinfo+set}" = set; then
27302 echo $ECHO_N "(cached) $ECHO_C" >&6
27304 ac_func_search_save_LIBS
=$LIBS
27305 cat >conftest.
$ac_ext <<_ACEOF
27308 cat confdefs.h
>>conftest.
$ac_ext
27309 cat >>conftest.
$ac_ext <<_ACEOF
27310 /* end confdefs.h. */
27312 /* Override any GCC internal prototype to avoid an error.
27313 Use char because int might match the return type of a GCC
27314 builtin and then its argument prototype would still apply. */
27322 return mallinfo ();
27327 for ac_lib
in '' malloc
; do
27328 if test -z "$ac_lib"; then
27329 ac_res
="none required"
27332 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
27334 rm -f conftest.
$ac_objext conftest
$ac_exeext
27335 if { (ac_try
="$ac_link"
27336 case "(($ac_try" in
27337 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27338 *) ac_try_echo=$ac_try;;
27340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27341 (eval "$ac_link") 2>conftest.er1
27343 grep -v '^ *+' conftest.er1 >conftest.err
27345 cat conftest.err >&5
27346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27347 (exit $ac_status); } &&
27348 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27349 { (case "(($ac_try" in
27350 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27351 *) ac_try_echo
=$ac_try;;
27353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27354 (eval "$ac_try") 2>&5
27356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27357 (exit $ac_status); }; } &&
27358 { ac_try
='test -s conftest$ac_exeext'
27359 { (case "(($ac_try" in
27360 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27361 *) ac_try_echo=$ac_try;;
27363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27364 (eval "$ac_try") 2>&5
27366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367 (exit $ac_status); }; }; then
27368 ac_cv_search_mallinfo=$ac_res
27370 echo "$as_me: failed program was:" >&5
27371 sed 's/^/| /' conftest.$ac_ext >&5
27376 rm -f core conftest.err conftest.$ac_objext \
27378 if test "${ac_cv_search_mallinfo+set}" = set; then
27382 if test "${ac_cv_search_mallinfo+set}" = set; then
27385 ac_cv_search_mallinfo=no
27387 rm conftest.$ac_ext
27388 LIBS=$ac_func_search_save_LIBS
27390 { echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
27391 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6; }
27392 ac_res=$ac_cv_search_mallinfo
27393 if test "$ac_res" != no; then
27394 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27396 cat >>confdefs.h <<\_ACEOF
27397 #define HAVE_MALLINFO 1
27403 if test "$ENABLE_THREADS" -eq 1 ; then
27405 { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
27406 echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
27407 if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
27408 echo $ECHO_N "(cached) $ECHO_C" >&6
27410 ac_check_lib_save_LIBS=$LIBS
27411 LIBS="-lpthread $LIBS"
27412 cat >conftest.$ac_ext <<_ACEOF
27415 cat confdefs.h >>conftest.$ac_ext
27416 cat >>conftest.$ac_ext <<_ACEOF
27417 /* end confdefs.h. */
27419 /* Override any GCC internal prototype to avoid an error.
27420 Use char because int might match the return type of a GCC
27421 builtin and then its argument prototype would still apply. */
27425 char pthread_mutex_init ();
27429 return pthread_mutex_init ();
27434 rm -f conftest.$ac_objext conftest$ac_exeext
27435 if { (ac_try="$ac_link"
27436 case "(($ac_try" in
27437 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27438 *) ac_try_echo
=$ac_try;;
27440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27441 (eval "$ac_link") 2>conftest.er1
27443 grep -v '^ *+' conftest.er1
>conftest.err
27445 cat conftest.err
>&5
27446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27447 (exit $ac_status); } &&
27448 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27449 { (case "(($ac_try" in
27450 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27451 *) ac_try_echo=$ac_try;;
27453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27454 (eval "$ac_try") 2>&5
27456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27457 (exit $ac_status); }; } &&
27458 { ac_try='test -s conftest$ac_exeext'
27459 { (case "(($ac_try" in
27460 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27461 *) ac_try_echo
=$ac_try;;
27463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27464 (eval "$ac_try") 2>&5
27466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27467 (exit $ac_status); }; }; then
27468 ac_cv_lib_pthread_pthread_mutex_init
=yes
27470 echo "$as_me: failed program was:" >&5
27471 sed 's/^/| /' conftest.
$ac_ext >&5
27473 ac_cv_lib_pthread_pthread_mutex_init
=no
27476 rm -f core conftest.err conftest.
$ac_objext \
27477 conftest
$ac_exeext conftest.
$ac_ext
27478 LIBS
=$ac_check_lib_save_LIBS
27480 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
27481 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
27482 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
27483 cat >>confdefs.h
<<_ACEOF
27484 #define HAVE_LIBPTHREAD 1
27487 LIBS
="-lpthread $LIBS"
27491 { echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
27492 echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6; }
27493 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27494 echo $ECHO_N "(cached) $ECHO_C" >&6
27496 ac_func_search_save_LIBS
=$LIBS
27497 cat >conftest.
$ac_ext <<_ACEOF
27500 cat confdefs.h
>>conftest.
$ac_ext
27501 cat >>conftest.
$ac_ext <<_ACEOF
27502 /* end confdefs.h. */
27504 /* Override any GCC internal prototype to avoid an error.
27505 Use char because int might match the return type of a GCC
27506 builtin and then its argument prototype would still apply. */
27510 char pthread_mutex_lock ();
27514 return pthread_mutex_lock ();
27519 for ac_lib
in '' pthread
; do
27520 if test -z "$ac_lib"; then
27521 ac_res
="none required"
27524 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
27526 rm -f conftest.
$ac_objext conftest
$ac_exeext
27527 if { (ac_try
="$ac_link"
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_link") 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); } &&
27540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27541 { (case "(($ac_try" in
27542 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27543 *) ac_try_echo
=$ac_try;;
27545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27546 (eval "$ac_try") 2>&5
27548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27549 (exit $ac_status); }; } &&
27550 { ac_try
='test -s conftest$ac_exeext'
27551 { (case "(($ac_try" in
27552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27553 *) ac_try_echo=$ac_try;;
27555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27556 (eval "$ac_try") 2>&5
27558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27559 (exit $ac_status); }; }; then
27560 ac_cv_search_pthread_mutex_lock=$ac_res
27562 echo "$as_me: failed program was:" >&5
27563 sed 's/^/| /' conftest.$ac_ext >&5
27568 rm -f core conftest.err conftest.$ac_objext \
27570 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27574 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27577 ac_cv_search_pthread_mutex_lock=no
27579 rm conftest.$ac_ext
27580 LIBS=$ac_func_search_save_LIBS
27582 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
27583 echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6; }
27584 ac_res=$ac_cv_search_pthread_mutex_lock
27585 if test "$ac_res" != no; then
27586 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27588 cat >>confdefs.h <<\_ACEOF
27589 #define HAVE_PTHREAD_MUTEX_LOCK 1
27597 # Check whether --with-udis86 was given.
27598 if test "${with_udis86+set}" = set; then
27599 withval=$with_udis86;
27604 *) LDFLAGS="$LDFLAGS -L${withval}" ;;
27607 { echo "$as_me:$LINENO: checking for ud_init in -ludis86" >&5
27608 echo $ECHO_N "checking for ud_init in -ludis86... $ECHO_C" >&6; }
27609 if test "${ac_cv_lib_udis86_ud_init+set}" = set; then
27610 echo $ECHO_N "(cached) $ECHO_C" >&6
27612 ac_check_lib_save_LIBS=$LIBS
27613 LIBS="-ludis86 $LIBS"
27614 cat >conftest.$ac_ext <<_ACEOF
27617 cat confdefs.h >>conftest.$ac_ext
27618 cat >>conftest.$ac_ext <<_ACEOF
27619 /* end confdefs.h. */
27621 /* Override any GCC internal prototype to avoid an error.
27622 Use char because int might match the return type of a GCC
27623 builtin and then its argument prototype would still apply. */
27636 rm -f conftest.$ac_objext conftest$ac_exeext
27637 if { (ac_try="$ac_link"
27638 case "(($ac_try" in
27639 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27640 *) ac_try_echo
=$ac_try;;
27642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27643 (eval "$ac_link") 2>conftest.er1
27645 grep -v '^ *+' conftest.er1
>conftest.err
27647 cat conftest.err
>&5
27648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27649 (exit $ac_status); } &&
27650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27651 { (case "(($ac_try" in
27652 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27653 *) ac_try_echo=$ac_try;;
27655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27656 (eval "$ac_try") 2>&5
27658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27659 (exit $ac_status); }; } &&
27660 { ac_try='test -s conftest$ac_exeext'
27661 { (case "(($ac_try" in
27662 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27663 *) ac_try_echo
=$ac_try;;
27665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27666 (eval "$ac_try") 2>&5
27668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27669 (exit $ac_status); }; }; then
27670 ac_cv_lib_udis86_ud_init
=yes
27672 echo "$as_me: failed program was:" >&5
27673 sed 's/^/| /' conftest.
$ac_ext >&5
27675 ac_cv_lib_udis86_ud_init
=no
27678 rm -f core conftest.err conftest.
$ac_objext \
27679 conftest
$ac_exeext conftest.
$ac_ext
27680 LIBS
=$ac_check_lib_save_LIBS
27682 { echo "$as_me:$LINENO: result: $ac_cv_lib_udis86_ud_init" >&5
27683 echo "${ECHO_T}$ac_cv_lib_udis86_ud_init" >&6; }
27684 if test $ac_cv_lib_udis86_ud_init = yes; then
27685 cat >>confdefs.h
<<_ACEOF
27686 #define HAVE_LIBUDIS86 1
27689 LIBS
="-ludis86 $LIBS"
27693 echo "Error! You need to have libudis86 around."
27705 cat >>confdefs.h
<<_ACEOF
27706 #define USE_UDIS86 $USE_UDIS86
27716 ac_header_dirent
=no
27717 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
27718 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
27719 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
27720 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
27721 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27722 echo $ECHO_N "(cached) $ECHO_C" >&6
27724 cat >conftest.
$ac_ext <<_ACEOF
27727 cat confdefs.h
>>conftest.
$ac_ext
27728 cat >>conftest.
$ac_ext <<_ACEOF
27729 /* end confdefs.h. */
27730 #include <sys/types.h>
27742 rm -f conftest.
$ac_objext
27743 if { (ac_try
="$ac_compile"
27744 case "(($ac_try" in
27745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27746 *) ac_try_echo=$ac_try;;
27748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27749 (eval "$ac_compile") 2>conftest.er1
27751 grep -v '^ *+' conftest.er1 >conftest.err
27753 cat conftest.err >&5
27754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27755 (exit $ac_status); } &&
27756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27757 { (case "(($ac_try" in
27758 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27759 *) ac_try_echo
=$ac_try;;
27761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27762 (eval "$ac_try") 2>&5
27764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27765 (exit $ac_status); }; } &&
27766 { ac_try
='test -s conftest.$ac_objext'
27767 { (case "(($ac_try" in
27768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27769 *) ac_try_echo=$ac_try;;
27771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27772 (eval "$ac_try") 2>&5
27774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27775 (exit $ac_status); }; }; then
27776 eval "$as_ac_Header=yes"
27778 echo "$as_me: failed program was:" >&5
27779 sed 's/^/| /' conftest.$ac_ext >&5
27781 eval "$as_ac_Header=no"
27784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27786 ac_res=`eval echo '${'$as_ac_Header'}'`
27787 { echo "$as_me:$LINENO: result: $ac_res" >&5
27788 echo "${ECHO_T}$ac_res" >&6; }
27789 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27790 cat >>confdefs.h <<_ACEOF
27791 #define `echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
27794 ac_header_dirent=$ac_hdr; break
27798 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
27799 if test $ac_header_dirent = dirent.h; then
27800 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
27801 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
27802 if test "${ac_cv_search_opendir+set}" = set; then
27803 echo $ECHO_N "(cached) $ECHO_C" >&6
27805 ac_func_search_save_LIBS=$LIBS
27806 cat >conftest.$ac_ext <<_ACEOF
27809 cat confdefs.h >>conftest.$ac_ext
27810 cat >>conftest.$ac_ext <<_ACEOF
27811 /* end confdefs.h. */
27813 /* Override any GCC internal prototype to avoid an error.
27814 Use char because int might match the return type of a GCC
27815 builtin and then its argument prototype would still apply. */
27828 for ac_lib in '' dir; do
27829 if test -z "$ac_lib"; then
27830 ac_res="none required"
27833 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27835 rm -f conftest.$ac_objext conftest$ac_exeext
27836 if { (ac_try="$ac_link"
27837 case "(($ac_try" in
27838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27839 *) ac_try_echo
=$ac_try;;
27841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27842 (eval "$ac_link") 2>conftest.er1
27844 grep -v '^ *+' conftest.er1
>conftest.err
27846 cat conftest.err
>&5
27847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27848 (exit $ac_status); } &&
27849 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27850 { (case "(($ac_try" in
27851 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27852 *) ac_try_echo=$ac_try;;
27854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27855 (eval "$ac_try") 2>&5
27857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27858 (exit $ac_status); }; } &&
27859 { ac_try='test -s conftest$ac_exeext'
27860 { (case "(($ac_try" in
27861 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27862 *) ac_try_echo
=$ac_try;;
27864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27865 (eval "$ac_try") 2>&5
27867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27868 (exit $ac_status); }; }; then
27869 ac_cv_search_opendir
=$ac_res
27871 echo "$as_me: failed program was:" >&5
27872 sed 's/^/| /' conftest.
$ac_ext >&5
27877 rm -f core conftest.err conftest.
$ac_objext \
27879 if test "${ac_cv_search_opendir+set}" = set; then
27883 if test "${ac_cv_search_opendir+set}" = set; then
27886 ac_cv_search_opendir
=no
27888 rm conftest.
$ac_ext
27889 LIBS
=$ac_func_search_save_LIBS
27891 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
27892 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
27893 ac_res
=$ac_cv_search_opendir
27894 if test "$ac_res" != no
; then
27895 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27900 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
27901 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
27902 if test "${ac_cv_search_opendir+set}" = set; then
27903 echo $ECHO_N "(cached) $ECHO_C" >&6
27905 ac_func_search_save_LIBS
=$LIBS
27906 cat >conftest.
$ac_ext <<_ACEOF
27909 cat confdefs.h
>>conftest.
$ac_ext
27910 cat >>conftest.
$ac_ext <<_ACEOF
27911 /* end confdefs.h. */
27913 /* Override any GCC internal prototype to avoid an error.
27914 Use char because int might match the return type of a GCC
27915 builtin and then its argument prototype would still apply. */
27928 for ac_lib
in '' x
; do
27929 if test -z "$ac_lib"; then
27930 ac_res
="none required"
27933 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
27935 rm -f conftest.
$ac_objext conftest
$ac_exeext
27936 if { (ac_try
="$ac_link"
27937 case "(($ac_try" in
27938 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27939 *) ac_try_echo=$ac_try;;
27941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27942 (eval "$ac_link") 2>conftest.er1
27944 grep -v '^ *+' conftest.er1 >conftest.err
27946 cat conftest.err >&5
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); } &&
27949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27950 { (case "(($ac_try" in
27951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27952 *) ac_try_echo
=$ac_try;;
27954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27955 (eval "$ac_try") 2>&5
27957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27958 (exit $ac_status); }; } &&
27959 { ac_try
='test -s conftest$ac_exeext'
27960 { (case "(($ac_try" in
27961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27962 *) ac_try_echo=$ac_try;;
27964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27965 (eval "$ac_try") 2>&5
27967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27968 (exit $ac_status); }; }; then
27969 ac_cv_search_opendir=$ac_res
27971 echo "$as_me: failed program was:" >&5
27972 sed 's/^/| /' conftest.$ac_ext >&5
27977 rm -f core conftest.err conftest.$ac_objext \
27979 if test "${ac_cv_search_opendir+set}" = set; then
27983 if test "${ac_cv_search_opendir+set}" = set; then
27986 ac_cv_search_opendir=no
27988 rm conftest.$ac_ext
27989 LIBS=$ac_func_search_save_LIBS
27991 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
27992 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
27993 ac_res=$ac_cv_search_opendir
27994 if test "$ac_res" != no; then
27995 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
28001 { echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
28002 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6; }
28003 if test "${ac_cv_header_mmap_anon+set}" = set; then
28004 echo $ECHO_N "(cached) $ECHO_C" >&6
28007 ac_cpp='$CPP $CPPFLAGS'
28008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28012 cat >conftest.$ac_ext <<_ACEOF
28015 cat confdefs.h >>conftest.$ac_ext
28016 cat >>conftest.$ac_ext <<_ACEOF
28017 /* end confdefs.h. */
28018 #include <sys/mman.h>
28019 #include <unistd.h>
28024 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
28029 rm -f conftest.$ac_objext
28030 if { (ac_try="$ac_compile"
28031 case "(($ac_try" in
28032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28033 *) ac_try_echo
=$ac_try;;
28035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28036 (eval "$ac_compile") 2>conftest.er1
28038 grep -v '^ *+' conftest.er1
>conftest.err
28040 cat conftest.err
>&5
28041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28042 (exit $ac_status); } &&
28043 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28044 { (case "(($ac_try" in
28045 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28046 *) ac_try_echo=$ac_try;;
28048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28049 (eval "$ac_try") 2>&5
28051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28052 (exit $ac_status); }; } &&
28053 { ac_try='test -s conftest.$ac_objext'
28054 { (case "(($ac_try" in
28055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28056 *) ac_try_echo
=$ac_try;;
28058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28059 (eval "$ac_try") 2>&5
28061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28062 (exit $ac_status); }; }; then
28063 ac_cv_header_mmap_anon
=yes
28065 echo "$as_me: failed program was:" >&5
28066 sed 's/^/| /' conftest.
$ac_ext >&5
28068 ac_cv_header_mmap_anon
=no
28071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28073 ac_cpp
='$CPP $CPPFLAGS'
28074 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28075 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28076 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28080 { echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
28081 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6; }
28082 if test "$ac_cv_header_mmap_anon" = yes; then
28084 cat >>confdefs.h
<<\_ACEOF
28085 #define HAVE_MMAP_ANONYMOUS 1
28090 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
28091 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
28092 if test "${ac_cv_header_stat_broken+set}" = set; then
28093 echo $ECHO_N "(cached) $ECHO_C" >&6
28095 cat >conftest.
$ac_ext <<_ACEOF
28098 cat confdefs.h
>>conftest.
$ac_ext
28099 cat >>conftest.
$ac_ext <<_ACEOF
28100 /* end confdefs.h. */
28101 #include <sys/types.h>
28102 #include <sys/stat.h>
28104 #if defined S_ISBLK && defined S_IFDIR
28105 # if S_ISBLK (S_IFDIR)
28110 #if defined S_ISBLK && defined S_IFCHR
28111 # if S_ISBLK (S_IFCHR)
28116 #if defined S_ISLNK && defined S_IFREG
28117 # if S_ISLNK (S_IFREG)
28122 #if defined S_ISSOCK && defined S_IFREG
28123 # if S_ISSOCK (S_IFREG)
28129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28130 $EGREP "You lose" >/dev
/null
2>&1; then
28131 ac_cv_header_stat_broken
=yes
28133 ac_cv_header_stat_broken
=no
28138 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
28139 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
28140 if test $ac_cv_header_stat_broken = yes; then
28142 cat >>confdefs.h
<<\_ACEOF
28143 #define STAT_MACROS_BROKEN 1
28148 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
28149 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
28150 if test "${ac_cv_header_stdc+set}" = set; then
28151 echo $ECHO_N "(cached) $ECHO_C" >&6
28153 cat >conftest.
$ac_ext <<_ACEOF
28156 cat confdefs.h
>>conftest.
$ac_ext
28157 cat >>conftest.
$ac_ext <<_ACEOF
28158 /* end confdefs.h. */
28159 #include <stdlib.h>
28160 #include <stdarg.h>
28161 #include <string.h>
28172 rm -f conftest.
$ac_objext
28173 if { (ac_try
="$ac_compile"
28174 case "(($ac_try" in
28175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28176 *) ac_try_echo=$ac_try;;
28178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28179 (eval "$ac_compile") 2>conftest.er1
28181 grep -v '^ *+' conftest.er1 >conftest.err
28183 cat conftest.err >&5
28184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28185 (exit $ac_status); } &&
28186 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28187 { (case "(($ac_try" in
28188 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28189 *) ac_try_echo
=$ac_try;;
28191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28192 (eval "$ac_try") 2>&5
28194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28195 (exit $ac_status); }; } &&
28196 { ac_try
='test -s conftest.$ac_objext'
28197 { (case "(($ac_try" in
28198 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28199 *) ac_try_echo=$ac_try;;
28201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28202 (eval "$ac_try") 2>&5
28204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28205 (exit $ac_status); }; }; then
28206 ac_cv_header_stdc=yes
28208 echo "$as_me: failed program was:" >&5
28209 sed 's/^/| /' conftest.$ac_ext >&5
28211 ac_cv_header_stdc=no
28214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28216 if test $ac_cv_header_stdc = yes; then
28217 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
28218 cat >conftest.$ac_ext <<_ACEOF
28221 cat confdefs.h >>conftest.$ac_ext
28222 cat >>conftest.$ac_ext <<_ACEOF
28223 /* end confdefs.h. */
28224 #include <string.h>
28227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28228 $EGREP "memchr" >/dev/null 2>&1; then
28231 ac_cv_header_stdc=no
28237 if test $ac_cv_header_stdc = yes; then
28238 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
28239 cat >conftest.$ac_ext <<_ACEOF
28242 cat confdefs.h >>conftest.$ac_ext
28243 cat >>conftest.$ac_ext <<_ACEOF
28244 /* end confdefs.h. */
28245 #include <stdlib.h>
28248 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28249 $EGREP "free" >/dev/null 2>&1; then
28252 ac_cv_header_stdc=no
28258 if test $ac_cv_header_stdc = yes; then
28259 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
28260 if test "$cross_compiling" = yes; then
28263 cat >conftest.$ac_ext <<_ACEOF
28266 cat confdefs.h >>conftest.$ac_ext
28267 cat >>conftest.$ac_ext <<_ACEOF
28268 /* end confdefs.h. */
28270 #include <stdlib.h>
28271 #if ((' ' & 0x0FF) == 0x020)
28272 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
28273 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
28275 # define ISLOWER(c) \
28276 (('a' <= (c) && (c) <= 'i') \
28277 || ('j' <= (c) && (c) <= 'r') \
28278 || ('s' <= (c) && (c) <= 'z'))
28279 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
28282 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
28287 for (i = 0; i < 256; i++)
28288 if (XOR (islower (i), ISLOWER (i))
28289 || toupper (i) != TOUPPER (i))
28294 rm -f conftest$ac_exeext
28295 if { (ac_try="$ac_link"
28296 case "(($ac_try" in
28297 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28298 *) ac_try_echo
=$ac_try;;
28300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28301 (eval "$ac_link") 2>&5
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28305 { (case "(($ac_try" in
28306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28307 *) ac_try_echo=$ac_try;;
28309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28310 (eval "$ac_try") 2>&5
28312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313 (exit $ac_status); }; }; then
28316 echo "$as_me: program exited with status $ac_status" >&5
28317 echo "$as_me: failed program was:" >&5
28318 sed 's/^/| /' conftest.$ac_ext >&5
28320 ( exit $ac_status )
28321 ac_cv_header_stdc=no
28323 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28329 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
28330 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
28331 if test $ac_cv_header_stdc = yes; then
28333 cat >>confdefs.h <<\_ACEOF
28334 #define STDC_HEADERS 1
28339 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
28340 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
28341 if test "${ac_cv_header_sys_wait_h+set}" = set; then
28342 echo $ECHO_N "(cached) $ECHO_C" >&6
28344 cat >conftest.$ac_ext <<_ACEOF
28347 cat confdefs.h >>conftest.$ac_ext
28348 cat >>conftest.$ac_ext <<_ACEOF
28349 /* end confdefs.h. */
28350 #include <sys/types.h>
28351 #include <sys/wait.h>
28352 #ifndef WEXITSTATUS
28353 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
28356 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
28364 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
28369 rm -f conftest.$ac_objext
28370 if { (ac_try="$ac_compile"
28371 case "(($ac_try" in
28372 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28373 *) ac_try_echo
=$ac_try;;
28375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28376 (eval "$ac_compile") 2>conftest.er1
28378 grep -v '^ *+' conftest.er1
>conftest.err
28380 cat conftest.err
>&5
28381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28382 (exit $ac_status); } &&
28383 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28384 { (case "(($ac_try" in
28385 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28386 *) ac_try_echo=$ac_try;;
28388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28389 (eval "$ac_try") 2>&5
28391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28392 (exit $ac_status); }; } &&
28393 { ac_try='test -s conftest.$ac_objext'
28394 { (case "(($ac_try" in
28395 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28396 *) ac_try_echo
=$ac_try;;
28398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28399 (eval "$ac_try") 2>&5
28401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28402 (exit $ac_status); }; }; then
28403 ac_cv_header_sys_wait_h
=yes
28405 echo "$as_me: failed program was:" >&5
28406 sed 's/^/| /' conftest.
$ac_ext >&5
28408 ac_cv_header_sys_wait_h
=no
28411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28413 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
28414 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
28415 if test $ac_cv_header_sys_wait_h = yes; then
28417 cat >>confdefs.h
<<\_ACEOF
28418 #define HAVE_SYS_WAIT_H 1
28423 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
28424 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
28425 if test "${ac_cv_header_time+set}" = set; then
28426 echo $ECHO_N "(cached) $ECHO_C" >&6
28428 cat >conftest.
$ac_ext <<_ACEOF
28431 cat confdefs.h
>>conftest.
$ac_ext
28432 cat >>conftest.
$ac_ext <<_ACEOF
28433 /* end confdefs.h. */
28434 #include <sys/types.h>
28435 #include <sys/time.h>
28441 if ((struct tm *) 0)
28447 rm -f conftest.
$ac_objext
28448 if { (ac_try
="$ac_compile"
28449 case "(($ac_try" in
28450 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28451 *) ac_try_echo=$ac_try;;
28453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28454 (eval "$ac_compile") 2>conftest.er1
28456 grep -v '^ *+' conftest.er1 >conftest.err
28458 cat conftest.err >&5
28459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28460 (exit $ac_status); } &&
28461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28462 { (case "(($ac_try" in
28463 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28464 *) ac_try_echo
=$ac_try;;
28466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28467 (eval "$ac_try") 2>&5
28469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28470 (exit $ac_status); }; } &&
28471 { ac_try
='test -s conftest.$ac_objext'
28472 { (case "(($ac_try" in
28473 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28474 *) ac_try_echo=$ac_try;;
28476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28477 (eval "$ac_try") 2>&5
28479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28480 (exit $ac_status); }; }; then
28481 ac_cv_header_time=yes
28483 echo "$as_me: failed program was:" >&5
28484 sed 's/^/| /' conftest.$ac_ext >&5
28486 ac_cv_header_time=no
28489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28491 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
28492 echo "${ECHO_T}$ac_cv_header_time" >&6; }
28493 if test $ac_cv_header_time = yes; then
28495 cat >>confdefs.h <<\_ACEOF
28496 #define TIME_WITH_SYS_TIME 1
28508 for ac_header in dlfcn.h execinfo.h fcntl.h inttypes.h limits.h link.h
28510 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
28511 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28512 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28514 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28515 echo $ECHO_N "(cached) $ECHO_C" >&6
28517 ac_res=`eval echo '${'$as_ac_Header'}'`
28518 { echo "$as_me:$LINENO: result: $ac_res" >&5
28519 echo "${ECHO_T}$ac_res" >&6; }
28521 # Is the header compilable?
28522 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28523 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28524 cat >conftest.$ac_ext <<_ACEOF
28527 cat confdefs.h >>conftest.$ac_ext
28528 cat >>conftest.$ac_ext <<_ACEOF
28529 /* end confdefs.h. */
28530 $ac_includes_default
28531 #include <$ac_header>
28533 rm -f conftest.$ac_objext
28534 if { (ac_try="$ac_compile"
28535 case "(($ac_try" in
28536 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28537 *) ac_try_echo
=$ac_try;;
28539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28540 (eval "$ac_compile") 2>conftest.er1
28542 grep -v '^ *+' conftest.er1
>conftest.err
28544 cat conftest.err
>&5
28545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28546 (exit $ac_status); } &&
28547 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28548 { (case "(($ac_try" in
28549 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28550 *) ac_try_echo=$ac_try;;
28552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28553 (eval "$ac_try") 2>&5
28555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28556 (exit $ac_status); }; } &&
28557 { ac_try='test -s conftest.$ac_objext'
28558 { (case "(($ac_try" in
28559 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28560 *) ac_try_echo
=$ac_try;;
28562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28563 (eval "$ac_try") 2>&5
28565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28566 (exit $ac_status); }; }; then
28567 ac_header_compiler
=yes
28569 echo "$as_me: failed program was:" >&5
28570 sed 's/^/| /' conftest.
$ac_ext >&5
28572 ac_header_compiler
=no
28575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28576 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28577 echo "${ECHO_T}$ac_header_compiler" >&6; }
28579 # Is the header present?
28580 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28581 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28582 cat >conftest.
$ac_ext <<_ACEOF
28585 cat confdefs.h
>>conftest.
$ac_ext
28586 cat >>conftest.
$ac_ext <<_ACEOF
28587 /* end confdefs.h. */
28588 #include <$ac_header>
28590 if { (ac_try
="$ac_cpp conftest.$ac_ext"
28591 case "(($ac_try" in
28592 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28593 *) ac_try_echo=$ac_try;;
28595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28596 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28598 grep -v '^ *+' conftest.er1 >conftest.err
28600 cat conftest.err >&5
28601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28602 (exit $ac_status); } >/dev/null; then
28603 if test -s conftest.err; then
28604 ac_cpp_err=$ac_c_preproc_warn_flag
28605 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28612 if test -z "$ac_cpp_err"; then
28613 ac_header_preproc=yes
28615 echo "$as_me: failed program was:" >&5
28616 sed 's/^/| /' conftest.$ac_ext >&5
28618 ac_header_preproc=no
28621 rm -f conftest.err conftest.$ac_ext
28622 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28623 echo "${ECHO_T}$ac_header_preproc" >&6; }
28625 # So? What about this header?
28626 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28628 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28629 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28630 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28631 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28632 ac_header_preproc=yes
28635 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28636 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28637 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28638 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28639 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28640 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28641 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28642 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28643 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28644 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28645 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28646 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28648 ## ----------------------------------- ##
28649 ## Report this to llvmbugs@cs.uiuc.edu ##
28650 ## ----------------------------------- ##
28652 ) | sed "s/^/$as_me: WARNING: /" >&2
28655 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28657 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28658 echo $ECHO_N "(cached) $ECHO_C" >&6
28660 eval "$as_ac_Header=\$ac_header_preproc"
28662 ac_res=`eval echo '${'$as_ac_Header'}'`
28663 { echo "$as_me:$LINENO: result: $ac_res" >&5
28664 echo "${ECHO_T}$ac_res" >&6; }
28667 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28668 cat >>confdefs.h <<_ACEOF
28669 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
28682 for ac_header in malloc.h setjmp.h signal.h stdint.h unistd.h utime.h
28684 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
28685 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28686 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28688 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28689 echo $ECHO_N "(cached) $ECHO_C" >&6
28691 ac_res=`eval echo '${'$as_ac_Header'}'`
28692 { echo "$as_me:$LINENO: result: $ac_res" >&5
28693 echo "${ECHO_T}$ac_res" >&6; }
28695 # Is the header compilable?
28696 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28697 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28698 cat >conftest.$ac_ext <<_ACEOF
28701 cat confdefs.h >>conftest.$ac_ext
28702 cat >>conftest.$ac_ext <<_ACEOF
28703 /* end confdefs.h. */
28704 $ac_includes_default
28705 #include <$ac_header>
28707 rm -f conftest.$ac_objext
28708 if { (ac_try="$ac_compile"
28709 case "(($ac_try" in
28710 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28711 *) ac_try_echo
=$ac_try;;
28713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28714 (eval "$ac_compile") 2>conftest.er1
28716 grep -v '^ *+' conftest.er1
>conftest.err
28718 cat conftest.err
>&5
28719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28720 (exit $ac_status); } &&
28721 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28722 { (case "(($ac_try" in
28723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28724 *) ac_try_echo=$ac_try;;
28726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28727 (eval "$ac_try") 2>&5
28729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28730 (exit $ac_status); }; } &&
28731 { ac_try='test -s conftest.$ac_objext'
28732 { (case "(($ac_try" in
28733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28734 *) ac_try_echo
=$ac_try;;
28736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28737 (eval "$ac_try") 2>&5
28739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28740 (exit $ac_status); }; }; then
28741 ac_header_compiler
=yes
28743 echo "$as_me: failed program was:" >&5
28744 sed 's/^/| /' conftest.
$ac_ext >&5
28746 ac_header_compiler
=no
28749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28750 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28751 echo "${ECHO_T}$ac_header_compiler" >&6; }
28753 # Is the header present?
28754 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28755 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28756 cat >conftest.
$ac_ext <<_ACEOF
28759 cat confdefs.h
>>conftest.
$ac_ext
28760 cat >>conftest.
$ac_ext <<_ACEOF
28761 /* end confdefs.h. */
28762 #include <$ac_header>
28764 if { (ac_try
="$ac_cpp conftest.$ac_ext"
28765 case "(($ac_try" in
28766 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28767 *) ac_try_echo=$ac_try;;
28769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28770 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28772 grep -v '^ *+' conftest.er1 >conftest.err
28774 cat conftest.err >&5
28775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 (exit $ac_status); } >/dev/null; then
28777 if test -s conftest.err; then
28778 ac_cpp_err=$ac_c_preproc_warn_flag
28779 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28786 if test -z "$ac_cpp_err"; then
28787 ac_header_preproc=yes
28789 echo "$as_me: failed program was:" >&5
28790 sed 's/^/| /' conftest.$ac_ext >&5
28792 ac_header_preproc=no
28795 rm -f conftest.err conftest.$ac_ext
28796 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28797 echo "${ECHO_T}$ac_header_preproc" >&6; }
28799 # So? What about this header?
28800 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28802 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28803 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28804 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28805 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28806 ac_header_preproc=yes
28809 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28810 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28811 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28812 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28813 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28814 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28815 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28816 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28818 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28819 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28820 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28822 ## ----------------------------------- ##
28823 ## Report this to llvmbugs@cs.uiuc.edu ##
28824 ## ----------------------------------- ##
28826 ) | sed "s/^/$as_me: WARNING: /" >&2
28829 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28831 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28832 echo $ECHO_N "(cached) $ECHO_C" >&6
28834 eval "$as_ac_Header=\$ac_header_preproc"
28836 ac_res=`eval echo '${'$as_ac_Header'}'`
28837 { echo "$as_me:$LINENO: result: $ac_res" >&5
28838 echo "${ECHO_T}$ac_res" >&6; }
28841 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28842 cat >>confdefs.h <<_ACEOF
28843 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
28855 for ac_header in windows.h sys/mman.h sys/param.h sys/resource.h sys/time.h
28857 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
28858 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28859 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28861 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28862 echo $ECHO_N "(cached) $ECHO_C" >&6
28864 ac_res=`eval echo '${'$as_ac_Header'}'`
28865 { echo "$as_me:$LINENO: result: $ac_res" >&5
28866 echo "${ECHO_T}$ac_res" >&6; }
28868 # Is the header compilable?
28869 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28870 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28871 cat >conftest.$ac_ext <<_ACEOF
28874 cat confdefs.h >>conftest.$ac_ext
28875 cat >>conftest.$ac_ext <<_ACEOF
28876 /* end confdefs.h. */
28877 $ac_includes_default
28878 #include <$ac_header>
28880 rm -f conftest.$ac_objext
28881 if { (ac_try="$ac_compile"
28882 case "(($ac_try" in
28883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28884 *) ac_try_echo
=$ac_try;;
28886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28887 (eval "$ac_compile") 2>conftest.er1
28889 grep -v '^ *+' conftest.er1
>conftest.err
28891 cat conftest.err
>&5
28892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28893 (exit $ac_status); } &&
28894 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28895 { (case "(($ac_try" in
28896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28897 *) ac_try_echo=$ac_try;;
28899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28900 (eval "$ac_try") 2>&5
28902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28903 (exit $ac_status); }; } &&
28904 { ac_try='test -s conftest.$ac_objext'
28905 { (case "(($ac_try" in
28906 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28907 *) ac_try_echo
=$ac_try;;
28909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28910 (eval "$ac_try") 2>&5
28912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28913 (exit $ac_status); }; }; then
28914 ac_header_compiler
=yes
28916 echo "$as_me: failed program was:" >&5
28917 sed 's/^/| /' conftest.
$ac_ext >&5
28919 ac_header_compiler
=no
28922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28923 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28924 echo "${ECHO_T}$ac_header_compiler" >&6; }
28926 # Is the header present?
28927 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28928 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28929 cat >conftest.
$ac_ext <<_ACEOF
28932 cat confdefs.h
>>conftest.
$ac_ext
28933 cat >>conftest.
$ac_ext <<_ACEOF
28934 /* end confdefs.h. */
28935 #include <$ac_header>
28937 if { (ac_try
="$ac_cpp conftest.$ac_ext"
28938 case "(($ac_try" in
28939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28940 *) ac_try_echo=$ac_try;;
28942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28943 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28945 grep -v '^ *+' conftest.er1 >conftest.err
28947 cat conftest.err >&5
28948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28949 (exit $ac_status); } >/dev/null; then
28950 if test -s conftest.err; then
28951 ac_cpp_err=$ac_c_preproc_warn_flag
28952 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28959 if test -z "$ac_cpp_err"; then
28960 ac_header_preproc=yes
28962 echo "$as_me: failed program was:" >&5
28963 sed 's/^/| /' conftest.$ac_ext >&5
28965 ac_header_preproc=no
28968 rm -f conftest.err conftest.$ac_ext
28969 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28970 echo "${ECHO_T}$ac_header_preproc" >&6; }
28972 # So? What about this header?
28973 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28975 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28976 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28978 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28979 ac_header_preproc=yes
28982 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28983 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28984 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28985 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28986 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28987 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28988 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28989 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28991 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28992 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28993 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28995 ## ----------------------------------- ##
28996 ## Report this to llvmbugs@cs.uiuc.edu ##
28997 ## ----------------------------------- ##
28999 ) | sed "s/^/$as_me: WARNING: /" >&2
29002 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29004 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29005 echo $ECHO_N "(cached) $ECHO_C" >&6
29007 eval "$as_ac_Header=\$ac_header_preproc"
29009 ac_res=`eval echo '${'$as_ac_Header'}'`
29010 { echo "$as_me:$LINENO: result: $ac_res" >&5
29011 echo "${ECHO_T}$ac_res" >&6; }
29014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29015 cat >>confdefs.h <<_ACEOF
29016 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
29026 for ac_header in sys/types.h malloc/malloc.h mach/mach.h
29028 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
29029 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29030 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29032 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29033 echo $ECHO_N "(cached) $ECHO_C" >&6
29035 ac_res=`eval echo '${'$as_ac_Header'}'`
29036 { echo "$as_me:$LINENO: result: $ac_res" >&5
29037 echo "${ECHO_T}$ac_res" >&6; }
29039 # Is the header compilable?
29040 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29041 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29042 cat >conftest.$ac_ext <<_ACEOF
29045 cat confdefs.h >>conftest.$ac_ext
29046 cat >>conftest.$ac_ext <<_ACEOF
29047 /* end confdefs.h. */
29048 $ac_includes_default
29049 #include <$ac_header>
29051 rm -f conftest.$ac_objext
29052 if { (ac_try="$ac_compile"
29053 case "(($ac_try" in
29054 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29055 *) ac_try_echo
=$ac_try;;
29057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29058 (eval "$ac_compile") 2>conftest.er1
29060 grep -v '^ *+' conftest.er1
>conftest.err
29062 cat conftest.err
>&5
29063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29064 (exit $ac_status); } &&
29065 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29066 { (case "(($ac_try" in
29067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29068 *) ac_try_echo=$ac_try;;
29070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29071 (eval "$ac_try") 2>&5
29073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29074 (exit $ac_status); }; } &&
29075 { ac_try='test -s conftest.$ac_objext'
29076 { (case "(($ac_try" in
29077 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29078 *) ac_try_echo
=$ac_try;;
29080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29081 (eval "$ac_try") 2>&5
29083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29084 (exit $ac_status); }; }; then
29085 ac_header_compiler
=yes
29087 echo "$as_me: failed program was:" >&5
29088 sed 's/^/| /' conftest.
$ac_ext >&5
29090 ac_header_compiler
=no
29093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29094 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29095 echo "${ECHO_T}$ac_header_compiler" >&6; }
29097 # Is the header present?
29098 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29099 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29100 cat >conftest.
$ac_ext <<_ACEOF
29103 cat confdefs.h
>>conftest.
$ac_ext
29104 cat >>conftest.
$ac_ext <<_ACEOF
29105 /* end confdefs.h. */
29106 #include <$ac_header>
29108 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29109 case "(($ac_try" in
29110 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29111 *) ac_try_echo=$ac_try;;
29113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29114 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29116 grep -v '^ *+' conftest.er1 >conftest.err
29118 cat conftest.err >&5
29119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29120 (exit $ac_status); } >/dev/null; then
29121 if test -s conftest.err; then
29122 ac_cpp_err=$ac_c_preproc_warn_flag
29123 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29130 if test -z "$ac_cpp_err"; then
29131 ac_header_preproc=yes
29133 echo "$as_me: failed program was:" >&5
29134 sed 's/^/| /' conftest.$ac_ext >&5
29136 ac_header_preproc=no
29139 rm -f conftest.err conftest.$ac_ext
29140 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29141 echo "${ECHO_T}$ac_header_preproc" >&6; }
29143 # So? What about this header?
29144 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29146 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29147 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29149 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29150 ac_header_preproc=yes
29153 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29154 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29155 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29156 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29157 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29158 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29159 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29160 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29161 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29162 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29163 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29164 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29166 ## ----------------------------------- ##
29167 ## Report this to llvmbugs@cs.uiuc.edu ##
29168 ## ----------------------------------- ##
29170 ) | sed "s/^/$as_me: WARNING: /" >&2
29173 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29175 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29176 echo $ECHO_N "(cached) $ECHO_C" >&6
29178 eval "$as_ac_Header=\$ac_header_preproc"
29180 ac_res=`eval echo '${'$as_ac_Header'}'`
29181 { echo "$as_me:$LINENO: result: $ac_res" >&5
29182 echo "${ECHO_T}$ac_res" >&6; }
29185 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29186 cat >>confdefs.h <<_ACEOF
29187 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
29194 if test "$ENABLE_THREADS" -eq 1 ; then
29195 if test "${ac_cv_header_pthread_h+set}" = set; then
29196 { echo "$as_me:$LINENO: checking for pthread.h" >&5
29197 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
29198 if test "${ac_cv_header_pthread_h+set}" = set; then
29199 echo $ECHO_N "(cached) $ECHO_C" >&6
29201 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
29202 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
29204 # Is the header compilable?
29205 { echo "$as_me:$LINENO: checking pthread.h usability" >&5
29206 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; }
29207 cat >conftest.$ac_ext <<_ACEOF
29210 cat confdefs.h >>conftest.$ac_ext
29211 cat >>conftest.$ac_ext <<_ACEOF
29212 /* end confdefs.h. */
29213 $ac_includes_default
29214 #include <pthread.h>
29216 rm -f conftest.$ac_objext
29217 if { (ac_try="$ac_compile"
29218 case "(($ac_try" in
29219 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29220 *) ac_try_echo
=$ac_try;;
29222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29223 (eval "$ac_compile") 2>conftest.er1
29225 grep -v '^ *+' conftest.er1
>conftest.err
29227 cat conftest.err
>&5
29228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29229 (exit $ac_status); } &&
29230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29231 { (case "(($ac_try" in
29232 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29233 *) ac_try_echo=$ac_try;;
29235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29236 (eval "$ac_try") 2>&5
29238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29239 (exit $ac_status); }; } &&
29240 { ac_try='test -s conftest.$ac_objext'
29241 { (case "(($ac_try" in
29242 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29243 *) ac_try_echo
=$ac_try;;
29245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29246 (eval "$ac_try") 2>&5
29248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29249 (exit $ac_status); }; }; then
29250 ac_header_compiler
=yes
29252 echo "$as_me: failed program was:" >&5
29253 sed 's/^/| /' conftest.
$ac_ext >&5
29255 ac_header_compiler
=no
29258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29259 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29260 echo "${ECHO_T}$ac_header_compiler" >&6; }
29262 # Is the header present?
29263 { echo "$as_me:$LINENO: checking pthread.h presence" >&5
29264 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6; }
29265 cat >conftest.
$ac_ext <<_ACEOF
29268 cat confdefs.h
>>conftest.
$ac_ext
29269 cat >>conftest.
$ac_ext <<_ACEOF
29270 /* end confdefs.h. */
29271 #include <pthread.h>
29273 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29274 case "(($ac_try" in
29275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29276 *) ac_try_echo=$ac_try;;
29278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29279 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29281 grep -v '^ *+' conftest.er1 >conftest.err
29283 cat conftest.err >&5
29284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29285 (exit $ac_status); } >/dev/null; then
29286 if test -s conftest.err; then
29287 ac_cpp_err=$ac_c_preproc_warn_flag
29288 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29295 if test -z "$ac_cpp_err"; then
29296 ac_header_preproc=yes
29298 echo "$as_me: failed program was:" >&5
29299 sed 's/^/| /' conftest.$ac_ext >&5
29301 ac_header_preproc=no
29304 rm -f conftest.err conftest.$ac_ext
29305 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29306 echo "${ECHO_T}$ac_header_preproc" >&6; }
29308 # So? What about this header?
29309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29311 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
29312 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29313 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
29314 echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
29315 ac_header_preproc=yes
29318 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
29319 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
29320 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
29321 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
29322 { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
29323 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
29324 { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
29325 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
29326 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
29327 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
29328 { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
29329 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
29331 ## ----------------------------------- ##
29332 ## Report this to llvmbugs@cs.uiuc.edu ##
29333 ## ----------------------------------- ##
29335 ) | sed "s/^/$as_me: WARNING: /" >&2
29338 { echo "$as_me:$LINENO: checking for pthread.h" >&5
29339 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
29340 if test "${ac_cv_header_pthread_h+set}" = set; then
29341 echo $ECHO_N "(cached) $ECHO_C" >&6
29343 ac_cv_header_pthread_h=$ac_header_preproc
29345 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
29346 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
29349 if test $ac_cv_header_pthread_h = yes; then
29365 { echo "$as_me:$LINENO: checking for HUGE_VAL sanity" >&5
29366 echo $ECHO_N "checking for HUGE_VAL sanity... $ECHO_C" >&6; }
29367 if test "${ac_cv_huge_val_sanity+set}" = set; then
29368 echo $ECHO_N "(cached) $ECHO_C" >&6
29372 ac_cpp='$CXXCPP $CPPFLAGS'
29373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29378 if test "$cross_compiling" = yes; then
29379 ac_cv_huge_val_sanity=yes
29381 cat >conftest.$ac_ext <<_ACEOF
29384 cat confdefs.h >>conftest.$ac_ext
29385 cat >>conftest.$ac_ext <<_ACEOF
29386 /* end confdefs.h. */
29391 double x = HUGE_VAL; return x != x;
29396 rm -f conftest$ac_exeext
29397 if { (ac_try="$ac_link"
29398 case "(($ac_try" in
29399 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29400 *) ac_try_echo
=$ac_try;;
29402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29403 (eval "$ac_link") 2>&5
29405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29406 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29407 { (case "(($ac_try" in
29408 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29409 *) ac_try_echo=$ac_try;;
29411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29412 (eval "$ac_try") 2>&5
29414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29415 (exit $ac_status); }; }; then
29416 ac_cv_huge_val_sanity=yes
29418 echo "$as_me: program exited with status $ac_status" >&5
29419 echo "$as_me: failed program was:" >&5
29420 sed 's/^/| /' conftest.$ac_ext >&5
29422 ( exit $ac_status )
29423 ac_cv_huge_val_sanity=no
29425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29430 ac_cpp='$CPP $CPPFLAGS'
29431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29437 { echo "$as_me:$LINENO: result: $ac_cv_huge_val_sanity" >&5
29438 echo "${ECHO_T}$ac_cv_huge_val_sanity" >&6; }
29439 HUGE_VAL_SANITY=$ac_cv_huge_val_sanity
29442 { echo "$as_me:$LINENO: checking for pid_t" >&5
29443 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
29444 if test "${ac_cv_type_pid_t+set}" = set; then
29445 echo $ECHO_N "(cached) $ECHO_C" >&6
29447 cat >conftest.$ac_ext <<_ACEOF
29450 cat confdefs.h >>conftest.$ac_ext
29451 cat >>conftest.$ac_ext <<_ACEOF
29452 /* end confdefs.h. */
29453 $ac_includes_default
29454 typedef pid_t ac__type_new_;
29458 if ((ac__type_new_ *) 0)
29460 if (sizeof (ac__type_new_))
29466 rm -f conftest.$ac_objext
29467 if { (ac_try="$ac_compile"
29468 case "(($ac_try" in
29469 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29470 *) ac_try_echo
=$ac_try;;
29472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29473 (eval "$ac_compile") 2>conftest.er1
29475 grep -v '^ *+' conftest.er1
>conftest.err
29477 cat conftest.err
>&5
29478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29479 (exit $ac_status); } &&
29480 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29481 { (case "(($ac_try" in
29482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29483 *) ac_try_echo=$ac_try;;
29485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29486 (eval "$ac_try") 2>&5
29488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29489 (exit $ac_status); }; } &&
29490 { ac_try='test -s conftest.$ac_objext'
29491 { (case "(($ac_try" in
29492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29493 *) ac_try_echo
=$ac_try;;
29495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29496 (eval "$ac_try") 2>&5
29498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29499 (exit $ac_status); }; }; then
29500 ac_cv_type_pid_t
=yes
29502 echo "$as_me: failed program was:" >&5
29503 sed 's/^/| /' conftest.
$ac_ext >&5
29505 ac_cv_type_pid_t
=no
29508 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29510 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
29511 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
29512 if test $ac_cv_type_pid_t = yes; then
29516 cat >>confdefs.h
<<_ACEOF
29522 { echo "$as_me:$LINENO: checking for size_t" >&5
29523 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
29524 if test "${ac_cv_type_size_t+set}" = set; then
29525 echo $ECHO_N "(cached) $ECHO_C" >&6
29527 cat >conftest.
$ac_ext <<_ACEOF
29530 cat confdefs.h
>>conftest.
$ac_ext
29531 cat >>conftest.
$ac_ext <<_ACEOF
29532 /* end confdefs.h. */
29533 $ac_includes_default
29534 typedef size_t ac__type_new_;
29538 if ((ac__type_new_ *) 0)
29540 if (sizeof (ac__type_new_))
29546 rm -f conftest.
$ac_objext
29547 if { (ac_try
="$ac_compile"
29548 case "(($ac_try" in
29549 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29550 *) ac_try_echo=$ac_try;;
29552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29553 (eval "$ac_compile") 2>conftest.er1
29555 grep -v '^ *+' conftest.er1 >conftest.err
29557 cat conftest.err >&5
29558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29559 (exit $ac_status); } &&
29560 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29561 { (case "(($ac_try" in
29562 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29563 *) ac_try_echo
=$ac_try;;
29565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29566 (eval "$ac_try") 2>&5
29568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29569 (exit $ac_status); }; } &&
29570 { ac_try
='test -s conftest.$ac_objext'
29571 { (case "(($ac_try" in
29572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29573 *) ac_try_echo=$ac_try;;
29575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29576 (eval "$ac_try") 2>&5
29578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29579 (exit $ac_status); }; }; then
29580 ac_cv_type_size_t=yes
29582 echo "$as_me: failed program was:" >&5
29583 sed 's/^/| /' conftest.$ac_ext >&5
29585 ac_cv_type_size_t=no
29588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29590 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29591 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
29592 if test $ac_cv_type_size_t = yes; then
29596 cat >>confdefs.h <<_ACEOF
29597 #define size_t unsigned int
29602 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
29603 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
29604 if test "${ac_cv_type_signal+set}" = set; then
29605 echo $ECHO_N "(cached) $ECHO_C" >&6
29607 cat >conftest.$ac_ext <<_ACEOF
29610 cat confdefs.h >>conftest.$ac_ext
29611 cat >>conftest.$ac_ext <<_ACEOF
29612 /* end confdefs.h. */
29613 #include <sys/types.h>
29614 #include <signal.h>
29619 return *(signal (0, 0)) (0) == 1;
29624 rm -f conftest.$ac_objext
29625 if { (ac_try="$ac_compile"
29626 case "(($ac_try" in
29627 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29628 *) ac_try_echo
=$ac_try;;
29630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29631 (eval "$ac_compile") 2>conftest.er1
29633 grep -v '^ *+' conftest.er1
>conftest.err
29635 cat conftest.err
>&5
29636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29637 (exit $ac_status); } &&
29638 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29639 { (case "(($ac_try" in
29640 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29641 *) ac_try_echo=$ac_try;;
29643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29644 (eval "$ac_try") 2>&5
29646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29647 (exit $ac_status); }; } &&
29648 { ac_try='test -s conftest.$ac_objext'
29649 { (case "(($ac_try" in
29650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29651 *) ac_try_echo
=$ac_try;;
29653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29654 (eval "$ac_try") 2>&5
29656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29657 (exit $ac_status); }; }; then
29658 ac_cv_type_signal
=int
29660 echo "$as_me: failed program was:" >&5
29661 sed 's/^/| /' conftest.
$ac_ext >&5
29663 ac_cv_type_signal
=void
29666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29668 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
29669 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
29671 cat >>confdefs.h
<<_ACEOF
29672 #define RETSIGTYPE $ac_cv_type_signal
29676 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
29677 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
29678 if test "${ac_cv_struct_tm+set}" = set; then
29679 echo $ECHO_N "(cached) $ECHO_C" >&6
29681 cat >conftest.
$ac_ext <<_ACEOF
29684 cat confdefs.h
>>conftest.
$ac_ext
29685 cat >>conftest.
$ac_ext <<_ACEOF
29686 /* end confdefs.h. */
29687 #include <sys/types.h>
29693 struct tm *tp; tp->tm_sec;
29698 rm -f conftest.
$ac_objext
29699 if { (ac_try
="$ac_compile"
29700 case "(($ac_try" in
29701 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29702 *) ac_try_echo=$ac_try;;
29704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29705 (eval "$ac_compile") 2>conftest.er1
29707 grep -v '^ *+' conftest.er1 >conftest.err
29709 cat conftest.err >&5
29710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29711 (exit $ac_status); } &&
29712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29713 { (case "(($ac_try" in
29714 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29715 *) ac_try_echo
=$ac_try;;
29717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29718 (eval "$ac_try") 2>&5
29720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29721 (exit $ac_status); }; } &&
29722 { ac_try
='test -s conftest.$ac_objext'
29723 { (case "(($ac_try" in
29724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29725 *) ac_try_echo=$ac_try;;
29727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29728 (eval "$ac_try") 2>&5
29730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29731 (exit $ac_status); }; }; then
29732 ac_cv_struct_tm=time.h
29734 echo "$as_me: failed program was:" >&5
29735 sed 's/^/| /' conftest.$ac_ext >&5
29737 ac_cv_struct_tm=sys/time.h
29740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29742 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
29743 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
29744 if test $ac_cv_struct_tm = sys/time.h; then
29746 cat >>confdefs.h <<\_ACEOF
29747 #define TM_IN_SYS_TIME 1
29752 { echo "$as_me:$LINENO: checking for int64_t" >&5
29753 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
29754 if test "${ac_cv_type_int64_t+set}" = set; then
29755 echo $ECHO_N "(cached) $ECHO_C" >&6
29757 cat >conftest.$ac_ext <<_ACEOF
29760 cat confdefs.h >>conftest.$ac_ext
29761 cat >>conftest.$ac_ext <<_ACEOF
29762 /* end confdefs.h. */
29763 $ac_includes_default
29764 typedef int64_t ac__type_new_;
29768 if ((ac__type_new_ *) 0)
29770 if (sizeof (ac__type_new_))
29776 rm -f conftest.$ac_objext
29777 if { (ac_try="$ac_compile"
29778 case "(($ac_try" in
29779 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29780 *) ac_try_echo
=$ac_try;;
29782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29783 (eval "$ac_compile") 2>conftest.er1
29785 grep -v '^ *+' conftest.er1
>conftest.err
29787 cat conftest.err
>&5
29788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29789 (exit $ac_status); } &&
29790 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29791 { (case "(($ac_try" in
29792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29793 *) ac_try_echo=$ac_try;;
29795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29796 (eval "$ac_try") 2>&5
29798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29799 (exit $ac_status); }; } &&
29800 { ac_try='test -s conftest.$ac_objext'
29801 { (case "(($ac_try" in
29802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29803 *) ac_try_echo
=$ac_try;;
29805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29806 (eval "$ac_try") 2>&5
29808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29809 (exit $ac_status); }; }; then
29810 ac_cv_type_int64_t
=yes
29812 echo "$as_me: failed program was:" >&5
29813 sed 's/^/| /' conftest.
$ac_ext >&5
29815 ac_cv_type_int64_t
=no
29818 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29820 { echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
29821 echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
29822 if test $ac_cv_type_int64_t = yes; then
29824 cat >>confdefs.h
<<_ACEOF
29825 #define HAVE_INT64_T 1
29830 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
29831 echo "$as_me: error: Type int64_t required but not found" >&2;}
29832 { (exit 1); exit 1; }; }
29835 { echo "$as_me:$LINENO: checking for uint64_t" >&5
29836 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
29837 if test "${ac_cv_type_uint64_t+set}" = set; then
29838 echo $ECHO_N "(cached) $ECHO_C" >&6
29840 cat >conftest.
$ac_ext <<_ACEOF
29843 cat confdefs.h
>>conftest.
$ac_ext
29844 cat >>conftest.
$ac_ext <<_ACEOF
29845 /* end confdefs.h. */
29846 $ac_includes_default
29847 typedef uint64_t ac__type_new_;
29851 if ((ac__type_new_ *) 0)
29853 if (sizeof (ac__type_new_))
29859 rm -f conftest.
$ac_objext
29860 if { (ac_try
="$ac_compile"
29861 case "(($ac_try" in
29862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29863 *) ac_try_echo=$ac_try;;
29865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29866 (eval "$ac_compile") 2>conftest.er1
29868 grep -v '^ *+' conftest.er1 >conftest.err
29870 cat conftest.err >&5
29871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29872 (exit $ac_status); } &&
29873 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29874 { (case "(($ac_try" in
29875 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29876 *) ac_try_echo
=$ac_try;;
29878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29879 (eval "$ac_try") 2>&5
29881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29882 (exit $ac_status); }; } &&
29883 { ac_try
='test -s conftest.$ac_objext'
29884 { (case "(($ac_try" in
29885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29886 *) ac_try_echo=$ac_try;;
29888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29889 (eval "$ac_try") 2>&5
29891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29892 (exit $ac_status); }; }; then
29893 ac_cv_type_uint64_t=yes
29895 echo "$as_me: failed program was:" >&5
29896 sed 's/^/| /' conftest.$ac_ext >&5
29898 ac_cv_type_uint64_t=no
29901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29903 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
29904 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
29905 if test $ac_cv_type_uint64_t = yes; then
29907 cat >>confdefs.h <<_ACEOF
29908 #define HAVE_UINT64_T 1
29913 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
29914 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
29915 if test "${ac_cv_type_u_int64_t+set}" = set; then
29916 echo $ECHO_N "(cached) $ECHO_C" >&6
29918 cat >conftest.$ac_ext <<_ACEOF
29921 cat confdefs.h >>conftest.$ac_ext
29922 cat >>conftest.$ac_ext <<_ACEOF
29923 /* end confdefs.h. */
29924 $ac_includes_default
29925 typedef u_int64_t ac__type_new_;
29929 if ((ac__type_new_ *) 0)
29931 if (sizeof (ac__type_new_))
29937 rm -f conftest.$ac_objext
29938 if { (ac_try="$ac_compile"
29939 case "(($ac_try" in
29940 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29941 *) ac_try_echo
=$ac_try;;
29943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29944 (eval "$ac_compile") 2>conftest.er1
29946 grep -v '^ *+' conftest.er1
>conftest.err
29948 cat conftest.err
>&5
29949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950 (exit $ac_status); } &&
29951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29952 { (case "(($ac_try" in
29953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29954 *) ac_try_echo=$ac_try;;
29956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29957 (eval "$ac_try") 2>&5
29959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29960 (exit $ac_status); }; } &&
29961 { ac_try='test -s conftest.$ac_objext'
29962 { (case "(($ac_try" in
29963 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29964 *) ac_try_echo
=$ac_try;;
29966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29967 (eval "$ac_try") 2>&5
29969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29970 (exit $ac_status); }; }; then
29971 ac_cv_type_u_int64_t
=yes
29973 echo "$as_me: failed program was:" >&5
29974 sed 's/^/| /' conftest.
$ac_ext >&5
29976 ac_cv_type_u_int64_t
=no
29979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29981 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
29982 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
29983 if test $ac_cv_type_u_int64_t = yes; then
29985 cat >>confdefs.h
<<_ACEOF
29986 #define HAVE_U_INT64_T 1
29991 { { echo "$as_me:$LINENO: error: Type uint64_t or u_int64_t required but not found" >&5
29992 echo "$as_me: error: Type uint64_t or u_int64_t required but not found" >&2;}
29993 { (exit 1); exit 1; }; }
30007 for ac_func
in backtrace ceilf floorf roundf rintf nearbyintf getcwd
30009 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30010 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30012 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30013 echo $ECHO_N "(cached) $ECHO_C" >&6
30015 cat >conftest.
$ac_ext <<_ACEOF
30018 cat confdefs.h
>>conftest.
$ac_ext
30019 cat >>conftest.
$ac_ext <<_ACEOF
30020 /* end confdefs.h. */
30021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30023 #define $ac_func innocuous_$ac_func
30025 /* System header to define __stub macros and hopefully few prototypes,
30026 which can conflict with char $ac_func (); below.
30027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30028 <limits.h> exists even on freestanding compilers. */
30031 # include <limits.h>
30033 # include <assert.h>
30038 /* Override any GCC internal prototype to avoid an error.
30039 Use char because int might match the return type of a GCC
30040 builtin and then its argument prototype would still apply. */
30045 /* The GNU C library defines this for functions which it implements
30046 to always fail with ENOSYS. Some functions are actually named
30047 something starting with __ and the normal name is an alias. */
30048 #if defined __stub_$ac_func || defined __stub___$ac_func
30055 return $ac_func ();
30060 rm -f conftest.
$ac_objext conftest
$ac_exeext
30061 if { (ac_try
="$ac_link"
30062 case "(($ac_try" in
30063 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30064 *) ac_try_echo=$ac_try;;
30066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30067 (eval "$ac_link") 2>conftest.er1
30069 grep -v '^ *+' conftest.er1 >conftest.err
30071 cat conftest.err >&5
30072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30073 (exit $ac_status); } &&
30074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30075 { (case "(($ac_try" in
30076 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30077 *) ac_try_echo
=$ac_try;;
30079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30080 (eval "$ac_try") 2>&5
30082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30083 (exit $ac_status); }; } &&
30084 { ac_try
='test -s conftest$ac_exeext'
30085 { (case "(($ac_try" in
30086 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30087 *) ac_try_echo=$ac_try;;
30089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30090 (eval "$ac_try") 2>&5
30092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30093 (exit $ac_status); }; }; then
30094 eval "$as_ac_var=yes"
30096 echo "$as_me: failed program was:" >&5
30097 sed 's/^/| /' conftest.$ac_ext >&5
30099 eval "$as_ac_var=no"
30102 rm -f core conftest.err conftest.$ac_objext \
30103 conftest$ac_exeext conftest.$ac_ext
30105 ac_res=`eval echo '${'$as_ac_var'}'`
30106 { echo "$as_me:$LINENO: result: $ac_res" >&5
30107 echo "${ECHO_T}$ac_res" >&6; }
30108 if test `eval echo '${'$as_ac_var'}'` = yes; then
30109 cat >>confdefs.h <<_ACEOF
30110 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
30121 for ac_func in getpagesize getrusage getrlimit setrlimit gettimeofday
30123 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
30124 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30126 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30127 echo $ECHO_N "(cached) $ECHO_C" >&6
30129 cat >conftest.$ac_ext <<_ACEOF
30132 cat confdefs.h >>conftest.$ac_ext
30133 cat >>conftest.$ac_ext <<_ACEOF
30134 /* end confdefs.h. */
30135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30137 #define $ac_func innocuous_$ac_func
30139 /* System header to define __stub macros and hopefully few prototypes,
30140 which can conflict with char $ac_func (); below.
30141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30142 <limits.h> exists even on freestanding compilers. */
30145 # include <limits.h>
30147 # include <assert.h>
30152 /* Override any GCC internal prototype to avoid an error.
30153 Use char because int might match the return type of a GCC
30154 builtin and then its argument prototype would still apply. */
30159 /* The GNU C library defines this for functions which it implements
30160 to always fail with ENOSYS. Some functions are actually named
30161 something starting with __ and the normal name is an alias. */
30162 #if defined __stub_$ac_func || defined __stub___$ac_func
30169 return $ac_func ();
30174 rm -f conftest.$ac_objext conftest$ac_exeext
30175 if { (ac_try="$ac_link"
30176 case "(($ac_try" in
30177 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30178 *) ac_try_echo
=$ac_try;;
30180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30181 (eval "$ac_link") 2>conftest.er1
30183 grep -v '^ *+' conftest.er1
>conftest.err
30185 cat conftest.err
>&5
30186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30187 (exit $ac_status); } &&
30188 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30189 { (case "(($ac_try" in
30190 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30191 *) ac_try_echo=$ac_try;;
30193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30194 (eval "$ac_try") 2>&5
30196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30197 (exit $ac_status); }; } &&
30198 { ac_try='test -s conftest$ac_exeext'
30199 { (case "(($ac_try" in
30200 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30201 *) ac_try_echo
=$ac_try;;
30203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30204 (eval "$ac_try") 2>&5
30206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207 (exit $ac_status); }; }; then
30208 eval "$as_ac_var=yes"
30210 echo "$as_me: failed program was:" >&5
30211 sed 's/^/| /' conftest.
$ac_ext >&5
30213 eval "$as_ac_var=no"
30216 rm -f core conftest.err conftest.
$ac_objext \
30217 conftest
$ac_exeext conftest.
$ac_ext
30219 ac_res
=`eval echo '${'$as_ac_var'}'`
30220 { echo "$as_me:$LINENO: result: $ac_res" >&5
30221 echo "${ECHO_T}$ac_res" >&6; }
30222 if test `eval echo '${'$as_ac_var'}'` = yes; then
30223 cat >>confdefs.h
<<_ACEOF
30224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30233 for ac_func
in isatty mkdtemp mkstemp
30235 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30236 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30238 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30239 echo $ECHO_N "(cached) $ECHO_C" >&6
30241 cat >conftest.
$ac_ext <<_ACEOF
30244 cat confdefs.h
>>conftest.
$ac_ext
30245 cat >>conftest.
$ac_ext <<_ACEOF
30246 /* end confdefs.h. */
30247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30249 #define $ac_func innocuous_$ac_func
30251 /* System header to define __stub macros and hopefully few prototypes,
30252 which can conflict with char $ac_func (); below.
30253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30254 <limits.h> exists even on freestanding compilers. */
30257 # include <limits.h>
30259 # include <assert.h>
30264 /* Override any GCC internal prototype to avoid an error.
30265 Use char because int might match the return type of a GCC
30266 builtin and then its argument prototype would still apply. */
30271 /* The GNU C library defines this for functions which it implements
30272 to always fail with ENOSYS. Some functions are actually named
30273 something starting with __ and the normal name is an alias. */
30274 #if defined __stub_$ac_func || defined __stub___$ac_func
30281 return $ac_func ();
30286 rm -f conftest.
$ac_objext conftest
$ac_exeext
30287 if { (ac_try
="$ac_link"
30288 case "(($ac_try" in
30289 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30290 *) ac_try_echo=$ac_try;;
30292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30293 (eval "$ac_link") 2>conftest.er1
30295 grep -v '^ *+' conftest.er1 >conftest.err
30297 cat conftest.err >&5
30298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30299 (exit $ac_status); } &&
30300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30301 { (case "(($ac_try" in
30302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30303 *) ac_try_echo
=$ac_try;;
30305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30306 (eval "$ac_try") 2>&5
30308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 (exit $ac_status); }; } &&
30310 { ac_try
='test -s conftest$ac_exeext'
30311 { (case "(($ac_try" in
30312 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30313 *) ac_try_echo=$ac_try;;
30315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30316 (eval "$ac_try") 2>&5
30318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30319 (exit $ac_status); }; }; then
30320 eval "$as_ac_var=yes"
30322 echo "$as_me: failed program was:" >&5
30323 sed 's/^/| /' conftest.$ac_ext >&5
30325 eval "$as_ac_var=no"
30328 rm -f core conftest.err conftest.$ac_objext \
30329 conftest$ac_exeext conftest.$ac_ext
30331 ac_res=`eval echo '${'$as_ac_var'}'`
30332 { echo "$as_me:$LINENO: result: $ac_res" >&5
30333 echo "${ECHO_T}$ac_res" >&6; }
30334 if test `eval echo '${'$as_ac_var'}'` = yes; then
30335 cat >>confdefs.h <<_ACEOF
30336 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
30349 for ac_func in mktemp realpath sbrk setrlimit strdup strerror strerror_r
30351 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
30352 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30354 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30355 echo $ECHO_N "(cached) $ECHO_C" >&6
30357 cat >conftest.$ac_ext <<_ACEOF
30360 cat confdefs.h >>conftest.$ac_ext
30361 cat >>conftest.$ac_ext <<_ACEOF
30362 /* end confdefs.h. */
30363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30365 #define $ac_func innocuous_$ac_func
30367 /* System header to define __stub macros and hopefully few prototypes,
30368 which can conflict with char $ac_func (); below.
30369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30370 <limits.h> exists even on freestanding compilers. */
30373 # include <limits.h>
30375 # include <assert.h>
30380 /* Override any GCC internal prototype to avoid an error.
30381 Use char because int might match the return type of a GCC
30382 builtin and then its argument prototype would still apply. */
30387 /* The GNU C library defines this for functions which it implements
30388 to always fail with ENOSYS. Some functions are actually named
30389 something starting with __ and the normal name is an alias. */
30390 #if defined __stub_$ac_func || defined __stub___$ac_func
30397 return $ac_func ();
30402 rm -f conftest.$ac_objext conftest$ac_exeext
30403 if { (ac_try="$ac_link"
30404 case "(($ac_try" in
30405 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30406 *) ac_try_echo
=$ac_try;;
30408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30409 (eval "$ac_link") 2>conftest.er1
30411 grep -v '^ *+' conftest.er1
>conftest.err
30413 cat conftest.err
>&5
30414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30415 (exit $ac_status); } &&
30416 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30417 { (case "(($ac_try" in
30418 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30419 *) ac_try_echo=$ac_try;;
30421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30422 (eval "$ac_try") 2>&5
30424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30425 (exit $ac_status); }; } &&
30426 { ac_try='test -s conftest$ac_exeext'
30427 { (case "(($ac_try" in
30428 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30429 *) ac_try_echo
=$ac_try;;
30431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30432 (eval "$ac_try") 2>&5
30434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30435 (exit $ac_status); }; }; then
30436 eval "$as_ac_var=yes"
30438 echo "$as_me: failed program was:" >&5
30439 sed 's/^/| /' conftest.
$ac_ext >&5
30441 eval "$as_ac_var=no"
30444 rm -f core conftest.err conftest.
$ac_objext \
30445 conftest
$ac_exeext conftest.
$ac_ext
30447 ac_res
=`eval echo '${'$as_ac_var'}'`
30448 { echo "$as_me:$LINENO: result: $ac_res" >&5
30449 echo "${ECHO_T}$ac_res" >&6; }
30450 if test `eval echo '${'$as_ac_var'}'` = yes; then
30451 cat >>confdefs.h
<<_ACEOF
30452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30462 for ac_func
in strtoll strtoq sysconf malloc_zone_statistics
30464 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30465 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30467 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30468 echo $ECHO_N "(cached) $ECHO_C" >&6
30470 cat >conftest.
$ac_ext <<_ACEOF
30473 cat confdefs.h
>>conftest.
$ac_ext
30474 cat >>conftest.
$ac_ext <<_ACEOF
30475 /* end confdefs.h. */
30476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30478 #define $ac_func innocuous_$ac_func
30480 /* System header to define __stub macros and hopefully few prototypes,
30481 which can conflict with char $ac_func (); below.
30482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30483 <limits.h> exists even on freestanding compilers. */
30486 # include <limits.h>
30488 # include <assert.h>
30493 /* Override any GCC internal prototype to avoid an error.
30494 Use char because int might match the return type of a GCC
30495 builtin and then its argument prototype would still apply. */
30500 /* The GNU C library defines this for functions which it implements
30501 to always fail with ENOSYS. Some functions are actually named
30502 something starting with __ and the normal name is an alias. */
30503 #if defined __stub_$ac_func || defined __stub___$ac_func
30510 return $ac_func ();
30515 rm -f conftest.
$ac_objext conftest
$ac_exeext
30516 if { (ac_try
="$ac_link"
30517 case "(($ac_try" in
30518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30519 *) ac_try_echo=$ac_try;;
30521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30522 (eval "$ac_link") 2>conftest.er1
30524 grep -v '^ *+' conftest.er1 >conftest.err
30526 cat conftest.err >&5
30527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30528 (exit $ac_status); } &&
30529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30530 { (case "(($ac_try" in
30531 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30532 *) ac_try_echo
=$ac_try;;
30534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30535 (eval "$ac_try") 2>&5
30537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30538 (exit $ac_status); }; } &&
30539 { ac_try
='test -s conftest$ac_exeext'
30540 { (case "(($ac_try" in
30541 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30542 *) ac_try_echo=$ac_try;;
30544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30545 (eval "$ac_try") 2>&5
30547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30548 (exit $ac_status); }; }; then
30549 eval "$as_ac_var=yes"
30551 echo "$as_me: failed program was:" >&5
30552 sed 's/^/| /' conftest.$ac_ext >&5
30554 eval "$as_ac_var=no"
30557 rm -f core conftest.err conftest.$ac_objext \
30558 conftest$ac_exeext conftest.$ac_ext
30560 ac_res=`eval echo '${'$as_ac_var'}'`
30561 { echo "$as_me:$LINENO: result: $ac_res" >&5
30562 echo "${ECHO_T}$ac_res" >&6; }
30563 if test `eval echo '${'$as_ac_var'}'` = yes; then
30564 cat >>confdefs.h <<_ACEOF
30565 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
30575 for ac_func in setjmp longjmp sigsetjmp siglongjmp
30577 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
30578 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30580 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30581 echo $ECHO_N "(cached) $ECHO_C" >&6
30583 cat >conftest.$ac_ext <<_ACEOF
30586 cat confdefs.h >>conftest.$ac_ext
30587 cat >>conftest.$ac_ext <<_ACEOF
30588 /* end confdefs.h. */
30589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30591 #define $ac_func innocuous_$ac_func
30593 /* System header to define __stub macros and hopefully few prototypes,
30594 which can conflict with char $ac_func (); below.
30595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30596 <limits.h> exists even on freestanding compilers. */
30599 # include <limits.h>
30601 # include <assert.h>
30606 /* Override any GCC internal prototype to avoid an error.
30607 Use char because int might match the return type of a GCC
30608 builtin and then its argument prototype would still apply. */
30613 /* The GNU C library defines this for functions which it implements
30614 to always fail with ENOSYS. Some functions are actually named
30615 something starting with __ and the normal name is an alias. */
30616 #if defined __stub_$ac_func || defined __stub___$ac_func
30623 return $ac_func ();
30628 rm -f conftest.$ac_objext conftest$ac_exeext
30629 if { (ac_try="$ac_link"
30630 case "(($ac_try" in
30631 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30632 *) ac_try_echo
=$ac_try;;
30634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30635 (eval "$ac_link") 2>conftest.er1
30637 grep -v '^ *+' conftest.er1
>conftest.err
30639 cat conftest.err
>&5
30640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30641 (exit $ac_status); } &&
30642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30643 { (case "(($ac_try" in
30644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30645 *) ac_try_echo=$ac_try;;
30647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30648 (eval "$ac_try") 2>&5
30650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30651 (exit $ac_status); }; } &&
30652 { ac_try='test -s conftest$ac_exeext'
30653 { (case "(($ac_try" in
30654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30655 *) ac_try_echo
=$ac_try;;
30657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30658 (eval "$ac_try") 2>&5
30660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30661 (exit $ac_status); }; }; then
30662 eval "$as_ac_var=yes"
30664 echo "$as_me: failed program was:" >&5
30665 sed 's/^/| /' conftest.
$ac_ext >&5
30667 eval "$as_ac_var=no"
30670 rm -f core conftest.err conftest.
$ac_objext \
30671 conftest
$ac_exeext conftest.
$ac_ext
30673 ac_res
=`eval echo '${'$as_ac_var'}'`
30674 { echo "$as_me:$LINENO: result: $ac_res" >&5
30675 echo "${ECHO_T}$ac_res" >&6; }
30676 if test `eval echo '${'$as_ac_var'}'` = yes; then
30677 cat >>confdefs.h
<<_ACEOF
30678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30684 { echo "$as_me:$LINENO: checking if printf has the %a format character" >&5
30685 echo $ECHO_N "checking if printf has the %a format character... $ECHO_C" >&6; }
30686 if test "${llvm_cv_c_printf_a+set}" = set; then
30687 echo $ECHO_N "(cached) $ECHO_C" >&6
30690 ac_cpp
='$CPP $CPPFLAGS'
30691 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30692 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30693 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30695 if test "$cross_compiling" = yes; then
30696 llvmac_cv_c_printf_a
=no
30698 cat >conftest.
$ac_ext <<_ACEOF
30702 cat confdefs.h
>>conftest.
$ac_ext
30703 cat >>conftest.
$ac_ext <<_ACEOF
30704 /* end confdefs.h. */
30707 #include <stdlib.h>
30713 volatile double A, B;
30717 sprintf(Buffer, "%a", A);
30721 if (A != 0x1.999999999999ap-4)
30728 rm -f conftest
$ac_exeext
30729 if { (ac_try
="$ac_link"
30730 case "(($ac_try" in
30731 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30732 *) ac_try_echo=$ac_try;;
30734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30735 (eval "$ac_link") 2>&5
30737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30738 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30739 { (case "(($ac_try" in
30740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30741 *) ac_try_echo
=$ac_try;;
30743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30744 (eval "$ac_try") 2>&5
30746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30747 (exit $ac_status); }; }; then
30748 llvm_cv_c_printf_a
=yes
30750 echo "$as_me: program exited with status $ac_status" >&5
30751 echo "$as_me: failed program was:" >&5
30752 sed 's/^/| /' conftest.
$ac_ext >&5
30754 ( exit $ac_status )
30755 llvmac_cv_c_printf_a
=no
30757 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
30762 ac_cpp
='$CPP $CPPFLAGS'
30763 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30764 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30765 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30768 { echo "$as_me:$LINENO: result: $llvm_cv_c_printf_a" >&5
30769 echo "${ECHO_T}$llvm_cv_c_printf_a" >&6; }
30770 if test "$llvm_cv_c_printf_a" = "yes"; then
30772 cat >>confdefs.h
<<\_ACEOF
30773 #define HAVE_PRINTF_A 1
30778 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
30779 # for constant arguments. Useless!
30780 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
30781 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
30782 if test "${ac_cv_working_alloca_h+set}" = set; then
30783 echo $ECHO_N "(cached) $ECHO_C" >&6
30785 cat >conftest.
$ac_ext <<_ACEOF
30788 cat confdefs.h
>>conftest.
$ac_ext
30789 cat >>conftest.
$ac_ext <<_ACEOF
30790 /* end confdefs.h. */
30791 #include <alloca.h>
30795 char *p = (char *) alloca (2 * sizeof (int));
30801 rm -f conftest.
$ac_objext conftest
$ac_exeext
30802 if { (ac_try
="$ac_link"
30803 case "(($ac_try" in
30804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30805 *) ac_try_echo=$ac_try;;
30807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30808 (eval "$ac_link") 2>conftest.er1
30810 grep -v '^ *+' conftest.er1 >conftest.err
30812 cat conftest.err >&5
30813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30814 (exit $ac_status); } &&
30815 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30816 { (case "(($ac_try" in
30817 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30818 *) ac_try_echo
=$ac_try;;
30820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30821 (eval "$ac_try") 2>&5
30823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30824 (exit $ac_status); }; } &&
30825 { ac_try
='test -s conftest$ac_exeext'
30826 { (case "(($ac_try" in
30827 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30828 *) ac_try_echo=$ac_try;;
30830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30831 (eval "$ac_try") 2>&5
30833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30834 (exit $ac_status); }; }; then
30835 ac_cv_working_alloca_h=yes
30837 echo "$as_me: failed program was:" >&5
30838 sed 's/^/| /' conftest.$ac_ext >&5
30840 ac_cv_working_alloca_h=no
30843 rm -f core conftest.err conftest.$ac_objext \
30844 conftest$ac_exeext conftest.$ac_ext
30846 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
30847 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
30848 if test $ac_cv_working_alloca_h = yes; then
30850 cat >>confdefs.h <<\_ACEOF
30851 #define HAVE_ALLOCA_H 1
30856 { echo "$as_me:$LINENO: checking for alloca" >&5
30857 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
30858 if test "${ac_cv_func_alloca_works+set}" = set; then
30859 echo $ECHO_N "(cached) $ECHO_C" >&6
30861 cat >conftest.$ac_ext <<_ACEOF
30864 cat confdefs.h >>conftest.$ac_ext
30865 cat >>conftest.$ac_ext <<_ACEOF
30866 /* end confdefs.h. */
30868 # define alloca __builtin_alloca
30871 # include <malloc.h>
30872 # define alloca _alloca
30875 # include <alloca.h>
30880 # ifndef alloca /* predefined by HP cc +Olibcalls */
30891 char *p = (char *) alloca (1);
30897 rm -f conftest.$ac_objext conftest$ac_exeext
30898 if { (ac_try="$ac_link"
30899 case "(($ac_try" in
30900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30901 *) ac_try_echo
=$ac_try;;
30903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30904 (eval "$ac_link") 2>conftest.er1
30906 grep -v '^ *+' conftest.er1
>conftest.err
30908 cat conftest.err
>&5
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); } &&
30911 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30912 { (case "(($ac_try" in
30913 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30914 *) ac_try_echo=$ac_try;;
30916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30917 (eval "$ac_try") 2>&5
30919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30920 (exit $ac_status); }; } &&
30921 { ac_try='test -s conftest$ac_exeext'
30922 { (case "(($ac_try" in
30923 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30924 *) ac_try_echo
=$ac_try;;
30926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30927 (eval "$ac_try") 2>&5
30929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30930 (exit $ac_status); }; }; then
30931 ac_cv_func_alloca_works
=yes
30933 echo "$as_me: failed program was:" >&5
30934 sed 's/^/| /' conftest.
$ac_ext >&5
30936 ac_cv_func_alloca_works
=no
30939 rm -f core conftest.err conftest.
$ac_objext \
30940 conftest
$ac_exeext conftest.
$ac_ext
30942 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
30943 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
30945 if test $ac_cv_func_alloca_works = yes; then
30947 cat >>confdefs.h
<<\_ACEOF
30948 #define HAVE_ALLOCA 1
30952 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
30953 # that cause trouble. Some versions do not even contain alloca or
30954 # contain a buggy version. If you still want to use their alloca,
30955 # use ar to extract alloca.o from them instead of compiling alloca.c.
30957 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
30959 cat >>confdefs.h
<<\_ACEOF
30964 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
30965 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
30966 if test "${ac_cv_os_cray+set}" = set; then
30967 echo $ECHO_N "(cached) $ECHO_C" >&6
30969 cat >conftest.
$ac_ext <<_ACEOF
30972 cat confdefs.h
>>conftest.
$ac_ext
30973 cat >>conftest.
$ac_ext <<_ACEOF
30974 /* end confdefs.h. */
30975 #if defined CRAY && ! defined CRAY2
30982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30983 $EGREP "webecray" >/dev
/null
2>&1; then
30991 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
30992 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
30993 if test $ac_cv_os_cray = yes; then
30994 for ac_func
in _getb67 GETB67 getb67
; do
30995 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30996 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30998 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30999 echo $ECHO_N "(cached) $ECHO_C" >&6
31001 cat >conftest.
$ac_ext <<_ACEOF
31004 cat confdefs.h
>>conftest.
$ac_ext
31005 cat >>conftest.
$ac_ext <<_ACEOF
31006 /* end confdefs.h. */
31007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31009 #define $ac_func innocuous_$ac_func
31011 /* System header to define __stub macros and hopefully few prototypes,
31012 which can conflict with char $ac_func (); below.
31013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31014 <limits.h> exists even on freestanding compilers. */
31017 # include <limits.h>
31019 # include <assert.h>
31024 /* Override any GCC internal prototype to avoid an error.
31025 Use char because int might match the return type of a GCC
31026 builtin and then its argument prototype would still apply. */
31031 /* The GNU C library defines this for functions which it implements
31032 to always fail with ENOSYS. Some functions are actually named
31033 something starting with __ and the normal name is an alias. */
31034 #if defined __stub_$ac_func || defined __stub___$ac_func
31041 return $ac_func ();
31046 rm -f conftest.
$ac_objext conftest
$ac_exeext
31047 if { (ac_try
="$ac_link"
31048 case "(($ac_try" in
31049 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31050 *) ac_try_echo=$ac_try;;
31052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31053 (eval "$ac_link") 2>conftest.er1
31055 grep -v '^ *+' conftest.er1 >conftest.err
31057 cat conftest.err >&5
31058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31059 (exit $ac_status); } &&
31060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31061 { (case "(($ac_try" in
31062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31063 *) ac_try_echo
=$ac_try;;
31065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31066 (eval "$ac_try") 2>&5
31068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31069 (exit $ac_status); }; } &&
31070 { ac_try
='test -s conftest$ac_exeext'
31071 { (case "(($ac_try" in
31072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31073 *) ac_try_echo=$ac_try;;
31075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31076 (eval "$ac_try") 2>&5
31078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31079 (exit $ac_status); }; }; then
31080 eval "$as_ac_var=yes"
31082 echo "$as_me: failed program was:" >&5
31083 sed 's/^/| /' conftest.$ac_ext >&5
31085 eval "$as_ac_var=no"
31088 rm -f core conftest.err conftest.$ac_objext \
31089 conftest$ac_exeext conftest.$ac_ext
31091 ac_res=`eval echo '${'$as_ac_var'}'`
31092 { echo "$as_me:$LINENO: result: $ac_res" >&5
31093 echo "${ECHO_T}$ac_res" >&6; }
31094 if test `eval echo '${'$as_ac_var'}'` = yes; then
31096 cat >>confdefs.h <<_ACEOF
31097 #define CRAY_STACKSEG_END $ac_func
31106 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
31107 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
31108 if test "${ac_cv_c_stack_direction+set}" = set; then
31109 echo $ECHO_N "(cached) $ECHO_C" >&6
31111 if test "$cross_compiling" = yes; then
31112 ac_cv_c_stack_direction=0
31114 cat >conftest.$ac_ext <<_ACEOF
31117 cat confdefs.h >>conftest.$ac_ext
31118 cat >>conftest.$ac_ext <<_ACEOF
31119 /* end confdefs.h. */
31120 $ac_includes_default
31122 find_stack_direction ()
31124 static char *addr = 0;
31129 return find_stack_direction ();
31132 return (&dummy > addr) ? 1 : -1;
31138 return find_stack_direction () < 0;
31141 rm -f conftest$ac_exeext
31142 if { (ac_try="$ac_link"
31143 case "(($ac_try" in
31144 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31145 *) ac_try_echo
=$ac_try;;
31147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31148 (eval "$ac_link") 2>&5
31150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31151 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
31152 { (case "(($ac_try" in
31153 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31154 *) ac_try_echo=$ac_try;;
31156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31157 (eval "$ac_try") 2>&5
31159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31160 (exit $ac_status); }; }; then
31161 ac_cv_c_stack_direction=1
31163 echo "$as_me: program exited with status $ac_status" >&5
31164 echo "$as_me: failed program was:" >&5
31165 sed 's/^/| /' conftest.$ac_ext >&5
31167 ( exit $ac_status )
31168 ac_cv_c_stack_direction=-1
31170 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31175 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
31176 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
31178 cat >>confdefs.h <<_ACEOF
31179 #define STACK_DIRECTION $ac_cv_c_stack_direction
31186 { echo "$as_me:$LINENO: checking for srand48/lrand48/drand48 in <stdlib.h>" >&5
31187 echo $ECHO_N "checking for srand48/lrand48/drand48 in <stdlib.h>... $ECHO_C" >&6; }
31188 if test "${ac_cv_func_rand48+set}" = set; then
31189 echo $ECHO_N "(cached) $ECHO_C" >&6
31192 ac_cpp='$CXXCPP $CPPFLAGS'
31193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31197 cat >conftest.$ac_ext <<_ACEOF
31200 cat confdefs.h >>conftest.$ac_ext
31201 cat >>conftest.$ac_ext <<_ACEOF
31202 /* end confdefs.h. */
31203 #include <stdlib.h>
31207 srand48(0);lrand48();drand48();
31212 rm -f conftest.$ac_objext
31213 if { (ac_try="$ac_compile"
31214 case "(($ac_try" in
31215 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31216 *) ac_try_echo
=$ac_try;;
31218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31219 (eval "$ac_compile") 2>conftest.er1
31221 grep -v '^ *+' conftest.er1
>conftest.err
31223 cat conftest.err
>&5
31224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31225 (exit $ac_status); } &&
31226 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31227 { (case "(($ac_try" in
31228 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31229 *) ac_try_echo=$ac_try;;
31231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31232 (eval "$ac_try") 2>&5
31234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31235 (exit $ac_status); }; } &&
31236 { ac_try='test -s conftest.$ac_objext'
31237 { (case "(($ac_try" in
31238 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31239 *) ac_try_echo
=$ac_try;;
31241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31242 (eval "$ac_try") 2>&5
31244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31245 (exit $ac_status); }; }; then
31246 ac_cv_func_rand48
=yes
31248 echo "$as_me: failed program was:" >&5
31249 sed 's/^/| /' conftest.
$ac_ext >&5
31251 ac_cv_func_rand48
=no
31254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31256 ac_cpp
='$CPP $CPPFLAGS'
31257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31262 { echo "$as_me:$LINENO: result: $ac_cv_func_rand48" >&5
31263 echo "${ECHO_T}$ac_cv_func_rand48" >&6; }
31265 if test "$ac_cv_func_rand48" = "yes" ; then
31267 cat >>confdefs.h
<<\_ACEOF
31268 #define HAVE_RAND48 1
31274 { echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
31275 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6; }
31276 if test "${ac_cv_cxx_namespaces+set}" = set; then
31277 echo $ECHO_N "(cached) $ECHO_C" >&6
31280 ac_cpp
='$CXXCPP $CPPFLAGS'
31281 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31282 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31283 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31285 cat >conftest.
$ac_ext <<_ACEOF
31288 cat confdefs.h
>>conftest.
$ac_ext
31289 cat >>conftest.
$ac_ext <<_ACEOF
31290 /* end confdefs.h. */
31291 namespace Outer { namespace Inner { int i = 0; }}
31295 using namespace Outer::Inner; return i;
31300 rm -f conftest.
$ac_objext
31301 if { (ac_try
="$ac_compile"
31302 case "(($ac_try" in
31303 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31304 *) ac_try_echo=$ac_try;;
31306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31307 (eval "$ac_compile") 2>conftest.er1
31309 grep -v '^ *+' conftest.er1 >conftest.err
31311 cat conftest.err >&5
31312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31313 (exit $ac_status); } &&
31314 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31315 { (case "(($ac_try" in
31316 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31317 *) ac_try_echo
=$ac_try;;
31319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31320 (eval "$ac_try") 2>&5
31322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31323 (exit $ac_status); }; } &&
31324 { ac_try
='test -s conftest.$ac_objext'
31325 { (case "(($ac_try" in
31326 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31327 *) ac_try_echo=$ac_try;;
31329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31330 (eval "$ac_try") 2>&5
31332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31333 (exit $ac_status); }; }; then
31334 ac_cv_cxx_namespaces=yes
31336 echo "$as_me: failed program was:" >&5
31337 sed 's/^/| /' conftest.$ac_ext >&5
31339 ac_cv_cxx_namespaces=no
31342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31344 ac_cpp='$CPP $CPPFLAGS'
31345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31351 { echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
31352 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6; }
31353 if test "$ac_cv_cxx_namespaces" = yes; then
31355 cat >>confdefs.h <<\_ACEOF
31356 #define HAVE_NAMESPACES
31361 { echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_map> defining template class std::hash_map" >&5
31362 echo $ECHO_N "checking whether the compiler has <ext/hash_map> defining template class std::hash_map... $ECHO_C" >&6; }
31363 if test "${ac_cv_cxx_have_std_ext_hash_map+set}" = set; then
31364 echo $ECHO_N "(cached) $ECHO_C" >&6
31368 ac_cpp='$CXXCPP $CPPFLAGS'
31369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31373 cat >conftest.$ac_ext <<_ACEOF
31376 cat confdefs.h >>conftest.$ac_ext
31377 cat >>conftest.$ac_ext <<_ACEOF
31378 /* end confdefs.h. */
31379 #include <ext/hash_map>
31380 #ifdef HAVE_NAMESPACES
31381 using namespace std;
31386 hash_map<int, int> t;
31391 rm -f conftest.$ac_objext
31392 if { (ac_try="$ac_compile"
31393 case "(($ac_try" in
31394 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31395 *) ac_try_echo
=$ac_try;;
31397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31398 (eval "$ac_compile") 2>conftest.er1
31400 grep -v '^ *+' conftest.er1
>conftest.err
31402 cat conftest.err
>&5
31403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31404 (exit $ac_status); } &&
31405 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31406 { (case "(($ac_try" in
31407 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31408 *) ac_try_echo=$ac_try;;
31410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31411 (eval "$ac_try") 2>&5
31413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31414 (exit $ac_status); }; } &&
31415 { ac_try='test -s conftest.$ac_objext'
31416 { (case "(($ac_try" in
31417 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31418 *) ac_try_echo
=$ac_try;;
31420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31421 (eval "$ac_try") 2>&5
31423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31424 (exit $ac_status); }; }; then
31425 ac_cv_cxx_have_std_ext_hash_map
=yes
31427 echo "$as_me: failed program was:" >&5
31428 sed 's/^/| /' conftest.
$ac_ext >&5
31430 ac_cv_cxx_have_std_ext_hash_map
=no
31433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31435 ac_cpp
='$CPP $CPPFLAGS'
31436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31441 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_ext_hash_map" >&5
31442 echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_map" >&6; }
31443 if test "$ac_cv_cxx_have_std_ext_hash_map" = yes
31446 cat >>confdefs.h
<<\_ACEOF
31447 #define HAVE_STD_EXT_HASH_MAP 1
31452 cat >>confdefs.h
<<\_ACEOF
31453 #define HAVE_STD_EXT_HASH_MAP 0
31458 { echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_map> defining template class __gnu_cxx::hash_map" >&5
31459 echo $ECHO_N "checking whether the compiler has <ext/hash_map> defining template class __gnu_cxx::hash_map... $ECHO_C" >&6; }
31460 if test "${ac_cv_cxx_have_gnu_ext_hash_map+set}" = set; then
31461 echo $ECHO_N "(cached) $ECHO_C" >&6
31465 ac_cpp
='$CXXCPP $CPPFLAGS'
31466 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31467 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31468 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31470 cat >conftest.
$ac_ext <<_ACEOF
31473 cat confdefs.h
>>conftest.
$ac_ext
31474 cat >>conftest.
$ac_ext <<_ACEOF
31475 /* end confdefs.h. */
31476 #include <ext/hash_map>
31477 #ifdef HAVE_NAMESPACES
31478 using namespace __gnu_cxx;
31483 hash_map<int,int> t;
31488 rm -f conftest.
$ac_objext
31489 if { (ac_try
="$ac_compile"
31490 case "(($ac_try" in
31491 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31492 *) ac_try_echo=$ac_try;;
31494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31495 (eval "$ac_compile") 2>conftest.er1
31497 grep -v '^ *+' conftest.er1 >conftest.err
31499 cat conftest.err >&5
31500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31501 (exit $ac_status); } &&
31502 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31503 { (case "(($ac_try" in
31504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31505 *) ac_try_echo
=$ac_try;;
31507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31508 (eval "$ac_try") 2>&5
31510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31511 (exit $ac_status); }; } &&
31512 { ac_try
='test -s conftest.$ac_objext'
31513 { (case "(($ac_try" in
31514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31515 *) ac_try_echo=$ac_try;;
31517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31518 (eval "$ac_try") 2>&5
31520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31521 (exit $ac_status); }; }; then
31522 ac_cv_cxx_have_gnu_ext_hash_map=yes
31524 echo "$as_me: failed program was:" >&5
31525 sed 's/^/| /' conftest.$ac_ext >&5
31527 ac_cv_cxx_have_gnu_ext_hash_map=no
31530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31532 ac_cpp='$CPP $CPPFLAGS'
31533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31538 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_gnu_ext_hash_map" >&5
31539 echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_map" >&6; }
31540 if test "$ac_cv_cxx_have_gnu_ext_hash_map" = yes
31543 cat >>confdefs.h <<\_ACEOF
31544 #define HAVE_GNU_EXT_HASH_MAP 1
31549 cat >>confdefs.h <<\_ACEOF
31550 #define HAVE_GNU_EXT_HASH_MAP 0
31555 { echo "$as_me:$LINENO: checking whether the compiler has <hash_map> defining template class ::hash_map" >&5
31556 echo $ECHO_N "checking whether the compiler has <hash_map> defining template class ::hash_map... $ECHO_C" >&6; }
31557 if test "${ac_cv_cxx_have_global_hash_map+set}" = set; then
31558 echo $ECHO_N "(cached) $ECHO_C" >&6
31562 ac_cpp='$CXXCPP $CPPFLAGS'
31563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31567 cat >conftest.$ac_ext <<_ACEOF
31570 cat confdefs.h >>conftest.$ac_ext
31571 cat >>conftest.$ac_ext <<_ACEOF
31572 /* end confdefs.h. */
31573 #include <hash_map>
31577 hash_map<int,int> t;
31582 rm -f conftest.$ac_objext
31583 if { (ac_try="$ac_compile"
31584 case "(($ac_try" in
31585 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31586 *) ac_try_echo
=$ac_try;;
31588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31589 (eval "$ac_compile") 2>conftest.er1
31591 grep -v '^ *+' conftest.er1
>conftest.err
31593 cat conftest.err
>&5
31594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31595 (exit $ac_status); } &&
31596 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31597 { (case "(($ac_try" in
31598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31599 *) ac_try_echo=$ac_try;;
31601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31602 (eval "$ac_try") 2>&5
31604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31605 (exit $ac_status); }; } &&
31606 { ac_try='test -s conftest.$ac_objext'
31607 { (case "(($ac_try" in
31608 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31609 *) ac_try_echo
=$ac_try;;
31611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31612 (eval "$ac_try") 2>&5
31614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31615 (exit $ac_status); }; }; then
31616 ac_cv_cxx_have_global_hash_map
=yes
31618 echo "$as_me: failed program was:" >&5
31619 sed 's/^/| /' conftest.
$ac_ext >&5
31621 ac_cv_cxx_have_global_hash_map
=no
31624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31626 ac_cpp
='$CPP $CPPFLAGS'
31627 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31628 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31629 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31632 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_global_hash_map" >&5
31633 echo "${ECHO_T}$ac_cv_cxx_have_global_hash_map" >&6; }
31634 if test "$ac_cv_cxx_have_global_hash_map" = yes
31637 cat >>confdefs.h
<<\_ACEOF
31638 #define HAVE_GLOBAL_HASH_MAP 1
31643 cat >>confdefs.h
<<\_ACEOF
31644 #define HAVE_GLOBAL_HASH_MAP 0
31649 { echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_set> defining template class std::hash_set" >&5
31650 echo $ECHO_N "checking whether the compiler has <ext/hash_set> defining template class std::hash_set... $ECHO_C" >&6; }
31651 if test "${ac_cv_cxx_have_std_ext_hash_set+set}" = set; then
31652 echo $ECHO_N "(cached) $ECHO_C" >&6
31656 ac_cpp
='$CXXCPP $CPPFLAGS'
31657 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31658 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31659 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31661 cat >conftest.
$ac_ext <<_ACEOF
31664 cat confdefs.h
>>conftest.
$ac_ext
31665 cat >>conftest.
$ac_ext <<_ACEOF
31666 /* end confdefs.h. */
31667 #include <ext/hash_set>
31668 #ifdef HAVE_NAMESPACES
31669 using namespace std;
31679 rm -f conftest.
$ac_objext
31680 if { (ac_try
="$ac_compile"
31681 case "(($ac_try" in
31682 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31683 *) ac_try_echo=$ac_try;;
31685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31686 (eval "$ac_compile") 2>conftest.er1
31688 grep -v '^ *+' conftest.er1 >conftest.err
31690 cat conftest.err >&5
31691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31692 (exit $ac_status); } &&
31693 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31694 { (case "(($ac_try" in
31695 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31696 *) ac_try_echo
=$ac_try;;
31698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31699 (eval "$ac_try") 2>&5
31701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31702 (exit $ac_status); }; } &&
31703 { ac_try
='test -s conftest.$ac_objext'
31704 { (case "(($ac_try" in
31705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31706 *) ac_try_echo=$ac_try;;
31708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31709 (eval "$ac_try") 2>&5
31711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31712 (exit $ac_status); }; }; then
31713 ac_cv_cxx_have_std_ext_hash_set=yes
31715 echo "$as_me: failed program was:" >&5
31716 sed 's/^/| /' conftest.$ac_ext >&5
31718 ac_cv_cxx_have_std_ext_hash_set=no
31721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31723 ac_cpp='$CPP $CPPFLAGS'
31724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31729 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_ext_hash_set" >&5
31730 echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_set" >&6; }
31731 if test "$ac_cv_cxx_have_std_ext_hash_set" = yes
31734 cat >>confdefs.h <<\_ACEOF
31735 #define HAVE_STD_EXT_HASH_SET 1
31740 cat >>confdefs.h <<\_ACEOF
31741 #define HAVE_STD_EXT_HASH_SET 0
31746 { echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_set> defining template class __gnu_cxx::hash_set" >&5
31747 echo $ECHO_N "checking whether the compiler has <ext/hash_set> defining template class __gnu_cxx::hash_set... $ECHO_C" >&6; }
31748 if test "${ac_cv_cxx_have_gnu_ext_hash_set+set}" = set; then
31749 echo $ECHO_N "(cached) $ECHO_C" >&6
31753 ac_cpp='$CXXCPP $CPPFLAGS'
31754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31758 cat >conftest.$ac_ext <<_ACEOF
31761 cat confdefs.h >>conftest.$ac_ext
31762 cat >>conftest.$ac_ext <<_ACEOF
31763 /* end confdefs.h. */
31764 #include <ext/hash_set>
31765 #ifdef HAVE_NAMESPACES
31766 using namespace __gnu_cxx;
31776 rm -f conftest.$ac_objext
31777 if { (ac_try="$ac_compile"
31778 case "(($ac_try" in
31779 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31780 *) ac_try_echo
=$ac_try;;
31782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31783 (eval "$ac_compile") 2>conftest.er1
31785 grep -v '^ *+' conftest.er1
>conftest.err
31787 cat conftest.err
>&5
31788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31789 (exit $ac_status); } &&
31790 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31791 { (case "(($ac_try" in
31792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31793 *) ac_try_echo=$ac_try;;
31795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31796 (eval "$ac_try") 2>&5
31798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31799 (exit $ac_status); }; } &&
31800 { ac_try='test -s conftest.$ac_objext'
31801 { (case "(($ac_try" in
31802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31803 *) ac_try_echo
=$ac_try;;
31805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31806 (eval "$ac_try") 2>&5
31808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809 (exit $ac_status); }; }; then
31810 ac_cv_cxx_have_gnu_ext_hash_set
=yes
31812 echo "$as_me: failed program was:" >&5
31813 sed 's/^/| /' conftest.
$ac_ext >&5
31815 ac_cv_cxx_have_gnu_ext_hash_set
=no
31818 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31820 ac_cpp
='$CPP $CPPFLAGS'
31821 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31822 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31823 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31826 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_gnu_ext_hash_set" >&5
31827 echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_set" >&6; }
31828 if test "$ac_cv_cxx_have_gnu_ext_hash_set" = yes
31831 cat >>confdefs.h
<<\_ACEOF
31832 #define HAVE_GNU_EXT_HASH_SET 1
31837 cat >>confdefs.h
<<\_ACEOF
31838 #define HAVE_GNU_EXT_HASH_SET 0
31843 { echo "$as_me:$LINENO: checking whether the compiler has <hash_set> defining template class ::hash_set" >&5
31844 echo $ECHO_N "checking whether the compiler has <hash_set> defining template class ::hash_set... $ECHO_C" >&6; }
31845 if test "${ac_cv_cxx_have_global_hash_set+set}" = set; then
31846 echo $ECHO_N "(cached) $ECHO_C" >&6
31850 ac_cpp
='$CXXCPP $CPPFLAGS'
31851 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31852 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31853 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31855 cat >conftest.
$ac_ext <<_ACEOF
31858 cat confdefs.h
>>conftest.
$ac_ext
31859 cat >>conftest.
$ac_ext <<_ACEOF
31860 /* end confdefs.h. */
31861 #include <hash_set>
31865 hash_set<int> t; return 0;
31870 rm -f conftest.
$ac_objext
31871 if { (ac_try
="$ac_compile"
31872 case "(($ac_try" in
31873 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31874 *) ac_try_echo=$ac_try;;
31876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31877 (eval "$ac_compile") 2>conftest.er1
31879 grep -v '^ *+' conftest.er1 >conftest.err
31881 cat conftest.err >&5
31882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31883 (exit $ac_status); } &&
31884 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31885 { (case "(($ac_try" in
31886 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31887 *) ac_try_echo
=$ac_try;;
31889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31890 (eval "$ac_try") 2>&5
31892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31893 (exit $ac_status); }; } &&
31894 { ac_try
='test -s conftest.$ac_objext'
31895 { (case "(($ac_try" in
31896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31897 *) ac_try_echo=$ac_try;;
31899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31900 (eval "$ac_try") 2>&5
31902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31903 (exit $ac_status); }; }; then
31904 ac_cv_cxx_have_global_hash_set=yes
31906 echo "$as_me: failed program was:" >&5
31907 sed 's/^/| /' conftest.$ac_ext >&5
31909 ac_cv_cxx_have_global_hash_set=no
31912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31914 ac_cpp='$CPP $CPPFLAGS'
31915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31920 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_global_hash_set" >&5
31921 echo "${ECHO_T}$ac_cv_cxx_have_global_hash_set" >&6; }
31922 if test "$ac_cv_cxx_have_global_hash_set" = yes
31925 cat >>confdefs.h <<\_ACEOF
31926 #define HAVE_GLOBAL_HASH_SET 1
31931 cat >>confdefs.h <<\_ACEOF
31932 #define HAVE_GLOBAL_HASH_SET 0
31937 { echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
31938 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6; }
31939 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
31940 echo $ECHO_N "(cached) $ECHO_C" >&6
31944 ac_cpp='$CXXCPP $CPPFLAGS'
31945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31949 cat >conftest.$ac_ext <<_ACEOF
31952 cat confdefs.h >>conftest.$ac_ext
31953 cat >>conftest.$ac_ext <<_ACEOF
31954 /* end confdefs.h. */
31955 #include <iterator>
31956 #ifdef HAVE_NAMESPACES
31957 using namespace std;
31962 iterator<int,int,int> t; return 0;
31967 rm -f conftest.$ac_objext
31968 if { (ac_try="$ac_compile"
31969 case "(($ac_try" in
31970 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31971 *) ac_try_echo
=$ac_try;;
31973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31974 (eval "$ac_compile") 2>conftest.er1
31976 grep -v '^ *+' conftest.er1
>conftest.err
31978 cat conftest.err
>&5
31979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31980 (exit $ac_status); } &&
31981 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31982 { (case "(($ac_try" in
31983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31984 *) ac_try_echo=$ac_try;;
31986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31987 (eval "$ac_try") 2>&5
31989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31990 (exit $ac_status); }; } &&
31991 { ac_try='test -s conftest.$ac_objext'
31992 { (case "(($ac_try" in
31993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31994 *) ac_try_echo
=$ac_try;;
31996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31997 (eval "$ac_try") 2>&5
31999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32000 (exit $ac_status); }; }; then
32001 ac_cv_cxx_have_std_iterator
=yes
32003 echo "$as_me: failed program was:" >&5
32004 sed 's/^/| /' conftest.
$ac_ext >&5
32006 ac_cv_cxx_have_std_iterator
=no
32009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32011 ac_cpp
='$CPP $CPPFLAGS'
32012 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32013 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32014 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32018 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
32019 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6; }
32020 if test "$ac_cv_cxx_have_std_iterator" = yes
32023 cat >>confdefs.h
<<\_ACEOF
32024 #define HAVE_STD_ITERATOR 1
32029 cat >>confdefs.h
<<\_ACEOF
32030 #define HAVE_STD_ITERATOR 0
32035 { echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
32036 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6; }
32037 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
32038 echo $ECHO_N "(cached) $ECHO_C" >&6
32042 ac_cpp
='$CXXCPP $CPPFLAGS'
32043 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32044 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32045 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32047 cat >conftest.
$ac_ext <<_ACEOF
32050 cat confdefs.h
>>conftest.
$ac_ext
32051 cat >>conftest.
$ac_ext <<_ACEOF
32052 /* end confdefs.h. */
32053 #include <iterator>
32054 #ifdef HAVE_NAMESPACES
32055 using namespace std;
32060 bidirectional_iterator<int,int> t; return 0;
32065 rm -f conftest.
$ac_objext
32066 if { (ac_try
="$ac_compile"
32067 case "(($ac_try" in
32068 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32069 *) ac_try_echo=$ac_try;;
32071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32072 (eval "$ac_compile") 2>conftest.er1
32074 grep -v '^ *+' conftest.er1 >conftest.err
32076 cat conftest.err >&5
32077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32078 (exit $ac_status); } &&
32079 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32080 { (case "(($ac_try" in
32081 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32082 *) ac_try_echo
=$ac_try;;
32084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32085 (eval "$ac_try") 2>&5
32087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32088 (exit $ac_status); }; } &&
32089 { ac_try
='test -s conftest.$ac_objext'
32090 { (case "(($ac_try" in
32091 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32092 *) ac_try_echo=$ac_try;;
32094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32095 (eval "$ac_try") 2>&5
32097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32098 (exit $ac_status); }; }; then
32099 ac_cv_cxx_have_bi_iterator=yes
32101 echo "$as_me: failed program was:" >&5
32102 sed 's/^/| /' conftest.$ac_ext >&5
32104 ac_cv_cxx_have_bi_iterator=no
32107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32109 ac_cpp='$CPP $CPPFLAGS'
32110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32116 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
32117 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6; }
32118 if test "$ac_cv_cxx_have_bi_iterator" = yes
32121 cat >>confdefs.h <<\_ACEOF
32122 #define HAVE_BI_ITERATOR 1
32127 cat >>confdefs.h <<\_ACEOF
32128 #define HAVE_BI_ITERATOR 0
32133 { echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
32134 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6; }
32135 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
32136 echo $ECHO_N "(cached) $ECHO_C" >&6
32140 ac_cpp='$CXXCPP $CPPFLAGS'
32141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32145 cat >conftest.$ac_ext <<_ACEOF
32148 cat confdefs.h >>conftest.$ac_ext
32149 cat >>conftest.$ac_ext <<_ACEOF
32150 /* end confdefs.h. */
32151 #include <iterator>
32152 #ifdef HAVE_NAMESPACES
32153 using namespace std;
32158 forward_iterator<int,int> t; return 0;
32163 rm -f conftest.$ac_objext
32164 if { (ac_try="$ac_compile"
32165 case "(($ac_try" in
32166 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32167 *) ac_try_echo
=$ac_try;;
32169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32170 (eval "$ac_compile") 2>conftest.er1
32172 grep -v '^ *+' conftest.er1
>conftest.err
32174 cat conftest.err
>&5
32175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32176 (exit $ac_status); } &&
32177 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32178 { (case "(($ac_try" in
32179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32180 *) ac_try_echo=$ac_try;;
32182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32183 (eval "$ac_try") 2>&5
32185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32186 (exit $ac_status); }; } &&
32187 { ac_try='test -s conftest.$ac_objext'
32188 { (case "(($ac_try" in
32189 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32190 *) ac_try_echo
=$ac_try;;
32192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32193 (eval "$ac_try") 2>&5
32195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32196 (exit $ac_status); }; }; then
32197 ac_cv_cxx_have_fwd_iterator
=yes
32199 echo "$as_me: failed program was:" >&5
32200 sed 's/^/| /' conftest.
$ac_ext >&5
32202 ac_cv_cxx_have_fwd_iterator
=no
32205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32207 ac_cpp
='$CPP $CPPFLAGS'
32208 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32209 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32210 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32214 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
32215 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6; }
32216 if test "$ac_cv_cxx_have_fwd_iterator" = yes
32219 cat >>confdefs.h
<<\_ACEOF
32220 #define HAVE_FWD_ITERATOR 1
32225 cat >>confdefs.h
<<\_ACEOF
32226 #define HAVE_FWD_ITERATOR 0
32232 { echo "$as_me:$LINENO: checking for isnan in <math.h>" >&5
32233 echo $ECHO_N "checking for isnan in <math.h>... $ECHO_C" >&6; }
32234 if test "${ac_cv_func_isnan_in_math_h+set}" = set; then
32235 echo $ECHO_N "(cached) $ECHO_C" >&6
32238 ac_cpp
='$CXXCPP $CPPFLAGS'
32239 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32240 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32241 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32243 cat >conftest.
$ac_ext <<_ACEOF
32246 cat confdefs.h
>>conftest.
$ac_ext
32247 cat >>conftest.
$ac_ext <<_ACEOF
32248 /* end confdefs.h. */
32258 rm -f conftest.
$ac_objext
32259 if { (ac_try
="$ac_compile"
32260 case "(($ac_try" in
32261 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32262 *) ac_try_echo=$ac_try;;
32264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32265 (eval "$ac_compile") 2>conftest.er1
32267 grep -v '^ *+' conftest.er1 >conftest.err
32269 cat conftest.err >&5
32270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32271 (exit $ac_status); } &&
32272 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32273 { (case "(($ac_try" in
32274 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32275 *) ac_try_echo
=$ac_try;;
32277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32278 (eval "$ac_try") 2>&5
32280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32281 (exit $ac_status); }; } &&
32282 { ac_try
='test -s conftest.$ac_objext'
32283 { (case "(($ac_try" in
32284 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32285 *) ac_try_echo=$ac_try;;
32287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32288 (eval "$ac_try") 2>&5
32290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32291 (exit $ac_status); }; }; then
32292 ac_cv_func_isnan_in_math_h=yes
32294 echo "$as_me: failed program was:" >&5
32295 sed 's/^/| /' conftest.$ac_ext >&5
32297 ac_cv_func_isnan_in_math_h=no
32300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32302 ac_cpp='$CPP $CPPFLAGS'
32303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32308 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_math_h" >&5
32309 echo "${ECHO_T}$ac_cv_func_isnan_in_math_h" >&6; }
32312 if test "$ac_cv_func_isnan_in_math_h" = "yes" ; then
32314 cat >>confdefs.h <<\_ACEOF
32315 #define HAVE_ISNAN_IN_MATH_H 1
32320 { echo "$as_me:$LINENO: checking for isnan in <cmath>" >&5
32321 echo $ECHO_N "checking for isnan in <cmath>... $ECHO_C" >&6; }
32322 if test "${ac_cv_func_isnan_in_cmath+set}" = set; then
32323 echo $ECHO_N "(cached) $ECHO_C" >&6
32326 ac_cpp='$CXXCPP $CPPFLAGS'
32327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32331 cat >conftest.$ac_ext <<_ACEOF
32334 cat confdefs.h >>conftest.$ac_ext
32335 cat >>conftest.$ac_ext <<_ACEOF
32336 /* end confdefs.h. */
32346 rm -f conftest.$ac_objext
32347 if { (ac_try="$ac_compile"
32348 case "(($ac_try" in
32349 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32350 *) ac_try_echo
=$ac_try;;
32352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32353 (eval "$ac_compile") 2>conftest.er1
32355 grep -v '^ *+' conftest.er1
>conftest.err
32357 cat conftest.err
>&5
32358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32359 (exit $ac_status); } &&
32360 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32361 { (case "(($ac_try" in
32362 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32363 *) ac_try_echo=$ac_try;;
32365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32366 (eval "$ac_try") 2>&5
32368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32369 (exit $ac_status); }; } &&
32370 { ac_try='test -s conftest.$ac_objext'
32371 { (case "(($ac_try" in
32372 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32373 *) ac_try_echo
=$ac_try;;
32375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32376 (eval "$ac_try") 2>&5
32378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32379 (exit $ac_status); }; }; then
32380 ac_cv_func_isnan_in_cmath
=yes
32382 echo "$as_me: failed program was:" >&5
32383 sed 's/^/| /' conftest.
$ac_ext >&5
32385 ac_cv_func_isnan_in_cmath
=no
32388 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32390 ac_cpp
='$CPP $CPPFLAGS'
32391 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32392 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32393 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32396 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_cmath" >&5
32397 echo "${ECHO_T}$ac_cv_func_isnan_in_cmath" >&6; }
32399 if test "$ac_cv_func_isnan_in_cmath" = "yes" ; then
32401 cat >>confdefs.h
<<\_ACEOF
32402 #define HAVE_ISNAN_IN_CMATH 1
32407 { echo "$as_me:$LINENO: checking for std::isnan in <cmath>" >&5
32408 echo $ECHO_N "checking for std::isnan in <cmath>... $ECHO_C" >&6; }
32409 if test "${ac_cv_func_std_isnan_in_cmath+set}" = set; then
32410 echo $ECHO_N "(cached) $ECHO_C" >&6
32413 ac_cpp
='$CXXCPP $CPPFLAGS'
32414 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32415 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32416 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32418 cat >conftest.
$ac_ext <<_ACEOF
32421 cat confdefs.h
>>conftest.
$ac_ext
32422 cat >>conftest.
$ac_ext <<_ACEOF
32423 /* end confdefs.h. */
32428 float f; std::isnan(f);
32433 rm -f conftest.
$ac_objext
32434 if { (ac_try
="$ac_compile"
32435 case "(($ac_try" in
32436 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32437 *) ac_try_echo=$ac_try;;
32439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32440 (eval "$ac_compile") 2>conftest.er1
32442 grep -v '^ *+' conftest.er1 >conftest.err
32444 cat conftest.err >&5
32445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32446 (exit $ac_status); } &&
32447 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32448 { (case "(($ac_try" in
32449 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32450 *) ac_try_echo
=$ac_try;;
32452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32453 (eval "$ac_try") 2>&5
32455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32456 (exit $ac_status); }; } &&
32457 { ac_try
='test -s conftest.$ac_objext'
32458 { (case "(($ac_try" in
32459 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32460 *) ac_try_echo=$ac_try;;
32462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32463 (eval "$ac_try") 2>&5
32465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32466 (exit $ac_status); }; }; then
32467 ac_cv_func_std_isnan_in_cmath=yes
32469 echo "$as_me: failed program was:" >&5
32470 sed 's/^/| /' conftest.$ac_ext >&5
32472 ac_cv_func_std_isnan_in_cmath=no
32475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32477 ac_cpp='$CPP $CPPFLAGS'
32478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32483 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isnan_in_cmath" >&5
32484 echo "${ECHO_T}$ac_cv_func_std_isnan_in_cmath" >&6; }
32486 if test "$ac_cv_func_std_isnan_in_cmath" = "yes" ; then
32488 cat >>confdefs.h <<\_ACEOF
32489 #define HAVE_STD_ISNAN_IN_CMATH 1
32495 { echo "$as_me:$LINENO: checking for isinf in <math.h>" >&5
32496 echo $ECHO_N "checking for isinf in <math.h>... $ECHO_C" >&6; }
32497 if test "${ac_cv_func_isinf_in_math_h+set}" = set; then
32498 echo $ECHO_N "(cached) $ECHO_C" >&6
32501 ac_cpp='$CXXCPP $CPPFLAGS'
32502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32506 cat >conftest.$ac_ext <<_ACEOF
32509 cat confdefs.h >>conftest.$ac_ext
32510 cat >>conftest.$ac_ext <<_ACEOF
32511 /* end confdefs.h. */
32521 rm -f conftest.$ac_objext
32522 if { (ac_try="$ac_compile"
32523 case "(($ac_try" in
32524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32525 *) ac_try_echo
=$ac_try;;
32527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32528 (eval "$ac_compile") 2>conftest.er1
32530 grep -v '^ *+' conftest.er1
>conftest.err
32532 cat conftest.err
>&5
32533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32534 (exit $ac_status); } &&
32535 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32536 { (case "(($ac_try" in
32537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32538 *) ac_try_echo=$ac_try;;
32540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32541 (eval "$ac_try") 2>&5
32543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32544 (exit $ac_status); }; } &&
32545 { ac_try='test -s conftest.$ac_objext'
32546 { (case "(($ac_try" in
32547 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32548 *) ac_try_echo
=$ac_try;;
32550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32551 (eval "$ac_try") 2>&5
32553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32554 (exit $ac_status); }; }; then
32555 ac_cv_func_isinf_in_math_h
=yes
32557 echo "$as_me: failed program was:" >&5
32558 sed 's/^/| /' conftest.
$ac_ext >&5
32560 ac_cv_func_isinf_in_math_h
=no
32563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32565 ac_cpp
='$CPP $CPPFLAGS'
32566 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32567 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32568 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32571 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_math_h" >&5
32572 echo "${ECHO_T}$ac_cv_func_isinf_in_math_h" >&6; }
32574 if test "$ac_cv_func_isinf_in_math_h" = "yes" ; then
32576 cat >>confdefs.h
<<\_ACEOF
32577 #define HAVE_ISINF_IN_MATH_H 1
32582 { echo "$as_me:$LINENO: checking for isinf in <cmath>" >&5
32583 echo $ECHO_N "checking for isinf in <cmath>... $ECHO_C" >&6; }
32584 if test "${ac_cv_func_isinf_in_cmath+set}" = set; then
32585 echo $ECHO_N "(cached) $ECHO_C" >&6
32588 ac_cpp
='$CXXCPP $CPPFLAGS'
32589 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32590 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32591 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32593 cat >conftest.
$ac_ext <<_ACEOF
32596 cat confdefs.h
>>conftest.
$ac_ext
32597 cat >>conftest.
$ac_ext <<_ACEOF
32598 /* end confdefs.h. */
32608 rm -f conftest.
$ac_objext
32609 if { (ac_try
="$ac_compile"
32610 case "(($ac_try" in
32611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32612 *) ac_try_echo=$ac_try;;
32614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32615 (eval "$ac_compile") 2>conftest.er1
32617 grep -v '^ *+' conftest.er1 >conftest.err
32619 cat conftest.err >&5
32620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32621 (exit $ac_status); } &&
32622 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32623 { (case "(($ac_try" in
32624 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32625 *) ac_try_echo
=$ac_try;;
32627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32628 (eval "$ac_try") 2>&5
32630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32631 (exit $ac_status); }; } &&
32632 { ac_try
='test -s conftest.$ac_objext'
32633 { (case "(($ac_try" in
32634 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32635 *) ac_try_echo=$ac_try;;
32637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32638 (eval "$ac_try") 2>&5
32640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32641 (exit $ac_status); }; }; then
32642 ac_cv_func_isinf_in_cmath=yes
32644 echo "$as_me: failed program was:" >&5
32645 sed 's/^/| /' conftest.$ac_ext >&5
32647 ac_cv_func_isinf_in_cmath=no
32650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32652 ac_cpp='$CPP $CPPFLAGS'
32653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32658 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_cmath" >&5
32659 echo "${ECHO_T}$ac_cv_func_isinf_in_cmath" >&6; }
32661 if test "$ac_cv_func_isinf_in_cmath" = "yes" ; then
32663 cat >>confdefs.h <<\_ACEOF
32664 #define HAVE_ISINF_IN_CMATH 1
32669 { echo "$as_me:$LINENO: checking for std::isinf in <cmath>" >&5
32670 echo $ECHO_N "checking for std::isinf in <cmath>... $ECHO_C" >&6; }
32671 if test "${ac_cv_func_std_isinf_in_cmath+set}" = set; then
32672 echo $ECHO_N "(cached) $ECHO_C" >&6
32675 ac_cpp='$CXXCPP $CPPFLAGS'
32676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32680 cat >conftest.$ac_ext <<_ACEOF
32683 cat confdefs.h >>conftest.$ac_ext
32684 cat >>conftest.$ac_ext <<_ACEOF
32685 /* end confdefs.h. */
32690 float f; std::isinf(f)}
32695 rm -f conftest.$ac_objext
32696 if { (ac_try="$ac_compile"
32697 case "(($ac_try" in
32698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32699 *) ac_try_echo
=$ac_try;;
32701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32702 (eval "$ac_compile") 2>conftest.er1
32704 grep -v '^ *+' conftest.er1
>conftest.err
32706 cat conftest.err
>&5
32707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32708 (exit $ac_status); } &&
32709 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32710 { (case "(($ac_try" in
32711 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32712 *) ac_try_echo=$ac_try;;
32714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32715 (eval "$ac_try") 2>&5
32717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32718 (exit $ac_status); }; } &&
32719 { ac_try='test -s conftest.$ac_objext'
32720 { (case "(($ac_try" in
32721 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32722 *) ac_try_echo
=$ac_try;;
32724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32725 (eval "$ac_try") 2>&5
32727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32728 (exit $ac_status); }; }; then
32729 ac_cv_func_std_isinf_in_cmath
=yes
32731 echo "$as_me: failed program was:" >&5
32732 sed 's/^/| /' conftest.
$ac_ext >&5
32734 ac_cv_func_std_isinf_in_cmath
=no
32737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32739 ac_cpp
='$CPP $CPPFLAGS'
32740 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32741 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32742 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32745 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isinf_in_cmath" >&5
32746 echo "${ECHO_T}$ac_cv_func_std_isinf_in_cmath" >&6; }
32748 if test "$ac_cv_func_std_isinf_in_cmath" = "yes" ; then
32750 cat >>confdefs.h
<<\_ACEOF
32751 #define HAVE_STD_ISINF_IN_CMATH 1
32756 { echo "$as_me:$LINENO: checking for finite in <ieeefp.h>" >&5
32757 echo $ECHO_N "checking for finite in <ieeefp.h>... $ECHO_C" >&6; }
32758 if test "${ac_cv_func_finite_in_ieeefp_h+set}" = set; then
32759 echo $ECHO_N "(cached) $ECHO_C" >&6
32762 ac_cpp
='$CXXCPP $CPPFLAGS'
32763 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32764 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32765 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32767 cat >conftest.
$ac_ext <<_ACEOF
32770 cat confdefs.h
>>conftest.
$ac_ext
32771 cat >>conftest.
$ac_ext <<_ACEOF
32772 /* end confdefs.h. */
32773 #include <ieeefp.h>
32777 float f; finite(f);
32782 rm -f conftest.
$ac_objext
32783 if { (ac_try
="$ac_compile"
32784 case "(($ac_try" in
32785 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32786 *) ac_try_echo=$ac_try;;
32788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32789 (eval "$ac_compile") 2>conftest.er1
32791 grep -v '^ *+' conftest.er1 >conftest.err
32793 cat conftest.err >&5
32794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32795 (exit $ac_status); } &&
32796 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32797 { (case "(($ac_try" in
32798 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32799 *) ac_try_echo
=$ac_try;;
32801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32802 (eval "$ac_try") 2>&5
32804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32805 (exit $ac_status); }; } &&
32806 { ac_try
='test -s conftest.$ac_objext'
32807 { (case "(($ac_try" in
32808 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32809 *) ac_try_echo=$ac_try;;
32811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32812 (eval "$ac_try") 2>&5
32814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32815 (exit $ac_status); }; }; then
32816 ac_cv_func_finite_in_ieeefp_h=yes
32818 echo "$as_me: failed program was:" >&5
32819 sed 's/^/| /' conftest.$ac_ext >&5
32821 ac_cv_func_finite_in_ieeefp_h=no
32824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32826 ac_cpp='$CPP $CPPFLAGS'
32827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32832 { echo "$as_me:$LINENO: result: $ac_cv_func_finite_in_ieeefp_h" >&5
32833 echo "${ECHO_T}$ac_cv_func_finite_in_ieeefp_h" >&6; }
32835 if test "$ac_cv_func_finite_in_ieeefp_h" = "yes" ; then
32837 cat >>confdefs.h <<\_ACEOF
32838 #define HAVE_FINITE_IN_IEEEFP_H 1
32845 if test "$llvm_cv_platform_type" = "Unix" ; then
32848 for ac_header in stdlib.h unistd.h
32850 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
32851 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32852 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32854 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32855 echo $ECHO_N "(cached) $ECHO_C" >&6
32857 ac_res=`eval echo '${'$as_ac_Header'}'`
32858 { echo "$as_me:$LINENO: result: $ac_res" >&5
32859 echo "${ECHO_T}$ac_res" >&6; }
32861 # Is the header compilable?
32862 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
32863 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
32864 cat >conftest.$ac_ext <<_ACEOF
32867 cat confdefs.h >>conftest.$ac_ext
32868 cat >>conftest.$ac_ext <<_ACEOF
32869 /* end confdefs.h. */
32870 $ac_includes_default
32871 #include <$ac_header>
32873 rm -f conftest.$ac_objext
32874 if { (ac_try="$ac_compile"
32875 case "(($ac_try" in
32876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32877 *) ac_try_echo
=$ac_try;;
32879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32880 (eval "$ac_compile") 2>conftest.er1
32882 grep -v '^ *+' conftest.er1
>conftest.err
32884 cat conftest.err
>&5
32885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32886 (exit $ac_status); } &&
32887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32888 { (case "(($ac_try" in
32889 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32890 *) ac_try_echo=$ac_try;;
32892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32893 (eval "$ac_try") 2>&5
32895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32896 (exit $ac_status); }; } &&
32897 { ac_try='test -s conftest.$ac_objext'
32898 { (case "(($ac_try" in
32899 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32900 *) ac_try_echo
=$ac_try;;
32902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32903 (eval "$ac_try") 2>&5
32905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32906 (exit $ac_status); }; }; then
32907 ac_header_compiler
=yes
32909 echo "$as_me: failed program was:" >&5
32910 sed 's/^/| /' conftest.
$ac_ext >&5
32912 ac_header_compiler
=no
32915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32916 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32917 echo "${ECHO_T}$ac_header_compiler" >&6; }
32919 # Is the header present?
32920 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
32921 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
32922 cat >conftest.
$ac_ext <<_ACEOF
32925 cat confdefs.h
>>conftest.
$ac_ext
32926 cat >>conftest.
$ac_ext <<_ACEOF
32927 /* end confdefs.h. */
32928 #include <$ac_header>
32930 if { (ac_try
="$ac_cpp conftest.$ac_ext"
32931 case "(($ac_try" in
32932 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32933 *) ac_try_echo=$ac_try;;
32935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32936 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32938 grep -v '^ *+' conftest.er1 >conftest.err
32940 cat conftest.err >&5
32941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32942 (exit $ac_status); } >/dev/null; then
32943 if test -s conftest.err; then
32944 ac_cpp_err=$ac_c_preproc_warn_flag
32945 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32952 if test -z "$ac_cpp_err"; then
32953 ac_header_preproc=yes
32955 echo "$as_me: failed program was:" >&5
32956 sed 's/^/| /' conftest.$ac_ext >&5
32958 ac_header_preproc=no
32961 rm -f conftest.err conftest.$ac_ext
32962 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32963 echo "${ECHO_T}$ac_header_preproc" >&6; }
32965 # So? What about this header?
32966 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32968 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32969 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32971 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32972 ac_header_preproc=yes
32975 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32976 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32977 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32978 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32979 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32980 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32981 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32982 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32984 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32985 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32986 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32988 ## ----------------------------------- ##
32989 ## Report this to llvmbugs@cs.uiuc.edu ##
32990 ## ----------------------------------- ##
32992 ) | sed "s/^/$as_me: WARNING: /" >&2
32995 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32997 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32998 echo $ECHO_N "(cached) $ECHO_C" >&6
33000 eval "$as_ac_Header=\$ac_header_preproc"
33002 ac_res=`eval echo '${'$as_ac_Header'}'`
33003 { echo "$as_me:$LINENO: result: $ac_res" >&5
33004 echo "${ECHO_T}$ac_res" >&6; }
33007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33008 cat >>confdefs.h <<_ACEOF
33009 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
33017 for ac_func in getpagesize
33019 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
33020 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33022 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33023 echo $ECHO_N "(cached) $ECHO_C" >&6
33025 cat >conftest.$ac_ext <<_ACEOF
33028 cat confdefs.h >>conftest.$ac_ext
33029 cat >>conftest.$ac_ext <<_ACEOF
33030 /* end confdefs.h. */
33031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33033 #define $ac_func innocuous_$ac_func
33035 /* System header to define __stub macros and hopefully few prototypes,
33036 which can conflict with char $ac_func (); below.
33037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33038 <limits.h> exists even on freestanding compilers. */
33041 # include <limits.h>
33043 # include <assert.h>
33048 /* Override any GCC internal prototype to avoid an error.
33049 Use char because int might match the return type of a GCC
33050 builtin and then its argument prototype would still apply. */
33055 /* The GNU C library defines this for functions which it implements
33056 to always fail with ENOSYS. Some functions are actually named
33057 something starting with __ and the normal name is an alias. */
33058 #if defined __stub_$ac_func || defined __stub___$ac_func
33065 return $ac_func ();
33070 rm -f conftest.$ac_objext conftest$ac_exeext
33071 if { (ac_try="$ac_link"
33072 case "(($ac_try" in
33073 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33074 *) ac_try_echo
=$ac_try;;
33076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33077 (eval "$ac_link") 2>conftest.er1
33079 grep -v '^ *+' conftest.er1
>conftest.err
33081 cat conftest.err
>&5
33082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33083 (exit $ac_status); } &&
33084 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33085 { (case "(($ac_try" in
33086 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33087 *) ac_try_echo=$ac_try;;
33089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33090 (eval "$ac_try") 2>&5
33092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33093 (exit $ac_status); }; } &&
33094 { ac_try='test -s conftest$ac_exeext'
33095 { (case "(($ac_try" in
33096 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33097 *) ac_try_echo
=$ac_try;;
33099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33100 (eval "$ac_try") 2>&5
33102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33103 (exit $ac_status); }; }; then
33104 eval "$as_ac_var=yes"
33106 echo "$as_me: failed program was:" >&5
33107 sed 's/^/| /' conftest.
$ac_ext >&5
33109 eval "$as_ac_var=no"
33112 rm -f core conftest.err conftest.
$ac_objext \
33113 conftest
$ac_exeext conftest.
$ac_ext
33115 ac_res
=`eval echo '${'$as_ac_var'}'`
33116 { echo "$as_me:$LINENO: result: $ac_res" >&5
33117 echo "${ECHO_T}$ac_res" >&6; }
33118 if test `eval echo '${'$as_ac_var'}'` = yes; then
33119 cat >>confdefs.h
<<_ACEOF
33120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33126 { echo "$as_me:$LINENO: checking for working mmap" >&5
33127 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
33128 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
33129 echo $ECHO_N "(cached) $ECHO_C" >&6
33131 if test "$cross_compiling" = yes; then
33132 ac_cv_func_mmap_fixed_mapped
=no
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
33141 /* malloc might have been renamed as rpl_malloc. */
33144 /* Thanks to Mike Haertel and Jim Avera for this test.
33145 Here is a matrix of mmap possibilities:
33146 mmap private not fixed
33147 mmap private fixed at somewhere currently unmapped
33148 mmap private fixed at somewhere already mapped
33149 mmap shared not fixed
33150 mmap shared fixed at somewhere currently unmapped
33151 mmap shared fixed at somewhere already mapped
33152 For private mappings, we should verify that changes cannot be read()
33153 back from the file, nor mmap's back from the file at a different
33154 address. (There have been systems where private was not correctly
33155 implemented like the infamous i386 svr4.0, and systems where the
33156 VM page cache was not coherent with the file system buffer cache
33157 like early versions of FreeBSD and possibly contemporary NetBSD.)
33158 For shared mappings, we should conversely verify that changes get
33159 propagated back to all the places they're supposed to be.
33161 Grep wants private fixed already mapped.
33162 The main things grep needs to know about mmap are:
33163 * does it exist and is it safe to write into the mmap'd area
33164 * how to use it (BSD variants) */
33167 #include <sys/mman.h>
33169 #if !STDC_HEADERS && !HAVE_STDLIB_H
33173 /* This mess was copied from the GNU getpagesize.h. */
33174 #if !HAVE_GETPAGESIZE
33175 /* Assume that all systems that can run configure have sys/param.h. */
33176 # if !HAVE_SYS_PARAM_H
33177 # define HAVE_SYS_PARAM_H 1
33180 # ifdef _SC_PAGESIZE
33181 # define getpagesize() sysconf(_SC_PAGESIZE)
33182 # else /* no _SC_PAGESIZE */
33183 # if HAVE_SYS_PARAM_H
33184 # include <sys/param.h>
33185 # ifdef EXEC_PAGESIZE
33186 # define getpagesize() EXEC_PAGESIZE
33187 # else /* no EXEC_PAGESIZE */
33189 # define getpagesize() NBPG * CLSIZE
33192 # endif /* no CLSIZE */
33193 # else /* no NBPG */
33195 # define getpagesize() NBPC
33196 # else /* no NBPC */
33198 # define getpagesize() PAGESIZE
33199 # endif /* PAGESIZE */
33200 # endif /* no NBPC */
33201 # endif /* no NBPG */
33202 # endif /* no EXEC_PAGESIZE */
33203 # else /* no HAVE_SYS_PARAM_H */
33204 # define getpagesize() 8192 /* punt totally */
33205 # endif /* no HAVE_SYS_PARAM_H */
33206 # endif /* no _SC_PAGESIZE */
33208 #endif /* no HAVE_GETPAGESIZE */
33213 char *data, *data2, *data3;
33217 pagesize = getpagesize ();
33219 /* First, make a file with some known garbage in it. */
33220 data = (char *) malloc (pagesize);
33223 for (i = 0; i < pagesize; ++i)
33224 *(data + i) = rand ();
33226 fd = creat ("conftest.mmap", 0600);
33229 if (write (fd, data, pagesize) != pagesize)
33233 /* Next, try to mmap the file at a fixed address which already has
33234 something else allocated at it. If we can, also make sure that
33235 we see the same garbage. */
33236 fd = open ("conftest.mmap", O_RDWR);
33239 data2 = (char *) malloc (2 * pagesize);
33242 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
33243 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
33244 MAP_PRIVATE | MAP_FIXED, fd, 0L))
33246 for (i = 0; i < pagesize; ++i)
33247 if (*(data + i) != *(data2 + i))
33250 /* Finally, make sure that changes to the mapped area do not
33251 percolate back to the file as seen by read(). (This is a bug on
33252 some variants of i386 svr4.0.) */
33253 for (i = 0; i < pagesize; ++i)
33254 *(data2 + i) = *(data2 + i) + 1;
33255 data3 = (char *) malloc (pagesize);
33258 if (read (fd, data3, pagesize) != pagesize)
33260 for (i = 0; i < pagesize; ++i)
33261 if (*(data + i) != *(data3 + i))
33267 rm -f conftest
$ac_exeext
33268 if { (ac_try
="$ac_link"
33269 case "(($ac_try" in
33270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33271 *) ac_try_echo=$ac_try;;
33273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33274 (eval "$ac_link") 2>&5
33276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33277 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33278 { (case "(($ac_try" in
33279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33280 *) ac_try_echo
=$ac_try;;
33282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33283 (eval "$ac_try") 2>&5
33285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33286 (exit $ac_status); }; }; then
33287 ac_cv_func_mmap_fixed_mapped
=yes
33289 echo "$as_me: program exited with status $ac_status" >&5
33290 echo "$as_me: failed program was:" >&5
33291 sed 's/^/| /' conftest.
$ac_ext >&5
33293 ( exit $ac_status )
33294 ac_cv_func_mmap_fixed_mapped
=no
33296 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
33301 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
33302 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
33303 if test $ac_cv_func_mmap_fixed_mapped = yes; then
33305 cat >>confdefs.h
<<\_ACEOF
33306 #define HAVE_MMAP 1
33310 rm -f conftest.mmap
33312 { echo "$as_me:$LINENO: checking for mmap of files" >&5
33313 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6; }
33314 if test "${ac_cv_func_mmap_file+set}" = set; then
33315 echo $ECHO_N "(cached) $ECHO_C" >&6
33318 ac_cpp
='$CPP $CPPFLAGS'
33319 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33320 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33321 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33323 if test "$cross_compiling" = yes; then
33324 ac_cv_func_mmap_file
=no
33326 cat >conftest.
$ac_ext <<_ACEOF
33330 cat confdefs.h
>>conftest.
$ac_ext
33331 cat >>conftest.
$ac_ext <<_ACEOF
33332 /* end confdefs.h. */
33334 #include <sys/types.h>
33335 #include <sys/mman.h>
33343 fd = creat ("foo",0777);
33344 fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
33346 return (fd != (int) MAP_FAILED);
33351 rm -f conftest
$ac_exeext
33352 if { (ac_try
="$ac_link"
33353 case "(($ac_try" in
33354 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33355 *) ac_try_echo=$ac_try;;
33357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33358 (eval "$ac_link") 2>&5
33360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33361 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33362 { (case "(($ac_try" in
33363 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33364 *) ac_try_echo
=$ac_try;;
33366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33367 (eval "$ac_try") 2>&5
33369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33370 (exit $ac_status); }; }; then
33371 ac_cv_func_mmap_file
=yes
33373 echo "$as_me: program exited with status $ac_status" >&5
33374 echo "$as_me: failed program was:" >&5
33375 sed 's/^/| /' conftest.
$ac_ext >&5
33377 ( exit $ac_status )
33378 ac_cv_func_mmap_file
=no
33380 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
33385 ac_cpp
='$CPP $CPPFLAGS'
33386 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33387 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33388 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33392 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
33393 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6; }
33394 if test "$ac_cv_func_mmap_file" = yes; then
33396 cat >>confdefs.h
<<\_ACEOF
33397 #define HAVE_MMAP_FILE
33404 { echo "$as_me:$LINENO: checking if /dev/zero is needed for mmap" >&5
33405 echo $ECHO_N "checking if /dev/zero is needed for mmap... $ECHO_C" >&6; }
33406 if test "${ac_cv_need_dev_zero_for_mmap+set}" = set; then
33407 echo $ECHO_N "(cached) $ECHO_C" >&6
33409 if test "$llvm_cv_os_type" = "Interix" ; then
33410 ac_cv_need_dev_zero_for_mmap
=yes
33412 ac_cv_need_dev_zero_for_mmap
=no
33416 { echo "$as_me:$LINENO: result: $ac_cv_need_dev_zero_for_mmap" >&5
33417 echo "${ECHO_T}$ac_cv_need_dev_zero_for_mmap" >&6; }
33418 if test "$ac_cv_need_dev_zero_for_mmap" = yes; then
33420 cat >>confdefs.h
<<\_ACEOF
33421 #define NEED_DEV_ZERO_FOR_MMAP 1
33426 if test "$ac_cv_func_mmap_fixed_mapped" = "no"
33428 { echo "$as_me:$LINENO: WARNING: mmap() of a fixed address required but not supported" >&5
33429 echo "$as_me: WARNING: mmap() of a fixed address required but not supported" >&2;}
33431 if test "$ac_cv_func_mmap_file" = "no"
33433 { echo "$as_me:$LINENO: WARNING: mmap() of files required but not found" >&5
33434 echo "$as_me: WARNING: mmap() of files required but not found" >&2;}
33439 { echo "$as_me:$LINENO: checking whether llvm-gcc is sane" >&5
33440 echo $ECHO_N "checking whether llvm-gcc is sane... $ECHO_C" >&6; }
33441 if test "${llvm_cv_llvmgcc_sanity+set}" = set; then
33442 echo $ECHO_N "(cached) $ECHO_C" >&6
33444 llvm_cv_llvmgcc_sanity
="no"
33445 if test -x "$LLVMGCC" ; then
33446 cp /dev
/null conftest.c
33447 "$LLVMGCC" -emit-llvm -S -o - conftest.c | \
33448 grep 'target datalayout =' > /dev
/null
2>&1
33449 if test $?
-eq 0 ; then
33450 llvm_cv_llvmgcc_sanity
="yes"
33455 { echo "$as_me:$LINENO: result: $llvm_cv_llvmgcc_sanity" >&5
33456 echo "${ECHO_T}$llvm_cv_llvmgcc_sanity" >&6; }
33458 if test "$llvm_cv_llvmgcc_sanity" = "yes" ; then
33459 { echo "$as_me:$LINENO: checking llvm-gcc component support" >&5
33460 echo $ECHO_N "checking llvm-gcc component support... $ECHO_C" >&6; }
33461 llvmcc1path
=`"$LLVMGCC" --print-prog-name=cc1`
33462 LLVMCC1
=$llvmcc1path
33464 llvmcc1pluspath
=`"$LLVMGCC" --print-prog-name=cc1plus`
33465 LLVMCC1PLUS
=$llvmcc1pluspath
33467 llvmgccdir
=`echo "$llvmcc1path" | sed 's,/libexec/.*,,'`
33468 LLVMGCCDIR
=$llvmgccdir
33470 llvmgcclibexec
=`echo "$llvmcc1path" | sed 's,/cc1,,'`
33471 LLVMGCCLIBEXEC
=$llvmgcclibexec
33473 llvmgccversion
=`"$LLVMGCC" -dumpversion 2>&1 | sed 's/^\([0-9.]*\).*/\1/'`
33474 llvmgccmajvers
=`echo $llvmgccversion | sed 's/^\([0-9]\).*/\1/'`
33475 LLVMGCC_VERSION
=$llvmgccversion
33477 LLVMGCC_MAJVERS
=$llvmgccmajvers
33479 llvmgcclangs
=`"$LLVMGCC" -v --help 2>&1 | grep '^Configured with:' | sed 's/^.*--enable-languages=\([^ -]*\).*/\1/'`
33480 LLVMGCC_LANGS
=$llvmgcclangs
33482 { echo "$as_me:$LINENO: result: ok" >&5
33483 echo "${ECHO_T}ok" >&6; }
33486 SHLIBEXT
=$libltdl_cv_shlibext
33489 # Translate the various configuration directories and other basic
33490 # information into substitutions that will end up in Makefile.config.in
33491 # that these configured values can be used by the makefiles
33492 if test "${prefix}" = "NONE" ; then
33493 prefix
="/usr/local"
33495 eval LLVM_PREFIX
="${prefix}";
33496 eval LLVM_BINDIR
="${prefix}/bin";
33497 eval LLVM_LIBDIR
="${prefix}/lib";
33498 eval LLVM_DATADIR
="${prefix}/share/llvm";
33499 eval LLVM_DOCSDIR
="${prefix}/docs/llvm";
33500 eval LLVM_ETCDIR
="${prefix}/etc/llvm";
33501 eval LLVM_INCLUDEDIR
="${prefix}/include";
33502 eval LLVM_INFODIR
="${prefix}/info";
33503 eval LLVM_MANDIR
="${prefix}/man";
33504 LLVM_CONFIGTIME
=`date`
33516 # Place the various directores into the config.h file as #defines so that we
33517 # can know about the installation paths within LLVM.
33519 cat >>confdefs.h
<<_ACEOF
33520 #define LLVM_PREFIX "$LLVM_PREFIX"
33524 cat >>confdefs.h
<<_ACEOF
33525 #define LLVM_BINDIR "$LLVM_BINDIR"
33529 cat >>confdefs.h
<<_ACEOF
33530 #define LLVM_LIBDIR "$LLVM_LIBDIR"
33534 cat >>confdefs.h
<<_ACEOF
33535 #define LLVM_DATADIR "$LLVM_DATADIR"
33539 cat >>confdefs.h
<<_ACEOF
33540 #define LLVM_DATADIR "$LLVM_DOCSDIR"
33544 cat >>confdefs.h
<<_ACEOF
33545 #define LLVM_ETCDIR "$LLVM_ETCDIR"
33549 cat >>confdefs.h
<<_ACEOF
33550 #define LLVM_INCLUDEDIR "$LLVM_INCLUDEDIR"
33554 cat >>confdefs.h
<<_ACEOF
33555 #define LLVM_INFODIR "$LLVM_INFODIR"
33559 cat >>confdefs.h
<<_ACEOF
33560 #define LLVM_MANDIR "$LLVM_MANDIR"
33564 cat >>confdefs.h
<<_ACEOF
33565 #define LLVM_CONFIGTIME "$LLVM_CONFIGTIME"
33570 ac_config_headers
="$ac_config_headers include/llvm/Config/config.h"
33572 ac_config_headers
="$ac_config_headers include/llvm/Support/DataTypes.h"
33574 ac_config_headers
="$ac_config_headers include/llvm/ADT/hash_map"
33576 ac_config_headers
="$ac_config_headers include/llvm/ADT/hash_set"
33578 ac_config_headers
="$ac_config_headers include/llvm/ADT/iterator"
33581 ac_config_files
="$ac_config_files Makefile.config"
33584 ac_config_files
="$ac_config_files llvm.spec"
33587 ac_config_files
="$ac_config_files docs/doxygen.cfg"
33590 ac_config_files
="$ac_config_files tools/llvm-config/llvm-config.in"
33593 ac_config_commands
="$ac_config_commands setup"
33595 ac_config_commands
="$ac_config_commands Makefile"
33598 ac_config_commands
="$ac_config_commands Makefile.common"
33601 ac_config_commands
="$ac_config_commands examples/Makefile"
33604 ac_config_commands
="$ac_config_commands lib/Makefile"
33607 ac_config_commands
="$ac_config_commands runtime/Makefile"
33610 ac_config_commands
="$ac_config_commands test/Makefile"
33613 ac_config_commands
="$ac_config_commands test/Makefile.tests"
33616 ac_config_commands
="$ac_config_commands tools/Makefile"
33619 ac_config_commands
="$ac_config_commands utils/Makefile"
33622 ac_config_commands
="$ac_config_commands projects/Makefile"
33626 cat >confcache
<<\_ACEOF
33627 # This file is a shell script that caches the results of configure
33628 # tests run on this system so they can be shared between configure
33629 # scripts and configure runs, see configure's option --config-cache.
33630 # It is not useful on other systems. If it contains results you don't
33631 # want to keep, you may remove or edit it.
33633 # config.status only pays attention to the cache file if you give it
33634 # the --recheck option to rerun configure.
33636 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33637 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33638 # following values.
33642 # The following way of writing the cache mishandles newlines in values,
33643 # but we know of no workaround that is simple, portable, and efficient.
33644 # So, we kill variables containing newlines.
33645 # Ultrix sh set writes to stderr and can't be redirected directly,
33646 # and sets the high bit in the cache file unless we assign to the vars.
33648 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33649 eval ac_val
=\$
$ac_var
33653 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
33654 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
33657 _ | IFS | as_nl
) ;; #(
33658 *) $as_unset $ac_var ;;
33664 case $as_nl`(ac_space=' '; set) 2>&1` in #(
33665 *${as_nl}ac_space
=\
*)
33666 # `set' does not quote correctly, so add quotes (double-quote
33667 # substitution turns \\\\ into \\, and sed turns \\ into \).
33670 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33673 # `set' quotes correctly as required by POSIX, so do not add quotes.
33674 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33683 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33685 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33687 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
33688 if test -w "$cache_file"; then
33689 test "x$cache_file" != "x/dev/null" &&
33690 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
33691 echo "$as_me: updating cache $cache_file" >&6;}
33692 cat confcache
>$cache_file
33694 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
33695 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33700 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
33701 # Let make expand exec_prefix.
33702 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
33704 DEFS
=-DHAVE_CONFIG_H
33708 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
33709 # 1. Remove the extension, and $U if already installed.
33710 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
33711 ac_i
=`echo "$ac_i" | sed "$ac_script"`
33712 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
33713 # will be set to the directory where LIBOBJS objects are built.
33714 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33715 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
33717 LIBOBJS
=$ac_libobjs
33719 LTLIBOBJS
=$ac_ltlibobjs
33722 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
33723 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
33724 Usually this means the macro was only invoked conditionally." >&5
33725 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
33726 Usually this means the macro was only invoked conditionally." >&2;}
33727 { (exit 1); exit 1; }; }
33729 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
33730 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
33731 Usually this means the macro was only invoked conditionally." >&5
33732 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
33733 Usually this means the macro was only invoked conditionally." >&2;}
33734 { (exit 1); exit 1; }; }
33737 : ${CONFIG_STATUS=./config.status}
33738 ac_clean_files_save
=$ac_clean_files
33739 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
33740 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33741 echo "$as_me: creating $CONFIG_STATUS" >&6;}
33742 cat >$CONFIG_STATUS <<_ACEOF
33744 # Generated by $as_me.
33745 # Run this file to recreate the current configuration.
33746 # Compiler output produced by configure, useful for debugging
33747 # configure, is in config.log if it exists.
33750 ac_cs_recheck=false
33752 SHELL=\${CONFIG_SHELL-$SHELL}
33755 cat >>$CONFIG_STATUS <<\_ACEOF
33756 ## --------------------- ##
33757 ## M4sh Initialization. ##
33758 ## --------------------- ##
33760 # Be Bourne compatible
33761 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
33764 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33765 # is contrary to our usage. Disable this feature.
33766 alias -g '${1+"$@"}'='"$@"'
33767 setopt NO_GLOB_SUBST
33769 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
33771 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
33772 DUALCASE
=1; export DUALCASE
# for MKS sh
33776 # Avoid depending upon Character Ranges.
33777 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
33778 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33779 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
33780 as_cr_digits
='0123456789'
33781 as_cr_alnum
=$as_cr_Letters$as_cr_digits
33783 # The user is always right.
33784 if test "${PATH_SEPARATOR+set}" != set; then
33785 echo "#! /bin/sh" >conf$$.sh
33786 echo "exit 0" >>conf$$.sh
33788 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
33796 # Support unset when possible.
33797 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
33805 # We need space, tab and new line, in precisely that order. Quoting is
33806 # there to prevent editors from complaining about space-tab.
33807 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
33808 # splitting by setting IFS to empty value.)
33813 # Find who we are. Look in the path if we contain no directory separator.
33815 *[\\/]* ) as_myself
=$0 ;;
33816 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33817 for as_dir
in $PATH
33820 test -z "$as_dir" && as_dir
=.
33821 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
33827 # We did not find ourselves, most probably we were run as `sh COMMAND'
33828 # in which case we are not to be found in the path.
33829 if test "x$as_myself" = x
; then
33832 if test ! -f "$as_myself"; then
33833 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
33834 { (exit 1); exit 1; }
33837 # Work around bugs in pre-3.0 UWIN ksh.
33838 for as_var
in ENV MAIL MAILPATH
33839 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
33847 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33848 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33849 LC_TELEPHONE LC_TIME
33851 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33852 eval $as_var=C
; export $as_var
33854 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
33858 # Required to use basename.
33859 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
33860 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
33866 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
33867 as_basename
=basename
33873 # Name of the executable.
33874 as_me
=`$as_basename -- "$0" ||
33875 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33876 X"$0" : 'X\(//\)$' \| \
33877 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
33879 sed '/^.*\/\([^/][^/]*\)\/*$/{
33898 as_lineno_1
=$LINENO
33899 as_lineno_2
=$LINENO
33900 test "x$as_lineno_1" != "x$as_lineno_2" &&
33901 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
33903 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33904 # uniformly replaced by the line number. The first 'sed' inserts a
33905 # line-number line after each line using $LINENO; the second 'sed'
33906 # does the real work. The second script uses 'N' to pair each
33907 # line-number line with the line containing $LINENO, and appends
33908 # trailing '-' during substitution so that $LINENO is not a special
33909 # case at line end.
33910 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33911 # scripts with optimization help from Paolo Bonzini. Blame Lee
33912 # E. McMahon (1931-1989) for sed's syntax. :-)
33924 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
33927 ' >$as_me.lineno
&&
33928 chmod +x
"$as_me.lineno" ||
33929 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
33930 { (exit 1); exit 1; }; }
33932 # Don't try to exec as it changes $[0], causing all sort of problems
33933 # (the dirname of $[0] is not the place where we might find the
33934 # original and so on. Autoconf is especially sensitive to this).
33935 .
"./$as_me.lineno"
33936 # Exit status is that of the last command.
33941 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
33947 ECHO_C
= ECHO_N
= ECHO_T
=
33948 case `echo -n x` in
33950 case `echo 'x\c'` in
33951 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
33958 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
33959 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
33965 rm -f conf$$ conf$$.exe conf$$.
file
33966 if test -d conf$$.dir
; then
33967 rm -f conf$$.dir
/conf$$.
file
33973 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
33975 # ... but there are two gotchas:
33976 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
33977 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
33978 # In both cases, we have to default to `cp -p'.
33979 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
33981 elif ln conf$$.
file conf$$
2>/dev
/null
; then
33986 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
33987 rmdir conf$$.dir
2>/dev
/null
33989 if mkdir
-p .
2>/dev
/null
; then
33992 test -d .
/-p && rmdir .
/-p
33996 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
33997 # systems may use methods other than mode bits to determine executability.
33998 cat >conf$$.
file <<_ASEOF
34002 chmod +x conf$$.
file
34003 if test -x conf$$.
file >/dev
/null
2>&1; then
34004 as_executable_p
="test -x"
34010 # Sed expression to map a string onto a valid CPP name.
34011 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34013 # Sed expression to map a string onto a valid variable name.
34014 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34019 # Save the log message, to keep $[0] and so on meaningful, and to
34020 # report actual input values of CONFIG_FILES etc. instead of their
34021 # values after options handling.
34023 This file was extended by llvm $as_me 2.1cvs, which was
34024 generated by GNU Autoconf 2.60. Invocation command line was
34026 CONFIG_FILES = $CONFIG_FILES
34027 CONFIG_HEADERS = $CONFIG_HEADERS
34028 CONFIG_LINKS = $CONFIG_LINKS
34029 CONFIG_COMMANDS = $CONFIG_COMMANDS
34032 on `(hostname || uname -n) 2>/dev/null | sed 1q`
34037 cat >>$CONFIG_STATUS <<_ACEOF
34038 # Files that config.status was made for.
34039 config_files="$ac_config_files"
34040 config_headers="$ac_config_headers"
34041 config_commands="$ac_config_commands"
34045 cat >>$CONFIG_STATUS <<\_ACEOF
34047 \`$as_me' instantiates files from templates according to the
34048 current configuration.
34050 Usage: $0 [OPTIONS] [FILE]...
34052 -h, --help print this help, then exit
34053 -V, --version print version number, then exit
34054 -q, --quiet do not print progress messages
34055 -d, --debug don't remove temporary files
34056 --recheck update $as_me by reconfiguring in the same conditions
34057 --file=FILE[:TEMPLATE]
34058 instantiate the configuration file FILE
34059 --header=FILE[:TEMPLATE]
34060 instantiate the configuration header FILE
34062 Configuration files:
34065 Configuration headers:
34068 Configuration commands:
34071 Report bugs to <bug-autoconf@gnu.org>."
34074 cat >>$CONFIG_STATUS <<_ACEOF
34076 llvm config.status 2.1cvs
34077 configured by $0, generated by GNU Autoconf 2.60,
34078 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
34080 Copyright (C) 2006 Free Software Foundation, Inc.
34081 This config.status script is free software; the Free Software Foundation
34082 gives unlimited permission to copy, distribute and modify it."
34089 cat >>$CONFIG_STATUS <<\_ACEOF
34090 # If no file are specified by the user, then we need to provide default
34091 # value. By we need to know if files were specified by the user.
34097 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
34098 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
34109 # Handling of the options.
34110 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
34112 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
34113 echo "$ac_cs_version"; exit ;;
34114 --debug |
--debu |
--deb |
--de |
--d |
-d )
34116 --file |
--fil |
--fi |
--f )
34118 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
34119 ac_need_defaults
=false
;;
34120 --header |
--heade |
--head |
--hea )
34122 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
34123 ac_need_defaults
=false
;;
34125 # Conflict between --help and --header
34126 { echo "$as_me: error: ambiguous option: $1
34127 Try \`$0 --help' for more information." >&2
34128 { (exit 1); exit 1; }; };;
34129 --help |
--hel |
-h )
34130 echo "$ac_cs_usage"; exit ;;
34131 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
34132 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
34135 # This is an error.
34136 -*) { echo "$as_me: error: unrecognized option: $1
34137 Try \`$0 --help' for more information." >&2
34138 { (exit 1); exit 1; }; } ;;
34140 *) ac_config_targets
="$ac_config_targets $1"
34141 ac_need_defaults
=false
;;
34147 ac_configure_extra_args
=
34149 if $ac_cs_silent; then
34151 ac_configure_extra_args
="$ac_configure_extra_args --silent"
34155 cat >>$CONFIG_STATUS <<_ACEOF
34156 if \$ac_cs_recheck; then
34157 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34158 CONFIG_SHELL=$SHELL
34159 export CONFIG_SHELL
34160 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34164 cat >>$CONFIG_STATUS <<\_ACEOF
34168 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34169 ## Running $as_me. ##
34175 cat >>$CONFIG_STATUS <<_ACEOF
34179 llvm_src="${srcdir}"
34183 cat >>$CONFIG_STATUS <<\_ACEOF
34185 # Handling of arguments.
34186 for ac_config_target
in $ac_config_targets
34188 case $ac_config_target in
34189 "include/llvm/Config/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Config/config.h" ;;
34190 "include/llvm/Support/DataTypes.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Support/DataTypes.h" ;;
34191 "include/llvm/ADT/hash_map") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/ADT/hash_map" ;;
34192 "include/llvm/ADT/hash_set") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/ADT/hash_set" ;;
34193 "include/llvm/ADT/iterator") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/ADT/iterator" ;;
34194 "Makefile.config") CONFIG_FILES
="$CONFIG_FILES Makefile.config" ;;
34195 "llvm.spec") CONFIG_FILES
="$CONFIG_FILES llvm.spec" ;;
34196 "docs/doxygen.cfg") CONFIG_FILES
="$CONFIG_FILES docs/doxygen.cfg" ;;
34197 "tools/llvm-config/llvm-config.in") CONFIG_FILES
="$CONFIG_FILES tools/llvm-config/llvm-config.in" ;;
34198 "setup") CONFIG_COMMANDS
="$CONFIG_COMMANDS setup" ;;
34199 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
34200 "Makefile.common") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile.common" ;;
34201 "examples/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS examples/Makefile" ;;
34202 "lib/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS lib/Makefile" ;;
34203 "runtime/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS runtime/Makefile" ;;
34204 "test/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile" ;;
34205 "test/Makefile.tests") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile.tests" ;;
34206 "tools/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/Makefile" ;;
34207 "utils/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS utils/Makefile" ;;
34208 "projects/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS projects/Makefile" ;;
34210 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
34211 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
34212 { (exit 1); exit 1; }; };;
34217 # If the user did not use the arguments to specify the items to instantiate,
34218 # then the envvar interface is used. Set only those that are not.
34219 # We use the long form for the default assignment because of an extremely
34220 # bizarre bug on SunOS 4.1.3.
34221 if $ac_need_defaults; then
34222 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
34223 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
34224 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
34227 # Have a temporary directory for convenience. Make it in the build tree
34228 # simply because there is no reason against having it here, and in addition,
34229 # creating and moving files from /tmp can sometimes cause problems.
34230 # Hook for its removal unless debugging.
34231 # Note that there is a small window in which the directory will not be cleaned:
34232 # after its creation but before its name has been assigned to `$tmp'.
34236 trap 'exit_status=$?
34237 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
34239 trap '{ (exit 1); exit 1; }' 1 2 13 15
34241 # Create a (secure) tmp directory for tmp files.
34244 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
34245 test -n "$tmp" && test -d "$tmp"
34248 tmp
=.
/conf$$
-$RANDOM
34249 (umask 077 && mkdir
"$tmp")
34252 echo "$me: cannot create a temporary directory in ." >&2
34253 { (exit 1); exit 1; }
34257 # Set up the sed scripts for CONFIG_FILES section.
34260 # No need to generate the scripts if there are no CONFIG_FILES.
34261 # This happens for instance when ./config.status config.h
34262 if test -n "$CONFIG_FILES"; then
34269 for ac_last_try
in false false false false false
:; do
34270 cat >conf$
$subs.
sed <<_ACEOF
34271 SHELL!$SHELL$ac_delim
34272 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
34273 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
34274 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
34275 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
34276 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
34277 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
34278 exec_prefix!$exec_prefix$ac_delim
34279 prefix!$prefix$ac_delim
34280 program_transform_name!$program_transform_name$ac_delim
34281 bindir!$bindir$ac_delim
34282 sbindir!$sbindir$ac_delim
34283 libexecdir!$libexecdir$ac_delim
34284 datarootdir!$datarootdir$ac_delim
34285 datadir!$datadir$ac_delim
34286 sysconfdir!$sysconfdir$ac_delim
34287 sharedstatedir!$sharedstatedir$ac_delim
34288 localstatedir!$localstatedir$ac_delim
34289 includedir!$includedir$ac_delim
34290 oldincludedir!$oldincludedir$ac_delim
34291 docdir!$docdir$ac_delim
34292 infodir!$infodir$ac_delim
34293 htmldir!$htmldir$ac_delim
34294 dvidir!$dvidir$ac_delim
34295 pdfdir!$pdfdir$ac_delim
34296 psdir!$psdir$ac_delim
34297 libdir!$libdir$ac_delim
34298 localedir!$localedir$ac_delim
34299 mandir!$mandir$ac_delim
34300 DEFS!$DEFS$ac_delim
34301 ECHO_C!$ECHO_C$ac_delim
34302 ECHO_N!$ECHO_N$ac_delim
34303 ECHO_T!$ECHO_T$ac_delim
34304 LIBS!$LIBS$ac_delim
34305 build_alias!$build_alias$ac_delim
34306 host_alias!$host_alias$ac_delim
34307 target_alias!$target_alias$ac_delim
34308 LLVM_COPYRIGHT!$LLVM_COPYRIGHT$ac_delim
34309 subdirs!$subdirs$ac_delim
34310 build!$build$ac_delim
34311 build_cpu!$build_cpu$ac_delim
34312 build_vendor!$build_vendor$ac_delim
34313 build_os!$build_os$ac_delim
34314 host!$host$ac_delim
34315 host_cpu!$host_cpu$ac_delim
34316 host_vendor!$host_vendor$ac_delim
34317 host_os!$host_os$ac_delim
34318 target!$target$ac_delim
34319 target_cpu!$target_cpu$ac_delim
34320 target_vendor!$target_vendor$ac_delim
34321 target_os!$target_os$ac_delim
34323 LINKALL!$LINKALL$ac_delim
34324 NOLINKALL!$NOLINKALL$ac_delim
34325 LLVM_ON_UNIX!$LLVM_ON_UNIX$ac_delim
34326 LLVM_ON_WIN32!$LLVM_ON_WIN32$ac_delim
34327 ARCH!$ARCH$ac_delim
34328 ENDIAN!$ENDIAN$ac_delim
34330 CFLAGS!$CFLAGS$ac_delim
34331 LDFLAGS!$LDFLAGS$ac_delim
34332 CPPFLAGS!$CPPFLAGS$ac_delim
34333 ac_ct_CC!$ac_ct_CC$ac_delim
34334 EXEEXT!$EXEEXT$ac_delim
34335 OBJEXT!$OBJEXT$ac_delim
34337 GREP!$GREP$ac_delim
34338 EGREP!$EGREP$ac_delim
34339 LLVM_CROSS_COMPILING!$LLVM_CROSS_COMPILING$ac_delim
34340 BUILD_CC!$BUILD_CC$ac_delim
34341 BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
34342 CVSBUILD!$CVSBUILD$ac_delim
34343 ENABLE_OPTIMIZED!$ENABLE_OPTIMIZED$ac_delim
34344 DISABLE_ASSERTIONS!$DISABLE_ASSERTIONS$ac_delim
34345 DEBUG_RUNTIME!$DEBUG_RUNTIME$ac_delim
34347 TARGET_HAS_JIT!$TARGET_HAS_JIT$ac_delim
34348 ENABLE_DOXYGEN!$ENABLE_DOXYGEN$ac_delim
34349 ENABLE_THREADS!$ENABLE_THREADS$ac_delim
34350 ENABLE_PIC!$ENABLE_PIC$ac_delim
34351 TARGETS_TO_BUILD!$TARGETS_TO_BUILD$ac_delim
34352 ENABLE_CBE_PRINTF_A!$ENABLE_CBE_PRINTF_A$ac_delim
34353 EXTRA_OPTIONS!$EXTRA_OPTIONS$ac_delim
34355 CXXFLAGS!$CXXFLAGS$ac_delim
34356 ac_ct_CXX!$ac_ct_CXX$ac_delim
34358 LEXLIB!$LEXLIB$ac_delim
34359 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
34360 FLEX!$FLEX$ac_delim
34361 YACC!$YACC$ac_delim
34362 YFLAGS!$YFLAGS$ac_delim
34363 BISON!$BISON$ac_delim
34365 ifGNUmake!$ifGNUmake$ac_delim
34366 LN_S!$LN_S$ac_delim
34370 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
34372 elif $ac_last_try; then
34373 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34374 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34375 { (exit 1); exit 1; }; }
34377 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
34381 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34382 if test -n "$ac_eof"; then
34383 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
34384 ac_eof
=`expr $ac_eof + 1`
34387 cat >>$CONFIG_STATUS <<_ACEOF
34388 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
34389 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34392 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34393 s/^/s,@/; s/!/@,|#_!!_#|/
34396 s/'"$ac_delim"'$/,g/; t
34398 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34399 ' >>$CONFIG_STATUS <conf$
$subs.
sed
34400 rm -f conf$
$subs.
sed
34401 cat >>$CONFIG_STATUS <<_ACEOF
34407 for ac_last_try
in false false false false false
:; do
34408 cat >conf$
$subs.
sed <<_ACEOF
34410 DATE!$DATE$ac_delim
34411 FIND!$FIND$ac_delim
34412 MKDIR!$MKDIR$ac_delim
34414 RANLIB!$RANLIB$ac_delim
34418 BINPWD!$BINPWD$ac_delim
34419 GRAPHVIZ!$GRAPHVIZ$ac_delim
34422 DOTTY!$DOTTY$ac_delim
34423 PERL!$PERL$ac_delim
34424 HAVE_PERL!$HAVE_PERL$ac_delim
34425 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
34426 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
34427 INSTALL_DATA!$INSTALL_DATA$ac_delim
34428 BZIP2!$BZIP2$ac_delim
34429 DOXYGEN!$DOXYGEN$ac_delim
34430 GROFF!$GROFF$ac_delim
34431 GZIP!$GZIP$ac_delim
34432 POD2HTML!$POD2HTML$ac_delim
34433 POD2MAN!$POD2MAN$ac_delim
34434 RUNTEST!$RUNTEST$ac_delim
34435 TCLSH!$TCLSH$ac_delim
34437 INSTALL_LTDL_TRUE!$INSTALL_LTDL_TRUE$ac_delim
34438 INSTALL_LTDL_FALSE!$INSTALL_LTDL_FALSE$ac_delim
34439 CONVENIENCE_LTDL_TRUE!$CONVENIENCE_LTDL_TRUE$ac_delim
34440 CONVENIENCE_LTDL_FALSE!$CONVENIENCE_LTDL_FALSE$ac_delim
34441 LIBADD_DL!$LIBADD_DL$ac_delim
34442 ECHO!$ECHO$ac_delim
34444 STRIP!$STRIP$ac_delim
34445 CXXCPP!$CXXCPP$ac_delim
34447 FFLAGS!$FFLAGS$ac_delim
34448 ac_ct_F77!$ac_ct_F77$ac_delim
34449 LIBTOOL!$LIBTOOL$ac_delim
34450 ETAGSFLAGS!$ETAGSFLAGS$ac_delim
34451 LLVMGCC!$LLVMGCC$ac_delim
34452 LLVMGXX!$LLVMGXX$ac_delim
34453 USE_UDIS86!$USE_UDIS86$ac_delim
34454 HAVE_PTHREAD!$HAVE_PTHREAD$ac_delim
34455 HUGE_VAL_SANITY!$HUGE_VAL_SANITY$ac_delim
34456 ALLOCA!$ALLOCA$ac_delim
34457 MMAP_FILE!$MMAP_FILE$ac_delim
34458 LLVMCC1!$LLVMCC1$ac_delim
34459 LLVMCC1PLUS!$LLVMCC1PLUS$ac_delim
34460 LLVMGCCDIR!$LLVMGCCDIR$ac_delim
34461 LLVMGCCLIBEXEC!$LLVMGCCLIBEXEC$ac_delim
34462 LLVMGCC_VERSION!$LLVMGCC_VERSION$ac_delim
34463 LLVMGCC_MAJVERS!$LLVMGCC_MAJVERS$ac_delim
34464 LLVMGCC_LANGS!$LLVMGCC_LANGS$ac_delim
34465 SHLIBEXT!$SHLIBEXT$ac_delim
34466 LLVM_PREFIX!$LLVM_PREFIX$ac_delim
34467 LLVM_BINDIR!$LLVM_BINDIR$ac_delim
34468 LLVM_LIBDIR!$LLVM_LIBDIR$ac_delim
34469 LLVM_DATADIR!$LLVM_DATADIR$ac_delim
34470 LLVM_DOCSDIR!$LLVM_DOCSDIR$ac_delim
34471 LLVM_ETCDIR!$LLVM_ETCDIR$ac_delim
34472 LLVM_INCLUDEDIR!$LLVM_INCLUDEDIR$ac_delim
34473 LLVM_INFODIR!$LLVM_INFODIR$ac_delim
34474 LLVM_MANDIR!$LLVM_MANDIR$ac_delim
34475 LLVM_CONFIGTIME!$LLVM_CONFIGTIME$ac_delim
34476 LIBOBJS!$LIBOBJS$ac_delim
34477 LTLIBOBJS!$LTLIBOBJS$ac_delim
34480 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 69; then
34482 elif $ac_last_try; then
34483 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34484 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34485 { (exit 1); exit 1; }; }
34487 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
34491 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34492 if test -n "$ac_eof"; then
34493 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
34494 ac_eof
=`expr $ac_eof + 1`
34497 cat >>$CONFIG_STATUS <<_ACEOF
34498 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
34499 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
34502 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34503 s/^/s,@/; s/!/@,|#_!!_#|/
34506 s/'"$ac_delim"'$/,g/; t
34508 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34509 ' >>$CONFIG_STATUS <conf$
$subs.
sed
34510 rm -f conf$
$subs.
sed
34511 cat >>$CONFIG_STATUS <<_ACEOF
34518 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34519 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34520 # trailing colons and then remove the whole line if VPATH becomes empty
34521 # (actually we leave an empty line to preserve line numbers).
34522 if test "x$srcdir" = x.
; then
34523 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
34524 s/:*\$(srcdir):*/:/
34525 s/:*\${srcdir}:*/:/
34527 s/^\([^=]*=[ ]*\):*/\1/
34533 cat >>$CONFIG_STATUS <<\_ACEOF
34534 fi # test -n "$CONFIG_FILES"
34537 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
34540 :[FHLC
]) ac_mode
=$ac_tag; continue;;
34542 case $ac_mode$ac_tag in
34544 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
34545 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
34546 { (exit 1); exit 1; }; };;
34547 :[FH
]-) ac_tag
=-:-;;
34548 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
34565 -) ac_f
="$tmp/stdin";;
34566 *) # Look for the file first in the build tree, then in the source tree
34567 # (if the path is not absolute). The absolute path cannot be DOS-style,
34568 # because $ac_f cannot contain `:'.
34572 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
34574 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
34575 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
34576 { (exit 1); exit 1; }; };;
34578 ac_file_inputs
="$ac_file_inputs $ac_f"
34581 # Let's still pretend it is `configure' which instantiates (i.e., don't
34582 # use $as_me), people would be surprised to read:
34583 # /* config.h. Generated by config.status. */
34584 configure_input
="Generated from "`IFS=:
34585 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
34586 if test x
"$ac_file" != x-
; then
34587 configure_input
="$ac_file. $configure_input"
34588 { echo "$as_me:$LINENO: creating $ac_file" >&5
34589 echo "$as_me: creating $ac_file" >&6;}
34593 *:-:* |
*:-) cat >"$tmp/stdin";;
34598 ac_dir
=`$as_dirname -- "$ac_file" ||
34599 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34600 X"$ac_file" : 'X\(//\)[^/]' \| \
34601 X"$ac_file" : 'X\(//\)$' \| \
34602 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34604 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34608 /^X\(\/\/\)[^/].*/{
34623 -*) as_dir
=.
/$as_dir;;
34625 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
34629 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
34630 *) as_qdir
=$as_dir;;
34632 as_dirs
="'$as_qdir' $as_dirs"
34633 as_dir
=`$as_dirname -- "$as_dir" ||
34634 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34635 X"$as_dir" : 'X\(//\)[^/]' \| \
34636 X"$as_dir" : 'X\(//\)$' \| \
34637 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34639 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34643 /^X\(\/\/\)[^/].*/{
34656 test -d "$as_dir" && break
34658 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
34659 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34660 echo "$as_me: error: cannot create directory $as_dir" >&2;}
34661 { (exit 1); exit 1; }; }; }
34665 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
34667 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34668 # A ".." for each directory in $ac_dir_suffix.
34669 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
34670 case $ac_top_builddir_sub in
34671 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
34672 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
34675 ac_abs_top_builddir
=$ac_pwd
34676 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
34677 # for backward compatibility:
34678 ac_top_builddir
=$ac_top_build_prefix
34681 .
) # We are building in place.
34683 ac_top_srcdir
=$ac_top_builddir_sub
34684 ac_abs_top_srcdir
=$ac_pwd ;;
34685 [\\/]* | ?
:[\\/]* ) # Absolute name.
34686 ac_srcdir
=$srcdir$ac_dir_suffix;
34687 ac_top_srcdir
=$srcdir
34688 ac_abs_top_srcdir
=$srcdir ;;
34689 *) # Relative name.
34690 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
34691 ac_top_srcdir
=$ac_top_build_prefix$srcdir
34692 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
34694 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
34704 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
34705 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
34709 cat >>$CONFIG_STATUS <<\_ACEOF
34710 # If the template does not know about datarootdir, expand it.
34711 # FIXME: This hack should be removed a few years after 2.60.
34712 ac_datarootdir_hack
=; ac_datarootdir_seen
=
34714 case `sed -n '/datarootdir/ {
34723 ' $ac_file_inputs` in
34724 *datarootdir
*) ac_datarootdir_seen
=yes;;
34725 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
34726 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
34727 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
34729 cat >>$CONFIG_STATUS <<_ACEOF
34730 ac_datarootdir_hack='
34731 s&@datadir@&$datadir&g
34732 s&@docdir@&$docdir&g
34733 s&@infodir@&$infodir&g
34734 s&@localedir@&$localedir&g
34735 s&@mandir@&$mandir&g
34736 s&\\\${datarootdir}&$datarootdir&g' ;;
34740 # Neutralize VPATH when `$srcdir' = `.'.
34741 # Shell code in configure.ac might set extrasub.
34742 # FIXME: do we really want to maintain this feature?
34743 cat >>$CONFIG_STATUS <<_ACEOF
34747 cat >>$CONFIG_STATUS <<\_ACEOF
34749 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
34750 s
&@configure_input@
&$configure_input&;t t
34751 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
34752 s
&@srcdir@
&$ac_srcdir&;t t
34753 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
34754 s
&@top_srcdir@
&$ac_top_srcdir&;t t
34755 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
34756 s
&@builddir@
&$ac_builddir&;t t
34757 s
&@abs_builddir@
&$ac_abs_builddir&;t t
34758 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
34759 s
&@INSTALL@
&$ac_INSTALL&;t t
34760 $ac_datarootdir_hack
34761 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
34763 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
34764 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
34765 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
34766 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
34767 which seems to be undefined. Please make sure it is defined." >&5
34768 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
34769 which seems to be undefined. Please make sure it is defined." >&2;}
34773 -) cat "$tmp/out"; rm -f "$tmp/out";;
34774 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
34783 # Transform confdefs.h into a sed script `conftest.defines', that
34784 # substitutes the proper values into config.h.in to produce config.h.
34785 rm -f conftest.defines conftest.
tail
34786 # First, append a space to every undef/define line, to ease matching.
34787 echo 's/$/ /' >conftest.defines
34788 # Then, protect against being on the right side of a sed subst, or in
34789 # an unquoted here document, in config.status. If some macros were
34790 # called several times there might be several #defines for the same
34791 # symbol, which is useless. But do not sort them, since the last
34792 # AC_DEFINE must be honored.
34793 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
34794 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
34795 # NAME is the cpp macro being defined, VALUE is the value it is being given.
34796 # PARAMS is the parameter list in the macro definition--in most cases, it's
34797 # just an empty string.
34798 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
34799 ac_dB
='\\)[ (].*,\\1define\\2'
34807 s/^[ ]*#[ ]*define[ ][ ]*//
34812 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
34813 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
34814 ' >>conftest.defines
34816 # Remove the space that was appended to ease matching.
34817 # Then replace #undef with comments. This is necessary, for
34818 # example, in the case of _POSIX_SOURCE, which is predefined and required
34819 # on some systems where configure will not decide to define it.
34820 # (The regexp can be short, since the line contains either #define or #undef.)
34822 s,^[ #]*u.*,/* & */,' >>conftest.defines
34824 # Break up conftest.defines:
34825 ac_max_sed_lines
=50
34827 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
34828 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
34829 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
34831 ac_in
='$ac_file_inputs'
34832 ac_out
='"$tmp/out1"'
34833 ac_nxt
='"$tmp/out2"'
34837 # Write a here document:
34838 cat >>$CONFIG_STATUS <<_ACEOF
34839 # First, check the format of the line:
34840 cat >"\$tmp/defines.sed" <<\\CEOF
34841 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
34842 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
34846 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
34848 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
34849 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
34850 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
34851 grep . conftest.
tail >/dev
/null ||
break
34852 rm -f conftest.defines
34853 mv conftest.
tail conftest.defines
34855 rm -f conftest.defines conftest.
tail
34857 echo "ac_result=$ac_in" >>$CONFIG_STATUS
34858 cat >>$CONFIG_STATUS <<\_ACEOF
34859 if test x
"$ac_file" != x-
; then
34860 echo "/* $configure_input */" >"$tmp/config.h"
34861 cat "$ac_result" >>"$tmp/config.h"
34862 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
34863 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34864 echo "$as_me: $ac_file is unchanged" >&6;}
34867 mv "$tmp/config.h" $ac_file
34870 echo "/* $configure_input */"
34876 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
34877 echo "$as_me: executing $ac_file commands" >&6;}
34882 case $ac_file$ac_mode in
34883 "Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile`
34884 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile Makefile
;;
34885 "Makefile.common":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile.common`
34886 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common
;;
34887 "examples/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname examples/Makefile`
34888 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/examples
/Makefile examples
/Makefile
;;
34889 "lib/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname lib/Makefile`
34890 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/lib
/Makefile lib
/Makefile
;;
34891 "runtime/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname runtime/Makefile`
34892 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/runtime
/Makefile runtime
/Makefile
;;
34893 "test/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile`
34894 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/test
/Makefile test
/Makefile
;;
34895 "test/Makefile.tests":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile.tests`
34896 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/test
/Makefile.tests test
/Makefile.tests
;;
34897 "tools/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname tools/Makefile`
34898 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/tools
/Makefile tools
/Makefile
;;
34899 "utils/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname utils/Makefile`
34900 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/utils
/Makefile utils
/Makefile
;;
34901 "projects/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname projects/Makefile`
34902 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/projects
/Makefile projects
/Makefile
;;
34908 { (exit 0); exit 0; }
34910 chmod +x
$CONFIG_STATUS
34911 ac_clean_files
=$ac_clean_files_save
34914 # configure is writing to config.log, and then calls config.status.
34915 # config.status does its own redirection, appending to config.log.
34916 # Unfortunately, on DOS this fails, as config.log is still kept open
34917 # by configure, so config.status won't be able to write to it; its
34918 # output is simply discarded. So we exec the FD to /dev/null,
34919 # effectively closing config.log, so it can be properly (re)opened and
34920 # appended to by config.status. When coming back to configure, we
34921 # need to make the FD available again.
34922 if test "$no_create" != yes; then
34924 ac_config_status_args
=
34925 test "$silent" = yes &&
34926 ac_config_status_args
="$ac_config_status_args --quiet"
34928 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
34930 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34931 # would make configure fail if this is the last instruction.
34932 $ac_cs_success ||
{ (exit 1); exit 1; }
34936 # CONFIG_SUBDIRS section.
34938 if test "$no_recursion" != yes; then
34940 # Remove --cache-file and --srcdir arguments so they do not pile up.
34941 ac_sub_configure_args
=
34943 eval "set x $ac_configure_args"
34947 if test -n "$ac_prev"; then
34952 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
34953 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
34954 ac_prev
=cache_file
;;
34955 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
34956 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
34959 --config-cache |
-C)
34961 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
34963 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
34965 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
34967 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
34971 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
34973 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
34977 # Always prepend --prefix to ensure using the same prefix
34978 # in subdir configurations.
34979 ac_arg
="--prefix=$prefix"
34981 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
34983 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
34986 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
34988 # Do not complain, so a configure script can configure whichever
34989 # parts of a large source tree are present.
34990 test -d "$srcdir/$ac_dir" ||
continue
34992 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
34993 echo "$as_me:$LINENO: $ac_msg" >&5
34997 -*) as_dir
=.
/$as_dir;;
34999 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
35003 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
35004 *) as_qdir
=$as_dir;;
35006 as_dirs
="'$as_qdir' $as_dirs"
35007 as_dir
=`$as_dirname -- "$as_dir" ||
35008 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35009 X"$as_dir" : 'X\(//\)[^/]' \| \
35010 X"$as_dir" : 'X\(//\)$' \| \
35011 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35013 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35017 /^X\(\/\/\)[^/].*/{
35030 test -d "$as_dir" && break
35032 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
35033 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
35034 echo "$as_me: error: cannot create directory $as_dir" >&2;}
35035 { (exit 1); exit 1; }; }; }
35039 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35041 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35042 # A ".." for each directory in $ac_dir_suffix.
35043 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
35044 case $ac_top_builddir_sub in
35045 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35046 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
35049 ac_abs_top_builddir
=$ac_pwd
35050 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
35051 # for backward compatibility:
35052 ac_top_builddir
=$ac_top_build_prefix
35055 .
) # We are building in place.
35057 ac_top_srcdir
=$ac_top_builddir_sub
35058 ac_abs_top_srcdir
=$ac_pwd ;;
35059 [\\/]* | ?
:[\\/]* ) # Absolute name.
35060 ac_srcdir
=$srcdir$ac_dir_suffix;
35061 ac_top_srcdir
=$srcdir
35062 ac_abs_top_srcdir
=$srcdir ;;
35063 *) # Relative name.
35064 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
35065 ac_top_srcdir
=$ac_top_build_prefix$srcdir
35066 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
35068 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
35073 # Check for guested configure; otherwise get Cygnus style configure.
35074 if test -f "$ac_srcdir/configure.gnu"; then
35075 ac_sub_configure
=$ac_srcdir/configure.gnu
35076 elif test -f "$ac_srcdir/configure"; then
35077 ac_sub_configure
=$ac_srcdir/configure
35078 elif test -f "$ac_srcdir/configure.in"; then
35079 # This should be Cygnus configure.
35080 ac_sub_configure
=$ac_aux_dir/configure
35082 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
35083 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
35087 # The recursion is here.
35088 if test -n "$ac_sub_configure"; then
35089 # Make the cache file name correct relative to the subdirectory.
35090 case $cache_file in
35091 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
35092 *) # Relative name.
35093 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
35096 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
35097 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
35098 # The eval makes quoting arguments work.
35099 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
35100 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
35101 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
35102 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
35103 { (exit 1); exit 1; }; }