2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60 for llvm 2.7svn.
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-2009 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.7svn'
719 PACKAGE_STRING
='llvm 2.7svn'
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
837 ENABLE_EXPENSIVE_CHECKS
848 LLVM_ENUM_ASM_PRINTERS
849 LLVM_ENUM_ASM_PARSERS
854 ENABLE_LLVMC_DYNAMIC_PLUGINS
901 CONVENIENCE_LTDL_TRUE
902 CONVENIENCE_LTDL_FALSE
917 NO_MISSING_FIELD_INITIALIZERS
945 ENABLE_VISIBILITY_INLINES_HIDDEN
951 ac_precious_vars
='build_alias
965 ac_subdirs_all
='projects/sample
967 projects/llvm-stacker
974 projects/llvm-poolalloc
976 projects/llvm-kernel'
978 # Initialize some variables set by options.
980 ac_init_version
=false
981 # The variables have the same names as the options, with
982 # dashes changed to underlines.
990 program_transform_name
=s
,x
,x
,
998 # Installation directory options.
999 # These are left unexpanded so users can "make install exec_prefix=/foo"
1000 # and all the variables that are supposed to be based on exec_prefix
1001 # by default will actually change.
1002 # Use braces instead of parens because sh, perl, etc. also accept them.
1003 # (The list follows the same order as the GNU Coding Standards.)
1004 bindir
='${exec_prefix}/bin'
1005 sbindir
='${exec_prefix}/sbin'
1006 libexecdir
='${exec_prefix}/libexec'
1007 datarootdir
='${prefix}/share'
1008 datadir
='${datarootdir}'
1009 sysconfdir
='${prefix}/etc'
1010 sharedstatedir
='${prefix}/com'
1011 localstatedir
='${prefix}/var'
1012 includedir
='${prefix}/include'
1013 oldincludedir
='/usr/include'
1014 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1015 infodir
='${datarootdir}/info'
1020 libdir
='${exec_prefix}/lib'
1021 localedir
='${datarootdir}/locale'
1022 mandir
='${datarootdir}/man'
1028 # If the previous option needs an argument, assign it.
1029 if test -n "$ac_prev"; then
1030 eval $ac_prev=\
$ac_option
1036 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1040 # Accept the important Cygnus configure options, so we can diagnose typos.
1042 case $ac_dashdash$ac_option in
1046 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1048 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1049 bindir
=$ac_optarg ;;
1051 -build |
--build |
--buil |
--bui |
--bu)
1052 ac_prev
=build_alias
;;
1053 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1054 build_alias
=$ac_optarg ;;
1056 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1057 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1058 ac_prev
=cache_file
;;
1059 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1060 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1061 cache_file
=$ac_optarg ;;
1063 --config-cache |
-C)
1064 cache_file
=config.cache
;;
1066 -datadir |
--datadir |
--datadi |
--datad)
1068 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1069 datadir
=$ac_optarg ;;
1071 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1072 |
--dataroo |
--dataro |
--datar)
1073 ac_prev
=datarootdir
;;
1074 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1075 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1076 datarootdir
=$ac_optarg ;;
1078 -disable-* |
--disable-*)
1079 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1080 # Reject names that are not valid shell variable names.
1081 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1082 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1083 { (exit 1); exit 1; }; }
1084 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1085 eval enable_
$ac_feature=no
;;
1087 -docdir |
--docdir |
--docdi |
--doc |
--do)
1089 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1090 docdir
=$ac_optarg ;;
1092 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1094 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1095 dvidir
=$ac_optarg ;;
1097 -enable-* |
--enable-*)
1098 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1099 # Reject names that are not valid shell variable names.
1100 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1101 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1102 { (exit 1); exit 1; }; }
1103 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1104 eval enable_
$ac_feature=\
$ac_optarg ;;
1106 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1107 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1108 |
--exec |
--exe |
--ex)
1109 ac_prev
=exec_prefix
;;
1110 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1111 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1112 |
--exec=* |
--exe=* |
--ex=*)
1113 exec_prefix
=$ac_optarg ;;
1115 -gas |
--gas |
--ga |
--g)
1116 # Obsolete; use --with-gas.
1119 -help |
--help |
--hel |
--he |
-h)
1120 ac_init_help
=long
;;
1121 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1122 ac_init_help
=recursive
;;
1123 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1124 ac_init_help
=short
;;
1126 -host |
--host |
--hos |
--ho)
1127 ac_prev
=host_alias
;;
1128 -host=* |
--host=* |
--hos=* |
--ho=*)
1129 host_alias
=$ac_optarg ;;
1131 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1133 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1135 htmldir
=$ac_optarg ;;
1137 -includedir |
--includedir |
--includedi |
--included |
--include \
1138 |
--includ |
--inclu |
--incl |
--inc)
1139 ac_prev
=includedir
;;
1140 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1141 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1142 includedir
=$ac_optarg ;;
1144 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1146 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1147 infodir
=$ac_optarg ;;
1149 -libdir |
--libdir |
--libdi |
--libd)
1151 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1152 libdir
=$ac_optarg ;;
1154 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1155 |
--libexe |
--libex |
--libe)
1156 ac_prev
=libexecdir
;;
1157 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1158 |
--libexe=* |
--libex=* |
--libe=*)
1159 libexecdir
=$ac_optarg ;;
1161 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1162 ac_prev
=localedir
;;
1163 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1164 localedir
=$ac_optarg ;;
1166 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1167 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1168 ac_prev
=localstatedir
;;
1169 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1170 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1171 localstatedir
=$ac_optarg ;;
1173 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1175 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1176 mandir
=$ac_optarg ;;
1178 -nfp |
--nfp |
--nf)
1179 # Obsolete; use --without-fp.
1182 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1183 |
--no-cr |
--no-c |
-n)
1186 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1187 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1190 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1191 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1192 |
--oldin |
--oldi |
--old |
--ol |
--o)
1193 ac_prev
=oldincludedir
;;
1194 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1195 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1196 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1197 oldincludedir
=$ac_optarg ;;
1199 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1201 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1202 prefix
=$ac_optarg ;;
1204 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1205 |
--program-pre |
--program-pr |
--program-p)
1206 ac_prev
=program_prefix
;;
1207 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1208 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1209 program_prefix
=$ac_optarg ;;
1211 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1212 |
--program-suf |
--program-su |
--program-s)
1213 ac_prev
=program_suffix
;;
1214 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1215 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1216 program_suffix
=$ac_optarg ;;
1218 -program-transform-name |
--program-transform-name \
1219 |
--program-transform-nam |
--program-transform-na \
1220 |
--program-transform-n |
--program-transform- \
1221 |
--program-transform |
--program-transfor \
1222 |
--program-transfo |
--program-transf \
1223 |
--program-trans |
--program-tran \
1224 |
--progr-tra |
--program-tr |
--program-t)
1225 ac_prev
=program_transform_name
;;
1226 -program-transform-name=* |
--program-transform-name=* \
1227 |
--program-transform-nam=* |
--program-transform-na=* \
1228 |
--program-transform-n=* |
--program-transform-=* \
1229 |
--program-transform=* |
--program-transfor=* \
1230 |
--program-transfo=* |
--program-transf=* \
1231 |
--program-trans=* |
--program-tran=* \
1232 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1233 program_transform_name
=$ac_optarg ;;
1235 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1237 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1238 pdfdir
=$ac_optarg ;;
1240 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1242 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1245 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1246 |
-silent |
--silent |
--silen |
--sile |
--sil)
1249 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1251 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1253 sbindir
=$ac_optarg ;;
1255 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1256 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1257 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1259 ac_prev
=sharedstatedir
;;
1260 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1261 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1262 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1264 sharedstatedir
=$ac_optarg ;;
1266 -site |
--site |
--sit)
1268 -site=* |
--site=* |
--sit=*)
1271 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1273 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1274 srcdir
=$ac_optarg ;;
1276 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1277 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1278 ac_prev
=sysconfdir
;;
1279 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1280 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1281 sysconfdir
=$ac_optarg ;;
1283 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1284 ac_prev
=target_alias
;;
1285 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1286 target_alias
=$ac_optarg ;;
1288 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1291 -version |
--version |
--versio |
--versi |
--vers |
-V)
1292 ac_init_version
=: ;;
1295 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1296 # Reject names that are not valid shell variable names.
1297 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1298 { echo "$as_me: error: invalid package name: $ac_package" >&2
1299 { (exit 1); exit 1; }; }
1300 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1301 eval with_
$ac_package=\
$ac_optarg ;;
1303 -without-* |
--without-*)
1304 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1305 # Reject names that are not valid shell variable names.
1306 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1307 { echo "$as_me: error: invalid package name: $ac_package" >&2
1308 { (exit 1); exit 1; }; }
1309 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1310 eval with_
$ac_package=no
;;
1313 # Obsolete; use --with-x.
1316 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1317 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1318 ac_prev
=x_includes
;;
1319 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1320 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1321 x_includes
=$ac_optarg ;;
1323 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1324 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1325 ac_prev
=x_libraries
;;
1326 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1327 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1328 x_libraries
=$ac_optarg ;;
1330 -*) { echo "$as_me: error: unrecognized option: $ac_option
1331 Try \`$0 --help' for more information." >&2
1332 { (exit 1); exit 1; }; }
1336 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1337 # Reject names that are not valid shell variable names.
1338 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1339 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1340 { (exit 1); exit 1; }; }
1341 eval $ac_envvar=\
$ac_optarg
1342 export $ac_envvar ;;
1345 # FIXME: should be removed in autoconf 3.0.
1346 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1347 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1348 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1349 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1355 if test -n "$ac_prev"; then
1356 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1357 { echo "$as_me: error: missing argument to $ac_option" >&2
1358 { (exit 1); exit 1; }; }
1361 # Be sure to have absolute directory names.
1362 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1363 datadir sysconfdir sharedstatedir localstatedir includedir \
1364 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1365 libdir localedir mandir
1367 eval ac_val
=\$
$ac_var
1369 [\\/$
]* | ?
:[\\/]* ) continue;;
1370 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1372 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1373 { (exit 1); exit 1; }; }
1376 # There might be people who depend on the old broken behavior: `$host'
1377 # used to hold the argument of --host etc.
1378 # FIXME: To remove some day.
1381 target
=$target_alias
1383 # FIXME: To remove some day.
1384 if test "x$host_alias" != x
; then
1385 if test "x$build_alias" = x
; then
1386 cross_compiling
=maybe
1387 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1388 If a cross compiler is detected then cross compile mode will be used." >&2
1389 elif test "x$build_alias" != "x$host_alias"; then
1395 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1397 test "$silent" = yes && exec 6>/dev
/null
1400 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1401 ac_ls_di
=`ls -di .` &&
1402 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1403 { echo "$as_me: error: Working directory cannot be determined" >&2
1404 { (exit 1); exit 1; }; }
1405 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1406 { echo "$as_me: error: pwd does not report name of working directory" >&2
1407 { (exit 1); exit 1; }; }
1410 # Find the source files, if location was not specified.
1411 if test -z "$srcdir"; then
1412 ac_srcdir_defaulted
=yes
1413 # Try the directory containing this script, then the parent directory.
1414 ac_confdir
=`$as_dirname -- "$0" ||
1415 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1416 X"$0" : 'X\(//\)[^/]' \| \
1417 X"$0" : 'X\(//\)$' \| \
1418 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1438 if test ! -r "$srcdir/$ac_unique_file"; then
1442 ac_srcdir_defaulted
=no
1444 if test ! -r "$srcdir/$ac_unique_file"; then
1445 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1446 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1447 { (exit 1); exit 1; }; }
1449 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1451 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1452 { (exit 1); exit 1; }; }
1454 # When building in place, set srcdir=.
1455 if test "$ac_abs_confdir" = "$ac_pwd"; then
1458 # Remove unnecessary trailing slashes from srcdir.
1459 # Double slashes in file names in object file debugging info
1460 # mess up M-x gdb in Emacs.
1462 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1464 for ac_var
in $ac_precious_vars; do
1465 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1466 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1467 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1468 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1472 # Report the --help message.
1474 if test "$ac_init_help" = "long"; then
1475 # Omit some internal or obsolete options to make the list less imposing.
1476 # This message is too long to be a string in the A/UX 3.1 sh.
1478 \`configure' configures llvm 2.7svn to adapt to many kinds of systems.
1480 Usage: $0 [OPTION]... [VAR=VALUE]...
1482 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1483 VAR=VALUE. See below for descriptions of some of the useful variables.
1485 Defaults for the options are specified in brackets.
1488 -h, --help display this help and exit
1489 --help=short display options specific to this package
1490 --help=recursive display the short help of all the included packages
1491 -V, --version display version information and exit
1492 -q, --quiet, --silent do not print \`checking...' messages
1493 --cache-file=FILE cache test results in FILE [disabled]
1494 -C, --config-cache alias for \`--cache-file=config.cache'
1495 -n, --no-create do not create output files
1496 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1498 Installation directories:
1499 --prefix=PREFIX install architecture-independent files in PREFIX
1500 [$ac_default_prefix]
1501 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1504 By default, \`make install' will install all the files in
1505 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1506 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1507 for instance \`--prefix=\$HOME'.
1509 For better control, use the options below.
1511 Fine tuning of the installation directories:
1512 --bindir=DIR user executables [EPREFIX/bin]
1513 --sbindir=DIR system admin executables [EPREFIX/sbin]
1514 --libexecdir=DIR program executables [EPREFIX/libexec]
1515 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1516 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1517 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1518 --libdir=DIR object code libraries [EPREFIX/lib]
1519 --includedir=DIR C header files [PREFIX/include]
1520 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1521 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1522 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1523 --infodir=DIR info documentation [DATAROOTDIR/info]
1524 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1525 --mandir=DIR man documentation [DATAROOTDIR/man]
1526 --docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-]
1527 --htmldir=DIR html documentation [DOCDIR]
1528 --dvidir=DIR dvi documentation [DOCDIR]
1529 --pdfdir=DIR pdf documentation [DOCDIR]
1530 --psdir=DIR ps documentation [DOCDIR]
1536 --build=BUILD configure
for building on BUILD
[guessed
]
1537 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1538 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1542 if test -n "$ac_init_help"; then
1543 case $ac_init_help in
1544 short | recursive
) echo "Configuration of llvm 2.7svn:";;
1549 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1550 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1551 --enable-optimized Compile with optimizations enabled
(default is NO
)
1552 --enable-profiling Compile with profiling enabled
(default is NO
)
1553 --enable-assertions Compile with assertion checks enabled
(default is
1555 --enable-expensive-checks
1556 Compile with expensive debug checks enabled
(default
1558 --enable-debug-runtime Build runtime libs with debug symbols
(default is
1560 --enable-debug-symbols Build compiler with debug symbols
(default is NO
if
1561 optimization is on and YES
if it
's off)
1562 --enable-jit Enable Just In Time Compiling (default is YES)
1563 --enable-doxygen Build doxygen documentation (default is NO)
1564 --enable-threads Use threads if available (default is YES)
1565 --enable-pic Build LLVM with Position Independent Code (default
1567 --enable-targets Build specific host targets: all or
1568 target1,target2,... Valid targets are: host, x86,
1569 x86_64, sparc, powerpc, alpha, arm, mips, spu,
1570 pic16, xcore, msp430, systemz, blackfin, cbe, msil,
1571 and cpp (default=all)
1572 --enable-cbe-printf-a Enable C Backend output with hex floating point via
1574 --enable-bindings Build specific language bindings:
1575 all,auto,none,{binding-name} (default=auto)
1576 --enable-libffi Check for the presence of libffi (default is YES)
1577 --enable-llvmc-dynamic Link LLVMC dynamically (default is NO, unless on
1579 --enable-llvmc-dynamic-plugins
1580 Enable dynamic LLVMC plugins (default is YES)
1581 --enable-ltdl-install install libltdl
1582 --enable-shared[=PKGS] build shared libraries
1584 --enable-static[=PKGS] build static libraries
1586 --enable-fast-install[=PKGS]
1587 optimize for fast installation
1589 --disable-libtool-lock avoid locking (might break parallel builds)
1592 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1593 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1594 --with-llvmgccdir Specify location of llvm-gcc install dir (default
1596 --with-llvmgcc Specify location of llvm-gcc driver (default
1598 --with-llvmgxx Specify location of llvm-g++ driver (default
1600 --with-extra-options Specify additional options to compile LLVM with
1601 --with-ocaml-libdir Specify install location for ocaml bindings (default
1603 --with-binutils-include Specify path to binutils/include/ containing
1604 plugin-api.h file for gold plugin.
1605 --with-tclinclude directory where tcl headers are
1606 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1607 --with-pic try to use only PIC/non-PIC objects [default=use
1609 --with-tags[=TAGS] include additional configurations [automatic]
1610 --with-udis86=<path> Use udis86 external x86 disassembler library
1611 --with-oprofile=<prefix>
1612 Tell OProfile >= 0.9.4 how to symbolize JIT output
1614 Some influential environment variables:
1615 CC C compiler command
1616 CFLAGS C compiler flags
1617 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1618 nonstandard directory <lib dir>
1619 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1620 you have headers in a nonstandard directory <include dir>
1622 CXX C++ compiler command
1623 CXXFLAGS C++ compiler flags
1624 CXXCPP C++ preprocessor
1625 F77 Fortran 77 compiler command
1626 FFLAGS Fortran 77 compiler flags
1628 Use these variables to override the choices made by `configure' or to
help
1629 it to
find libraries and programs with nonstandard names
/locations.
1631 Report bugs to
<llvmbugs@cs.uiuc.edu
>.
1636 if test "$ac_init_help" = "recursive"; then
1637 # If there are subdirs, report their specific --help.
1638 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1639 test -d "$ac_dir" ||
continue
1643 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1645 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1646 # A ".." for each directory in $ac_dir_suffix.
1647 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1648 case $ac_top_builddir_sub in
1649 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1650 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1653 ac_abs_top_builddir
=$ac_pwd
1654 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1655 # for backward compatibility:
1656 ac_top_builddir
=$ac_top_build_prefix
1659 .
) # We are building in place.
1661 ac_top_srcdir
=$ac_top_builddir_sub
1662 ac_abs_top_srcdir
=$ac_pwd ;;
1663 [\\/]* | ?
:[\\/]* ) # Absolute name.
1664 ac_srcdir
=$srcdir$ac_dir_suffix;
1665 ac_top_srcdir
=$srcdir
1666 ac_abs_top_srcdir
=$srcdir ;;
1668 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1669 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1670 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1672 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1674 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1675 # Check for guested configure.
1676 if test -f "$ac_srcdir/configure.gnu"; then
1678 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1679 elif test -f "$ac_srcdir/configure"; then
1681 $SHELL "$ac_srcdir/configure" --help=recursive
1683 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1685 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1689 test -n "$ac_init_help" && exit $ac_status
1690 if $ac_init_version; then
1692 llvm configure
2.7svn
1693 generated by GNU Autoconf
2.60
1695 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1696 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1697 This configure
script is free software
; the Free Software Foundation
1698 gives unlimited permission to copy
, distribute and modify it.
1700 Copyright
(c
) 2003-2009 University of Illinois
at Urbana-Champaign.
1704 cat >config.log
<<_ACEOF
1705 This file contains any messages produced by compilers while
1706 running configure, to aid debugging if configure makes a mistake.
1708 It was created by llvm $as_me 2.7svn, which was
1709 generated by GNU Autoconf 2.60. Invocation command line was
1721 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1722 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1723 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1724 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1725 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1727 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1728 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1730 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1731 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1732 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1733 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1734 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1735 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1736 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1744 test -z "$as_dir" && as_dir
=.
1745 echo "PATH: $as_dir"
1761 # Keep a trace of the command line.
1762 # Strip out --no-create and --no-recursion so they do not pile up.
1763 # Strip out --silent because we don't want to record it for future runs.
1764 # Also quote any args containing shell meta-characters.
1765 # Make two passes to allow for proper duplicate-argument suppression.
1769 ac_must_keep_next
=false
1775 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1776 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1777 |
-silent |
--silent |
--silen |
--sile |
--sil)
1780 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1783 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1785 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1786 if test $ac_must_keep_next = true
; then
1787 ac_must_keep_next
=false
# Got value, back to normal.
1790 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1791 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1792 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1793 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1794 case "$ac_configure_args0 " in
1795 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1798 -* ) ac_must_keep_next
=true
;;
1801 ac_configure_args
="$ac_configure_args '$ac_arg'"
1806 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1807 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1809 # When interrupted or exit'd, cleanup temporary files, and complete
1810 # config.log. We remove comments because anyway the quotes in there
1811 # would cause problems or look ugly.
1812 # WARNING: Use '\'' to represent an apostrophe within the trap.
1813 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1814 trap 'exit_status=$?
1815 # Save into config.log some information that might help in debugging.
1820 ## ---------------- ##
1821 ## Cache variables. ##
1822 ## ---------------- ##
1825 # The following way of writing the cache mishandles newlines in values,
1827 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1828 eval ac_val=\$$ac_var
1832 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1833 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1836 _ | IFS | as_nl) ;; #(
1837 *) $as_unset $ac_var ;;
1842 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1843 *${as_nl}ac_space=\ *)
1845 "s/'\''/'\''\\\\'\'''\''/g;
1846 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1849 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1857 ## ----------------- ##
1858 ## Output variables. ##
1859 ## ----------------- ##
1862 for ac_var in $ac_subst_vars
1864 eval ac_val=\$$ac_var
1866 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1868 echo "$ac_var='\''$ac_val'\''"
1872 if test -n "$ac_subst_files"; then
1874 ## ------------------- ##
1875 ## File substitutions. ##
1876 ## ------------------- ##
1879 for ac_var
in $ac_subst_files
1881 eval ac_val
=\$
$ac_var
1883 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1885 echo "$ac_var='\''$ac_val'\''"
1890 if test -s confdefs.h; then
1900 test "$ac_signal" != 0 &&
1901 echo "$as_me: caught signal $ac_signal"
1902 echo "$as_me: exit $exit_status"
1904 rm -f core *.core core.conftest.* &&
1905 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1908 for ac_signal
in 1 2 13 15; do
1909 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1913 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1914 rm -f -r conftest
* confdefs.h
1916 # Predefined preprocessor variables.
1918 cat >>confdefs.h
<<_ACEOF
1919 #define PACKAGE_NAME "$PACKAGE_NAME"
1923 cat >>confdefs.h
<<_ACEOF
1924 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1928 cat >>confdefs.h
<<_ACEOF
1929 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1933 cat >>confdefs.h
<<_ACEOF
1934 #define PACKAGE_STRING "$PACKAGE_STRING"
1938 cat >>confdefs.h
<<_ACEOF
1939 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1943 # Let the site file select an alternate cache file if it wants to.
1944 # Prefer explicitly selected file to automatically selected ones.
1945 if test -n "$CONFIG_SITE"; then
1946 set x
"$CONFIG_SITE"
1947 elif test "x$prefix" != xNONE
; then
1948 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1950 set x
"$ac_default_prefix/share/config.site" \
1951 "$ac_default_prefix/etc/config.site"
1956 if test -r "$ac_site_file"; then
1957 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1958 echo "$as_me: loading site script $ac_site_file" >&6;}
1959 sed 's/^/| /' "$ac_site_file" >&5
1964 if test -r "$cache_file"; then
1965 # Some versions of bash will fail to source /dev/null (special
1966 # files actually), so we avoid doing that.
1967 if test -f "$cache_file"; then
1968 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1969 echo "$as_me: loading cache $cache_file" >&6;}
1971 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1972 *) .
"./$cache_file";;
1976 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1977 echo "$as_me: creating cache $cache_file" >&6;}
1981 # Check that the precious variables saved in the cache have kept the same
1983 ac_cache_corrupted
=false
1984 for ac_var
in $ac_precious_vars; do
1985 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1986 eval ac_new_set
=\
$ac_env_${ac_var}_set
1987 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1988 eval ac_new_val
=\
$ac_env_${ac_var}_value
1989 case $ac_old_set,$ac_new_set in
1991 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1992 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1993 ac_cache_corrupted
=: ;;
1995 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1996 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1997 ac_cache_corrupted
=: ;;
2000 if test "x$ac_old_val" != "x$ac_new_val"; then
2001 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2002 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2003 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2004 echo "$as_me: former value: $ac_old_val" >&2;}
2005 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2006 echo "$as_me: current value: $ac_new_val" >&2;}
2007 ac_cache_corrupted
=:
2010 # Pass precious variables to config.status.
2011 if test "$ac_new_set" = set; then
2013 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2014 *) ac_arg
=$ac_var=$ac_new_val ;;
2016 case " $ac_configure_args " in
2017 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2018 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2022 if $ac_cache_corrupted; then
2023 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2024 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2025 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2026 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2027 { (exit 1); exit 1; }; }
2055 ac_cpp
='$CPP $CPPFLAGS'
2056 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2057 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2058 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2062 LLVM_COPYRIGHT
="Copyright (c) 2003-2009 University of Illinois at Urbana-Champaign."
2071 for ac_dir
in autoconf
"$srcdir"/autoconf
; do
2072 if test -f "$ac_dir/install-sh"; then
2074 ac_install_sh
="$ac_aux_dir/install-sh -c"
2076 elif test -f "$ac_dir/install.sh"; then
2078 ac_install_sh
="$ac_aux_dir/install.sh -c"
2080 elif test -f "$ac_dir/shtool"; then
2082 ac_install_sh
="$ac_aux_dir/shtool install -c"
2086 if test -z "$ac_aux_dir"; then
2087 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
2088 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
2089 { (exit 1); exit 1; }; }
2092 # These three variables are undocumented and unsupported,
2093 # and are intended to be withdrawn in a future Autoconf release.
2094 # They can cause serious problems if a builder's source tree is in a directory
2095 # whose full name contains unusual characters.
2096 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2097 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2098 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2102 if test ${srcdir} != "." ; then
2103 if test -f ${srcdir}/include
/llvm
/Config
/config.h
; then
2104 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
2105 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
2106 { (exit 1); exit 1; }; }
2110 for i
in `ls ${srcdir}/projects`
2112 if test -d ${srcdir}/projects
/${i} ; then
2115 sample
) subdirs
="$subdirs projects/sample"
2117 privbracket
) subdirs
="$subdirs projects/privbracket"
2119 llvm-stacker
) subdirs
="$subdirs projects/llvm-stacker"
2121 # llvm-test is the old name of the test-suite, kept here for backwards
2123 llvm-test
) subdirs
="$subdirs projects/llvm-test"
2125 test-suite
) subdirs
="$subdirs projects/test-suite"
2127 llvm-reopt
) subdirs
="$subdirs projects/llvm-reopt"
2129 llvm-gcc
) subdirs
="$subdirs projects/llvm-gcc"
2131 llvm-java
) subdirs
="$subdirs projects/llvm-java"
2133 llvm-tv
) subdirs
="$subdirs projects/llvm-tv"
2135 llvm-poolalloc
) subdirs
="$subdirs projects/llvm-poolalloc"
2137 poolalloc
) subdirs
="$subdirs projects/poolalloc"
2139 llvm-kernel
) subdirs
="$subdirs projects/llvm-kernel"
2142 { echo "$as_me:$LINENO: WARNING: Unknown project (${i}) won't be configured automatically" >&5
2143 echo "$as_me: WARNING: Unknown project (${i}) won't be configured automatically" >&2;}
2150 # Make sure we can run config.sub.
2151 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2152 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2153 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2154 { (exit 1); exit 1; }; }
2156 { echo "$as_me:$LINENO: checking build system type" >&5
2157 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2158 if test "${ac_cv_build+set}" = set; then
2159 echo $ECHO_N "(cached) $ECHO_C" >&6
2161 ac_build_alias
=$build_alias
2162 test "x$ac_build_alias" = x
&&
2163 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2164 test "x$ac_build_alias" = x
&&
2165 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2166 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2167 { (exit 1); exit 1; }; }
2168 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2169 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2170 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2171 { (exit 1); exit 1; }; }
2174 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2175 echo "${ECHO_T}$ac_cv_build" >&6; }
2176 case $ac_cv_build in
2178 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2179 echo "$as_me: error: invalid value of canonical build" >&2;}
2180 { (exit 1); exit 1; }; };;
2183 ac_save_IFS
=$IFS; IFS
='-'
2189 # Remember, the first character of IFS is used to create $*,
2190 # except with old shells:
2193 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2196 { echo "$as_me:$LINENO: checking host system type" >&5
2197 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2198 if test "${ac_cv_host+set}" = set; then
2199 echo $ECHO_N "(cached) $ECHO_C" >&6
2201 if test "x$host_alias" = x
; then
2202 ac_cv_host
=$ac_cv_build
2204 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2205 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2206 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2207 { (exit 1); exit 1; }; }
2211 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2212 echo "${ECHO_T}$ac_cv_host" >&6; }
2215 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2216 echo "$as_me: error: invalid value of canonical host" >&2;}
2217 { (exit 1); exit 1; }; };;
2220 ac_save_IFS
=$IFS; IFS
='-'
2226 # Remember, the first character of IFS is used to create $*,
2227 # except with old shells:
2230 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2233 { echo "$as_me:$LINENO: checking target system type" >&5
2234 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2235 if test "${ac_cv_target+set}" = set; then
2236 echo $ECHO_N "(cached) $ECHO_C" >&6
2238 if test "x$target_alias" = x
; then
2239 ac_cv_target
=$ac_cv_host
2241 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2242 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2243 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2244 { (exit 1); exit 1; }; }
2248 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2249 echo "${ECHO_T}$ac_cv_target" >&6; }
2250 case $ac_cv_target in
2252 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2253 echo "$as_me: error: invalid value of canonical target" >&2;}
2254 { (exit 1); exit 1; }; };;
2256 target
=$ac_cv_target
2257 ac_save_IFS
=$IFS; IFS
='-'
2263 # Remember, the first character of IFS is used to create $*,
2264 # except with old shells:
2267 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2270 # The aliases save the names the user supplied, while $host etc.
2271 # will get canonicalized.
2272 test -n "$target_alias" &&
2273 test "$program_prefix$program_suffix$program_transform_name" = \
2275 program_prefix
=${target_alias}-
2277 { echo "$as_me:$LINENO: checking type of operating system we're going to host on" >&5
2278 echo $ECHO_N "checking type of operating system we're going to host on... $ECHO_C" >&6; }
2279 if test "${llvm_cv_os_type+set}" = set; then
2280 echo $ECHO_N "(cached) $ECHO_C" >&6
2284 llvm_cv_link_all_option
="-Wl,--whole-archive"
2285 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2286 llvm_cv_os_type
="AIX"
2287 llvm_cv_platform_type
="Unix" ;;
2289 llvm_cv_link_all_option
="-Wl,--whole-archive"
2290 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2291 llvm_cv_os_type
="IRIX"
2292 llvm_cv_platform_type
="Unix" ;;
2294 llvm_cv_link_all_option
="-Wl,--whole-archive"
2295 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2296 llvm_cv_os_type
="Cygwin"
2297 llvm_cv_platform_type
="Unix" ;;
2299 llvm_cv_link_all_option
="-Wl,-all_load"
2300 llvm_cv_no_link_all_option
="-Wl,-noall_load"
2301 llvm_cv_os_type
="Darwin"
2302 llvm_cv_platform_type
="Unix" ;;
2304 llvm_cv_link_all_option
="-Wl,--whole-archive"
2305 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2306 llvm_cv_os_type
="FreeBSD"
2307 llvm_cv_platform_type
="Unix" ;;
2309 llvm_cv_link_all_option
="-Wl,--whole-archive"
2310 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2311 llvm_cv_os_type
="OpenBSD"
2312 llvm_cv_platform_type
="Unix" ;;
2314 llvm_cv_link_all_option
="-Wl,--whole-archive"
2315 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2316 llvm_cv_os_type
="NetBSD"
2317 llvm_cv_platform_type
="Unix" ;;
2319 llvm_cv_link_all_option
="-Wl,--whole-archive"
2320 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2321 llvm_cv_os_type
="DragonFly"
2322 llvm_cv_platform_type
="Unix" ;;
2324 llvm_cv_link_all_option
="-Wl,--whole-archive"
2325 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2326 llvm_cv_os_type
="HP-UX"
2327 llvm_cv_platform_type
="Unix" ;;
2329 llvm_cv_link_all_option
="-Wl,--whole-archive"
2330 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2331 llvm_cv_os_type
="Interix"
2332 llvm_cv_platform_type
="Unix" ;;
2334 llvm_cv_link_all_option
="-Wl,--whole-archive"
2335 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2336 llvm_cv_os_type
="Linux"
2337 llvm_cv_platform_type
="Unix" ;;
2339 llvm_cv_link_all_option
="-Wl,-z,allextract"
2340 llvm_cv_no_link_all_option
="-Wl,-z,defaultextract"
2341 llvm_cv_os_type
="SunOS"
2342 llvm_cv_platform_type
="Unix" ;;
2344 llvm_cv_link_all_option
="-Wl,-z,allextract"
2345 llvm_cv_link_all_option
="-Wl,-z,defaultextract"
2346 llvm_cv_os_type
="AuroraUX"
2347 llvm_cv_platform_type
="Unix" ;;
2349 llvm_cv_link_all_option
="-Wl,--whole-archive"
2350 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2351 llvm_cv_os_type
="Win32"
2352 llvm_cv_platform_type
="Win32" ;;
2354 llvm_cv_link_all_option
="-Wl,--whole-archive"
2355 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2356 llvm_cv_os_type
="MingW"
2357 llvm_cv_platform_type
="Win32" ;;
2359 llvm_cv_link_all_option
="-Wl,--whole-archive"
2360 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2361 llvm_cv_os_type
="Haiku"
2362 llvm_cv_platform_type
="Unix" ;;
2364 llvm_cv_link_all_option
="-Wl,--whole-archive"
2365 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2366 llvm_cv_os_type
="Freestanding"
2367 llvm_cv_platform_type
="Unix" ;;
2369 llvm_cv_link_all_option
="-Wl,--whole-archive"
2370 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2371 llvm_cv_os_type
="Freestanding"
2372 llvm_cv_platform_type
="Unix" ;;
2374 llvm_cv_link_all_option
=""
2375 llvm_cv_no_link_all_option
=""
2376 llvm_cv_os_type
="Unknown"
2377 llvm_cv_platform_type
="Unknown" ;;
2380 { echo "$as_me:$LINENO: result: $llvm_cv_os_type" >&5
2381 echo "${ECHO_T}$llvm_cv_os_type" >&6; }
2383 { echo "$as_me:$LINENO: checking type of operating system we're going to target" >&5
2384 echo $ECHO_N "checking type of operating system we're going to target... $ECHO_C" >&6; }
2385 if test "${llvm_cv_target_os_type+set}" = set; then
2386 echo $ECHO_N "(cached) $ECHO_C" >&6
2390 llvm_cv_target_os_type
="AIX" ;;
2392 llvm_cv_target_os_type
="IRIX" ;;
2394 llvm_cv_target_os_type
="Cygwin" ;;
2396 llvm_cv_target_os_type
="Darwin" ;;
2398 llvm_cv_target_os_type
="FreeBSD" ;;
2400 llvm_cv_target_os_type
="OpenBSD" ;;
2402 llvm_cv_target_os_type
="NetBSD" ;;
2404 llvm_cv_target_os_type
="DragonFly" ;;
2406 llvm_cv_target_os_type
="HP-UX" ;;
2408 llvm_cv_target_os_type
="Interix" ;;
2410 llvm_cv_target_os_type
="Linux" ;;
2412 llvm_cv_target_os_type
="SunOS" ;;
2414 llvm_cv_target_os_type
="AuroraUX" ;;
2416 llvm_cv_target_os_type
="Win32" ;;
2418 llvm_cv_target_os_type
="MingW" ;;
2420 llvm_cv_target_os_type
="Haiku" ;;
2422 llvm_cv_target_os_type
="Freestanding" ;;
2424 llvm_cv_target_os_type
="Unknown" ;;
2427 { echo "$as_me:$LINENO: result: $llvm_cv_target_os_type" >&5
2428 echo "${ECHO_T}$llvm_cv_target_os_type" >&6; }
2430 if test "$llvm_cv_os_type" = "Unknown" ; then
2431 { { echo "$as_me:$LINENO: error: Operating system is unknown, configure can't continue" >&5
2432 echo "$as_me: error: Operating system is unknown, configure can't continue" >&2;}
2433 { (exit 1); exit 1; }; }
2438 HOST_OS
=$llvm_cv_os_type
2440 TARGET_OS
=$llvm_cv_target_os_type
2443 LINKALL
=$llvm_cv_link_all_option
2445 NOLINKALL
=$llvm_cv_no_link_all_option
2448 case $llvm_cv_platform_type in
2451 cat >>confdefs.h
<<\_ACEOF
2452 #define LLVM_ON_UNIX 1
2462 cat >>confdefs.h
<<\_ACEOF
2463 #define LLVM_ON_WIN32 1
2473 { echo "$as_me:$LINENO: checking target architecture" >&5
2474 echo $ECHO_N "checking target architecture... $ECHO_C" >&6; }
2475 if test "${llvm_cv_target_arch+set}" = set; then
2476 echo $ECHO_N "(cached) $ECHO_C" >&6
2479 i?
86-*) llvm_cv_target_arch
="x86" ;;
2480 amd64-
* | x86_64-
*) llvm_cv_target_arch
="x86_64" ;;
2481 sparc
*-*) llvm_cv_target_arch
="Sparc" ;;
2482 powerpc
*-*) llvm_cv_target_arch
="PowerPC" ;;
2483 alpha
*-*) llvm_cv_target_arch
="Alpha" ;;
2484 arm
*-*) llvm_cv_target_arch
="ARM" ;;
2485 mips-
*) llvm_cv_target_arch
="Mips" ;;
2486 pic16-
*) llvm_cv_target_arch
="PIC16" ;;
2487 xcore-
*) llvm_cv_target_arch
="XCore" ;;
2488 msp430-
*) llvm_cv_target_arch
="MSP430" ;;
2489 s390x-
*) llvm_cv_target_arch
="SystemZ" ;;
2490 bfin-
*) llvm_cv_target_arch
="Blackfin" ;;
2491 *) llvm_cv_target_arch
="Unknown" ;;
2494 { echo "$as_me:$LINENO: result: $llvm_cv_target_arch" >&5
2495 echo "${ECHO_T}$llvm_cv_target_arch" >&6; }
2497 if test "$llvm_cv_target_arch" = "Unknown" ; then
2498 { echo "$as_me:$LINENO: WARNING: Configuring LLVM for an unknown target archicture" >&5
2499 echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
2502 # Determine the LLVM native architecture for the target
2503 case "$llvm_cv_target_arch" in
2504 x86
) LLVM_NATIVE_ARCH
="X86" ;;
2505 x86_64
) LLVM_NATIVE_ARCH
="X86" ;;
2506 *) LLVM_NATIVE_ARCH
="$llvm_cv_target_arch" ;;
2509 ARCH
=$llvm_cv_target_arch
2513 ac_cpp
='$CPP $CPPFLAGS'
2514 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2515 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2516 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2517 if test -n "$ac_tool_prefix"; then
2518 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2519 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2522 if test "${ac_cv_prog_CC+set}" = set; then
2523 echo $ECHO_N "(cached) $ECHO_C" >&6
2525 if test -n "$CC"; then
2526 ac_cv_prog_CC
="$CC" # Let the user override the test.
2528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2532 test -z "$as_dir" && as_dir
=.
2533 for ac_exec_ext
in '' $ac_executable_extensions; do
2534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2535 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2546 if test -n "$CC"; then
2547 { echo "$as_me:$LINENO: result: $CC" >&5
2548 echo "${ECHO_T}$CC" >&6; }
2550 { echo "$as_me:$LINENO: result: no" >&5
2551 echo "${ECHO_T}no" >&6; }
2556 if test -z "$ac_cv_prog_CC"; then
2558 # Extract the first word of "gcc", so it can be a program name with args.
2559 set dummy gcc
; ac_word
=$2
2560 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2562 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2563 echo $ECHO_N "(cached) $ECHO_C" >&6
2565 if test -n "$ac_ct_CC"; then
2566 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2572 test -z "$as_dir" && as_dir
=.
2573 for ac_exec_ext
in '' $ac_executable_extensions; do
2574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2575 ac_cv_prog_ac_ct_CC
="gcc"
2576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2585 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2586 if test -n "$ac_ct_CC"; then
2587 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2588 echo "${ECHO_T}$ac_ct_CC" >&6; }
2590 { echo "$as_me:$LINENO: result: no" >&5
2591 echo "${ECHO_T}no" >&6; }
2594 if test "x$ac_ct_CC" = x
; then
2597 case $cross_compiling:$ac_tool_warned in
2599 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2600 whose name does not start with the host triplet. If you think this
2601 configuration is useful to you, please write to autoconf@gnu.org." >&5
2602 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2603 whose name does not start with the host triplet. If you think this
2604 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2605 ac_tool_warned
=yes ;;
2613 if test -z "$CC"; then
2614 if test -n "$ac_tool_prefix"; then
2615 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2616 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2617 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2619 if test "${ac_cv_prog_CC+set}" = set; then
2620 echo $ECHO_N "(cached) $ECHO_C" >&6
2622 if test -n "$CC"; then
2623 ac_cv_prog_CC
="$CC" # Let the user override the test.
2625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2629 test -z "$as_dir" && as_dir
=.
2630 for ac_exec_ext
in '' $ac_executable_extensions; do
2631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2632 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2643 if test -n "$CC"; then
2644 { echo "$as_me:$LINENO: result: $CC" >&5
2645 echo "${ECHO_T}$CC" >&6; }
2647 { echo "$as_me:$LINENO: result: no" >&5
2648 echo "${ECHO_T}no" >&6; }
2654 if test -z "$CC"; then
2655 # Extract the first word of "cc", so it can be a program name with args.
2656 set dummy cc
; ac_word
=$2
2657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2659 if test "${ac_cv_prog_CC+set}" = set; then
2660 echo $ECHO_N "(cached) $ECHO_C" >&6
2662 if test -n "$CC"; then
2663 ac_cv_prog_CC
="$CC" # Let the user override the test.
2666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2670 test -z "$as_dir" && as_dir
=.
2671 for ac_exec_ext
in '' $ac_executable_extensions; do
2672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2673 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2674 ac_prog_rejected
=yes
2678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2685 if test $ac_prog_rejected = yes; then
2686 # We found a bogon in the path, so make sure we never use it.
2687 set dummy
$ac_cv_prog_CC
2689 if test $# != 0; then
2690 # We chose a different compiler from the bogus one.
2691 # However, it has the same basename, so the bogon will be chosen
2692 # first if we set CC to just the basename; use the full file name.
2694 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2700 if test -n "$CC"; then
2701 { echo "$as_me:$LINENO: result: $CC" >&5
2702 echo "${ECHO_T}$CC" >&6; }
2704 { echo "$as_me:$LINENO: result: no" >&5
2705 echo "${ECHO_T}no" >&6; }
2710 if test -z "$CC"; then
2711 if test -n "$ac_tool_prefix"; then
2712 for ac_prog
in cl.exe
2714 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2715 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2718 if test "${ac_cv_prog_CC+set}" = set; then
2719 echo $ECHO_N "(cached) $ECHO_C" >&6
2721 if test -n "$CC"; then
2722 ac_cv_prog_CC
="$CC" # Let the user override the test.
2724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2728 test -z "$as_dir" && as_dir
=.
2729 for ac_exec_ext
in '' $ac_executable_extensions; do
2730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2731 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2742 if test -n "$CC"; then
2743 { echo "$as_me:$LINENO: result: $CC" >&5
2744 echo "${ECHO_T}$CC" >&6; }
2746 { echo "$as_me:$LINENO: result: no" >&5
2747 echo "${ECHO_T}no" >&6; }
2751 test -n "$CC" && break
2754 if test -z "$CC"; then
2756 for ac_prog
in cl.exe
2758 # Extract the first word of "$ac_prog", so it can be a program name with args.
2759 set dummy
$ac_prog; ac_word
=$2
2760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2762 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2763 echo $ECHO_N "(cached) $ECHO_C" >&6
2765 if test -n "$ac_ct_CC"; then
2766 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2772 test -z "$as_dir" && as_dir
=.
2773 for ac_exec_ext
in '' $ac_executable_extensions; do
2774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2775 ac_cv_prog_ac_ct_CC
="$ac_prog"
2776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2785 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2786 if test -n "$ac_ct_CC"; then
2787 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2788 echo "${ECHO_T}$ac_ct_CC" >&6; }
2790 { echo "$as_me:$LINENO: result: no" >&5
2791 echo "${ECHO_T}no" >&6; }
2795 test -n "$ac_ct_CC" && break
2798 if test "x$ac_ct_CC" = x
; then
2801 case $cross_compiling:$ac_tool_warned in
2803 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2804 whose name does not start with the host triplet. If you think this
2805 configuration is useful to you, please write to autoconf@gnu.org." >&5
2806 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2807 whose name does not start with the host triplet. If you think this
2808 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2809 ac_tool_warned
=yes ;;
2818 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2819 See \`config.log' for more details." >&5
2820 echo "$as_me: error: no acceptable C compiler found in \$PATH
2821 See \`config.log' for more details." >&2;}
2822 { (exit 1); exit 1; }; }
2824 # Provide some information about the compiler.
2825 echo "$as_me:$LINENO: checking for C compiler version" >&5
2826 ac_compiler
=`set X $ac_compile; echo $2`
2827 { (ac_try
="$ac_compiler --version >&5"
2829 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2830 *) ac_try_echo=$ac_try;;
2832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2833 (eval "$ac_compiler --version >&5") 2>&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); }
2837 { (ac_try="$ac_compiler -v >&5"
2839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2840 *) ac_try_echo
=$ac_try;;
2842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2843 (eval "$ac_compiler -v >&5") 2>&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }
2847 { (ac_try
="$ac_compiler -V >&5"
2849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2850 *) ac_try_echo=$ac_try;;
2852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2853 (eval "$ac_compiler -V >&5") 2>&5
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }
2858 cat >conftest.$ac_ext <<_ACEOF
2861 cat confdefs.h >>conftest.$ac_ext
2862 cat >>conftest.$ac_ext <<_ACEOF
2863 /* end confdefs.h. */
2873 ac_clean_files_save=$ac_clean_files
2874 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2875 # Try to create an executable without -o first, disregard a.out.
2876 # It will help us diagnose broken compilers, and finding out an intuition
2878 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2879 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2880 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2882 # List of possible output files, starting from the most likely.
2883 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2884 # only as a last resort. b.out is created by i960 compilers.
2885 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2887 # The IRIX 6 linker writes into existing files which may not be
2888 # executable, retaining their permissions. Remove them first so a
2889 # subsequent execution test works.
2891 for ac_file in $ac_files
2894 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2895 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2900 if { (ac_try="$ac_link_default"
2902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2903 *) ac_try_echo=$ac_try;;
2905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2906 (eval "$ac_link_default") 2>&5
2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); }; then
2910 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2911 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2912 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2913 # so that the user can short-circuit this test for compilers unknown to
2915 for ac_file
in $ac_files
2917 test -f "$ac_file" ||
continue
2919 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2922 # We found the default executable, but exeext='' is most
2926 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2928 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2930 # We set ac_cv_exeext here because the later test for it is not
2931 # safe: cross compilers may not add the suffix if given an `-o'
2932 # argument, so we may need to know it at that point already.
2933 # Even if this section looks crufty: it has the advantage of
2940 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2943 echo "$as_me: failed program was:" >&5
2944 sed 's/^/| /' conftest.
$ac_ext >&5
2946 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2947 See \`config.log' for more details." >&5
2948 echo "$as_me: error: C compiler cannot create executables
2949 See \`config.log' for more details." >&2;}
2950 { (exit 77); exit 77; }; }
2953 ac_exeext
=$ac_cv_exeext
2954 { echo "$as_me:$LINENO: result: $ac_file" >&5
2955 echo "${ECHO_T}$ac_file" >&6; }
2957 # Check that the compiler produces executables we can run. If not, either
2958 # the compiler is broken, or we cross compile.
2959 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2960 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2961 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2962 # If not cross compiling, check that we can run a simple program.
2963 if test "$cross_compiling" != yes; then
2964 if { ac_try
='./$ac_file'
2965 { (case "(($ac_try" in
2966 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2967 *) ac_try_echo=$ac_try;;
2969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2970 (eval "$ac_try") 2>&5
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); }; }; then
2976 if test "$cross_compiling" = maybe; then
2979 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2980 If you meant to cross compile, use \`--host'.
2981 See \`config.log' for more details.
" >&5
2982 echo "$as_me: error
: cannot run C compiled programs.
2983 If you meant to cross compile
, use \
`--host'.
2984 See \`config.log
' for more details." >&2;}
2985 { (exit 1); exit 1; }; }
2989 { echo "$as_me:$LINENO: result: yes" >&5
2990 echo "${ECHO_T}yes" >&6; }
2992 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2993 ac_clean_files=$ac_clean_files_save
2994 # Check that the compiler produces executables we can run. If not, either
2995 # the compiler is broken, or we cross compile.
2996 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2997 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2998 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2999 echo "${ECHO_T}$cross_compiling" >&6; }
3001 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3002 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3003 if { (ac_try="$ac_link"
3005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3006 *) ac_try_echo=$ac_try;;
3008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3009 (eval "$ac_link") 2>&5
3011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012 (exit $ac_status); }; then
3013 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3014 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3015 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3017 for ac_file
in conftest.exe conftest conftest.
*; do
3018 test -f "$ac_file" ||
continue
3020 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3021 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3027 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3028 See \`config.log' for more details." >&5
3029 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3030 See \`config.log' for more details." >&2;}
3031 { (exit 1); exit 1; }; }
3034 rm -f conftest
$ac_cv_exeext
3035 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3036 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3038 rm -f conftest.
$ac_ext
3039 EXEEXT
=$ac_cv_exeext
3041 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3042 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3043 if test "${ac_cv_objext+set}" = set; then
3044 echo $ECHO_N "(cached) $ECHO_C" >&6
3046 cat >conftest.
$ac_ext <<_ACEOF
3049 cat confdefs.h
>>conftest.
$ac_ext
3050 cat >>conftest.
$ac_ext <<_ACEOF
3051 /* end confdefs.h. */
3061 rm -f conftest.o conftest.obj
3062 if { (ac_try
="$ac_compile"
3064 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3065 *) ac_try_echo=$ac_try;;
3067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3068 (eval "$ac_compile") 2>&5
3070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071 (exit $ac_status); }; then
3072 for ac_file in conftest.o conftest.obj conftest.*; do
3073 test -f "$ac_file" || continue;
3075 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3076 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3081 echo "$as_me: failed program was:" >&5
3082 sed 's/^/| /' conftest.$ac_ext >&5
3084 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3085 See \`config.log
' for more details." >&5
3086 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3087 See \`config.log' for more details.
" >&2;}
3088 { (exit 1); exit 1; }; }
3091 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3093 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3094 echo "${ECHO_T}$ac_cv_objext" >&6; }
3095 OBJEXT=$ac_cv_objext
3097 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3098 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3099 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3100 echo $ECHO_N "(cached
) $ECHO_C" >&6
3102 cat >conftest.$ac_ext <<_ACEOF
3105 cat confdefs.h >>conftest.$ac_ext
3106 cat >>conftest.$ac_ext <<_ACEOF
3107 /* end confdefs.h. */
3120 rm -f conftest.$ac_objext
3121 if { (ac_try="$ac_compile"
3123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3124 *) ac_try_echo=$ac_try;;
3126 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3127 (eval "$ac_compile") 2>conftest.er1
3129 grep -v '^ *+' conftest.er1 >conftest.err
3131 cat conftest.err >&5
3132 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3133 (exit $ac_status); } &&
3134 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3135 { (case "(($ac_try" in
3136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3137 *) ac_try_echo=$ac_try;;
3139 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3140 (eval "$ac_try") 2>&5
3142 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3143 (exit $ac_status); }; } &&
3144 { ac_try='test -s conftest.$ac_objext'
3145 { (case "(($ac_try" in
3146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147 *) ac_try_echo=$ac_try;;
3149 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3150 (eval "$ac_try") 2>&5
3152 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3153 (exit $ac_status); }; }; then
3156 echo "$as_me: failed program was
:" >&5
3157 sed 's/^/| /' conftest.$ac_ext >&5
3162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3163 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3166 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3167 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3168 GCC=`test $ac_compiler_gnu = yes && echo yes`
3169 ac_test_CFLAGS=${CFLAGS+set}
3170 ac_save_CFLAGS=$CFLAGS
3171 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3172 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3173 if test "${ac_cv_prog_cc_g+set}" = set; then
3174 echo $ECHO_N "(cached
) $ECHO_C" >&6
3176 ac_save_c_werror_flag=$ac_c_werror_flag
3177 ac_c_werror_flag=yes
3180 cat >conftest.$ac_ext <<_ACEOF
3183 cat confdefs.h >>conftest.$ac_ext
3184 cat >>conftest.$ac_ext <<_ACEOF
3185 /* end confdefs.h. */
3195 rm -f conftest.$ac_objext
3196 if { (ac_try="$ac_compile"
3198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3199 *) ac_try_echo=$ac_try;;
3201 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3202 (eval "$ac_compile") 2>conftest.er1
3204 grep -v '^ *+' conftest.er1 >conftest.err
3206 cat conftest.err >&5
3207 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3208 (exit $ac_status); } &&
3209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3210 { (case "(($ac_try" in
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3214 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3215 (eval "$ac_try") 2>&5
3217 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3218 (exit $ac_status); }; } &&
3219 { ac_try='test -s conftest.$ac_objext'
3220 { (case "(($ac_try" in
3221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3222 *) ac_try_echo=$ac_try;;
3224 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3225 (eval "$ac_try") 2>&5
3227 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3228 (exit $ac_status); }; }; then
3231 echo "$as_me: failed program was
:" >&5
3232 sed 's/^/| /' conftest.$ac_ext >&5
3235 cat >conftest.$ac_ext <<_ACEOF
3238 cat confdefs.h >>conftest.$ac_ext
3239 cat >>conftest.$ac_ext <<_ACEOF
3240 /* end confdefs.h. */
3250 rm -f conftest.$ac_objext
3251 if { (ac_try="$ac_compile"
3253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3254 *) ac_try_echo=$ac_try;;
3256 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3257 (eval "$ac_compile") 2>conftest.er1
3259 grep -v '^ *+' conftest.er1 >conftest.err
3261 cat conftest.err >&5
3262 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3263 (exit $ac_status); } &&
3264 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3265 { (case "(($ac_try" in
3266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3267 *) ac_try_echo=$ac_try;;
3269 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3270 (eval "$ac_try") 2>&5
3272 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3273 (exit $ac_status); }; } &&
3274 { ac_try='test -s conftest.$ac_objext'
3275 { (case "(($ac_try" in
3276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3277 *) ac_try_echo=$ac_try;;
3279 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3280 (eval "$ac_try") 2>&5
3282 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3283 (exit $ac_status); }; }; then
3286 echo "$as_me: failed program was
:" >&5
3287 sed 's/^/| /' conftest.$ac_ext >&5
3289 ac_c_werror_flag=$ac_save_c_werror_flag
3291 cat >conftest.$ac_ext <<_ACEOF
3294 cat confdefs.h >>conftest.$ac_ext
3295 cat >>conftest.$ac_ext <<_ACEOF
3296 /* end confdefs.h. */
3306 rm -f conftest.$ac_objext
3307 if { (ac_try="$ac_compile"
3309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3310 *) ac_try_echo=$ac_try;;
3312 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3313 (eval "$ac_compile") 2>conftest.er1
3315 grep -v '^ *+' conftest.er1 >conftest.err
3317 cat conftest.err >&5
3318 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3319 (exit $ac_status); } &&
3320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3321 { (case "(($ac_try" in
3322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3323 *) ac_try_echo=$ac_try;;
3325 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3326 (eval "$ac_try") 2>&5
3328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3329 (exit $ac_status); }; } &&
3330 { ac_try='test -s conftest.$ac_objext'
3331 { (case "(($ac_try" in
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3335 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3336 (eval "$ac_try") 2>&5
3338 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3339 (exit $ac_status); }; }; then
3342 echo "$as_me: failed program was
:" >&5
3343 sed 's/^/| /' conftest.$ac_ext >&5
3348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3355 ac_c_werror_flag=$ac_save_c_werror_flag
3357 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3358 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3359 if test "$ac_test_CFLAGS" = set; then
3360 CFLAGS=$ac_save_CFLAGS
3361 elif test $ac_cv_prog_cc_g = yes; then
3362 if test "$GCC" = yes; then
3368 if test "$GCC" = yes; then
3374 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3375 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3376 if test "${ac_cv_prog_cc_c89+set}" = set; then
3377 echo $ECHO_N "(cached
) $ECHO_C" >&6
3379 ac_cv_prog_cc_c89=no
3381 cat >conftest.$ac_ext <<_ACEOF
3384 cat confdefs.h >>conftest.$ac_ext
3385 cat >>conftest.$ac_ext <<_ACEOF
3386 /* end confdefs.h. */
3389 #include <sys/types.h>
3390 #include <sys/stat.h>
3391 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3392 struct buf { int x; };
3393 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3394 static char *e (p, i)
3400 static char *f (char * (*g) (char **, int), char **p, ...)
3405 s = g (p, va_arg (v,int));
3410 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3411 function prototypes and stuff, but not '\xHH' hex character constants.
3412 These don't provoke an error unfortunately, instead are silently treated
3413 as 'x'. The following induces an error, until -std is added to get
3414 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3415 array size at least. It's necessary to write '\x00'==0 to get something
3416 that's true only with -std. */
3417 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3419 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3420 inside strings and character constants. */
3422 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3424 int test (int i, double x);
3425 struct s1 {int (*f) (int a);};
3426 struct s2 {int (*f) (double a);};
3427 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3433 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3438 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3439 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3441 CC="$ac_save_CC $ac_arg"
3442 rm -f conftest.$ac_objext
3443 if { (ac_try="$ac_compile"
3445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3446 *) ac_try_echo=$ac_try;;
3448 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3449 (eval "$ac_compile") 2>conftest.er1
3451 grep -v '^ *+' conftest.er1 >conftest.err
3453 cat conftest.err >&5
3454 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3455 (exit $ac_status); } &&
3456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3457 { (case "(($ac_try" in
3458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3459 *) ac_try_echo=$ac_try;;
3461 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3462 (eval "$ac_try") 2>&5
3464 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3465 (exit $ac_status); }; } &&
3466 { ac_try='test -s conftest.$ac_objext'
3467 { (case "(($ac_try" in
3468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3469 *) ac_try_echo=$ac_try;;
3471 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3472 (eval "$ac_try") 2>&5
3474 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3475 (exit $ac_status); }; }; then
3476 ac_cv_prog_cc_c89=$ac_arg
3478 echo "$as_me: failed program was
:" >&5
3479 sed 's/^/| /' conftest.$ac_ext >&5
3484 rm -f core conftest.err conftest.$ac_objext
3485 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3487 rm -f conftest.$ac_ext
3492 case "x
$ac_cv_prog_cc_c89" in
3494 { echo "$as_me:$LINENO: result
: none needed
" >&5
3495 echo "${ECHO_T}none needed
" >&6; } ;;
3497 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3498 echo "${ECHO_T}unsupported
" >&6; } ;;
3500 CC="$CC $ac_cv_prog_cc_c89"
3501 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3502 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3507 ac_cpp='$CPP $CPPFLAGS'
3508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3514 ac_cpp='$CPP $CPPFLAGS'
3515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3518 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3519 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3520 # On Suns, sometimes $CPP names a directory.
3521 if test -n "$CPP" && test -d "$CPP"; then
3524 if test -z "$CPP"; then
3525 if test "${ac_cv_prog_CPP+set}" = set; then
3526 echo $ECHO_N "(cached
) $ECHO_C" >&6
3528 # Double quotes because CPP needs to be expanded
3529 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3532 for ac_c_preproc_warn_flag in '' yes
3534 # Use a header file that comes with gcc, so configuring glibc
3535 # with a fresh cross-compiler works.
3536 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3537 # <limits.h> exists even on freestanding compilers.
3538 # On the NeXT, cc -E runs the code through the compiler's parser,
3539 # not just through cpp. "Syntax error
" is here to catch this case.
3540 cat >conftest.$ac_ext <<_ACEOF
3543 cat confdefs.h >>conftest.$ac_ext
3544 cat >>conftest.$ac_ext <<_ACEOF
3545 /* end confdefs.h. */
3547 # include <limits.h>
3549 # include <assert.h>
3553 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3556 *) ac_try_echo=$ac_try;;
3558 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3559 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3561 grep -v '^ *+' conftest.er1 >conftest.err
3563 cat conftest.err >&5
3564 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3565 (exit $ac_status); } >/dev/null; then
3566 if test -s conftest.err; then
3567 ac_cpp_err=$ac_c_preproc_warn_flag
3568 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3575 if test -z "$ac_cpp_err"; then
3578 echo "$as_me: failed program was
:" >&5
3579 sed 's/^/| /' conftest.$ac_ext >&5
3581 # Broken: fails on valid input.
3585 rm -f conftest.err conftest.$ac_ext
3587 # OK, works on sane cases. Now check whether nonexistent headers
3588 # can be detected and how.
3589 cat >conftest.$ac_ext <<_ACEOF
3592 cat confdefs.h >>conftest.$ac_ext
3593 cat >>conftest.$ac_ext <<_ACEOF
3594 /* end confdefs.h. */
3595 #include <ac_nonexistent.h>
3597 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3600 *) ac_try_echo=$ac_try;;
3602 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3603 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3605 grep -v '^ *+' conftest.er1 >conftest.err
3607 cat conftest.err >&5
3608 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3609 (exit $ac_status); } >/dev/null; then
3610 if test -s conftest.err; then
3611 ac_cpp_err=$ac_c_preproc_warn_flag
3612 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3619 if test -z "$ac_cpp_err"; then
3620 # Broken: success on invalid input.
3623 echo "$as_me: failed program was
:" >&5
3624 sed 's/^/| /' conftest.$ac_ext >&5
3626 # Passes both tests.
3631 rm -f conftest.err conftest.$ac_ext
3634 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3635 rm -f conftest.err conftest.$ac_ext
3636 if $ac_preproc_ok; then
3648 { echo "$as_me:$LINENO: result
: $CPP" >&5
3649 echo "${ECHO_T}$CPP" >&6; }
3651 for ac_c_preproc_warn_flag in '' yes
3653 # Use a header file that comes with gcc, so configuring glibc
3654 # with a fresh cross-compiler works.
3655 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3656 # <limits.h> exists even on freestanding compilers.
3657 # On the NeXT, cc -E runs the code through the compiler's parser,
3658 # not just through cpp. "Syntax error
" is here to catch this case.
3659 cat >conftest.$ac_ext <<_ACEOF
3662 cat confdefs.h >>conftest.$ac_ext
3663 cat >>conftest.$ac_ext <<_ACEOF
3664 /* end confdefs.h. */
3666 # include <limits.h>
3668 # include <assert.h>
3672 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3675 *) ac_try_echo=$ac_try;;
3677 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3678 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3680 grep -v '^ *+' conftest.er1 >conftest.err
3682 cat conftest.err >&5
3683 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3684 (exit $ac_status); } >/dev/null; then
3685 if test -s conftest.err; then
3686 ac_cpp_err=$ac_c_preproc_warn_flag
3687 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3694 if test -z "$ac_cpp_err"; then
3697 echo "$as_me: failed program was
:" >&5
3698 sed 's/^/| /' conftest.$ac_ext >&5
3700 # Broken: fails on valid input.
3704 rm -f conftest.err conftest.$ac_ext
3706 # OK, works on sane cases. Now check whether nonexistent headers
3707 # can be detected and how.
3708 cat >conftest.$ac_ext <<_ACEOF
3711 cat confdefs.h >>conftest.$ac_ext
3712 cat >>conftest.$ac_ext <<_ACEOF
3713 /* end confdefs.h. */
3714 #include <ac_nonexistent.h>
3716 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3719 *) ac_try_echo=$ac_try;;
3721 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3722 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3724 grep -v '^ *+' conftest.er1 >conftest.err
3726 cat conftest.err >&5
3727 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3728 (exit $ac_status); } >/dev/null; then
3729 if test -s conftest.err; then
3730 ac_cpp_err=$ac_c_preproc_warn_flag
3731 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3738 if test -z "$ac_cpp_err"; then
3739 # Broken: success on invalid input.
3742 echo "$as_me: failed program was
:" >&5
3743 sed 's/^/| /' conftest.$ac_ext >&5
3745 # Passes both tests.
3750 rm -f conftest.err conftest.$ac_ext
3753 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3754 rm -f conftest.err conftest.$ac_ext
3755 if $ac_preproc_ok; then
3758 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3759 See \
`config.log' for more details." >&5
3760 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3761 See \`config.log
' for more details." >&2;}
3762 { (exit 1); exit 1; }; }
3766 ac_cpp='$CPP $CPPFLAGS'
3767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3768 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3772 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3773 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3774 if test "${ac_cv_path_GREP+set}" = set; then
3775 echo $ECHO_N "(cached) $ECHO_C" >&6
3777 # Extract the first word of "grep ggrep" to use in msg output
3778 if test -z "$GREP"; then
3779 set dummy grep ggrep; ac_prog_name=$2
3780 if test "${ac_cv_path_GREP+set}" = set; then
3781 echo $ECHO_N "(cached) $ECHO_C" >&6
3783 ac_path_GREP_found=false
3784 # Loop through the user's path and
test for each of PROGNAME-LIST
3785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3786 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3789 test -z "$as_dir" && as_dir
=.
3790 for ac_prog
in grep ggrep
; do
3791 for ac_exec_ext
in '' $ac_executable_extensions; do
3792 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3793 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
3794 # Check for GNU ac_path_GREP and select it if it is found.
3795 # Check for GNU $ac_path_GREP
3796 case `"$ac_path_GREP" --version 2>&1` in
3798 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3801 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3804 cat "conftest.in" "conftest.in" >"conftest.tmp"
3805 mv "conftest.tmp" "conftest.in"
3806 cp "conftest.in" "conftest.nl"
3807 echo 'GREP' >> "conftest.nl"
3808 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3809 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3810 ac_count
=`expr $ac_count + 1`
3811 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3812 # Best one so far, save it but keep looking for a better one
3813 ac_cv_path_GREP
="$ac_path_GREP"
3814 ac_path_GREP_max
=$ac_count
3816 # 10*(2^10) chars as input seems more than enough
3817 test $ac_count -gt 10 && break
3819 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3823 $ac_path_GREP_found && break 3
3833 GREP
="$ac_cv_path_GREP"
3834 if test -z "$GREP"; then
3835 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3836 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3837 { (exit 1); exit 1; }; }
3841 ac_cv_path_GREP
=$GREP
3846 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3847 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3848 GREP
="$ac_cv_path_GREP"
3851 { echo "$as_me:$LINENO: checking for egrep" >&5
3852 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3853 if test "${ac_cv_path_EGREP+set}" = set; then
3854 echo $ECHO_N "(cached) $ECHO_C" >&6
3856 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3857 then ac_cv_path_EGREP
="$GREP -E"
3859 # Extract the first word of "egrep" to use in msg output
3860 if test -z "$EGREP"; then
3861 set dummy
egrep; ac_prog_name
=$2
3862 if test "${ac_cv_path_EGREP+set}" = set; then
3863 echo $ECHO_N "(cached) $ECHO_C" >&6
3865 ac_path_EGREP_found
=false
3866 # Loop through the user's path and test for each of PROGNAME-LIST
3867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3868 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3871 test -z "$as_dir" && as_dir
=.
3872 for ac_prog
in egrep; do
3873 for ac_exec_ext
in '' $ac_executable_extensions; do
3874 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3875 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
3876 # Check for GNU ac_path_EGREP and select it if it is found.
3877 # Check for GNU $ac_path_EGREP
3878 case `"$ac_path_EGREP" --version 2>&1` in
3880 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3883 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3886 cat "conftest.in" "conftest.in" >"conftest.tmp"
3887 mv "conftest.tmp" "conftest.in"
3888 cp "conftest.in" "conftest.nl"
3889 echo 'EGREP' >> "conftest.nl"
3890 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3891 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3892 ac_count
=`expr $ac_count + 1`
3893 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3894 # Best one so far, save it but keep looking for a better one
3895 ac_cv_path_EGREP
="$ac_path_EGREP"
3896 ac_path_EGREP_max
=$ac_count
3898 # 10*(2^10) chars as input seems more than enough
3899 test $ac_count -gt 10 && break
3901 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3905 $ac_path_EGREP_found && break 3
3915 EGREP
="$ac_cv_path_EGREP"
3916 if test -z "$EGREP"; then
3917 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3918 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3919 { (exit 1); exit 1; }; }
3923 ac_cv_path_EGREP
=$EGREP
3929 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3930 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3931 EGREP
="$ac_cv_path_EGREP"
3934 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3935 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3936 if test "${ac_cv_header_stdc+set}" = set; then
3937 echo $ECHO_N "(cached) $ECHO_C" >&6
3939 cat >conftest.
$ac_ext <<_ACEOF
3942 cat confdefs.h
>>conftest.
$ac_ext
3943 cat >>conftest.
$ac_ext <<_ACEOF
3944 /* end confdefs.h. */
3958 rm -f conftest.
$ac_objext
3959 if { (ac_try
="$ac_compile"
3961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3962 *) ac_try_echo=$ac_try;;
3964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3965 (eval "$ac_compile") 2>conftest.er1
3967 grep -v '^ *+' conftest.er1 >conftest.err
3969 cat conftest.err >&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); } &&
3972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3973 { (case "(($ac_try" in
3974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3975 *) ac_try_echo
=$ac_try;;
3977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3978 (eval "$ac_try") 2>&5
3980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981 (exit $ac_status); }; } &&
3982 { ac_try
='test -s conftest.$ac_objext'
3983 { (case "(($ac_try" in
3984 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3985 *) ac_try_echo=$ac_try;;
3987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3988 (eval "$ac_try") 2>&5
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); }; }; then
3992 ac_cv_header_stdc=yes
3994 echo "$as_me: failed program was:" >&5
3995 sed 's/^/| /' conftest.$ac_ext >&5
3997 ac_cv_header_stdc=no
4000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4002 if test $ac_cv_header_stdc = yes; then
4003 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4004 cat >conftest.$ac_ext <<_ACEOF
4007 cat confdefs.h >>conftest.$ac_ext
4008 cat >>conftest.$ac_ext <<_ACEOF
4009 /* end confdefs.h. */
4013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4014 $EGREP "memchr" >/dev/null 2>&1; then
4017 ac_cv_header_stdc=no
4023 if test $ac_cv_header_stdc = yes; then
4024 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4025 cat >conftest.$ac_ext <<_ACEOF
4028 cat confdefs.h >>conftest.$ac_ext
4029 cat >>conftest.$ac_ext <<_ACEOF
4030 /* end confdefs.h. */
4034 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4035 $EGREP "free" >/dev/null 2>&1; then
4038 ac_cv_header_stdc=no
4044 if test $ac_cv_header_stdc = yes; then
4045 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4046 if test "$cross_compiling" = yes; then
4049 cat >conftest.$ac_ext <<_ACEOF
4052 cat confdefs.h >>conftest.$ac_ext
4053 cat >>conftest.$ac_ext <<_ACEOF
4054 /* end confdefs.h. */
4057 #if ((' ' & 0x0FF) == 0x020)
4058 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4059 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4061 # define ISLOWER(c) \
4062 (('a' <= (c) && (c) <= 'i') \
4063 || ('j' <= (c) && (c) <= 'r') \
4064 || ('s' <= (c) && (c) <= 'z'))
4065 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4068 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4073 for (i = 0; i < 256; i++)
4074 if (XOR (islower (i), ISLOWER (i))
4075 || toupper (i) != TOUPPER (i))
4080 rm -f conftest$ac_exeext
4081 if { (ac_try="$ac_link"
4083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4084 *) ac_try_echo
=$ac_try;;
4086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4087 (eval "$ac_link") 2>&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4091 { (case "(($ac_try" in
4092 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4093 *) ac_try_echo=$ac_try;;
4095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4096 (eval "$ac_try") 2>&5
4098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099 (exit $ac_status); }; }; then
4102 echo "$as_me: program exited with status $ac_status" >&5
4103 echo "$as_me: failed program was:" >&5
4104 sed 's/^/| /' conftest.$ac_ext >&5
4107 ac_cv_header_stdc=no
4109 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4115 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4116 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4117 if test $ac_cv_header_stdc = yes; then
4119 cat >>confdefs.h <<\_ACEOF
4120 #define STDC_HEADERS 1
4125 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4135 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4136 inttypes.h stdint.h unistd.h
4138 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4139 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4141 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4142 echo $ECHO_N "(cached) $ECHO_C" >&6
4144 cat >conftest.$ac_ext <<_ACEOF
4147 cat confdefs.h >>conftest.$ac_ext
4148 cat >>conftest.$ac_ext <<_ACEOF
4149 /* end confdefs.h. */
4150 $ac_includes_default
4152 #include <$ac_header>
4154 rm -f conftest.$ac_objext
4155 if { (ac_try="$ac_compile"
4157 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4158 *) ac_try_echo
=$ac_try;;
4160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4161 (eval "$ac_compile") 2>conftest.er1
4163 grep -v '^ *+' conftest.er1
>conftest.err
4165 cat conftest.err
>&5
4166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167 (exit $ac_status); } &&
4168 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4169 { (case "(($ac_try" in
4170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4171 *) ac_try_echo=$ac_try;;
4173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4174 (eval "$ac_try") 2>&5
4176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); }; } &&
4178 { ac_try='test -s conftest.$ac_objext'
4179 { (case "(($ac_try" in
4180 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4181 *) ac_try_echo
=$ac_try;;
4183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4184 (eval "$ac_try") 2>&5
4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187 (exit $ac_status); }; }; then
4188 eval "$as_ac_Header=yes"
4190 echo "$as_me: failed program was:" >&5
4191 sed 's/^/| /' conftest.
$ac_ext >&5
4193 eval "$as_ac_Header=no"
4196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4198 ac_res
=`eval echo '${'$as_ac_Header'}'`
4199 { echo "$as_me:$LINENO: result: $ac_res" >&5
4200 echo "${ECHO_T}$ac_res" >&6; }
4201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4202 cat >>confdefs.h
<<_ACEOF
4203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4211 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4212 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4213 if test "${ac_cv_c_bigendian+set}" = set; then
4214 echo $ECHO_N "(cached) $ECHO_C" >&6
4216 # See if sys/param.h defines the BYTE_ORDER macro.
4217 cat >conftest.
$ac_ext <<_ACEOF
4220 cat confdefs.h
>>conftest.
$ac_ext
4221 cat >>conftest.
$ac_ext <<_ACEOF
4222 /* end confdefs.h. */
4223 #include <sys/types.h>
4224 #include <sys/param.h>
4229 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4237 rm -f conftest.
$ac_objext
4238 if { (ac_try
="$ac_compile"
4240 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4241 *) ac_try_echo=$ac_try;;
4243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4244 (eval "$ac_compile") 2>conftest.er1
4246 grep -v '^ *+' conftest.er1 >conftest.err
4248 cat conftest.err >&5
4249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250 (exit $ac_status); } &&
4251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4252 { (case "(($ac_try" in
4253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4254 *) ac_try_echo
=$ac_try;;
4256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4257 (eval "$ac_try") 2>&5
4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 (exit $ac_status); }; } &&
4261 { ac_try
='test -s conftest.$ac_objext'
4262 { (case "(($ac_try" in
4263 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4264 *) ac_try_echo=$ac_try;;
4266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4267 (eval "$ac_try") 2>&5
4269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4270 (exit $ac_status); }; }; then
4271 # It does; now see whether it defined to BIG_ENDIAN or not.
4272 cat >conftest.$ac_ext <<_ACEOF
4275 cat confdefs.h >>conftest.$ac_ext
4276 cat >>conftest.$ac_ext <<_ACEOF
4277 /* end confdefs.h. */
4278 #include <sys/types.h>
4279 #include <sys/param.h>
4284 #if BYTE_ORDER != BIG_ENDIAN
4292 rm -f conftest.$ac_objext
4293 if { (ac_try="$ac_compile"
4295 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4296 *) ac_try_echo
=$ac_try;;
4298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4299 (eval "$ac_compile") 2>conftest.er1
4301 grep -v '^ *+' conftest.er1
>conftest.err
4303 cat conftest.err
>&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); } &&
4306 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4307 { (case "(($ac_try" in
4308 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4309 *) ac_try_echo=$ac_try;;
4311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4312 (eval "$ac_try") 2>&5
4314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4315 (exit $ac_status); }; } &&
4316 { ac_try='test -s conftest.$ac_objext'
4317 { (case "(($ac_try" in
4318 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4319 *) ac_try_echo
=$ac_try;;
4321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4322 (eval "$ac_try") 2>&5
4324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4325 (exit $ac_status); }; }; then
4326 ac_cv_c_bigendian
=yes
4328 echo "$as_me: failed program was:" >&5
4329 sed 's/^/| /' conftest.
$ac_ext >&5
4331 ac_cv_c_bigendian
=no
4334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4336 echo "$as_me: failed program was:" >&5
4337 sed 's/^/| /' conftest.
$ac_ext >&5
4339 # It does not; compile a test program.
4340 if test "$cross_compiling" = yes; then
4341 # try to guess the endianness by grepping values into an object file
4342 ac_cv_c_bigendian
=unknown
4343 cat >conftest.
$ac_ext <<_ACEOF
4346 cat confdefs.h
>>conftest.
$ac_ext
4347 cat >>conftest.
$ac_ext <<_ACEOF
4348 /* end confdefs.h. */
4349 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4350 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4351 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4352 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4353 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4354 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4358 _ascii (); _ebcdic ();
4363 rm -f conftest.
$ac_objext
4364 if { (ac_try
="$ac_compile"
4366 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4367 *) ac_try_echo=$ac_try;;
4369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4370 (eval "$ac_compile") 2>conftest.er1
4372 grep -v '^ *+' conftest.er1 >conftest.err
4374 cat conftest.err >&5
4375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376 (exit $ac_status); } &&
4377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4378 { (case "(($ac_try" in
4379 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4380 *) ac_try_echo
=$ac_try;;
4382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4383 (eval "$ac_try") 2>&5
4385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4386 (exit $ac_status); }; } &&
4387 { ac_try
='test -s conftest.$ac_objext'
4388 { (case "(($ac_try" in
4389 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4390 *) ac_try_echo=$ac_try;;
4392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4393 (eval "$ac_try") 2>&5
4395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396 (exit $ac_status); }; }; then
4397 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4398 ac_cv_c_bigendian=yes
4400 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4401 if test "$ac_cv_c_bigendian" = unknown; then
4402 ac_cv_c_bigendian=no
4404 # finding both strings is unlikely to happen, but who knows?
4405 ac_cv_c_bigendian=unknown
4409 echo "$as_me: failed program was:" >&5
4410 sed 's/^/| /' conftest.$ac_ext >&5
4415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4417 cat >conftest.$ac_ext <<_ACEOF
4420 cat confdefs.h >>conftest.$ac_ext
4421 cat >>conftest.$ac_ext <<_ACEOF
4422 /* end confdefs.h. */
4423 $ac_includes_default
4428 /* Are we little or big endian? From Harbison&Steele. */
4432 char c[sizeof (long int)];
4435 return u.c[sizeof (long int) - 1] == 1;
4441 rm -f conftest$ac_exeext
4442 if { (ac_try="$ac_link"
4444 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4445 *) ac_try_echo
=$ac_try;;
4447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4448 (eval "$ac_link") 2>&5
4450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4452 { (case "(($ac_try" in
4453 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4454 *) ac_try_echo=$ac_try;;
4456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4457 (eval "$ac_try") 2>&5
4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460 (exit $ac_status); }; }; then
4461 ac_cv_c_bigendian=no
4463 echo "$as_me: program exited with status $ac_status" >&5
4464 echo "$as_me: failed program was:" >&5
4465 sed 's/^/| /' conftest.$ac_ext >&5
4468 ac_cv_c_bigendian=yes
4470 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4478 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4479 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4480 case $ac_cv_c_bigendian in
4488 { { echo "$as_me:$LINENO: error: unknown endianness
4489 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4490 echo "$as_me: error: unknown endianness
4491 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4492 { (exit 1); exit 1; }; } ;;
4496 if test "$cross_compiling" = yes; then
4497 LLVM_CROSS_COMPILING=1
4500 { echo "$as_me:$LINENO: checking for executable suffix on build platform" >&5
4501 echo $ECHO_N "checking for executable suffix on build platform... $ECHO_C" >&6; }
4502 if test "${ac_cv_build_exeext+set}" = set; then
4503 echo $ECHO_N "(cached) $ECHO_C" >&6
4505 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
4506 ac_cv_build_exeext=.exe
4508 ac_build_prefix=${build_alias}-
4510 # Extract the first word of "${ac_build_prefix}gcc", so it can be a program name with args.
4511 set dummy ${ac_build_prefix}gcc; ac_word=$2
4512 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4514 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4515 echo $ECHO_N "(cached) $ECHO_C" >&6
4517 if test -n "$BUILD_CC"; then
4518 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4524 test -z "$as_dir" && as_dir=.
4525 for ac_exec_ext in '' $ac_executable_extensions; do
4526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4527 ac_cv_prog_BUILD_CC="${ac_build_prefix}gcc"
4528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4537 BUILD_CC=$ac_cv_prog_BUILD_CC
4538 if test -n "$BUILD_CC"; then
4539 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4540 echo "${ECHO_T}$BUILD_CC" >&6; }
4542 { echo "$as_me:$LINENO: result: no" >&5
4543 echo "${ECHO_T}no" >&6; }
4547 if test -z "$BUILD_CC"; then
4548 # Extract the first word of "gcc", so it can be a program name with args.
4549 set dummy gcc; ac_word=$2
4550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4552 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4553 echo $ECHO_N "(cached) $ECHO_C" >&6
4555 if test -n "$BUILD_CC"; then
4556 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4562 test -z "$as_dir" && as_dir=.
4563 for ac_exec_ext in '' $ac_executable_extensions; do
4564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4565 ac_cv_prog_BUILD_CC="gcc"
4566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4575 BUILD_CC=$ac_cv_prog_BUILD_CC
4576 if test -n "$BUILD_CC"; then
4577 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4578 echo "${ECHO_T}$BUILD_CC" >&6; }
4580 { echo "$as_me:$LINENO: result: no" >&5
4581 echo "${ECHO_T}no" >&6; }
4585 if test -z "$BUILD_CC"; then
4586 # Extract the first word of "cc", so it can be a program name with args.
4587 set dummy cc; ac_word=$2
4588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4590 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4591 echo $ECHO_N "(cached) $ECHO_C" >&6
4593 if test -n "$BUILD_CC"; then
4594 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4601 test -z "$as_dir" && as_dir=.
4602 for ac_exec_ext in '' $ac_executable_extensions; do
4603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4604 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4605 ac_prog_rejected=yes
4608 ac_cv_prog_BUILD_CC="cc"
4609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4616 if test $ac_prog_rejected = yes; then
4617 # We found a bogon in the path, so make sure we never use it.
4618 set dummy $ac_cv_prog_BUILD_CC
4620 if test $# != 0; then
4621 # We chose a different compiler from the bogus one.
4622 # However, it has the same basename, so the bogon will be chosen
4623 # first if we set BUILD_CC to just the basename; use the full file name.
4625 ac_cv_prog_BUILD_CC="$as_dir/$ac_word${1+' '}$@"
4630 BUILD_CC=$ac_cv_prog_BUILD_CC
4631 if test -n "$BUILD_CC"; then
4632 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4633 echo "${ECHO_T}$BUILD_CC" >&6; }
4635 { echo "$as_me:$LINENO: result: no" >&5
4636 echo "${ECHO_T}no" >&6; }
4642 test -z "$BUILD_CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
4643 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
4644 { (exit 1); exit 1; }; }
4645 ac_build_link='${BUILD_CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4647 echo 'int main () { return 0; }' > conftest.$ac_ext
4649 if { (eval echo "$as_me:$LINENO: \"$ac_build_link\"") >&5
4650 (eval $ac_build_link) 2>&5
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); }; then
4654 for file in conftest.*; do
4656 *.c | *.o | *.obj | *.dSYM) ;;
4657 *) ac_cv_build_exeext=`echo $file |
sed -e s
/conftest
//` ;;
4661 { { echo "$as_me:$LINENO: error: installation or configuration problem: compiler cannot create executables." >&5
4662 echo "$as_me: error: installation or configuration problem: compiler cannot create executables." >&2;}
4663 { (exit 1); exit 1; }; }
4666 test x"${ac_cv_build_exeext}" = x && ac_cv_build_exeext=blank
4671 test x"${ac_cv_build_exeext}" != xblank && BUILD_EXEEXT=${ac_cv_build_exeext}
4672 { echo "$as_me:$LINENO: result: ${ac_cv_build_exeext}" >&5
4673 echo "${ECHO_T}${ac_cv_build_exeext}" >&6; }
4674 ac_build_exeext=$BUILD_EXEEXT
4676 ac_build_prefix=${build_alias}-
4677 # Extract the first word of "${ac_build_prefix}g++", so it can be a program name with args.
4678 set dummy ${ac_build_prefix}g++; ac_word=$2
4679 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4681 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4682 echo $ECHO_N "(cached) $ECHO_C" >&6
4684 if test -n "$BUILD_CXX"; then
4685 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4691 test -z "$as_dir" && as_dir=.
4692 for ac_exec_ext in '' $ac_executable_extensions; do
4693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4694 ac_cv_prog_BUILD_CXX="${ac_build_prefix}g++"
4695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4704 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4705 if test -n "$BUILD_CXX"; then
4706 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4707 echo "${ECHO_T}$BUILD_CXX" >&6; }
4709 { echo "$as_me:$LINENO: result: no" >&5
4710 echo "${ECHO_T}no" >&6; }
4714 if test -z "$BUILD_CXX"; then
4715 # Extract the first word of "g++", so it can be a program name with args.
4716 set dummy g++; ac_word=$2
4717 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4719 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4720 echo $ECHO_N "(cached) $ECHO_C" >&6
4722 if test -n "$BUILD_CXX"; then
4723 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4729 test -z "$as_dir" && as_dir=.
4730 for ac_exec_ext in '' $ac_executable_extensions; do
4731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4732 ac_cv_prog_BUILD_CXX="g++"
4733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4742 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4743 if test -n "$BUILD_CXX"; then
4744 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4745 echo "${ECHO_T}$BUILD_CXX" >&6; }
4747 { echo "$as_me:$LINENO: result: no" >&5
4748 echo "${ECHO_T}no" >&6; }
4752 if test -z "$BUILD_CXX"; then
4753 # Extract the first word of "c++", so it can be a program name with args.
4754 set dummy c++; ac_word=$2
4755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4757 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4758 echo $ECHO_N "(cached) $ECHO_C" >&6
4760 if test -n "$BUILD_CXX"; then
4761 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4768 test -z "$as_dir" && as_dir=.
4769 for ac_exec_ext in '' $ac_executable_extensions; do
4770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4771 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/c++"; then
4772 ac_prog_rejected=yes
4775 ac_cv_prog_BUILD_CXX="c++"
4776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4783 if test $ac_prog_rejected = yes; then
4784 # We found a bogon in the path, so make sure we never use it.
4785 set dummy $ac_cv_prog_BUILD_CXX
4787 if test $# != 0; then
4788 # We chose a different compiler from the bogus one.
4789 # However, it has the same basename, so the bogon will be chosen
4790 # first if we set BUILD_CXX to just the basename; use the full file name.
4792 ac_cv_prog_BUILD_CXX="$as_dir/$ac_word${1+' '}$@"
4797 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4798 if test -n "$BUILD_CXX"; then
4799 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4800 echo "${ECHO_T}$BUILD_CXX" >&6; }
4802 { echo "$as_me:$LINENO: result: no" >&5
4803 echo "${ECHO_T}no" >&6; }
4810 LLVM_CROSS_COMPILING=0
4814 if test -d "CVS" -o -d "${srcdir}/CVS" -o -d ".svn" -o -d "${srcdir}/.svn" -o -d ".git" -o -d "${srcdir}/.git"; then
4825 # Check whether --enable-optimized was given.
4826 if test "${enable_optimized+set}" = set; then
4827 enableval=$enable_optimized;
4832 if test ${enableval} = "no" ; then
4836 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
4840 # Check whether --enable-profiling was given.
4841 if test "${enable_profiling+set}" = set; then
4842 enableval=$enable_profiling;
4847 if test ${enableval} = "no" ; then
4851 ENABLE_PROFILING=ENABLE_PROFILING=1
4855 # Check whether --enable-assertions was given.
4856 if test "${enable_assertions+set}" = set; then
4857 enableval=$enable_assertions;
4862 if test ${enableval} = "yes" ; then
4866 DISABLE_ASSERTIONS=DISABLE_ASSERTIONS=1
4870 # Check whether --enable-expensive-checks was given.
4871 if test "${enable_expensive_checks+set}" = set; then
4872 enableval=$enable_expensive_checks;
4877 if test ${enableval} = "yes" ; then
4878 ENABLE_EXPENSIVE_CHECKS=ENABLE_EXPENSIVE_CHECKS=1
4880 EXPENSIVE_CHECKS=yes
4883 ENABLE_EXPENSIVE_CHECKS=
4889 # Check whether --enable-debug-runtime was given.
4890 if test "${enable_debug_runtime+set}" = set; then
4891 enableval=$enable_debug_runtime;
4896 if test ${enableval} = "no" ; then
4900 DEBUG_RUNTIME=DEBUG_RUNTIME=1
4904 # Check whether --enable-debug-symbols was given.
4905 if test "${enable_debug_symbols+set}" = set; then
4906 enableval=$enable_debug_symbols;
4911 if test ${enableval} = "no" ; then
4915 DEBUG_SYMBOLS=DEBUG_SYMBOLS=1
4919 # Check whether --enable-jit was given.
4920 if test "${enable_jit+set}" = set; then
4921 enableval=$enable_jit;
4926 if test ${enableval} = "no"
4931 case "$llvm_cv_target_arch" in
4932 x86) TARGET_HAS_JIT=1
4934 Sparc) TARGET_HAS_JIT=0
4936 PowerPC) TARGET_HAS_JIT=1
4938 x86_64) TARGET_HAS_JIT=1
4940 Alpha) TARGET_HAS_JIT=1
4942 ARM) TARGET_HAS_JIT=1
4944 Mips) TARGET_HAS_JIT=0
4946 PIC16) TARGET_HAS_JIT=0
4948 XCore) TARGET_HAS_JIT=0
4950 MSP430) TARGET_HAS_JIT=0
4952 SystemZ) TARGET_HAS_JIT=0
4954 Blackfin) TARGET_HAS_JIT=0
4961 # Check whether --enable-doxygen was given.
4962 if test "${enable_doxygen+set}" = set; then
4963 enableval=$enable_doxygen;
4968 case "$enableval" in
4969 yes) ENABLE_DOXYGEN=1
4971 no) ENABLE_DOXYGEN=0
4973 default) ENABLE_DOXYGEN=0
4975 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&5
4976 echo "$as_me: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&2;}
4977 { (exit 1); exit 1; }; } ;;
4980 # Check whether --enable-threads was given.
4981 if test "${enable_threads+set}" = set; then
4982 enableval=$enable_threads;
4987 case "$enableval" in
4988 yes) ENABLE_THREADS=1
4990 no) ENABLE_THREADS=0
4992 default) ENABLE_THREADS=1
4994 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&5
4995 echo "$as_me: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&2;}
4996 { (exit 1); exit 1; }; } ;;
4999 cat >>confdefs.h <<_ACEOF
5000 #define ENABLE_THREADS $ENABLE_THREADS
5004 # Check whether --enable-pic was given.
5005 if test "${enable_pic+set}" = set; then
5006 enableval=$enable_pic;
5011 case "$enableval" in
5016 default) ENABLE_PIC=1
5018 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&5
5019 echo "$as_me: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&2;}
5020 { (exit 1); exit 1; }; } ;;
5023 cat >>confdefs.h <<_ACEOF
5024 #define ENABLE_PIC $ENABLE_PIC
5029 # Check whether --enable-targets was given.
5030 if test "${enable_targets+set}" = set; then
5031 enableval=$enable_targets;
5036 if test "$enableval" = host-only ; then
5039 case "$enableval" in
5040 all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha ARM Mips CellSPU PIC16 XCore MSP430 SystemZ Blackfin CBackend MSIL CppBackend" ;;
5041 *)for a_target in `echo $enableval|
sed -e 's/,/ /g' ` ; do
5043 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5044 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5045 sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
5046 powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
5047 alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
5048 arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
5049 mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
5050 spu) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;;
5051 pic16) TARGETS_TO_BUILD="PIC16 $TARGETS_TO_BUILD" ;;
5052 xcore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
5053 msp430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;;
5054 systemz) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;;
5055 blackfin) TARGETS_TO_BUILD="Blackfin $TARGETS_TO_BUILD" ;;
5056 cbe) TARGETS_TO_BUILD="CBackend $TARGETS_TO_BUILD" ;;
5057 msil) TARGETS_TO_BUILD="MSIL $TARGETS_TO_BUILD" ;;
5058 cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
5059 host) case "$llvm_cv_target_arch" in
5060 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5061 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5062 Sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
5063 PowerPC) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
5064 Alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
5065 ARM) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
5066 Mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
5067 CellSPU|SPU) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;;
5068 PIC16) TARGETS_TO_BUILD="PIC16 $TARGETS_TO_BUILD" ;;
5069 XCore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
5070 MSP430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;;
5071 SystemZ) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;;
5072 Blackfin) TARGETS_TO_BUILD="Blackfin $TARGETS_TO_BUILD" ;;
5073 *) { { echo "$as_me:$LINENO: error: Can not set target to build" >&5
5074 echo "$as_me: error: Can not set target to build" >&2;}
5075 { (exit 1); exit 1; }; } ;;
5077 *) { { echo "$as_me:$LINENO: error: Unrecognized target $a_target" >&5
5078 echo "$as_me: error: Unrecognized target $a_target" >&2;}
5079 { (exit 1); exit 1; }; } ;;
5084 TARGETS_TO_BUILD=$TARGETS_TO_BUILD
5087 # Determine whether we are building LLVM support for the native architecture.
5088 # If so, define LLVM_NATIVE_ARCH to that LLVM target.
5089 for a_target in $TARGETS_TO_BUILD; do
5090 if test "$a_target" = "$LLVM_NATIVE_ARCH"; then
5091 LLVM_NATIVE_ARCHTARGET="${LLVM_NATIVE_ARCH}Target"
5093 cat >>confdefs.h <<_ACEOF
5094 #define LLVM_NATIVE_ARCH $LLVM_NATIVE_ARCHTARGET
5100 # Build the LLVM_TARGET and LLVM_ASM_PRINTER macro uses for
5101 # Targets.def, AsmPrinters.def, and AsmParsers.def.
5102 LLVM_ENUM_TARGETS=""
5103 LLVM_ENUM_ASM_PRINTERS=""
5104 LLVM_ENUM_ASM_PARSERS=""
5105 for target_to_build in $TARGETS_TO_BUILD; do
5106 LLVM_ENUM_TARGETS="LLVM_TARGET($target_to_build) $LLVM_ENUM_TARGETS"
5107 if test -f ${srcdir}/lib/Target/${target_to_build}/AsmPrinter/Makefile ; then
5108 LLVM_ENUM_ASM_PRINTERS="LLVM_ASM_PRINTER($target_to_build) $LLVM_ENUM_ASM_PRINTERS";
5110 if test -f ${srcdir}/lib/Target/${target_to_build}/AsmParser/Makefile ; then
5111 LLVM_ENUM_ASM_PARSERS="LLVM_ASM_PARSER($target_to_build) $LLVM_ENUM_ASM_PARSERS";
5118 # Check whether --enable-cbe-printf-a was given.
5119 if test "${enable_cbe_printf_a+set}" = set; then
5120 enableval=$enable_cbe_printf_a;
5125 case "$enableval" in
5126 yes) ENABLE_CBE_PRINTF_A=1
5128 no) ENABLE_CBE_PRINTF_A=0
5130 default) ENABLE_CBE_PRINTF_A=1
5132 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&5
5133 echo "$as_me: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&2;}
5134 { (exit 1); exit 1; }; } ;;
5137 cat >>confdefs.h <<_ACEOF
5138 #define ENABLE_CBE_PRINTF_A $ENABLE_CBE_PRINTF_A
5143 # Check whether --with-llvmgccdir was given.
5144 if test "${with_llvmgccdir+set}" = set; then
5145 withval=$with_llvmgccdir;
5151 default) WITH_LLVMGCCDIR=default ;;
5152 /* | [A-Za-z]:[\\/]*) WITH_LLVMGCCDIR=$withval ;;
5153 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-llvmgccdir. Provide full path" >&5
5154 echo "$as_me: error: Invalid path for --with-llvmgccdir. Provide full path" >&2;}
5155 { (exit 1); exit 1; }; } ;;
5159 # Check whether --with-llvmgcc was given.
5160 if test "${with_llvmgcc+set}" = set; then
5161 withval=$with_llvmgcc; LLVMGCC=$with_llvmgcc
5167 # Check whether --with-llvmgxx was given.
5168 if test "${with_llvmgxx+set}" = set; then
5169 withval=$with_llvmgxx; LLVMGXX=$with_llvmgxx
5174 if test -n "$LLVMGCC"; then
5175 LLVMGCCCOMMAND="$LLVMGCC"
5178 if test -n "$LLVMGXX"; then
5179 LLVMGXXCOMMAND="$LLVMGXX"
5182 if test -n "$LLVMGCC" && test -z "$LLVMGXX"; then
5183 { { echo "$as_me:$LINENO: error: Invalid llvm-g++. Use --with-llvmgxx when --with-llvmgcc is used" >&5
5184 echo "$as_me: error: Invalid llvm-g++. Use --with-llvmgxx when --with-llvmgcc is used" >&2;}
5185 { (exit 1); exit 1; }; };
5188 if test -n "$LLVMGXX" && test -z "$LLVMGCC"; then
5189 { { echo "$as_me:$LINENO: error: Invalid llvm-gcc. Use --with-llvmgcc when --with-llvmgxx is used" >&5
5190 echo "$as_me: error: Invalid llvm-gcc. Use --with-llvmgcc when --with-llvmgxx is used" >&2;}
5191 { (exit 1); exit 1; }; };
5195 # Check whether --with-extra-options was given.
5196 if test "${with_extra_options+set}" = set; then
5197 withval=$with_extra_options;
5203 default) EXTRA_OPTIONS= ;;
5204 *) EXTRA_OPTIONS=$withval ;;
5206 EXTRA_OPTIONS=$EXTRA_OPTIONS
5209 # Check whether --enable-bindings was given.
5210 if test "${enable_bindings+set}" = set; then
5211 enableval=$enable_bindings;
5216 BINDINGS_TO_BUILD=""
5217 case "$enableval" in
5218 yes | default | auto) BINDINGS_TO_BUILD="auto" ;;
5219 all ) BINDINGS_TO_BUILD="ocaml" ;;
5220 none | no) BINDINGS_TO_BUILD="" ;;
5221 *)for a_binding in `echo $enableval|
sed -e 's/,/ /g' ` ; do
5222 case "$a_binding" in
5223 ocaml) BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD" ;;
5224 *) { { echo "$as_me:$LINENO: error: Unrecognized binding $a_binding" >&5
5225 echo "$as_me: error: Unrecognized binding $a_binding" >&2;}
5226 { (exit 1); exit 1; }; } ;;
5233 # Check whether --with-ocaml-libdir was given.
5234 if test "${with_ocaml_libdir+set}" = set; then
5235 withval=$with_ocaml_libdir;
5241 auto) with_ocaml_libdir="$withval" ;;
5242 /* | [A-Za-z]:[\\/]*) with_ocaml_libdir="$withval" ;;
5243 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-ocaml-libdir. Provide full path" >&5
5244 echo "$as_me: error: Invalid path for --with-ocaml-libdir. Provide full path" >&2;}
5245 { (exit 1); exit 1; }; } ;;
5249 # Check whether --with-binutils-include was given.
5250 if test "${with_binutils_include+set}" = set; then
5251 withval=$with_binutils_include;
5257 default) WITH_BINUTILS_INCDIR=default ;;
5258 /* | [A-Za-z]:[\\/]*) WITH_BINUTILS_INCDIR=$withval ;;
5259 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-binutils-include. Provide full path" >&5
5260 echo "$as_me: error: Invalid path for --with-binutils-include. Provide full path" >&2;}
5261 { (exit 1); exit 1; }; } ;;
5263 if test "x$WITH_BINUTILS_INCDIR" != xdefault ; then
5264 BINUTILS_INCDIR=$WITH_BINUTILS_INCDIR
5266 if test ! -f "$WITH_BINUTILS_INCDIR/plugin-api.h"; then
5267 echo "$WITH_BINUTILS_INCDIR/plugin-api.h"
5268 { { echo "$as_me:$LINENO: error: Invalid path to directory containing plugin-api.h." >&5
5269 echo "$as_me: error: Invalid path to directory containing plugin-api.h." >&2;}
5270 { (exit 1); exit 1; }; };
5274 # Check whether --enable-libffi was given.
5275 if test "${enable_libffi+set}" = set; then
5276 enableval=$enable_libffi;
5281 case "$enableval" in
5282 yes) llvm_cv_enable_libffi="yes" ;;
5283 no) llvm_cv_enable_libffi="no" ;;
5284 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-libffi. Use \"yes\" or \"no\"" >&5
5285 echo "$as_me: error: Invalid setting for --enable-libffi. Use \"yes\" or \"no\"" >&2;}
5286 { (exit 1); exit 1; }; } ;;
5289 if test "$llvm_cv_os_type" = "Win32" ; then
5295 # Check whether --enable-llvmc-dynamic was given.
5296 if test "${enable_llvmc_dynamic+set}" = set; then
5297 enableval=$enable_llvmc_dynamic;
5299 enableval=$llvmc_dynamic
5302 if test ${enableval} = "yes" && test "$ENABLE_PIC" -eq 1 ; then
5303 ENABLE_LLVMC_DYNAMIC=ENABLE_LLVMC_DYNAMIC=1
5306 ENABLE_LLVMC_DYNAMIC=
5310 # Check whether --enable-llvmc-dynamic-plugins was given.
5311 if test "${enable_llvmc_dynamic_plugins+set}" = set; then
5312 enableval=$enable_llvmc_dynamic_plugins;
5317 if test ${enableval} = "yes" ; then
5318 ENABLE_LLVMC_DYNAMIC_PLUGINS=ENABLE_LLVMC_DYNAMIC_PLUGINS=1
5321 ENABLE_LLVMC_DYNAMIC_PLUGINS=
5327 ac_cpp='$CPP $CPPFLAGS'
5328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5331 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5332 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5333 # On Suns, sometimes $CPP names a directory.
5334 if test -n "$CPP" && test -d "$CPP"; then
5337 if test -z "$CPP"; then
5338 if test "${ac_cv_prog_CPP+set}" = set; then
5339 echo $ECHO_N "(cached) $ECHO_C" >&6
5341 # Double quotes because CPP needs to be expanded
5342 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5345 for ac_c_preproc_warn_flag in '' yes
5347 # Use a header file that comes with gcc, so configuring glibc
5348 # with a fresh cross-compiler works.
5349 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5350 # <limits.h> exists even on freestanding compilers.
5351 # On the NeXT, cc -E runs the code through the compiler's parser,
5352 # not just through cpp. "Syntax error" is here to catch this case.
5353 cat >conftest.$ac_ext <<_ACEOF
5356 cat confdefs.h >>conftest.$ac_ext
5357 cat >>conftest.$ac_ext <<_ACEOF
5358 /* end confdefs.h. */
5360 # include <limits.h>
5362 # include <assert.h>
5366 if { (ac_try="$ac_cpp conftest.$ac_ext"
5368 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5369 *) ac_try_echo
=$ac_try;;
5371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5372 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5374 grep -v '^ *+' conftest.er1
>conftest.err
5376 cat conftest.err
>&5
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); } >/dev
/null
; then
5379 if test -s conftest.err
; then
5380 ac_cpp_err
=$ac_c_preproc_warn_flag
5381 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5388 if test -z "$ac_cpp_err"; then
5391 echo "$as_me: failed program was:" >&5
5392 sed 's/^/| /' conftest.
$ac_ext >&5
5394 # Broken: fails on valid input.
5398 rm -f conftest.err conftest.
$ac_ext
5400 # OK, works on sane cases. Now check whether nonexistent headers
5401 # can be detected and how.
5402 cat >conftest.
$ac_ext <<_ACEOF
5405 cat confdefs.h
>>conftest.
$ac_ext
5406 cat >>conftest.
$ac_ext <<_ACEOF
5407 /* end confdefs.h. */
5408 #include <ac_nonexistent.h>
5410 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5412 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5413 *) ac_try_echo=$ac_try;;
5415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5416 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5418 grep -v '^ *+' conftest.er1 >conftest.err
5420 cat conftest.err >&5
5421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422 (exit $ac_status); } >/dev/null; then
5423 if test -s conftest.err; then
5424 ac_cpp_err=$ac_c_preproc_warn_flag
5425 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5432 if test -z "$ac_cpp_err"; then
5433 # Broken: success on invalid input.
5436 echo "$as_me: failed program was:" >&5
5437 sed 's/^/| /' conftest.$ac_ext >&5
5439 # Passes both tests.
5444 rm -f conftest.err conftest.$ac_ext
5447 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5448 rm -f conftest.err conftest.
$ac_ext
5449 if $ac_preproc_ok; then
5461 { echo "$as_me:$LINENO: result: $CPP" >&5
5462 echo "${ECHO_T}$CPP" >&6; }
5464 for ac_c_preproc_warn_flag
in '' yes
5466 # Use a header file that comes with gcc, so configuring glibc
5467 # with a fresh cross-compiler works.
5468 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5469 # <limits.h> exists even on freestanding compilers.
5470 # On the NeXT, cc -E runs the code through the compiler's parser,
5471 # not just through cpp. "Syntax error" is here to catch this case.
5472 cat >conftest.
$ac_ext <<_ACEOF
5475 cat confdefs.h
>>conftest.
$ac_ext
5476 cat >>conftest.
$ac_ext <<_ACEOF
5477 /* end confdefs.h. */
5479 # include <limits.h>
5481 # include <assert.h>
5485 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5488 *) ac_try_echo=$ac_try;;
5490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5491 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5493 grep -v '^ *+' conftest.er1 >conftest.err
5495 cat conftest.err >&5
5496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497 (exit $ac_status); } >/dev/null; then
5498 if test -s conftest.err; then
5499 ac_cpp_err=$ac_c_preproc_warn_flag
5500 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5507 if test -z "$ac_cpp_err"; then
5510 echo "$as_me: failed program was:" >&5
5511 sed 's/^/| /' conftest.$ac_ext >&5
5513 # Broken: fails on valid input.
5517 rm -f conftest.err conftest.$ac_ext
5519 # OK, works on sane cases. Now check whether nonexistent headers
5520 # can be detected and how.
5521 cat >conftest.$ac_ext <<_ACEOF
5524 cat confdefs.h >>conftest.$ac_ext
5525 cat >>conftest.$ac_ext <<_ACEOF
5526 /* end confdefs.h. */
5527 #include <ac_nonexistent.h>
5529 if { (ac_try="$ac_cpp conftest.$ac_ext"
5531 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5532 *) ac_try_echo
=$ac_try;;
5534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5535 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5537 grep -v '^ *+' conftest.er1
>conftest.err
5539 cat conftest.err
>&5
5540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5541 (exit $ac_status); } >/dev
/null
; then
5542 if test -s conftest.err
; then
5543 ac_cpp_err
=$ac_c_preproc_warn_flag
5544 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5551 if test -z "$ac_cpp_err"; then
5552 # Broken: success on invalid input.
5555 echo "$as_me: failed program was:" >&5
5556 sed 's/^/| /' conftest.
$ac_ext >&5
5558 # Passes both tests.
5563 rm -f conftest.err conftest.
$ac_ext
5566 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5567 rm -f conftest.err conftest.
$ac_ext
5568 if $ac_preproc_ok; then
5571 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5572 See \`config.log' for more details." >&5
5573 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5574 See \`config.log' for more details." >&2;}
5575 { (exit 1); exit 1; }; }
5579 ac_cpp
='$CPP $CPPFLAGS'
5580 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5581 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5582 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5585 ac_cpp
='$CPP $CPPFLAGS'
5586 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5587 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5588 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5589 if test -n "$ac_tool_prefix"; then
5592 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5593 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5596 if test "${ac_cv_prog_CC+set}" = set; then
5597 echo $ECHO_N "(cached) $ECHO_C" >&6
5599 if test -n "$CC"; then
5600 ac_cv_prog_CC
="$CC" # Let the user override the test.
5602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5606 test -z "$as_dir" && as_dir
=.
5607 for ac_exec_ext
in '' $ac_executable_extensions; do
5608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5609 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5620 if test -n "$CC"; then
5621 { echo "$as_me:$LINENO: result: $CC" >&5
5622 echo "${ECHO_T}$CC" >&6; }
5624 { echo "$as_me:$LINENO: result: no" >&5
5625 echo "${ECHO_T}no" >&6; }
5629 test -n "$CC" && break
5632 if test -z "$CC"; then
5636 # Extract the first word of "$ac_prog", so it can be a program name with args.
5637 set dummy
$ac_prog; ac_word
=$2
5638 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5640 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5641 echo $ECHO_N "(cached) $ECHO_C" >&6
5643 if test -n "$ac_ct_CC"; then
5644 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5650 test -z "$as_dir" && as_dir
=.
5651 for ac_exec_ext
in '' $ac_executable_extensions; do
5652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5653 ac_cv_prog_ac_ct_CC
="$ac_prog"
5654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5663 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5664 if test -n "$ac_ct_CC"; then
5665 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5666 echo "${ECHO_T}$ac_ct_CC" >&6; }
5668 { echo "$as_me:$LINENO: result: no" >&5
5669 echo "${ECHO_T}no" >&6; }
5673 test -n "$ac_ct_CC" && break
5676 if test "x$ac_ct_CC" = x
; then
5679 case $cross_compiling:$ac_tool_warned in
5681 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5682 whose name does not start with the host triplet. If you think this
5683 configuration is useful to you, please write to autoconf@gnu.org." >&5
5684 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5685 whose name does not start with the host triplet. If you think this
5686 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5687 ac_tool_warned
=yes ;;
5694 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5695 See \`config.log' for more details." >&5
5696 echo "$as_me: error: no acceptable C compiler found in \$PATH
5697 See \`config.log' for more details." >&2;}
5698 { (exit 1); exit 1; }; }
5700 # Provide some information about the compiler.
5701 echo "$as_me:$LINENO: checking for C compiler version" >&5
5702 ac_compiler
=`set X $ac_compile; echo $2`
5703 { (ac_try
="$ac_compiler --version >&5"
5705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5706 *) ac_try_echo=$ac_try;;
5708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5709 (eval "$ac_compiler --version >&5") 2>&5
5711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712 (exit $ac_status); }
5713 { (ac_try="$ac_compiler -v >&5"
5715 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5716 *) ac_try_echo
=$ac_try;;
5718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5719 (eval "$ac_compiler -v >&5") 2>&5
5721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5722 (exit $ac_status); }
5723 { (ac_try
="$ac_compiler -V >&5"
5725 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5726 *) ac_try_echo=$ac_try;;
5728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5729 (eval "$ac_compiler -V >&5") 2>&5
5731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732 (exit $ac_status); }
5734 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5735 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
5736 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5737 echo $ECHO_N "(cached) $ECHO_C" >&6
5739 cat >conftest.$ac_ext <<_ACEOF
5742 cat confdefs.h >>conftest.$ac_ext
5743 cat >>conftest.$ac_ext <<_ACEOF
5744 /* end confdefs.h. */
5757 rm -f conftest.$ac_objext
5758 if { (ac_try="$ac_compile"
5760 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5761 *) ac_try_echo
=$ac_try;;
5763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5764 (eval "$ac_compile") 2>conftest.er1
5766 grep -v '^ *+' conftest.er1
>conftest.err
5768 cat conftest.err
>&5
5769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5770 (exit $ac_status); } &&
5771 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5772 { (case "(($ac_try" in
5773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5774 *) ac_try_echo=$ac_try;;
5776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5777 (eval "$ac_try") 2>&5
5779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5780 (exit $ac_status); }; } &&
5781 { ac_try='test -s conftest.$ac_objext'
5782 { (case "(($ac_try" in
5783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5784 *) ac_try_echo
=$ac_try;;
5786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5787 (eval "$ac_try") 2>&5
5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790 (exit $ac_status); }; }; then
5793 echo "$as_me: failed program was:" >&5
5794 sed 's/^/| /' conftest.
$ac_ext >&5
5799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5800 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5803 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5804 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5805 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5806 ac_test_CFLAGS
=${CFLAGS+set}
5807 ac_save_CFLAGS
=$CFLAGS
5808 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5809 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5810 if test "${ac_cv_prog_cc_g+set}" = set; then
5811 echo $ECHO_N "(cached) $ECHO_C" >&6
5813 ac_save_c_werror_flag
=$ac_c_werror_flag
5814 ac_c_werror_flag
=yes
5817 cat >conftest.
$ac_ext <<_ACEOF
5820 cat confdefs.h
>>conftest.
$ac_ext
5821 cat >>conftest.
$ac_ext <<_ACEOF
5822 /* end confdefs.h. */
5832 rm -f conftest.
$ac_objext
5833 if { (ac_try
="$ac_compile"
5835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5836 *) ac_try_echo=$ac_try;;
5838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5839 (eval "$ac_compile") 2>conftest.er1
5841 grep -v '^ *+' conftest.er1 >conftest.err
5843 cat conftest.err >&5
5844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845 (exit $ac_status); } &&
5846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5847 { (case "(($ac_try" in
5848 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5849 *) ac_try_echo
=$ac_try;;
5851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5852 (eval "$ac_try") 2>&5
5854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5855 (exit $ac_status); }; } &&
5856 { ac_try
='test -s conftest.$ac_objext'
5857 { (case "(($ac_try" in
5858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5859 *) ac_try_echo=$ac_try;;
5861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5862 (eval "$ac_try") 2>&5
5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865 (exit $ac_status); }; }; then
5868 echo "$as_me: failed program was:" >&5
5869 sed 's/^/| /' conftest.$ac_ext >&5
5872 cat >conftest.$ac_ext <<_ACEOF
5875 cat confdefs.h >>conftest.$ac_ext
5876 cat >>conftest.$ac_ext <<_ACEOF
5877 /* end confdefs.h. */
5887 rm -f conftest.$ac_objext
5888 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
5896 grep -v '^ *+' conftest.er1
>conftest.err
5898 cat conftest.err
>&5
5899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5900 (exit $ac_status); } &&
5901 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5902 { (case "(($ac_try" in
5903 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5904 *) ac_try_echo=$ac_try;;
5906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5907 (eval "$ac_try") 2>&5
5909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910 (exit $ac_status); }; } &&
5911 { ac_try='test -s conftest.$ac_objext'
5912 { (case "(($ac_try" in
5913 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5914 *) ac_try_echo
=$ac_try;;
5916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5917 (eval "$ac_try") 2>&5
5919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5920 (exit $ac_status); }; }; then
5923 echo "$as_me: failed program was:" >&5
5924 sed 's/^/| /' conftest.
$ac_ext >&5
5926 ac_c_werror_flag
=$ac_save_c_werror_flag
5928 cat >conftest.
$ac_ext <<_ACEOF
5931 cat confdefs.h
>>conftest.
$ac_ext
5932 cat >>conftest.
$ac_ext <<_ACEOF
5933 /* end confdefs.h. */
5943 rm -f conftest.
$ac_objext
5944 if { (ac_try
="$ac_compile"
5946 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5947 *) ac_try_echo=$ac_try;;
5949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5950 (eval "$ac_compile") 2>conftest.er1
5952 grep -v '^ *+' conftest.er1 >conftest.err
5954 cat conftest.err >&5
5955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5956 (exit $ac_status); } &&
5957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5958 { (case "(($ac_try" in
5959 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5960 *) ac_try_echo
=$ac_try;;
5962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5963 (eval "$ac_try") 2>&5
5965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5966 (exit $ac_status); }; } &&
5967 { ac_try
='test -s conftest.$ac_objext'
5968 { (case "(($ac_try" in
5969 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5970 *) ac_try_echo=$ac_try;;
5972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5973 (eval "$ac_try") 2>&5
5975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5976 (exit $ac_status); }; }; then
5979 echo "$as_me: failed program was:" >&5
5980 sed 's/^/| /' conftest.$ac_ext >&5
5985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5992 ac_c_werror_flag=$ac_save_c_werror_flag
5994 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5995 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5996 if test "$ac_test_CFLAGS" = set; then
5997 CFLAGS=$ac_save_CFLAGS
5998 elif test $ac_cv_prog_cc_g = yes; then
5999 if test "$GCC" = yes; then
6005 if test "$GCC" = yes; then
6011 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
6012 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
6013 if test "${ac_cv_prog_cc_c89+set}" = set; then
6014 echo $ECHO_N "(cached) $ECHO_C" >&6
6016 ac_cv_prog_cc_c89=no
6018 cat >conftest.$ac_ext <<_ACEOF
6021 cat confdefs.h >>conftest.$ac_ext
6022 cat >>conftest.$ac_ext <<_ACEOF
6023 /* end confdefs.h. */
6026 #include <sys/types.h>
6027 #include <sys/stat.h>
6028 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6029 struct buf { int x; };
6030 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6031 static char *e (p, i)
6037 static char *f (char * (*g) (char **, int), char **p, ...)
6042 s = g (p, va_arg (v,int));
6047 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6048 function prototypes and stuff, but not '\xHH' hex character constants.
6049 These don't provoke an error unfortunately, instead are silently treated
6050 as 'x'. The following induces an error, until -std is added to get
6051 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6052 array size at least. It's necessary to write '\x00'==0 to get something
6053 that's true only with -std. */
6054 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6056 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6057 inside strings and character constants. */
6059 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6061 int test (int i, double x);
6062 struct s1 {int (*f) (int a);};
6063 struct s2 {int (*f) (double a);};
6064 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6070 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6075 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6076 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6078 CC="$ac_save_CC $ac_arg"
6079 rm -f conftest.$ac_objext
6080 if { (ac_try="$ac_compile"
6082 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6083 *) ac_try_echo
=$ac_try;;
6085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6086 (eval "$ac_compile") 2>conftest.er1
6088 grep -v '^ *+' conftest.er1
>conftest.err
6090 cat conftest.err
>&5
6091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6092 (exit $ac_status); } &&
6093 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6094 { (case "(($ac_try" in
6095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6096 *) ac_try_echo=$ac_try;;
6098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6099 (eval "$ac_try") 2>&5
6101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6102 (exit $ac_status); }; } &&
6103 { ac_try='test -s conftest.$ac_objext'
6104 { (case "(($ac_try" in
6105 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6106 *) ac_try_echo
=$ac_try;;
6108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6109 (eval "$ac_try") 2>&5
6111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6112 (exit $ac_status); }; }; then
6113 ac_cv_prog_cc_c89
=$ac_arg
6115 echo "$as_me: failed program was:" >&5
6116 sed 's/^/| /' conftest.
$ac_ext >&5
6121 rm -f core conftest.err conftest.
$ac_objext
6122 test "x$ac_cv_prog_cc_c89" != "xno" && break
6124 rm -f conftest.
$ac_ext
6129 case "x$ac_cv_prog_cc_c89" in
6131 { echo "$as_me:$LINENO: result: none needed" >&5
6132 echo "${ECHO_T}none needed" >&6; } ;;
6134 { echo "$as_me:$LINENO: result: unsupported" >&5
6135 echo "${ECHO_T}unsupported" >&6; } ;;
6137 CC
="$CC $ac_cv_prog_cc_c89"
6138 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
6139 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
6144 ac_cpp
='$CPP $CPPFLAGS'
6145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6150 ac_cpp
='$CXXCPP $CPPFLAGS'
6151 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6152 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6153 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6154 if test -z "$CXX"; then
6155 if test -n "$CCC"; then
6158 if test -n "$ac_tool_prefix"; then
6161 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6162 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6163 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6165 if test "${ac_cv_prog_CXX+set}" = set; then
6166 echo $ECHO_N "(cached) $ECHO_C" >&6
6168 if test -n "$CXX"; then
6169 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6175 test -z "$as_dir" && as_dir
=.
6176 for ac_exec_ext
in '' $ac_executable_extensions; do
6177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6178 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
6179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6189 if test -n "$CXX"; then
6190 { echo "$as_me:$LINENO: result: $CXX" >&5
6191 echo "${ECHO_T}$CXX" >&6; }
6193 { echo "$as_me:$LINENO: result: no" >&5
6194 echo "${ECHO_T}no" >&6; }
6198 test -n "$CXX" && break
6201 if test -z "$CXX"; then
6205 # Extract the first word of "$ac_prog", so it can be a program name with args.
6206 set dummy
$ac_prog; ac_word
=$2
6207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6209 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6210 echo $ECHO_N "(cached) $ECHO_C" >&6
6212 if test -n "$ac_ct_CXX"; then
6213 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
6215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6219 test -z "$as_dir" && as_dir
=.
6220 for ac_exec_ext
in '' $ac_executable_extensions; do
6221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6222 ac_cv_prog_ac_ct_CXX
="$ac_prog"
6223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6232 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
6233 if test -n "$ac_ct_CXX"; then
6234 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6235 echo "${ECHO_T}$ac_ct_CXX" >&6; }
6237 { echo "$as_me:$LINENO: result: no" >&5
6238 echo "${ECHO_T}no" >&6; }
6242 test -n "$ac_ct_CXX" && break
6245 if test "x$ac_ct_CXX" = x
; then
6248 case $cross_compiling:$ac_tool_warned in
6250 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6251 whose name does not start with the host triplet. If you think this
6252 configuration is useful to you, please write to autoconf@gnu.org." >&5
6253 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6254 whose name does not start with the host triplet. If you think this
6255 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6256 ac_tool_warned
=yes ;;
6264 # Provide some information about the compiler.
6265 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6266 ac_compiler
=`set X $ac_compile; echo $2`
6267 { (ac_try
="$ac_compiler --version >&5"
6269 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6270 *) ac_try_echo=$ac_try;;
6272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6273 (eval "$ac_compiler --version >&5") 2>&5
6275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6276 (exit $ac_status); }
6277 { (ac_try="$ac_compiler -v >&5"
6279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6280 *) ac_try_echo
=$ac_try;;
6282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6283 (eval "$ac_compiler -v >&5") 2>&5
6285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6286 (exit $ac_status); }
6287 { (ac_try
="$ac_compiler -V >&5"
6289 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6290 *) ac_try_echo=$ac_try;;
6292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6293 (eval "$ac_compiler -V >&5") 2>&5
6295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6296 (exit $ac_status); }
6298 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6299 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6300 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6301 echo $ECHO_N "(cached) $ECHO_C" >&6
6303 cat >conftest.$ac_ext <<_ACEOF
6306 cat confdefs.h >>conftest.$ac_ext
6307 cat >>conftest.$ac_ext <<_ACEOF
6308 /* end confdefs.h. */
6321 rm -f conftest.$ac_objext
6322 if { (ac_try="$ac_compile"
6324 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6325 *) ac_try_echo
=$ac_try;;
6327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6328 (eval "$ac_compile") 2>conftest.er1
6330 grep -v '^ *+' conftest.er1
>conftest.err
6332 cat conftest.err
>&5
6333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6334 (exit $ac_status); } &&
6335 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6336 { (case "(($ac_try" in
6337 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6338 *) ac_try_echo=$ac_try;;
6340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6341 (eval "$ac_try") 2>&5
6343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6344 (exit $ac_status); }; } &&
6345 { ac_try='test -s conftest.$ac_objext'
6346 { (case "(($ac_try" in
6347 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6348 *) ac_try_echo
=$ac_try;;
6350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6351 (eval "$ac_try") 2>&5
6353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6354 (exit $ac_status); }; }; then
6357 echo "$as_me: failed program was:" >&5
6358 sed 's/^/| /' conftest.
$ac_ext >&5
6363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6364 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
6367 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6368 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6369 GXX
=`test $ac_compiler_gnu = yes && echo yes`
6370 ac_test_CXXFLAGS
=${CXXFLAGS+set}
6371 ac_save_CXXFLAGS
=$CXXFLAGS
6372 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6373 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6374 if test "${ac_cv_prog_cxx_g+set}" = set; then
6375 echo $ECHO_N "(cached) $ECHO_C" >&6
6377 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
6378 ac_cxx_werror_flag
=yes
6381 cat >conftest.
$ac_ext <<_ACEOF
6384 cat confdefs.h
>>conftest.
$ac_ext
6385 cat >>conftest.
$ac_ext <<_ACEOF
6386 /* end confdefs.h. */
6396 rm -f conftest.
$ac_objext
6397 if { (ac_try
="$ac_compile"
6399 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6400 *) ac_try_echo=$ac_try;;
6402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6403 (eval "$ac_compile") 2>conftest.er1
6405 grep -v '^ *+' conftest.er1 >conftest.err
6407 cat conftest.err >&5
6408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6409 (exit $ac_status); } &&
6410 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6411 { (case "(($ac_try" in
6412 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6413 *) ac_try_echo
=$ac_try;;
6415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6416 (eval "$ac_try") 2>&5
6418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6419 (exit $ac_status); }; } &&
6420 { ac_try
='test -s conftest.$ac_objext'
6421 { (case "(($ac_try" in
6422 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6423 *) ac_try_echo=$ac_try;;
6425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6426 (eval "$ac_try") 2>&5
6428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429 (exit $ac_status); }; }; then
6430 ac_cv_prog_cxx_g=yes
6432 echo "$as_me: failed program was:" >&5
6433 sed 's/^/| /' conftest.$ac_ext >&5
6436 cat >conftest.$ac_ext <<_ACEOF
6439 cat confdefs.h >>conftest.$ac_ext
6440 cat >>conftest.$ac_ext <<_ACEOF
6441 /* end confdefs.h. */
6451 rm -f conftest.$ac_objext
6452 if { (ac_try="$ac_compile"
6454 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6455 *) ac_try_echo
=$ac_try;;
6457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6458 (eval "$ac_compile") 2>conftest.er1
6460 grep -v '^ *+' conftest.er1
>conftest.err
6462 cat conftest.err
>&5
6463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6464 (exit $ac_status); } &&
6465 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6466 { (case "(($ac_try" in
6467 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6468 *) ac_try_echo=$ac_try;;
6470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6471 (eval "$ac_try") 2>&5
6473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474 (exit $ac_status); }; } &&
6475 { ac_try='test -s conftest.$ac_objext'
6476 { (case "(($ac_try" in
6477 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6478 *) ac_try_echo
=$ac_try;;
6480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6481 (eval "$ac_try") 2>&5
6483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6484 (exit $ac_status); }; }; then
6487 echo "$as_me: failed program was:" >&5
6488 sed 's/^/| /' conftest.
$ac_ext >&5
6490 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6492 cat >conftest.
$ac_ext <<_ACEOF
6495 cat confdefs.h
>>conftest.
$ac_ext
6496 cat >>conftest.
$ac_ext <<_ACEOF
6497 /* end confdefs.h. */
6507 rm -f conftest.
$ac_objext
6508 if { (ac_try
="$ac_compile"
6510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6511 *) ac_try_echo=$ac_try;;
6513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6514 (eval "$ac_compile") 2>conftest.er1
6516 grep -v '^ *+' conftest.er1 >conftest.err
6518 cat conftest.err >&5
6519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6520 (exit $ac_status); } &&
6521 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6522 { (case "(($ac_try" in
6523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6524 *) ac_try_echo
=$ac_try;;
6526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6527 (eval "$ac_try") 2>&5
6529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6530 (exit $ac_status); }; } &&
6531 { ac_try
='test -s conftest.$ac_objext'
6532 { (case "(($ac_try" in
6533 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6534 *) ac_try_echo=$ac_try;;
6536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6537 (eval "$ac_try") 2>&5
6539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540 (exit $ac_status); }; }; then
6541 ac_cv_prog_cxx_g=yes
6543 echo "$as_me: failed program was:" >&5
6544 sed 's/^/| /' conftest.$ac_ext >&5
6549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6556 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6558 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6559 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6560 if test "$ac_test_CXXFLAGS" = set; then
6561 CXXFLAGS=$ac_save_CXXFLAGS
6562 elif test $ac_cv_prog_cxx_g = yes; then
6563 if test "$GXX" = yes; then
6569 if test "$GXX" = yes; then
6576 ac_cpp='$CPP $CPPFLAGS'
6577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6582 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6583 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
6584 if test "${lt_cv_path_NM+set}" = set; then
6585 echo $ECHO_N "(cached) $ECHO_C" >&6
6587 if test -n "$NM"; then
6588 # Let the user override the test.
6591 lt_nm_to_check="${ac_tool_prefix}nm"
6592 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6593 lt_nm_to_check="$lt_nm_to_check nm"
6595 for lt_tmp_nm in $lt_nm_to_check; do
6596 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6597 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6599 test -z "$ac_dir" && ac_dir=.
6600 tmp_nm="$ac_dir/$lt_tmp_nm"
6601 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6602 # Check to see if the nm accepts a BSD-compat flag.
6603 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
6604 # nm: unknown option "B" ignored
6605 # Tru64's nm complains that
/dev
/null is an invalid object
file
6606 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6607 */dev
/null
* |
*'Invalid file or object type'*)
6608 lt_cv_path_NM
="$tmp_nm -B"
6612 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6614 lt_cv_path_NM
="$tmp_nm -p"
6618 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6619 continue # so that we can try to find one that supports BSD flags
6628 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
6631 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6632 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6637 { echo "$as_me:$LINENO: checking for GNU make" >&5
6638 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; }
6639 if test "${llvm_cv_gnu_make_command+set}" = set; then
6640 echo $ECHO_N "(cached) $ECHO_C" >&6
6642 llvm_cv_gnu_make_command
=''
6643 for a
in "$MAKE" make gmake gnumake
; do
6644 if test -z "$a" ; then continue ; fi ;
6645 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
)
6647 llvm_cv_gnu_make_command
=$a ;
6652 { echo "$as_me:$LINENO: result: $llvm_cv_gnu_make_command" >&5
6653 echo "${ECHO_T}$llvm_cv_gnu_make_command" >&6; }
6654 if test "x$llvm_cv_gnu_make_command" != "x" ; then
6658 { echo "$as_me:$LINENO: result: \"Not found\"" >&5
6659 echo "${ECHO_T}\"Not found\"" >&6; };
6663 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6664 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6666 if test "$LN_S" = "ln -s"; then
6667 { echo "$as_me:$LINENO: result: yes" >&5
6668 echo "${ECHO_T}yes" >&6; }
6670 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6671 echo "${ECHO_T}no, using $LN_S" >&6; }
6674 # Extract the first word of "cmp", so it can be a program name with args.
6675 set dummy
cmp; ac_word
=$2
6676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6678 if test "${ac_cv_path_CMP+set}" = set; then
6679 echo $ECHO_N "(cached) $ECHO_C" >&6
6683 ac_cv_path_CMP
="$CMP" # Let the user override the test with a path.
6686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6690 test -z "$as_dir" && as_dir
=.
6691 for ac_exec_ext
in '' $ac_executable_extensions; do
6692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6693 ac_cv_path_CMP
="$as_dir/$ac_word$ac_exec_ext"
6694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6701 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP
="cmp"
6706 if test -n "$CMP"; then
6707 { echo "$as_me:$LINENO: result: $CMP" >&5
6708 echo "${ECHO_T}$CMP" >&6; }
6710 { echo "$as_me:$LINENO: result: no" >&5
6711 echo "${ECHO_T}no" >&6; }
6715 # Extract the first word of "cp", so it can be a program name with args.
6716 set dummy
cp; ac_word
=$2
6717 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6719 if test "${ac_cv_path_CP+set}" = set; then
6720 echo $ECHO_N "(cached) $ECHO_C" >&6
6724 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
6727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6731 test -z "$as_dir" && as_dir
=.
6732 for ac_exec_ext
in '' $ac_executable_extensions; do
6733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6734 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
6735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6742 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
6747 if test -n "$CP"; then
6748 { echo "$as_me:$LINENO: result: $CP" >&5
6749 echo "${ECHO_T}$CP" >&6; }
6751 { echo "$as_me:$LINENO: result: no" >&5
6752 echo "${ECHO_T}no" >&6; }
6756 # Extract the first word of "date", so it can be a program name with args.
6757 set dummy
date; ac_word
=$2
6758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6760 if test "${ac_cv_path_DATE+set}" = set; then
6761 echo $ECHO_N "(cached) $ECHO_C" >&6
6765 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
6768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6772 test -z "$as_dir" && as_dir
=.
6773 for ac_exec_ext
in '' $ac_executable_extensions; do
6774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6775 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
6776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6783 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE
="date"
6787 DATE
=$ac_cv_path_DATE
6788 if test -n "$DATE"; then
6789 { echo "$as_me:$LINENO: result: $DATE" >&5
6790 echo "${ECHO_T}$DATE" >&6; }
6792 { echo "$as_me:$LINENO: result: no" >&5
6793 echo "${ECHO_T}no" >&6; }
6797 # Extract the first word of "find", so it can be a program name with args.
6798 set dummy
find; ac_word
=$2
6799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6801 if test "${ac_cv_path_FIND+set}" = set; then
6802 echo $ECHO_N "(cached) $ECHO_C" >&6
6806 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
6809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6813 test -z "$as_dir" && as_dir
=.
6814 for ac_exec_ext
in '' $ac_executable_extensions; do
6815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6816 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
6817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6824 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
="find"
6828 FIND
=$ac_cv_path_FIND
6829 if test -n "$FIND"; then
6830 { echo "$as_me:$LINENO: result: $FIND" >&5
6831 echo "${ECHO_T}$FIND" >&6; }
6833 { echo "$as_me:$LINENO: result: no" >&5
6834 echo "${ECHO_T}no" >&6; }
6838 # Extract the first word of "grep", so it can be a program name with args.
6839 set dummy
grep; ac_word
=$2
6840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6842 if test "${ac_cv_path_GREP+set}" = set; then
6843 echo $ECHO_N "(cached) $ECHO_C" >&6
6847 ac_cv_path_GREP
="$GREP" # Let the user override the test with a path.
6850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6854 test -z "$as_dir" && as_dir
=.
6855 for ac_exec_ext
in '' $ac_executable_extensions; do
6856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6857 ac_cv_path_GREP
="$as_dir/$ac_word$ac_exec_ext"
6858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6865 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP
="grep"
6869 GREP
=$ac_cv_path_GREP
6870 if test -n "$GREP"; then
6871 { echo "$as_me:$LINENO: result: $GREP" >&5
6872 echo "${ECHO_T}$GREP" >&6; }
6874 { echo "$as_me:$LINENO: result: no" >&5
6875 echo "${ECHO_T}no" >&6; }
6879 # Extract the first word of "mkdir", so it can be a program name with args.
6880 set dummy mkdir
; ac_word
=$2
6881 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6883 if test "${ac_cv_path_MKDIR+set}" = set; then
6884 echo $ECHO_N "(cached) $ECHO_C" >&6
6888 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
6891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6895 test -z "$as_dir" && as_dir
=.
6896 for ac_exec_ext
in '' $ac_executable_extensions; do
6897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6898 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
6899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6906 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR
="mkdir"
6910 MKDIR
=$ac_cv_path_MKDIR
6911 if test -n "$MKDIR"; then
6912 { echo "$as_me:$LINENO: result: $MKDIR" >&5
6913 echo "${ECHO_T}$MKDIR" >&6; }
6915 { echo "$as_me:$LINENO: result: no" >&5
6916 echo "${ECHO_T}no" >&6; }
6920 # Extract the first word of "mv", so it can be a program name with args.
6921 set dummy
mv; ac_word
=$2
6922 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6924 if test "${ac_cv_path_MV+set}" = set; then
6925 echo $ECHO_N "(cached) $ECHO_C" >&6
6929 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
6932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6936 test -z "$as_dir" && as_dir
=.
6937 for ac_exec_ext
in '' $ac_executable_extensions; do
6938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6939 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
6940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6947 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
6952 if test -n "$MV"; then
6953 { echo "$as_me:$LINENO: result: $MV" >&5
6954 echo "${ECHO_T}$MV" >&6; }
6956 { echo "$as_me:$LINENO: result: no" >&5
6957 echo "${ECHO_T}no" >&6; }
6961 if test -n "$ac_tool_prefix"; then
6962 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6963 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6964 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6966 if test "${ac_cv_prog_RANLIB+set}" = set; then
6967 echo $ECHO_N "(cached) $ECHO_C" >&6
6969 if test -n "$RANLIB"; then
6970 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6976 test -z "$as_dir" && as_dir
=.
6977 for ac_exec_ext
in '' $ac_executable_extensions; do
6978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6979 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6989 RANLIB
=$ac_cv_prog_RANLIB
6990 if test -n "$RANLIB"; then
6991 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6992 echo "${ECHO_T}$RANLIB" >&6; }
6994 { echo "$as_me:$LINENO: result: no" >&5
6995 echo "${ECHO_T}no" >&6; }
7000 if test -z "$ac_cv_prog_RANLIB"; then
7001 ac_ct_RANLIB
=$RANLIB
7002 # Extract the first word of "ranlib", so it can be a program name with args.
7003 set dummy ranlib
; ac_word
=$2
7004 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7006 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7007 echo $ECHO_N "(cached) $ECHO_C" >&6
7009 if test -n "$ac_ct_RANLIB"; then
7010 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7016 test -z "$as_dir" && as_dir
=.
7017 for ac_exec_ext
in '' $ac_executable_extensions; do
7018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7019 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7029 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7030 if test -n "$ac_ct_RANLIB"; then
7031 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7032 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7034 { echo "$as_me:$LINENO: result: no" >&5
7035 echo "${ECHO_T}no" >&6; }
7038 if test "x$ac_ct_RANLIB" = x
; then
7041 case $cross_compiling:$ac_tool_warned in
7043 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7044 whose name does not start with the host triplet. If you think this
7045 configuration is useful to you, please write to autoconf@gnu.org." >&5
7046 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7047 whose name does not start with the host triplet. If you think this
7048 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7049 ac_tool_warned
=yes ;;
7051 RANLIB
=$ac_ct_RANLIB
7054 RANLIB
="$ac_cv_prog_RANLIB"
7057 # Extract the first word of "rm", so it can be a program name with args.
7058 set dummy
rm; ac_word
=$2
7059 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7061 if test "${ac_cv_path_RM+set}" = set; then
7062 echo $ECHO_N "(cached) $ECHO_C" >&6
7066 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
7069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7073 test -z "$as_dir" && as_dir
=.
7074 for ac_exec_ext
in '' $ac_executable_extensions; do
7075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7076 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
7077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7084 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
7089 if test -n "$RM"; then
7090 { echo "$as_me:$LINENO: result: $RM" >&5
7091 echo "${ECHO_T}$RM" >&6; }
7093 { echo "$as_me:$LINENO: result: no" >&5
7094 echo "${ECHO_T}no" >&6; }
7098 # Extract the first word of "sed", so it can be a program name with args.
7099 set dummy
sed; ac_word
=$2
7100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7102 if test "${ac_cv_path_SED+set}" = set; then
7103 echo $ECHO_N "(cached) $ECHO_C" >&6
7107 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
7110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7114 test -z "$as_dir" && as_dir
=.
7115 for ac_exec_ext
in '' $ac_executable_extensions; do
7116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7117 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
7118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7125 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
7130 if test -n "$SED"; then
7131 { echo "$as_me:$LINENO: result: $SED" >&5
7132 echo "${ECHO_T}$SED" >&6; }
7134 { echo "$as_me:$LINENO: result: no" >&5
7135 echo "${ECHO_T}no" >&6; }
7139 # Extract the first word of "tar", so it can be a program name with args.
7140 set dummy
tar; ac_word
=$2
7141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7143 if test "${ac_cv_path_TAR+set}" = set; then
7144 echo $ECHO_N "(cached) $ECHO_C" >&6
7148 ac_cv_path_TAR
="$TAR" # Let the user override the test with a path.
7151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7155 test -z "$as_dir" && as_dir
=.
7156 for ac_exec_ext
in '' $ac_executable_extensions; do
7157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7158 ac_cv_path_TAR
="$as_dir/$ac_word$ac_exec_ext"
7159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7166 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR
="gtar"
7171 if test -n "$TAR"; then
7172 { echo "$as_me:$LINENO: result: $TAR" >&5
7173 echo "${ECHO_T}$TAR" >&6; }
7175 { echo "$as_me:$LINENO: result: no" >&5
7176 echo "${ECHO_T}no" >&6; }
7180 # Extract the first word of "pwd", so it can be a program name with args.
7181 set dummy
pwd; ac_word
=$2
7182 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7184 if test "${ac_cv_path_BINPWD+set}" = set; then
7185 echo $ECHO_N "(cached) $ECHO_C" >&6
7189 ac_cv_path_BINPWD
="$BINPWD" # Let the user override the test with a path.
7192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7196 test -z "$as_dir" && as_dir
=.
7197 for ac_exec_ext
in '' $ac_executable_extensions; do
7198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7199 ac_cv_path_BINPWD
="$as_dir/$ac_word$ac_exec_ext"
7200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7207 test -z "$ac_cv_path_BINPWD" && ac_cv_path_BINPWD
="pwd"
7211 BINPWD
=$ac_cv_path_BINPWD
7212 if test -n "$BINPWD"; then
7213 { echo "$as_me:$LINENO: result: $BINPWD" >&5
7214 echo "${ECHO_T}$BINPWD" >&6; }
7216 { echo "$as_me:$LINENO: result: no" >&5
7217 echo "${ECHO_T}no" >&6; }
7222 # Extract the first word of "Graphviz", so it can be a program name with args.
7223 set dummy Graphviz
; ac_word
=$2
7224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7226 if test "${ac_cv_path_GRAPHVIZ+set}" = set; then
7227 echo $ECHO_N "(cached) $ECHO_C" >&6
7231 ac_cv_path_GRAPHVIZ
="$GRAPHVIZ" # Let the user override the test with a path.
7234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7238 test -z "$as_dir" && as_dir
=.
7239 for ac_exec_ext
in '' $ac_executable_extensions; do
7240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7241 ac_cv_path_GRAPHVIZ
="$as_dir/$ac_word$ac_exec_ext"
7242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7249 test -z "$ac_cv_path_GRAPHVIZ" && ac_cv_path_GRAPHVIZ
="echo Graphviz"
7253 GRAPHVIZ
=$ac_cv_path_GRAPHVIZ
7254 if test -n "$GRAPHVIZ"; then
7255 { echo "$as_me:$LINENO: result: $GRAPHVIZ" >&5
7256 echo "${ECHO_T}$GRAPHVIZ" >&6; }
7258 { echo "$as_me:$LINENO: result: no" >&5
7259 echo "${ECHO_T}no" >&6; }
7263 if test "$GRAPHVIZ" != "echo Graphviz" ; then
7265 cat >>confdefs.h
<<\_ACEOF
7266 #define HAVE_GRAPHVIZ 1
7269 if test "$llvm_cv_os_type" = "MingW" ; then
7270 GRAPHVIZ
=`echo $GRAPHVIZ | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7273 cat >>confdefs.h
<<_ACEOF
7274 #define LLVM_PATH_GRAPHVIZ "$GRAPHVIZ${EXEEXT}"
7278 # Extract the first word of "dot", so it can be a program name with args.
7279 set dummy dot
; ac_word
=$2
7280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7282 if test "${ac_cv_path_DOT+set}" = set; then
7283 echo $ECHO_N "(cached) $ECHO_C" >&6
7287 ac_cv_path_DOT
="$DOT" # Let the user override the test with a path.
7290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7294 test -z "$as_dir" && as_dir
=.
7295 for ac_exec_ext
in '' $ac_executable_extensions; do
7296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7297 ac_cv_path_DOT
="$as_dir/$ac_word$ac_exec_ext"
7298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7305 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT
="echo dot"
7310 if test -n "$DOT"; then
7311 { echo "$as_me:$LINENO: result: $DOT" >&5
7312 echo "${ECHO_T}$DOT" >&6; }
7314 { echo "$as_me:$LINENO: result: no" >&5
7315 echo "${ECHO_T}no" >&6; }
7319 if test "$DOT" != "echo dot" ; then
7321 cat >>confdefs.h
<<\_ACEOF
7325 if test "$llvm_cv_os_type" = "MingW" ; then
7326 DOT
=`echo $DOT | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7329 cat >>confdefs.h
<<_ACEOF
7330 #define LLVM_PATH_DOT "$DOT${EXEEXT}"
7334 # Extract the first word of "fdp", so it can be a program name with args.
7335 set dummy fdp
; ac_word
=$2
7336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7338 if test "${ac_cv_path_FDP+set}" = set; then
7339 echo $ECHO_N "(cached) $ECHO_C" >&6
7343 ac_cv_path_FDP
="$FDP" # Let the user override the test with a path.
7346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7350 test -z "$as_dir" && as_dir
=.
7351 for ac_exec_ext
in '' $ac_executable_extensions; do
7352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7353 ac_cv_path_FDP
="$as_dir/$ac_word$ac_exec_ext"
7354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7361 test -z "$ac_cv_path_FDP" && ac_cv_path_FDP
="echo fdp"
7366 if test -n "$FDP"; then
7367 { echo "$as_me:$LINENO: result: $FDP" >&5
7368 echo "${ECHO_T}$FDP" >&6; }
7370 { echo "$as_me:$LINENO: result: no" >&5
7371 echo "${ECHO_T}no" >&6; }
7375 if test "$FDP" != "echo fdp" ; then
7377 cat >>confdefs.h
<<\_ACEOF
7381 if test "$llvm_cv_os_type" = "MingW" ; then
7382 FDP
=`echo $FDP | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7385 cat >>confdefs.h
<<_ACEOF
7386 #define LLVM_PATH_FDP "$FDP${EXEEXT}"
7390 # Extract the first word of "neato", so it can be a program name with args.
7391 set dummy neato
; ac_word
=$2
7392 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7394 if test "${ac_cv_path_NEATO+set}" = set; then
7395 echo $ECHO_N "(cached) $ECHO_C" >&6
7399 ac_cv_path_NEATO
="$NEATO" # Let the user override the test with a path.
7402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7406 test -z "$as_dir" && as_dir
=.
7407 for ac_exec_ext
in '' $ac_executable_extensions; do
7408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7409 ac_cv_path_NEATO
="$as_dir/$ac_word$ac_exec_ext"
7410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7417 test -z "$ac_cv_path_NEATO" && ac_cv_path_NEATO
="echo neato"
7421 NEATO
=$ac_cv_path_NEATO
7422 if test -n "$NEATO"; then
7423 { echo "$as_me:$LINENO: result: $NEATO" >&5
7424 echo "${ECHO_T}$NEATO" >&6; }
7426 { echo "$as_me:$LINENO: result: no" >&5
7427 echo "${ECHO_T}no" >&6; }
7431 if test "$NEATO" != "echo neato" ; then
7433 cat >>confdefs.h
<<\_ACEOF
7434 #define HAVE_NEATO 1
7437 if test "$llvm_cv_os_type" = "MingW" ; then
7438 NEATO
=`echo $NEATO | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7441 cat >>confdefs.h
<<_ACEOF
7442 #define LLVM_PATH_NEATO "$NEATO${EXEEXT}"
7446 # Extract the first word of "twopi", so it can be a program name with args.
7447 set dummy twopi
; ac_word
=$2
7448 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7450 if test "${ac_cv_path_TWOPI+set}" = set; then
7451 echo $ECHO_N "(cached) $ECHO_C" >&6
7455 ac_cv_path_TWOPI
="$TWOPI" # Let the user override the test with a path.
7458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7462 test -z "$as_dir" && as_dir
=.
7463 for ac_exec_ext
in '' $ac_executable_extensions; do
7464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7465 ac_cv_path_TWOPI
="$as_dir/$ac_word$ac_exec_ext"
7466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7473 test -z "$ac_cv_path_TWOPI" && ac_cv_path_TWOPI
="echo twopi"
7477 TWOPI
=$ac_cv_path_TWOPI
7478 if test -n "$TWOPI"; then
7479 { echo "$as_me:$LINENO: result: $TWOPI" >&5
7480 echo "${ECHO_T}$TWOPI" >&6; }
7482 { echo "$as_me:$LINENO: result: no" >&5
7483 echo "${ECHO_T}no" >&6; }
7487 if test "$TWOPI" != "echo twopi" ; then
7489 cat >>confdefs.h
<<\_ACEOF
7490 #define HAVE_TWOPI 1
7493 if test "$llvm_cv_os_type" = "MingW" ; then
7494 TWOPI
=`echo $TWOPI | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7497 cat >>confdefs.h
<<_ACEOF
7498 #define LLVM_PATH_TWOPI "$TWOPI${EXEEXT}"
7502 # Extract the first word of "circo", so it can be a program name with args.
7503 set dummy circo
; ac_word
=$2
7504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7506 if test "${ac_cv_path_CIRCO+set}" = set; then
7507 echo $ECHO_N "(cached) $ECHO_C" >&6
7511 ac_cv_path_CIRCO
="$CIRCO" # Let the user override the test with a path.
7514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7518 test -z "$as_dir" && as_dir
=.
7519 for ac_exec_ext
in '' $ac_executable_extensions; do
7520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7521 ac_cv_path_CIRCO
="$as_dir/$ac_word$ac_exec_ext"
7522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7529 test -z "$ac_cv_path_CIRCO" && ac_cv_path_CIRCO
="echo circo"
7533 CIRCO
=$ac_cv_path_CIRCO
7534 if test -n "$CIRCO"; then
7535 { echo "$as_me:$LINENO: result: $CIRCO" >&5
7536 echo "${ECHO_T}$CIRCO" >&6; }
7538 { echo "$as_me:$LINENO: result: no" >&5
7539 echo "${ECHO_T}no" >&6; }
7543 if test "$CIRCO" != "echo circo" ; then
7545 cat >>confdefs.h
<<\_ACEOF
7546 #define HAVE_CIRCO 1
7549 if test "$llvm_cv_os_type" = "MingW" ; then
7550 CIRCO
=`echo $CIRCO | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7553 cat >>confdefs.h
<<_ACEOF
7554 #define LLVM_PATH_CIRCO "$CIRCO${EXEEXT}"
7558 for ac_prog
in gv gsview32
7560 # Extract the first word of "$ac_prog", so it can be a program name with args.
7561 set dummy
$ac_prog; ac_word
=$2
7562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7564 if test "${ac_cv_path_GV+set}" = set; then
7565 echo $ECHO_N "(cached) $ECHO_C" >&6
7569 ac_cv_path_GV
="$GV" # Let the user override the test with a path.
7572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7576 test -z "$as_dir" && as_dir
=.
7577 for ac_exec_ext
in '' $ac_executable_extensions; do
7578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7579 ac_cv_path_GV
="$as_dir/$ac_word$ac_exec_ext"
7580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7591 if test -n "$GV"; then
7592 { echo "$as_me:$LINENO: result: $GV" >&5
7593 echo "${ECHO_T}$GV" >&6; }
7595 { echo "$as_me:$LINENO: result: no" >&5
7596 echo "${ECHO_T}no" >&6; }
7600 test -n "$GV" && break
7602 test -n "$GV" || GV
="echo gv"
7604 if test "$GV" != "echo gv" ; then
7606 cat >>confdefs.h
<<\_ACEOF
7610 if test "$llvm_cv_os_type" = "MingW" ; then
7611 GV
=`echo $GV | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7614 cat >>confdefs.h
<<_ACEOF
7615 #define LLVM_PATH_GV "$GV${EXEEXT}"
7619 # Extract the first word of "dotty", so it can be a program name with args.
7620 set dummy dotty
; ac_word
=$2
7621 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7623 if test "${ac_cv_path_DOTTY+set}" = set; then
7624 echo $ECHO_N "(cached) $ECHO_C" >&6
7628 ac_cv_path_DOTTY
="$DOTTY" # Let the user override the test with a path.
7631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7635 test -z "$as_dir" && as_dir
=.
7636 for ac_exec_ext
in '' $ac_executable_extensions; do
7637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7638 ac_cv_path_DOTTY
="$as_dir/$ac_word$ac_exec_ext"
7639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7646 test -z "$ac_cv_path_DOTTY" && ac_cv_path_DOTTY
="echo dotty"
7650 DOTTY
=$ac_cv_path_DOTTY
7651 if test -n "$DOTTY"; then
7652 { echo "$as_me:$LINENO: result: $DOTTY" >&5
7653 echo "${ECHO_T}$DOTTY" >&6; }
7655 { echo "$as_me:$LINENO: result: no" >&5
7656 echo "${ECHO_T}no" >&6; }
7660 if test "$DOTTY" != "echo dotty" ; then
7662 cat >>confdefs.h
<<\_ACEOF
7663 #define HAVE_DOTTY 1
7666 if test "$llvm_cv_os_type" = "MingW" ; then
7667 DOTTY
=`echo $DOTTY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7670 cat >>confdefs.h
<<_ACEOF
7671 #define LLVM_PATH_DOTTY "$DOTTY${EXEEXT}"
7677 # Extract the first word of "perl", so it can be a program name with args.
7678 set dummy perl
; ac_word
=$2
7679 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7681 if test "${ac_cv_path_PERL+set}" = set; then
7682 echo $ECHO_N "(cached) $ECHO_C" >&6
7686 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
7689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7693 test -z "$as_dir" && as_dir
=.
7694 for ac_exec_ext
in '' $ac_executable_extensions; do
7695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7696 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
7697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7704 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="none"
7708 PERL
=$ac_cv_path_PERL
7709 if test -n "$PERL"; then
7710 { echo "$as_me:$LINENO: result: $PERL" >&5
7711 echo "${ECHO_T}$PERL" >&6; }
7713 { echo "$as_me:$LINENO: result: no" >&5
7714 echo "${ECHO_T}no" >&6; }
7718 if test "$PERL" != "none"; then
7719 { echo "$as_me:$LINENO: checking for Perl 5.006 or newer" >&5
7720 echo $ECHO_N "checking for Perl 5.006 or newer... $ECHO_C" >&6; }
7721 if $PERL -e 'use 5.006;' 2>&1 > /dev
/null
; then
7722 { echo "$as_me:$LINENO: result: yes" >&5
7723 echo "${ECHO_T}yes" >&6; }
7726 { echo "$as_me:$LINENO: result: not found" >&5
7727 echo "${ECHO_T}not found" >&6; }
7732 if test x
"$PERL" = xnone
; then
7735 { { echo "$as_me:$LINENO: error: perl is required but was not found, please install it" >&5
7736 echo "$as_me: error: perl is required but was not found, please install it" >&2;}
7737 { (exit 1); exit 1; }; }
7743 # Find a good install program. We prefer a C program (faster),
7744 # so one script is as good as another. But avoid the broken or
7745 # incompatible versions:
7746 # SysV /etc/install, /usr/sbin/install
7747 # SunOS /usr/etc/install
7748 # IRIX /sbin/install
7750 # AmigaOS /C/install, which installs bootblocks on floppy discs
7751 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7752 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7753 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7754 # OS/2's system install, which has a completely different semantic
7755 # ./install, which can be erroneously created by make from ./install.sh.
7756 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7757 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
7758 if test -z "$INSTALL"; then
7759 if test "${ac_cv_path_install+set}" = set; then
7760 echo $ECHO_N "(cached) $ECHO_C" >&6
7762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7766 test -z "$as_dir" && as_dir
=.
7767 # Account for people who put trailing slashes in PATH elements.
7769 .
/ | .
// |
/cC
/* | \
7770 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
7771 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
7774 # OSF1 and SCO ODT 3.0 have their own names for install.
7775 # Don't use installbsd from OSF since it installs stuff as root
7777 for ac_prog
in ginstall scoinst
install; do
7778 for ac_exec_ext
in '' $ac_executable_extensions; do
7779 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
7780 if test $ac_prog = install &&
7781 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7782 # AIX install. It has an incompatible calling convention.
7784 elif test $ac_prog = install &&
7785 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7786 # program-specific install script used by HP pwplus--don't use.
7789 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
7802 if test "${ac_cv_path_install+set}" = set; then
7803 INSTALL
=$ac_cv_path_install
7805 # As a last resort, use the slow shell script. Don't cache a
7806 # value for INSTALL within a source directory, because that will
7807 # break other packages using the cache if that directory is
7808 # removed, or if the value is a relative name.
7809 INSTALL
=$ac_install_sh
7812 { echo "$as_me:$LINENO: result: $INSTALL" >&5
7813 echo "${ECHO_T}$INSTALL" >&6; }
7815 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7816 # It thinks the first close brace ends the variable substitution.
7817 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7819 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
7821 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7824 # Extract the first word of "bzip2", so it can be a program name with args.
7825 set dummy
bzip2; ac_word
=$2
7826 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7828 if test "${ac_cv_path_BZIP2+set}" = set; then
7829 echo $ECHO_N "(cached) $ECHO_C" >&6
7833 ac_cv_path_BZIP2
="$BZIP2" # Let the user override the test with a path.
7836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7840 test -z "$as_dir" && as_dir
=.
7841 for ac_exec_ext
in '' $ac_executable_extensions; do
7842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7843 ac_cv_path_BZIP2
="$as_dir/$ac_word$ac_exec_ext"
7844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7854 BZIP2
=$ac_cv_path_BZIP2
7855 if test -n "$BZIP2"; then
7856 { echo "$as_me:$LINENO: result: $BZIP2" >&5
7857 echo "${ECHO_T}$BZIP2" >&6; }
7859 { echo "$as_me:$LINENO: result: no" >&5
7860 echo "${ECHO_T}no" >&6; }
7864 # Extract the first word of "doxygen", so it can be a program name with args.
7865 set dummy doxygen
; ac_word
=$2
7866 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7868 if test "${ac_cv_path_DOXYGEN+set}" = set; then
7869 echo $ECHO_N "(cached) $ECHO_C" >&6
7873 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
7876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7880 test -z "$as_dir" && as_dir
=.
7881 for ac_exec_ext
in '' $ac_executable_extensions; do
7882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7883 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
7884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7894 DOXYGEN
=$ac_cv_path_DOXYGEN
7895 if test -n "$DOXYGEN"; then
7896 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
7897 echo "${ECHO_T}$DOXYGEN" >&6; }
7899 { echo "$as_me:$LINENO: result: no" >&5
7900 echo "${ECHO_T}no" >&6; }
7904 # Extract the first word of "groff", so it can be a program name with args.
7905 set dummy
groff; ac_word
=$2
7906 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7908 if test "${ac_cv_path_GROFF+set}" = set; then
7909 echo $ECHO_N "(cached) $ECHO_C" >&6
7913 ac_cv_path_GROFF
="$GROFF" # Let the user override the test with a path.
7916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7920 test -z "$as_dir" && as_dir
=.
7921 for ac_exec_ext
in '' $ac_executable_extensions; do
7922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7923 ac_cv_path_GROFF
="$as_dir/$ac_word$ac_exec_ext"
7924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7934 GROFF
=$ac_cv_path_GROFF
7935 if test -n "$GROFF"; then
7936 { echo "$as_me:$LINENO: result: $GROFF" >&5
7937 echo "${ECHO_T}$GROFF" >&6; }
7939 { echo "$as_me:$LINENO: result: no" >&5
7940 echo "${ECHO_T}no" >&6; }
7944 # Extract the first word of "gzip", so it can be a program name with args.
7945 set dummy
gzip; ac_word
=$2
7946 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7948 if test "${ac_cv_path_GZIP+set}" = set; then
7949 echo $ECHO_N "(cached) $ECHO_C" >&6
7953 ac_cv_path_GZIP
="$GZIP" # Let the user override the test with a path.
7956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7960 test -z "$as_dir" && as_dir
=.
7961 for ac_exec_ext
in '' $ac_executable_extensions; do
7962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7963 ac_cv_path_GZIP
="$as_dir/$ac_word$ac_exec_ext"
7964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7974 GZIP
=$ac_cv_path_GZIP
7975 if test -n "$GZIP"; then
7976 { echo "$as_me:$LINENO: result: $GZIP" >&5
7977 echo "${ECHO_T}$GZIP" >&6; }
7979 { echo "$as_me:$LINENO: result: no" >&5
7980 echo "${ECHO_T}no" >&6; }
7984 # Extract the first word of "pod2html", so it can be a program name with args.
7985 set dummy pod2html
; ac_word
=$2
7986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7988 if test "${ac_cv_path_POD2HTML+set}" = set; then
7989 echo $ECHO_N "(cached) $ECHO_C" >&6
7993 ac_cv_path_POD2HTML
="$POD2HTML" # Let the user override the test with a path.
7996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8000 test -z "$as_dir" && as_dir
=.
8001 for ac_exec_ext
in '' $ac_executable_extensions; do
8002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8003 ac_cv_path_POD2HTML
="$as_dir/$ac_word$ac_exec_ext"
8004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8014 POD2HTML
=$ac_cv_path_POD2HTML
8015 if test -n "$POD2HTML"; then
8016 { echo "$as_me:$LINENO: result: $POD2HTML" >&5
8017 echo "${ECHO_T}$POD2HTML" >&6; }
8019 { echo "$as_me:$LINENO: result: no" >&5
8020 echo "${ECHO_T}no" >&6; }
8024 # Extract the first word of "pod2man", so it can be a program name with args.
8025 set dummy pod2man
; ac_word
=$2
8026 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8028 if test "${ac_cv_path_POD2MAN+set}" = set; then
8029 echo $ECHO_N "(cached) $ECHO_C" >&6
8033 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
8036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8040 test -z "$as_dir" && as_dir
=.
8041 for ac_exec_ext
in '' $ac_executable_extensions; do
8042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8043 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
8044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8054 POD2MAN
=$ac_cv_path_POD2MAN
8055 if test -n "$POD2MAN"; then
8056 { echo "$as_me:$LINENO: result: $POD2MAN" >&5
8057 echo "${ECHO_T}$POD2MAN" >&6; }
8059 { echo "$as_me:$LINENO: result: no" >&5
8060 echo "${ECHO_T}no" >&6; }
8064 # Extract the first word of "runtest", so it can be a program name with args.
8065 set dummy runtest
; ac_word
=$2
8066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8068 if test "${ac_cv_path_RUNTEST+set}" = set; then
8069 echo $ECHO_N "(cached) $ECHO_C" >&6
8073 ac_cv_path_RUNTEST
="$RUNTEST" # Let the user override the test with a path.
8076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8080 test -z "$as_dir" && as_dir
=.
8081 for ac_exec_ext
in '' $ac_executable_extensions; do
8082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8083 ac_cv_path_RUNTEST
="$as_dir/$ac_word$ac_exec_ext"
8084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8094 RUNTEST
=$ac_cv_path_RUNTEST
8095 if test -n "$RUNTEST"; then
8096 { echo "$as_me:$LINENO: result: $RUNTEST" >&5
8097 echo "${ECHO_T}$RUNTEST" >&6; }
8099 { echo "$as_me:$LINENO: result: no" >&5
8100 echo "${ECHO_T}no" >&6; }
8106 { echo "$as_me:$LINENO: checking for the tclsh program in tclinclude directory" >&5
8107 echo $ECHO_N "checking for the tclsh program in tclinclude directory... $ECHO_C" >&6; }
8109 # Check whether --with-tclinclude was given.
8110 if test "${with_tclinclude+set}" = set; then
8111 withval
=$with_tclinclude; with_tclinclude
=${withval}
8116 if test "${ac_cv_path_tclsh+set}" = set; then
8117 echo $ECHO_N "(cached) $ECHO_C" >&6
8120 if test x
"${with_tclinclude}" != x
; then
8121 if test -f ${with_tclinclude}/tclsh
; then
8122 ac_cv_path_tclsh
=`(cd ${with_tclinclude}; pwd)`
8123 elif test -f ${with_tclinclude}/src
/tclsh
; then
8124 ac_cv_path_tclsh
=`(cd ${with_tclinclude}/src; pwd)`
8126 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain tclsh" >&5
8127 echo "$as_me: error: ${with_tclinclude} directory doesn't contain tclsh" >&2;}
8128 { (exit 1); exit 1; }; }
8132 if test x
"${ac_cv_path_tclsh}" = x
; then
8133 { echo "$as_me:$LINENO: result: none" >&5
8134 echo "${ECHO_T}none" >&6; }
8135 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
8137 # Extract the first word of "$ac_prog", so it can be a program name with args.
8138 set dummy
$ac_prog; ac_word
=$2
8139 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8141 if test "${ac_cv_path_TCLSH+set}" = set; then
8142 echo $ECHO_N "(cached) $ECHO_C" >&6
8146 ac_cv_path_TCLSH
="$TCLSH" # Let the user override the test with a path.
8149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8153 test -z "$as_dir" && as_dir
=.
8154 for ac_exec_ext
in '' $ac_executable_extensions; do
8155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8156 ac_cv_path_TCLSH
="$as_dir/$ac_word$ac_exec_ext"
8157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8167 TCLSH
=$ac_cv_path_TCLSH
8168 if test -n "$TCLSH"; then
8169 { echo "$as_me:$LINENO: result: $TCLSH" >&5
8170 echo "${ECHO_T}$TCLSH" >&6; }
8172 { echo "$as_me:$LINENO: result: no" >&5
8173 echo "${ECHO_T}no" >&6; }
8177 test -n "$TCLSH" && break
8180 if test x
"${TCLSH}" = x
; then
8181 ac_cv_path_tclsh
='';
8183 ac_cv_path_tclsh
="${TCLSH}";
8186 { echo "$as_me:$LINENO: result: ${ac_cv_path_tclsh}" >&5
8187 echo "${ECHO_T}${ac_cv_path_tclsh}" >&6; }
8188 TCLSH="${ac_cv_path_tclsh}"
8194 # Extract the first word of "zip", so it can be a program name with args.
8195 set dummy zip; ac_word=$2
8196 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8197 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8198 if test "${ac_cv_path_ZIP+set}" = set; then
8199 echo $ECHO_N "(cached
) $ECHO_C" >&6
8203 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
8206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8210 test -z "$as_dir" && as_dir=.
8211 for ac_exec_ext in '' $ac_executable_extensions; do
8212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8213 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
8214 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8225 if test -n "$ZIP"; then
8226 { echo "$as_me:$LINENO: result
: $ZIP" >&5
8227 echo "${ECHO_T}$ZIP" >&6; }
8229 { echo "$as_me:$LINENO: result
: no
" >&5
8230 echo "${ECHO_T}no
" >&6; }
8234 for ac_prog in ocamlc
8236 # Extract the first word of "$ac_prog", so it can be a program name with args.
8237 set dummy $ac_prog; ac_word=$2
8238 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8239 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8240 if test "${ac_cv_path_OCAMLC+set}" = set; then
8241 echo $ECHO_N "(cached
) $ECHO_C" >&6
8245 ac_cv_path_OCAMLC="$OCAMLC" # Let the user override the test with a path.
8248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8252 test -z "$as_dir" && as_dir=.
8253 for ac_exec_ext in '' $ac_executable_extensions; do
8254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8255 ac_cv_path_OCAMLC="$as_dir/$ac_word$ac_exec_ext"
8256 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8266 OCAMLC=$ac_cv_path_OCAMLC
8267 if test -n "$OCAMLC"; then
8268 { echo "$as_me:$LINENO: result
: $OCAMLC" >&5
8269 echo "${ECHO_T}$OCAMLC" >&6; }
8271 { echo "$as_me:$LINENO: result
: no
" >&5
8272 echo "${ECHO_T}no
" >&6; }
8276 test -n "$OCAMLC" && break
8279 for ac_prog in ocamlopt
8281 # Extract the first word of "$ac_prog", so it can be a program name with args.
8282 set dummy $ac_prog; ac_word=$2
8283 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8284 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8285 if test "${ac_cv_path_OCAMLOPT+set}" = set; then
8286 echo $ECHO_N "(cached
) $ECHO_C" >&6
8290 ac_cv_path_OCAMLOPT="$OCAMLOPT" # Let the user override the test with a path.
8293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8297 test -z "$as_dir" && as_dir=.
8298 for ac_exec_ext in '' $ac_executable_extensions; do
8299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8300 ac_cv_path_OCAMLOPT="$as_dir/$ac_word$ac_exec_ext"
8301 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8311 OCAMLOPT=$ac_cv_path_OCAMLOPT
8312 if test -n "$OCAMLOPT"; then
8313 { echo "$as_me:$LINENO: result
: $OCAMLOPT" >&5
8314 echo "${ECHO_T}$OCAMLOPT" >&6; }
8316 { echo "$as_me:$LINENO: result
: no
" >&5
8317 echo "${ECHO_T}no
" >&6; }
8321 test -n "$OCAMLOPT" && break
8324 for ac_prog in ocamldep
8326 # Extract the first word of "$ac_prog", so it can be a program name with args.
8327 set dummy $ac_prog; ac_word=$2
8328 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8329 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8330 if test "${ac_cv_path_OCAMLDEP+set}" = set; then
8331 echo $ECHO_N "(cached
) $ECHO_C" >&6
8335 ac_cv_path_OCAMLDEP="$OCAMLDEP" # Let the user override the test with a path.
8338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8342 test -z "$as_dir" && as_dir=.
8343 for ac_exec_ext in '' $ac_executable_extensions; do
8344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8345 ac_cv_path_OCAMLDEP="$as_dir/$ac_word$ac_exec_ext"
8346 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8356 OCAMLDEP=$ac_cv_path_OCAMLDEP
8357 if test -n "$OCAMLDEP"; then
8358 { echo "$as_me:$LINENO: result
: $OCAMLDEP" >&5
8359 echo "${ECHO_T}$OCAMLDEP" >&6; }
8361 { echo "$as_me:$LINENO: result
: no
" >&5
8362 echo "${ECHO_T}no
" >&6; }
8366 test -n "$OCAMLDEP" && break
8369 for ac_prog in ocamldoc
8371 # Extract the first word of "$ac_prog", so it can be a program name with args.
8372 set dummy $ac_prog; ac_word=$2
8373 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8374 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8375 if test "${ac_cv_path_OCAMLDOC+set}" = set; then
8376 echo $ECHO_N "(cached
) $ECHO_C" >&6
8380 ac_cv_path_OCAMLDOC="$OCAMLDOC" # Let the user override the test with a path.
8383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8387 test -z "$as_dir" && as_dir=.
8388 for ac_exec_ext in '' $ac_executable_extensions; do
8389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8390 ac_cv_path_OCAMLDOC="$as_dir/$ac_word$ac_exec_ext"
8391 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8401 OCAMLDOC=$ac_cv_path_OCAMLDOC
8402 if test -n "$OCAMLDOC"; then
8403 { echo "$as_me:$LINENO: result
: $OCAMLDOC" >&5
8404 echo "${ECHO_T}$OCAMLDOC" >&6; }
8406 { echo "$as_me:$LINENO: result
: no
" >&5
8407 echo "${ECHO_T}no
" >&6; }
8411 test -n "$OCAMLDOC" && break
8414 for ac_prog in gas as
8416 # Extract the first word of "$ac_prog", so it can be a program name with args.
8417 set dummy $ac_prog; ac_word=$2
8418 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8419 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8420 if test "${ac_cv_path_GAS+set}" = set; then
8421 echo $ECHO_N "(cached
) $ECHO_C" >&6
8425 ac_cv_path_GAS="$GAS" # Let the user override the test with a path.
8428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8432 test -z "$as_dir" && as_dir=.
8433 for ac_exec_ext in '' $ac_executable_extensions; do
8434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8435 ac_cv_path_GAS="$as_dir/$ac_word$ac_exec_ext"
8436 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8447 if test -n "$GAS"; then
8448 { echo "$as_me:$LINENO: result
: $GAS" >&5
8449 echo "${ECHO_T}$GAS" >&6; }
8451 { echo "$as_me:$LINENO: result
: no
" >&5
8452 echo "${ECHO_T}no
" >&6; }
8456 test -n "$GAS" && break
8460 { echo "$as_me:$LINENO: checking
for compiler
-Wl,-R<path
> option
" >&5
8461 echo $ECHO_N "checking
for compiler
-Wl,-R<path
> option...
$ECHO_C" >&6; }
8462 if test "${llvm_cv_link_use_r+set}" = set; then
8463 echo $ECHO_N "(cached
) $ECHO_C" >&6
8466 ac_cpp='$CPP $CPPFLAGS'
8467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8472 CFLAGS="$CFLAGS -Wl,-R.
"
8473 cat >conftest.$ac_ext <<_ACEOF
8476 cat confdefs.h >>conftest.$ac_ext
8477 cat >>conftest.$ac_ext <<_ACEOF
8478 /* end confdefs.h. */
8483 int main() { return 0; }
8488 rm -f conftest.$ac_objext conftest$ac_exeext
8489 if { (ac_try="$ac_link"
8491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8492 *) ac_try_echo=$ac_try;;
8494 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8495 (eval "$ac_link") 2>conftest.er1
8497 grep -v '^ *+' conftest.er1 >conftest.err
8499 cat conftest.err >&5
8500 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8501 (exit $ac_status); } &&
8502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8503 { (case "(($ac_try" in
8504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8505 *) ac_try_echo=$ac_try;;
8507 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8508 (eval "$ac_try") 2>&5
8510 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8511 (exit $ac_status); }; } &&
8512 { ac_try='test -s conftest$ac_exeext'
8513 { (case "(($ac_try" in
8514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8515 *) ac_try_echo=$ac_try;;
8517 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8518 (eval "$ac_try") 2>&5
8520 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8521 (exit $ac_status); }; }; then
8522 llvm_cv_link_use_r=yes
8524 echo "$as_me: failed program was
:" >&5
8525 sed 's/^/| /' conftest.$ac_ext >&5
8527 llvm_cv_link_use_r=no
8530 rm -f core conftest.err conftest.$ac_objext \
8531 conftest$ac_exeext conftest.$ac_ext
8534 ac_cpp='$CPP $CPPFLAGS'
8535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8541 { echo "$as_me:$LINENO: result
: $llvm_cv_link_use_r" >&5
8542 echo "${ECHO_T}$llvm_cv_link_use_r" >&6; }
8543 if test "$llvm_cv_link_use_r" = yes ; then
8545 cat >>confdefs.h <<\_ACEOF
8546 #define HAVE_LINK_R 1
8552 { echo "$as_me:$LINENO: checking
for compiler
-Wl,-export-dynamic option
" >&5
8553 echo $ECHO_N "checking
for compiler
-Wl,-export-dynamic option...
$ECHO_C" >&6; }
8554 if test "${llvm_cv_link_use_export_dynamic+set}" = set; then
8555 echo $ECHO_N "(cached
) $ECHO_C" >&6
8558 ac_cpp='$CPP $CPPFLAGS'
8559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8564 CFLAGS="$CFLAGS -Wl,-export-dynamic"
8565 cat >conftest.$ac_ext <<_ACEOF
8568 cat confdefs.h >>conftest.$ac_ext
8569 cat >>conftest.$ac_ext <<_ACEOF
8570 /* end confdefs.h. */
8575 int main() { return 0; }
8580 rm -f conftest.$ac_objext conftest$ac_exeext
8581 if { (ac_try="$ac_link"
8583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8584 *) ac_try_echo=$ac_try;;
8586 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8587 (eval "$ac_link") 2>conftest.er1
8589 grep -v '^ *+' conftest.er1 >conftest.err
8591 cat conftest.err >&5
8592 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8593 (exit $ac_status); } &&
8594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8595 { (case "(($ac_try" in
8596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8597 *) ac_try_echo=$ac_try;;
8599 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8600 (eval "$ac_try") 2>&5
8602 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8603 (exit $ac_status); }; } &&
8604 { ac_try='test -s conftest$ac_exeext'
8605 { (case "(($ac_try" in
8606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8607 *) ac_try_echo=$ac_try;;
8609 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8610 (eval "$ac_try") 2>&5
8612 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8613 (exit $ac_status); }; }; then
8614 llvm_cv_link_use_export_dynamic=yes
8616 echo "$as_me: failed program was
:" >&5
8617 sed 's/^/| /' conftest.$ac_ext >&5
8619 llvm_cv_link_use_export_dynamic=no
8622 rm -f core conftest.err conftest.$ac_objext \
8623 conftest$ac_exeext conftest.$ac_ext
8626 ac_cpp='$CPP $CPPFLAGS'
8627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8633 { echo "$as_me:$LINENO: result
: $llvm_cv_link_use_export_dynamic" >&5
8634 echo "${ECHO_T}$llvm_cv_link_use_export_dynamic" >&6; }
8635 if test "$llvm_cv_link_use_export_dynamic" = yes ; then
8637 cat >>confdefs.h <<\_ACEOF
8638 #define HAVE_LINK_EXPORT_DYNAMIC 1
8646 { echo "$as_me:$LINENO: checking
for an ANSI C-conforming const
" >&5
8647 echo $ECHO_N "checking
for an ANSI C-conforming const...
$ECHO_C" >&6; }
8648 if test "${ac_cv_c_const+set}" = set; then
8649 echo $ECHO_N "(cached
) $ECHO_C" >&6
8651 cat >conftest.$ac_ext <<_ACEOF
8654 cat confdefs.h >>conftest.$ac_ext
8655 cat >>conftest.$ac_ext <<_ACEOF
8656 /* end confdefs.h. */
8661 /* FIXME: Include the comments suggested by Paul. */
8663 /* Ultrix mips cc rejects this. */
8664 typedef int charset[2];
8666 /* SunOS 4.1.1 cc rejects this. */
8667 char const *const *ccp;
8669 /* NEC SVR4.0.2 mips cc rejects this. */
8670 struct point {int x, y;};
8671 static struct point const zero = {0,0};
8672 /* AIX XL C 1.02.0.0 rejects this.
8673 It does not let you subtract one const X* pointer from another in
8674 an arm of an if-expression whose if-part is not a constant
8676 const char *g = "string
";
8677 ccp = &g + (g ? g-g : 0);
8678 /* HPUX 7.0 cc rejects these. */
8681 ccp = (char const *const *) p;
8682 { /* SCO 3.2v4 cc rejects this. */
8684 char const *s = 0 ? (char *) 0 : (char const *) 0;
8689 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8691 const int *foo = &x[0];
8694 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8695 typedef const int *iptr;
8699 { /* AIX XL C 1.02.0.0 rejects this saying
8700 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8701 struct s { int j; const int *ap[3]; };
8702 struct s *b; b->j = 5;
8704 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8708 return !x[0] && !zero.x;
8715 rm -f conftest.$ac_objext
8716 if { (ac_try="$ac_compile"
8718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8719 *) ac_try_echo=$ac_try;;
8721 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8722 (eval "$ac_compile") 2>conftest.er1
8724 grep -v '^ *+' conftest.er1 >conftest.err
8726 cat conftest.err >&5
8727 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8728 (exit $ac_status); } &&
8729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8730 { (case "(($ac_try" in
8731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8732 *) ac_try_echo=$ac_try;;
8734 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8735 (eval "$ac_try") 2>&5
8737 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8738 (exit $ac_status); }; } &&
8739 { ac_try='test -s conftest.$ac_objext'
8740 { (case "(($ac_try" in
8741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8742 *) ac_try_echo=$ac_try;;
8744 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8745 (eval "$ac_try") 2>&5
8747 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8748 (exit $ac_status); }; }; then
8751 echo "$as_me: failed program was
:" >&5
8752 sed 's/^/| /' conftest.$ac_ext >&5
8757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8759 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
8760 echo "${ECHO_T}$ac_cv_c_const" >&6; }
8761 if test $ac_cv_c_const = no; then
8763 cat >>confdefs.h <<\_ACEOF
8775 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8776 as_ac_Header=`echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
8777 { echo "$as_me:$LINENO: checking
for $ac_hdr that defines DIR
" >&5
8778 echo $ECHO_N "checking
for $ac_hdr that defines DIR...
$ECHO_C" >&6; }
8779 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8780 echo $ECHO_N "(cached
) $ECHO_C" >&6
8782 cat >conftest.$ac_ext <<_ACEOF
8785 cat confdefs.h >>conftest.$ac_ext
8786 cat >>conftest.$ac_ext <<_ACEOF
8787 /* end confdefs.h. */
8788 #include <sys/types.h>
8800 rm -f conftest.$ac_objext
8801 if { (ac_try="$ac_compile"
8803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8804 *) ac_try_echo=$ac_try;;
8806 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8807 (eval "$ac_compile") 2>conftest.er1
8809 grep -v '^ *+' conftest.er1 >conftest.err
8811 cat conftest.err >&5
8812 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8813 (exit $ac_status); } &&
8814 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8815 { (case "(($ac_try" in
8816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8817 *) ac_try_echo=$ac_try;;
8819 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8820 (eval "$ac_try") 2>&5
8822 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8823 (exit $ac_status); }; } &&
8824 { ac_try='test -s conftest.$ac_objext'
8825 { (case "(($ac_try" in
8826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8827 *) ac_try_echo=$ac_try;;
8829 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8830 (eval "$ac_try") 2>&5
8832 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8833 (exit $ac_status); }; }; then
8834 eval "$as_ac_Header=yes"
8836 echo "$as_me: failed program was
:" >&5
8837 sed 's/^/| /' conftest.$ac_ext >&5
8839 eval "$as_ac_Header=no
"
8842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8844 ac_res=`eval echo '${'$as_ac_Header'}'`
8845 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8846 echo "${ECHO_T}$ac_res" >&6; }
8847 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8848 cat >>confdefs.h <<_ACEOF
8849 #define `echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
8852 ac_header_dirent=$ac_hdr; break
8856 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8857 if test $ac_header_dirent = dirent.h; then
8858 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
8859 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
8860 if test "${ac_cv_search_opendir+set}" = set; then
8861 echo $ECHO_N "(cached
) $ECHO_C" >&6
8863 ac_func_search_save_LIBS=$LIBS
8864 cat >conftest.$ac_ext <<_ACEOF
8867 cat confdefs.h >>conftest.$ac_ext
8868 cat >>conftest.$ac_ext <<_ACEOF
8869 /* end confdefs.h. */
8871 /* Override any GCC internal prototype to avoid an error.
8872 Use char because int might match the return type of a GCC
8873 builtin and then its argument prototype would still apply. */
8886 for ac_lib in '' dir; do
8887 if test -z "$ac_lib"; then
8888 ac_res="none required
"
8891 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8893 rm -f conftest.$ac_objext conftest$ac_exeext
8894 if { (ac_try="$ac_link"
8896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8897 *) ac_try_echo=$ac_try;;
8899 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8900 (eval "$ac_link") 2>conftest.er1
8902 grep -v '^ *+' conftest.er1 >conftest.err
8904 cat conftest.err >&5
8905 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8906 (exit $ac_status); } &&
8907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8908 { (case "(($ac_try" in
8909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8910 *) ac_try_echo=$ac_try;;
8912 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8913 (eval "$ac_try") 2>&5
8915 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8916 (exit $ac_status); }; } &&
8917 { ac_try='test -s conftest$ac_exeext'
8918 { (case "(($ac_try" in
8919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8920 *) ac_try_echo=$ac_try;;
8922 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8923 (eval "$ac_try") 2>&5
8925 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8926 (exit $ac_status); }; }; then
8927 ac_cv_search_opendir=$ac_res
8929 echo "$as_me: failed program was
:" >&5
8930 sed 's/^/| /' conftest.$ac_ext >&5
8935 rm -f core conftest.err conftest.$ac_objext \
8937 if test "${ac_cv_search_opendir+set}" = set; then
8941 if test "${ac_cv_search_opendir+set}" = set; then
8944 ac_cv_search_opendir=no
8947 LIBS=$ac_func_search_save_LIBS
8949 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
8950 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8951 ac_res=$ac_cv_search_opendir
8952 if test "$ac_res" != no; then
8953 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8958 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
8959 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
8960 if test "${ac_cv_search_opendir+set}" = set; then
8961 echo $ECHO_N "(cached
) $ECHO_C" >&6
8963 ac_func_search_save_LIBS=$LIBS
8964 cat >conftest.$ac_ext <<_ACEOF
8967 cat confdefs.h >>conftest.$ac_ext
8968 cat >>conftest.$ac_ext <<_ACEOF
8969 /* end confdefs.h. */
8971 /* Override any GCC internal prototype to avoid an error.
8972 Use char because int might match the return type of a GCC
8973 builtin and then its argument prototype would still apply. */
8986 for ac_lib in '' x; do
8987 if test -z "$ac_lib"; then
8988 ac_res="none required
"
8991 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8993 rm -f conftest.$ac_objext conftest$ac_exeext
8994 if { (ac_try="$ac_link"
8996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8997 *) ac_try_echo=$ac_try;;
8999 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9000 (eval "$ac_link") 2>conftest.er1
9002 grep -v '^ *+' conftest.er1 >conftest.err
9004 cat conftest.err >&5
9005 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9006 (exit $ac_status); } &&
9007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9008 { (case "(($ac_try" in
9009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9010 *) ac_try_echo=$ac_try;;
9012 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9013 (eval "$ac_try") 2>&5
9015 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9016 (exit $ac_status); }; } &&
9017 { ac_try='test -s conftest$ac_exeext'
9018 { (case "(($ac_try" in
9019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9020 *) ac_try_echo=$ac_try;;
9022 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9023 (eval "$ac_try") 2>&5
9025 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9026 (exit $ac_status); }; }; then
9027 ac_cv_search_opendir=$ac_res
9029 echo "$as_me: failed program was
:" >&5
9030 sed 's/^/| /' conftest.$ac_ext >&5
9035 rm -f core conftest.err conftest.$ac_objext \
9037 if test "${ac_cv_search_opendir+set}" = set; then
9041 if test "${ac_cv_search_opendir+set}" = set; then
9044 ac_cv_search_opendir=no
9047 LIBS=$ac_func_search_save_LIBS
9049 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
9050 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
9051 ac_res=$ac_cv_search_opendir
9052 if test "$ac_res" != no; then
9053 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
9060 for ac_header in dlfcn.h
9062 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9063 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9064 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
9065 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
9066 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9067 echo $ECHO_N "(cached
) $ECHO_C" >&6
9069 ac_res=`eval echo '${'$as_ac_Header'}'`
9070 { echo "$as_me:$LINENO: result
: $ac_res" >&5
9071 echo "${ECHO_T}$ac_res" >&6; }
9073 # Is the header compilable?
9074 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9075 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
9076 cat >conftest.$ac_ext <<_ACEOF
9079 cat confdefs.h >>conftest.$ac_ext
9080 cat >>conftest.$ac_ext <<_ACEOF
9081 /* end confdefs.h. */
9082 $ac_includes_default
9083 #include <$ac_header>
9085 rm -f conftest.$ac_objext
9086 if { (ac_try="$ac_compile"
9088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9089 *) ac_try_echo=$ac_try;;
9091 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9092 (eval "$ac_compile") 2>conftest.er1
9094 grep -v '^ *+' conftest.er1 >conftest.err
9096 cat conftest.err >&5
9097 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9098 (exit $ac_status); } &&
9099 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9100 { (case "(($ac_try" in
9101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9102 *) ac_try_echo=$ac_try;;
9104 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9105 (eval "$ac_try") 2>&5
9107 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9108 (exit $ac_status); }; } &&
9109 { ac_try='test -s conftest.$ac_objext'
9110 { (case "(($ac_try" in
9111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9112 *) ac_try_echo=$ac_try;;
9114 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9115 (eval "$ac_try") 2>&5
9117 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9118 (exit $ac_status); }; }; then
9119 ac_header_compiler=yes
9121 echo "$as_me: failed program was
:" >&5
9122 sed 's/^/| /' conftest.$ac_ext >&5
9124 ac_header_compiler=no
9127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9128 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9129 echo "${ECHO_T}$ac_header_compiler" >&6; }
9131 # Is the header present?
9132 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9133 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
9134 cat >conftest.$ac_ext <<_ACEOF
9137 cat confdefs.h >>conftest.$ac_ext
9138 cat >>conftest.$ac_ext <<_ACEOF
9139 /* end confdefs.h. */
9140 #include <$ac_header>
9142 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9145 *) ac_try_echo=$ac_try;;
9147 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9148 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9150 grep -v '^ *+' conftest.er1 >conftest.err
9152 cat conftest.err >&5
9153 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9154 (exit $ac_status); } >/dev/null; then
9155 if test -s conftest.err; then
9156 ac_cpp_err=$ac_c_preproc_warn_flag
9157 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9164 if test -z "$ac_cpp_err"; then
9165 ac_header_preproc=yes
9167 echo "$as_me: failed program was
:" >&5
9168 sed 's/^/| /' conftest.$ac_ext >&5
9170 ac_header_preproc=no
9173 rm -f conftest.err conftest.$ac_ext
9174 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9175 echo "${ECHO_T}$ac_header_preproc" >&6; }
9177 # So? What about this header?
9178 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9180 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
9181 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9182 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
9183 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
9184 ac_header_preproc=yes
9187 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
9188 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
9189 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
9190 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
9191 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
9192 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
9193 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
9194 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
9195 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
9196 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
9197 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
9198 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
9200 ## ----------------------------------- ##
9201 ## Report this to llvmbugs@cs.uiuc.edu ##
9202 ## ----------------------------------- ##
9204 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
9207 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
9208 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
9209 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9210 echo $ECHO_N "(cached
) $ECHO_C" >&6
9212 eval "$as_ac_Header=\
$ac_header_preproc"
9214 ac_res=`eval echo '${'$as_ac_Header'}'`
9215 { echo "$as_me:$LINENO: result
: $ac_res" >&5
9216 echo "${ECHO_T}$ac_res" >&6; }
9219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9220 cat >>confdefs.h <<_ACEOF
9221 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
9228 # Check whether --enable-ltdl-install was given.
9229 if test "${enable_ltdl_install+set}" = set; then
9230 enableval=$enable_ltdl_install;
9236 if test x"${enable_ltdl_install-no}" != xno; then
9238 INSTALL_LTDL_FALSE='#'
9240 INSTALL_LTDL_TRUE='#'
9246 if test x"${enable_ltdl_convenience-no}" != xno; then
9247 CONVENIENCE_LTDL_TRUE=
9248 CONVENIENCE_LTDL_FALSE='#'
9250 CONVENIENCE_LTDL_TRUE='#'
9251 CONVENIENCE_LTDL_FALSE=
9255 { echo "$as_me:$LINENO: checking dynamic linker characteristics
" >&5
9256 echo $ECHO_N "checking dynamic linker characteristics...
$ECHO_C" >&6; }
9258 libname_spec='lib$name'
9266 shlibpath_overrides_runpath=unknown
9268 dynamic_linker="$host_os ld.so
"
9269 sys_lib_dlsearch_path_spec="/lib
/usr
/lib
"
9270 if test "$GCC" = yes; then
9271 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries
:" | $SED -e "s
/^libraries
://" -e "s
,=/,/,g
"`
9272 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
9273 # if the path contains ";" then we assume it to be the separator
9274 # otherwise default to the standard path separator (i.e. ":") - it is
9275 # assumed that no part of a normal pathname contains ";" but that should
9276 # okay in the real world where ";" in dirpaths is itself problematic.
9277 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9279 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g
"`
9282 sys_lib_search_path_spec="/lib
/usr
/lib
/usr
/local
/lib
"
9284 need_lib_prefix=unknown
9285 hardcode_into_libs=no
9287 # when you set need_version to no, make sure it does not cause -set_version
9288 # flags to be left without arguments
9289 need_version=unknown
9294 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9295 shlibpath_var=LIBPATH
9297 # AIX 3 has no versioning support, so we append a major version to the name.
9298 soname_spec='${libname}${release}${shared_ext}$major'
9305 hardcode_into_libs=yes
9306 if test "$host_cpu" = ia64; then
9307 # AIX 5 supports IA64
9308 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9309 shlibpath_var=LD_LIBRARY_PATH
9311 # With GCC up to 2.95.x, collect2 would create an import file
9312 # for dependence libraries. The import file would start with
9313 # the line `#! .'. This would cause the generated library to
9314 # depend on `.', always an invalid library. This was fixed in
9315 # development snapshots of GCC prior to 3.0.
9317 aix4 | aix4.[01] | aix4.[01].*)
9318 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9320 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
9327 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9328 # soname into executable. Probably we can add versioning support to
9329 # collect2, so additional links can be useful in future.
9330 if test "$aix_use_runtimelinking" = yes; then
9331 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9332 # instead of lib<name>.a to let people know that these are not
9333 # typical AIX shared libraries.
9334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9336 # We preserve .a as extension for shared libraries through AIX4.2
9337 # and later when we are not doing run time linking.
9338 library_names_spec='${libname}${release}.a $libname.a'
9339 soname_spec='${libname}${release}${shared_ext}$major'
9341 shlibpath_var=LIBPATH
9346 library_names_spec='$libname.ixlibrary $libname.a'
9347 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9348 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'
9352 library_names_spec='${libname}${shared_ext}'
9353 dynamic_linker="$host_os ld.so
"
9354 shlibpath_var=LIBRARY_PATH
9360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9361 soname_spec='${libname}${release}${shared_ext}$major'
9362 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig $libdir'
9363 shlibpath_var=LD_LIBRARY_PATH
9364 sys_lib_search_path_spec="/shlib
/usr
/lib
/usr
/X11
/lib
/usr
/contrib
/lib
/lib
/usr
/local
/lib
"
9365 sys_lib_dlsearch_path_spec="/shlib
/usr
/lib
/usr
/local
/lib
"
9366 # the default ld.so.conf also contains /usr/contrib/lib and
9367 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9368 # libtool to hard-code these into programs
9371 cygwin* | mingw* | pw32*)
9372 version_type=windows
9377 case $GCC,$host_os in
9378 yes,cygwin* | yes,mingw* | yes,pw32*)
9379 library_names_spec='$libname.dll.a'
9380 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9381 postinstall_cmds='base_file=`basename \${file}`~
9382 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9383 dldir=$destdir/`dirname \$dlpath`~
9384 test -d \$dldir || mkdir -p \$dldir~
9385 $install_prog $dir/$dlname \$dldir/$dlname~
9386 chmod a+x \$dldir/$dlname'
9387 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9388 dlpath=$dir/\$dldll~
9390 shlibpath_overrides_runpath=yes
9394 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9395 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9396 sys_lib_search_path_spec="/usr
/lib
/lib
/w32api
/lib
/usr
/local
/lib
"
9399 # MinGW DLLs use traditional 'lib' prefix
9400 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9401 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries
:" | $SED -e "s
/^libraries
://" -e "s
,=/,/,g
"`
9402 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
9403 # It is most probably a Windows format PATH printed by
9404 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9405 # path with ; separators, and with drive letters. We can handle the
9406 # drive letters (cygwin fileutils understands them), so leave them,
9407 # especially as we might pass files found there to a mingw objdump,
9408 # which wouldn't understand a cygwinified path. Ahh.
9409 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9411 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g
"`
9415 # pw32 DLLs use 'pw' prefix rather than 'lib'
9416 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9422 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9425 dynamic_linker='Win32 ld.exe'
9426 # FIXME: first we should search . and the directory the executable is in
9430 darwin* | rhapsody*)
9431 dynamic_linker="$host_os dyld
"
9435 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9436 soname_spec='${libname}${release}${major}$shared_ext'
9437 shlibpath_overrides_runpath=yes
9438 shlibpath_var=DYLD_LIBRARY_PATH
9439 shrext_cmds='.dylib'
9440 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9441 if test "$GCC" = yes; then
9442 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
"`
9444 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
9446 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9453 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9454 soname_spec='${libname}${release}${shared_ext}$major'
9455 shlibpath_var=LD_LIBRARY_PATH
9466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9467 soname_spec='${libname}${release}${shared_ext}$major'
9468 shlibpath_var=LD_LIBRARY_PATH
9469 shlibpath_overrides_runpath=no
9470 hardcode_into_libs=yes
9471 dynamic_linker='GNU ld.so'
9474 freebsd* | dragonfly*)
9475 # DragonFly does not have aout. When/if they implement a new
9476 # versioning mechanism, adjust this.
9477 if test -x /usr/bin/objformat; then
9478 objformat=`/usr/bin/objformat`
9481 freebsd[123]*) objformat=aout ;;
9485 version_type=freebsd-$objformat
9486 case $version_type in
9488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9493 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9497 shlibpath_var=LD_LIBRARY_PATH
9500 shlibpath_overrides_runpath=yes
9502 freebsd3.[01]* | freebsdelf3.[01]*)
9503 shlibpath_overrides_runpath=yes
9504 hardcode_into_libs=yes
9506 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9507 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9508 shlibpath_overrides_runpath=no
9509 hardcode_into_libs=yes
9511 freebsd*) # from 4.6 on
9512 shlibpath_overrides_runpath=yes
9513 hardcode_into_libs=yes
9522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9523 soname_spec='${libname}${release}${shared_ext}$major'
9524 shlibpath_var=LD_LIBRARY_PATH
9525 hardcode_into_libs=yes
9528 hpux9* | hpux10* | hpux11*)
9529 # Give a soname corresponding to the major version so that dld.sl refuses to
9530 # link against other versions.
9537 hardcode_into_libs=yes
9538 dynamic_linker="$host_os dld.so
"
9539 shlibpath_var=LD_LIBRARY_PATH
9540 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9542 soname_spec='${libname}${release}${shared_ext}$major'
9543 if test "X
$HPUX_IA64_MODE" = X32; then
9544 sys_lib_search_path_spec="/usr
/lib
/hpux32
/usr
/local
/lib
/hpux32
/usr
/local
/lib
"
9546 sys_lib_search_path_spec="/usr
/lib
/hpux64
/usr
/local
/lib
/hpux64
"
9548 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9552 hardcode_into_libs=yes
9553 dynamic_linker="$host_os dld.sl
"
9554 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9555 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9557 soname_spec='${libname}${release}${shared_ext}$major'
9558 sys_lib_search_path_spec="/usr
/lib
/pa20_64
/usr
/ccs
/lib
/pa20_64
"
9559 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9563 dynamic_linker="$host_os dld.sl
"
9564 shlibpath_var=SHLIB_PATH
9565 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9567 soname_spec='${libname}${release}${shared_ext}$major'
9570 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9571 postinstall_cmds='chmod 555 $lib'
9578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9579 soname_spec='${libname}${release}${shared_ext}$major'
9580 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9581 shlibpath_var=LD_LIBRARY_PATH
9582 shlibpath_overrides_runpath=no
9583 hardcode_into_libs=yes
9586 irix5* | irix6* | nonstopux*)
9588 nonstopux*) version_type=nonstopux ;;
9590 if test "$lt_cv_prog_gnu_ld" = yes; then
9598 soname_spec='${libname}${release}${shared_ext}$major'
9599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9601 irix5* | nonstopux*)
9605 case $LD in # libtool.m4 will add one of these switches to LD
9606 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9607 libsuff= shlibsuff= libmagic=32-bit;;
9608 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9609 libsuff=32 shlibsuff=N32 libmagic=N32;;
9610 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9611 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9612 *) libsuff= shlibsuff= libmagic=never-match;;
9616 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9617 shlibpath_overrides_runpath=no
9618 sys_lib_search_path_spec="/usr
/lib
${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9619 sys_lib_dlsearch_path_spec="/usr
/lib
${libsuff} /lib
${libsuff}"
9620 hardcode_into_libs=yes
9623 # No shared lib support for Linux oldld, aout, or coff.
9624 linux*oldld* | linux*aout* | linux*coff*)
9628 # This must be Linux ELF.
9633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9634 soname_spec='${libname}${release}${shared_ext}$major'
9635 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -n $libdir'
9636 shlibpath_var=LD_LIBRARY_PATH
9637 shlibpath_overrides_runpath=no
9638 # This implies no fast_install, which is unacceptable.
9639 # Some rework will be needed to allow for fast_install
9640 # before this can be enabled.
9641 hardcode_into_libs=yes
9643 # Append ld.so.conf contents to the search path
9644 if test -f /etc/ld.so.conf; then
9645 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' ' '`
9646 sys_lib_dlsearch_path_spec="/lib
/usr
/lib
$lt_ld_extra"
9649 # We used to test for /lib/ld.so.1 and disable shared libraries on
9650 # powerpc, because MkLinux only supported shared libraries with the
9651 # GNU dynamic linker. Since this was broken with cross compilers,
9652 # most powerpc-linux boxes support dynamic linking these days and
9653 # people can always --disable-shared, the test was removed, and we
9654 # assume the GNU/Linux dynamic linker is in use.
9655 dynamic_linker='GNU/Linux ld.so'
9662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9663 soname_spec='${libname}${release}${shared_ext}$major'
9664 shlibpath_var=LD_LIBRARY_PATH
9665 shlibpath_overrides_runpath=no
9666 hardcode_into_libs=yes
9667 dynamic_linker='GNU ld.so'
9674 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9676 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -m $libdir'
9677 dynamic_linker='NetBSD (a.out) ld.so'
9679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9680 soname_spec='${libname}${release}${shared_ext}$major'
9681 dynamic_linker='NetBSD ld.elf_so'
9683 shlibpath_var=LD_LIBRARY_PATH
9684 shlibpath_overrides_runpath=yes
9685 hardcode_into_libs=yes
9690 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9691 shlibpath_var=LD_LIBRARY_PATH
9692 shlibpath_overrides_runpath=yes
9699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9700 soname_spec='${libname}${release}${shared_ext}$major'
9701 shlibpath_var=LD_LIBRARY_PATH
9702 shlibpath_overrides_runpath=yes
9707 sys_lib_dlsearch_path_spec="/usr
/lib
"
9709 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9711 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9712 *) need_version=no ;;
9714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9715 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -m $libdir'
9716 shlibpath_var=LD_LIBRARY_PATH
9717 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
9719 openbsd2.[89] | openbsd2.[89].*)
9720 shlibpath_overrides_runpath=no
9723 shlibpath_overrides_runpath=yes
9727 shlibpath_overrides_runpath=yes
9732 libname_spec='$name'
9735 library_names_spec='$libname${shared_ext} $libname.a'
9736 dynamic_linker='OS/2 ld.exe'
9737 shlibpath_var=LIBPATH
9740 osf3* | osf4* | osf5*)
9744 soname_spec='${libname}${release}${shared_ext}$major'
9745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9746 shlibpath_var=LD_LIBRARY_PATH
9747 sys_lib_search_path_spec="/usr
/shlib
/usr
/ccs
/lib
/usr
/lib
/cmplrs
/cc
/usr
/lib
/usr
/local
/lib
/var
/shlib
"
9748 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9756 soname_spec='${libname}${release}${shared_ext}$major'
9757 shlibpath_var=LD_LIBRARY_PATH
9758 shlibpath_overrides_runpath=yes
9759 hardcode_into_libs=yes
9760 # ldd complains unless libraries are executable
9761 postinstall_cmds='chmod +x $lib'
9766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9767 finish_cmds='PATH="\
$PATH:/usr
/etc
" ldconfig $libdir'
9768 shlibpath_var=LD_LIBRARY_PATH
9769 shlibpath_overrides_runpath=yes
9770 if test "$with_gnu_ld" = yes; then
9778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9779 soname_spec='${libname}${release}${shared_ext}$major'
9780 shlibpath_var=LD_LIBRARY_PATH
9781 case $host_vendor in
9783 shlibpath_overrides_runpath=no
9785 export_dynamic_flag_spec='${wl}-Blargedynsym'
9786 runpath_var=LD_RUN_PATH
9794 shlibpath_overrides_runpath=no
9795 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9801 if test -d /usr/nec ;then
9803 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9804 soname_spec='$libname${shared_ext}.$major'
9805 shlibpath_var=LD_LIBRARY_PATH
9809 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9810 version_type=freebsd-elf
9813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9814 soname_spec='${libname}${release}${shared_ext}$major'
9815 shlibpath_var=LD_LIBRARY_PATH
9816 hardcode_into_libs=yes
9817 if test "$with_gnu_ld" = yes; then
9818 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9819 shlibpath_overrides_runpath=no
9821 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9822 shlibpath_overrides_runpath=yes
9825 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib
"
9829 sys_lib_dlsearch_path_spec='/usr/lib'
9834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9835 soname_spec='${libname}${release}${shared_ext}$major'
9836 shlibpath_var=LD_LIBRARY_PATH
9843 { echo "$as_me:$LINENO: result
: $dynamic_linker" >&5
9844 echo "${ECHO_T}$dynamic_linker" >&6; }
9845 test "$dynamic_linker" = no && can_build_shared=no
9847 variables_saved_for_relink="PATH
$shlibpath_var $runpath_var"
9848 if test "$GCC" = yes; then
9849 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH
"
9853 { echo "$as_me:$LINENO: checking
which extension is used
for loadable modules
" >&5
9854 echo $ECHO_N "checking
which extension is used
for loadable modules...
$ECHO_C" >&6; }
9855 if test "${libltdl_cv_shlibext+set}" = set; then
9856 echo $ECHO_N "(cached
) $ECHO_C" >&6
9860 eval libltdl_cv_shlibext=$shrext_cmds
9863 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibext" >&5
9864 echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
9865 if test -n "$libltdl_cv_shlibext"; then
9867 cat >>confdefs.h <<_ACEOF
9868 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
9874 { echo "$as_me:$LINENO: checking
which variable specifies run-time library path
" >&5
9875 echo $ECHO_N "checking
which variable specifies run-time library path...
$ECHO_C" >&6; }
9876 if test "${libltdl_cv_shlibpath_var+set}" = set; then
9877 echo $ECHO_N "(cached
) $ECHO_C" >&6
9879 libltdl_cv_shlibpath_var="$shlibpath_var"
9881 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibpath_var" >&5
9882 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
9883 if test -n "$libltdl_cv_shlibpath_var"; then
9885 cat >>confdefs.h <<_ACEOF
9886 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
9892 { echo "$as_me:$LINENO: checking
for the default library search path
" >&5
9893 echo $ECHO_N "checking
for the default library search path...
$ECHO_C" >&6; }
9894 if test "${libltdl_cv_sys_search_path+set}" = set; then
9895 echo $ECHO_N "(cached
) $ECHO_C" >&6
9897 libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"
9899 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_search_path" >&5
9900 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6; }
9901 if test -n "$libltdl_cv_sys_search_path"; then
9903 for dir in $libltdl_cv_sys_search_path; do
9904 if test -z "$sys_search_path"; then
9905 sys_search_path="$dir"
9907 sys_search_path="$sys_search_path$PATH_SEPARATOR$dir"
9911 cat >>confdefs.h <<_ACEOF
9912 #define LTDL_SYSSEARCHPATH "$sys_search_path"
9917 { echo "$as_me:$LINENO: checking
for objdir
" >&5
9918 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6; }
9919 if test "${libltdl_cv_objdir+set}" = set; then
9920 echo $ECHO_N "(cached
) $ECHO_C" >&6
9922 libltdl_cv_objdir="$objdir"
9923 if test -n "$objdir"; then
9926 rm -f .libs 2>/dev/null
9927 mkdir .libs 2>/dev/null
9928 if test -d .libs; then
9929 libltdl_cv_objdir=.libs
9931 # MS-DOS does not allow filenames that begin with a dot.
9932 libltdl_cv_objdir=_libs
9934 rmdir .libs 2>/dev/null
9938 { echo "$as_me:$LINENO: result
: $libltdl_cv_objdir" >&5
9939 echo "${ECHO_T}$libltdl_cv_objdir" >&6; }
9941 cat >>confdefs.h <<_ACEOF
9942 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
9950 # Check for command to grab the raw symbol name followed by C symbol from nm.
9951 { echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
9952 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6; }
9953 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9954 echo $ECHO_N "(cached
) $ECHO_C" >&6
9957 # These are sane defaults that work on at least a few old systems.
9958 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9960 # Character class describing NM global symbol codes.
9961 symcode='[BCDEGRST]'
9963 # Regexp to match symbols that can be accessed directly from C.
9964 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9966 # Transform an extracted symbol line into a proper C declaration
9967 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9969 # Transform an extracted symbol line into symbol name and symbol address
9970 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'"
9972 # Define system-specific variables.
9977 cygwin* | mingw* | pw32*)
9978 symcode='[ABCDGISTW]'
9980 hpux*) # Its linker distinguishes data from code symbols
9981 if test "$host_cpu" = ia64; then
9982 symcode='[ABCDEGRST]'
9984 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9985 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'"
9988 if test "$host_cpu" = ia64; then
9989 symcode='[ABCDGIRSTW]'
9990 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9991 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'"
9995 symcode='[BCDEGRST]'
9998 symcode='[BCDEGQRST]'
10009 sysv5* | sco5v6* | unixware* | OpenUNIX*)
10017 # Handle CRLF in mingw tool chain
10021 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
10025 # If we're using GNU nm, then use its standard symbol codes.
10026 case `$NM -V 2>&1` in
10027 *GNU* | *'with BFD'*)
10028 symcode='[ABCDGIRSTW]' ;;
10031 # Try without a prefix undercore, then with it.
10032 for ac_symprfx in "" "_
"; do
10034 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
10035 symxfrm="\\1 $ac_symprfx\\2 \\2"
10037 # Write the raw and C identifiers.
10038 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
10040 # Check to see that the pipe works correctly.
10044 cat > conftest.$ac_ext <<EOF
10049 void nm_test_func(){}
10053 int main(){nm_test_var='a';nm_test_func();return(0);}
10056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10057 (eval $ac_compile) 2>&5
10059 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10060 (exit $ac_status); }; then
10061 # Now try to grab the symbols.
10063 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
10064 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
10066 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10067 (exit $ac_status); } && test -s "$nlist"; then
10068 # Try sorting and uniquifying the output.
10069 if sort "$nlist" | uniq > "$nlist"T; then
10070 mv -f "$nlist"T "$nlist"
10075 # Make sure that we snagged all the symbols we need.
10076 if grep ' nm_test_var$' "$nlist" >/dev/null; then
10077 if grep ' nm_test_func$' "$nlist" >/dev/null; then
10078 cat <<EOF > conftest.$ac_ext
10084 # Now generate the symbol file.
10085 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
10087 cat <<EOF >> conftest.$ac_ext
10088 #if defined (__STDC__) && __STDC__
10089 # define lt_ptr_t void *
10091 # define lt_ptr_t char *
10095 /* The mapping between symbol names and symbols. */
10100 lt_preloaded_symbols[] =
10103 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (lt_ptr_t
) \
&\
2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
10104 cat <<\EOF >> conftest.$ac_ext
10112 # Now try linking the two files.
10113 mv conftest.$ac_objext conftstm.$ac_objext
10114 lt_save_LIBS="$LIBS"
10115 lt_save_CFLAGS="$CFLAGS"
10116 LIBS="conftstm.
$ac_objext"
10117 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
10118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10119 (eval $ac_link) 2>&5
10121 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10122 (exit $ac_status); } && test -s conftest${ac_exeext}; then
10125 LIBS="$lt_save_LIBS"
10126 CFLAGS="$lt_save_CFLAGS"
10128 echo "cannot
find nm_test_func
in $nlist" >&5
10131 echo "cannot
find nm_test_var
in $nlist" >&5
10134 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
10137 echo "$progname: failed program was
:" >&5
10138 cat conftest.$ac_ext >&5
10140 rm -f conftest* conftst*
10142 # Do not use the global_symbol_pipe unless it works.
10143 if test "$pipe_works" = yes; then
10146 lt_cv_sys_global_symbol_pipe=
10152 if test -z "$lt_cv_sys_global_symbol_pipe"; then
10153 lt_cv_sys_global_symbol_to_cdecl=
10155 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
10156 { echo "$as_me:$LINENO: result
: failed
" >&5
10157 echo "${ECHO_T}failed
" >&6; }
10159 { echo "$as_me:$LINENO: result
: ok
" >&5
10160 echo "${ECHO_T}ok
" >&6; }
10164 { echo "$as_me:$LINENO: checking whether libtool supports
-dlopen/-dlpreopen" >&5
10165 echo $ECHO_N "checking whether libtool supports
-dlopen/-dlpreopen...
$ECHO_C" >&6; }
10166 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
10167 echo $ECHO_N "(cached
) $ECHO_C" >&6
10169 if test -n "$lt_cv_sys_global_symbol_pipe"; then
10170 libltdl_cv_preloaded_symbols=yes
10172 libltdl_cv_preloaded_symbols=no
10176 { echo "$as_me:$LINENO: result
: $libltdl_cv_preloaded_symbols" >&5
10177 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
10178 if test x"$libltdl_cv_preloaded_symbols" = xyes; then
10180 cat >>confdefs.h <<\_ACEOF
10181 #define HAVE_PRELOADED_SYMBOLS 1
10189 ac_cpp='$CPP $CPPFLAGS'
10190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10195 { echo "$as_me:$LINENO: checking
for shl_load
" >&5
10196 echo $ECHO_N "checking
for shl_load...
$ECHO_C" >&6; }
10197 if test "${ac_cv_func_shl_load+set}" = set; then
10198 echo $ECHO_N "(cached
) $ECHO_C" >&6
10200 cat >conftest.$ac_ext <<_ACEOF
10203 cat confdefs.h >>conftest.$ac_ext
10204 cat >>conftest.$ac_ext <<_ACEOF
10205 /* end confdefs.h. */
10206 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10208 #define shl_load innocuous_shl_load
10210 /* System header to define __stub macros and hopefully few prototypes,
10211 which can conflict with char shl_load (); below.
10212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10213 <limits.h> exists even on freestanding compilers. */
10216 # include <limits.h>
10218 # include <assert.h>
10223 /* Override any GCC internal prototype to avoid an error.
10224 Use char because int might match the return type of a GCC
10225 builtin and then its argument prototype would still apply. */
10230 /* The GNU C library defines this for functions which it implements
10231 to always fail with ENOSYS. Some functions are actually named
10232 something starting with __ and the normal name is an alias. */
10233 #if defined __stub_shl_load || defined __stub___shl_load
10240 return shl_load ();
10245 rm -f conftest.$ac_objext conftest$ac_exeext
10246 if { (ac_try="$ac_link"
10247 case "(($ac_try" in
10248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10249 *) ac_try_echo=$ac_try;;
10251 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10252 (eval "$ac_link") 2>conftest.er1
10254 grep -v '^ *+' conftest.er1 >conftest.err
10256 cat conftest.err >&5
10257 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10258 (exit $ac_status); } &&
10259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10260 { (case "(($ac_try" in
10261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10262 *) ac_try_echo=$ac_try;;
10264 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10265 (eval "$ac_try") 2>&5
10267 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10268 (exit $ac_status); }; } &&
10269 { ac_try='test -s conftest$ac_exeext'
10270 { (case "(($ac_try" in
10271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10272 *) ac_try_echo=$ac_try;;
10274 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10275 (eval "$ac_try") 2>&5
10277 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10278 (exit $ac_status); }; }; then
10279 ac_cv_func_shl_load=yes
10281 echo "$as_me: failed program was
:" >&5
10282 sed 's/^/| /' conftest.$ac_ext >&5
10284 ac_cv_func_shl_load=no
10287 rm -f core conftest.err conftest.$ac_objext \
10288 conftest$ac_exeext conftest.$ac_ext
10290 { echo "$as_me:$LINENO: result
: $ac_cv_func_shl_load" >&5
10291 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10292 if test $ac_cv_func_shl_load = yes; then
10294 cat >>confdefs.h <<\_ACEOF
10295 #define HAVE_SHL_LOAD 1
10299 { echo "$as_me:$LINENO: checking
for shl_load
in -ldld" >&5
10300 echo $ECHO_N "checking
for shl_load
in -ldld...
$ECHO_C" >&6; }
10301 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10302 echo $ECHO_N "(cached
) $ECHO_C" >&6
10304 ac_check_lib_save_LIBS=$LIBS
10306 cat >conftest.$ac_ext <<_ACEOF
10309 cat confdefs.h >>conftest.$ac_ext
10310 cat >>conftest.$ac_ext <<_ACEOF
10311 /* end confdefs.h. */
10313 /* Override any GCC internal prototype to avoid an error.
10314 Use char because int might match the return type of a GCC
10315 builtin and then its argument prototype would still apply. */
10323 return shl_load ();
10328 rm -f conftest.$ac_objext conftest$ac_exeext
10329 if { (ac_try="$ac_link"
10330 case "(($ac_try" in
10331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10332 *) ac_try_echo=$ac_try;;
10334 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10335 (eval "$ac_link") 2>conftest.er1
10337 grep -v '^ *+' conftest.er1 >conftest.err
10339 cat conftest.err >&5
10340 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10341 (exit $ac_status); } &&
10342 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10343 { (case "(($ac_try" in
10344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10345 *) ac_try_echo=$ac_try;;
10347 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10348 (eval "$ac_try") 2>&5
10350 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10351 (exit $ac_status); }; } &&
10352 { ac_try='test -s conftest$ac_exeext'
10353 { (case "(($ac_try" in
10354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10355 *) ac_try_echo=$ac_try;;
10357 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10358 (eval "$ac_try") 2>&5
10360 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10361 (exit $ac_status); }; }; then
10362 ac_cv_lib_dld_shl_load=yes
10364 echo "$as_me: failed program was
:" >&5
10365 sed 's/^/| /' conftest.$ac_ext >&5
10367 ac_cv_lib_dld_shl_load=no
10370 rm -f core conftest.err conftest.$ac_objext \
10371 conftest$ac_exeext conftest.$ac_ext
10372 LIBS=$ac_check_lib_save_LIBS
10374 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_shl_load" >&5
10375 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10376 if test $ac_cv_lib_dld_shl_load = yes; then
10378 cat >>confdefs.h <<\_ACEOF
10379 #define HAVE_SHL_LOAD 1
10382 LIBADD_DL="$LIBADD_DL -ldld"
10384 { echo "$as_me:$LINENO: checking
for dlopen
in -ldl" >&5
10385 echo $ECHO_N "checking
for dlopen
in -ldl...
$ECHO_C" >&6; }
10386 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10387 echo $ECHO_N "(cached
) $ECHO_C" >&6
10389 ac_check_lib_save_LIBS=$LIBS
10391 cat >conftest.$ac_ext <<_ACEOF
10394 cat confdefs.h >>conftest.$ac_ext
10395 cat >>conftest.$ac_ext <<_ACEOF
10396 /* end confdefs.h. */
10398 /* Override any GCC internal prototype to avoid an error.
10399 Use char because int might match the return type of a GCC
10400 builtin and then its argument prototype would still apply. */
10413 rm -f conftest.$ac_objext conftest$ac_exeext
10414 if { (ac_try="$ac_link"
10415 case "(($ac_try" in
10416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10417 *) ac_try_echo=$ac_try;;
10419 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10420 (eval "$ac_link") 2>conftest.er1
10422 grep -v '^ *+' conftest.er1 >conftest.err
10424 cat conftest.err >&5
10425 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10426 (exit $ac_status); } &&
10427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10428 { (case "(($ac_try" in
10429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10430 *) ac_try_echo=$ac_try;;
10432 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10433 (eval "$ac_try") 2>&5
10435 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10436 (exit $ac_status); }; } &&
10437 { ac_try='test -s conftest$ac_exeext'
10438 { (case "(($ac_try" in
10439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10440 *) ac_try_echo=$ac_try;;
10442 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10443 (eval "$ac_try") 2>&5
10445 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10446 (exit $ac_status); }; }; then
10447 ac_cv_lib_dl_dlopen=yes
10449 echo "$as_me: failed program was
:" >&5
10450 sed 's/^/| /' conftest.$ac_ext >&5
10452 ac_cv_lib_dl_dlopen=no
10455 rm -f core conftest.err conftest.$ac_objext \
10456 conftest$ac_exeext conftest.$ac_ext
10457 LIBS=$ac_check_lib_save_LIBS
10459 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dl_dlopen" >&5
10460 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10461 if test $ac_cv_lib_dl_dlopen = yes; then
10463 cat >>confdefs.h <<\_ACEOF
10464 #define HAVE_LIBDL 1
10467 LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"
10469 cat >conftest.$ac_ext <<_ACEOF
10472 cat confdefs.h >>conftest.$ac_ext
10473 cat >>conftest.$ac_ext <<_ACEOF
10474 /* end confdefs.h. */
10476 # include <dlfcn.h>
10487 rm -f conftest.$ac_objext conftest$ac_exeext
10488 if { (ac_try="$ac_link"
10489 case "(($ac_try" in
10490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10491 *) ac_try_echo=$ac_try;;
10493 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10494 (eval "$ac_link") 2>conftest.er1
10496 grep -v '^ *+' conftest.er1 >conftest.err
10498 cat conftest.err >&5
10499 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10500 (exit $ac_status); } &&
10501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10502 { (case "(($ac_try" in
10503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10504 *) ac_try_echo=$ac_try;;
10506 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10507 (eval "$ac_try") 2>&5
10509 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10510 (exit $ac_status); }; } &&
10511 { ac_try='test -s conftest$ac_exeext'
10512 { (case "(($ac_try" in
10513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10514 *) ac_try_echo=$ac_try;;
10516 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10517 (eval "$ac_try") 2>&5
10519 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10520 (exit $ac_status); }; }; then
10522 cat >>confdefs.h <<\_ACEOF
10523 #define HAVE_LIBDL 1
10525 libltdl_cv_func_dlopen="yes"
10527 echo "$as_me: failed program was
:" >&5
10528 sed 's/^/| /' conftest.$ac_ext >&5
10530 { echo "$as_me:$LINENO: checking
for dlopen
in -lsvld" >&5
10531 echo $ECHO_N "checking
for dlopen
in -lsvld...
$ECHO_C" >&6; }
10532 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10533 echo $ECHO_N "(cached
) $ECHO_C" >&6
10535 ac_check_lib_save_LIBS=$LIBS
10536 LIBS="-lsvld $LIBS"
10537 cat >conftest.$ac_ext <<_ACEOF
10540 cat confdefs.h >>conftest.$ac_ext
10541 cat >>conftest.$ac_ext <<_ACEOF
10542 /* end confdefs.h. */
10544 /* Override any GCC internal prototype to avoid an error.
10545 Use char because int might match the return type of a GCC
10546 builtin and then its argument prototype would still apply. */
10559 rm -f conftest.$ac_objext conftest$ac_exeext
10560 if { (ac_try="$ac_link"
10561 case "(($ac_try" in
10562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10563 *) ac_try_echo=$ac_try;;
10565 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10566 (eval "$ac_link") 2>conftest.er1
10568 grep -v '^ *+' conftest.er1 >conftest.err
10570 cat conftest.err >&5
10571 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10572 (exit $ac_status); } &&
10573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10574 { (case "(($ac_try" in
10575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10576 *) ac_try_echo=$ac_try;;
10578 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10579 (eval "$ac_try") 2>&5
10581 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10582 (exit $ac_status); }; } &&
10583 { ac_try='test -s conftest$ac_exeext'
10584 { (case "(($ac_try" in
10585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10586 *) ac_try_echo=$ac_try;;
10588 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10589 (eval "$ac_try") 2>&5
10591 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10592 (exit $ac_status); }; }; then
10593 ac_cv_lib_svld_dlopen=yes
10595 echo "$as_me: failed program was
:" >&5
10596 sed 's/^/| /' conftest.$ac_ext >&5
10598 ac_cv_lib_svld_dlopen=no
10601 rm -f core conftest.err conftest.$ac_objext \
10602 conftest$ac_exeext conftest.$ac_ext
10603 LIBS=$ac_check_lib_save_LIBS
10605 { echo "$as_me:$LINENO: result
: $ac_cv_lib_svld_dlopen" >&5
10606 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10607 if test $ac_cv_lib_svld_dlopen = yes; then
10609 cat >>confdefs.h <<\_ACEOF
10610 #define HAVE_LIBDL 1
10613 LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"
10615 { echo "$as_me:$LINENO: checking
for dld_link
in -ldld" >&5
10616 echo $ECHO_N "checking
for dld_link
in -ldld...
$ECHO_C" >&6; }
10617 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10618 echo $ECHO_N "(cached
) $ECHO_C" >&6
10620 ac_check_lib_save_LIBS=$LIBS
10622 cat >conftest.$ac_ext <<_ACEOF
10625 cat confdefs.h >>conftest.$ac_ext
10626 cat >>conftest.$ac_ext <<_ACEOF
10627 /* end confdefs.h. */
10629 /* Override any GCC internal prototype to avoid an error.
10630 Use char because int might match the return type of a GCC
10631 builtin and then its argument prototype would still apply. */
10639 return dld_link ();
10644 rm -f conftest.$ac_objext conftest$ac_exeext
10645 if { (ac_try="$ac_link"
10646 case "(($ac_try" in
10647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10648 *) ac_try_echo=$ac_try;;
10650 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10651 (eval "$ac_link") 2>conftest.er1
10653 grep -v '^ *+' conftest.er1 >conftest.err
10655 cat conftest.err >&5
10656 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10657 (exit $ac_status); } &&
10658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10659 { (case "(($ac_try" in
10660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10661 *) ac_try_echo=$ac_try;;
10663 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10664 (eval "$ac_try") 2>&5
10666 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10667 (exit $ac_status); }; } &&
10668 { ac_try='test -s conftest$ac_exeext'
10669 { (case "(($ac_try" in
10670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10671 *) ac_try_echo=$ac_try;;
10673 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10674 (eval "$ac_try") 2>&5
10676 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10677 (exit $ac_status); }; }; then
10678 ac_cv_lib_dld_dld_link=yes
10680 echo "$as_me: failed program was
:" >&5
10681 sed 's/^/| /' conftest.$ac_ext >&5
10683 ac_cv_lib_dld_dld_link=no
10686 rm -f core conftest.err conftest.$ac_objext \
10687 conftest$ac_exeext conftest.$ac_ext
10688 LIBS=$ac_check_lib_save_LIBS
10690 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_dld_link" >&5
10691 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10692 if test $ac_cv_lib_dld_dld_link = yes; then
10694 cat >>confdefs.h <<\_ACEOF
10698 LIBADD_DL="$LIBADD_DL -ldld"
10700 { echo "$as_me:$LINENO: checking
for _dyld_func_lookup
" >&5
10701 echo $ECHO_N "checking
for _dyld_func_lookup...
$ECHO_C" >&6; }
10702 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
10703 echo $ECHO_N "(cached
) $ECHO_C" >&6
10705 cat >conftest.$ac_ext <<_ACEOF
10708 cat confdefs.h >>conftest.$ac_ext
10709 cat >>conftest.$ac_ext <<_ACEOF
10710 /* end confdefs.h. */
10711 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
10712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10713 #define _dyld_func_lookup innocuous__dyld_func_lookup
10715 /* System header to define __stub macros and hopefully few prototypes,
10716 which can conflict with char _dyld_func_lookup (); below.
10717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10718 <limits.h> exists even on freestanding compilers. */
10721 # include <limits.h>
10723 # include <assert.h>
10726 #undef _dyld_func_lookup
10728 /* Override any GCC internal prototype to avoid an error.
10729 Use char because int might match the return type of a GCC
10730 builtin and then its argument prototype would still apply. */
10734 char _dyld_func_lookup ();
10735 /* The GNU C library defines this for functions which it implements
10736 to always fail with ENOSYS. Some functions are actually named
10737 something starting with __ and the normal name is an alias. */
10738 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
10745 return _dyld_func_lookup ();
10750 rm -f conftest.$ac_objext conftest$ac_exeext
10751 if { (ac_try="$ac_link"
10752 case "(($ac_try" in
10753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10754 *) ac_try_echo=$ac_try;;
10756 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10757 (eval "$ac_link") 2>conftest.er1
10759 grep -v '^ *+' conftest.er1 >conftest.err
10761 cat conftest.err >&5
10762 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10763 (exit $ac_status); } &&
10764 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10765 { (case "(($ac_try" in
10766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10767 *) ac_try_echo=$ac_try;;
10769 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10770 (eval "$ac_try") 2>&5
10772 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10773 (exit $ac_status); }; } &&
10774 { ac_try='test -s conftest$ac_exeext'
10775 { (case "(($ac_try" in
10776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10777 *) ac_try_echo=$ac_try;;
10779 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10780 (eval "$ac_try") 2>&5
10782 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10783 (exit $ac_status); }; }; then
10784 ac_cv_func__dyld_func_lookup=yes
10786 echo "$as_me: failed program was
:" >&5
10787 sed 's/^/| /' conftest.$ac_ext >&5
10789 ac_cv_func__dyld_func_lookup=no
10792 rm -f core conftest.err conftest.$ac_objext \
10793 conftest$ac_exeext conftest.$ac_ext
10795 { echo "$as_me:$LINENO: result
: $ac_cv_func__dyld_func_lookup" >&5
10796 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
10797 if test $ac_cv_func__dyld_func_lookup = yes; then
10799 cat >>confdefs.h <<\_ACEOF
10800 #define HAVE_DYLD 1
10814 rm -f core conftest.err conftest.$ac_objext \
10815 conftest$ac_exeext conftest.$ac_ext
10826 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
10828 lt_save_LIBS="$LIBS"
10829 LIBS="$LIBS $LIBADD_DL"
10831 for ac_func in dlerror
10833 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
10834 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
10835 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
10836 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
10837 echo $ECHO_N "(cached
) $ECHO_C" >&6
10839 cat >conftest.$ac_ext <<_ACEOF
10842 cat confdefs.h >>conftest.$ac_ext
10843 cat >>conftest.$ac_ext <<_ACEOF
10844 /* end confdefs.h. */
10845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10847 #define $ac_func innocuous_$ac_func
10849 /* System header to define __stub macros and hopefully few prototypes,
10850 which can conflict with char $ac_func (); below.
10851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10852 <limits.h> exists even on freestanding compilers. */
10855 # include <limits.h>
10857 # include <assert.h>
10862 /* Override any GCC internal prototype to avoid an error.
10863 Use char because int might match the return type of a GCC
10864 builtin and then its argument prototype would still apply. */
10869 /* The GNU C library defines this for functions which it implements
10870 to always fail with ENOSYS. Some functions are actually named
10871 something starting with __ and the normal name is an alias. */
10872 #if defined __stub_$ac_func || defined __stub___$ac_func
10879 return $ac_func ();
10884 rm -f conftest.$ac_objext conftest$ac_exeext
10885 if { (ac_try="$ac_link"
10886 case "(($ac_try" in
10887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10888 *) ac_try_echo=$ac_try;;
10890 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10891 (eval "$ac_link") 2>conftest.er1
10893 grep -v '^ *+' conftest.er1 >conftest.err
10895 cat conftest.err >&5
10896 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10897 (exit $ac_status); } &&
10898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10899 { (case "(($ac_try" in
10900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10901 *) ac_try_echo=$ac_try;;
10903 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10904 (eval "$ac_try") 2>&5
10906 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10907 (exit $ac_status); }; } &&
10908 { ac_try='test -s conftest$ac_exeext'
10909 { (case "(($ac_try" in
10910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10911 *) ac_try_echo=$ac_try;;
10913 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10914 (eval "$ac_try") 2>&5
10916 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10917 (exit $ac_status); }; }; then
10918 eval "$as_ac_var=yes"
10920 echo "$as_me: failed program was
:" >&5
10921 sed 's/^/| /' conftest.$ac_ext >&5
10923 eval "$as_ac_var=no
"
10926 rm -f core conftest.err conftest.$ac_objext \
10927 conftest$ac_exeext conftest.$ac_ext
10929 ac_res=`eval echo '${'$as_ac_var'}'`
10930 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10931 echo "${ECHO_T}$ac_res" >&6; }
10932 if test `eval echo '${'$as_ac_var'}'` = yes; then
10933 cat >>confdefs.h <<_ACEOF
10934 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
10940 LIBS="$lt_save_LIBS"
10943 ac_cpp='$CPP $CPPFLAGS'
10944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10950 { echo "$as_me:$LINENO: checking
for _ prefix
in compiled symbols
" >&5
10951 echo $ECHO_N "checking
for _ prefix
in compiled symbols...
$ECHO_C" >&6; }
10952 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
10953 echo $ECHO_N "(cached
) $ECHO_C" >&6
10955 ac_cv_sys_symbol_underscore=no
10956 cat > conftest.$ac_ext <<EOF
10957 void nm_test_func(){}
10958 int main(){nm_test_func;return 0;}
10960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10961 (eval $ac_compile) 2>&5
10963 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10964 (exit $ac_status); }; then
10965 # Now try to grab the symbols.
10966 ac_nlist=conftest.nm
10967 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist\"") >&5
10968 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
10970 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10971 (exit $ac_status); } && test -s "$ac_nlist"; then
10972 # See whether the symbols have a leading underscore.
10973 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
10974 ac_cv_sys_symbol_underscore=yes
10976 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
10979 echo "configure
: cannot
find nm_test_func
in $ac_nlist" >&5
10983 echo "configure
: cannot run
$lt_cv_sys_global_symbol_pipe" >&5
10986 echo "configure
: failed program was
:" >&5
10992 { echo "$as_me:$LINENO: result
: $ac_cv_sys_symbol_underscore" >&5
10993 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
10996 if test x"$ac_cv_sys_symbol_underscore" = xyes; then
10997 if test x"$libltdl_cv_func_dlopen" = xyes ||
10998 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
10999 { echo "$as_me:$LINENO: checking whether we have to add an underscore
for dlsym
" >&5
11000 echo $ECHO_N "checking whether we have to add an underscore
for dlsym...
$ECHO_C" >&6; }
11001 if test "${libltdl_cv_need_uscore+set}" = set; then
11002 echo $ECHO_N "(cached
) $ECHO_C" >&6
11004 libltdl_cv_need_uscore=unknown
11006 LIBS="$LIBS $LIBADD_DL"
11007 if test "$cross_compiling" = yes; then :
11008 libltdl_cv_need_uscore=cross
11010 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11011 lt_status=$lt_dlunknown
11012 cat > conftest.$ac_ext <<EOF
11013 #line 11013 "configure
"
11014 #include "confdefs.h
"
11023 # define LT_DLGLOBAL RTLD_GLOBAL
11026 # define LT_DLGLOBAL DL_GLOBAL
11028 # define LT_DLGLOBAL 0
11032 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11033 find out it does not work in some platform. */
11034 #ifndef LT_DLLAZY_OR_NOW
11036 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11039 # define LT_DLLAZY_OR_NOW DL_LAZY
11042 # define LT_DLLAZY_OR_NOW RTLD_NOW
11045 # define LT_DLLAZY_OR_NOW DL_NOW
11047 # define LT_DLLAZY_OR_NOW 0
11055 extern "C
" void exit (int);
11058 void fnord() { int i=42;}
11061 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11062 int status = $lt_dlunknown;
11066 if (dlsym (self,"fnord
")) status = $lt_dlno_uscore;
11067 else if (dlsym( self,"_fnord
")) status = $lt_dlneed_uscore;
11068 /* dlclose (self); */
11076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11077 (eval $ac_link) 2>&5
11079 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11080 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11081 (./conftest; exit; ) >&5 2>/dev/null
11083 case x$lt_status in
11084 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
11085 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
11086 x$lt_dlunknown|x*) ;;
11089 # compilation failed
11098 { echo "$as_me:$LINENO: result
: $libltdl_cv_need_uscore" >&5
11099 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
11103 if test x"$libltdl_cv_need_uscore" = xyes; then
11105 cat >>confdefs.h <<\_ACEOF
11106 #define NEED_USCORE 1
11112 { echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen
" >&5
11113 echo $ECHO_N "checking whether deplibs are loaded by dlopen...
$ECHO_C" >&6; }
11114 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
11115 echo $ECHO_N "(cached
) $ECHO_C" >&6
11117 # PORTME does your system automatically load deplibs for dlopen?
11118 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
11119 # For now, we just catch OSes we know something about -- in the
11120 # future, we'll try test this programmatically.
11121 libltdl_cv_sys_dlopen_deplibs=unknown
11123 aix3*|aix4.1.*|aix4.2.*)
11124 # Unknown whether this is true for these versions of AIX, but
11125 # we want this `case' here to explicitly catch those versions.
11126 libltdl_cv_sys_dlopen_deplibs=unknown
11129 libltdl_cv_sys_dlopen_deplibs=yes
11132 # Assuming the user has installed a libdl from somewhere, this is true
11133 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
11134 libltdl_cv_sys_dlopen_deplibs=yes
11136 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
11137 # GNU and its variants, using gnu ld.so (Glibc)
11138 libltdl_cv_sys_dlopen_deplibs=yes
11141 libltdl_cv_sys_dlopen_deplibs=yes
11144 libltdl_cv_sys_dlopen_deplibs=yes
11146 irix[12345]*|irix6.[01]*)
11147 # Catch all versions of IRIX before 6.2, and indicate that we don't
11148 # know how it worked for any of those versions.
11149 libltdl_cv_sys_dlopen_deplibs=unknown
11152 # The case above catches anything before 6.2, and it's known that
11153 # at 6.2 and later dlopen does load deplibs.
11154 libltdl_cv_sys_dlopen_deplibs=yes
11157 libltdl_cv_sys_dlopen_deplibs=yes
11160 libltdl_cv_sys_dlopen_deplibs=yes
11163 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
11164 # it did *not* use an RPATH in a shared library to find objects the
11165 # library depends on, so we explictly say `no'.
11166 libltdl_cv_sys_dlopen_deplibs=no
11168 osf5.0|osf5.0a|osf5.1)
11169 # dlopen *does* load deplibs and with the right loader patch applied
11170 # it even uses RPATH in a shared library to search for shared objects
11171 # that the library depends on, but there's no easy way to know if that
11172 # patch is installed. Since this is the case, all we can really
11173 # say is unknown -- it depends on the patch being installed. If
11174 # it is, this changes to `yes'. Without it, it would be `no'.
11175 libltdl_cv_sys_dlopen_deplibs=unknown
11178 # the two cases above should catch all versions of osf <= 5.1. Read
11179 # the comments above for what we know about them.
11180 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
11181 # is used to find them so we can finally say `yes'.
11182 libltdl_cv_sys_dlopen_deplibs=yes
11185 libltdl_cv_sys_dlopen_deplibs=yes
11187 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11188 libltdl_cv_sys_dlopen_deplibs=yes
11193 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_dlopen_deplibs" >&5
11194 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6; }
11195 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
11197 cat >>confdefs.h <<\_ACEOF
11198 #define LTDL_DLOPEN_DEPLIBS 1
11204 for ac_header in argz.h
11206 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11207 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11208 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11209 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11210 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11211 echo $ECHO_N "(cached
) $ECHO_C" >&6
11213 ac_res=`eval echo '${'$as_ac_Header'}'`
11214 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11215 echo "${ECHO_T}$ac_res" >&6; }
11217 # Is the header compilable?
11218 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11219 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11220 cat >conftest.$ac_ext <<_ACEOF
11223 cat confdefs.h >>conftest.$ac_ext
11224 cat >>conftest.$ac_ext <<_ACEOF
11225 /* end confdefs.h. */
11226 $ac_includes_default
11227 #include <$ac_header>
11229 rm -f conftest.$ac_objext
11230 if { (ac_try="$ac_compile"
11231 case "(($ac_try" in
11232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11233 *) ac_try_echo=$ac_try;;
11235 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11236 (eval "$ac_compile") 2>conftest.er1
11238 grep -v '^ *+' conftest.er1 >conftest.err
11240 cat conftest.err >&5
11241 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11242 (exit $ac_status); } &&
11243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11244 { (case "(($ac_try" in
11245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11246 *) ac_try_echo=$ac_try;;
11248 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11249 (eval "$ac_try") 2>&5
11251 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11252 (exit $ac_status); }; } &&
11253 { ac_try='test -s conftest.$ac_objext'
11254 { (case "(($ac_try" in
11255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11256 *) ac_try_echo=$ac_try;;
11258 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11259 (eval "$ac_try") 2>&5
11261 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11262 (exit $ac_status); }; }; then
11263 ac_header_compiler=yes
11265 echo "$as_me: failed program was
:" >&5
11266 sed 's/^/| /' conftest.$ac_ext >&5
11268 ac_header_compiler=no
11271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11272 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11273 echo "${ECHO_T}$ac_header_compiler" >&6; }
11275 # Is the header present?
11276 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11277 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11278 cat >conftest.$ac_ext <<_ACEOF
11281 cat confdefs.h >>conftest.$ac_ext
11282 cat >>conftest.$ac_ext <<_ACEOF
11283 /* end confdefs.h. */
11284 #include <$ac_header>
11286 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11287 case "(($ac_try" in
11288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11289 *) ac_try_echo=$ac_try;;
11291 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11292 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11294 grep -v '^ *+' conftest.er1 >conftest.err
11296 cat conftest.err >&5
11297 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11298 (exit $ac_status); } >/dev/null; then
11299 if test -s conftest.err; then
11300 ac_cpp_err=$ac_c_preproc_warn_flag
11301 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11308 if test -z "$ac_cpp_err"; then
11309 ac_header_preproc=yes
11311 echo "$as_me: failed program was
:" >&5
11312 sed 's/^/| /' conftest.$ac_ext >&5
11314 ac_header_preproc=no
11317 rm -f conftest.err conftest.$ac_ext
11318 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11319 echo "${ECHO_T}$ac_header_preproc" >&6; }
11321 # So? What about this header?
11322 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11324 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11325 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11326 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11327 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11328 ac_header_preproc=yes
11331 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11332 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11333 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11334 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11335 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11336 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11337 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11338 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11339 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11340 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11341 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11342 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11344 ## ----------------------------------- ##
11345 ## Report this to llvmbugs@cs.uiuc.edu ##
11346 ## ----------------------------------- ##
11348 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11351 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11352 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11353 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11354 echo $ECHO_N "(cached
) $ECHO_C" >&6
11356 eval "$as_ac_Header=\
$ac_header_preproc"
11358 ac_res=`eval echo '${'$as_ac_Header'}'`
11359 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11360 echo "${ECHO_T}$ac_res" >&6; }
11363 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11364 cat >>confdefs.h <<_ACEOF
11365 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11373 { echo "$as_me:$LINENO: checking
for error_t
" >&5
11374 echo $ECHO_N "checking
for error_t...
$ECHO_C" >&6; }
11375 if test "${ac_cv_type_error_t+set}" = set; then
11376 echo $ECHO_N "(cached
) $ECHO_C" >&6
11378 cat >conftest.$ac_ext <<_ACEOF
11381 cat confdefs.h >>conftest.$ac_ext
11382 cat >>conftest.$ac_ext <<_ACEOF
11383 /* end confdefs.h. */
11388 typedef error_t ac__type_new_;
11392 if ((ac__type_new_ *) 0)
11394 if (sizeof (ac__type_new_))
11400 rm -f conftest.$ac_objext
11401 if { (ac_try="$ac_compile"
11402 case "(($ac_try" in
11403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11404 *) ac_try_echo=$ac_try;;
11406 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11407 (eval "$ac_compile") 2>conftest.er1
11409 grep -v '^ *+' conftest.er1 >conftest.err
11411 cat conftest.err >&5
11412 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11413 (exit $ac_status); } &&
11414 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11415 { (case "(($ac_try" in
11416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11417 *) ac_try_echo=$ac_try;;
11419 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11420 (eval "$ac_try") 2>&5
11422 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11423 (exit $ac_status); }; } &&
11424 { ac_try='test -s conftest.$ac_objext'
11425 { (case "(($ac_try" in
11426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11427 *) ac_try_echo=$ac_try;;
11429 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11430 (eval "$ac_try") 2>&5
11432 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11433 (exit $ac_status); }; }; then
11434 ac_cv_type_error_t=yes
11436 echo "$as_me: failed program was
:" >&5
11437 sed 's/^/| /' conftest.$ac_ext >&5
11439 ac_cv_type_error_t=no
11442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11444 { echo "$as_me:$LINENO: result
: $ac_cv_type_error_t" >&5
11445 echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
11446 if test $ac_cv_type_error_t = yes; then
11448 cat >>confdefs.h <<_ACEOF
11449 #define HAVE_ERROR_T 1
11455 cat >>confdefs.h <<\_ACEOF
11456 #define error_t int
11467 for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
11469 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11470 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11471 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11472 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11473 echo $ECHO_N "(cached
) $ECHO_C" >&6
11475 cat >conftest.$ac_ext <<_ACEOF
11478 cat confdefs.h >>conftest.$ac_ext
11479 cat >>conftest.$ac_ext <<_ACEOF
11480 /* end confdefs.h. */
11481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11483 #define $ac_func innocuous_$ac_func
11485 /* System header to define __stub macros and hopefully few prototypes,
11486 which can conflict with char $ac_func (); below.
11487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11488 <limits.h> exists even on freestanding compilers. */
11491 # include <limits.h>
11493 # include <assert.h>
11498 /* Override any GCC internal prototype to avoid an error.
11499 Use char because int might match the return type of a GCC
11500 builtin and then its argument prototype would still apply. */
11505 /* The GNU C library defines this for functions which it implements
11506 to always fail with ENOSYS. Some functions are actually named
11507 something starting with __ and the normal name is an alias. */
11508 #if defined __stub_$ac_func || defined __stub___$ac_func
11515 return $ac_func ();
11520 rm -f conftest.$ac_objext conftest$ac_exeext
11521 if { (ac_try="$ac_link"
11522 case "(($ac_try" in
11523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11524 *) ac_try_echo=$ac_try;;
11526 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11527 (eval "$ac_link") 2>conftest.er1
11529 grep -v '^ *+' conftest.er1 >conftest.err
11531 cat conftest.err >&5
11532 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11533 (exit $ac_status); } &&
11534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11535 { (case "(($ac_try" in
11536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11537 *) ac_try_echo=$ac_try;;
11539 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11540 (eval "$ac_try") 2>&5
11542 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11543 (exit $ac_status); }; } &&
11544 { ac_try='test -s conftest$ac_exeext'
11545 { (case "(($ac_try" in
11546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11547 *) ac_try_echo=$ac_try;;
11549 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11550 (eval "$ac_try") 2>&5
11552 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11553 (exit $ac_status); }; }; then
11554 eval "$as_ac_var=yes"
11556 echo "$as_me: failed program was
:" >&5
11557 sed 's/^/| /' conftest.$ac_ext >&5
11559 eval "$as_ac_var=no
"
11562 rm -f core conftest.err conftest.$ac_objext \
11563 conftest$ac_exeext conftest.$ac_ext
11565 ac_res=`eval echo '${'$as_ac_var'}'`
11566 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11567 echo "${ECHO_T}$ac_res" >&6; }
11568 if test `eval echo '${'$as_ac_var'}'` = yes; then
11569 cat >>confdefs.h <<_ACEOF
11570 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11603 for ac_header in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
11606 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11607 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11608 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11609 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11610 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11611 echo $ECHO_N "(cached
) $ECHO_C" >&6
11613 ac_res=`eval echo '${'$as_ac_Header'}'`
11614 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11615 echo "${ECHO_T}$ac_res" >&6; }
11617 # Is the header compilable?
11618 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11619 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11620 cat >conftest.$ac_ext <<_ACEOF
11623 cat confdefs.h >>conftest.$ac_ext
11624 cat >>conftest.$ac_ext <<_ACEOF
11625 /* end confdefs.h. */
11626 $ac_includes_default
11627 #include <$ac_header>
11629 rm -f conftest.$ac_objext
11630 if { (ac_try="$ac_compile"
11631 case "(($ac_try" in
11632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11633 *) ac_try_echo=$ac_try;;
11635 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11636 (eval "$ac_compile") 2>conftest.er1
11638 grep -v '^ *+' conftest.er1 >conftest.err
11640 cat conftest.err >&5
11641 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11642 (exit $ac_status); } &&
11643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11644 { (case "(($ac_try" in
11645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11646 *) ac_try_echo=$ac_try;;
11648 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11649 (eval "$ac_try") 2>&5
11651 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11652 (exit $ac_status); }; } &&
11653 { ac_try='test -s conftest.$ac_objext'
11654 { (case "(($ac_try" in
11655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11656 *) ac_try_echo=$ac_try;;
11658 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11659 (eval "$ac_try") 2>&5
11661 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11662 (exit $ac_status); }; }; then
11663 ac_header_compiler=yes
11665 echo "$as_me: failed program was
:" >&5
11666 sed 's/^/| /' conftest.$ac_ext >&5
11668 ac_header_compiler=no
11671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11672 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11673 echo "${ECHO_T}$ac_header_compiler" >&6; }
11675 # Is the header present?
11676 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11677 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11678 cat >conftest.$ac_ext <<_ACEOF
11681 cat confdefs.h >>conftest.$ac_ext
11682 cat >>conftest.$ac_ext <<_ACEOF
11683 /* end confdefs.h. */
11684 #include <$ac_header>
11686 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11687 case "(($ac_try" in
11688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11689 *) ac_try_echo=$ac_try;;
11691 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11692 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11694 grep -v '^ *+' conftest.er1 >conftest.err
11696 cat conftest.err >&5
11697 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11698 (exit $ac_status); } >/dev/null; then
11699 if test -s conftest.err; then
11700 ac_cpp_err=$ac_c_preproc_warn_flag
11701 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11708 if test -z "$ac_cpp_err"; then
11709 ac_header_preproc=yes
11711 echo "$as_me: failed program was
:" >&5
11712 sed 's/^/| /' conftest.$ac_ext >&5
11714 ac_header_preproc=no
11717 rm -f conftest.err conftest.$ac_ext
11718 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11719 echo "${ECHO_T}$ac_header_preproc" >&6; }
11721 # So? What about this header?
11722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11724 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11725 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11726 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11727 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11728 ac_header_preproc=yes
11731 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11732 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11733 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11734 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11735 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11736 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11737 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11738 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11739 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11740 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11741 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11742 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11744 ## ----------------------------------- ##
11745 ## Report this to llvmbugs@cs.uiuc.edu ##
11746 ## ----------------------------------- ##
11748 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11751 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11752 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11753 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11754 echo $ECHO_N "(cached
) $ECHO_C" >&6
11756 eval "$as_ac_Header=\
$ac_header_preproc"
11758 ac_res=`eval echo '${'$as_ac_Header'}'`
11759 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11760 echo "${ECHO_T}$ac_res" >&6; }
11763 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11764 cat >>confdefs.h <<_ACEOF
11765 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11776 for ac_header in dl.h sys/dl.h dld.h mach-o/dyld.h
11778 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11779 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11780 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11781 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11782 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11783 echo $ECHO_N "(cached
) $ECHO_C" >&6
11785 ac_res=`eval echo '${'$as_ac_Header'}'`
11786 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11787 echo "${ECHO_T}$ac_res" >&6; }
11789 # Is the header compilable?
11790 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11791 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11792 cat >conftest.$ac_ext <<_ACEOF
11795 cat confdefs.h >>conftest.$ac_ext
11796 cat >>conftest.$ac_ext <<_ACEOF
11797 /* end confdefs.h. */
11798 $ac_includes_default
11799 #include <$ac_header>
11801 rm -f conftest.$ac_objext
11802 if { (ac_try="$ac_compile"
11803 case "(($ac_try" in
11804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11805 *) ac_try_echo=$ac_try;;
11807 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11808 (eval "$ac_compile") 2>conftest.er1
11810 grep -v '^ *+' conftest.er1 >conftest.err
11812 cat conftest.err >&5
11813 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11814 (exit $ac_status); } &&
11815 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11816 { (case "(($ac_try" in
11817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11818 *) ac_try_echo=$ac_try;;
11820 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11821 (eval "$ac_try") 2>&5
11823 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11824 (exit $ac_status); }; } &&
11825 { ac_try='test -s conftest.$ac_objext'
11826 { (case "(($ac_try" in
11827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11828 *) ac_try_echo=$ac_try;;
11830 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11831 (eval "$ac_try") 2>&5
11833 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11834 (exit $ac_status); }; }; then
11835 ac_header_compiler=yes
11837 echo "$as_me: failed program was
:" >&5
11838 sed 's/^/| /' conftest.$ac_ext >&5
11840 ac_header_compiler=no
11843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11844 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11845 echo "${ECHO_T}$ac_header_compiler" >&6; }
11847 # Is the header present?
11848 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11849 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11850 cat >conftest.$ac_ext <<_ACEOF
11853 cat confdefs.h >>conftest.$ac_ext
11854 cat >>conftest.$ac_ext <<_ACEOF
11855 /* end confdefs.h. */
11856 #include <$ac_header>
11858 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11859 case "(($ac_try" in
11860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11861 *) ac_try_echo=$ac_try;;
11863 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11864 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11866 grep -v '^ *+' conftest.er1 >conftest.err
11868 cat conftest.err >&5
11869 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11870 (exit $ac_status); } >/dev/null; then
11871 if test -s conftest.err; then
11872 ac_cpp_err=$ac_c_preproc_warn_flag
11873 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11880 if test -z "$ac_cpp_err"; then
11881 ac_header_preproc=yes
11883 echo "$as_me: failed program was
:" >&5
11884 sed 's/^/| /' conftest.$ac_ext >&5
11886 ac_header_preproc=no
11889 rm -f conftest.err conftest.$ac_ext
11890 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11891 echo "${ECHO_T}$ac_header_preproc" >&6; }
11893 # So? What about this header?
11894 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11896 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11897 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11898 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11899 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11900 ac_header_preproc=yes
11903 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11904 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11905 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11906 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11907 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11908 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11909 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11910 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11911 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11912 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11913 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11914 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11916 ## ----------------------------------- ##
11917 ## Report this to llvmbugs@cs.uiuc.edu ##
11918 ## ----------------------------------- ##
11920 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11923 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11924 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11925 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11926 echo $ECHO_N "(cached
) $ECHO_C" >&6
11928 eval "$as_ac_Header=\
$ac_header_preproc"
11930 ac_res=`eval echo '${'$as_ac_Header'}'`
11931 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11932 echo "${ECHO_T}$ac_res" >&6; }
11935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11936 cat >>confdefs.h <<_ACEOF
11937 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11946 for ac_header in string.h strings.h
11948 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11949 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11950 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11951 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11952 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11953 echo $ECHO_N "(cached
) $ECHO_C" >&6
11955 ac_res=`eval echo '${'$as_ac_Header'}'`
11956 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11957 echo "${ECHO_T}$ac_res" >&6; }
11959 # Is the header compilable?
11960 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11961 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11962 cat >conftest.$ac_ext <<_ACEOF
11965 cat confdefs.h >>conftest.$ac_ext
11966 cat >>conftest.$ac_ext <<_ACEOF
11967 /* end confdefs.h. */
11968 $ac_includes_default
11969 #include <$ac_header>
11971 rm -f conftest.$ac_objext
11972 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
11980 grep -v '^ *+' conftest.er1 >conftest.err
11982 cat conftest.err >&5
11983 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11984 (exit $ac_status); } &&
11985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11986 { (case "(($ac_try" in
11987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11988 *) ac_try_echo=$ac_try;;
11990 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11991 (eval "$ac_try") 2>&5
11993 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11994 (exit $ac_status); }; } &&
11995 { ac_try='test -s conftest.$ac_objext'
11996 { (case "(($ac_try" in
11997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11998 *) ac_try_echo=$ac_try;;
12000 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12001 (eval "$ac_try") 2>&5
12003 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12004 (exit $ac_status); }; }; then
12005 ac_header_compiler=yes
12007 echo "$as_me: failed program was
:" >&5
12008 sed 's/^/| /' conftest.$ac_ext >&5
12010 ac_header_compiler=no
12013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12014 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
12015 echo "${ECHO_T}$ac_header_compiler" >&6; }
12017 # Is the header present?
12018 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
12019 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
12020 cat >conftest.$ac_ext <<_ACEOF
12023 cat confdefs.h >>conftest.$ac_ext
12024 cat >>conftest.$ac_ext <<_ACEOF
12025 /* end confdefs.h. */
12026 #include <$ac_header>
12028 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12029 case "(($ac_try" in
12030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12031 *) ac_try_echo=$ac_try;;
12033 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12034 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12036 grep -v '^ *+' conftest.er1 >conftest.err
12038 cat conftest.err >&5
12039 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12040 (exit $ac_status); } >/dev/null; then
12041 if test -s conftest.err; then
12042 ac_cpp_err=$ac_c_preproc_warn_flag
12043 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12050 if test -z "$ac_cpp_err"; then
12051 ac_header_preproc=yes
12053 echo "$as_me: failed program was
:" >&5
12054 sed 's/^/| /' conftest.$ac_ext >&5
12056 ac_header_preproc=no
12059 rm -f conftest.err conftest.$ac_ext
12060 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
12061 echo "${ECHO_T}$ac_header_preproc" >&6; }
12063 # So? What about this header?
12064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12066 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
12067 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
12068 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
12069 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
12070 ac_header_preproc=yes
12073 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
12074 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
12075 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
12076 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
12077 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
12078 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
12079 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
12080 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
12081 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
12082 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
12083 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
12084 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
12086 ## ----------------------------------- ##
12087 ## Report this to llvmbugs@cs.uiuc.edu ##
12088 ## ----------------------------------- ##
12090 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
12093 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
12094 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
12095 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12096 echo $ECHO_N "(cached
) $ECHO_C" >&6
12098 eval "$as_ac_Header=\
$ac_header_preproc"
12100 ac_res=`eval echo '${'$as_ac_Header'}'`
12101 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12102 echo "${ECHO_T}$ac_res" >&6; }
12105 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12106 cat >>confdefs.h <<_ACEOF
12107 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
12117 for ac_func in strchr index
12119 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12120 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12121 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12122 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12123 echo $ECHO_N "(cached
) $ECHO_C" >&6
12125 cat >conftest.$ac_ext <<_ACEOF
12128 cat confdefs.h >>conftest.$ac_ext
12129 cat >>conftest.$ac_ext <<_ACEOF
12130 /* end confdefs.h. */
12131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12133 #define $ac_func innocuous_$ac_func
12135 /* System header to define __stub macros and hopefully few prototypes,
12136 which can conflict with char $ac_func (); below.
12137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12138 <limits.h> exists even on freestanding compilers. */
12141 # include <limits.h>
12143 # include <assert.h>
12148 /* Override any GCC internal prototype to avoid an error.
12149 Use char because int might match the return type of a GCC
12150 builtin and then its argument prototype would still apply. */
12155 /* The GNU C library defines this for functions which it implements
12156 to always fail with ENOSYS. Some functions are actually named
12157 something starting with __ and the normal name is an alias. */
12158 #if defined __stub_$ac_func || defined __stub___$ac_func
12165 return $ac_func ();
12170 rm -f conftest.$ac_objext conftest$ac_exeext
12171 if { (ac_try="$ac_link"
12172 case "(($ac_try" in
12173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12174 *) ac_try_echo=$ac_try;;
12176 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12177 (eval "$ac_link") 2>conftest.er1
12179 grep -v '^ *+' conftest.er1 >conftest.err
12181 cat conftest.err >&5
12182 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12183 (exit $ac_status); } &&
12184 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12185 { (case "(($ac_try" in
12186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12187 *) ac_try_echo=$ac_try;;
12189 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12190 (eval "$ac_try") 2>&5
12192 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12193 (exit $ac_status); }; } &&
12194 { ac_try='test -s conftest$ac_exeext'
12195 { (case "(($ac_try" in
12196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12197 *) ac_try_echo=$ac_try;;
12199 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12200 (eval "$ac_try") 2>&5
12202 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12203 (exit $ac_status); }; }; then
12204 eval "$as_ac_var=yes"
12206 echo "$as_me: failed program was
:" >&5
12207 sed 's/^/| /' conftest.$ac_ext >&5
12209 eval "$as_ac_var=no
"
12212 rm -f core conftest.err conftest.$ac_objext \
12213 conftest$ac_exeext conftest.$ac_ext
12215 ac_res=`eval echo '${'$as_ac_var'}'`
12216 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12217 echo "${ECHO_T}$ac_res" >&6; }
12218 if test `eval echo '${'$as_ac_var'}'` = yes; then
12219 cat >>confdefs.h <<_ACEOF
12220 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12228 for ac_func in strrchr rindex
12230 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12231 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12232 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12233 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12234 echo $ECHO_N "(cached
) $ECHO_C" >&6
12236 cat >conftest.$ac_ext <<_ACEOF
12239 cat confdefs.h >>conftest.$ac_ext
12240 cat >>conftest.$ac_ext <<_ACEOF
12241 /* end confdefs.h. */
12242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12244 #define $ac_func innocuous_$ac_func
12246 /* System header to define __stub macros and hopefully few prototypes,
12247 which can conflict with char $ac_func (); below.
12248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12249 <limits.h> exists even on freestanding compilers. */
12252 # include <limits.h>
12254 # include <assert.h>
12259 /* Override any GCC internal prototype to avoid an error.
12260 Use char because int might match the return type of a GCC
12261 builtin and then its argument prototype would still apply. */
12266 /* The GNU C library defines this for functions which it implements
12267 to always fail with ENOSYS. Some functions are actually named
12268 something starting with __ and the normal name is an alias. */
12269 #if defined __stub_$ac_func || defined __stub___$ac_func
12276 return $ac_func ();
12281 rm -f conftest.$ac_objext conftest$ac_exeext
12282 if { (ac_try="$ac_link"
12283 case "(($ac_try" in
12284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12285 *) ac_try_echo=$ac_try;;
12287 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12288 (eval "$ac_link") 2>conftest.er1
12290 grep -v '^ *+' conftest.er1 >conftest.err
12292 cat conftest.err >&5
12293 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12294 (exit $ac_status); } &&
12295 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12296 { (case "(($ac_try" in
12297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12298 *) ac_try_echo=$ac_try;;
12300 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12301 (eval "$ac_try") 2>&5
12303 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12304 (exit $ac_status); }; } &&
12305 { ac_try='test -s conftest$ac_exeext'
12306 { (case "(($ac_try" in
12307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12308 *) ac_try_echo=$ac_try;;
12310 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12311 (eval "$ac_try") 2>&5
12313 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12314 (exit $ac_status); }; }; then
12315 eval "$as_ac_var=yes"
12317 echo "$as_me: failed program was
:" >&5
12318 sed 's/^/| /' conftest.$ac_ext >&5
12320 eval "$as_ac_var=no
"
12323 rm -f core conftest.err conftest.$ac_objext \
12324 conftest$ac_exeext conftest.$ac_ext
12326 ac_res=`eval echo '${'$as_ac_var'}'`
12327 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12328 echo "${ECHO_T}$ac_res" >&6; }
12329 if test `eval echo '${'$as_ac_var'}'` = yes; then
12330 cat >>confdefs.h <<_ACEOF
12331 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12339 for ac_func in memcpy bcopy
12341 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12342 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12343 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12344 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12345 echo $ECHO_N "(cached
) $ECHO_C" >&6
12347 cat >conftest.$ac_ext <<_ACEOF
12350 cat confdefs.h >>conftest.$ac_ext
12351 cat >>conftest.$ac_ext <<_ACEOF
12352 /* end confdefs.h. */
12353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12355 #define $ac_func innocuous_$ac_func
12357 /* System header to define __stub macros and hopefully few prototypes,
12358 which can conflict with char $ac_func (); below.
12359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12360 <limits.h> exists even on freestanding compilers. */
12363 # include <limits.h>
12365 # include <assert.h>
12370 /* Override any GCC internal prototype to avoid an error.
12371 Use char because int might match the return type of a GCC
12372 builtin and then its argument prototype would still apply. */
12377 /* The GNU C library defines this for functions which it implements
12378 to always fail with ENOSYS. Some functions are actually named
12379 something starting with __ and the normal name is an alias. */
12380 #if defined __stub_$ac_func || defined __stub___$ac_func
12387 return $ac_func ();
12392 rm -f conftest.$ac_objext conftest$ac_exeext
12393 if { (ac_try="$ac_link"
12394 case "(($ac_try" in
12395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12396 *) ac_try_echo=$ac_try;;
12398 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12399 (eval "$ac_link") 2>conftest.er1
12401 grep -v '^ *+' conftest.er1 >conftest.err
12403 cat conftest.err >&5
12404 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12405 (exit $ac_status); } &&
12406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12407 { (case "(($ac_try" in
12408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12409 *) ac_try_echo=$ac_try;;
12411 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12412 (eval "$ac_try") 2>&5
12414 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12415 (exit $ac_status); }; } &&
12416 { ac_try='test -s conftest$ac_exeext'
12417 { (case "(($ac_try" in
12418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12419 *) ac_try_echo=$ac_try;;
12421 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12422 (eval "$ac_try") 2>&5
12424 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12425 (exit $ac_status); }; }; then
12426 eval "$as_ac_var=yes"
12428 echo "$as_me: failed program was
:" >&5
12429 sed 's/^/| /' conftest.$ac_ext >&5
12431 eval "$as_ac_var=no
"
12434 rm -f core conftest.err conftest.$ac_objext \
12435 conftest$ac_exeext conftest.$ac_ext
12437 ac_res=`eval echo '${'$as_ac_var'}'`
12438 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12439 echo "${ECHO_T}$ac_res" >&6; }
12440 if test `eval echo '${'$as_ac_var'}'` = yes; then
12441 cat >>confdefs.h <<_ACEOF
12442 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12450 for ac_func in memmove strcmp
12452 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12453 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12454 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12455 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12456 echo $ECHO_N "(cached
) $ECHO_C" >&6
12458 cat >conftest.$ac_ext <<_ACEOF
12461 cat confdefs.h >>conftest.$ac_ext
12462 cat >>conftest.$ac_ext <<_ACEOF
12463 /* end confdefs.h. */
12464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12466 #define $ac_func innocuous_$ac_func
12468 /* System header to define __stub macros and hopefully few prototypes,
12469 which can conflict with char $ac_func (); below.
12470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12471 <limits.h> exists even on freestanding compilers. */
12474 # include <limits.h>
12476 # include <assert.h>
12481 /* Override any GCC internal prototype to avoid an error.
12482 Use char because int might match the return type of a GCC
12483 builtin and then its argument prototype would still apply. */
12488 /* The GNU C library defines this for functions which it implements
12489 to always fail with ENOSYS. Some functions are actually named
12490 something starting with __ and the normal name is an alias. */
12491 #if defined __stub_$ac_func || defined __stub___$ac_func
12498 return $ac_func ();
12503 rm -f conftest.$ac_objext conftest$ac_exeext
12504 if { (ac_try="$ac_link"
12505 case "(($ac_try" in
12506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12507 *) ac_try_echo=$ac_try;;
12509 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12510 (eval "$ac_link") 2>conftest.er1
12512 grep -v '^ *+' conftest.er1 >conftest.err
12514 cat conftest.err >&5
12515 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12516 (exit $ac_status); } &&
12517 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12518 { (case "(($ac_try" in
12519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12520 *) ac_try_echo=$ac_try;;
12522 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12523 (eval "$ac_try") 2>&5
12525 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12526 (exit $ac_status); }; } &&
12527 { ac_try='test -s conftest$ac_exeext'
12528 { (case "(($ac_try" in
12529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12530 *) ac_try_echo=$ac_try;;
12532 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12533 (eval "$ac_try") 2>&5
12535 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12536 (exit $ac_status); }; }; then
12537 eval "$as_ac_var=yes"
12539 echo "$as_me: failed program was
:" >&5
12540 sed 's/^/| /' conftest.$ac_ext >&5
12542 eval "$as_ac_var=no
"
12545 rm -f core conftest.err conftest.$ac_objext \
12546 conftest$ac_exeext conftest.$ac_ext
12548 ac_res=`eval echo '${'$as_ac_var'}'`
12549 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12550 echo "${ECHO_T}$ac_res" >&6; }
12551 if test `eval echo '${'$as_ac_var'}'` = yes; then
12552 cat >>confdefs.h <<_ACEOF
12553 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12562 for ac_func in closedir opendir readdir
12564 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12565 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12566 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12567 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12568 echo $ECHO_N "(cached
) $ECHO_C" >&6
12570 cat >conftest.$ac_ext <<_ACEOF
12573 cat confdefs.h >>conftest.$ac_ext
12574 cat >>conftest.$ac_ext <<_ACEOF
12575 /* end confdefs.h. */
12576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12578 #define $ac_func innocuous_$ac_func
12580 /* System header to define __stub macros and hopefully few prototypes,
12581 which can conflict with char $ac_func (); below.
12582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12583 <limits.h> exists even on freestanding compilers. */
12586 # include <limits.h>
12588 # include <assert.h>
12593 /* Override any GCC internal prototype to avoid an error.
12594 Use char because int might match the return type of a GCC
12595 builtin and then its argument prototype would still apply. */
12600 /* The GNU C library defines this for functions which it implements
12601 to always fail with ENOSYS. Some functions are actually named
12602 something starting with __ and the normal name is an alias. */
12603 #if defined __stub_$ac_func || defined __stub___$ac_func
12610 return $ac_func ();
12615 rm -f conftest.$ac_objext conftest$ac_exeext
12616 if { (ac_try="$ac_link"
12617 case "(($ac_try" in
12618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12619 *) ac_try_echo=$ac_try;;
12621 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12622 (eval "$ac_link") 2>conftest.er1
12624 grep -v '^ *+' conftest.er1 >conftest.err
12626 cat conftest.err >&5
12627 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12628 (exit $ac_status); } &&
12629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12630 { (case "(($ac_try" in
12631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12632 *) ac_try_echo=$ac_try;;
12634 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12635 (eval "$ac_try") 2>&5
12637 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12638 (exit $ac_status); }; } &&
12639 { ac_try='test -s conftest$ac_exeext'
12640 { (case "(($ac_try" in
12641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12642 *) ac_try_echo=$ac_try;;
12644 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12645 (eval "$ac_try") 2>&5
12647 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12648 (exit $ac_status); }; }; then
12649 eval "$as_ac_var=yes"
12651 echo "$as_me: failed program was
:" >&5
12652 sed 's/^/| /' conftest.$ac_ext >&5
12654 eval "$as_ac_var=no
"
12657 rm -f core conftest.err conftest.$ac_objext \
12658 conftest$ac_exeext conftest.$ac_ext
12660 ac_res=`eval echo '${'$as_ac_var'}'`
12661 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12662 echo "${ECHO_T}$ac_res" >&6; }
12663 if test `eval echo '${'$as_ac_var'}'` = yes; then
12664 cat >>confdefs.h <<_ACEOF
12665 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12672 # Check whether --enable-shared was given.
12673 if test "${enable_shared+set}" = set; then
12674 enableval=$enable_shared; p=${PACKAGE-default}
12676 yes) enable_shared=yes ;;
12677 no) enable_shared=no ;;
12680 # Look at the argument we got. We use all the common list separators.
12681 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12682 for pkg in $enableval; do
12684 if test "X
$pkg" = "X
$p"; then
12696 # Check whether --enable-static was given.
12697 if test "${enable_static+set}" = set; then
12698 enableval=$enable_static; p=${PACKAGE-default}
12700 yes) enable_static=yes ;;
12701 no) enable_static=no ;;
12704 # Look at the argument we got. We use all the common list separators.
12705 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12706 for pkg in $enableval; do
12708 if test "X
$pkg" = "X
$p"; then
12720 # Check whether --enable-fast-install was given.
12721 if test "${enable_fast_install+set}" = set; then
12722 enableval=$enable_fast_install; p=${PACKAGE-default}
12724 yes) enable_fast_install=yes ;;
12725 no) enable_fast_install=no ;;
12727 enable_fast_install=no
12728 # Look at the argument we got. We use all the common list separators.
12729 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12730 for pkg in $enableval; do
12732 if test "X
$pkg" = "X
$p"; then
12733 enable_fast_install=yes
12740 enable_fast_install=yes
12744 { echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
12745 echo $ECHO_N "checking
for a
sed that does not truncate output...
$ECHO_C" >&6; }
12746 if test "${lt_cv_path_SED+set}" = set; then
12747 echo $ECHO_N "(cached
) $ECHO_C" >&6
12749 # Loop through the user's path and test for sed and gsed.
12750 # Then use that list of sed's as ones to test for truncation.
12751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12752 for as_dir in $PATH
12755 test -z "$as_dir" && as_dir=.
12756 for lt_ac_prog in sed gsed; do
12757 for ac_exec_ext in '' $ac_executable_extensions; do
12758 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
12759 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
12766 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
12767 # along with /bin/sed that truncates output.
12768 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
12769 test ! -f $lt_ac_sed && continue
12770 cat /dev/null > conftest.in
12772 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
12773 # Check for GNU sed and select it if it is found.
12774 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
12775 lt_cv_path_SED=$lt_ac_sed
12779 cat conftest.in conftest.in >conftest.tmp
12780 mv conftest.tmp conftest.in
12781 cp conftest.in conftest.nl
12783 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
12784 cmp -s conftest.out conftest.nl || break
12785 # 10000 chars as input seems more than enough
12786 test $lt_ac_count -gt 10 && break
12787 lt_ac_count=`expr $lt_ac_count + 1`
12788 if test $lt_ac_count -gt $lt_ac_max; then
12789 lt_ac_max=$lt_ac_count
12790 lt_cv_path_SED=$lt_ac_sed
12797 SED=$lt_cv_path_SED
12798 { echo "$as_me:$LINENO: result
: $SED" >&5
12799 echo "${ECHO_T}$SED" >&6; }
12802 # Check whether --with-gnu-ld was given.
12803 if test "${with_gnu_ld+set}" = set; then
12804 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12810 if test "$GCC" = yes; then
12811 # Check if gcc -print-prog-name=ld gives a path.
12812 { echo "$as_me:$LINENO: checking
for ld used by
$CC" >&5
12813 echo $ECHO_N "checking
for ld used by
$CC...
$ECHO_C" >&6; }
12816 # gcc leaves a trailing carriage return which upsets mingw
12817 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12819 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12822 # Accept absolute paths.
12824 re_direlt='/[^/][^/]*/\.\./'
12825 # Canonicalize the pathname of ld
12826 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12827 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12828 ac_prog=`echo $ac_prog| $SED "s
%$re_direlt%/%"`
12830 test -z "$LD" && LD="$ac_prog"
12833 # If it fails, then pretend we aren't using GCC.
12837 # If it is relative, then search for the first ld in PATH.
12838 with_gnu_ld=unknown
12841 elif test "$with_gnu_ld" = yes; then
12842 { echo "$as_me:$LINENO: checking
for GNU ld
" >&5
12843 echo $ECHO_N "checking
for GNU ld...
$ECHO_C" >&6; }
12845 { echo "$as_me:$LINENO: checking
for non-GNU ld
" >&5
12846 echo $ECHO_N "checking
for non-GNU ld...
$ECHO_C" >&6; }
12848 if test "${lt_cv_path_LD+set}" = set; then
12849 echo $ECHO_N "(cached
) $ECHO_C" >&6
12851 if test -z "$LD"; then
12852 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12853 for ac_dir in $PATH; do
12855 test -z "$ac_dir" && ac_dir=.
12856 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12857 lt_cv_path_LD="$ac_dir/$ac_prog"
12858 # Check to see if the program is GNU ld. I'd rather use --version,
12859 # but apparently some variants of GNU ld only accept -v.
12860 # Break only if it was the GNU/non-GNU ld that we prefer.
12861 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12862 *GNU* | *'with BFD'*)
12863 test "$with_gnu_ld" != no && break
12866 test "$with_gnu_ld" != yes && break
12873 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12877 LD="$lt_cv_path_LD"
12878 if test -n "$LD"; then
12879 { echo "$as_me:$LINENO: result
: $LD" >&5
12880 echo "${ECHO_T}$LD" >&6; }
12882 { echo "$as_me:$LINENO: result
: no
" >&5
12883 echo "${ECHO_T}no
" >&6; }
12885 test -z "$LD" && { { echo "$as_me:$LINENO: error
: no acceptable ld found
in \
$PATH" >&5
12886 echo "$as_me: error
: no acceptable ld found
in \
$PATH" >&2;}
12887 { (exit 1); exit 1; }; }
12888 { echo "$as_me:$LINENO: checking
if the linker
($LD) is GNU ld
" >&5
12889 echo $ECHO_N "checking
if the linker
($LD) is GNU ld...
$ECHO_C" >&6; }
12890 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12891 echo $ECHO_N "(cached
) $ECHO_C" >&6
12893 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12894 case `$LD -v 2>&1 </dev/null` in
12895 *GNU* | *'with BFD'*)
12896 lt_cv_prog_gnu_ld=yes
12899 lt_cv_prog_gnu_ld=no
12903 { echo "$as_me:$LINENO: result
: $lt_cv_prog_gnu_ld" >&5
12904 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12905 with_gnu_ld=$lt_cv_prog_gnu_ld
12908 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
12909 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
12910 if test "${lt_cv_ld_reload_flag+set}" = set; then
12911 echo $ECHO_N "(cached
) $ECHO_C" >&6
12913 lt_cv_ld_reload_flag='-r'
12915 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
12916 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
12917 reload_flag=$lt_cv_ld_reload_flag
12918 case $reload_flag in
12920 *) reload_flag=" $reload_flag" ;;
12922 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12925 if test "$GCC" = yes; then
12926 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r $compiler_flags -o $output$reload_objs'
12928 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12933 { echo "$as_me:$LINENO: checking how to recognise dependent libraries
" >&5
12934 echo $ECHO_N "checking how to recognise dependent libraries...
$ECHO_C" >&6; }
12935 if test "${lt_cv_deplibs_check_method+set}" = set; then
12936 echo $ECHO_N "(cached
) $ECHO_C" >&6
12938 lt_cv_file_magic_cmd='$MAGIC_CMD'
12939 lt_cv_file_magic_test_file=
12940 lt_cv_deplibs_check_method='unknown'
12941 # Need to set the preceding variable on all platforms that support
12942 # interlibrary dependencies.
12943 # 'none' -- dependencies not supported.
12944 # `unknown' -- same as none, but documents that we really don't know.
12945 # 'pass_all' -- all dependencies passed with no checks.
12946 # 'test_compile' -- check by making test program.
12947 # 'file_magic [[regex]]' -- check by looking for files in library path
12948 # which responds to the $file_magic_cmd with a given extended regex.
12949 # If you have `file' or equivalent on your system and you're not sure
12950 # whether `pass_all' will *always* work, you probably want this one.
12954 lt_cv_deplibs_check_method=pass_all
12958 lt_cv_deplibs_check_method=pass_all
12962 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
12963 lt_cv_file_magic_cmd='/usr/bin/file -L'
12964 lt_cv_file_magic_test_file=/shlib/libc.so
12968 # func_win32_libid is a shell function defined in ltmain.sh
12969 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12970 lt_cv_file_magic_cmd='func_win32_libid'
12974 # Base MSYS/MinGW do not provide the 'file' command needed by
12975 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
12976 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
12977 lt_cv_file_magic_cmd='$OBJDUMP -f'
12980 darwin* | rhapsody*)
12981 lt_cv_deplibs_check_method=pass_all
12984 freebsd* | kfreebsd*-gnu | dragonfly*)
12985 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12988 # Not sure whether the presence of OpenBSD here was a mistake.
12989 # Let's accept both of them until this is cleared up.
12990 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
12991 lt_cv_file_magic_cmd=/usr/bin/file
12992 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12996 lt_cv_deplibs_check_method=pass_all
13001 lt_cv_deplibs_check_method=pass_all
13004 hpux10.20* | hpux11*)
13005 lt_cv_file_magic_cmd=/usr/bin/file
13008 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
13009 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
13012 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]'
13013 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
13016 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
13017 lt_cv_file_magic_test_file=/usr/lib/libc.sl
13023 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
13024 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
13027 irix5* | irix6* | nonstopux*)
13029 *-32|*"-32 ") libmagic=32-bit;;
13030 *-n32|*"-n32 ") libmagic=N32;;
13031 *-64|*"-64 ") libmagic=64-bit;;
13032 *) libmagic=never-match;;
13034 lt_cv_deplibs_check_method=pass_all
13037 # This must be Linux ELF.
13039 lt_cv_deplibs_check_method=pass_all
13043 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
13044 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
13046 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
13051 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
13052 lt_cv_file_magic_cmd=/usr/bin/file
13053 lt_cv_file_magic_test_file=/usr/lib/libnls.so
13057 lt_cv_deplibs_check_method=unknown
13061 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
13062 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
13064 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
13068 osf3* | osf4* | osf5*)
13069 lt_cv_deplibs_check_method=pass_all
13073 lt_cv_deplibs_check_method=pass_all
13077 case $host_vendor in
13079 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]'
13080 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
13083 lt_cv_deplibs_check_method=pass_all
13086 lt_cv_file_magic_cmd='/bin/file'
13087 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
13090 lt_cv_file_magic_cmd='/bin/file'
13091 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
13092 lt_cv_file_magic_test_file=/lib/libc.so
13095 lt_cv_deplibs_check_method=pass_all
13098 lt_cv_deplibs_check_method=pass_all
13103 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13104 lt_cv_deplibs_check_method=pass_all
13109 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
13110 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
13111 file_magic_cmd=$lt_cv_file_magic_cmd
13112 deplibs_check_method=$lt_cv_deplibs_check_method
13113 test -z "$deplibs_check_method" && deplibs_check_method=unknown
13117 # If no C compiler was specified, use CC.
13120 # If no C compiler flags were specified, use CFLAGS.
13121 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13123 # Allow CC to be a program name with arguments.
13126 # Check whether --enable-libtool-lock was given.
13127 if test "${enable_libtool_lock+set}" = set; then
13128 enableval=$enable_libtool_lock;
13131 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
13133 # Some flags need to be propagated to the compiler or linker for good
13137 # Find out which ABI we are using.
13138 echo 'int i;' > conftest.$ac_ext
13139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13140 (eval $ac_compile) 2>&5
13142 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13143 (exit $ac_status); }; then
13144 case `/usr/bin/file conftest.$ac_objext` in
13146 HPUX_IA64_MODE="32"
13149 HPUX_IA64_MODE="64"
13156 # Find out which ABI we are using.
13157 echo '#line 13157 "configure
"' > conftest.$ac_ext
13158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13159 (eval $ac_compile) 2>&5
13161 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13162 (exit $ac_status); }; then
13163 if test "$lt_cv_prog_gnu_ld" = yes; then
13164 case `/usr/bin/file conftest.$ac_objext` in
13166 LD="${LD-ld} -melf32bsmip"
13169 LD="${LD-ld} -melf32bmipn32"
13172 LD="${LD-ld} -melf64bmip"
13176 case `/usr/bin/file conftest.$ac_objext` in
13192 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
13193 # Find out which ABI we are using.
13194 echo 'int i;' > conftest.$ac_ext
13195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13196 (eval $ac_compile) 2>&5
13198 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13199 (exit $ac_status); }; then
13200 case `/usr/bin/file conftest.o` in
13204 LD="${LD-ld} -m elf_i386
"
13206 ppc64-*linux*|powerpc64-*linux*)
13207 LD="${LD-ld} -m elf32ppclinux
"
13210 LD="${LD-ld} -m elf_s390
"
13213 LD="${LD-ld} -m elf32_sparc
"
13220 LD="${LD-ld} -m elf_x86_64
"
13222 ppc*-*linux*|powerpc*-*linux*)
13223 LD="${LD-ld} -m elf64ppc
"
13226 LD="${LD-ld} -m elf64_s390
"
13229 LD="${LD-ld} -m elf64_sparc
"
13239 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
13240 SAVE_CFLAGS="$CFLAGS"
13241 CFLAGS="$CFLAGS -belf"
13242 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
13243 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
13244 if test "${lt_cv_cc_needs_belf+set}" = set; then
13245 echo $ECHO_N "(cached
) $ECHO_C" >&6
13248 ac_cpp='$CPP $CPPFLAGS'
13249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13253 cat >conftest.$ac_ext <<_ACEOF
13256 cat confdefs.h >>conftest.$ac_ext
13257 cat >>conftest.$ac_ext <<_ACEOF
13258 /* end confdefs.h. */
13268 rm -f conftest.$ac_objext conftest$ac_exeext
13269 if { (ac_try="$ac_link"
13270 case "(($ac_try" in
13271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13272 *) ac_try_echo=$ac_try;;
13274 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13275 (eval "$ac_link") 2>conftest.er1
13277 grep -v '^ *+' conftest.er1 >conftest.err
13279 cat conftest.err >&5
13280 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13281 (exit $ac_status); } &&
13282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13283 { (case "(($ac_try" in
13284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13285 *) ac_try_echo=$ac_try;;
13287 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13288 (eval "$ac_try") 2>&5
13290 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13291 (exit $ac_status); }; } &&
13292 { ac_try='test -s conftest$ac_exeext'
13293 { (case "(($ac_try" in
13294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13295 *) ac_try_echo=$ac_try;;
13297 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13298 (eval "$ac_try") 2>&5
13300 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13301 (exit $ac_status); }; }; then
13302 lt_cv_cc_needs_belf=yes
13304 echo "$as_me: failed program was
:" >&5
13305 sed 's/^/| /' conftest.$ac_ext >&5
13307 lt_cv_cc_needs_belf=no
13310 rm -f core conftest.err conftest.$ac_objext \
13311 conftest$ac_exeext conftest.$ac_ext
13313 ac_cpp='$CPP $CPPFLAGS'
13314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13319 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
13320 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
13321 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
13322 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
13323 CFLAGS="$SAVE_CFLAGS"
13327 # Find out which ABI we are using.
13328 echo 'int i;' > conftest.$ac_ext
13329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13330 (eval $ac_compile) 2>&5
13332 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13333 (exit $ac_status); }; then
13334 case `/usr/bin/file conftest.o` in
13336 case $lt_cv_prog_gnu_ld in
13337 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
13338 *) LD="${LD-ld} -64" ;;
13349 need_locks="$enable_libtool_lock"
13354 if test -n "$CXX" && ( test "X
$CXX" != "Xno
" &&
13355 ( (test "X
$CXX" = "Xg
++" && `g++ -v >/dev/null 2>&1` ) ||
13356 (test "X
$CXX" != "Xg
++"))) ; then
13358 ac_cpp='$CXXCPP $CPPFLAGS'
13359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13362 { echo "$as_me:$LINENO: checking how to run the C
++ preprocessor
" >&5
13363 echo $ECHO_N "checking how to run the C
++ preprocessor...
$ECHO_C" >&6; }
13364 if test -z "$CXXCPP"; then
13365 if test "${ac_cv_prog_CXXCPP+set}" = set; then
13366 echo $ECHO_N "(cached
) $ECHO_C" >&6
13368 # Double quotes because CXXCPP needs to be expanded
13369 for CXXCPP in "$CXX -E" "/lib
/cpp
"
13371 ac_preproc_ok=false
13372 for ac_cxx_preproc_warn_flag in '' yes
13374 # Use a header file that comes with gcc, so configuring glibc
13375 # with a fresh cross-compiler works.
13376 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13377 # <limits.h> exists even on freestanding compilers.
13378 # On the NeXT, cc -E runs the code through the compiler's parser,
13379 # not just through cpp. "Syntax error
" is here to catch this case.
13380 cat >conftest.$ac_ext <<_ACEOF
13383 cat confdefs.h >>conftest.$ac_ext
13384 cat >>conftest.$ac_ext <<_ACEOF
13385 /* end confdefs.h. */
13387 # include <limits.h>
13389 # include <assert.h>
13393 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13394 case "(($ac_try" in
13395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13396 *) ac_try_echo=$ac_try;;
13398 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13399 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13401 grep -v '^ *+' conftest.er1 >conftest.err
13403 cat conftest.err >&5
13404 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13405 (exit $ac_status); } >/dev/null; then
13406 if test -s conftest.err; then
13407 ac_cpp_err=$ac_cxx_preproc_warn_flag
13408 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13415 if test -z "$ac_cpp_err"; then
13418 echo "$as_me: failed program was
:" >&5
13419 sed 's/^/| /' conftest.$ac_ext >&5
13421 # Broken: fails on valid input.
13425 rm -f conftest.err conftest.$ac_ext
13427 # OK, works on sane cases. Now check whether nonexistent headers
13428 # can be detected and how.
13429 cat >conftest.$ac_ext <<_ACEOF
13432 cat confdefs.h >>conftest.$ac_ext
13433 cat >>conftest.$ac_ext <<_ACEOF
13434 /* end confdefs.h. */
13435 #include <ac_nonexistent.h>
13437 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13438 case "(($ac_try" in
13439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13440 *) ac_try_echo=$ac_try;;
13442 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13443 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13445 grep -v '^ *+' conftest.er1 >conftest.err
13447 cat conftest.err >&5
13448 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13449 (exit $ac_status); } >/dev/null; then
13450 if test -s conftest.err; then
13451 ac_cpp_err=$ac_cxx_preproc_warn_flag
13452 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13459 if test -z "$ac_cpp_err"; then
13460 # Broken: success on invalid input.
13463 echo "$as_me: failed program was
:" >&5
13464 sed 's/^/| /' conftest.$ac_ext >&5
13466 # Passes both tests.
13471 rm -f conftest.err conftest.$ac_ext
13474 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13475 rm -f conftest.err conftest.$ac_ext
13476 if $ac_preproc_ok; then
13481 ac_cv_prog_CXXCPP=$CXXCPP
13484 CXXCPP=$ac_cv_prog_CXXCPP
13486 ac_cv_prog_CXXCPP=$CXXCPP
13488 { echo "$as_me:$LINENO: result
: $CXXCPP" >&5
13489 echo "${ECHO_T}$CXXCPP" >&6; }
13490 ac_preproc_ok=false
13491 for ac_cxx_preproc_warn_flag in '' yes
13493 # Use a header file that comes with gcc, so configuring glibc
13494 # with a fresh cross-compiler works.
13495 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13496 # <limits.h> exists even on freestanding compilers.
13497 # On the NeXT, cc -E runs the code through the compiler's parser,
13498 # not just through cpp. "Syntax error
" is here to catch this case.
13499 cat >conftest.$ac_ext <<_ACEOF
13502 cat confdefs.h >>conftest.$ac_ext
13503 cat >>conftest.$ac_ext <<_ACEOF
13504 /* end confdefs.h. */
13506 # include <limits.h>
13508 # include <assert.h>
13512 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13513 case "(($ac_try" in
13514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13515 *) ac_try_echo=$ac_try;;
13517 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13518 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13520 grep -v '^ *+' conftest.er1 >conftest.err
13522 cat conftest.err >&5
13523 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13524 (exit $ac_status); } >/dev/null; then
13525 if test -s conftest.err; then
13526 ac_cpp_err=$ac_cxx_preproc_warn_flag
13527 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13534 if test -z "$ac_cpp_err"; then
13537 echo "$as_me: failed program was
:" >&5
13538 sed 's/^/| /' conftest.$ac_ext >&5
13540 # Broken: fails on valid input.
13544 rm -f conftest.err conftest.$ac_ext
13546 # OK, works on sane cases. Now check whether nonexistent headers
13547 # can be detected and how.
13548 cat >conftest.$ac_ext <<_ACEOF
13551 cat confdefs.h >>conftest.$ac_ext
13552 cat >>conftest.$ac_ext <<_ACEOF
13553 /* end confdefs.h. */
13554 #include <ac_nonexistent.h>
13556 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13557 case "(($ac_try" in
13558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13559 *) ac_try_echo=$ac_try;;
13561 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13562 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13564 grep -v '^ *+' conftest.er1 >conftest.err
13566 cat conftest.err >&5
13567 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13568 (exit $ac_status); } >/dev/null; then
13569 if test -s conftest.err; then
13570 ac_cpp_err=$ac_cxx_preproc_warn_flag
13571 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13578 if test -z "$ac_cpp_err"; then
13579 # Broken: success on invalid input.
13582 echo "$as_me: failed program was
:" >&5
13583 sed 's/^/| /' conftest.$ac_ext >&5
13585 # Passes both tests.
13590 rm -f conftest.err conftest.$ac_ext
13593 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13594 rm -f conftest.err conftest.$ac_ext
13595 if $ac_preproc_ok; then
13598 { { echo "$as_me:$LINENO: error
: C
++ preprocessor
\"$CXXCPP\" fails sanity check
13599 See \
`config.log' for more details." >&5
13600 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13601 See \`config.log
' for more details." >&2;}
13602 { (exit 1); exit 1; }; }
13606 ac_cpp='$CXXCPP $CPPFLAGS'
13607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13608 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13615 ac_compile='$F77 -c $FFLAGS conftest.
$ac_ext >&5'
13616 ac_link='$F77 -o conftest
$ac_exeext $FFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13617 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13618 if test -n "$ac_tool_prefix"; then
13619 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
13621 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13622 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13625 if test "${ac_cv_prog_F77+set}" = set; then
13626 echo $ECHO_N "(cached) $ECHO_C" >&6
13628 if test -n "$F77"; then
13629 ac_cv_prog_F77="$F77" # Let the user override the test.
13631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13632 for as_dir in $PATH
13635 test -z "$as_dir" && as_dir=.
13636 for ac_exec_ext in '' $ac_executable_extensions; do
13637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13638 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
13639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13648 F77=$ac_cv_prog_F77
13649 if test -n "$F77"; then
13650 { echo "$as_me:$LINENO: result: $F77" >&5
13651 echo "${ECHO_T}$F77" >&6; }
13653 { echo "$as_me:$LINENO: result: no" >&5
13654 echo "${ECHO_T}no" >&6; }
13658 test -n "$F77" && break
13661 if test -z "$F77"; then
13663 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
13665 # Extract the first word of "$ac_prog", so it can be a program name with args.
13666 set dummy $ac_prog; ac_word=$2
13667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13669 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
13670 echo $ECHO_N "(cached) $ECHO_C" >&6
13672 if test -n "$ac_ct_F77"; then
13673 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
13675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13676 for as_dir in $PATH
13679 test -z "$as_dir" && as_dir=.
13680 for ac_exec_ext in '' $ac_executable_extensions; do
13681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13682 ac_cv_prog_ac_ct_F77="$ac_prog"
13683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13692 ac_ct_F77=$ac_cv_prog_ac_ct_F77
13693 if test -n "$ac_ct_F77"; then
13694 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
13695 echo "${ECHO_T}$ac_ct_F77" >&6; }
13697 { echo "$as_me:$LINENO: result: no" >&5
13698 echo "${ECHO_T}no" >&6; }
13702 test -n "$ac_ct_F77" && break
13705 if test "x$ac_ct_F77" = x; then
13708 case $cross_compiling:$ac_tool_warned in
13710 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13711 whose name does not start with the host triplet. If you think this
13712 configuration is useful to you, please write to autoconf@gnu.org." >&5
13713 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13714 whose name does not start with the host triplet. If you think this
13715 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13716 ac_tool_warned=yes ;;
13723 # Provide some information about the compiler.
13724 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
13725 ac_compiler=`set X $ac_compile; echo $2`
13726 { (ac_try="$ac_compiler --version >&5"
13727 case "(($ac_try" in
13728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13729 *) ac_try_echo=$ac_try;;
13731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13732 (eval "$ac_compiler --version >&5") 2>&5
13734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13735 (exit $ac_status); }
13736 { (ac_try="$ac_compiler -v >&5"
13737 case "(($ac_try" in
13738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13739 *) ac_try_echo=$ac_try;;
13741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13742 (eval "$ac_compiler -v >&5") 2>&5
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); }
13746 { (ac_try="$ac_compiler -V >&5"
13747 case "(($ac_try" in
13748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13749 *) ac_try_echo=$ac_try;;
13751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13752 (eval "$ac_compiler -V >&5") 2>&5
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 (exit $ac_status); }
13758 # If we don't use
`.F' as extension, the preprocessor is not run on the
13759 # input file. (Note that this only needs to work for GNU compilers.)
13760 ac_save_ext=$ac_ext
13762 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
13763 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
13764 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
13765 echo $ECHO_N "(cached) $ECHO_C" >&6
13767 cat >conftest.$ac_ext <<_ACEOF
13775 rm -f conftest.$ac_objext
13776 if { (ac_try="$ac_compile"
13777 case "(($ac_try" in
13778 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13779 *) ac_try_echo
=$ac_try;;
13781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13782 (eval "$ac_compile") 2>conftest.er1
13784 grep -v '^ *+' conftest.er1
>conftest.err
13786 cat conftest.err
>&5
13787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13788 (exit $ac_status); } &&
13789 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13790 { (case "(($ac_try" in
13791 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13792 *) ac_try_echo=$ac_try;;
13794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13795 (eval "$ac_try") 2>&5
13797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13798 (exit $ac_status); }; } &&
13799 { ac_try='test -s conftest.$ac_objext'
13800 { (case "(($ac_try" in
13801 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13802 *) ac_try_echo
=$ac_try;;
13804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13805 (eval "$ac_try") 2>&5
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); }; }; then
13809 ac_compiler_gnu
=yes
13811 echo "$as_me: failed program was:" >&5
13812 sed 's/^/| /' conftest.
$ac_ext >&5
13817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13818 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
13821 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
13822 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
13823 ac_ext
=$ac_save_ext
13824 ac_test_FFLAGS
=${FFLAGS+set}
13825 ac_save_FFLAGS
=$FFLAGS
13827 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
13828 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
13829 if test "${ac_cv_prog_f77_g+set}" = set; then
13830 echo $ECHO_N "(cached) $ECHO_C" >&6
13833 cat >conftest.
$ac_ext <<_ACEOF
13838 rm -f conftest.
$ac_objext
13839 if { (ac_try
="$ac_compile"
13840 case "(($ac_try" in
13841 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13842 *) ac_try_echo=$ac_try;;
13844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13845 (eval "$ac_compile") 2>conftest.er1
13847 grep -v '^ *+' conftest.er1 >conftest.err
13849 cat conftest.err >&5
13850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13851 (exit $ac_status); } &&
13852 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13853 { (case "(($ac_try" in
13854 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13855 *) ac_try_echo
=$ac_try;;
13857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13858 (eval "$ac_try") 2>&5
13860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13861 (exit $ac_status); }; } &&
13862 { ac_try
='test -s conftest.$ac_objext'
13863 { (case "(($ac_try" in
13864 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13865 *) ac_try_echo=$ac_try;;
13867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13868 (eval "$ac_try") 2>&5
13870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13871 (exit $ac_status); }; }; then
13872 ac_cv_prog_f77_g=yes
13874 echo "$as_me: failed program was:" >&5
13875 sed 's/^/| /' conftest.$ac_ext >&5
13877 ac_cv_prog_f77_g=no
13880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13883 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
13884 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
13885 if test "$ac_test_FFLAGS" = set; then
13886 FFLAGS=$ac_save_FFLAGS
13887 elif test $ac_cv_prog_f77_g = yes; then
13888 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13894 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13901 G77=`test $ac_compiler_gnu = yes && echo yes`
13903 ac_cpp='$CPP $CPPFLAGS'
13904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13910 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
13912 # find the maximum length of command line arguments
13913 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
13914 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
13915 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
13916 echo $ECHO_N "(cached) $ECHO_C" >&6
13923 # On DJGPP, this test can blow up pretty badly due to problems in libc
13924 # (any single argument exceeding 2000 bytes causes a buffer overrun
13925 # during glob expansion). Even if it were fixed, the result of this
13926 # check would be larger than it should be.
13927 lt_cv_sys_max_cmd_len=12288; # 12K is about right
13931 # Under GNU Hurd, this test is not required because there is
13932 # no limit to the length of command line arguments.
13933 # Libtool will interpret -1 as no limit whatsoever
13934 lt_cv_sys_max_cmd_len=-1;
13938 # On Win9x/ME, this test blows up -- it succeeds, but takes
13939 # about 5 minutes as the teststring grows exponentially.
13940 # Worse, since 9x/ME are not pre-emptively multitasking,
13941 # you end up with a "frozen" computer, even though with patience
13942 # the test eventually succeeds (with a max line length of 256k).
13943 # Instead, let's just punt: use the minimum linelength reported by
13944 # all of the supported platforms: 8192 (on NT/2K/XP).
13945 lt_cv_sys_max_cmd_len=8192;
13949 # On AmigaOS with pdksh, this test takes hours, literally.
13950 # So we just punt and use a minimum line length of 8192.
13951 lt_cv_sys_max_cmd_len=8192;
13954 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
13955 # This has been around since 386BSD, at least. Likely further.
13956 if test -x /sbin/sysctl; then
13957 lt_cv_sys_max_cmd_len=`/sbin
/sysctl
-n kern.argmax
`
13958 elif test -x /usr/sbin/sysctl; then
13959 lt_cv_sys_max_cmd_len=`/usr
/sbin
/sysctl
-n kern.argmax
`
13961 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
13963 # And add a safety zone
13964 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
13965 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
13969 # We know the value 262144 and hardcode it with a safety zone (like BSD)
13970 lt_cv_sys_max_cmd_len=196608
13974 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
13975 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
13976 # nice to cause kernel panics so lets avoid the loop below.
13977 # First set a reasonable default.
13978 lt_cv_sys_max_cmd_len=16384
13980 if test -x /sbin/sysconfig; then
13981 case `/sbin
/sysconfig
-q proc exec_disable_arg_limit
` in
13982 *1*) lt_cv_sys_max_cmd_len=-1 ;;
13987 lt_cv_sys_max_cmd_len=102400
13989 sysv5* | sco5v6* | sysv4.2uw2*)
13990 kargmax=`grep ARG_MAX
/etc
/conf
/cf.d
/stune
2>/dev
/null
`
13991 if test -n "$kargmax"; then
13992 lt_cv_sys_max_cmd_len=`echo $kargmax |
sed 's/.*[ ]//'`
13994 lt_cv_sys_max_cmd_len=32768
13998 # If test is not a shell built-in, we'll probably end up computing a
13999 # maximum length that is only half of the actual maximum length, but
14001 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
14002 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev
/null
` \
14003 = "XX$teststring") >/dev/null 2>&1 &&
14004 new_result=`expr "X$teststring" : ".*" 2>&1` &&
14005 lt_cv_sys_max_cmd_len=$new_result &&
14006 test $i != 17 # 1/2 MB should be enough
14009 teststring=$teststring$teststring
14012 # Add a significant safety factor because C++ compilers can tack on massive
14013 # amounts of additional arguments before passing them to the linker.
14014 # It appears as though 1/2 is a usable value.
14015 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 2`
14021 if test -n $lt_cv_sys_max_cmd_len ; then
14022 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
14023 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
14025 { echo "$as_me:$LINENO: result: none" >&5
14026 echo "${ECHO_T}none" >&6; }
14032 # Check for command to grab the raw symbol name followed by C symbol from nm.
14033 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
14034 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
14035 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
14036 echo $ECHO_N "(cached) $ECHO_C" >&6
14039 # These are sane defaults that work on at least a few old systems.
14040 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
14042 # Character class describing NM global symbol codes.
14043 symcode='[BCDEGRST]'
14045 # Regexp to match symbols that can be accessed directly from C.
14046 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
14048 # Transform an extracted symbol line into a proper C declaration
14049 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
14051 # Transform an extracted symbol line into symbol name and symbol address
14052 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'"
14054 # Define system-specific variables.
14059 cygwin* | mingw* | pw32*)
14060 symcode='[ABCDGISTW]'
14062 hpux*) # Its linker distinguishes data from code symbols
14063 if test "$host_cpu" = ia64; then
14064 symcode='[ABCDEGRST]'
14066 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
14067 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'"
14070 if test "$host_cpu" = ia64; then
14071 symcode='[ABCDGIRSTW]'
14072 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
14073 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'"
14076 irix* | nonstopux*)
14077 symcode='[BCDEGRST]'
14080 symcode='[BCDEGQRST]'
14091 sysv5* | sco5v6* | unixware* | OpenUNIX*)
14099 # Handle CRLF in mingw tool chain
14103 opt_cr=`echo 'x\{0,1\}' |
tr x
'\015'` # option cr in regexp
14107 # If we're using GNU nm, then use its standard symbol codes.
14108 case `$NM -V 2>&1` in
14109 *GNU* | *'with BFD'*)
14110 symcode='[ABCDGIRSTW]' ;;
14113 # Try without a prefix undercore, then with it.
14114 for ac_symprfx in "" "_"; do
14116 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
14117 symxfrm="\\1 $ac_symprfx\\2 \\2"
14119 # Write the raw and C identifiers.
14120 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
14122 # Check to see that the pipe works correctly.
14126 cat > conftest.$ac_ext <<EOF
14131 void nm_test_func(){}
14135 int main(){nm_test_var='a';nm_test_func();return(0);}
14138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14139 (eval $ac_compile) 2>&5
14141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 (exit $ac_status); }; then
14143 # Now try to grab the symbols.
14145 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
14146 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); } && test -s "$nlist"; then
14150 # Try sorting and uniquifying the output.
14151 if sort "$nlist" | uniq > "$nlist"T; then
14152 mv -f "$nlist"T "$nlist"
14157 # Make sure that we snagged all the symbols we need.
14158 if grep ' nm_test_var$' "$nlist" >/dev/null; then
14159 if grep ' nm_test_func$' "$nlist" >/dev/null; then
14160 cat <<EOF > conftest.$ac_ext
14166 # Now generate the symbol file.
14167 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
14169 cat <<EOF >> conftest.$ac_ext
14170 #if defined (__STDC__) && __STDC__
14171 # define lt_ptr_t void *
14173 # define lt_ptr_t char *
14177 /* The mapping between symbol names and symbols. */
14182 lt_preloaded_symbols[] =
14185 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
14186 cat <<\EOF >> conftest.$ac_ext
14194 # Now try linking the two files.
14195 mv conftest.$ac_objext conftstm.$ac_objext
14196 lt_save_LIBS="$LIBS"
14197 lt_save_CFLAGS="$CFLAGS"
14198 LIBS="conftstm.$ac_objext"
14199 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
14200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14201 (eval $ac_link) 2>&5
14203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204 (exit $ac_status); } && test -s conftest${ac_exeext}; then
14207 LIBS="$lt_save_LIBS"
14208 CFLAGS="$lt_save_CFLAGS"
14210 echo "cannot find nm_test_func in $nlist" >&5
14213 echo "cannot find nm_test_var in $nlist" >&5
14216 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
14219 echo "$progname: failed program was:" >&5
14220 cat conftest.$ac_ext >&5
14222 rm -f conftest* conftst*
14224 # Do not use the global_symbol_pipe unless it works.
14225 if test "$pipe_works" = yes; then
14228 lt_cv_sys_global_symbol_pipe=
14234 if test -z "$lt_cv_sys_global_symbol_pipe"; then
14235 lt_cv_sys_global_symbol_to_cdecl=
14237 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
14238 { echo "$as_me:$LINENO: result: failed" >&5
14239 echo "${ECHO_T}failed" >&6; }
14241 { echo "$as_me:$LINENO: result: ok" >&5
14242 echo "${ECHO_T}ok" >&6; }
14245 { echo "$as_me:$LINENO: checking for objdir" >&5
14246 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
14247 if test "${lt_cv_objdir+set}" = set; then
14248 echo $ECHO_N "(cached) $ECHO_C" >&6
14250 rm -f .libs 2>/dev/null
14251 mkdir .libs 2>/dev/null
14252 if test -d .libs; then
14255 # MS-DOS does not allow filenames that begin with a dot.
14258 rmdir .libs 2>/dev/null
14260 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
14261 echo "${ECHO_T}$lt_cv_objdir" >&6; }
14262 objdir=$lt_cv_objdir
14270 # AIX sometimes has problems with the GCC collect2 program. For some
14271 # reason, if we set the COLLECT_NAMES environment variable, the problems
14272 # vanish in a puff of smoke.
14273 if test "X${COLLECT_NAMES+set}" != Xset; then
14275 export COLLECT_NAMES
14280 # Sed substitution that helps us do robust quoting. It backslashifies
14281 # metacharacters that are still active within double-quoted strings.
14282 Xsed='sed -e 1s/^X//'
14283 sed_quote_subst='s/\([\\"\\`$
\\\\]\
)/\\\
1/g
'
14285 # Same as above, but do not quote variable references.
14286 double_quote_subst='s
/\
([\\"\\`\\\\]\)/\\\1/g'
14288 # Sed substitution to delay expansion of an escaped shell variable in a
14289 # double_quote_subst'ed string.
14290 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
14292 # Sed substitution to avoid accidental globbing in evaled expressions
14293 no_glob_subst='s/\*/\\\*/g'
14298 # Global variables:
14299 default_ofile=mklib
14300 can_build_shared=yes
14302 # All known linkers require a `.a' archive for static linking (except MSVC,
14303 # which needs '.lib').
14305 ltmain="$ac_aux_dir/ltmain.sh
"
14306 ofile="$default_ofile"
14307 with_gnu_ld="$lt_cv_prog_gnu_ld"
14309 if test -n "$ac_tool_prefix"; then
14310 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14311 set dummy ${ac_tool_prefix}ar; ac_word=$2
14312 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14313 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14314 if test "${ac_cv_prog_AR+set}" = set; then
14315 echo $ECHO_N "(cached
) $ECHO_C" >&6
14317 if test -n "$AR"; then
14318 ac_cv_prog_AR="$AR" # Let the user override the test.
14320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14321 for as_dir in $PATH
14324 test -z "$as_dir" && as_dir=.
14325 for ac_exec_ext in '' $ac_executable_extensions; do
14326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14327 ac_cv_prog_AR="${ac_tool_prefix}ar"
14328 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14338 if test -n "$AR"; then
14339 { echo "$as_me:$LINENO: result
: $AR" >&5
14340 echo "${ECHO_T}$AR" >&6; }
14342 { echo "$as_me:$LINENO: result
: no
" >&5
14343 echo "${ECHO_T}no
" >&6; }
14348 if test -z "$ac_cv_prog_AR"; then
14350 # Extract the first word of "ar", so it can be a program name with args.
14351 set dummy ar; ac_word=$2
14352 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14353 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14354 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14355 echo $ECHO_N "(cached
) $ECHO_C" >&6
14357 if test -n "$ac_ct_AR"; then
14358 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14361 for as_dir in $PATH
14364 test -z "$as_dir" && as_dir=.
14365 for ac_exec_ext in '' $ac_executable_extensions; do
14366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14367 ac_cv_prog_ac_ct_AR="ar"
14368 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14377 ac_ct_AR=$ac_cv_prog_ac_ct_AR
14378 if test -n "$ac_ct_AR"; then
14379 { echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
14380 echo "${ECHO_T}$ac_ct_AR" >&6; }
14382 { echo "$as_me:$LINENO: result
: no
" >&5
14383 echo "${ECHO_T}no
" >&6; }
14386 if test "x
$ac_ct_AR" = x; then
14389 case $cross_compiling:$ac_tool_warned in
14391 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
14392 whose name does not start with the
host triplet. If you think this
14393 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14394 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
14395 whose name does not start with the
host triplet. If you think this
14396 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14397 ac_tool_warned=yes ;;
14402 AR="$ac_cv_prog_AR"
14405 if test -n "$ac_tool_prefix"; then
14406 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
14407 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14408 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14409 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14410 if test "${ac_cv_prog_RANLIB+set}" = set; then
14411 echo $ECHO_N "(cached
) $ECHO_C" >&6
14413 if test -n "$RANLIB"; then
14414 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14417 for as_dir in $PATH
14420 test -z "$as_dir" && as_dir=.
14421 for ac_exec_ext in '' $ac_executable_extensions; do
14422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14423 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
14424 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14433 RANLIB=$ac_cv_prog_RANLIB
14434 if test -n "$RANLIB"; then
14435 { echo "$as_me:$LINENO: result
: $RANLIB" >&5
14436 echo "${ECHO_T}$RANLIB" >&6; }
14438 { echo "$as_me:$LINENO: result
: no
" >&5
14439 echo "${ECHO_T}no
" >&6; }
14444 if test -z "$ac_cv_prog_RANLIB"; then
14445 ac_ct_RANLIB=$RANLIB
14446 # Extract the first word of "ranlib
", so it can be a program name with args.
14447 set dummy ranlib; ac_word=$2
14448 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14449 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14450 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14451 echo $ECHO_N "(cached
) $ECHO_C" >&6
14453 if test -n "$ac_ct_RANLIB"; then
14454 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14457 for as_dir in $PATH
14460 test -z "$as_dir" && as_dir=.
14461 for ac_exec_ext in '' $ac_executable_extensions; do
14462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14463 ac_cv_prog_ac_ct_RANLIB="ranlib
"
14464 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14473 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14474 if test -n "$ac_ct_RANLIB"; then
14475 { echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
14476 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
14478 { echo "$as_me:$LINENO: result
: no
" >&5
14479 echo "${ECHO_T}no
" >&6; }
14482 if test "x
$ac_ct_RANLIB" = x; then
14485 case $cross_compiling:$ac_tool_warned in
14487 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
14488 whose name does not start with the
host triplet. If you think this
14489 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14490 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
14491 whose name does not start with the
host triplet. If you think this
14492 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14493 ac_tool_warned=yes ;;
14495 RANLIB=$ac_ct_RANLIB
14498 RANLIB="$ac_cv_prog_RANLIB"
14501 if test -n "$ac_tool_prefix"; then
14502 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
14503 set dummy ${ac_tool_prefix}strip; ac_word=$2
14504 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14505 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14506 if test "${ac_cv_prog_STRIP+set}" = set; then
14507 echo $ECHO_N "(cached
) $ECHO_C" >&6
14509 if test -n "$STRIP"; then
14510 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14513 for as_dir in $PATH
14516 test -z "$as_dir" && as_dir=.
14517 for ac_exec_ext in '' $ac_executable_extensions; do
14518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14519 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
14520 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14529 STRIP=$ac_cv_prog_STRIP
14530 if test -n "$STRIP"; then
14531 { echo "$as_me:$LINENO: result
: $STRIP" >&5
14532 echo "${ECHO_T}$STRIP" >&6; }
14534 { echo "$as_me:$LINENO: result
: no
" >&5
14535 echo "${ECHO_T}no
" >&6; }
14540 if test -z "$ac_cv_prog_STRIP"; then
14542 # Extract the first word of "strip
", so it can be a program name with args.
14543 set dummy strip; ac_word=$2
14544 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14545 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14546 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14547 echo $ECHO_N "(cached
) $ECHO_C" >&6
14549 if test -n "$ac_ct_STRIP"; then
14550 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14553 for as_dir in $PATH
14556 test -z "$as_dir" && as_dir=.
14557 for ac_exec_ext in '' $ac_executable_extensions; do
14558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14559 ac_cv_prog_ac_ct_STRIP="strip
"
14560 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14569 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14570 if test -n "$ac_ct_STRIP"; then
14571 { echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
14572 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
14574 { echo "$as_me:$LINENO: result
: no
" >&5
14575 echo "${ECHO_T}no
" >&6; }
14578 if test "x
$ac_ct_STRIP" = x; then
14581 case $cross_compiling:$ac_tool_warned in
14583 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
14584 whose name does not start with the
host triplet. If you think this
14585 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14586 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
14587 whose name does not start with the
host triplet. If you think this
14588 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14589 ac_tool_warned=yes ;;
14594 STRIP="$ac_cv_prog_STRIP"
14599 old_CFLAGS="$CFLAGS"
14601 # Set sane defaults for various variables
14602 test -z "$AR" && AR=ar
14603 test -z "$AR_FLAGS" && AR_FLAGS=cru
14604 test -z "$AS" && AS=as
14605 test -z "$CC" && CC=cc
14606 test -z "$LTCC" && LTCC=$CC
14607 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
14608 test -z "$DLLTOOL" && DLLTOOL=dlltool
14609 test -z "$LD" && LD=ld
14610 test -z "$LN_S" && LN_S="ln -s"
14611 test -z "$MAGIC_CMD" && MAGIC_CMD=file
14612 test -z "$NM" && NM=nm
14613 test -z "$SED" && SED=sed
14614 test -z "$OBJDUMP" && OBJDUMP=objdump
14615 test -z "$RANLIB" && RANLIB=:
14616 test -z "$STRIP" && STRIP=:
14617 test -z "$ac_objext" && ac_objext=o
14619 # Determine commands to create old-style static archives.
14620 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
14621 old_postinstall_cmds='chmod 644 $oldlib'
14622 old_postuninstall_cmds=
14624 if test -n "$RANLIB"; then
14627 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
14630 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
14633 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
14636 for cc_temp in $compiler""; do
14638 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14639 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14644 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
14647 # Only perform the check for file, if the check method requires it
14648 case $deplibs_check_method in
14650 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
14651 { echo "$as_me:$LINENO: checking
for ${ac_tool_prefix}file" >&5
14652 echo $ECHO_N "checking
for ${ac_tool_prefix}file...
$ECHO_C" >&6; }
14653 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14654 echo $ECHO_N "(cached
) $ECHO_C" >&6
14658 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14661 lt_save_MAGIC_CMD="$MAGIC_CMD"
14662 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14663 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
14664 for ac_dir in $ac_dummy; do
14666 test -z "$ac_dir" && ac_dir=.
14667 if test -f $ac_dir/${ac_tool_prefix}file; then
14668 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
14669 if test -n "$file_magic_test_file"; then
14670 case $deplibs_check_method in
14672 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14673 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14674 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14675 $EGREP "$file_magic_regex" > /dev/null; then
14680 *** Warning: the command libtool uses to detect shared libraries,
14681 *** $file_magic_cmd, produces output that libtool cannot recognize.
14682 *** The result is that libtool may fail to recognize shared libraries
14683 *** as such. This will affect the creation of libtool libraries that
14684 *** depend on shared libraries, but programs linked with such libtool
14685 *** libraries will work regardless of this problem. Nevertheless, you
14686 *** may want to report the problem to your system manager and/or to
14687 *** bug-libtool@gnu.org
14697 MAGIC_CMD="$lt_save_MAGIC_CMD"
14702 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14703 if test -n "$MAGIC_CMD"; then
14704 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14705 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14707 { echo "$as_me:$LINENO: result
: no
" >&5
14708 echo "${ECHO_T}no
" >&6; }
14711 if test -z "$lt_cv_path_MAGIC_CMD"; then
14712 if test -n "$ac_tool_prefix"; then
14713 { echo "$as_me:$LINENO: checking
for file" >&5
14714 echo $ECHO_N "checking
for file...
$ECHO_C" >&6; }
14715 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14716 echo $ECHO_N "(cached
) $ECHO_C" >&6
14720 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14723 lt_save_MAGIC_CMD="$MAGIC_CMD"
14724 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14725 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
14726 for ac_dir in $ac_dummy; do
14728 test -z "$ac_dir" && ac_dir=.
14729 if test -f $ac_dir/file; then
14730 lt_cv_path_MAGIC_CMD="$ac_dir/file"
14731 if test -n "$file_magic_test_file"; then
14732 case $deplibs_check_method in
14734 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14735 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14736 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14737 $EGREP "$file_magic_regex" > /dev/null; then
14742 *** Warning: the command libtool uses to detect shared libraries,
14743 *** $file_magic_cmd, produces output that libtool cannot recognize.
14744 *** The result is that libtool may fail to recognize shared libraries
14745 *** as such. This will affect the creation of libtool libraries that
14746 *** depend on shared libraries, but programs linked with such libtool
14747 *** libraries will work regardless of this problem. Nevertheless, you
14748 *** may want to report the problem to your system manager and/or to
14749 *** bug-libtool@gnu.org
14759 MAGIC_CMD="$lt_save_MAGIC_CMD"
14764 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14765 if test -n "$MAGIC_CMD"; then
14766 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14767 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14769 { echo "$as_me:$LINENO: result
: no
" >&5
14770 echo "${ECHO_T}no
" >&6; }
14783 enable_win32_dll=no
14785 # Check whether --enable-libtool-lock was given.
14786 if test "${enable_libtool_lock+set}" = set; then
14787 enableval=$enable_libtool_lock;
14790 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
14793 # Check whether --with-pic was given.
14794 if test "${with_pic+set}" = set; then
14795 withval=$with_pic; pic_mode="$withval"
14800 test -z "$pic_mode" && pic_mode=default
14802 # Use C for the default configuration in the libtool script
14806 ac_cpp='$CPP $CPPFLAGS'
14807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14812 # Source file extension for C test sources.
14815 # Object file extension for compiled C test sources.
14819 # Code to be used in simple compile tests
14820 lt_simple_compile_test_code="int some_variable
= 0;\n"
14822 # Code to be used in simple link tests
14823 lt_simple_link_test_code='int main(){return(0);}\n'
14826 # If no C compiler was specified, use CC.
14829 # If no C compiler flags were specified, use CFLAGS.
14830 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14832 # Allow CC to be a program name with arguments.
14836 # save warnings/boilerplate of simple test code
14837 ac_outfile=conftest.$ac_objext
14838 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14839 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14840 _lt_compiler_boilerplate=`cat conftest.err`
14843 ac_outfile=conftest.$ac_objext
14844 printf "$lt_simple_link_test_code" >conftest.$ac_ext
14845 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14846 _lt_linker_boilerplate=`cat conftest.err`
14851 lt_prog_compiler_no_builtin_flag=
14853 if test "$GCC" = yes; then
14854 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
14857 { echo "$as_me:$LINENO: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
14858 echo $ECHO_N "checking
if $compiler supports
-fno-rtti -fno-exceptions...
$ECHO_C" >&6; }
14859 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14860 echo $ECHO_N "(cached
) $ECHO_C" >&6
14862 lt_cv_prog_compiler_rtti_exceptions=no
14863 ac_outfile=conftest.$ac_objext
14864 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14865 lt_compiler_flag="-fno-rtti -fno-exceptions"
14866 # Insert the option either (1) after the last *FLAGS variable, or
14867 # (2) before a word containing "conftest.
", or (3) at the end.
14868 # Note that $ac_compile itself does not contain backslashes and begins
14869 # with a dollar sign (not a hyphen), so the echo should work correctly.
14870 # The option is referenced via a variable to avoid confusing sed.
14871 lt_compile=`echo "$ac_compile" | $SED \
14872 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14873 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14874 -e 's:$: $lt_compiler_flag:'`
14875 (eval echo "\"\
$as_me:14875: $lt_compile\"" >&5)
14876 (eval "$lt_compile" 2>conftest.err)
14878 cat conftest.err >&5
14879 echo "$as_me:14879: \$?
= $ac_status" >&5
14880 if (exit $ac_status) && test -s "$ac_outfile"; then
14881 # The compiler can only warn and ignore the option if not recognized
14882 # So say no if there are warnings other than the usual output.
14883 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14884 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14885 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14886 lt_cv_prog_compiler_rtti_exceptions=yes
14892 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
14893 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
14895 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
14896 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
14903 lt_prog_compiler_wl=
14904 lt_prog_compiler_pic=
14905 lt_prog_compiler_static=
14907 { echo "$as_me:$LINENO: checking
for $compiler option to produce PIC
" >&5
14908 echo $ECHO_N "checking
for $compiler option to produce PIC...
$ECHO_C" >&6; }
14910 if test "$GCC" = yes; then
14911 lt_prog_compiler_wl='-Wl,'
14912 lt_prog_compiler_static='-static'
14916 # All AIX code is PIC.
14917 if test "$host_cpu" = ia64; then
14918 # AIX 5 now supports IA64 processor
14919 lt_prog_compiler_static='-Bstatic'
14924 # FIXME: we need at least 68020 code to build shared libraries, but
14925 # adding the `-m68020' flag to GCC prevents building anything better,
14927 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
14930 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14931 # PIC is the default for these OSes.
14934 mingw* | pw32* | os2*)
14935 # This hack is so that the source file can tell whether it is being
14936 # built for inclusion in a dll (and should export symbols for example).
14937 lt_prog_compiler_pic='-DDLL_EXPORT'
14940 darwin* | rhapsody*)
14941 # PIC is the default on this platform
14942 # Common symbols not allowed in MH_DYLIB files
14943 lt_prog_compiler_pic='-fno-common'
14947 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14948 # Instead, we relocate shared libraries at runtime.
14952 # Just because we use GCC doesn't mean we suddenly get shared libraries
14953 # on systems that don't support them.
14954 lt_prog_compiler_can_build_shared=no
14959 if test -d /usr/nec; then
14960 lt_prog_compiler_pic=-Kconform_pic
14965 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14966 # not for PA HP-UX.
14972 lt_prog_compiler_pic='-fPIC'
14978 lt_prog_compiler_pic='-fPIC'
14982 # PORTME Check for flag to pass linker flags through the system compiler.
14985 lt_prog_compiler_wl='-Wl,'
14986 if test "$host_cpu" = ia64; then
14987 # AIX 5 now supports IA64 processor
14988 lt_prog_compiler_static='-Bstatic'
14990 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
14994 # PIC is the default on this platform
14995 # Common symbols not allowed in MH_DYLIB files
14996 case $cc_basename in
14998 lt_prog_compiler_pic='-qnocommon'
14999 lt_prog_compiler_wl='-Wl,'
15004 mingw* | pw32* | os2*)
15005 # This hack is so that the source file can tell whether it is being
15006 # built for inclusion in a dll (and should export symbols for example).
15007 lt_prog_compiler_pic='-DDLL_EXPORT'
15010 hpux9* | hpux10* | hpux11*)
15011 lt_prog_compiler_wl='-Wl,'
15012 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15013 # not for PA HP-UX.
15019 lt_prog_compiler_pic='+Z'
15022 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15023 lt_prog_compiler_static='${wl}-a ${wl}archive'
15026 irix5* | irix6* | nonstopux*)
15027 lt_prog_compiler_wl='-Wl,'
15028 # PIC (with -KPIC) is the default.
15029 lt_prog_compiler_static='-non_shared'
15033 lt_prog_compiler_pic='-KPIC'
15034 lt_prog_compiler_static='-Bstatic'
15038 case $cc_basename in
15040 lt_prog_compiler_wl='-Wl,'
15041 lt_prog_compiler_pic='-KPIC'
15042 lt_prog_compiler_static='-static'
15044 pgcc* | pgf77* | pgf90* | pgf95*)
15045 # Portland Group compilers (*not* the Pentium gcc compiler,
15046 # which looks to be a dead project)
15047 lt_prog_compiler_wl='-Wl,'
15048 lt_prog_compiler_pic='-fpic'
15049 lt_prog_compiler_static='-Bstatic'
15052 lt_prog_compiler_wl='-Wl,'
15053 # All Alpha code is PIC.
15054 lt_prog_compiler_static='-non_shared'
15059 osf3* | osf4* | osf5*)
15060 lt_prog_compiler_wl='-Wl,'
15061 # All OSF/1 code is PIC.
15062 lt_prog_compiler_static='-non_shared'
15066 lt_prog_compiler_pic='-KPIC'
15067 lt_prog_compiler_static='-Bstatic'
15068 case $cc_basename in
15069 f77* | f90* | f95*)
15070 lt_prog_compiler_wl='-Qoption ld ';;
15072 lt_prog_compiler_wl='-Wl,';;
15077 lt_prog_compiler_wl='-Qoption ld '
15078 lt_prog_compiler_pic='-PIC'
15079 lt_prog_compiler_static='-Bstatic'
15082 sysv4 | sysv4.2uw2* | sysv4.3*)
15083 lt_prog_compiler_wl='-Wl,'
15084 lt_prog_compiler_pic='-KPIC'
15085 lt_prog_compiler_static='-Bstatic'
15089 if test -d /usr/nec ;then
15090 lt_prog_compiler_pic='-Kconform_pic'
15091 lt_prog_compiler_static='-Bstatic'
15095 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15096 lt_prog_compiler_wl='-Wl,'
15097 lt_prog_compiler_pic='-KPIC'
15098 lt_prog_compiler_static='-Bstatic'
15102 lt_prog_compiler_wl='-Wl,'
15103 lt_prog_compiler_can_build_shared=no
15107 lt_prog_compiler_pic='-pic'
15108 lt_prog_compiler_static='-Bstatic'
15112 lt_prog_compiler_can_build_shared=no
15117 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic" >&5
15118 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
15121 # Check to make sure the PIC flag actually works.
15123 if test -n "$lt_prog_compiler_pic"; then
15125 { echo "$as_me:$LINENO: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
15126 echo $ECHO_N "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
$ECHO_C" >&6; }
15127 if test "${lt_prog_compiler_pic_works+set}" = set; then
15128 echo $ECHO_N "(cached
) $ECHO_C" >&6
15130 lt_prog_compiler_pic_works=no
15131 ac_outfile=conftest.$ac_objext
15132 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15133 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
15134 # Insert the option either (1) after the last *FLAGS variable, or
15135 # (2) before a word containing "conftest.
", or (3) at the end.
15136 # Note that $ac_compile itself does not contain backslashes and begins
15137 # with a dollar sign (not a hyphen), so the echo should work correctly.
15138 # The option is referenced via a variable to avoid confusing sed.
15139 lt_compile=`echo "$ac_compile" | $SED \
15140 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15141 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15142 -e 's:$: $lt_compiler_flag:'`
15143 (eval echo "\"\
$as_me:15143: $lt_compile\"" >&5)
15144 (eval "$lt_compile" 2>conftest.err)
15146 cat conftest.err >&5
15147 echo "$as_me:15147: \$?
= $ac_status" >&5
15148 if (exit $ac_status) && test -s "$ac_outfile"; then
15149 # The compiler can only warn and ignore the option if not recognized
15150 # So say no if there are warnings other than the usual output.
15151 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15152 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15153 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15154 lt_prog_compiler_pic_works=yes
15160 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic_works" >&5
15161 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
15163 if test x"$lt_prog_compiler_pic_works" = xyes; then
15164 case $lt_prog_compiler_pic in
15166 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
15169 lt_prog_compiler_pic=
15170 lt_prog_compiler_can_build_shared=no
15175 # For platforms which do not support PIC, -DPIC is meaningless:
15177 lt_prog_compiler_pic=
15180 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
15185 # Check to make sure the static flag actually works.
15187 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
15188 { echo "$as_me:$LINENO: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
15189 echo $ECHO_N "checking
if $compiler static flag
$lt_tmp_static_flag works...
$ECHO_C" >&6; }
15190 if test "${lt_prog_compiler_static_works+set}" = set; then
15191 echo $ECHO_N "(cached
) $ECHO_C" >&6
15193 lt_prog_compiler_static_works=no
15194 save_LDFLAGS="$LDFLAGS"
15195 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15196 printf "$lt_simple_link_test_code" > conftest.$ac_ext
15197 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15198 # The linker can only warn and ignore the option if not recognized
15199 # So say no if there are warnings
15200 if test -s conftest.err; then
15201 # Append any errors to the config.log.
15202 cat conftest.err 1>&5
15203 $echo "X
$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15204 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15205 if diff conftest.exp conftest.er2 >/dev/null; then
15206 lt_prog_compiler_static_works=yes
15209 lt_prog_compiler_static_works=yes
15213 LDFLAGS="$save_LDFLAGS"
15216 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_static_works" >&5
15217 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
15219 if test x"$lt_prog_compiler_static_works" = xyes; then
15222 lt_prog_compiler_static=
15226 { echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
15227 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6; }
15228 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
15229 echo $ECHO_N "(cached
) $ECHO_C" >&6
15231 lt_cv_prog_compiler_c_o=no
15232 $rm -r conftest 2>/dev/null
15236 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15238 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
15239 # Insert the option either (1) after the last *FLAGS variable, or
15240 # (2) before a word containing "conftest.
", or (3) at the end.
15241 # Note that $ac_compile itself does not contain backslashes and begins
15242 # with a dollar sign (not a hyphen), so the echo should work correctly.
15243 lt_compile=`echo "$ac_compile" | $SED \
15244 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15245 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15246 -e 's:$: $lt_compiler_flag:'`
15247 (eval echo "\"\
$as_me:15247: $lt_compile\"" >&5)
15248 (eval "$lt_compile" 2>out/conftest.err)
15250 cat out/conftest.err >&5
15251 echo "$as_me:15251: \$?
= $ac_status" >&5
15252 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15254 # The compiler can only warn and ignore the option if not recognized
15255 # So say no if there are warnings
15256 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15257 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15258 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15259 lt_cv_prog_compiler_c_o=yes
15264 # SGI C++ compiler will create directory out/ii_files/ for
15265 # template instantiation
15266 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15267 $rm out/* && rmdir out
15273 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
15274 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
15277 hard_links="nottested
"
15278 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
15279 # do not overwrite the value of need_locks provided by the user
15280 { echo "$as_me:$LINENO: checking
if we can lock with hard links
" >&5
15281 echo $ECHO_N "checking
if we can lock with hard links...
$ECHO_C" >&6; }
15284 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15286 ln conftest.a conftest.b 2>&5 || hard_links=no
15287 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15288 { echo "$as_me:$LINENO: result
: $hard_links" >&5
15289 echo "${ECHO_T}$hard_links" >&6; }
15290 if test "$hard_links" = no; then
15291 { echo "$as_me:$LINENO: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
15292 echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
15299 { echo "$as_me:$LINENO: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
15300 echo $ECHO_N "checking whether the
$compiler linker
($LD) supports shared libraries...
$ECHO_C" >&6; }
15303 allow_undefined_flag=
15304 enable_shared_with_static_runtimes=no
15306 archive_expsym_cmds=
15307 old_archive_From_new_cmds=
15308 old_archive_from_expsyms_cmds=
15309 export_dynamic_flag_spec=
15310 whole_archive_flag_spec=
15311 thread_safe_flag_spec=
15312 hardcode_libdir_flag_spec=
15313 hardcode_libdir_flag_spec_ld=
15314 hardcode_libdir_separator=
15316 hardcode_minus_L=no
15317 hardcode_shlibpath_var=unsupported
15318 link_all_deplibs=unknown
15319 hardcode_automatic=no
15321 module_expsym_cmds=
15322 always_export_symbols=no
15323 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15324 # include_expsyms should be a list of space-separated symbols to be *always*
15325 # included in the symbol list
15327 # exclude_expsyms can be an extended regexp of symbols to exclude
15328 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15329 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15330 # as well as any symbol that contains `d'.
15331 exclude_expsyms="_GLOBAL_OFFSET_TABLE_
"
15332 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15333 # platforms (ab)use it in PIC code, but their linkers get confused if
15334 # the symbol is explicitly referenced. Since portable code cannot
15335 # rely on this symbol name, it's probably fine to never include it in
15336 # preloaded symbol tables.
15337 extract_expsyms_cmds=
15338 # Just being paranoid about ensuring that cc_basename is set.
15339 for cc_temp in $compiler""; do
15341 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15342 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15347 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
15350 cygwin* | mingw* | pw32*)
15351 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15352 # When not using gcc, we currently assume that we are using
15353 # Microsoft Visual C++.
15354 if test "$GCC" != yes; then
15359 # we just hope/assume this is gcc and not c89 (= MSVC++)
15368 if test "$with_gnu_ld" = yes; then
15369 # If archive_cmds runs LD, not CC, wlarc should be empty
15372 # Set some defaults for GNU ld with shared library support. These
15373 # are reset later if shared libraries are not supported. Putting them
15374 # here allows them to be overridden if necessary.
15375 runpath_var=LD_RUN_PATH
15376 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
15377 export_dynamic_flag_spec='${wl}--export-dynamic'
15378 # ancient GNU ld didn't support --whole-archive et. al.
15379 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15380 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15382 whole_archive_flag_spec=
15384 supports_anon_versioning=no
15385 case `$LD -v 2>/dev/null` in
15386 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15387 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15388 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15389 *\ 2.11.*) ;; # other 2.11 versions
15390 *) supports_anon_versioning=yes ;;
15393 # See if GNU ld supports shared libraries.
15395 aix3* | aix4* | aix5*)
15396 # On AIX/PPC, the GNU linker is very broken
15397 if test "$host_cpu" != ia64; then
15401 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15402 *** to be unable to reliably create shared libraries on AIX.
15403 *** Therefore, libtool is disabling shared libraries support. If you
15404 *** really care for shared libraries, you may want to modify your PATH
15405 *** so that a non-GNU linker is found, and then restart.
15412 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)'
15413 hardcode_libdir_flag_spec
='-L$libdir'
15414 hardcode_minus_L
=yes
15416 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15417 # that the semantics of dynamic libraries on AmigaOS, at least up
15418 # to version 4, is to share data among multiple programs linked
15419 # with the same dynamic library. Since this doesn't match the
15420 # behavior of shared libraries on other platforms, we can't use
15426 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15427 allow_undefined_flag
=unsupported
15428 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15429 # support --undefined. This deserves some investigation. FIXME
15430 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15436 cygwin
* | mingw
* | pw32
*)
15437 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
15438 # as there is no search path for DLLs.
15439 hardcode_libdir_flag_spec
='-L$libdir'
15440 allow_undefined_flag
=unsupported
15441 always_export_symbols
=no
15442 enable_shared_with_static_runtimes
=yes
15443 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15445 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
15446 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15447 # If the export-symbols file already is a .def file (1st line
15448 # is EXPORTS), use it as is; otherwise, prepend...
15449 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15450 cp $export_symbols $output_objdir/$soname.def;
15452 echo EXPORTS > $output_objdir/$soname.def;
15453 cat $export_symbols >> $output_objdir/$soname.def;
15455 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15463 hardcode_shlibpath_var
=no
15464 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15465 export_dynamic_flag_spec
='${wl}-E'
15466 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15467 # Instead, shared libraries are loaded at an image base (0x10000000 by
15468 # default) and relocated if they conflict, which is a slow very memory
15469 # consuming and fragmenting process. To avoid this, we pick a random,
15470 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15471 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15472 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15473 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'
15477 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15479 case $cc_basename,$host_cpu in
15480 pgcc
*) # Portland Group C compiler
15481 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'
15482 tmp_addflag
=' $pic_flag'
15484 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
15485 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'
15486 tmp_addflag
=' $pic_flag -Mnomain' ;;
15487 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
15488 tmp_addflag
=' -i_dynamic' ;;
15489 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
15490 tmp_addflag
=' -i_dynamic -nofor_main' ;;
15491 ifc
* | ifort
*) # Intel Fortran compiler
15492 tmp_addflag
=' -nofor_main' ;;
15494 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15496 if test $supports_anon_versioning = yes; then
15497 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
15498 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15499 $echo "local: *; };" >> $output_objdir/$libname.ver~
15500 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15508 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15509 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15512 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15513 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15518 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
15522 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15523 *** create shared libraries on Solaris systems. Therefore, libtool
15524 *** is disabling shared libraries support. We urge you to upgrade GNU
15525 *** binutils to release 2.9.1 or newer. Another option is to modify
15526 *** your PATH or compiler configuration so that the native linker is
15527 *** used, and then restart.
15530 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15531 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15532 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15538 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
15539 case `$LD -v 2>&1` in
15540 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
15544 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15545 *** reliably create shared libraries on SCO systems. Therefore, libtool
15546 *** is disabling shared libraries support. We urge you to upgrade GNU
15547 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15548 *** your PATH or compiler configuration so that the native linker is
15549 *** used, and then restart.
15554 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15555 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15556 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15557 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15566 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15568 hardcode_direct
=yes
15569 hardcode_shlibpath_var
=no
15573 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15574 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15575 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15582 if test "$ld_shlibs" = no
; then
15584 hardcode_libdir_flag_spec
=
15585 export_dynamic_flag_spec
=
15586 whole_archive_flag_spec
=
15589 # PORTME fill in a description of your system's linker (not GNU ld)
15592 allow_undefined_flag
=unsupported
15593 always_export_symbols
=yes
15594 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'
15595 # Note: this linker hardcodes the directories in LIBPATH if there
15596 # are no directories specified by -L.
15597 hardcode_minus_L
=yes
15598 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15599 # Neither direct hardcoding nor static linking is supported with a
15601 hardcode_direct
=unsupported
15606 if test "$host_cpu" = ia64
; then
15607 # On IA64, the linker does run time linking by default, so we don't
15608 # have to do anything special.
15609 aix_use_runtimelinking
=no
15610 exp_sym_flag
='-Bexport'
15613 # If we're using GNU nm, then we don't want the "-C" option.
15614 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15615 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15616 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'
15618 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'
15620 aix_use_runtimelinking
=no
15622 # Test if we are trying to use run time linking or normal
15623 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15624 # need to do runtime linking.
15625 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
15626 for ld_flag
in $LDFLAGS; do
15627 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15628 aix_use_runtimelinking
=yes
15635 exp_sym_flag
='-bexport'
15636 no_entry_flag
='-bnoentry'
15639 # When large executables or shared objects are built, AIX ld can
15640 # have problems creating the table of contents. If linking a library
15641 # or program results in "error TOC overflow" add -mminimal-toc to
15642 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15643 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15646 hardcode_direct
=yes
15647 hardcode_libdir_separator
=':'
15648 link_all_deplibs
=yes
15650 if test "$GCC" = yes; then
15651 case $host_os in aix4.
[012]|aix4.
[012].
*)
15652 # We only want to do this on AIX 4.2 and lower, the check
15653 # below for broken collect2 doesn't work under 4.3+
15654 collect2name
=`${CC} -print-prog-name=collect2`
15655 if test -f "$collect2name" && \
15656 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15658 # We have reworked collect2
15659 hardcode_direct
=yes
15661 # We have old collect2
15662 hardcode_direct
=unsupported
15663 # It fails to find uninstalled libraries when the uninstalled
15664 # path is not listed in the libpath. Setting hardcode_minus_L
15665 # to unsupported forces relinking
15666 hardcode_minus_L
=yes
15667 hardcode_libdir_flag_spec
='-L$libdir'
15668 hardcode_libdir_separator
=
15672 shared_flag
='-shared'
15673 if test "$aix_use_runtimelinking" = yes; then
15674 shared_flag
="$shared_flag "'${wl}-G'
15678 if test "$host_cpu" = ia64
; then
15679 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15680 # chokes on -Wl,-G. The following line is correct:
15683 if test "$aix_use_runtimelinking" = yes; then
15684 shared_flag
='${wl}-G'
15686 shared_flag
='${wl}-bM:SRE'
15691 # It seems that -bexpall does not export symbols beginning with
15692 # underscore (_), so it is better to generate a list of symbols to export.
15693 always_export_symbols
=yes
15694 if test "$aix_use_runtimelinking" = yes; then
15695 # Warning - without using the other runtime loading flags (-brtl),
15696 # -berok will link without error, but may produce a broken library.
15697 allow_undefined_flag
='-berok'
15698 # Determine the default libpath from the value encoded in an empty executable.
15699 cat >conftest.
$ac_ext <<_ACEOF
15702 cat confdefs.h
>>conftest.
$ac_ext
15703 cat >>conftest.
$ac_ext <<_ACEOF
15704 /* end confdefs.h. */
15714 rm -f conftest.
$ac_objext conftest
$ac_exeext
15715 if { (ac_try
="$ac_link"
15716 case "(($ac_try" in
15717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15718 *) ac_try_echo=$ac_try;;
15720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15721 (eval "$ac_link") 2>conftest.er1
15723 grep -v '^ *+' conftest.er1 >conftest.err
15725 cat conftest.err >&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); } &&
15728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15729 { (case "(($ac_try" in
15730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15731 *) ac_try_echo
=$ac_try;;
15733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15734 (eval "$ac_try") 2>&5
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); }; } &&
15738 { ac_try
='test -s conftest$ac_exeext'
15739 { (case "(($ac_try" in
15740 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15741 *) ac_try_echo=$ac_try;;
15743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15744 (eval "$ac_try") 2>&5
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 (exit $ac_status); }; }; then
15749 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15751 # Check for a 64-bit object if we didn't find anything.
15752 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; }
15755 echo "$as_me: failed program was:" >&5
15756 sed 's/^/| /' conftest.$ac_ext >&5
15761 rm -f core conftest.err conftest.$ac_objext \
15762 conftest$ac_exeext conftest.$ac_ext
15763 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15765 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15766 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"
15768 if test "$host_cpu" = ia64; then
15769 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
15770 allow_undefined_flag="-z nodefs"
15771 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"
15773 # Determine the default libpath from the value encoded in an empty executable.
15774 cat >conftest.$ac_ext <<_ACEOF
15777 cat confdefs.h >>conftest.$ac_ext
15778 cat >>conftest.$ac_ext <<_ACEOF
15779 /* end confdefs.h. */
15789 rm -f conftest.$ac_objext conftest$ac_exeext
15790 if { (ac_try="$ac_link"
15791 case "(($ac_try" in
15792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15793 *) ac_try_echo
=$ac_try;;
15795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15796 (eval "$ac_link") 2>conftest.er1
15798 grep -v '^ *+' conftest.er1
>conftest.err
15800 cat conftest.err
>&5
15801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802 (exit $ac_status); } &&
15803 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15804 { (case "(($ac_try" in
15805 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15806 *) ac_try_echo=$ac_try;;
15808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15809 (eval "$ac_try") 2>&5
15811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812 (exit $ac_status); }; } &&
15813 { ac_try='test -s conftest$ac_exeext'
15814 { (case "(($ac_try" in
15815 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15816 *) ac_try_echo
=$ac_try;;
15818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15819 (eval "$ac_try") 2>&5
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); }; }; then
15824 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15826 # Check for a 64-bit object if we didn't find anything.
15827 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; }
15830 echo "$as_me: failed program was:" >&5
15831 sed 's/^/| /' conftest.
$ac_ext >&5
15836 rm -f core conftest.err conftest.
$ac_objext \
15837 conftest
$ac_exeext conftest.
$ac_ext
15838 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15840 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
15841 # Warning - without using the other run time loading flags,
15842 # -berok will link without error, but may produce a broken library.
15843 no_undefined_flag
=' ${wl}-bernotok'
15844 allow_undefined_flag
=' ${wl}-berok'
15845 # Exported symbols can be pulled into shared objects from archives
15846 whole_archive_flag_spec
='$convenience'
15847 archive_cmds_need_lc
=yes
15848 # This is similar to how AIX traditionally builds its shared libraries.
15849 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'
15855 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)'
15856 hardcode_libdir_flag_spec
='-L$libdir'
15857 hardcode_minus_L
=yes
15858 # see comment about different semantics on the GNU ld section
15863 export_dynamic_flag_spec
=-rdynamic
15866 cygwin
* | mingw
* | pw32
*)
15867 # When not using gcc, we currently assume that we are using
15868 # Microsoft Visual C++.
15869 # hardcode_libdir_flag_spec is actually meaningless, as there is
15870 # no search path for DLLs.
15871 hardcode_libdir_flag_spec
=' '
15872 allow_undefined_flag
=unsupported
15873 # Tell ltmain to make .lib files, not .a files.
15875 # Tell ltmain to make .dll files, not .so files.
15877 # FIXME: Setting linknames here is a bad hack.
15878 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15879 # The linker will automatically build a .lib file if we build a DLL.
15880 old_archive_From_new_cmds
='true'
15881 # FIXME: Should let the user specify the lib program.
15882 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
15883 fix_srcfile_path
='`cygpath -w "$srcfile"`'
15884 enable_shared_with_static_runtimes
=yes
15887 darwin
* | rhapsody
*)
15889 rhapsody
* | darwin1.
[012])
15890 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
15893 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15894 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15896 case ${MACOSX_DEPLOYMENT_TARGET} in
15898 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15901 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
15907 archive_cmds_need_lc
=no
15909 hardcode_automatic
=yes
15910 hardcode_shlibpath_var
=unsupported
15911 whole_archive_flag_spec
=''
15912 link_all_deplibs
=yes
15913 if test "$GCC" = yes ; then
15914 output_verbose_link_cmd
='echo'
15915 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15916 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15917 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15918 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}'
15919 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}'
15921 case $cc_basename in
15923 output_verbose_link_cmd
='echo'
15924 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15925 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15926 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15927 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}'
15928 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}'
15938 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15939 hardcode_libdir_flag_spec
='-L$libdir'
15940 hardcode_shlibpath_var
=no
15947 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15948 # support. Future versions do this automatically, but an explicit c++rt0.o
15949 # does not break anything, and helps significantly (at the cost of a little
15952 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15953 hardcode_libdir_flag_spec
='-R$libdir'
15954 hardcode_direct
=yes
15955 hardcode_shlibpath_var
=no
15958 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15960 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15961 hardcode_direct
=yes
15962 hardcode_minus_L
=yes
15963 hardcode_shlibpath_var
=no
15966 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15967 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
15968 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15969 hardcode_libdir_flag_spec
='-R$libdir'
15970 hardcode_direct
=yes
15971 hardcode_shlibpath_var
=no
15975 if test "$GCC" = yes; then
15976 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'
15978 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'
15980 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15981 hardcode_libdir_separator
=:
15982 hardcode_direct
=yes
15984 # hardcode_minus_L: Not really in the search PATH,
15985 # but as the default location of the library.
15986 hardcode_minus_L
=yes
15987 export_dynamic_flag_spec
='${wl}-E'
15991 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15992 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15994 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15996 if test "$with_gnu_ld" = no
; then
15997 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15998 hardcode_libdir_separator
=:
16000 hardcode_direct
=yes
16001 export_dynamic_flag_spec
='${wl}-E'
16003 # hardcode_minus_L: Not really in the search PATH,
16004 # but as the default location of the library.
16005 hardcode_minus_L
=yes
16010 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16013 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16016 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16019 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16025 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16028 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16031 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16035 if test "$with_gnu_ld" = no
; then
16036 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
16037 hardcode_libdir_separator
=:
16041 hardcode_libdir_flag_spec_ld
='+b $libdir'
16043 hardcode_shlibpath_var
=no
16046 hardcode_direct
=yes
16047 export_dynamic_flag_spec
='${wl}-E'
16049 # hardcode_minus_L: Not really in the search PATH,
16050 # but as the default location of the library.
16051 hardcode_minus_L
=yes
16057 irix5
* | irix6
* | nonstopux
*)
16058 if test "$GCC" = yes; then
16059 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'
16061 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'
16062 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
16064 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
16065 hardcode_libdir_separator
=:
16066 link_all_deplibs
=yes
16070 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16071 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16073 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16075 hardcode_libdir_flag_spec
='-R$libdir'
16076 hardcode_direct
=yes
16077 hardcode_shlibpath_var
=no
16081 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16082 hardcode_direct
=yes
16083 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
16084 hardcode_libdir_separator
=:
16085 hardcode_shlibpath_var
=no
16089 hardcode_direct
=yes
16090 hardcode_shlibpath_var
=no
16091 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16092 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16093 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16094 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
16095 export_dynamic_flag_spec
='${wl}-E'
16098 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16099 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16100 hardcode_libdir_flag_spec
='-R$libdir'
16103 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16104 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
16111 hardcode_libdir_flag_spec
='-L$libdir'
16112 hardcode_minus_L
=yes
16113 allow_undefined_flag
=unsupported
16114 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'
16115 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16119 if test "$GCC" = yes; then
16120 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
16121 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'
16123 allow_undefined_flag
=' -expect_unresolved \*'
16124 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'
16126 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
16127 hardcode_libdir_separator
=:
16130 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16131 if test "$GCC" = yes; then
16132 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
16133 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'
16134 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
16136 allow_undefined_flag
=' -expect_unresolved \*'
16137 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'
16138 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16139 $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'
16141 # Both c and cxx compiler support -rpath directly
16142 hardcode_libdir_flag_spec
='-rpath $libdir'
16144 hardcode_libdir_separator
=:
16148 no_undefined_flag
=' -z text'
16149 if test "$GCC" = yes; then
16151 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16152 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16153 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16156 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16157 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16158 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16160 hardcode_libdir_flag_spec
='-R$libdir'
16161 hardcode_shlibpath_var
=no
16163 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16165 # The compiler driver will combine linker options so we
16166 # cannot just pass the convience library names through
16167 # without $wl, iff we do not link with $LD.
16168 # Luckily, gcc supports the same syntax we need for Sun Studio.
16169 # Supported since Solaris 2.6 (maybe 2.5.1?)
16172 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
16174 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' ;;
16177 link_all_deplibs
=yes
16181 if test "x$host_vendor" = xsequent
; then
16182 # Use $CC to link under sequent, because it throws in some extra .o
16183 # files that make .init and .fini sections work.
16184 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16186 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16188 hardcode_libdir_flag_spec
='-L$libdir'
16189 hardcode_direct
=yes
16190 hardcode_minus_L
=yes
16191 hardcode_shlibpath_var
=no
16195 case $host_vendor in
16197 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16198 hardcode_direct
=yes # is this really true???
16201 ## LD is ld it makes a PLAMLIB
16202 ## CC just makes a GrossModule.
16203 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16204 reload_cmds
='$CC -r -o $output$reload_objs'
16208 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16209 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
16212 runpath_var
='LD_RUN_PATH'
16213 hardcode_shlibpath_var
=no
16217 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16218 hardcode_shlibpath_var
=no
16219 export_dynamic_flag_spec
='-Bexport'
16223 if test -d /usr
/nec
; then
16224 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16225 hardcode_shlibpath_var
=no
16226 runpath_var
=LD_RUN_PATH
16227 hardcode_runpath_var
=yes
16232 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
16233 no_undefined_flag
='${wl}-z,text'
16234 archive_cmds_need_lc
=no
16235 hardcode_shlibpath_var
=no
16236 runpath_var
='LD_RUN_PATH'
16238 if test "$GCC" = yes; then
16239 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16240 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16242 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16243 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16247 sysv5
* | sco3.2v5
* | sco5v6
*)
16248 # Note: We can NOT use -z defs as we might desire, because we do not
16249 # link with -lc, and that would cause any symbols used from libc to
16250 # always be unresolved, which means just about no library would
16251 # ever link correctly. If we're not using GNU ld we use -z text
16252 # though, which does catch some bad symbols but isn't as heavy-handed
16254 no_undefined_flag
='${wl}-z,text'
16255 allow_undefined_flag
='${wl}-z,nodefs'
16256 archive_cmds_need_lc
=no
16257 hardcode_shlibpath_var
=no
16258 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16259 hardcode_libdir_separator
=':'
16260 link_all_deplibs
=yes
16261 export_dynamic_flag_spec
='${wl}-Bexport'
16262 runpath_var
='LD_RUN_PATH'
16264 if test "$GCC" = yes; then
16265 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16266 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16268 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16269 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16274 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16275 hardcode_libdir_flag_spec
='-L$libdir'
16276 hardcode_shlibpath_var
=no
16285 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
16286 echo "${ECHO_T}$ld_shlibs" >&6; }
16287 test "$ld_shlibs" = no
&& can_build_shared
=no
16290 # Do we need to explicitly link libc?
16292 case "x$archive_cmds_need_lc" in
16294 # Assume -lc should be added
16295 archive_cmds_need_lc
=yes
16297 if test "$enable_shared" = yes && test "$GCC" = yes; then
16298 case $archive_cmds in
16300 # FIXME: we may have to deal with multi-command sequences.
16303 # Test whether the compiler implicitly links with -lc since on some
16304 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16305 # to ld, don't add -lc before -lgcc.
16306 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16307 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16309 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16312 (eval $ac_compile) 2>&5
16314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); } 2>conftest.err
; then
16318 libobjs
=conftest.
$ac_objext
16320 wl
=$lt_prog_compiler_wl
16321 pic_flag
=$lt_prog_compiler_pic
16327 lt_save_allow_undefined_flag
=$allow_undefined_flag
16328 allow_undefined_flag
=
16329 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16330 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16333 (exit $ac_status); }
16335 archive_cmds_need_lc
=no
16337 archive_cmds_need_lc
=yes
16339 allow_undefined_flag
=$lt_save_allow_undefined_flag
16341 cat conftest.err
1>&5
16344 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
16345 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
16352 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16353 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16354 library_names_spec
=
16355 libname_spec
='lib$name'
16359 postuninstall_cmds
=
16363 shlibpath_overrides_runpath
=unknown
16365 dynamic_linker
="$host_os ld.so"
16366 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16367 if test "$GCC" = yes; then
16368 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16369 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
16370 # if the path contains ";" then we assume it to be the separator
16371 # otherwise default to the standard path separator (i.e. ":") - it is
16372 # assumed that no part of a normal pathname contains ";" but that should
16373 # okay in the real world where ";" in dirpaths is itself problematic.
16374 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16376 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16379 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16381 need_lib_prefix
=unknown
16382 hardcode_into_libs
=no
16384 # when you set need_version to no, make sure it does not cause -set_version
16385 # flags to be left without arguments
16386 need_version
=unknown
16391 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16392 shlibpath_var
=LIBPATH
16394 # AIX 3 has no versioning support, so we append a major version to the name.
16395 soname_spec
='${libname}${release}${shared_ext}$major'
16402 hardcode_into_libs
=yes
16403 if test "$host_cpu" = ia64
; then
16404 # AIX 5 supports IA64
16405 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16406 shlibpath_var
=LD_LIBRARY_PATH
16408 # With GCC up to 2.95.x, collect2 would create an import file
16409 # for dependence libraries. The import file would start with
16410 # the line `#! .'. This would cause the generated library to
16411 # depend on `.', always an invalid library. This was fixed in
16412 # development snapshots of GCC prior to 3.0.
16414 aix4 | aix4.
[01] | aix4.
[01].
*)
16415 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16417 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
16420 can_build_shared
=no
16424 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16425 # soname into executable. Probably we can add versioning support to
16426 # collect2, so additional links can be useful in future.
16427 if test "$aix_use_runtimelinking" = yes; then
16428 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16429 # instead of lib<name>.a to let people know that these are not
16430 # typical AIX shared libraries.
16431 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16433 # We preserve .a as extension for shared libraries through AIX4.2
16434 # and later when we are not doing run time linking.
16435 library_names_spec
='${libname}${release}.a $libname.a'
16436 soname_spec
='${libname}${release}${shared_ext}$major'
16438 shlibpath_var
=LIBPATH
16443 library_names_spec
='$libname.ixlibrary $libname.a'
16444 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16445 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'
16449 library_names_spec
='${libname}${shared_ext}'
16450 dynamic_linker
="$host_os ld.so"
16451 shlibpath_var
=LIBRARY_PATH
16457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16458 soname_spec
='${libname}${release}${shared_ext}$major'
16459 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16460 shlibpath_var
=LD_LIBRARY_PATH
16461 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16462 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16463 # the default ld.so.conf also contains /usr/contrib/lib and
16464 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16465 # libtool to hard-code these into programs
16468 cygwin
* | mingw
* | pw32
*)
16469 version_type
=windows
16474 case $GCC,$host_os in
16475 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16476 library_names_spec
='$libname.dll.a'
16477 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16478 postinstall_cmds
='base_file=`basename \${file}`~
16479 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16480 dldir=$destdir/`dirname \$dlpath`~
16481 test -d \$dldir || mkdir -p \$dldir~
16482 $install_prog $dir/$dlname \$dldir/$dlname~
16483 chmod a+x \$dldir/$dlname'
16484 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16485 dlpath=$dir/\$dldll~
16487 shlibpath_overrides_runpath
=yes
16491 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16492 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16493 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16496 # MinGW DLLs use traditional 'lib' prefix
16497 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16498 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16499 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16500 # It is most probably a Windows format PATH printed by
16501 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16502 # path with ; separators, and with drive letters. We can handle the
16503 # drive letters (cygwin fileutils understands them), so leave them,
16504 # especially as we might pass files found there to a mingw objdump,
16505 # which wouldn't understand a cygwinified path. Ahh.
16506 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16508 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16512 # pw32 DLLs use 'pw' prefix rather than 'lib'
16513 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16519 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16522 dynamic_linker
='Win32 ld.exe'
16523 # FIXME: first we should search . and the directory the executable is in
16527 darwin
* | rhapsody
*)
16528 dynamic_linker
="$host_os dyld"
16529 version_type
=darwin
16532 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16533 soname_spec
='${libname}${release}${major}$shared_ext'
16534 shlibpath_overrides_runpath
=yes
16535 shlibpath_var
=DYLD_LIBRARY_PATH
16536 shrext_cmds
='.dylib'
16537 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16538 if test "$GCC" = yes; then
16539 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"`
16541 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
16543 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16551 soname_spec
='${libname}${release}${shared_ext}$major'
16552 shlibpath_var
=LD_LIBRARY_PATH
16563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16564 soname_spec
='${libname}${release}${shared_ext}$major'
16565 shlibpath_var
=LD_LIBRARY_PATH
16566 shlibpath_overrides_runpath
=no
16567 hardcode_into_libs
=yes
16568 dynamic_linker
='GNU ld.so'
16571 freebsd
* | dragonfly
*)
16572 # DragonFly does not have aout. When/if they implement a new
16573 # versioning mechanism, adjust this.
16574 if test -x /usr
/bin
/objformat
; then
16575 objformat
=`/usr/bin/objformat`
16578 freebsd
[123]*) objformat
=aout
;;
16579 *) objformat
=elf
;;
16582 version_type
=freebsd-
$objformat
16583 case $version_type in
16585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16590 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16594 shlibpath_var
=LD_LIBRARY_PATH
16597 shlibpath_overrides_runpath
=yes
16599 freebsd3.
[01]* | freebsdelf3.
[01]*)
16600 shlibpath_overrides_runpath
=yes
16601 hardcode_into_libs
=yes
16603 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16604 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16605 shlibpath_overrides_runpath
=no
16606 hardcode_into_libs
=yes
16608 freebsd
*) # from 4.6 on
16609 shlibpath_overrides_runpath
=yes
16610 hardcode_into_libs
=yes
16619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16620 soname_spec
='${libname}${release}${shared_ext}$major'
16621 shlibpath_var
=LD_LIBRARY_PATH
16622 hardcode_into_libs
=yes
16625 hpux9
* | hpux10
* | hpux11
*)
16626 # Give a soname corresponding to the major version so that dld.sl refuses to
16627 # link against other versions.
16634 hardcode_into_libs
=yes
16635 dynamic_linker
="$host_os dld.so"
16636 shlibpath_var
=LD_LIBRARY_PATH
16637 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16639 soname_spec
='${libname}${release}${shared_ext}$major'
16640 if test "X$HPUX_IA64_MODE" = X32
; then
16641 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16643 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16645 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16649 hardcode_into_libs
=yes
16650 dynamic_linker
="$host_os dld.sl"
16651 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16652 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16654 soname_spec
='${libname}${release}${shared_ext}$major'
16655 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16656 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16660 dynamic_linker
="$host_os dld.sl"
16661 shlibpath_var
=SHLIB_PATH
16662 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16663 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16664 soname_spec
='${libname}${release}${shared_ext}$major'
16667 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16668 postinstall_cmds
='chmod 555 $lib'
16675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16676 soname_spec
='${libname}${release}${shared_ext}$major'
16677 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16678 shlibpath_var
=LD_LIBRARY_PATH
16679 shlibpath_overrides_runpath
=no
16680 hardcode_into_libs
=yes
16683 irix5
* | irix6
* | nonstopux
*)
16685 nonstopux
*) version_type
=nonstopux
;;
16687 if test "$lt_cv_prog_gnu_ld" = yes; then
16695 soname_spec
='${libname}${release}${shared_ext}$major'
16696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16698 irix5
* | nonstopux
*)
16699 libsuff
= shlibsuff
=
16702 case $LD in # libtool.m4 will add one of these switches to LD
16703 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16704 libsuff
= shlibsuff
= libmagic
=32-bit;;
16705 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16706 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16707 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16708 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16709 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16713 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16714 shlibpath_overrides_runpath
=no
16715 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16716 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16717 hardcode_into_libs
=yes
16720 # No shared lib support for Linux oldld, aout, or coff.
16721 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16725 # This must be Linux ELF.
16730 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16731 soname_spec
='${libname}${release}${shared_ext}$major'
16732 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16733 shlibpath_var
=LD_LIBRARY_PATH
16734 shlibpath_overrides_runpath
=no
16735 # This implies no fast_install, which is unacceptable.
16736 # Some rework will be needed to allow for fast_install
16737 # before this can be enabled.
16738 hardcode_into_libs
=yes
16740 # Append ld.so.conf contents to the search path
16741 if test -f /etc
/ld.so.conf
; then
16742 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' ' '`
16743 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16746 # We used to test for /lib/ld.so.1 and disable shared libraries on
16747 # powerpc, because MkLinux only supported shared libraries with the
16748 # GNU dynamic linker. Since this was broken with cross compilers,
16749 # most powerpc-linux boxes support dynamic linking these days and
16750 # people can always --disable-shared, the test was removed, and we
16751 # assume the GNU/Linux dynamic linker is in use.
16752 dynamic_linker
='GNU/Linux ld.so'
16759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16760 soname_spec
='${libname}${release}${shared_ext}$major'
16761 shlibpath_var
=LD_LIBRARY_PATH
16762 shlibpath_overrides_runpath
=no
16763 hardcode_into_libs
=yes
16764 dynamic_linker
='GNU ld.so'
16771 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16773 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16774 dynamic_linker
='NetBSD (a.out) ld.so'
16776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16777 soname_spec
='${libname}${release}${shared_ext}$major'
16778 dynamic_linker
='NetBSD ld.elf_so'
16780 shlibpath_var
=LD_LIBRARY_PATH
16781 shlibpath_overrides_runpath
=yes
16782 hardcode_into_libs
=yes
16787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16788 shlibpath_var
=LD_LIBRARY_PATH
16789 shlibpath_overrides_runpath
=yes
16796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16797 soname_spec
='${libname}${release}${shared_ext}$major'
16798 shlibpath_var
=LD_LIBRARY_PATH
16799 shlibpath_overrides_runpath
=yes
16804 sys_lib_dlsearch_path_spec
="/usr/lib"
16806 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16808 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16809 *) need_version
=no
;;
16811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16812 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16813 shlibpath_var
=LD_LIBRARY_PATH
16814 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16816 openbsd2.
[89] | openbsd2.
[89].
*)
16817 shlibpath_overrides_runpath
=no
16820 shlibpath_overrides_runpath
=yes
16824 shlibpath_overrides_runpath
=yes
16829 libname_spec
='$name'
16832 library_names_spec
='$libname${shared_ext} $libname.a'
16833 dynamic_linker
='OS/2 ld.exe'
16834 shlibpath_var
=LIBPATH
16837 osf3
* | osf4
* | osf5
*)
16841 soname_spec
='${libname}${release}${shared_ext}$major'
16842 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16843 shlibpath_var
=LD_LIBRARY_PATH
16844 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16845 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16853 soname_spec
='${libname}${release}${shared_ext}$major'
16854 shlibpath_var
=LD_LIBRARY_PATH
16855 shlibpath_overrides_runpath
=yes
16856 hardcode_into_libs
=yes
16857 # ldd complains unless libraries are executable
16858 postinstall_cmds
='chmod +x $lib'
16863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16864 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16865 shlibpath_var
=LD_LIBRARY_PATH
16866 shlibpath_overrides_runpath
=yes
16867 if test "$with_gnu_ld" = yes; then
16875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16876 soname_spec
='${libname}${release}${shared_ext}$major'
16877 shlibpath_var
=LD_LIBRARY_PATH
16878 case $host_vendor in
16880 shlibpath_overrides_runpath
=no
16882 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16883 runpath_var
=LD_RUN_PATH
16891 shlibpath_overrides_runpath
=no
16892 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16898 if test -d /usr
/nec
;then
16900 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16901 soname_spec
='$libname${shared_ext}.$major'
16902 shlibpath_var
=LD_LIBRARY_PATH
16906 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16907 version_type
=freebsd-elf
16910 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16911 soname_spec
='${libname}${release}${shared_ext}$major'
16912 shlibpath_var
=LD_LIBRARY_PATH
16913 hardcode_into_libs
=yes
16914 if test "$with_gnu_ld" = yes; then
16915 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16916 shlibpath_overrides_runpath
=no
16918 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16919 shlibpath_overrides_runpath
=yes
16922 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16926 sys_lib_dlsearch_path_spec
='/usr/lib'
16931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16932 soname_spec
='${libname}${release}${shared_ext}$major'
16933 shlibpath_var
=LD_LIBRARY_PATH
16940 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16941 echo "${ECHO_T}$dynamic_linker" >&6; }
16942 test "$dynamic_linker" = no
&& can_build_shared
=no
16944 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16945 if test "$GCC" = yes; then
16946 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16949 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16950 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16952 if test -n "$hardcode_libdir_flag_spec" || \
16953 test -n "$runpath_var" || \
16954 test "X$hardcode_automatic" = "Xyes" ; then
16956 # We can hardcode non-existant directories.
16957 if test "$hardcode_direct" != no
&&
16958 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16959 # have to relink, otherwise we might link with an installed library
16960 # when we should be linking with a yet-to-be-installed one
16961 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
16962 test "$hardcode_minus_L" != no
; then
16963 # Linking always hardcodes the temporary library directory.
16964 hardcode_action
=relink
16966 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16967 hardcode_action
=immediate
16970 # We cannot hardcode anything, or else we can only hardcode existing
16972 hardcode_action
=unsupported
16974 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
16975 echo "${ECHO_T}$hardcode_action" >&6; }
16977 if test "$hardcode_action" = relink
; then
16978 # Fast installation is not supported
16979 enable_fast_install
=no
16980 elif test "$shlibpath_overrides_runpath" = yes ||
16981 test "$enable_shared" = no
; then
16982 # Fast installation is not necessary
16983 enable_fast_install
=needless
16988 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16989 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
16990 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
16991 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
16992 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
16993 { echo "$as_me:$LINENO: result: yes" >&5
16994 echo "${ECHO_T}yes" >&6; }
16996 # FIXME - insert some real tests, host_os isn't really good enough
16999 if test -n "$STRIP" ; then
17000 striplib
="$STRIP -x"
17001 { echo "$as_me:$LINENO: result: yes" >&5
17002 echo "${ECHO_T}yes" >&6; }
17004 { echo "$as_me:$LINENO: result: no" >&5
17005 echo "${ECHO_T}no" >&6; }
17009 { echo "$as_me:$LINENO: result: no" >&5
17010 echo "${ECHO_T}no" >&6; }
17015 if test "x$enable_dlopen" != xyes
; then
17016 enable_dlopen
=unknown
17017 enable_dlopen_self
=unknown
17018 enable_dlopen_self_static
=unknown
17025 lt_cv_dlopen
="load_add_on"
17027 lt_cv_dlopen_self
=yes
17031 lt_cv_dlopen
="LoadLibrary"
17036 lt_cv_dlopen
="dlopen"
17041 # if libdl is installed we need to link against it
17042 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17043 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17044 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17045 echo $ECHO_N "(cached) $ECHO_C" >&6
17047 ac_check_lib_save_LIBS
=$LIBS
17049 cat >conftest.
$ac_ext <<_ACEOF
17052 cat confdefs.h
>>conftest.
$ac_ext
17053 cat >>conftest.
$ac_ext <<_ACEOF
17054 /* end confdefs.h. */
17056 /* Override any GCC internal prototype to avoid an error.
17057 Use char because int might match the return type of a GCC
17058 builtin and then its argument prototype would still apply. */
17071 rm -f conftest.
$ac_objext conftest
$ac_exeext
17072 if { (ac_try
="$ac_link"
17073 case "(($ac_try" in
17074 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17075 *) ac_try_echo=$ac_try;;
17077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17078 (eval "$ac_link") 2>conftest.er1
17080 grep -v '^ *+' conftest.er1 >conftest.err
17082 cat conftest.err >&5
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); } &&
17085 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17086 { (case "(($ac_try" in
17087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17088 *) ac_try_echo
=$ac_try;;
17090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17091 (eval "$ac_try") 2>&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); }; } &&
17095 { ac_try
='test -s conftest$ac_exeext'
17096 { (case "(($ac_try" in
17097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17098 *) ac_try_echo=$ac_try;;
17100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17101 (eval "$ac_try") 2>&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); }; }; then
17105 ac_cv_lib_dl_dlopen=yes
17107 echo "$as_me: failed program was:" >&5
17108 sed 's/^/| /' conftest.$ac_ext >&5
17110 ac_cv_lib_dl_dlopen=no
17113 rm -f core conftest.err conftest.$ac_objext \
17114 conftest$ac_exeext conftest.$ac_ext
17115 LIBS=$ac_check_lib_save_LIBS
17117 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17118 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17119 if test $ac_cv_lib_dl_dlopen = yes; then
17120 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17123 lt_cv_dlopen="dyld"
17125 lt_cv_dlopen_self=yes
17132 { echo "$as_me:$LINENO: checking for shl_load" >&5
17133 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
17134 if test "${ac_cv_func_shl_load+set}" = set; then
17135 echo $ECHO_N "(cached) $ECHO_C" >&6
17137 cat >conftest.$ac_ext <<_ACEOF
17140 cat confdefs.h >>conftest.$ac_ext
17141 cat >>conftest.$ac_ext <<_ACEOF
17142 /* end confdefs.h. */
17143 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17145 #define shl_load innocuous_shl_load
17147 /* System header to define __stub macros and hopefully few prototypes,
17148 which can conflict with char shl_load (); below.
17149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17150 <limits.h> exists even on freestanding compilers. */
17153 # include <limits.h>
17155 # include <assert.h>
17160 /* Override any GCC internal prototype to avoid an error.
17161 Use char because int might match the return type of a GCC
17162 builtin and then its argument prototype would still apply. */
17167 /* The GNU C library defines this for functions which it implements
17168 to always fail with ENOSYS. Some functions are actually named
17169 something starting with __ and the normal name is an alias. */
17170 #if defined __stub_shl_load || defined __stub___shl_load
17177 return shl_load ();
17182 rm -f conftest.$ac_objext conftest$ac_exeext
17183 if { (ac_try="$ac_link"
17184 case "(($ac_try" in
17185 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17186 *) ac_try_echo
=$ac_try;;
17188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17189 (eval "$ac_link") 2>conftest.er1
17191 grep -v '^ *+' conftest.er1
>conftest.err
17193 cat conftest.err
>&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); } &&
17196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17197 { (case "(($ac_try" in
17198 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17199 *) ac_try_echo=$ac_try;;
17201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17202 (eval "$ac_try") 2>&5
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); }; } &&
17206 { ac_try='test -s conftest$ac_exeext'
17207 { (case "(($ac_try" in
17208 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17209 *) ac_try_echo
=$ac_try;;
17211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17212 (eval "$ac_try") 2>&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); }; }; then
17216 ac_cv_func_shl_load
=yes
17218 echo "$as_me: failed program was:" >&5
17219 sed 's/^/| /' conftest.
$ac_ext >&5
17221 ac_cv_func_shl_load
=no
17224 rm -f core conftest.err conftest.
$ac_objext \
17225 conftest
$ac_exeext conftest.
$ac_ext
17227 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17228 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
17229 if test $ac_cv_func_shl_load = yes; then
17230 lt_cv_dlopen
="shl_load"
17232 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17233 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
17234 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17235 echo $ECHO_N "(cached) $ECHO_C" >&6
17237 ac_check_lib_save_LIBS
=$LIBS
17239 cat >conftest.
$ac_ext <<_ACEOF
17242 cat confdefs.h
>>conftest.
$ac_ext
17243 cat >>conftest.
$ac_ext <<_ACEOF
17244 /* end confdefs.h. */
17246 /* Override any GCC internal prototype to avoid an error.
17247 Use char because int might match the return type of a GCC
17248 builtin and then its argument prototype would still apply. */
17256 return shl_load ();
17261 rm -f conftest.
$ac_objext conftest
$ac_exeext
17262 if { (ac_try
="$ac_link"
17263 case "(($ac_try" in
17264 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17265 *) ac_try_echo=$ac_try;;
17267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17268 (eval "$ac_link") 2>conftest.er1
17270 grep -v '^ *+' conftest.er1 >conftest.err
17272 cat conftest.err >&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } &&
17275 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17276 { (case "(($ac_try" in
17277 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17278 *) ac_try_echo
=$ac_try;;
17280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17281 (eval "$ac_try") 2>&5
17283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17284 (exit $ac_status); }; } &&
17285 { ac_try
='test -s conftest$ac_exeext'
17286 { (case "(($ac_try" in
17287 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17288 *) ac_try_echo=$ac_try;;
17290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17291 (eval "$ac_try") 2>&5
17293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17294 (exit $ac_status); }; }; then
17295 ac_cv_lib_dld_shl_load=yes
17297 echo "$as_me: failed program was:" >&5
17298 sed 's/^/| /' conftest.$ac_ext >&5
17300 ac_cv_lib_dld_shl_load=no
17303 rm -f core conftest.err conftest.$ac_objext \
17304 conftest$ac_exeext conftest.$ac_ext
17305 LIBS=$ac_check_lib_save_LIBS
17307 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17308 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
17309 if test $ac_cv_lib_dld_shl_load = yes; then
17310 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17312 { echo "$as_me:$LINENO: checking for dlopen" >&5
17313 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
17314 if test "${ac_cv_func_dlopen+set}" = set; then
17315 echo $ECHO_N "(cached) $ECHO_C" >&6
17317 cat >conftest.$ac_ext <<_ACEOF
17320 cat confdefs.h >>conftest.$ac_ext
17321 cat >>conftest.$ac_ext <<_ACEOF
17322 /* end confdefs.h. */
17323 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17325 #define dlopen innocuous_dlopen
17327 /* System header to define __stub macros and hopefully few prototypes,
17328 which can conflict with char dlopen (); below.
17329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17330 <limits.h> exists even on freestanding compilers. */
17333 # include <limits.h>
17335 # include <assert.h>
17340 /* Override any GCC internal prototype to avoid an error.
17341 Use char because int might match the return type of a GCC
17342 builtin and then its argument prototype would still apply. */
17347 /* The GNU C library defines this for functions which it implements
17348 to always fail with ENOSYS. Some functions are actually named
17349 something starting with __ and the normal name is an alias. */
17350 #if defined __stub_dlopen || defined __stub___dlopen
17362 rm -f conftest.$ac_objext conftest$ac_exeext
17363 if { (ac_try="$ac_link"
17364 case "(($ac_try" in
17365 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17366 *) ac_try_echo
=$ac_try;;
17368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17369 (eval "$ac_link") 2>conftest.er1
17371 grep -v '^ *+' conftest.er1
>conftest.err
17373 cat conftest.err
>&5
17374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17375 (exit $ac_status); } &&
17376 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17377 { (case "(($ac_try" in
17378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17379 *) ac_try_echo=$ac_try;;
17381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17382 (eval "$ac_try") 2>&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); }; } &&
17386 { ac_try='test -s conftest$ac_exeext'
17387 { (case "(($ac_try" in
17388 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17389 *) ac_try_echo
=$ac_try;;
17391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17392 (eval "$ac_try") 2>&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); }; }; then
17396 ac_cv_func_dlopen
=yes
17398 echo "$as_me: failed program was:" >&5
17399 sed 's/^/| /' conftest.
$ac_ext >&5
17401 ac_cv_func_dlopen
=no
17404 rm -f core conftest.err conftest.
$ac_objext \
17405 conftest
$ac_exeext conftest.
$ac_ext
17407 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17408 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
17409 if test $ac_cv_func_dlopen = yes; then
17410 lt_cv_dlopen
="dlopen"
17412 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17413 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17414 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17415 echo $ECHO_N "(cached) $ECHO_C" >&6
17417 ac_check_lib_save_LIBS
=$LIBS
17419 cat >conftest.
$ac_ext <<_ACEOF
17422 cat confdefs.h
>>conftest.
$ac_ext
17423 cat >>conftest.
$ac_ext <<_ACEOF
17424 /* end confdefs.h. */
17426 /* Override any GCC internal prototype to avoid an error.
17427 Use char because int might match the return type of a GCC
17428 builtin and then its argument prototype would still apply. */
17441 rm -f conftest.
$ac_objext conftest
$ac_exeext
17442 if { (ac_try
="$ac_link"
17443 case "(($ac_try" in
17444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17445 *) ac_try_echo=$ac_try;;
17447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17448 (eval "$ac_link") 2>conftest.er1
17450 grep -v '^ *+' conftest.er1 >conftest.err
17452 cat conftest.err >&5
17453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454 (exit $ac_status); } &&
17455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17456 { (case "(($ac_try" in
17457 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17458 *) ac_try_echo
=$ac_try;;
17460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17461 (eval "$ac_try") 2>&5
17463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464 (exit $ac_status); }; } &&
17465 { ac_try
='test -s conftest$ac_exeext'
17466 { (case "(($ac_try" in
17467 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17468 *) ac_try_echo=$ac_try;;
17470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17471 (eval "$ac_try") 2>&5
17473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17474 (exit $ac_status); }; }; then
17475 ac_cv_lib_dl_dlopen=yes
17477 echo "$as_me: failed program was:" >&5
17478 sed 's/^/| /' conftest.$ac_ext >&5
17480 ac_cv_lib_dl_dlopen=no
17483 rm -f core conftest.err conftest.$ac_objext \
17484 conftest$ac_exeext conftest.$ac_ext
17485 LIBS=$ac_check_lib_save_LIBS
17487 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17488 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17489 if test $ac_cv_lib_dl_dlopen = yes; then
17490 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17492 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17493 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
17494 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17495 echo $ECHO_N "(cached) $ECHO_C" >&6
17497 ac_check_lib_save_LIBS=$LIBS
17498 LIBS="-lsvld $LIBS"
17499 cat >conftest.$ac_ext <<_ACEOF
17502 cat confdefs.h >>conftest.$ac_ext
17503 cat >>conftest.$ac_ext <<_ACEOF
17504 /* end confdefs.h. */
17506 /* Override any GCC internal prototype to avoid an error.
17507 Use char because int might match the return type of a GCC
17508 builtin and then its argument prototype would still apply. */
17521 rm -f conftest.$ac_objext conftest$ac_exeext
17522 if { (ac_try="$ac_link"
17523 case "(($ac_try" in
17524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17525 *) ac_try_echo
=$ac_try;;
17527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17528 (eval "$ac_link") 2>conftest.er1
17530 grep -v '^ *+' conftest.er1
>conftest.err
17532 cat conftest.err
>&5
17533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534 (exit $ac_status); } &&
17535 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17536 { (case "(($ac_try" in
17537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17538 *) ac_try_echo=$ac_try;;
17540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17541 (eval "$ac_try") 2>&5
17543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544 (exit $ac_status); }; } &&
17545 { ac_try='test -s conftest$ac_exeext'
17546 { (case "(($ac_try" in
17547 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17548 *) ac_try_echo
=$ac_try;;
17550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17551 (eval "$ac_try") 2>&5
17553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); }; }; then
17555 ac_cv_lib_svld_dlopen
=yes
17557 echo "$as_me: failed program was:" >&5
17558 sed 's/^/| /' conftest.
$ac_ext >&5
17560 ac_cv_lib_svld_dlopen
=no
17563 rm -f core conftest.err conftest.
$ac_objext \
17564 conftest
$ac_exeext conftest.
$ac_ext
17565 LIBS
=$ac_check_lib_save_LIBS
17567 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17568 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
17569 if test $ac_cv_lib_svld_dlopen = yes; then
17570 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
17572 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17573 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
17574 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17575 echo $ECHO_N "(cached) $ECHO_C" >&6
17577 ac_check_lib_save_LIBS
=$LIBS
17579 cat >conftest.
$ac_ext <<_ACEOF
17582 cat confdefs.h
>>conftest.
$ac_ext
17583 cat >>conftest.
$ac_ext <<_ACEOF
17584 /* end confdefs.h. */
17586 /* Override any GCC internal prototype to avoid an error.
17587 Use char because int might match the return type of a GCC
17588 builtin and then its argument prototype would still apply. */
17596 return dld_link ();
17601 rm -f conftest.
$ac_objext conftest
$ac_exeext
17602 if { (ac_try
="$ac_link"
17603 case "(($ac_try" in
17604 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17605 *) ac_try_echo=$ac_try;;
17607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17608 (eval "$ac_link") 2>conftest.er1
17610 grep -v '^ *+' conftest.er1 >conftest.err
17612 cat conftest.err >&5
17613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614 (exit $ac_status); } &&
17615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17616 { (case "(($ac_try" in
17617 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17618 *) ac_try_echo
=$ac_try;;
17620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17621 (eval "$ac_try") 2>&5
17623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624 (exit $ac_status); }; } &&
17625 { ac_try
='test -s conftest$ac_exeext'
17626 { (case "(($ac_try" in
17627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17628 *) ac_try_echo=$ac_try;;
17630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17631 (eval "$ac_try") 2>&5
17633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17634 (exit $ac_status); }; }; then
17635 ac_cv_lib_dld_dld_link=yes
17637 echo "$as_me: failed program was:" >&5
17638 sed 's/^/| /' conftest.$ac_ext >&5
17640 ac_cv_lib_dld_dld_link=no
17643 rm -f core conftest.err conftest.$ac_objext \
17644 conftest$ac_exeext conftest.$ac_ext
17645 LIBS=$ac_check_lib_save_LIBS
17647 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17648 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
17649 if test $ac_cv_lib_dld_dld_link = yes; then
17650 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17671 if test "x$lt_cv_dlopen" != xno; then
17677 case $lt_cv_dlopen in
17679 save_CPPFLAGS="$CPPFLAGS"
17680 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17682 save_LDFLAGS="$LDFLAGS"
17683 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17686 LIBS="$lt_cv_dlopen_libs $LIBS"
17688 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17689 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
17690 if test "${lt_cv_dlopen_self+set}" = set; then
17691 echo $ECHO_N "(cached) $ECHO_C" >&6
17693 if test "$cross_compiling" = yes; then :
17694 lt_cv_dlopen_self=cross
17696 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17697 lt_status=$lt_dlunknown
17698 cat > conftest.$ac_ext <<EOF
17699 #line 17699 "configure"
17700 #include "confdefs.h"
17709 # define LT_DLGLOBAL RTLD_GLOBAL
17712 # define LT_DLGLOBAL DL_GLOBAL
17714 # define LT_DLGLOBAL 0
17718 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17719 find out it does not work in some platform. */
17720 #ifndef LT_DLLAZY_OR_NOW
17722 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17725 # define LT_DLLAZY_OR_NOW DL_LAZY
17728 # define LT_DLLAZY_OR_NOW RTLD_NOW
17731 # define LT_DLLAZY_OR_NOW DL_NOW
17733 # define LT_DLLAZY_OR_NOW 0
17741 extern "C" void exit (int);
17744 void fnord() { int i=42;}
17747 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17748 int status = $lt_dlunknown;
17752 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17753 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17754 /* dlclose (self); */
17762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17763 (eval $ac_link) 2>&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17767 (./conftest; exit; ) >&5 2>/dev/null
17769 case x$lt_status in
17770 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17771 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17772 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
17775 # compilation failed
17776 lt_cv_dlopen_self=no
17783 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17784 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
17786 if test "x$lt_cv_dlopen_self" = xyes; then
17787 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
17788 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17789 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
17790 if test "${lt_cv_dlopen_self_static+set}" = set; then
17791 echo $ECHO_N "(cached) $ECHO_C" >&6
17793 if test "$cross_compiling" = yes; then :
17794 lt_cv_dlopen_self_static=cross
17796 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17797 lt_status=$lt_dlunknown
17798 cat > conftest.$ac_ext <<EOF
17799 #line 17799 "configure"
17800 #include "confdefs.h"
17809 # define LT_DLGLOBAL RTLD_GLOBAL
17812 # define LT_DLGLOBAL DL_GLOBAL
17814 # define LT_DLGLOBAL 0
17818 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17819 find out it does not work in some platform. */
17820 #ifndef LT_DLLAZY_OR_NOW
17822 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17825 # define LT_DLLAZY_OR_NOW DL_LAZY
17828 # define LT_DLLAZY_OR_NOW RTLD_NOW
17831 # define LT_DLLAZY_OR_NOW DL_NOW
17833 # define LT_DLLAZY_OR_NOW 0
17841 extern "C" void exit (int);
17844 void fnord() { int i=42;}
17847 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17848 int status = $lt_dlunknown;
17852 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17853 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17854 /* dlclose (self); */
17862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17863 (eval $ac_link) 2>&5
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17867 (./conftest; exit; ) >&5 2>/dev/null
17869 case x$lt_status in
17870 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17871 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17872 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
17875 # compilation failed
17876 lt_cv_dlopen_self_static=no
17883 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17884 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
17887 CPPFLAGS="$save_CPPFLAGS"
17888 LDFLAGS="$save_LDFLAGS"
17893 case $lt_cv_dlopen_self in
17894 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17895 *) enable_dlopen_self=unknown ;;
17898 case $lt_cv_dlopen_self_static in
17899 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17900 *) enable_dlopen_self_static=unknown ;;
17905 # Report which library types will actually be built
17906 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17907 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
17908 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
17909 echo "${ECHO_T}$can_build_shared" >&6; }
17911 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17912 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
17913 test "$can_build_shared" = "no" && enable_shared=no
17915 # On AIX, shared libraries and static libraries use the same namespace, and
17916 # are all built from PIC.
17919 test "$enable_shared" = yes && enable_static=no
17920 if test -n "$RANLIB"; then
17921 archive_cmds="$archive_cmds~\$RANLIB \$lib"
17922 postinstall_cmds='$RANLIB $lib'
17927 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17928 test "$enable_shared" = yes && enable_static=no
17932 { echo "$as_me:$LINENO: result: $enable_shared" >&5
17933 echo "${ECHO_T}$enable_shared" >&6; }
17935 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17936 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
17937 # Make sure either enable_shared or enable_static is yes.
17938 test "$enable_shared" = yes || enable_static=yes
17939 { echo "$as_me:$LINENO: result: $enable_static" >&5
17940 echo "${ECHO_T}$enable_static" >&6; }
17942 # The else clause should only fire when bootstrapping the
17943 # libtool distribution, otherwise you forgot to ship ltmain.sh
17944 # with your package, and you will get complaints that there are
17945 # no rules to generate ltmain.sh.
17946 if test -f "$ltmain"; then
17947 # See if we are running on zsh, and set the options which allow our commands through
17948 # without removal of \ escapes.
17949 if test -n "${ZSH_VERSION+set}" ; then
17950 setopt NO_GLOB_SUBST
17952 # Now quote all the things that may contain metacharacters while being
17953 # careful not to overquote the AC_SUBSTed values. We take copies of the
17954 # variables and quote the copies for generation of the libtool script.
17955 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17957 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17958 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17959 deplibs_check_method reload_flag reload_cmds need_locks \
17960 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17961 lt_cv_sys_global_symbol_to_c_name_address \
17962 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17963 old_postinstall_cmds old_postuninstall_cmds \
17967 lt_prog_compiler_wl \
17968 lt_prog_compiler_pic \
17969 lt_prog_compiler_static \
17970 lt_prog_compiler_no_builtin_flag \
17971 export_dynamic_flag_spec \
17972 thread_safe_flag_spec \
17973 whole_archive_flag_spec \
17974 enable_shared_with_static_runtimes \
17976 old_archive_from_new_cmds \
17981 compiler_lib_search_path \
17983 archive_expsym_cmds \
17985 postuninstall_cmds \
17986 old_archive_from_expsyms_cmds \
17987 allow_undefined_flag \
17988 no_undefined_flag \
17989 export_symbols_cmds \
17990 hardcode_libdir_flag_spec \
17991 hardcode_libdir_flag_spec_ld \
17992 hardcode_libdir_separator \
17993 hardcode_automatic \
17995 module_expsym_cmds \
17996 lt_cv_prog_compiler_c_o \
17998 include_expsyms; do
18001 old_archive_cmds | \
18002 old_archive_from_new_cmds | \
18004 archive_expsym_cmds | \
18006 module_expsym_cmds | \
18007 old_archive_from_expsyms_cmds | \
18008 export_symbols_cmds | \
18009 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18010 postinstall_cmds | postuninstall_cmds | \
18011 old_postinstall_cmds | old_postuninstall_cmds | \
18012 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18013 # Double-quote double-evaled strings.
18014 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
18017 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
18023 *'\$0 --fallback-echo"')
18024 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18028 cfgfile="${ofile}T"
18029 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
18031 { echo "$as_me:$LINENO: creating $ofile" >&5
18032 echo "$as_me: creating $ofile" >&6;}
18034 cat <<__EOF__ >> "$cfgfile"
18037 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
18038 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
18039 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18041 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
18042 # Free Software Foundation, Inc.
18044 # This file is part of GNU Libtool:
18045 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
18047 # This program is free software; you can redistribute it and/or modify
18048 # it under the terms of the GNU General Public License as published by
18049 # the Free Software Foundation; either version 2 of the License, or
18050 # (at your option) any later version.
18052 # This program is distributed in the hope that it will be useful, but
18053 # WITHOUT ANY WARRANTY; without even the implied warranty of
18054 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18055 # General Public License for more details.
18057 # You should have received a copy of the GNU General Public License
18058 # along with this program; if not, write to the Free Software
18059 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18061 # As a special exception to the GNU General Public License, if you
18062 # distribute this file as part of a program that contains a
18063 # configuration script generated by Autoconf, you may include it under
18064 # the same distribution terms that you use for the rest of that program.
18066 # A sed program that does not truncate output.
18069 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18070 Xsed="$SED -e 1s/^X//"
18072 # The HP-UX ksh and POSIX shell print the target directory to stdout
18073 # if CDPATH is set.
18074 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18076 # The names of the tagged configurations supported by this script.
18079 # ### BEGIN LIBTOOL CONFIG
18081 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
18083 # Shell to use when invoking shell scripts.
18086 # Whether or not to build shared libraries.
18087 build_libtool_libs=$enable_shared
18089 # Whether or not to build static libraries.
18090 build_old_libs=$enable_static
18092 # Whether or not to add -lc for building shared libraries.
18093 build_libtool_need_lc=$archive_cmds_need_lc
18095 # Whether or not to disallow shared libs when runtime libs are static
18096 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18098 # Whether or not to optimize for fast installation.
18099 fast_install=$enable_fast_install
18102 host_alias=$host_alias
18106 # The build system.
18107 build_alias=$build_alias
18111 # An echo program that does not interpret backslashes.
18116 AR_FLAGS=$lt_AR_FLAGS
18121 # LTCC compiler flags.
18122 LTCFLAGS=$lt_LTCFLAGS
18124 # A language-specific compiler.
18127 # Is the compiler the GNU C compiler?
18133 # The linker used to build libraries.
18136 # Whether we need hard or soft links.
18139 # A BSD-compatible nm program.
18142 # A symbol stripping program
18145 # Used to examine libraries when file_magic_cmd begins "file"
18146 MAGIC_CMD=$MAGIC_CMD
18148 # Used on cygwin: DLL creation program.
18151 # Used on cygwin: object dumper.
18154 # Used on cygwin: assembler.
18157 # The name of the directory that contains temporary libtool files.
18160 # How to create reloadable object files.
18161 reload_flag=$lt_reload_flag
18162 reload_cmds=$lt_reload_cmds
18164 # How to pass a linker flag through the compiler.
18165 wl=$lt_lt_prog_compiler_wl
18167 # Object file suffix (normally "o").
18168 objext="$ac_objext"
18170 # Old archive suffix (normally "a").
18173 # Shared library suffix (normally ".so").
18174 shrext_cmds='$shrext_cmds'
18176 # Executable file suffix (normally "").
18179 # Additional compiler flags for building library objects.
18180 pic_flag=$lt_lt_prog_compiler_pic
18183 # What is the maximum length of a command?
18184 max_cmd_len=$lt_cv_sys_max_cmd_len
18186 # Does compiler simultaneously support -c and -o options?
18187 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18189 # Must we lock files when doing compilation?
18190 need_locks=$lt_need_locks
18192 # Do we need the lib prefix for modules?
18193 need_lib_prefix=$need_lib_prefix
18195 # Do we need a version for libraries?
18196 need_version=$need_version
18198 # Whether dlopen is supported.
18199 dlopen_support=$enable_dlopen
18201 # Whether dlopen of programs is supported.
18202 dlopen_self=$enable_dlopen_self
18204 # Whether dlopen of statically linked programs is supported.
18205 dlopen_self_static=$enable_dlopen_self_static
18207 # Compiler flag to prevent dynamic linking.
18208 link_static_flag=$lt_lt_prog_compiler_static
18210 # Compiler flag to turn off builtin functions.
18211 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18213 # Compiler flag to allow reflexive dlopens.
18214 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18216 # Compiler flag to generate shared objects directly from archives.
18217 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18219 # Compiler flag to generate thread-safe objects.
18220 thread_safe_flag_spec=$lt_thread_safe_flag_spec
18222 # Library versioning type.
18223 version_type=$version_type
18225 # Format of library name prefix.
18226 libname_spec=$lt_libname_spec
18228 # List of archive names. First name is the real one, the rest are links.
18229 # The last name is the one that the linker finds with -lNAME.
18230 library_names_spec=$lt_library_names_spec
18232 # The coded name of the library, if different from the real name.
18233 soname_spec=$lt_soname_spec
18235 # Commands used to build and install an old-style archive.
18237 old_archive_cmds=$lt_old_archive_cmds
18238 old_postinstall_cmds=$lt_old_postinstall_cmds
18239 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18241 # Create an old-style archive from a shared archive.
18242 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18244 # Create a temporary old-style archive to link instead of a shared archive.
18245 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18247 # Commands used to build and install a shared archive.
18248 archive_cmds=$lt_archive_cmds
18249 archive_expsym_cmds=$lt_archive_expsym_cmds
18250 postinstall_cmds=$lt_postinstall_cmds
18251 postuninstall_cmds=$lt_postuninstall_cmds
18253 # Commands used to build a loadable module (assumed same as above if empty)
18254 module_cmds=$lt_module_cmds
18255 module_expsym_cmds=$lt_module_expsym_cmds
18257 # Commands to strip libraries.
18258 old_striplib=$lt_old_striplib
18259 striplib=$lt_striplib
18261 # Dependencies to place before the objects being linked to create a
18263 predep_objects=$lt_predep_objects
18265 # Dependencies to place after the objects being linked to create a
18267 postdep_objects=$lt_postdep_objects
18269 # Dependencies to place before the objects being linked to create a
18271 predeps=$lt_predeps
18273 # Dependencies to place after the objects being linked to create a
18275 postdeps=$lt_postdeps
18277 # The library search path used internally by the compiler when linking
18278 # a shared library.
18279 compiler_lib_search_path=$lt_compiler_lib_search_path
18281 # Method to check whether dependent libraries are shared objects.
18282 deplibs_check_method=$lt_deplibs_check_method
18284 # Command to use when deplibs_check_method == file_magic.
18285 file_magic_cmd=$lt_file_magic_cmd
18287 # Flag that allows shared libraries with undefined symbols to be built.
18288 allow_undefined_flag=$lt_allow_undefined_flag
18290 # Flag that forces no undefined symbols.
18291 no_undefined_flag=$lt_no_undefined_flag
18293 # Commands used to finish a libtool library installation in a directory.
18294 finish_cmds=$lt_finish_cmds
18296 # Same as above, but a single script fragment to be evaled but not shown.
18297 finish_eval=$lt_finish_eval
18299 # Take the output of nm and produce a listing of raw symbols and C names.
18300 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18302 # Transform the output of nm in a proper C declaration
18303 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18305 # Transform the output of nm in a C name address pair
18306 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18308 # This is the shared library runtime path variable.
18309 runpath_var=$runpath_var
18311 # This is the shared library path variable.
18312 shlibpath_var=$shlibpath_var
18314 # Is shlibpath searched before the hard-coded library search path?
18315 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18317 # How to hardcode a shared library path into an executable.
18318 hardcode_action=$hardcode_action
18320 # Whether we should hardcode library paths into libraries.
18321 hardcode_into_libs=$hardcode_into_libs
18323 # Flag to hardcode \$libdir into a binary during linking.
18324 # This must work even if \$libdir does not exist.
18325 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18327 # If ld is used when linking, flag to hardcode \$libdir into
18328 # a binary during linking. This must work even if \$libdir does
18330 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18332 # Whether we need a single -rpath flag with a separated argument.
18333 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18335 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18336 # resulting binary.
18337 hardcode_direct=$hardcode_direct
18339 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18340 # resulting binary.
18341 hardcode_minus_L=$hardcode_minus_L
18343 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18344 # the resulting binary.
18345 hardcode_shlibpath_var=$hardcode_shlibpath_var
18347 # Set to yes if building a shared library automatically hardcodes DIR into the library
18348 # and all subsequent libraries and executables linked against it.
18349 hardcode_automatic=$hardcode_automatic
18351 # Variables whose values should be saved in libtool wrapper scripts and
18352 # restored at relink time.
18353 variables_saved_for_relink="$variables_saved_for_relink"
18355 # Whether libtool must link a program against all its dependency libraries.
18356 link_all_deplibs=$link_all_deplibs
18358 # Compile-time system search path for libraries
18359 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18361 # Run-time system search path for libraries
18362 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18364 # Fix the shell variable \$srcfile for the compiler.
18365 fix_srcfile_path="$fix_srcfile_path"
18367 # Set to yes if exported symbols are required.
18368 always_export_symbols=$always_export_symbols
18370 # The commands to list exported symbols.
18371 export_symbols_cmds=$lt_export_symbols_cmds
18373 # The commands to extract the exported symbol list from a shared archive.
18374 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18376 # Symbols that should not be listed in the preloaded symbols.
18377 exclude_expsyms=$lt_exclude_expsyms
18379 # Symbols that must always be exported.
18380 include_expsyms=$lt_include_expsyms
18382 # ### END LIBTOOL CONFIG
18389 cat <<\EOF >> "$cfgfile"
18391 # AIX sometimes has problems with the GCC collect2 program. For some
18392 # reason, if we set the COLLECT_NAMES environment variable, the problems
18393 # vanish in a puff of smoke.
18394 if test "X${COLLECT_NAMES+set}" != Xset; then
18396 export COLLECT_NAMES
18402 # We use sed instead of cat because bash on DJGPP gets confused if
18403 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18404 # text mode, it properly converts lines to CR/LF. This bash problem
18405 # is reportedly fixed, but why not run on old versions too?
18406 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
18408 mv -f "$cfgfile" "$ofile" || \
18409 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18413 # If there is no Makefile yet, we rely on a make rule to execute
18414 # `config.status
--recheck' to rerun these tests and create the
18415 # libtool script then.
18416 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
18417 if test -f "$ltmain_in"; then
18418 test -f Makefile && make "$ltmain"
18424 ac_cpp='$CPP $CPPFLAGS'
18425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18426 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18432 # Check whether --with-tags was given.
18433 if test "${with_tags+set}" = set; then
18434 withval=$with_tags; tagnames="$withval"
18438 if test -f "$ltmain" && test -n "$tagnames"; then
18439 if test ! -f "${ofile}"; then
18440 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
18441 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
18444 if test -z "$LTCC"; then
18445 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
18446 if test -z "$LTCC"; then
18447 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
18448 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
18450 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
18451 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
18454 if test -z "$LTCFLAGS"; then
18455 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
18458 # Extract list of available tagged configurations in $ofile.
18459 # Note that this assumes the entire list is on one line.
18460 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
18462 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
18463 for tagname in $tagnames; do
18465 # Check whether tagname contains only valid characters
18466 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
18468 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
18469 echo "$as_me: error: invalid tag name: $tagname" >&2;}
18470 { (exit 1); exit 1; }; }
18474 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
18476 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
18477 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
18478 { (exit 1); exit 1; }; }
18481 # Update the list of available tags.
18482 if test -n "$tagname"; then
18483 echo appending configuration tag \"$tagname\" to $ofile
18487 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
18488 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
18489 (test "X$CXX" != "Xg++"))) ; then
18491 ac_cpp='$CXXCPP $CPPFLAGS'
18492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18499 archive_cmds_need_lc_CXX=no
18500 allow_undefined_flag_CXX=
18501 always_export_symbols_CXX=no
18502 archive_expsym_cmds_CXX=
18503 export_dynamic_flag_spec_CXX=
18504 hardcode_direct_CXX=no
18505 hardcode_libdir_flag_spec_CXX=
18506 hardcode_libdir_flag_spec_ld_CXX=
18507 hardcode_libdir_separator_CXX=
18508 hardcode_minus_L_CXX=no
18509 hardcode_shlibpath_var_CXX=unsupported
18510 hardcode_automatic_CXX=no
18512 module_expsym_cmds_CXX=
18513 link_all_deplibs_CXX=unknown
18514 old_archive_cmds_CXX=$old_archive_cmds
18515 no_undefined_flag_CXX=
18516 whole_archive_flag_spec_CXX=
18517 enable_shared_with_static_runtimes_CXX=no
18519 # Dependencies to place before and after the object being linked:
18520 predep_objects_CXX=
18521 postdep_objects_CXX=
18524 compiler_lib_search_path_CXX=
18526 # Source file extension for C++ test sources.
18529 # Object file extension for compiled C++ test sources.
18533 # Code to be used in simple compile tests
18534 lt_simple_compile_test_code="int some_variable = 0;\n"
18536 # Code to be used in simple link tests
18537 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
18539 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18541 # If no C compiler was specified, use CC.
18544 # If no C compiler flags were specified, use CFLAGS.
18545 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18547 # Allow CC to be a program name with arguments.
18551 # save warnings/boilerplate of simple test code
18552 ac_outfile=conftest.$ac_objext
18553 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18554 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18555 _lt_compiler_boilerplate=`cat conftest.err
`
18558 ac_outfile=conftest.$ac_objext
18559 printf "$lt_simple_link_test_code" >conftest.$ac_ext
18560 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18561 _lt_linker_boilerplate=`cat conftest.err
`
18565 # Allow CC to be a program name with arguments.
18570 lt_save_with_gnu_ld=$with_gnu_ld
18571 lt_save_path_LD=$lt_cv_path_LD
18572 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18573 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
18575 $as_unset lt_cv_prog_gnu_ld
18577 if test -n "${lt_cv_path_LDCXX+set}"; then
18578 lt_cv_path_LD=$lt_cv_path_LDCXX
18580 $as_unset lt_cv_path_LD
18582 test -z "${LDCXX+set}" || LD=$LDCXX
18586 for cc_temp in $compiler""; do
18588 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18589 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18594 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18597 # We don't want -fno-exception wen compiling C++ code, so set the
18598 # no_builtin_flag separately
18599 if test "$GXX" = yes; then
18600 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18602 lt_prog_compiler_no_builtin_flag_CXX=
18605 if test "$GXX" = yes; then
18606 # Set up default GNU C++ configuration
18609 # Check whether --with-gnu-ld was given.
18610 if test "${with_gnu_ld+set}" = set; then
18611 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18617 if test "$GCC" = yes; then
18618 # Check if gcc -print-prog-name=ld gives a path.
18619 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18620 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
18623 # gcc leaves a trailing carriage return which upsets mingw
18624 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
18626 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
18629 # Accept absolute paths.
18631 re_direlt='/[^/][^/]*/\.\./'
18632 # Canonicalize the pathname of ld
18633 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
18634 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
18635 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
18637 test -z "$LD" && LD="$ac_prog"
18640 # If it fails, then pretend we aren't using GCC.
18644 # If it is relative, then search for the first ld in PATH.
18645 with_gnu_ld=unknown
18648 elif test "$with_gnu_ld" = yes; then
18649 { echo "$as_me:$LINENO: checking for GNU ld" >&5
18650 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
18652 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18653 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
18655 if test "${lt_cv_path_LD+set}" = set; then
18656 echo $ECHO_N "(cached) $ECHO_C" >&6
18658 if test -z "$LD"; then
18659 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18660 for ac_dir in $PATH; do
18662 test -z "$ac_dir" && ac_dir=.
18663 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18664 lt_cv_path_LD="$ac_dir/$ac_prog"
18665 # Check to see if the program is GNU ld. I'd rather use --version,
18666 # but apparently some variants of GNU ld only accept -v.
18667 # Break only if it was the GNU/non-GNU ld that we prefer.
18668 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
18669 *GNU* | *'with BFD'*)
18670 test "$with_gnu_ld" != no && break
18673 test "$with_gnu_ld" != yes && break
18680 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18684 LD="$lt_cv_path_LD"
18685 if test -n "$LD"; then
18686 { echo "$as_me:$LINENO: result: $LD" >&5
18687 echo "${ECHO_T}$LD" >&6; }
18689 { echo "$as_me:$LINENO: result: no" >&5
18690 echo "${ECHO_T}no" >&6; }
18692 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18693 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18694 { (exit 1); exit 1; }; }
18695 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18696 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
18697 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18698 echo $ECHO_N "(cached) $ECHO_C" >&6
18700 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18701 case `$LD -v 2>&1 </dev
/null
` in
18702 *GNU* | *'with BFD'*)
18703 lt_cv_prog_gnu_ld=yes
18706 lt_cv_prog_gnu_ld=no
18710 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18711 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
18712 with_gnu_ld=$lt_cv_prog_gnu_ld
18716 # Check if GNU C++ uses GNU ld as the underlying linker, since the
18717 # archiving commands below assume that GNU ld is being used.
18718 if test "$with_gnu_ld" = yes; then
18719 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18720 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'
18722 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18723 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18725 # If archive_cmds runs LD, not CC, wlarc should be empty
18726 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18727 # investigate it a little bit more. (MM)
18730 # ancient GNU ld didn't support --whole-archive et. al.
18731 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
18732 grep 'no-whole-archive' > /dev/null; then
18733 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18735 whole_archive_flag_spec_CXX=
18741 # A generic and very simple default shared library creation
18742 # command for GNU C++ for the case where it uses the native
18743 # linker, instead of GNU ld. If possible, this setting should
18744 # overridden to take advantage of the native linker features on
18745 # the platform it is being used on.
18746 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18749 # Commands to make compiler produce verbose output that lists
18750 # what "hidden" libraries, object files and flags are used when
18751 # linking a shared library.
18752 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18760 # PORTME: fill in a description of your system's C++ link characteristics
18761 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18762 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18766 # FIXME: insert proper C++ library support
18770 if test "$host_cpu" = ia64; then
18771 # On IA64, the linker does run time linking by default, so we don't
18772 # have to do anything special.
18773 aix_use_runtimelinking=no
18774 exp_sym_flag='-Bexport'
18777 aix_use_runtimelinking=no
18779 # Test if we are trying to use run time linking or normal
18780 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18781 # need to do runtime linking.
18782 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18783 for ld_flag in $LDFLAGS; do
18786 aix_use_runtimelinking=yes
18794 exp_sym_flag='-bexport'
18795 no_entry_flag='-bnoentry'
18798 # When large executables or shared objects are built, AIX ld can
18799 # have problems creating the table of contents. If linking a library
18800 # or program results in "error TOC overflow" add -mminimal-toc to
18801 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18802 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18804 archive_cmds_CXX=''
18805 hardcode_direct_CXX=yes
18806 hardcode_libdir_separator_CXX=':'
18807 link_all_deplibs_CXX=yes
18809 if test "$GXX" = yes; then
18810 case $host_os in aix4.[012]|aix4.[012].*)
18811 # We only want to do this on AIX 4.2 and lower, the check
18812 # below for broken collect2 doesn't work under 4.3+
18813 collect2name=`${CC} -print-prog-name=collect2
`
18814 if test -f "$collect2name" && \
18815 strings "$collect2name" | grep resolve_lib_name >/dev/null
18817 # We have reworked collect2
18818 hardcode_direct_CXX=yes
18820 # We have old collect2
18821 hardcode_direct_CXX=unsupported
18822 # It fails to find uninstalled libraries when the uninstalled
18823 # path is not listed in the libpath. Setting hardcode_minus_L
18824 # to unsupported forces relinking
18825 hardcode_minus_L_CXX=yes
18826 hardcode_libdir_flag_spec_CXX='-L$libdir'
18827 hardcode_libdir_separator_CXX=
18831 shared_flag='-shared'
18832 if test "$aix_use_runtimelinking" = yes; then
18833 shared_flag="$shared_flag "'${wl}-G'
18837 if test "$host_cpu" = ia64; then
18838 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18839 # chokes on -Wl,-G. The following line is correct:
18842 if test "$aix_use_runtimelinking" = yes; then
18843 shared_flag='${wl}-G'
18845 shared_flag='${wl}-bM:SRE'
18850 # It seems that -bexpall does not export symbols beginning with
18851 # underscore (_), so it is better to generate a list of symbols to export.
18852 always_export_symbols_CXX=yes
18853 if test "$aix_use_runtimelinking" = yes; then
18854 # Warning - without using the other runtime loading flags (-brtl),
18855 # -berok will link without error, but may produce a broken library.
18856 allow_undefined_flag_CXX='-berok'
18857 # Determine the default libpath from the value encoded in an empty executable.
18858 cat >conftest.$ac_ext <<_ACEOF
18861 cat confdefs.h >>conftest.$ac_ext
18862 cat >>conftest.$ac_ext <<_ACEOF
18863 /* end confdefs.h. */
18873 rm -f conftest.$ac_objext conftest$ac_exeext
18874 if { (ac_try="$ac_link"
18875 case "(($ac_try" in
18876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18877 *) ac_try_echo
=$ac_try;;
18879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18880 (eval "$ac_link") 2>conftest.er1
18882 grep -v '^ *+' conftest.er1
>conftest.err
18884 cat conftest.err
>&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); } &&
18887 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18888 { (case "(($ac_try" in
18889 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18890 *) ac_try_echo=$ac_try;;
18892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18893 (eval "$ac_try") 2>&5
18895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18896 (exit $ac_status); }; } &&
18897 { ac_try='test -s conftest$ac_exeext'
18898 { (case "(($ac_try" in
18899 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18900 *) ac_try_echo
=$ac_try;;
18902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18903 (eval "$ac_try") 2>&5
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); }; }; then
18908 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18910 # Check for a 64-bit object if we didn't find anything.
18911 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; }
18914 echo "$as_me: failed program was:" >&5
18915 sed 's/^/| /' conftest.
$ac_ext >&5
18920 rm -f core conftest.err conftest.
$ac_objext \
18921 conftest
$ac_exeext conftest.
$ac_ext
18922 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18924 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
18926 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"
18928 if test "$host_cpu" = ia64
; then
18929 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
18930 allow_undefined_flag_CXX
="-z nodefs"
18931 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"
18933 # Determine the default libpath from the value encoded in an empty executable.
18934 cat >conftest.
$ac_ext <<_ACEOF
18937 cat confdefs.h
>>conftest.
$ac_ext
18938 cat >>conftest.
$ac_ext <<_ACEOF
18939 /* end confdefs.h. */
18949 rm -f conftest.
$ac_objext conftest
$ac_exeext
18950 if { (ac_try
="$ac_link"
18951 case "(($ac_try" in
18952 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18953 *) ac_try_echo=$ac_try;;
18955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18956 (eval "$ac_link") 2>conftest.er1
18958 grep -v '^ *+' conftest.er1 >conftest.err
18960 cat conftest.err >&5
18961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962 (exit $ac_status); } &&
18963 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18964 { (case "(($ac_try" in
18965 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18966 *) ac_try_echo
=$ac_try;;
18968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18969 (eval "$ac_try") 2>&5
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); }; } &&
18973 { ac_try
='test -s conftest$ac_exeext'
18974 { (case "(($ac_try" in
18975 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18976 *) ac_try_echo=$ac_try;;
18978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18979 (eval "$ac_try") 2>&5
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); }; }; then
18984 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18986 # Check for a 64-bit object if we didn't find anything.
18987 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; }
18990 echo "$as_me: failed program was:" >&5
18991 sed 's/^/| /' conftest.$ac_ext >&5
18996 rm -f core conftest.err conftest.$ac_objext \
18997 conftest$ac_exeext conftest.$ac_ext
18998 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19000 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
19001 # Warning - without using the other run time loading flags,
19002 # -berok will link without error, but may produce a broken library.
19003 no_undefined_flag_CXX=' ${wl}-bernotok'
19004 allow_undefined_flag_CXX=' ${wl}-berok'
19005 # Exported symbols can be pulled into shared objects from archives
19006 whole_archive_flag_spec_CXX='$convenience'
19007 archive_cmds_need_lc_CXX=yes
19008 # This is similar to how AIX traditionally builds its shared libraries.
19009 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'
19015 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19016 allow_undefined_flag_CXX=unsupported
19017 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19018 # support --undefined. This deserves some investigation. FIXME
19019 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19026 case $cc_basename in
19028 # FIXME: insert proper C++ library support
19034 cygwin* | mingw* | pw32*)
19035 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
19036 # as there is no search path for DLLs.
19037 hardcode_libdir_flag_spec_CXX='-L$libdir'
19038 allow_undefined_flag_CXX=unsupported
19039 always_export_symbols_CXX=no
19040 enable_shared_with_static_runtimes_CXX=yes
19042 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
19043 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'
19044 # If the export-symbols file already is a .def file (1st line
19045 # is EXPORTS), use it as is; otherwise, prepend...
19046 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
19047 cp $export_symbols $output_objdir/$soname.def;
19049 echo EXPORTS > $output_objdir/$soname.def;
19050 cat $export_symbols >> $output_objdir/$soname.def;
19052 $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'
19057 darwin* | rhapsody*)
19059 rhapsody* | darwin1.[012])
19060 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
19063 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19064 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19066 case ${MACOSX_DEPLOYMENT_TARGET} in
19068 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19071 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
19077 archive_cmds_need_lc_CXX=no
19078 hardcode_direct_CXX=no
19079 hardcode_automatic_CXX=yes
19080 hardcode_shlibpath_var_CXX=unsupported
19081 whole_archive_flag_spec_CXX=''
19082 link_all_deplibs_CXX=yes
19084 if test "$GXX" = yes ; then
19085 lt_int_apple_cc_single_mod=no
19086 output_verbose_link_cmd='echo'
19087 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
19088 lt_int_apple_cc_single_mod=yes
19090 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
19091 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
19093 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'
19095 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19096 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19097 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
19098 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}'
19100 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}'
19102 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}'
19104 case $cc_basename in
19106 output_verbose_link_cmd='echo'
19107 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'
19108 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19109 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19110 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}'
19111 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}'
19121 case $cc_basename in
19123 # FIXME: insert proper C++ library support
19127 # Green Hills C++ Compiler
19128 # FIXME: insert proper C++ library support
19132 # FIXME: insert proper C++ library support
19138 # C++ shared libraries reported to be fairly broken before switch to ELF
19142 archive_cmds_need_lc_CXX=no
19144 freebsd* | kfreebsd*-gnu | dragonfly*)
19145 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
19152 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
19153 hardcode_libdir_separator_CXX=:
19154 export_dynamic_flag_spec_CXX='${wl}-E'
19155 hardcode_direct_CXX=yes
19156 hardcode_minus_L_CXX=yes # Not in the search PATH,
19157 # but as the default
19158 # location of the library.
19160 case $cc_basename in
19162 # FIXME: insert proper C++ library support
19166 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'
19167 # Commands to make compiler produce verbose output that lists
19168 # what "hidden" libraries, object files and flags are used when
19169 # linking a shared library.
19171 # There doesn't appear to be a way to prevent this compiler from
19172 # explicitly linking system object files so we need to strip them
19173 # from the output so that they don't get included in the library
19175 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'
19178 if test "$GXX" = yes; then
19179 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'
19181 # FIXME: insert proper C++ library support
19188 if test $with_gnu_ld = no; then
19189 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
19190 hardcode_libdir_separator_CXX=:
19194 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
19197 export_dynamic_flag_spec_CXX='${wl}-E'
19203 hardcode_direct_CXX=no
19204 hardcode_shlibpath_var_CXX=no
19207 hardcode_direct_CXX=yes
19208 hardcode_minus_L_CXX=yes # Not in the search PATH,
19209 # but as the default
19210 # location of the library.
19214 case $cc_basename in
19216 # FIXME: insert proper C++ library support
19222 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19225 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19228 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19231 # Commands to make compiler produce verbose output that lists
19232 # what "hidden" libraries, object files and flags are used when
19233 # linking a shared library.
19235 # There doesn't appear to be a way to prevent this compiler from
19236 # explicitly linking system object files so we need to strip them
19237 # from the output so that they don't get included in the library
19239 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'
19242 if test "$GXX" = yes; then
19243 if test $with_gnu_ld = no; then
19246 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19249 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19252 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'
19257 # FIXME: insert proper C++ library support
19264 hardcode_direct_CXX=no
19265 hardcode_shlibpath_var_CXX=no
19266 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19267 export_dynamic_flag_spec_CXX='${wl}-E'
19268 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19269 # Instead, shared libraries are loaded at an image base (0x10000000 by
19270 # default) and relocated if they conflict, which is a slow very memory
19271 # consuming and fragmenting process. To avoid this, we pick a random,
19272 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19273 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
19274 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'
19275 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'
19278 case $cc_basename in
19281 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'
19283 # Archives containing C++ object files must be created using
19284 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
19285 # necessary to make sure instantiated templates are included
19287 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
19290 if test "$GXX" = yes; then
19291 if test "$with_gnu_ld" = no; then
19292 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'
19294 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'
19297 link_all_deplibs_CXX=yes
19300 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19301 hardcode_libdir_separator_CXX=:
19304 case $cc_basename in
19306 # Kuck and Associates, Inc. (KAI) C++ Compiler
19308 # KCC will only create a shared library if the output file
19309 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19310 # to its proper name (with version) after linking.
19311 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'
19312 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'
19313 # Commands to make compiler produce verbose output that lists
19314 # what "hidden" libraries, object files and flags are used when
19315 # linking a shared library.
19317 # There doesn't appear to be a way to prevent this compiler from
19318 # explicitly linking system object files so we need to strip them
19319 # from the output so that they don't get included in the library
19321 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'
19323 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
19324 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
19326 # Archives containing C++ object files must be created using
19327 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19328 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
19333 # version 8.0 and above of icpc choke on multiply defined symbols
19334 # if we add $predep_objects and $postdep_objects, however 7.1 and
19335 # earlier do not add the objects themselves.
19336 case `$CC -V 2>&1` in
19338 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19339 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'
19341 *) # Version 8.0 or newer
19344 ia64
*) tmp_idyn
=' -i_dynamic';;
19346 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19347 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'
19350 archive_cmds_need_lc_CXX
=no
19351 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
19352 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
19353 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
19356 # Portland Group C++ compiler
19357 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
19358 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'
19360 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
19361 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
19362 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'
19366 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19367 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'
19369 runpath_var
=LD_RUN_PATH
19370 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
19371 hardcode_libdir_separator_CXX
=:
19373 # Commands to make compiler produce verbose output that lists
19374 # what "hidden" libraries, object files and flags are used when
19375 # linking a shared library.
19377 # There doesn't appear to be a way to prevent this compiler from
19378 # explicitly linking system object files so we need to strip them
19379 # from the output so that they don't get included in the library
19381 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'
19386 # FIXME: insert proper C++ library support
19390 # FIXME: insert proper C++ library support
19394 case $cc_basename in
19396 # FIXME: insert proper C++ library support
19400 # FIXME: insert proper C++ library support
19406 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19407 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
19409 hardcode_libdir_flag_spec_CXX
='-R$libdir'
19410 hardcode_direct_CXX
=yes
19411 hardcode_shlibpath_var_CXX
=no
19413 # Workaround some broken pre-1.5 toolchains
19414 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
19417 # C++ shared libraries are fairly broken
19421 hardcode_direct_CXX
=yes
19422 hardcode_shlibpath_var_CXX
=no
19423 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
19424 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
19425 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19426 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
19427 export_dynamic_flag_spec_CXX
='${wl}-E'
19428 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19430 output_verbose_link_cmd
='echo'
19433 case $cc_basename in
19435 # Kuck and Associates, Inc. (KAI) C++ Compiler
19437 # KCC will only create a shared library if the output file
19438 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19439 # to its proper name (with version) after linking.
19440 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'
19442 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
19443 hardcode_libdir_separator_CXX
=:
19445 # Archives containing C++ object files must be created using
19446 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19447 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
19451 # Rational C++ 2.4.1
19452 # FIXME: insert proper C++ library support
19456 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
19457 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'
19459 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19460 hardcode_libdir_separator_CXX
=:
19462 # Commands to make compiler produce verbose output that lists
19463 # what "hidden" libraries, object files and flags are used when
19464 # linking a shared library.
19466 # There doesn't appear to be a way to prevent this compiler from
19467 # explicitly linking system object files so we need to strip them
19468 # from the output so that they don't get included in the library
19470 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'
19473 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19474 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
19475 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'
19477 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19478 hardcode_libdir_separator_CXX
=:
19480 # Commands to make compiler produce verbose output that lists
19481 # what "hidden" libraries, object files and flags are used when
19482 # linking a shared library.
19483 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19486 # FIXME: insert proper C++ library support
19493 case $cc_basename in
19495 # Kuck and Associates, Inc. (KAI) C++ Compiler
19497 # KCC will only create a shared library if the output file
19498 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19499 # to its proper name (with version) after linking.
19500 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'
19502 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
19503 hardcode_libdir_separator_CXX
=:
19505 # Archives containing C++ object files must be created using
19506 # the KAI C++ compiler.
19507 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
19510 # Rational C++ 2.4.1
19511 # FIXME: insert proper C++ library support
19515 allow_undefined_flag_CXX
=' -expect_unresolved \*'
19516 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'
19517 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
19518 echo "-hidden">> $lib.exp~
19519 $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~
19522 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
19523 hardcode_libdir_separator_CXX
=:
19525 # Commands to make compiler produce verbose output that lists
19526 # what "hidden" libraries, object files and flags are used when
19527 # linking a shared library.
19529 # There doesn't appear to be a way to prevent this compiler from
19530 # explicitly linking system object files so we need to strip them
19531 # from the output so that they don't get included in the library
19533 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'
19536 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19537 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
19538 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'
19540 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19541 hardcode_libdir_separator_CXX
=:
19543 # Commands to make compiler produce verbose output that lists
19544 # what "hidden" libraries, object files and flags are used when
19545 # linking a shared library.
19546 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19549 # FIXME: insert proper C++ library support
19556 # FIXME: insert proper C++ library support
19560 case $cc_basename in
19563 # FIXME: insert proper C++ library support
19568 # FIXME: insert proper C++ library support
19572 # FIXME: insert proper C++ library support
19578 case $cc_basename in
19580 # Sun C++ 4.2, 5.x and Centerline C++
19581 archive_cmds_need_lc_CXX
=yes
19582 no_undefined_flag_CXX
=' -zdefs'
19583 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19584 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19585 $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'
19587 hardcode_libdir_flag_spec_CXX
='-R$libdir'
19588 hardcode_shlibpath_var_CXX
=no
19590 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
19592 # The C++ compiler is used as linker so we must use $wl
19593 # flag to pass the commands to the underlying system
19594 # linker. We must also pass each convience library through
19595 # to the system linker between allextract/defaultextract.
19596 # The C++ compiler will combine linker options so we
19597 # cannot just pass the convience library names through
19599 # Supported since Solaris 2.6 (maybe 2.5.1?)
19600 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'
19603 link_all_deplibs_CXX
=yes
19605 output_verbose_link_cmd
='echo'
19607 # Archives containing C++ object files must be created using
19608 # "CC -xar", where "CC" is the Sun C++ compiler. This is
19609 # necessary to make sure instantiated templates are included
19611 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
19614 # Green Hills C++ Compiler
19615 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19617 # The C++ compiler must be used to create the archive.
19618 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19621 # GNU C++ compiler with Solaris linker
19622 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19623 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
19624 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
19625 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19626 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19627 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19629 # Commands to make compiler produce verbose output that lists
19630 # what "hidden" libraries, object files and flags are used when
19631 # linking a shared library.
19632 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19634 # g++ 2.7 appears to require `-G' NOT `-shared' on this
19636 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19637 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19638 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19640 # Commands to make compiler produce verbose output that lists
19641 # what "hidden" libraries, object files and flags are used when
19642 # linking a shared library.
19643 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19646 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
19651 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
19652 no_undefined_flag_CXX
='${wl}-z,text'
19653 archive_cmds_need_lc_CXX
=no
19654 hardcode_shlibpath_var_CXX
=no
19655 runpath_var
='LD_RUN_PATH'
19657 case $cc_basename in
19659 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19660 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19663 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19664 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19668 sysv5
* | sco3.2v5
* | sco5v6
*)
19669 # Note: We can NOT use -z defs as we might desire, because we do not
19670 # link with -lc, and that would cause any symbols used from libc to
19671 # always be unresolved, which means just about no library would
19672 # ever link correctly. If we're not using GNU ld we use -z text
19673 # though, which does catch some bad symbols but isn't as heavy-handed
19675 # For security reasons, it is highly recommended that you always
19676 # use absolute paths for naming shared libraries, and exclude the
19677 # DT_RUNPATH tag from executables and libraries. But doing so
19678 # requires that you compile everything twice, which is a pain.
19679 # So that behaviour is only enabled if SCOABSPATH is set to a
19680 # non-empty value in the environment. Most likely only useful for
19681 # creating official distributions of packages.
19682 # This is a hack until libtool officially supports absolute path
19683 # names for shared libraries.
19684 no_undefined_flag_CXX
='${wl}-z,text'
19685 allow_undefined_flag_CXX
='${wl}-z,nodefs'
19686 archive_cmds_need_lc_CXX
=no
19687 hardcode_shlibpath_var_CXX
=no
19688 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19689 hardcode_libdir_separator_CXX
=':'
19690 link_all_deplibs_CXX
=yes
19691 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
19692 runpath_var
='LD_RUN_PATH'
19694 case $cc_basename in
19696 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19697 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19700 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19701 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19706 case $cc_basename in
19708 # NonStop-UX NCC 3.20
19709 # FIXME: insert proper C++ library support
19713 # FIXME: insert proper C++ library support
19719 # FIXME: insert proper C++ library support
19723 # FIXME: insert proper C++ library support
19727 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19728 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19729 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
19735 cat > conftest.
$ac_ext <<EOF
19739 Foo (void) { a = 0; }
19745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19746 (eval $ac_compile) 2>&5
19748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19749 (exit $ac_status); }; then
19750 # Parse the compiler output and extract the necessary
19751 # objects, libraries and library flags.
19753 # Sentinel used to keep track of whether or not we are before
19754 # the conftest object file.
19755 pre_test_object_deps_done
=no
19757 # The `*' in the case matches for architectures that use `case' in
19758 # $output_verbose_cmd can trigger glob expansion during the loop
19759 # eval without this substitution.
19760 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
19762 for p
in `eval $output_verbose_link_cmd`; do
19766 # Some compilers place space between "-{L,R}" and the path.
19767 # Remove the space.
19768 if test $p = "-L" \
19769 ||
test $p = "-R"; then
19776 if test "$pre_test_object_deps_done" = no
; then
19779 # Internal compiler library paths should come after those
19780 # provided the user. The postdeps already come after the
19781 # user supplied libs so there is no need to process them.
19782 if test -z "$compiler_lib_search_path_CXX"; then
19783 compiler_lib_search_path_CXX
="${prev}${p}"
19785 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
19788 # The "-l" case would never come before the object being
19789 # linked, so don't bother handling this case.
19792 if test -z "$postdeps_CXX"; then
19793 postdeps_CXX
="${prev}${p}"
19795 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
19801 # This assumes that the test object file only shows up
19802 # once in the compiler output.
19803 if test "$p" = "conftest.$objext"; then
19804 pre_test_object_deps_done
=yes
19808 if test "$pre_test_object_deps_done" = no
; then
19809 if test -z "$predep_objects_CXX"; then
19810 predep_objects_CXX
="$p"
19812 predep_objects_CXX
="$predep_objects_CXX $p"
19815 if test -z "$postdep_objects_CXX"; then
19816 postdep_objects_CXX
="$p"
19818 postdep_objects_CXX
="$postdep_objects_CXX $p"
19823 *) ;; # Ignore the rest.
19831 echo "libtool.m4: error: problem compiling CXX test program"
19834 $rm -f confest.
$objext
19836 # PORTME: override above test on systems where it is broken
19839 # Interix 3.5 installs completely hosed .la files for C++, so rather than
19840 # hack all around it, let's just trust "g++" to DTRT.
19841 predep_objects_CXX
=
19842 postdep_objects_CXX
=
19847 case $cc_basename in
19849 # Adding this requires a known-good setup of shared libraries for
19850 # Sun compiler versions before 5.6, else PIC objects from an old
19851 # archive will be linked into the output, leading to subtle bugs.
19852 postdeps_CXX
='-lCstd -lCrun'
19859 case " $postdeps_CXX " in
19860 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
19863 lt_prog_compiler_wl_CXX
=
19864 lt_prog_compiler_pic_CXX
=
19865 lt_prog_compiler_static_CXX
=
19867 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19868 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19870 # C++ specific cases for pic, static, wl, etc.
19871 if test "$GXX" = yes; then
19872 lt_prog_compiler_wl_CXX
='-Wl,'
19873 lt_prog_compiler_static_CXX
='-static'
19877 # All AIX code is PIC.
19878 if test "$host_cpu" = ia64
; then
19879 # AIX 5 now supports IA64 processor
19880 lt_prog_compiler_static_CXX
='-Bstatic'
19884 # FIXME: we need at least 68020 code to build shared libraries, but
19885 # adding the `-m68020' flag to GCC prevents building anything better,
19887 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
19889 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
19890 # PIC is the default for these OSes.
19892 mingw
* | os2
* | pw32
*)
19893 # This hack is so that the source file can tell whether it is being
19894 # built for inclusion in a dll (and should export symbols for example).
19895 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
19897 darwin
* | rhapsody
*)
19898 # PIC is the default on this platform
19899 # Common symbols not allowed in MH_DYLIB files
19900 lt_prog_compiler_pic_CXX
='-fno-common'
19903 # DJGPP does not support shared libraries at all
19904 lt_prog_compiler_pic_CXX
=
19907 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19908 # Instead, we relocate shared libraries at runtime.
19911 if test -d /usr
/nec
; then
19912 lt_prog_compiler_pic_CXX
=-Kconform_pic
19916 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19917 # not for PA HP-UX.
19922 lt_prog_compiler_pic_CXX
='-fPIC'
19927 lt_prog_compiler_pic_CXX
='-fPIC'
19933 # All AIX code is PIC.
19934 if test "$host_cpu" = ia64
; then
19935 # AIX 5 now supports IA64 processor
19936 lt_prog_compiler_static_CXX
='-Bstatic'
19938 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
19942 case $cc_basename in
19944 # Green Hills C++ Compiler
19945 # _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"
19950 # PIC is the default on this platform
19951 # Common symbols not allowed in MH_DYLIB files
19952 case $cc_basename in
19954 lt_prog_compiler_pic_CXX
='-qnocommon'
19955 lt_prog_compiler_wl_CXX
='-Wl,'
19960 case $cc_basename in
19962 lt_prog_compiler_pic_CXX
='-KPIC'
19965 # Green Hills C++ Compiler
19966 lt_prog_compiler_pic_CXX
='-pic'
19972 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
19973 # FreeBSD uses GNU C++
19975 hpux9
* | hpux10
* | hpux11
*)
19976 case $cc_basename in
19978 lt_prog_compiler_wl_CXX
='-Wl,'
19979 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
19980 if test "$host_cpu" != ia64
; then
19981 lt_prog_compiler_pic_CXX
='+Z'
19985 lt_prog_compiler_wl_CXX
='-Wl,'
19986 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
19992 lt_prog_compiler_pic_CXX
='+Z'
20001 # This is c89, which is MS Visual C++ (no shared libs)
20002 # Anyone wants to do a port?
20004 irix5
* | irix6
* | nonstopux
*)
20005 case $cc_basename in
20007 lt_prog_compiler_wl_CXX
='-Wl,'
20008 lt_prog_compiler_static_CXX
='-non_shared'
20009 # CC pic flag -KPIC is the default.
20016 case $cc_basename in
20019 lt_prog_compiler_wl_CXX
='--backend -Wl,'
20020 lt_prog_compiler_pic_CXX
='-fPIC'
20024 lt_prog_compiler_wl_CXX
='-Wl,'
20025 lt_prog_compiler_pic_CXX
='-KPIC'
20026 lt_prog_compiler_static_CXX
='-static'
20029 # Portland Group C++ compiler.
20030 lt_prog_compiler_wl_CXX
='-Wl,'
20031 lt_prog_compiler_pic_CXX
='-fpic'
20032 lt_prog_compiler_static_CXX
='-Bstatic'
20036 # Make sure the PIC flag is empty. It appears that all Alpha
20037 # Linux and Compaq Tru64 Unix objects are PIC.
20038 lt_prog_compiler_pic_CXX
=
20039 lt_prog_compiler_static_CXX
='-non_shared'
20050 case $cc_basename in
20052 lt_prog_compiler_pic_CXX
='-W c,exportall'
20060 osf3
* | osf4
* | osf5
*)
20061 case $cc_basename in
20063 lt_prog_compiler_wl_CXX
='--backend -Wl,'
20066 # Rational C++ 2.4.1
20067 lt_prog_compiler_pic_CXX
='-pic'
20070 # Digital/Compaq C++
20071 lt_prog_compiler_wl_CXX
='-Wl,'
20072 # Make sure the PIC flag is empty. It appears that all Alpha
20073 # Linux and Compaq Tru64 Unix objects are PIC.
20074 lt_prog_compiler_pic_CXX
=
20075 lt_prog_compiler_static_CXX
='-non_shared'
20084 case $cc_basename in
20086 # Sun C++ 4.2, 5.x and Centerline C++
20087 lt_prog_compiler_pic_CXX
='-KPIC'
20088 lt_prog_compiler_static_CXX
='-Bstatic'
20089 lt_prog_compiler_wl_CXX
='-Qoption ld '
20092 # Green Hills C++ Compiler
20093 lt_prog_compiler_pic_CXX
='-PIC'
20100 case $cc_basename in
20103 lt_prog_compiler_pic_CXX
='-pic'
20104 lt_prog_compiler_static_CXX
='-Bstatic'
20108 lt_prog_compiler_pic_CXX
='-pic'
20115 case $cc_basename in
20117 # NonStop-UX NCC 3.20
20118 lt_prog_compiler_pic_CXX
='-KPIC'
20124 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
20125 case $cc_basename in
20127 lt_prog_compiler_wl_CXX
='-Wl,'
20128 lt_prog_compiler_pic_CXX
='-KPIC'
20129 lt_prog_compiler_static_CXX
='-Bstatic'
20136 lt_prog_compiler_can_build_shared_CXX
=no
20141 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
20142 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
20145 # Check to make sure the PIC flag actually works.
20147 if test -n "$lt_prog_compiler_pic_CXX"; then
20149 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
20150 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
20151 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
20152 echo $ECHO_N "(cached) $ECHO_C" >&6
20154 lt_prog_compiler_pic_works_CXX
=no
20155 ac_outfile
=conftest.
$ac_objext
20156 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
20157 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
20158 # Insert the option either (1) after the last *FLAGS variable, or
20159 # (2) before a word containing "conftest.", or (3) at the end.
20160 # Note that $ac_compile itself does not contain backslashes and begins
20161 # with a dollar sign (not a hyphen), so the echo should work correctly.
20162 # The option is referenced via a variable to avoid confusing sed.
20163 lt_compile
=`echo "$ac_compile" | $SED \
20164 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20165 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20166 -e 's:$: $lt_compiler_flag:'`
20167 (eval echo "\"\$as_me:20167: $lt_compile\"" >&5)
20168 (eval "$lt_compile" 2>conftest.err
)
20170 cat conftest.err
>&5
20171 echo "$as_me:20171: \$? = $ac_status" >&5
20172 if (exit $ac_status) && test -s "$ac_outfile"; then
20173 # The compiler can only warn and ignore the option if not recognized
20174 # So say no if there are warnings other than the usual output.
20175 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
20176 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
20177 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
20178 lt_prog_compiler_pic_works_CXX
=yes
20184 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
20185 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
20187 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
20188 case $lt_prog_compiler_pic_CXX in
20190 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
20193 lt_prog_compiler_pic_CXX
=
20194 lt_prog_compiler_can_build_shared_CXX
=no
20199 # For platforms which do not support PIC, -DPIC is meaningless:
20201 lt_prog_compiler_pic_CXX
=
20204 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
20209 # Check to make sure the static flag actually works.
20211 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
20212 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20213 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
20214 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
20215 echo $ECHO_N "(cached) $ECHO_C" >&6
20217 lt_prog_compiler_static_works_CXX
=no
20218 save_LDFLAGS
="$LDFLAGS"
20219 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
20220 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
20221 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
20222 # The linker can only warn and ignore the option if not recognized
20223 # So say no if there are warnings
20224 if test -s conftest.err
; then
20225 # Append any errors to the config.log.
20226 cat conftest.err
1>&5
20227 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
20228 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
20229 if diff conftest.exp conftest.er2
>/dev
/null
; then
20230 lt_prog_compiler_static_works_CXX
=yes
20233 lt_prog_compiler_static_works_CXX
=yes
20237 LDFLAGS
="$save_LDFLAGS"
20240 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
20241 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
20243 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
20246 lt_prog_compiler_static_CXX
=
20250 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20251 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
20252 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
20253 echo $ECHO_N "(cached) $ECHO_C" >&6
20255 lt_cv_prog_compiler_c_o_CXX
=no
20256 $rm -r conftest
2>/dev
/null
20260 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
20262 lt_compiler_flag
="-o out/conftest2.$ac_objext"
20263 # Insert the option either (1) after the last *FLAGS variable, or
20264 # (2) before a word containing "conftest.", or (3) at the end.
20265 # Note that $ac_compile itself does not contain backslashes and begins
20266 # with a dollar sign (not a hyphen), so the echo should work correctly.
20267 lt_compile
=`echo "$ac_compile" | $SED \
20268 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20269 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20270 -e 's:$: $lt_compiler_flag:'`
20271 (eval echo "\"\$as_me:20271: $lt_compile\"" >&5)
20272 (eval "$lt_compile" 2>out
/conftest.err
)
20274 cat out
/conftest.err
>&5
20275 echo "$as_me:20275: \$? = $ac_status" >&5
20276 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
20278 # The compiler can only warn and ignore the option if not recognized
20279 # So say no if there are warnings
20280 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
20281 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
20282 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
20283 lt_cv_prog_compiler_c_o_CXX
=yes
20288 # SGI C++ compiler will create directory out/ii_files/ for
20289 # template instantiation
20290 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
20291 $rm out
/* && rmdir out
20297 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
20298 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
20301 hard_links
="nottested"
20302 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
20303 # do not overwrite the value of need_locks provided by the user
20304 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20305 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
20308 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
20310 ln conftest.a conftest.b
2>&5 || hard_links
=no
20311 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
20312 { echo "$as_me:$LINENO: result: $hard_links" >&5
20313 echo "${ECHO_T}$hard_links" >&6; }
20314 if test "$hard_links" = no
; then
20315 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20316 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20323 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20324 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
20326 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20329 # If we're using GNU nm, then we don't want the "-C" option.
20330 # -C means demangle to AIX nm, but means don't demangle with GNU nm
20331 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
20332 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'
20334 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'
20338 export_symbols_cmds_CXX
="$ltdll_cmds"
20341 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'
20344 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20348 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
20349 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
20350 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
20353 # Do we need to explicitly link libc?
20355 case "x$archive_cmds_need_lc_CXX" in
20357 # Assume -lc should be added
20358 archive_cmds_need_lc_CXX
=yes
20360 if test "$enable_shared" = yes && test "$GCC" = yes; then
20361 case $archive_cmds_CXX in
20363 # FIXME: we may have to deal with multi-command sequences.
20366 # Test whether the compiler implicitly links with -lc since on some
20367 # systems, -lgcc has to come before -lc. If gcc already passes -lc
20368 # to ld, don't add -lc before -lgcc.
20369 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20370 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20372 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
20374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20375 (eval $ac_compile) 2>&5
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); } 2>conftest.err
; then
20381 libobjs
=conftest.
$ac_objext
20383 wl
=$lt_prog_compiler_wl_CXX
20384 pic_flag
=$lt_prog_compiler_pic_CXX
20390 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
20391 allow_undefined_flag_CXX
=
20392 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20393 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
20395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 (exit $ac_status); }
20398 archive_cmds_need_lc_CXX
=no
20400 archive_cmds_need_lc_CXX
=yes
20402 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
20404 cat conftest.err
1>&5
20407 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
20408 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
20415 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20416 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20417 library_names_spec
=
20418 libname_spec
='lib$name'
20422 postuninstall_cmds
=
20426 shlibpath_overrides_runpath
=unknown
20428 dynamic_linker
="$host_os ld.so"
20429 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
20430 if test "$GCC" = yes; then
20431 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20432 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
20433 # if the path contains ";" then we assume it to be the separator
20434 # otherwise default to the standard path separator (i.e. ":") - it is
20435 # assumed that no part of a normal pathname contains ";" but that should
20436 # okay in the real world where ";" in dirpaths is itself problematic.
20437 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20439 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20442 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
20444 need_lib_prefix
=unknown
20445 hardcode_into_libs
=no
20447 # when you set need_version to no, make sure it does not cause -set_version
20448 # flags to be left without arguments
20449 need_version
=unknown
20454 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
20455 shlibpath_var
=LIBPATH
20457 # AIX 3 has no versioning support, so we append a major version to the name.
20458 soname_spec
='${libname}${release}${shared_ext}$major'
20465 hardcode_into_libs
=yes
20466 if test "$host_cpu" = ia64
; then
20467 # AIX 5 supports IA64
20468 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20469 shlibpath_var
=LD_LIBRARY_PATH
20471 # With GCC up to 2.95.x, collect2 would create an import file
20472 # for dependence libraries. The import file would start with
20473 # the line `#! .'. This would cause the generated library to
20474 # depend on `.', always an invalid library. This was fixed in
20475 # development snapshots of GCC prior to 3.0.
20477 aix4 | aix4.
[01] | aix4.
[01].
*)
20478 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20480 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
20483 can_build_shared
=no
20487 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20488 # soname into executable. Probably we can add versioning support to
20489 # collect2, so additional links can be useful in future.
20490 if test "$aix_use_runtimelinking" = yes; then
20491 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20492 # instead of lib<name>.a to let people know that these are not
20493 # typical AIX shared libraries.
20494 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20496 # We preserve .a as extension for shared libraries through AIX4.2
20497 # and later when we are not doing run time linking.
20498 library_names_spec
='${libname}${release}.a $libname.a'
20499 soname_spec
='${libname}${release}${shared_ext}$major'
20501 shlibpath_var
=LIBPATH
20506 library_names_spec
='$libname.ixlibrary $libname.a'
20507 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20508 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'
20512 library_names_spec
='${libname}${shared_ext}'
20513 dynamic_linker
="$host_os ld.so"
20514 shlibpath_var
=LIBRARY_PATH
20520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20521 soname_spec
='${libname}${release}${shared_ext}$major'
20522 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
20523 shlibpath_var
=LD_LIBRARY_PATH
20524 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20525 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
20526 # the default ld.so.conf also contains /usr/contrib/lib and
20527 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20528 # libtool to hard-code these into programs
20531 cygwin
* | mingw
* | pw32
*)
20532 version_type
=windows
20537 case $GCC,$host_os in
20538 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
20539 library_names_spec
='$libname.dll.a'
20540 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20541 postinstall_cmds
='base_file=`basename \${file}`~
20542 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20543 dldir=$destdir/`dirname \$dlpath`~
20544 test -d \$dldir || mkdir -p \$dldir~
20545 $install_prog $dir/$dlname \$dldir/$dlname~
20546 chmod a+x \$dldir/$dlname'
20547 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20548 dlpath=$dir/\$dldll~
20550 shlibpath_overrides_runpath
=yes
20554 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20555 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20556 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
20559 # MinGW DLLs use traditional 'lib' prefix
20560 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20561 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20562 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
20563 # It is most probably a Windows format PATH printed by
20564 # mingw gcc, but we are running on Cygwin. Gcc prints its search
20565 # path with ; separators, and with drive letters. We can handle the
20566 # drive letters (cygwin fileutils understands them), so leave them,
20567 # especially as we might pass files found there to a mingw objdump,
20568 # which wouldn't understand a cygwinified path. Ahh.
20569 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20571 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20575 # pw32 DLLs use 'pw' prefix rather than 'lib'
20576 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20582 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20585 dynamic_linker
='Win32 ld.exe'
20586 # FIXME: first we should search . and the directory the executable is in
20590 darwin
* | rhapsody
*)
20591 dynamic_linker
="$host_os dyld"
20592 version_type
=darwin
20595 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20596 soname_spec
='${libname}${release}${major}$shared_ext'
20597 shlibpath_overrides_runpath
=yes
20598 shlibpath_var
=DYLD_LIBRARY_PATH
20599 shrext_cmds
='.dylib'
20600 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20601 if test "$GCC" = yes; then
20602 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"`
20604 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
20606 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
20613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20614 soname_spec
='${libname}${release}${shared_ext}$major'
20615 shlibpath_var
=LD_LIBRARY_PATH
20626 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20627 soname_spec
='${libname}${release}${shared_ext}$major'
20628 shlibpath_var
=LD_LIBRARY_PATH
20629 shlibpath_overrides_runpath
=no
20630 hardcode_into_libs
=yes
20631 dynamic_linker
='GNU ld.so'
20634 freebsd
* | dragonfly
*)
20635 # DragonFly does not have aout. When/if they implement a new
20636 # versioning mechanism, adjust this.
20637 if test -x /usr
/bin
/objformat
; then
20638 objformat
=`/usr/bin/objformat`
20641 freebsd
[123]*) objformat
=aout
;;
20642 *) objformat
=elf
;;
20645 version_type
=freebsd-
$objformat
20646 case $version_type in
20648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20653 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20657 shlibpath_var
=LD_LIBRARY_PATH
20660 shlibpath_overrides_runpath
=yes
20662 freebsd3.
[01]* | freebsdelf3.
[01]*)
20663 shlibpath_overrides_runpath
=yes
20664 hardcode_into_libs
=yes
20666 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
20667 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
20668 shlibpath_overrides_runpath
=no
20669 hardcode_into_libs
=yes
20671 freebsd
*) # from 4.6 on
20672 shlibpath_overrides_runpath
=yes
20673 hardcode_into_libs
=yes
20682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20683 soname_spec
='${libname}${release}${shared_ext}$major'
20684 shlibpath_var
=LD_LIBRARY_PATH
20685 hardcode_into_libs
=yes
20688 hpux9
* | hpux10
* | hpux11
*)
20689 # Give a soname corresponding to the major version so that dld.sl refuses to
20690 # link against other versions.
20697 hardcode_into_libs
=yes
20698 dynamic_linker
="$host_os dld.so"
20699 shlibpath_var
=LD_LIBRARY_PATH
20700 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20702 soname_spec
='${libname}${release}${shared_ext}$major'
20703 if test "X$HPUX_IA64_MODE" = X32
; then
20704 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20706 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
20708 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20712 hardcode_into_libs
=yes
20713 dynamic_linker
="$host_os dld.sl"
20714 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
20715 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20716 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20717 soname_spec
='${libname}${release}${shared_ext}$major'
20718 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20719 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20723 dynamic_linker
="$host_os dld.sl"
20724 shlibpath_var
=SHLIB_PATH
20725 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
20726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20727 soname_spec
='${libname}${release}${shared_ext}$major'
20730 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20731 postinstall_cmds
='chmod 555 $lib'
20738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20739 soname_spec
='${libname}${release}${shared_ext}$major'
20740 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
20741 shlibpath_var
=LD_LIBRARY_PATH
20742 shlibpath_overrides_runpath
=no
20743 hardcode_into_libs
=yes
20746 irix5
* | irix6
* | nonstopux
*)
20748 nonstopux
*) version_type
=nonstopux
;;
20750 if test "$lt_cv_prog_gnu_ld" = yes; then
20758 soname_spec
='${libname}${release}${shared_ext}$major'
20759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20761 irix5
* | nonstopux
*)
20762 libsuff
= shlibsuff
=
20765 case $LD in # libtool.m4 will add one of these switches to LD
20766 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
20767 libsuff
= shlibsuff
= libmagic
=32-bit;;
20768 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
20769 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
20770 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
20771 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
20772 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
20776 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
20777 shlibpath_overrides_runpath
=no
20778 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20779 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
20780 hardcode_into_libs
=yes
20783 # No shared lib support for Linux oldld, aout, or coff.
20784 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
20788 # This must be Linux ELF.
20793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20794 soname_spec
='${libname}${release}${shared_ext}$major'
20795 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20796 shlibpath_var
=LD_LIBRARY_PATH
20797 shlibpath_overrides_runpath
=no
20798 # This implies no fast_install, which is unacceptable.
20799 # Some rework will be needed to allow for fast_install
20800 # before this can be enabled.
20801 hardcode_into_libs
=yes
20803 # Append ld.so.conf contents to the search path
20804 if test -f /etc
/ld.so.conf
; then
20805 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' ' '`
20806 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
20809 # We used to test for /lib/ld.so.1 and disable shared libraries on
20810 # powerpc, because MkLinux only supported shared libraries with the
20811 # GNU dynamic linker. Since this was broken with cross compilers,
20812 # most powerpc-linux boxes support dynamic linking these days and
20813 # people can always --disable-shared, the test was removed, and we
20814 # assume the GNU/Linux dynamic linker is in use.
20815 dynamic_linker
='GNU/Linux ld.so'
20822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20823 soname_spec
='${libname}${release}${shared_ext}$major'
20824 shlibpath_var
=LD_LIBRARY_PATH
20825 shlibpath_overrides_runpath
=no
20826 hardcode_into_libs
=yes
20827 dynamic_linker
='GNU ld.so'
20834 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
20835 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20836 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20837 dynamic_linker
='NetBSD (a.out) ld.so'
20839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20840 soname_spec
='${libname}${release}${shared_ext}$major'
20841 dynamic_linker
='NetBSD ld.elf_so'
20843 shlibpath_var
=LD_LIBRARY_PATH
20844 shlibpath_overrides_runpath
=yes
20845 hardcode_into_libs
=yes
20850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20851 shlibpath_var
=LD_LIBRARY_PATH
20852 shlibpath_overrides_runpath
=yes
20859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20860 soname_spec
='${libname}${release}${shared_ext}$major'
20861 shlibpath_var
=LD_LIBRARY_PATH
20862 shlibpath_overrides_runpath
=yes
20867 sys_lib_dlsearch_path_spec
="/usr/lib"
20869 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20871 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
20872 *) need_version
=no
;;
20874 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20875 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20876 shlibpath_var
=LD_LIBRARY_PATH
20877 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20879 openbsd2.
[89] | openbsd2.
[89].
*)
20880 shlibpath_overrides_runpath
=no
20883 shlibpath_overrides_runpath
=yes
20887 shlibpath_overrides_runpath
=yes
20892 libname_spec
='$name'
20895 library_names_spec
='$libname${shared_ext} $libname.a'
20896 dynamic_linker
='OS/2 ld.exe'
20897 shlibpath_var
=LIBPATH
20900 osf3
* | osf4
* | osf5
*)
20904 soname_spec
='${libname}${release}${shared_ext}$major'
20905 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20906 shlibpath_var
=LD_LIBRARY_PATH
20907 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20908 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
20915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20916 soname_spec
='${libname}${release}${shared_ext}$major'
20917 shlibpath_var
=LD_LIBRARY_PATH
20918 shlibpath_overrides_runpath
=yes
20919 hardcode_into_libs
=yes
20920 # ldd complains unless libraries are executable
20921 postinstall_cmds
='chmod +x $lib'
20926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20927 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20928 shlibpath_var
=LD_LIBRARY_PATH
20929 shlibpath_overrides_runpath
=yes
20930 if test "$with_gnu_ld" = yes; then
20938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20939 soname_spec
='${libname}${release}${shared_ext}$major'
20940 shlibpath_var
=LD_LIBRARY_PATH
20941 case $host_vendor in
20943 shlibpath_overrides_runpath
=no
20945 export_dynamic_flag_spec
='${wl}-Blargedynsym'
20946 runpath_var
=LD_RUN_PATH
20954 shlibpath_overrides_runpath
=no
20955 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
20961 if test -d /usr
/nec
;then
20963 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20964 soname_spec
='$libname${shared_ext}.$major'
20965 shlibpath_var
=LD_LIBRARY_PATH
20969 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
20970 version_type
=freebsd-elf
20973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20974 soname_spec
='${libname}${release}${shared_ext}$major'
20975 shlibpath_var
=LD_LIBRARY_PATH
20976 hardcode_into_libs
=yes
20977 if test "$with_gnu_ld" = yes; then
20978 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20979 shlibpath_overrides_runpath
=no
20981 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
20982 shlibpath_overrides_runpath
=yes
20985 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
20989 sys_lib_dlsearch_path_spec
='/usr/lib'
20994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20995 soname_spec
='${libname}${release}${shared_ext}$major'
20996 shlibpath_var
=LD_LIBRARY_PATH
21003 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
21004 echo "${ECHO_T}$dynamic_linker" >&6; }
21005 test "$dynamic_linker" = no
&& can_build_shared
=no
21007 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
21008 if test "$GCC" = yes; then
21009 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21012 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
21013 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
21014 hardcode_action_CXX
=
21015 if test -n "$hardcode_libdir_flag_spec_CXX" || \
21016 test -n "$runpath_var_CXX" || \
21017 test "X$hardcode_automatic_CXX" = "Xyes" ; then
21019 # We can hardcode non-existant directories.
21020 if test "$hardcode_direct_CXX" != no
&&
21021 # If the only mechanism to avoid hardcoding is shlibpath_var, we
21022 # have to relink, otherwise we might link with an installed library
21023 # when we should be linking with a yet-to-be-installed one
21024 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
21025 test "$hardcode_minus_L_CXX" != no
; then
21026 # Linking always hardcodes the temporary library directory.
21027 hardcode_action_CXX
=relink
21029 # We can link without hardcoding, and we can hardcode nonexisting dirs.
21030 hardcode_action_CXX
=immediate
21033 # We cannot hardcode anything, or else we can only hardcode existing
21035 hardcode_action_CXX
=unsupported
21037 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
21038 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
21040 if test "$hardcode_action_CXX" = relink
; then
21041 # Fast installation is not supported
21042 enable_fast_install
=no
21043 elif test "$shlibpath_overrides_runpath" = yes ||
21044 test "$enable_shared" = no
; then
21045 # Fast installation is not necessary
21046 enable_fast_install
=needless
21050 # The else clause should only fire when bootstrapping the
21051 # libtool distribution, otherwise you forgot to ship ltmain.sh
21052 # with your package, and you will get complaints that there are
21053 # no rules to generate ltmain.sh.
21054 if test -f "$ltmain"; then
21055 # See if we are running on zsh, and set the options which allow our commands through
21056 # without removal of \ escapes.
21057 if test -n "${ZSH_VERSION+set}" ; then
21058 setopt NO_GLOB_SUBST
21060 # Now quote all the things that may contain metacharacters while being
21061 # careful not to overquote the AC_SUBSTed values. We take copies of the
21062 # variables and quote the copies for generation of the libtool script.
21063 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
21065 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21066 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21067 deplibs_check_method reload_flag reload_cmds need_locks \
21068 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21069 lt_cv_sys_global_symbol_to_c_name_address \
21070 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21071 old_postinstall_cmds old_postuninstall_cmds \
21075 lt_prog_compiler_wl_CXX \
21076 lt_prog_compiler_pic_CXX \
21077 lt_prog_compiler_static_CXX \
21078 lt_prog_compiler_no_builtin_flag_CXX \
21079 export_dynamic_flag_spec_CXX \
21080 thread_safe_flag_spec_CXX \
21081 whole_archive_flag_spec_CXX \
21082 enable_shared_with_static_runtimes_CXX \
21083 old_archive_cmds_CXX \
21084 old_archive_from_new_cmds_CXX \
21085 predep_objects_CXX \
21086 postdep_objects_CXX \
21089 compiler_lib_search_path_CXX \
21091 archive_expsym_cmds_CXX \
21092 postinstall_cmds_CXX \
21093 postuninstall_cmds_CXX \
21094 old_archive_from_expsyms_cmds_CXX \
21095 allow_undefined_flag_CXX \
21096 no_undefined_flag_CXX \
21097 export_symbols_cmds_CXX \
21098 hardcode_libdir_flag_spec_CXX \
21099 hardcode_libdir_flag_spec_ld_CXX \
21100 hardcode_libdir_separator_CXX \
21101 hardcode_automatic_CXX \
21103 module_expsym_cmds_CXX \
21104 lt_cv_prog_compiler_c_o_CXX \
21105 exclude_expsyms_CXX \
21106 include_expsyms_CXX
; do
21109 old_archive_cmds_CXX | \
21110 old_archive_from_new_cmds_CXX | \
21111 archive_cmds_CXX | \
21112 archive_expsym_cmds_CXX | \
21113 module_cmds_CXX | \
21114 module_expsym_cmds_CXX | \
21115 old_archive_from_expsyms_cmds_CXX | \
21116 export_symbols_cmds_CXX | \
21117 extract_expsyms_cmds | reload_cmds | finish_cmds | \
21118 postinstall_cmds | postuninstall_cmds | \
21119 old_postinstall_cmds | old_postuninstall_cmds | \
21120 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
21121 # Double-quote double-evaled strings.
21122 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21125 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21131 *'\$0 --fallback-echo"')
21132 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21138 cat <<__EOF__ >> "$cfgfile"
21139 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
21141 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21143 # Shell to use when invoking shell scripts.
21146 # Whether or not to build shared libraries.
21147 build_libtool_libs=$enable_shared
21149 # Whether or not to build static libraries.
21150 build_old_libs=$enable_static
21152 # Whether or not to add -lc for building shared libraries.
21153 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21155 # Whether or not to disallow shared libs when runtime libs are static
21156 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21158 # Whether or not to optimize for fast installation.
21159 fast_install=$enable_fast_install
21162 host_alias=$host_alias
21166 # The build system.
21167 build_alias=$build_alias
21171 # An echo program that does not interpret backslashes.
21176 AR_FLAGS=$lt_AR_FLAGS
21181 # LTCC compiler flags.
21182 LTCFLAGS=$lt_LTCFLAGS
21184 # A language-specific compiler.
21185 CC=$lt_compiler_CXX
21187 # Is the compiler the GNU C compiler?
21193 # The linker used to build libraries.
21196 # Whether we need hard or soft links.
21199 # A BSD-compatible nm program.
21202 # A symbol stripping program
21205 # Used to examine libraries when file_magic_cmd begins "file"
21206 MAGIC_CMD=$MAGIC_CMD
21208 # Used on cygwin: DLL creation program.
21211 # Used on cygwin: object dumper.
21214 # Used on cygwin: assembler.
21217 # The name of the directory that contains temporary libtool files.
21220 # How to create reloadable object files.
21221 reload_flag=$lt_reload_flag
21222 reload_cmds=$lt_reload_cmds
21224 # How to pass a linker flag through the compiler.
21225 wl=$lt_lt_prog_compiler_wl_CXX
21227 # Object file suffix (normally "o").
21228 objext="$ac_objext"
21230 # Old archive suffix (normally "a").
21233 # Shared library suffix (normally ".so").
21234 shrext_cmds='$shrext_cmds'
21236 # Executable file suffix (normally "").
21239 # Additional compiler flags for building library objects.
21240 pic_flag=$lt_lt_prog_compiler_pic_CXX
21243 # What is the maximum length of a command?
21244 max_cmd_len=$lt_cv_sys_max_cmd_len
21246 # Does compiler simultaneously support -c and -o options?
21247 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21249 # Must we lock files when doing compilation?
21250 need_locks=$lt_need_locks
21252 # Do we need the lib prefix for modules?
21253 need_lib_prefix=$need_lib_prefix
21255 # Do we need a version for libraries?
21256 need_version=$need_version
21258 # Whether dlopen is supported.
21259 dlopen_support=$enable_dlopen
21261 # Whether dlopen of programs is supported.
21262 dlopen_self=$enable_dlopen_self
21264 # Whether dlopen of statically linked programs is supported.
21265 dlopen_self_static=$enable_dlopen_self_static
21267 # Compiler flag to prevent dynamic linking.
21268 link_static_flag=$lt_lt_prog_compiler_static_CXX
21270 # Compiler flag to turn off builtin functions.
21271 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21273 # Compiler flag to allow reflexive dlopens.
21274 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21276 # Compiler flag to generate shared objects directly from archives.
21277 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21279 # Compiler flag to generate thread-safe objects.
21280 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
21282 # Library versioning type.
21283 version_type=$version_type
21285 # Format of library name prefix.
21286 libname_spec=$lt_libname_spec
21288 # List of archive names. First name is the real one, the rest are links.
21289 # The last name is the one that the linker finds with -lNAME.
21290 library_names_spec=$lt_library_names_spec
21292 # The coded name of the library, if different from the real name.
21293 soname_spec=$lt_soname_spec
21295 # Commands used to build and install an old-style archive.
21297 old_archive_cmds=$lt_old_archive_cmds_CXX
21298 old_postinstall_cmds=$lt_old_postinstall_cmds
21299 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21301 # Create an old-style archive from a shared archive.
21302 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21304 # Create a temporary old-style archive to link instead of a shared archive.
21305 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21307 # Commands used to build and install a shared archive.
21308 archive_cmds=$lt_archive_cmds_CXX
21309 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21310 postinstall_cmds=$lt_postinstall_cmds
21311 postuninstall_cmds=$lt_postuninstall_cmds
21313 # Commands used to build a loadable module (assumed same as above if empty)
21314 module_cmds=$lt_module_cmds_CXX
21315 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21317 # Commands to strip libraries.
21318 old_striplib=$lt_old_striplib
21319 striplib=$lt_striplib
21321 # Dependencies to place before the objects being linked to create a
21323 predep_objects=$lt_predep_objects_CXX
21325 # Dependencies to place after the objects being linked to create a
21327 postdep_objects=$lt_postdep_objects_CXX
21329 # Dependencies to place before the objects being linked to create a
21331 predeps=$lt_predeps_CXX
21333 # Dependencies to place after the objects being linked to create a
21335 postdeps=$lt_postdeps_CXX
21337 # The library search path used internally by the compiler when linking
21338 # a shared library.
21339 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21341 # Method to check whether dependent libraries are shared objects.
21342 deplibs_check_method=$lt_deplibs_check_method
21344 # Command to use when deplibs_check_method == file_magic.
21345 file_magic_cmd=$lt_file_magic_cmd
21347 # Flag that allows shared libraries with undefined symbols to be built.
21348 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21350 # Flag that forces no undefined symbols.
21351 no_undefined_flag=$lt_no_undefined_flag_CXX
21353 # Commands used to finish a libtool library installation in a directory.
21354 finish_cmds=$lt_finish_cmds
21356 # Same as above, but a single script fragment to be evaled but not shown.
21357 finish_eval=$lt_finish_eval
21359 # Take the output of nm and produce a listing of raw symbols and C names.
21360 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21362 # Transform the output of nm in a proper C declaration
21363 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21365 # Transform the output of nm in a C name address pair
21366 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21368 # This is the shared library runtime path variable.
21369 runpath_var=$runpath_var
21371 # This is the shared library path variable.
21372 shlibpath_var=$shlibpath_var
21374 # Is shlibpath searched before the hard-coded library search path?
21375 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21377 # How to hardcode a shared library path into an executable.
21378 hardcode_action=$hardcode_action_CXX
21380 # Whether we should hardcode library paths into libraries.
21381 hardcode_into_libs=$hardcode_into_libs
21383 # Flag to hardcode \$libdir into a binary during linking.
21384 # This must work even if \$libdir does not exist.
21385 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21387 # If ld is used when linking, flag to hardcode \$libdir into
21388 # a binary during linking. This must work even if \$libdir does
21390 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21392 # Whether we need a single -rpath flag with a separated argument.
21393 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21395 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21396 # resulting binary.
21397 hardcode_direct=$hardcode_direct_CXX
21399 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21400 # resulting binary.
21401 hardcode_minus_L=$hardcode_minus_L_CXX
21403 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21404 # the resulting binary.
21405 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21407 # Set to yes if building a shared library automatically hardcodes DIR into the library
21408 # and all subsequent libraries and executables linked against it.
21409 hardcode_automatic=$hardcode_automatic_CXX
21411 # Variables whose values should be saved in libtool wrapper scripts and
21412 # restored at relink time.
21413 variables_saved_for_relink="$variables_saved_for_relink"
21415 # Whether libtool must link a program against all its dependency libraries.
21416 link_all_deplibs=$link_all_deplibs_CXX
21418 # Compile-time system search path for libraries
21419 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21421 # Run-time system search path for libraries
21422 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21424 # Fix the shell variable \$srcfile for the compiler.
21425 fix_srcfile_path="$fix_srcfile_path_CXX"
21427 # Set to yes if exported symbols are required.
21428 always_export_symbols=$always_export_symbols_CXX
21430 # The commands to list exported symbols.
21431 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21433 # The commands to extract the exported symbol list from a shared archive.
21434 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21436 # Symbols that should not be listed in the preloaded symbols.
21437 exclude_expsyms=$lt_exclude_expsyms_CXX
21439 # Symbols that must always be exported.
21440 include_expsyms=$lt_include_expsyms_CXX
21442 # ### END LIBTOOL TAG CONFIG: $tagname
21448 # If there is no Makefile yet, we rely on a make rule to execute
21449 # `config.status --recheck' to rerun these tests and create the
21450 # libtool script then.
21451 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21452 if test -f "$ltmain_in"; then
21453 test -f Makefile
&& make "$ltmain"
21459 ac_cpp
='$CPP $CPPFLAGS'
21460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21468 with_gnu_ldcxx
=$with_gnu_ld
21469 with_gnu_ld
=$lt_save_with_gnu_ld
21470 lt_cv_path_LDCXX
=$lt_cv_path_LD
21471 lt_cv_path_LD
=$lt_save_path_LD
21472 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
21473 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
21481 if test -n "$F77" && test "X$F77" != "Xno"; then
21484 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
21485 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21486 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
21489 archive_cmds_need_lc_F77
=no
21490 allow_undefined_flag_F77
=
21491 always_export_symbols_F77
=no
21492 archive_expsym_cmds_F77
=
21493 export_dynamic_flag_spec_F77
=
21494 hardcode_direct_F77
=no
21495 hardcode_libdir_flag_spec_F77
=
21496 hardcode_libdir_flag_spec_ld_F77
=
21497 hardcode_libdir_separator_F77
=
21498 hardcode_minus_L_F77
=no
21499 hardcode_automatic_F77
=no
21501 module_expsym_cmds_F77
=
21502 link_all_deplibs_F77
=unknown
21503 old_archive_cmds_F77
=$old_archive_cmds
21504 no_undefined_flag_F77
=
21505 whole_archive_flag_spec_F77
=
21506 enable_shared_with_static_runtimes_F77
=no
21508 # Source file extension for f77 test sources.
21511 # Object file extension for compiled f77 test sources.
21515 # Code to be used in simple compile tests
21516 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
21518 # Code to be used in simple link tests
21519 lt_simple_link_test_code
=" program t\n end\n"
21521 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
21523 # If no C compiler was specified, use CC.
21526 # If no C compiler flags were specified, use CFLAGS.
21527 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
21529 # Allow CC to be a program name with arguments.
21533 # save warnings/boilerplate of simple test code
21534 ac_outfile
=conftest.
$ac_objext
21535 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
21536 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
21537 _lt_compiler_boilerplate
=`cat conftest.err`
21540 ac_outfile
=conftest.
$ac_objext
21541 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
21542 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
21543 _lt_linker_boilerplate
=`cat conftest.err`
21547 # Allow CC to be a program name with arguments.
21552 for cc_temp
in $compiler""; do
21554 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
21555 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
21560 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21563 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
21564 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
21565 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
21566 echo "${ECHO_T}$can_build_shared" >&6; }
21568 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
21569 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
21570 test "$can_build_shared" = "no" && enable_shared
=no
21572 # On AIX, shared libraries and static libraries use the same namespace, and
21573 # are all built from PIC.
21576 test "$enable_shared" = yes && enable_static
=no
21577 if test -n "$RANLIB"; then
21578 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
21579 postinstall_cmds
='$RANLIB $lib'
21583 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
21584 test "$enable_shared" = yes && enable_static
=no
21588 { echo "$as_me:$LINENO: result: $enable_shared" >&5
21589 echo "${ECHO_T}$enable_shared" >&6; }
21591 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
21592 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
21593 # Make sure either enable_shared or enable_static is yes.
21594 test "$enable_shared" = yes || enable_static
=yes
21595 { echo "$as_me:$LINENO: result: $enable_static" >&5
21596 echo "${ECHO_T}$enable_static" >&6; }
21601 lt_prog_compiler_wl_F77
=
21602 lt_prog_compiler_pic_F77
=
21603 lt_prog_compiler_static_F77
=
21605 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21606 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
21608 if test "$GCC" = yes; then
21609 lt_prog_compiler_wl_F77
='-Wl,'
21610 lt_prog_compiler_static_F77
='-static'
21614 # All AIX code is PIC.
21615 if test "$host_cpu" = ia64
; then
21616 # AIX 5 now supports IA64 processor
21617 lt_prog_compiler_static_F77
='-Bstatic'
21622 # FIXME: we need at least 68020 code to build shared libraries, but
21623 # adding the `-m68020' flag to GCC prevents building anything better,
21625 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
21628 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
21629 # PIC is the default for these OSes.
21632 mingw
* | pw32
* | os2
*)
21633 # This hack is so that the source file can tell whether it is being
21634 # built for inclusion in a dll (and should export symbols for example).
21635 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
21638 darwin
* | rhapsody
*)
21639 # PIC is the default on this platform
21640 # Common symbols not allowed in MH_DYLIB files
21641 lt_prog_compiler_pic_F77
='-fno-common'
21645 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21646 # Instead, we relocate shared libraries at runtime.
21650 # Just because we use GCC doesn't mean we suddenly get shared libraries
21651 # on systems that don't support them.
21652 lt_prog_compiler_can_build_shared_F77
=no
21657 if test -d /usr
/nec
; then
21658 lt_prog_compiler_pic_F77
=-Kconform_pic
21663 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21664 # not for PA HP-UX.
21670 lt_prog_compiler_pic_F77
='-fPIC'
21676 lt_prog_compiler_pic_F77
='-fPIC'
21680 # PORTME Check for flag to pass linker flags through the system compiler.
21683 lt_prog_compiler_wl_F77
='-Wl,'
21684 if test "$host_cpu" = ia64
; then
21685 # AIX 5 now supports IA64 processor
21686 lt_prog_compiler_static_F77
='-Bstatic'
21688 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
21692 # PIC is the default on this platform
21693 # Common symbols not allowed in MH_DYLIB files
21694 case $cc_basename in
21696 lt_prog_compiler_pic_F77
='-qnocommon'
21697 lt_prog_compiler_wl_F77
='-Wl,'
21702 mingw
* | pw32
* | os2
*)
21703 # This hack is so that the source file can tell whether it is being
21704 # built for inclusion in a dll (and should export symbols for example).
21705 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
21708 hpux9
* | hpux10
* | hpux11
*)
21709 lt_prog_compiler_wl_F77
='-Wl,'
21710 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21711 # not for PA HP-UX.
21717 lt_prog_compiler_pic_F77
='+Z'
21720 # Is there a better lt_prog_compiler_static that works with the bundled CC?
21721 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
21724 irix5
* | irix6
* | nonstopux
*)
21725 lt_prog_compiler_wl_F77
='-Wl,'
21726 # PIC (with -KPIC) is the default.
21727 lt_prog_compiler_static_F77
='-non_shared'
21731 lt_prog_compiler_pic_F77
='-KPIC'
21732 lt_prog_compiler_static_F77
='-Bstatic'
21736 case $cc_basename in
21738 lt_prog_compiler_wl_F77
='-Wl,'
21739 lt_prog_compiler_pic_F77
='-KPIC'
21740 lt_prog_compiler_static_F77
='-static'
21742 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
21743 # Portland Group compilers (*not* the Pentium gcc compiler,
21744 # which looks to be a dead project)
21745 lt_prog_compiler_wl_F77
='-Wl,'
21746 lt_prog_compiler_pic_F77
='-fpic'
21747 lt_prog_compiler_static_F77
='-Bstatic'
21750 lt_prog_compiler_wl_F77
='-Wl,'
21751 # All Alpha code is PIC.
21752 lt_prog_compiler_static_F77
='-non_shared'
21757 osf3
* | osf4
* | osf5
*)
21758 lt_prog_compiler_wl_F77
='-Wl,'
21759 # All OSF/1 code is PIC.
21760 lt_prog_compiler_static_F77
='-non_shared'
21764 lt_prog_compiler_pic_F77
='-KPIC'
21765 lt_prog_compiler_static_F77
='-Bstatic'
21766 case $cc_basename in
21767 f77
* | f90
* | f95
*)
21768 lt_prog_compiler_wl_F77
='-Qoption ld ';;
21770 lt_prog_compiler_wl_F77
='-Wl,';;
21775 lt_prog_compiler_wl_F77
='-Qoption ld '
21776 lt_prog_compiler_pic_F77
='-PIC'
21777 lt_prog_compiler_static_F77
='-Bstatic'
21780 sysv4 | sysv4.2uw2
* | sysv4.3
*)
21781 lt_prog_compiler_wl_F77
='-Wl,'
21782 lt_prog_compiler_pic_F77
='-KPIC'
21783 lt_prog_compiler_static_F77
='-Bstatic'
21787 if test -d /usr
/nec
;then
21788 lt_prog_compiler_pic_F77
='-Kconform_pic'
21789 lt_prog_compiler_static_F77
='-Bstatic'
21793 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
21794 lt_prog_compiler_wl_F77
='-Wl,'
21795 lt_prog_compiler_pic_F77
='-KPIC'
21796 lt_prog_compiler_static_F77
='-Bstatic'
21800 lt_prog_compiler_wl_F77
='-Wl,'
21801 lt_prog_compiler_can_build_shared_F77
=no
21805 lt_prog_compiler_pic_F77
='-pic'
21806 lt_prog_compiler_static_F77
='-Bstatic'
21810 lt_prog_compiler_can_build_shared_F77
=no
21815 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
21816 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
21819 # Check to make sure the PIC flag actually works.
21821 if test -n "$lt_prog_compiler_pic_F77"; then
21823 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
21824 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
21825 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
21826 echo $ECHO_N "(cached) $ECHO_C" >&6
21828 lt_prog_compiler_pic_works_F77
=no
21829 ac_outfile
=conftest.
$ac_objext
21830 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21831 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
21832 # Insert the option either (1) after the last *FLAGS variable, or
21833 # (2) before a word containing "conftest.", or (3) at the end.
21834 # Note that $ac_compile itself does not contain backslashes and begins
21835 # with a dollar sign (not a hyphen), so the echo should work correctly.
21836 # The option is referenced via a variable to avoid confusing sed.
21837 lt_compile
=`echo "$ac_compile" | $SED \
21838 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21839 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21840 -e 's:$: $lt_compiler_flag:'`
21841 (eval echo "\"\$as_me:21841: $lt_compile\"" >&5)
21842 (eval "$lt_compile" 2>conftest.err
)
21844 cat conftest.err
>&5
21845 echo "$as_me:21845: \$? = $ac_status" >&5
21846 if (exit $ac_status) && test -s "$ac_outfile"; then
21847 # The compiler can only warn and ignore the option if not recognized
21848 # So say no if there are warnings other than the usual output.
21849 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
21850 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21851 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
21852 lt_prog_compiler_pic_works_F77
=yes
21858 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
21859 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
21861 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
21862 case $lt_prog_compiler_pic_F77 in
21864 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
21867 lt_prog_compiler_pic_F77
=
21868 lt_prog_compiler_can_build_shared_F77
=no
21873 # For platforms which do not support PIC, -DPIC is meaningless:
21875 lt_prog_compiler_pic_F77
=
21878 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
21883 # Check to make sure the static flag actually works.
21885 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
21886 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21887 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
21888 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
21889 echo $ECHO_N "(cached) $ECHO_C" >&6
21891 lt_prog_compiler_static_works_F77
=no
21892 save_LDFLAGS
="$LDFLAGS"
21893 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
21894 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
21895 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
21896 # The linker can only warn and ignore the option if not recognized
21897 # So say no if there are warnings
21898 if test -s conftest.err
; then
21899 # Append any errors to the config.log.
21900 cat conftest.err
1>&5
21901 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
21902 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21903 if diff conftest.exp conftest.er2
>/dev
/null
; then
21904 lt_prog_compiler_static_works_F77
=yes
21907 lt_prog_compiler_static_works_F77
=yes
21911 LDFLAGS
="$save_LDFLAGS"
21914 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
21915 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
21917 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
21920 lt_prog_compiler_static_F77
=
21924 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21925 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
21926 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
21927 echo $ECHO_N "(cached) $ECHO_C" >&6
21929 lt_cv_prog_compiler_c_o_F77
=no
21930 $rm -r conftest
2>/dev
/null
21934 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21936 lt_compiler_flag
="-o out/conftest2.$ac_objext"
21937 # Insert the option either (1) after the last *FLAGS variable, or
21938 # (2) before a word containing "conftest.", or (3) at the end.
21939 # Note that $ac_compile itself does not contain backslashes and begins
21940 # with a dollar sign (not a hyphen), so the echo should work correctly.
21941 lt_compile
=`echo "$ac_compile" | $SED \
21942 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21943 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21944 -e 's:$: $lt_compiler_flag:'`
21945 (eval echo "\"\$as_me:21945: $lt_compile\"" >&5)
21946 (eval "$lt_compile" 2>out
/conftest.err
)
21948 cat out
/conftest.err
>&5
21949 echo "$as_me:21949: \$? = $ac_status" >&5
21950 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
21952 # The compiler can only warn and ignore the option if not recognized
21953 # So say no if there are warnings
21954 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
21955 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
21956 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
21957 lt_cv_prog_compiler_c_o_F77
=yes
21962 # SGI C++ compiler will create directory out/ii_files/ for
21963 # template instantiation
21964 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
21965 $rm out
/* && rmdir out
21971 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
21972 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
21975 hard_links
="nottested"
21976 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
21977 # do not overwrite the value of need_locks provided by the user
21978 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21979 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
21982 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21984 ln conftest.a conftest.b
2>&5 || hard_links
=no
21985 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21986 { echo "$as_me:$LINENO: result: $hard_links" >&5
21987 echo "${ECHO_T}$hard_links" >&6; }
21988 if test "$hard_links" = no
; then
21989 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21990 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21997 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21998 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
22001 allow_undefined_flag_F77
=
22002 enable_shared_with_static_runtimes_F77
=no
22004 archive_expsym_cmds_F77
=
22005 old_archive_From_new_cmds_F77
=
22006 old_archive_from_expsyms_cmds_F77
=
22007 export_dynamic_flag_spec_F77
=
22008 whole_archive_flag_spec_F77
=
22009 thread_safe_flag_spec_F77
=
22010 hardcode_libdir_flag_spec_F77
=
22011 hardcode_libdir_flag_spec_ld_F77
=
22012 hardcode_libdir_separator_F77
=
22013 hardcode_direct_F77
=no
22014 hardcode_minus_L_F77
=no
22015 hardcode_shlibpath_var_F77
=unsupported
22016 link_all_deplibs_F77
=unknown
22017 hardcode_automatic_F77
=no
22019 module_expsym_cmds_F77
=
22020 always_export_symbols_F77
=no
22021 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
22022 # include_expsyms should be a list of space-separated symbols to be *always*
22023 # included in the symbol list
22024 include_expsyms_F77
=
22025 # exclude_expsyms can be an extended regexp of symbols to exclude
22026 # it will be wrapped by ` (' and `)$', so one must not match beginning or
22027 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
22028 # as well as any symbol that contains `d'.
22029 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
22030 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
22031 # platforms (ab)use it in PIC code, but their linkers get confused if
22032 # the symbol is explicitly referenced. Since portable code cannot
22033 # rely on this symbol name, it's probably fine to never include it in
22034 # preloaded symbol tables.
22035 extract_expsyms_cmds
=
22036 # Just being paranoid about ensuring that cc_basename is set.
22037 for cc_temp
in $compiler""; do
22039 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
22040 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
22045 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
22048 cygwin
* | mingw
* | pw32
*)
22049 # FIXME: the MSVC++ port hasn't been tested in a loooong time
22050 # When not using gcc, we currently assume that we are using
22051 # Microsoft Visual C++.
22052 if test "$GCC" != yes; then
22057 # we just hope/assume this is gcc and not c89 (= MSVC++)
22066 if test "$with_gnu_ld" = yes; then
22067 # If archive_cmds runs LD, not CC, wlarc should be empty
22070 # Set some defaults for GNU ld with shared library support. These
22071 # are reset later if shared libraries are not supported. Putting them
22072 # here allows them to be overridden if necessary.
22073 runpath_var
=LD_RUN_PATH
22074 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
22075 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
22076 # ancient GNU ld didn't support --whole-archive et. al.
22077 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
22078 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
22080 whole_archive_flag_spec_F77
=
22082 supports_anon_versioning
=no
22083 case `$LD -v 2>/dev/null` in
22084 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
22085 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
22086 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
22087 *\
2.11.
*) ;; # other 2.11 versions
22088 *) supports_anon_versioning
=yes ;;
22091 # See if GNU ld supports shared libraries.
22093 aix3
* | aix4
* | aix5
*)
22094 # On AIX/PPC, the GNU linker is very broken
22095 if test "$host_cpu" != ia64
; then
22099 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
22100 *** to be unable to reliably create shared libraries on AIX.
22101 *** Therefore, libtool is disabling shared libraries support. If you
22102 *** really care for shared libraries, you may want to modify your PATH
22103 *** so that a non-GNU linker is found, and then restart.
22110 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)'
22111 hardcode_libdir_flag_spec_F77
='-L$libdir'
22112 hardcode_minus_L_F77
=yes
22114 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
22115 # that the semantics of dynamic libraries on AmigaOS, at least up
22116 # to version 4, is to share data among multiple programs linked
22117 # with the same dynamic library. Since this doesn't match the
22118 # behavior of shared libraries on other platforms, we can't use
22124 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
22125 allow_undefined_flag_F77
=unsupported
22126 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
22127 # support --undefined. This deserves some investigation. FIXME
22128 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22134 cygwin
* | mingw
* | pw32
*)
22135 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
22136 # as there is no search path for DLLs.
22137 hardcode_libdir_flag_spec_F77
='-L$libdir'
22138 allow_undefined_flag_F77
=unsupported
22139 always_export_symbols_F77
=no
22140 enable_shared_with_static_runtimes_F77
=yes
22141 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
22143 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
22144 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
22145 # If the export-symbols file already is a .def file (1st line
22146 # is EXPORTS), use it as is; otherwise, prepend...
22147 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
22148 cp $export_symbols $output_objdir/$soname.def;
22150 echo EXPORTS > $output_objdir/$soname.def;
22151 cat $export_symbols >> $output_objdir/$soname.def;
22153 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
22160 hardcode_direct_F77
=no
22161 hardcode_shlibpath_var_F77
=no
22162 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22163 export_dynamic_flag_spec_F77
='${wl}-E'
22164 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
22165 # Instead, shared libraries are loaded at an image base (0x10000000 by
22166 # default) and relocated if they conflict, which is a slow very memory
22167 # consuming and fragmenting process. To avoid this, we pick a random,
22168 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
22169 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
22170 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'
22171 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'
22175 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
22177 case $cc_basename,$host_cpu in
22178 pgcc
*) # Portland Group C compiler
22179 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'
22180 tmp_addflag
=' $pic_flag'
22182 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
22183 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'
22184 tmp_addflag
=' $pic_flag -Mnomain' ;;
22185 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
22186 tmp_addflag
=' -i_dynamic' ;;
22187 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
22188 tmp_addflag
=' -i_dynamic -nofor_main' ;;
22189 ifc
* | ifort
*) # Intel Fortran compiler
22190 tmp_addflag
=' -nofor_main' ;;
22192 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22194 if test $supports_anon_versioning = yes; then
22195 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
22196 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
22197 $echo "local: *; };" >> $output_objdir/$libname.ver~
22198 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
22206 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
22207 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
22210 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22211 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22216 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
22220 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
22221 *** create shared libraries on Solaris systems. Therefore, libtool
22222 *** is disabling shared libraries support. We urge you to upgrade GNU
22223 *** binutils to release 2.9.1 or newer. Another option is to modify
22224 *** your PATH or compiler configuration so that the native linker is
22225 *** used, and then restart.
22228 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
22229 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22230 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22236 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
22237 case `$LD -v 2>&1` in
22238 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
22242 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
22243 *** reliably create shared libraries on SCO systems. Therefore, libtool
22244 *** is disabling shared libraries support. We urge you to upgrade GNU
22245 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
22246 *** your PATH or compiler configuration so that the native linker is
22247 *** used, and then restart.
22252 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
22253 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
22254 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
22255 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
22264 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22266 hardcode_direct_F77
=yes
22267 hardcode_shlibpath_var_F77
=no
22271 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
22272 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22273 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22280 if test "$ld_shlibs_F77" = no
; then
22282 hardcode_libdir_flag_spec_F77
=
22283 export_dynamic_flag_spec_F77
=
22284 whole_archive_flag_spec_F77
=
22287 # PORTME fill in a description of your system's linker (not GNU ld)
22290 allow_undefined_flag_F77
=unsupported
22291 always_export_symbols_F77
=yes
22292 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'
22293 # Note: this linker hardcodes the directories in LIBPATH if there
22294 # are no directories specified by -L.
22295 hardcode_minus_L_F77
=yes
22296 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
22297 # Neither direct hardcoding nor static linking is supported with a
22299 hardcode_direct_F77
=unsupported
22304 if test "$host_cpu" = ia64
; then
22305 # On IA64, the linker does run time linking by default, so we don't
22306 # have to do anything special.
22307 aix_use_runtimelinking
=no
22308 exp_sym_flag
='-Bexport'
22311 # If we're using GNU nm, then we don't want the "-C" option.
22312 # -C means demangle to AIX nm, but means don't demangle with GNU nm
22313 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
22314 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'
22316 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'
22318 aix_use_runtimelinking
=no
22320 # Test if we are trying to use run time linking or normal
22321 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
22322 # need to do runtime linking.
22323 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
22324 for ld_flag
in $LDFLAGS; do
22325 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
22326 aix_use_runtimelinking
=yes
22333 exp_sym_flag
='-bexport'
22334 no_entry_flag
='-bnoentry'
22337 # When large executables or shared objects are built, AIX ld can
22338 # have problems creating the table of contents. If linking a library
22339 # or program results in "error TOC overflow" add -mminimal-toc to
22340 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
22341 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
22343 archive_cmds_F77
=''
22344 hardcode_direct_F77
=yes
22345 hardcode_libdir_separator_F77
=':'
22346 link_all_deplibs_F77
=yes
22348 if test "$GCC" = yes; then
22349 case $host_os in aix4.
[012]|aix4.
[012].
*)
22350 # We only want to do this on AIX 4.2 and lower, the check
22351 # below for broken collect2 doesn't work under 4.3+
22352 collect2name
=`${CC} -print-prog-name=collect2`
22353 if test -f "$collect2name" && \
22354 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
22356 # We have reworked collect2
22357 hardcode_direct_F77
=yes
22359 # We have old collect2
22360 hardcode_direct_F77
=unsupported
22361 # It fails to find uninstalled libraries when the uninstalled
22362 # path is not listed in the libpath. Setting hardcode_minus_L
22363 # to unsupported forces relinking
22364 hardcode_minus_L_F77
=yes
22365 hardcode_libdir_flag_spec_F77
='-L$libdir'
22366 hardcode_libdir_separator_F77
=
22370 shared_flag
='-shared'
22371 if test "$aix_use_runtimelinking" = yes; then
22372 shared_flag
="$shared_flag "'${wl}-G'
22376 if test "$host_cpu" = ia64
; then
22377 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
22378 # chokes on -Wl,-G. The following line is correct:
22381 if test "$aix_use_runtimelinking" = yes; then
22382 shared_flag
='${wl}-G'
22384 shared_flag
='${wl}-bM:SRE'
22389 # It seems that -bexpall does not export symbols beginning with
22390 # underscore (_), so it is better to generate a list of symbols to export.
22391 always_export_symbols_F77
=yes
22392 if test "$aix_use_runtimelinking" = yes; then
22393 # Warning - without using the other runtime loading flags (-brtl),
22394 # -berok will link without error, but may produce a broken library.
22395 allow_undefined_flag_F77
='-berok'
22396 # Determine the default libpath from the value encoded in an empty executable.
22397 cat >conftest.
$ac_ext <<_ACEOF
22402 rm -f conftest.
$ac_objext conftest
$ac_exeext
22403 if { (ac_try
="$ac_link"
22404 case "(($ac_try" in
22405 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22406 *) ac_try_echo=$ac_try;;
22408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22409 (eval "$ac_link") 2>conftest.er1
22411 grep -v '^ *+' conftest.er1 >conftest.err
22413 cat conftest.err >&5
22414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22415 (exit $ac_status); } &&
22416 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
22417 { (case "(($ac_try" in
22418 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22419 *) ac_try_echo
=$ac_try;;
22421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22422 (eval "$ac_try") 2>&5
22424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22425 (exit $ac_status); }; } &&
22426 { ac_try
='test -s conftest$ac_exeext'
22427 { (case "(($ac_try" in
22428 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22429 *) ac_try_echo=$ac_try;;
22431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22432 (eval "$ac_try") 2>&5
22434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22435 (exit $ac_status); }; }; then
22437 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22439 # Check for a 64-bit object if we didn't find anything.
22440 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; }
22443 echo "$as_me: failed program was:" >&5
22444 sed 's/^/| /' conftest.$ac_ext >&5
22449 rm -f core conftest.err conftest.$ac_objext \
22450 conftest$ac_exeext conftest.$ac_ext
22451 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22453 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
22454 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"
22456 if test "$host_cpu" = ia64; then
22457 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
22458 allow_undefined_flag_F77="-z nodefs"
22459 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"
22461 # Determine the default libpath from the value encoded in an empty executable.
22462 cat >conftest.$ac_ext <<_ACEOF
22467 rm -f conftest.$ac_objext conftest$ac_exeext
22468 if { (ac_try="$ac_link"
22469 case "(($ac_try" in
22470 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22471 *) ac_try_echo
=$ac_try;;
22473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22474 (eval "$ac_link") 2>conftest.er1
22476 grep -v '^ *+' conftest.er1
>conftest.err
22478 cat conftest.err
>&5
22479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22480 (exit $ac_status); } &&
22481 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
22482 { (case "(($ac_try" in
22483 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22484 *) ac_try_echo=$ac_try;;
22486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22487 (eval "$ac_try") 2>&5
22489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22490 (exit $ac_status); }; } &&
22491 { ac_try='test -s conftest$ac_exeext'
22492 { (case "(($ac_try" in
22493 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22494 *) ac_try_echo
=$ac_try;;
22496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22497 (eval "$ac_try") 2>&5
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); }; }; then
22502 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22504 # Check for a 64-bit object if we didn't find anything.
22505 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; }
22508 echo "$as_me: failed program was:" >&5
22509 sed 's/^/| /' conftest.
$ac_ext >&5
22514 rm -f core conftest.err conftest.
$ac_objext \
22515 conftest
$ac_exeext conftest.
$ac_ext
22516 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
22518 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
22519 # Warning - without using the other run time loading flags,
22520 # -berok will link without error, but may produce a broken library.
22521 no_undefined_flag_F77
=' ${wl}-bernotok'
22522 allow_undefined_flag_F77
=' ${wl}-berok'
22523 # Exported symbols can be pulled into shared objects from archives
22524 whole_archive_flag_spec_F77
='$convenience'
22525 archive_cmds_need_lc_F77
=yes
22526 # This is similar to how AIX traditionally builds its shared libraries.
22527 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'
22533 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)'
22534 hardcode_libdir_flag_spec_F77
='-L$libdir'
22535 hardcode_minus_L_F77
=yes
22536 # see comment about different semantics on the GNU ld section
22541 export_dynamic_flag_spec_F77
=-rdynamic
22544 cygwin
* | mingw
* | pw32
*)
22545 # When not using gcc, we currently assume that we are using
22546 # Microsoft Visual C++.
22547 # hardcode_libdir_flag_spec is actually meaningless, as there is
22548 # no search path for DLLs.
22549 hardcode_libdir_flag_spec_F77
=' '
22550 allow_undefined_flag_F77
=unsupported
22551 # Tell ltmain to make .lib files, not .a files.
22553 # Tell ltmain to make .dll files, not .so files.
22555 # FIXME: Setting linknames here is a bad hack.
22556 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
22557 # The linker will automatically build a .lib file if we build a DLL.
22558 old_archive_From_new_cmds_F77
='true'
22559 # FIXME: Should let the user specify the lib program.
22560 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
22561 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
22562 enable_shared_with_static_runtimes_F77
=yes
22565 darwin
* | rhapsody
*)
22567 rhapsody
* | darwin1.
[012])
22568 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
22571 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
22572 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22574 case ${MACOSX_DEPLOYMENT_TARGET} in
22576 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22579 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
22585 archive_cmds_need_lc_F77
=no
22586 hardcode_direct_F77
=no
22587 hardcode_automatic_F77
=yes
22588 hardcode_shlibpath_var_F77
=unsupported
22589 whole_archive_flag_spec_F77
=''
22590 link_all_deplibs_F77
=yes
22591 if test "$GCC" = yes ; then
22592 output_verbose_link_cmd
='echo'
22593 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
22594 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22595 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22596 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}'
22597 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}'
22599 case $cc_basename in
22601 output_verbose_link_cmd
='echo'
22602 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
22603 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22604 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22605 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}'
22606 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}'
22616 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22617 hardcode_libdir_flag_spec_F77
='-L$libdir'
22618 hardcode_shlibpath_var_F77
=no
22625 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
22626 # support. Future versions do this automatically, but an explicit c++rt0.o
22627 # does not break anything, and helps significantly (at the cost of a little
22630 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
22631 hardcode_libdir_flag_spec_F77
='-R$libdir'
22632 hardcode_direct_F77
=yes
22633 hardcode_shlibpath_var_F77
=no
22636 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
22638 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22639 hardcode_direct_F77
=yes
22640 hardcode_minus_L_F77
=yes
22641 hardcode_shlibpath_var_F77
=no
22644 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22645 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
22646 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
22647 hardcode_libdir_flag_spec_F77
='-R$libdir'
22648 hardcode_direct_F77
=yes
22649 hardcode_shlibpath_var_F77
=no
22653 if test "$GCC" = yes; then
22654 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'
22656 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'
22658 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22659 hardcode_libdir_separator_F77
=:
22660 hardcode_direct_F77
=yes
22662 # hardcode_minus_L: Not really in the search PATH,
22663 # but as the default location of the library.
22664 hardcode_minus_L_F77
=yes
22665 export_dynamic_flag_spec_F77
='${wl}-E'
22669 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22670 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22672 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22674 if test "$with_gnu_ld" = no
; then
22675 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22676 hardcode_libdir_separator_F77
=:
22678 hardcode_direct_F77
=yes
22679 export_dynamic_flag_spec_F77
='${wl}-E'
22681 # hardcode_minus_L: Not really in the search PATH,
22682 # but as the default location of the library.
22683 hardcode_minus_L_F77
=yes
22688 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22691 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22694 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22697 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22703 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22706 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22709 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22713 if test "$with_gnu_ld" = no
; then
22714 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22715 hardcode_libdir_separator_F77
=:
22719 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
22720 hardcode_direct_F77
=no
22721 hardcode_shlibpath_var_F77
=no
22724 hardcode_direct_F77
=yes
22725 export_dynamic_flag_spec_F77
='${wl}-E'
22727 # hardcode_minus_L: Not really in the search PATH,
22728 # but as the default location of the library.
22729 hardcode_minus_L_F77
=yes
22735 irix5
* | irix6
* | nonstopux
*)
22736 if test "$GCC" = yes; then
22737 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'
22739 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'
22740 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
22742 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22743 hardcode_libdir_separator_F77
=:
22744 link_all_deplibs_F77
=yes
22748 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
22749 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22751 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22753 hardcode_libdir_flag_spec_F77
='-R$libdir'
22754 hardcode_direct_F77
=yes
22755 hardcode_shlibpath_var_F77
=no
22759 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22760 hardcode_direct_F77
=yes
22761 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22762 hardcode_libdir_separator_F77
=:
22763 hardcode_shlibpath_var_F77
=no
22767 hardcode_direct_F77
=yes
22768 hardcode_shlibpath_var_F77
=no
22769 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22770 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22771 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22772 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22773 export_dynamic_flag_spec_F77
='${wl}-E'
22776 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
22777 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22778 hardcode_libdir_flag_spec_F77
='-R$libdir'
22781 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22782 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22789 hardcode_libdir_flag_spec_F77
='-L$libdir'
22790 hardcode_minus_L_F77
=yes
22791 allow_undefined_flag_F77
=unsupported
22792 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'
22793 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22797 if test "$GCC" = yes; then
22798 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
22799 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'
22801 allow_undefined_flag_F77
=' -expect_unresolved \*'
22802 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'
22804 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22805 hardcode_libdir_separator_F77
=:
22808 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
22809 if test "$GCC" = yes; then
22810 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
22811 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'
22812 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22814 allow_undefined_flag_F77
=' -expect_unresolved \*'
22815 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'
22816 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~
22817 $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'
22819 # Both c and cxx compiler support -rpath directly
22820 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
22822 hardcode_libdir_separator_F77
=:
22826 no_undefined_flag_F77
=' -z text'
22827 if test "$GCC" = yes; then
22829 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22830 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22831 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22834 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22835 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22836 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22838 hardcode_libdir_flag_spec_F77
='-R$libdir'
22839 hardcode_shlibpath_var_F77
=no
22841 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
22843 # The compiler driver will combine linker options so we
22844 # cannot just pass the convience library names through
22845 # without $wl, iff we do not link with $LD.
22846 # Luckily, gcc supports the same syntax we need for Sun Studio.
22847 # Supported since Solaris 2.6 (maybe 2.5.1?)
22850 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
22852 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' ;;
22855 link_all_deplibs_F77
=yes
22859 if test "x$host_vendor" = xsequent
; then
22860 # Use $CC to link under sequent, because it throws in some extra .o
22861 # files that make .init and .fini sections work.
22862 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22864 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22866 hardcode_libdir_flag_spec_F77
='-L$libdir'
22867 hardcode_direct_F77
=yes
22868 hardcode_minus_L_F77
=yes
22869 hardcode_shlibpath_var_F77
=no
22873 case $host_vendor in
22875 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22876 hardcode_direct_F77
=yes # is this really true???
22879 ## LD is ld it makes a PLAMLIB
22880 ## CC just makes a GrossModule.
22881 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22882 reload_cmds_F77
='$CC -r -o $output$reload_objs'
22883 hardcode_direct_F77
=no
22886 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22887 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
22890 runpath_var
='LD_RUN_PATH'
22891 hardcode_shlibpath_var_F77
=no
22895 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22896 hardcode_shlibpath_var_F77
=no
22897 export_dynamic_flag_spec_F77
='-Bexport'
22901 if test -d /usr
/nec
; then
22902 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22903 hardcode_shlibpath_var_F77
=no
22904 runpath_var
=LD_RUN_PATH
22905 hardcode_runpath_var
=yes
22910 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
22911 no_undefined_flag_F77
='${wl}-z,text'
22912 archive_cmds_need_lc_F77
=no
22913 hardcode_shlibpath_var_F77
=no
22914 runpath_var
='LD_RUN_PATH'
22916 if test "$GCC" = yes; then
22917 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22918 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22920 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22921 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22925 sysv5
* | sco3.2v5
* | sco5v6
*)
22926 # Note: We can NOT use -z defs as we might desire, because we do not
22927 # link with -lc, and that would cause any symbols used from libc to
22928 # always be unresolved, which means just about no library would
22929 # ever link correctly. If we're not using GNU ld we use -z text
22930 # though, which does catch some bad symbols but isn't as heavy-handed
22932 no_undefined_flag_F77
='${wl}-z,text'
22933 allow_undefined_flag_F77
='${wl}-z,nodefs'
22934 archive_cmds_need_lc_F77
=no
22935 hardcode_shlibpath_var_F77
=no
22936 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
22937 hardcode_libdir_separator_F77
=':'
22938 link_all_deplibs_F77
=yes
22939 export_dynamic_flag_spec_F77
='${wl}-Bexport'
22940 runpath_var
='LD_RUN_PATH'
22942 if test "$GCC" = yes; then
22943 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22944 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22946 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22947 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22952 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22953 hardcode_libdir_flag_spec_F77
='-L$libdir'
22954 hardcode_shlibpath_var_F77
=no
22963 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
22964 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
22965 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
22968 # Do we need to explicitly link libc?
22970 case "x$archive_cmds_need_lc_F77" in
22972 # Assume -lc should be added
22973 archive_cmds_need_lc_F77
=yes
22975 if test "$enable_shared" = yes && test "$GCC" = yes; then
22976 case $archive_cmds_F77 in
22978 # FIXME: we may have to deal with multi-command sequences.
22981 # Test whether the compiler implicitly links with -lc since on some
22982 # systems, -lgcc has to come before -lc. If gcc already passes -lc
22983 # to ld, don't add -lc before -lgcc.
22984 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22985 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
22987 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
22989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22990 (eval $ac_compile) 2>&5
22992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22993 (exit $ac_status); } 2>conftest.err
; then
22996 libobjs
=conftest.
$ac_objext
22998 wl
=$lt_prog_compiler_wl_F77
22999 pic_flag
=$lt_prog_compiler_pic_F77
23005 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
23006 allow_undefined_flag_F77
=
23007 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
23008 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
23010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23011 (exit $ac_status); }
23013 archive_cmds_need_lc_F77
=no
23015 archive_cmds_need_lc_F77
=yes
23017 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
23019 cat conftest.err
1>&5
23022 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
23023 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
23030 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
23031 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
23032 library_names_spec
=
23033 libname_spec
='lib$name'
23037 postuninstall_cmds
=
23041 shlibpath_overrides_runpath
=unknown
23043 dynamic_linker
="$host_os ld.so"
23044 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
23045 if test "$GCC" = yes; then
23046 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
23047 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
23048 # if the path contains ";" then we assume it to be the separator
23049 # otherwise default to the standard path separator (i.e. ":") - it is
23050 # assumed that no part of a normal pathname contains ";" but that should
23051 # okay in the real world where ";" in dirpaths is itself problematic.
23052 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23054 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23057 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
23059 need_lib_prefix
=unknown
23060 hardcode_into_libs
=no
23062 # when you set need_version to no, make sure it does not cause -set_version
23063 # flags to be left without arguments
23064 need_version
=unknown
23069 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
23070 shlibpath_var
=LIBPATH
23072 # AIX 3 has no versioning support, so we append a major version to the name.
23073 soname_spec
='${libname}${release}${shared_ext}$major'
23080 hardcode_into_libs
=yes
23081 if test "$host_cpu" = ia64
; then
23082 # AIX 5 supports IA64
23083 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
23084 shlibpath_var
=LD_LIBRARY_PATH
23086 # With GCC up to 2.95.x, collect2 would create an import file
23087 # for dependence libraries. The import file would start with
23088 # the line `#! .'. This would cause the generated library to
23089 # depend on `.', always an invalid library. This was fixed in
23090 # development snapshots of GCC prior to 3.0.
23092 aix4 | aix4.
[01] | aix4.
[01].
*)
23093 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
23095 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
23098 can_build_shared
=no
23102 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
23103 # soname into executable. Probably we can add versioning support to
23104 # collect2, so additional links can be useful in future.
23105 if test "$aix_use_runtimelinking" = yes; then
23106 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
23107 # instead of lib<name>.a to let people know that these are not
23108 # typical AIX shared libraries.
23109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23111 # We preserve .a as extension for shared libraries through AIX4.2
23112 # and later when we are not doing run time linking.
23113 library_names_spec
='${libname}${release}.a $libname.a'
23114 soname_spec
='${libname}${release}${shared_ext}$major'
23116 shlibpath_var
=LIBPATH
23121 library_names_spec
='$libname.ixlibrary $libname.a'
23122 # Create ${libname}_ixlibrary.a entries in /sys/libs.
23123 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'
23127 library_names_spec
='${libname}${shared_ext}'
23128 dynamic_linker
="$host_os ld.so"
23129 shlibpath_var
=LIBRARY_PATH
23135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23136 soname_spec
='${libname}${release}${shared_ext}$major'
23137 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
23138 shlibpath_var
=LD_LIBRARY_PATH
23139 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
23140 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
23141 # the default ld.so.conf also contains /usr/contrib/lib and
23142 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
23143 # libtool to hard-code these into programs
23146 cygwin
* | mingw
* | pw32
*)
23147 version_type
=windows
23152 case $GCC,$host_os in
23153 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
23154 library_names_spec
='$libname.dll.a'
23155 # DLL is installed to $(libdir)/../bin by postinstall_cmds
23156 postinstall_cmds
='base_file=`basename \${file}`~
23157 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
23158 dldir=$destdir/`dirname \$dlpath`~
23159 test -d \$dldir || mkdir -p \$dldir~
23160 $install_prog $dir/$dlname \$dldir/$dlname~
23161 chmod a+x \$dldir/$dlname'
23162 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
23163 dlpath=$dir/\$dldll~
23165 shlibpath_overrides_runpath
=yes
23169 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
23170 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23171 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
23174 # MinGW DLLs use traditional 'lib' prefix
23175 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23176 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
23177 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
23178 # It is most probably a Windows format PATH printed by
23179 # mingw gcc, but we are running on Cygwin. Gcc prints its search
23180 # path with ; separators, and with drive letters. We can handle the
23181 # drive letters (cygwin fileutils understands them), so leave them,
23182 # especially as we might pass files found there to a mingw objdump,
23183 # which wouldn't understand a cygwinified path. Ahh.
23184 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23186 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23190 # pw32 DLLs use 'pw' prefix rather than 'lib'
23191 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23197 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
23200 dynamic_linker
='Win32 ld.exe'
23201 # FIXME: first we should search . and the directory the executable is in
23205 darwin
* | rhapsody
*)
23206 dynamic_linker
="$host_os dyld"
23207 version_type
=darwin
23210 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
23211 soname_spec
='${libname}${release}${major}$shared_ext'
23212 shlibpath_overrides_runpath
=yes
23213 shlibpath_var
=DYLD_LIBRARY_PATH
23214 shrext_cmds
='.dylib'
23215 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
23216 if test "$GCC" = yes; then
23217 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"`
23219 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
23221 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
23228 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
23229 soname_spec
='${libname}${release}${shared_ext}$major'
23230 shlibpath_var
=LD_LIBRARY_PATH
23241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23242 soname_spec
='${libname}${release}${shared_ext}$major'
23243 shlibpath_var
=LD_LIBRARY_PATH
23244 shlibpath_overrides_runpath
=no
23245 hardcode_into_libs
=yes
23246 dynamic_linker
='GNU ld.so'
23249 freebsd
* | dragonfly
*)
23250 # DragonFly does not have aout. When/if they implement a new
23251 # versioning mechanism, adjust this.
23252 if test -x /usr
/bin
/objformat
; then
23253 objformat
=`/usr/bin/objformat`
23256 freebsd
[123]*) objformat
=aout
;;
23257 *) objformat
=elf
;;
23260 version_type
=freebsd-
$objformat
23261 case $version_type in
23263 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23268 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
23272 shlibpath_var
=LD_LIBRARY_PATH
23275 shlibpath_overrides_runpath
=yes
23277 freebsd3.
[01]* | freebsdelf3.
[01]*)
23278 shlibpath_overrides_runpath
=yes
23279 hardcode_into_libs
=yes
23281 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
23282 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
23283 shlibpath_overrides_runpath
=no
23284 hardcode_into_libs
=yes
23286 freebsd
*) # from 4.6 on
23287 shlibpath_overrides_runpath
=yes
23288 hardcode_into_libs
=yes
23297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
23298 soname_spec
='${libname}${release}${shared_ext}$major'
23299 shlibpath_var
=LD_LIBRARY_PATH
23300 hardcode_into_libs
=yes
23303 hpux9
* | hpux10
* | hpux11
*)
23304 # Give a soname corresponding to the major version so that dld.sl refuses to
23305 # link against other versions.
23312 hardcode_into_libs
=yes
23313 dynamic_linker
="$host_os dld.so"
23314 shlibpath_var
=LD_LIBRARY_PATH
23315 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
23316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23317 soname_spec
='${libname}${release}${shared_ext}$major'
23318 if test "X$HPUX_IA64_MODE" = X32
; then
23319 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
23321 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
23323 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
23327 hardcode_into_libs
=yes
23328 dynamic_linker
="$host_os dld.sl"
23329 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
23330 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
23331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23332 soname_spec
='${libname}${release}${shared_ext}$major'
23333 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
23334 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
23338 dynamic_linker
="$host_os dld.sl"
23339 shlibpath_var
=SHLIB_PATH
23340 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
23341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23342 soname_spec
='${libname}${release}${shared_ext}$major'
23345 # HP-UX runs *really* slowly unless shared libraries are mode 555.
23346 postinstall_cmds
='chmod 555 $lib'
23353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23354 soname_spec
='${libname}${release}${shared_ext}$major'
23355 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
23356 shlibpath_var
=LD_LIBRARY_PATH
23357 shlibpath_overrides_runpath
=no
23358 hardcode_into_libs
=yes
23361 irix5
* | irix6
* | nonstopux
*)
23363 nonstopux
*) version_type
=nonstopux
;;
23365 if test "$lt_cv_prog_gnu_ld" = yes; then
23373 soname_spec
='${libname}${release}${shared_ext}$major'
23374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
23376 irix5
* | nonstopux
*)
23377 libsuff
= shlibsuff
=
23380 case $LD in # libtool.m4 will add one of these switches to LD
23381 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
23382 libsuff
= shlibsuff
= libmagic
=32-bit;;
23383 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
23384 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
23385 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
23386 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
23387 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
23391 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
23392 shlibpath_overrides_runpath
=no
23393 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
23394 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
23395 hardcode_into_libs
=yes
23398 # No shared lib support for Linux oldld, aout, or coff.
23399 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
23403 # This must be Linux ELF.
23408 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23409 soname_spec
='${libname}${release}${shared_ext}$major'
23410 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
23411 shlibpath_var
=LD_LIBRARY_PATH
23412 shlibpath_overrides_runpath
=no
23413 # This implies no fast_install, which is unacceptable.
23414 # Some rework will be needed to allow for fast_install
23415 # before this can be enabled.
23416 hardcode_into_libs
=yes
23418 # Append ld.so.conf contents to the search path
23419 if test -f /etc
/ld.so.conf
; then
23420 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' ' '`
23421 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
23424 # We used to test for /lib/ld.so.1 and disable shared libraries on
23425 # powerpc, because MkLinux only supported shared libraries with the
23426 # GNU dynamic linker. Since this was broken with cross compilers,
23427 # most powerpc-linux boxes support dynamic linking these days and
23428 # people can always --disable-shared, the test was removed, and we
23429 # assume the GNU/Linux dynamic linker is in use.
23430 dynamic_linker
='GNU/Linux ld.so'
23437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23438 soname_spec
='${libname}${release}${shared_ext}$major'
23439 shlibpath_var
=LD_LIBRARY_PATH
23440 shlibpath_overrides_runpath
=no
23441 hardcode_into_libs
=yes
23442 dynamic_linker
='GNU ld.so'
23449 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
23450 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23451 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23452 dynamic_linker
='NetBSD (a.out) ld.so'
23454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23455 soname_spec
='${libname}${release}${shared_ext}$major'
23456 dynamic_linker
='NetBSD ld.elf_so'
23458 shlibpath_var
=LD_LIBRARY_PATH
23459 shlibpath_overrides_runpath
=yes
23460 hardcode_into_libs
=yes
23465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23466 shlibpath_var
=LD_LIBRARY_PATH
23467 shlibpath_overrides_runpath
=yes
23474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23475 soname_spec
='${libname}${release}${shared_ext}$major'
23476 shlibpath_var
=LD_LIBRARY_PATH
23477 shlibpath_overrides_runpath
=yes
23482 sys_lib_dlsearch_path_spec
="/usr/lib"
23484 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
23486 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
23487 *) need_version
=no
;;
23489 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23490 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23491 shlibpath_var
=LD_LIBRARY_PATH
23492 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23494 openbsd2.
[89] | openbsd2.
[89].
*)
23495 shlibpath_overrides_runpath
=no
23498 shlibpath_overrides_runpath
=yes
23502 shlibpath_overrides_runpath
=yes
23507 libname_spec
='$name'
23510 library_names_spec
='$libname${shared_ext} $libname.a'
23511 dynamic_linker
='OS/2 ld.exe'
23512 shlibpath_var
=LIBPATH
23515 osf3
* | osf4
* | osf5
*)
23519 soname_spec
='${libname}${release}${shared_ext}$major'
23520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23521 shlibpath_var
=LD_LIBRARY_PATH
23522 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
23523 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
23530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23531 soname_spec
='${libname}${release}${shared_ext}$major'
23532 shlibpath_var
=LD_LIBRARY_PATH
23533 shlibpath_overrides_runpath
=yes
23534 hardcode_into_libs
=yes
23535 # ldd complains unless libraries are executable
23536 postinstall_cmds
='chmod +x $lib'
23541 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23542 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
23543 shlibpath_var
=LD_LIBRARY_PATH
23544 shlibpath_overrides_runpath
=yes
23545 if test "$with_gnu_ld" = yes; then
23553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23554 soname_spec
='${libname}${release}${shared_ext}$major'
23555 shlibpath_var
=LD_LIBRARY_PATH
23556 case $host_vendor in
23558 shlibpath_overrides_runpath
=no
23560 export_dynamic_flag_spec
='${wl}-Blargedynsym'
23561 runpath_var
=LD_RUN_PATH
23569 shlibpath_overrides_runpath
=no
23570 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
23576 if test -d /usr
/nec
;then
23578 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
23579 soname_spec
='$libname${shared_ext}.$major'
23580 shlibpath_var
=LD_LIBRARY_PATH
23584 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
23585 version_type
=freebsd-elf
23588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23589 soname_spec
='${libname}${release}${shared_ext}$major'
23590 shlibpath_var
=LD_LIBRARY_PATH
23591 hardcode_into_libs
=yes
23592 if test "$with_gnu_ld" = yes; then
23593 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
23594 shlibpath_overrides_runpath
=no
23596 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
23597 shlibpath_overrides_runpath
=yes
23600 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
23604 sys_lib_dlsearch_path_spec
='/usr/lib'
23609 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23610 soname_spec
='${libname}${release}${shared_ext}$major'
23611 shlibpath_var
=LD_LIBRARY_PATH
23618 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
23619 echo "${ECHO_T}$dynamic_linker" >&6; }
23620 test "$dynamic_linker" = no
&& can_build_shared
=no
23622 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
23623 if test "$GCC" = yes; then
23624 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23627 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
23628 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
23629 hardcode_action_F77
=
23630 if test -n "$hardcode_libdir_flag_spec_F77" || \
23631 test -n "$runpath_var_F77" || \
23632 test "X$hardcode_automatic_F77" = "Xyes" ; then
23634 # We can hardcode non-existant directories.
23635 if test "$hardcode_direct_F77" != no
&&
23636 # If the only mechanism to avoid hardcoding is shlibpath_var, we
23637 # have to relink, otherwise we might link with an installed library
23638 # when we should be linking with a yet-to-be-installed one
23639 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
23640 test "$hardcode_minus_L_F77" != no
; then
23641 # Linking always hardcodes the temporary library directory.
23642 hardcode_action_F77
=relink
23644 # We can link without hardcoding, and we can hardcode nonexisting dirs.
23645 hardcode_action_F77
=immediate
23648 # We cannot hardcode anything, or else we can only hardcode existing
23650 hardcode_action_F77
=unsupported
23652 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
23653 echo "${ECHO_T}$hardcode_action_F77" >&6; }
23655 if test "$hardcode_action_F77" = relink
; then
23656 # Fast installation is not supported
23657 enable_fast_install
=no
23658 elif test "$shlibpath_overrides_runpath" = yes ||
23659 test "$enable_shared" = no
; then
23660 # Fast installation is not necessary
23661 enable_fast_install
=needless
23665 # The else clause should only fire when bootstrapping the
23666 # libtool distribution, otherwise you forgot to ship ltmain.sh
23667 # with your package, and you will get complaints that there are
23668 # no rules to generate ltmain.sh.
23669 if test -f "$ltmain"; then
23670 # See if we are running on zsh, and set the options which allow our commands through
23671 # without removal of \ escapes.
23672 if test -n "${ZSH_VERSION+set}" ; then
23673 setopt NO_GLOB_SUBST
23675 # Now quote all the things that may contain metacharacters while being
23676 # careful not to overquote the AC_SUBSTed values. We take copies of the
23677 # variables and quote the copies for generation of the libtool script.
23678 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23680 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23681 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23682 deplibs_check_method reload_flag reload_cmds need_locks \
23683 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23684 lt_cv_sys_global_symbol_to_c_name_address \
23685 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23686 old_postinstall_cmds old_postuninstall_cmds \
23690 lt_prog_compiler_wl_F77 \
23691 lt_prog_compiler_pic_F77 \
23692 lt_prog_compiler_static_F77 \
23693 lt_prog_compiler_no_builtin_flag_F77 \
23694 export_dynamic_flag_spec_F77 \
23695 thread_safe_flag_spec_F77 \
23696 whole_archive_flag_spec_F77 \
23697 enable_shared_with_static_runtimes_F77 \
23698 old_archive_cmds_F77 \
23699 old_archive_from_new_cmds_F77 \
23700 predep_objects_F77 \
23701 postdep_objects_F77 \
23704 compiler_lib_search_path_F77 \
23706 archive_expsym_cmds_F77 \
23707 postinstall_cmds_F77 \
23708 postuninstall_cmds_F77 \
23709 old_archive_from_expsyms_cmds_F77 \
23710 allow_undefined_flag_F77 \
23711 no_undefined_flag_F77 \
23712 export_symbols_cmds_F77 \
23713 hardcode_libdir_flag_spec_F77 \
23714 hardcode_libdir_flag_spec_ld_F77 \
23715 hardcode_libdir_separator_F77 \
23716 hardcode_automatic_F77 \
23718 module_expsym_cmds_F77 \
23719 lt_cv_prog_compiler_c_o_F77 \
23720 exclude_expsyms_F77 \
23721 include_expsyms_F77
; do
23724 old_archive_cmds_F77 | \
23725 old_archive_from_new_cmds_F77 | \
23726 archive_cmds_F77 | \
23727 archive_expsym_cmds_F77 | \
23728 module_cmds_F77 | \
23729 module_expsym_cmds_F77 | \
23730 old_archive_from_expsyms_cmds_F77 | \
23731 export_symbols_cmds_F77 | \
23732 extract_expsyms_cmds | reload_cmds | finish_cmds | \
23733 postinstall_cmds | postuninstall_cmds | \
23734 old_postinstall_cmds | old_postuninstall_cmds | \
23735 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
23736 # Double-quote double-evaled strings.
23737 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23740 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23746 *'\$0 --fallback-echo"')
23747 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23753 cat <<__EOF__ >> "$cfgfile"
23754 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
23756 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23758 # Shell to use when invoking shell scripts.
23761 # Whether or not to build shared libraries.
23762 build_libtool_libs=$enable_shared
23764 # Whether or not to build static libraries.
23765 build_old_libs=$enable_static
23767 # Whether or not to add -lc for building shared libraries.
23768 build_libtool_need_lc=$archive_cmds_need_lc_F77
23770 # Whether or not to disallow shared libs when runtime libs are static
23771 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
23773 # Whether or not to optimize for fast installation.
23774 fast_install=$enable_fast_install
23777 host_alias=$host_alias
23781 # The build system.
23782 build_alias=$build_alias
23786 # An echo program that does not interpret backslashes.
23791 AR_FLAGS=$lt_AR_FLAGS
23796 # LTCC compiler flags.
23797 LTCFLAGS=$lt_LTCFLAGS
23799 # A language-specific compiler.
23800 CC=$lt_compiler_F77
23802 # Is the compiler the GNU C compiler?
23808 # The linker used to build libraries.
23811 # Whether we need hard or soft links.
23814 # A BSD-compatible nm program.
23817 # A symbol stripping program
23820 # Used to examine libraries when file_magic_cmd begins "file"
23821 MAGIC_CMD=$MAGIC_CMD
23823 # Used on cygwin: DLL creation program.
23826 # Used on cygwin: object dumper.
23829 # Used on cygwin: assembler.
23832 # The name of the directory that contains temporary libtool files.
23835 # How to create reloadable object files.
23836 reload_flag=$lt_reload_flag
23837 reload_cmds=$lt_reload_cmds
23839 # How to pass a linker flag through the compiler.
23840 wl=$lt_lt_prog_compiler_wl_F77
23842 # Object file suffix (normally "o").
23843 objext="$ac_objext"
23845 # Old archive suffix (normally "a").
23848 # Shared library suffix (normally ".so").
23849 shrext_cmds='$shrext_cmds'
23851 # Executable file suffix (normally "").
23854 # Additional compiler flags for building library objects.
23855 pic_flag=$lt_lt_prog_compiler_pic_F77
23858 # What is the maximum length of a command?
23859 max_cmd_len=$lt_cv_sys_max_cmd_len
23861 # Does compiler simultaneously support -c and -o options?
23862 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
23864 # Must we lock files when doing compilation?
23865 need_locks=$lt_need_locks
23867 # Do we need the lib prefix for modules?
23868 need_lib_prefix=$need_lib_prefix
23870 # Do we need a version for libraries?
23871 need_version=$need_version
23873 # Whether dlopen is supported.
23874 dlopen_support=$enable_dlopen
23876 # Whether dlopen of programs is supported.
23877 dlopen_self=$enable_dlopen_self
23879 # Whether dlopen of statically linked programs is supported.
23880 dlopen_self_static=$enable_dlopen_self_static
23882 # Compiler flag to prevent dynamic linking.
23883 link_static_flag=$lt_lt_prog_compiler_static_F77
23885 # Compiler flag to turn off builtin functions.
23886 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
23888 # Compiler flag to allow reflexive dlopens.
23889 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
23891 # Compiler flag to generate shared objects directly from archives.
23892 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
23894 # Compiler flag to generate thread-safe objects.
23895 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
23897 # Library versioning type.
23898 version_type=$version_type
23900 # Format of library name prefix.
23901 libname_spec=$lt_libname_spec
23903 # List of archive names. First name is the real one, the rest are links.
23904 # The last name is the one that the linker finds with -lNAME.
23905 library_names_spec=$lt_library_names_spec
23907 # The coded name of the library, if different from the real name.
23908 soname_spec=$lt_soname_spec
23910 # Commands used to build and install an old-style archive.
23912 old_archive_cmds=$lt_old_archive_cmds_F77
23913 old_postinstall_cmds=$lt_old_postinstall_cmds
23914 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23916 # Create an old-style archive from a shared archive.
23917 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
23919 # Create a temporary old-style archive to link instead of a shared archive.
23920 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
23922 # Commands used to build and install a shared archive.
23923 archive_cmds=$lt_archive_cmds_F77
23924 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
23925 postinstall_cmds=$lt_postinstall_cmds
23926 postuninstall_cmds=$lt_postuninstall_cmds
23928 # Commands used to build a loadable module (assumed same as above if empty)
23929 module_cmds=$lt_module_cmds_F77
23930 module_expsym_cmds=$lt_module_expsym_cmds_F77
23932 # Commands to strip libraries.
23933 old_striplib=$lt_old_striplib
23934 striplib=$lt_striplib
23936 # Dependencies to place before the objects being linked to create a
23938 predep_objects=$lt_predep_objects_F77
23940 # Dependencies to place after the objects being linked to create a
23942 postdep_objects=$lt_postdep_objects_F77
23944 # Dependencies to place before the objects being linked to create a
23946 predeps=$lt_predeps_F77
23948 # Dependencies to place after the objects being linked to create a
23950 postdeps=$lt_postdeps_F77
23952 # The library search path used internally by the compiler when linking
23953 # a shared library.
23954 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
23956 # Method to check whether dependent libraries are shared objects.
23957 deplibs_check_method=$lt_deplibs_check_method
23959 # Command to use when deplibs_check_method == file_magic.
23960 file_magic_cmd=$lt_file_magic_cmd
23962 # Flag that allows shared libraries with undefined symbols to be built.
23963 allow_undefined_flag=$lt_allow_undefined_flag_F77
23965 # Flag that forces no undefined symbols.
23966 no_undefined_flag=$lt_no_undefined_flag_F77
23968 # Commands used to finish a libtool library installation in a directory.
23969 finish_cmds=$lt_finish_cmds
23971 # Same as above, but a single script fragment to be evaled but not shown.
23972 finish_eval=$lt_finish_eval
23974 # Take the output of nm and produce a listing of raw symbols and C names.
23975 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23977 # Transform the output of nm in a proper C declaration
23978 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23980 # Transform the output of nm in a C name address pair
23981 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23983 # This is the shared library runtime path variable.
23984 runpath_var=$runpath_var
23986 # This is the shared library path variable.
23987 shlibpath_var=$shlibpath_var
23989 # Is shlibpath searched before the hard-coded library search path?
23990 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23992 # How to hardcode a shared library path into an executable.
23993 hardcode_action=$hardcode_action_F77
23995 # Whether we should hardcode library paths into libraries.
23996 hardcode_into_libs=$hardcode_into_libs
23998 # Flag to hardcode \$libdir into a binary during linking.
23999 # This must work even if \$libdir does not exist.
24000 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
24002 # If ld is used when linking, flag to hardcode \$libdir into
24003 # a binary during linking. This must work even if \$libdir does
24005 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
24007 # Whether we need a single -rpath flag with a separated argument.
24008 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
24010 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
24011 # resulting binary.
24012 hardcode_direct=$hardcode_direct_F77
24014 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
24015 # resulting binary.
24016 hardcode_minus_L=$hardcode_minus_L_F77
24018 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
24019 # the resulting binary.
24020 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
24022 # Set to yes if building a shared library automatically hardcodes DIR into the library
24023 # and all subsequent libraries and executables linked against it.
24024 hardcode_automatic=$hardcode_automatic_F77
24026 # Variables whose values should be saved in libtool wrapper scripts and
24027 # restored at relink time.
24028 variables_saved_for_relink="$variables_saved_for_relink"
24030 # Whether libtool must link a program against all its dependency libraries.
24031 link_all_deplibs=$link_all_deplibs_F77
24033 # Compile-time system search path for libraries
24034 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24036 # Run-time system search path for libraries
24037 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24039 # Fix the shell variable \$srcfile for the compiler.
24040 fix_srcfile_path="$fix_srcfile_path_F77"
24042 # Set to yes if exported symbols are required.
24043 always_export_symbols=$always_export_symbols_F77
24045 # The commands to list exported symbols.
24046 export_symbols_cmds=$lt_export_symbols_cmds_F77
24048 # The commands to extract the exported symbol list from a shared archive.
24049 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24051 # Symbols that should not be listed in the preloaded symbols.
24052 exclude_expsyms=$lt_exclude_expsyms_F77
24054 # Symbols that must always be exported.
24055 include_expsyms=$lt_include_expsyms_F77
24057 # ### END LIBTOOL TAG CONFIG: $tagname
24063 # If there is no Makefile yet, we rely on a make rule to execute
24064 # `config.status --recheck' to rerun these tests and create the
24065 # libtool script then.
24066 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
24067 if test -f "$ltmain_in"; then
24068 test -f Makefile
&& make "$ltmain"
24074 ac_cpp
='$CPP $CPPFLAGS'
24075 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24076 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24077 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24087 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
24089 ac_cpp
='$CPP $CPPFLAGS'
24090 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24091 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24092 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24095 # Source file extension for Java test sources.
24098 # Object file extension for compiled Java test sources.
24102 # Code to be used in simple compile tests
24103 lt_simple_compile_test_code
="class foo {}\n"
24105 # Code to be used in simple link tests
24106 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
24108 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
24110 # If no C compiler was specified, use CC.
24113 # If no C compiler flags were specified, use CFLAGS.
24114 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
24116 # Allow CC to be a program name with arguments.
24120 # save warnings/boilerplate of simple test code
24121 ac_outfile
=conftest.
$ac_objext
24122 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
24123 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
24124 _lt_compiler_boilerplate
=`cat conftest.err`
24127 ac_outfile
=conftest.
$ac_objext
24128 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
24129 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
24130 _lt_linker_boilerplate
=`cat conftest.err`
24134 # Allow CC to be a program name with arguments.
24139 for cc_temp
in $compiler""; do
24141 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
24142 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
24147 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24150 # GCJ did not exist at the time GCC didn't implicitly link libc in.
24151 archive_cmds_need_lc_GCJ
=no
24153 old_archive_cmds_GCJ
=$old_archive_cmds
24156 lt_prog_compiler_no_builtin_flag_GCJ
=
24158 if test "$GCC" = yes; then
24159 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
24162 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
24163 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
24164 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
24165 echo $ECHO_N "(cached) $ECHO_C" >&6
24167 lt_cv_prog_compiler_rtti_exceptions
=no
24168 ac_outfile
=conftest.
$ac_objext
24169 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
24170 lt_compiler_flag
="-fno-rtti -fno-exceptions"
24171 # Insert the option either (1) after the last *FLAGS variable, or
24172 # (2) before a word containing "conftest.", or (3) at the end.
24173 # Note that $ac_compile itself does not contain backslashes and begins
24174 # with a dollar sign (not a hyphen), so the echo should work correctly.
24175 # The option is referenced via a variable to avoid confusing sed.
24176 lt_compile
=`echo "$ac_compile" | $SED \
24177 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24178 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24179 -e 's:$: $lt_compiler_flag:'`
24180 (eval echo "\"\$as_me:24180: $lt_compile\"" >&5)
24181 (eval "$lt_compile" 2>conftest.err
)
24183 cat conftest.err
>&5
24184 echo "$as_me:24184: \$? = $ac_status" >&5
24185 if (exit $ac_status) && test -s "$ac_outfile"; then
24186 # The compiler can only warn and ignore the option if not recognized
24187 # So say no if there are warnings other than the usual output.
24188 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
24189 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
24190 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
24191 lt_cv_prog_compiler_rtti_exceptions
=yes
24197 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
24198 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
24200 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
24201 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
24208 lt_prog_compiler_wl_GCJ
=
24209 lt_prog_compiler_pic_GCJ
=
24210 lt_prog_compiler_static_GCJ
=
24212 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
24213 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
24215 if test "$GCC" = yes; then
24216 lt_prog_compiler_wl_GCJ
='-Wl,'
24217 lt_prog_compiler_static_GCJ
='-static'
24221 # All AIX code is PIC.
24222 if test "$host_cpu" = ia64
; then
24223 # AIX 5 now supports IA64 processor
24224 lt_prog_compiler_static_GCJ
='-Bstatic'
24229 # FIXME: we need at least 68020 code to build shared libraries, but
24230 # adding the `-m68020' flag to GCC prevents building anything better,
24232 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
24235 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
24236 # PIC is the default for these OSes.
24239 mingw
* | pw32
* | os2
*)
24240 # This hack is so that the source file can tell whether it is being
24241 # built for inclusion in a dll (and should export symbols for example).
24242 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
24245 darwin
* | rhapsody
*)
24246 # PIC is the default on this platform
24247 # Common symbols not allowed in MH_DYLIB files
24248 lt_prog_compiler_pic_GCJ
='-fno-common'
24252 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
24253 # Instead, we relocate shared libraries at runtime.
24257 # Just because we use GCC doesn't mean we suddenly get shared libraries
24258 # on systems that don't support them.
24259 lt_prog_compiler_can_build_shared_GCJ
=no
24264 if test -d /usr
/nec
; then
24265 lt_prog_compiler_pic_GCJ
=-Kconform_pic
24270 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
24271 # not for PA HP-UX.
24277 lt_prog_compiler_pic_GCJ
='-fPIC'
24283 lt_prog_compiler_pic_GCJ
='-fPIC'
24287 # PORTME Check for flag to pass linker flags through the system compiler.
24290 lt_prog_compiler_wl_GCJ
='-Wl,'
24291 if test "$host_cpu" = ia64
; then
24292 # AIX 5 now supports IA64 processor
24293 lt_prog_compiler_static_GCJ
='-Bstatic'
24295 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
24299 # PIC is the default on this platform
24300 # Common symbols not allowed in MH_DYLIB files
24301 case $cc_basename in
24303 lt_prog_compiler_pic_GCJ
='-qnocommon'
24304 lt_prog_compiler_wl_GCJ
='-Wl,'
24309 mingw
* | pw32
* | os2
*)
24310 # This hack is so that the source file can tell whether it is being
24311 # built for inclusion in a dll (and should export symbols for example).
24312 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
24315 hpux9
* | hpux10
* | hpux11
*)
24316 lt_prog_compiler_wl_GCJ
='-Wl,'
24317 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
24318 # not for PA HP-UX.
24324 lt_prog_compiler_pic_GCJ
='+Z'
24327 # Is there a better lt_prog_compiler_static that works with the bundled CC?
24328 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
24331 irix5
* | irix6
* | nonstopux
*)
24332 lt_prog_compiler_wl_GCJ
='-Wl,'
24333 # PIC (with -KPIC) is the default.
24334 lt_prog_compiler_static_GCJ
='-non_shared'
24338 lt_prog_compiler_pic_GCJ
='-KPIC'
24339 lt_prog_compiler_static_GCJ
='-Bstatic'
24343 case $cc_basename in
24345 lt_prog_compiler_wl_GCJ
='-Wl,'
24346 lt_prog_compiler_pic_GCJ
='-KPIC'
24347 lt_prog_compiler_static_GCJ
='-static'
24349 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
24350 # Portland Group compilers (*not* the Pentium gcc compiler,
24351 # which looks to be a dead project)
24352 lt_prog_compiler_wl_GCJ
='-Wl,'
24353 lt_prog_compiler_pic_GCJ
='-fpic'
24354 lt_prog_compiler_static_GCJ
='-Bstatic'
24357 lt_prog_compiler_wl_GCJ
='-Wl,'
24358 # All Alpha code is PIC.
24359 lt_prog_compiler_static_GCJ
='-non_shared'
24364 osf3
* | osf4
* | osf5
*)
24365 lt_prog_compiler_wl_GCJ
='-Wl,'
24366 # All OSF/1 code is PIC.
24367 lt_prog_compiler_static_GCJ
='-non_shared'
24371 lt_prog_compiler_pic_GCJ
='-KPIC'
24372 lt_prog_compiler_static_GCJ
='-Bstatic'
24373 case $cc_basename in
24374 f77
* | f90
* | f95
*)
24375 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
24377 lt_prog_compiler_wl_GCJ
='-Wl,';;
24382 lt_prog_compiler_wl_GCJ
='-Qoption ld '
24383 lt_prog_compiler_pic_GCJ
='-PIC'
24384 lt_prog_compiler_static_GCJ
='-Bstatic'
24387 sysv4 | sysv4.2uw2
* | sysv4.3
*)
24388 lt_prog_compiler_wl_GCJ
='-Wl,'
24389 lt_prog_compiler_pic_GCJ
='-KPIC'
24390 lt_prog_compiler_static_GCJ
='-Bstatic'
24394 if test -d /usr
/nec
;then
24395 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
24396 lt_prog_compiler_static_GCJ
='-Bstatic'
24400 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
24401 lt_prog_compiler_wl_GCJ
='-Wl,'
24402 lt_prog_compiler_pic_GCJ
='-KPIC'
24403 lt_prog_compiler_static_GCJ
='-Bstatic'
24407 lt_prog_compiler_wl_GCJ
='-Wl,'
24408 lt_prog_compiler_can_build_shared_GCJ
=no
24412 lt_prog_compiler_pic_GCJ
='-pic'
24413 lt_prog_compiler_static_GCJ
='-Bstatic'
24417 lt_prog_compiler_can_build_shared_GCJ
=no
24422 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
24423 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
24426 # Check to make sure the PIC flag actually works.
24428 if test -n "$lt_prog_compiler_pic_GCJ"; then
24430 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
24431 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
24432 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
24433 echo $ECHO_N "(cached) $ECHO_C" >&6
24435 lt_prog_compiler_pic_works_GCJ
=no
24436 ac_outfile
=conftest.
$ac_objext
24437 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
24438 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
24439 # Insert the option either (1) after the last *FLAGS variable, or
24440 # (2) before a word containing "conftest.", or (3) at the end.
24441 # Note that $ac_compile itself does not contain backslashes and begins
24442 # with a dollar sign (not a hyphen), so the echo should work correctly.
24443 # The option is referenced via a variable to avoid confusing sed.
24444 lt_compile
=`echo "$ac_compile" | $SED \
24445 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24446 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24447 -e 's:$: $lt_compiler_flag:'`
24448 (eval echo "\"\$as_me:24448: $lt_compile\"" >&5)
24449 (eval "$lt_compile" 2>conftest.err
)
24451 cat conftest.err
>&5
24452 echo "$as_me:24452: \$? = $ac_status" >&5
24453 if (exit $ac_status) && test -s "$ac_outfile"; then
24454 # The compiler can only warn and ignore the option if not recognized
24455 # So say no if there are warnings other than the usual output.
24456 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
24457 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
24458 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
24459 lt_prog_compiler_pic_works_GCJ
=yes
24465 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
24466 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
24468 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
24469 case $lt_prog_compiler_pic_GCJ in
24471 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
24474 lt_prog_compiler_pic_GCJ
=
24475 lt_prog_compiler_can_build_shared_GCJ
=no
24480 # For platforms which do not support PIC, -DPIC is meaningless:
24482 lt_prog_compiler_pic_GCJ
=
24485 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
24490 # Check to make sure the static flag actually works.
24492 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
24493 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
24494 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
24495 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
24496 echo $ECHO_N "(cached) $ECHO_C" >&6
24498 lt_prog_compiler_static_works_GCJ
=no
24499 save_LDFLAGS
="$LDFLAGS"
24500 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
24501 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
24502 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
24503 # The linker can only warn and ignore the option if not recognized
24504 # So say no if there are warnings
24505 if test -s conftest.err
; then
24506 # Append any errors to the config.log.
24507 cat conftest.err
1>&5
24508 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
24509 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
24510 if diff conftest.exp conftest.er2
>/dev
/null
; then
24511 lt_prog_compiler_static_works_GCJ
=yes
24514 lt_prog_compiler_static_works_GCJ
=yes
24518 LDFLAGS
="$save_LDFLAGS"
24521 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
24522 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
24524 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
24527 lt_prog_compiler_static_GCJ
=
24531 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
24532 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
24533 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
24534 echo $ECHO_N "(cached) $ECHO_C" >&6
24536 lt_cv_prog_compiler_c_o_GCJ
=no
24537 $rm -r conftest
2>/dev
/null
24541 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
24543 lt_compiler_flag
="-o out/conftest2.$ac_objext"
24544 # Insert the option either (1) after the last *FLAGS variable, or
24545 # (2) before a word containing "conftest.", or (3) at the end.
24546 # Note that $ac_compile itself does not contain backslashes and begins
24547 # with a dollar sign (not a hyphen), so the echo should work correctly.
24548 lt_compile
=`echo "$ac_compile" | $SED \
24549 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24550 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24551 -e 's:$: $lt_compiler_flag:'`
24552 (eval echo "\"\$as_me:24552: $lt_compile\"" >&5)
24553 (eval "$lt_compile" 2>out
/conftest.err
)
24555 cat out
/conftest.err
>&5
24556 echo "$as_me:24556: \$? = $ac_status" >&5
24557 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
24559 # The compiler can only warn and ignore the option if not recognized
24560 # So say no if there are warnings
24561 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
24562 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
24563 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
24564 lt_cv_prog_compiler_c_o_GCJ
=yes
24569 # SGI C++ compiler will create directory out/ii_files/ for
24570 # template instantiation
24571 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
24572 $rm out
/* && rmdir out
24578 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
24579 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
24582 hard_links
="nottested"
24583 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
24584 # do not overwrite the value of need_locks provided by the user
24585 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
24586 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
24589 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
24591 ln conftest.a conftest.b
2>&5 || hard_links
=no
24592 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
24593 { echo "$as_me:$LINENO: result: $hard_links" >&5
24594 echo "${ECHO_T}$hard_links" >&6; }
24595 if test "$hard_links" = no
; then
24596 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
24597 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
24604 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
24605 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
24608 allow_undefined_flag_GCJ
=
24609 enable_shared_with_static_runtimes_GCJ
=no
24611 archive_expsym_cmds_GCJ
=
24612 old_archive_From_new_cmds_GCJ
=
24613 old_archive_from_expsyms_cmds_GCJ
=
24614 export_dynamic_flag_spec_GCJ
=
24615 whole_archive_flag_spec_GCJ
=
24616 thread_safe_flag_spec_GCJ
=
24617 hardcode_libdir_flag_spec_GCJ
=
24618 hardcode_libdir_flag_spec_ld_GCJ
=
24619 hardcode_libdir_separator_GCJ
=
24620 hardcode_direct_GCJ
=no
24621 hardcode_minus_L_GCJ
=no
24622 hardcode_shlibpath_var_GCJ
=unsupported
24623 link_all_deplibs_GCJ
=unknown
24624 hardcode_automatic_GCJ
=no
24626 module_expsym_cmds_GCJ
=
24627 always_export_symbols_GCJ
=no
24628 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
24629 # include_expsyms should be a list of space-separated symbols to be *always*
24630 # included in the symbol list
24631 include_expsyms_GCJ
=
24632 # exclude_expsyms can be an extended regexp of symbols to exclude
24633 # it will be wrapped by ` (' and `)$', so one must not match beginning or
24634 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
24635 # as well as any symbol that contains `d'.
24636 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
24637 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
24638 # platforms (ab)use it in PIC code, but their linkers get confused if
24639 # the symbol is explicitly referenced. Since portable code cannot
24640 # rely on this symbol name, it's probably fine to never include it in
24641 # preloaded symbol tables.
24642 extract_expsyms_cmds
=
24643 # Just being paranoid about ensuring that cc_basename is set.
24644 for cc_temp
in $compiler""; do
24646 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
24647 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
24652 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24655 cygwin
* | mingw
* | pw32
*)
24656 # FIXME: the MSVC++ port hasn't been tested in a loooong time
24657 # When not using gcc, we currently assume that we are using
24658 # Microsoft Visual C++.
24659 if test "$GCC" != yes; then
24664 # we just hope/assume this is gcc and not c89 (= MSVC++)
24673 if test "$with_gnu_ld" = yes; then
24674 # If archive_cmds runs LD, not CC, wlarc should be empty
24677 # Set some defaults for GNU ld with shared library support. These
24678 # are reset later if shared libraries are not supported. Putting them
24679 # here allows them to be overridden if necessary.
24680 runpath_var
=LD_RUN_PATH
24681 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
24682 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
24683 # ancient GNU ld didn't support --whole-archive et. al.
24684 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
24685 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24687 whole_archive_flag_spec_GCJ
=
24689 supports_anon_versioning
=no
24690 case `$LD -v 2>/dev/null` in
24691 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
24692 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
24693 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
24694 *\
2.11.
*) ;; # other 2.11 versions
24695 *) supports_anon_versioning
=yes ;;
24698 # See if GNU ld supports shared libraries.
24700 aix3
* | aix4
* | aix5
*)
24701 # On AIX/PPC, the GNU linker is very broken
24702 if test "$host_cpu" != ia64
; then
24706 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
24707 *** to be unable to reliably create shared libraries on AIX.
24708 *** Therefore, libtool is disabling shared libraries support. If you
24709 *** really care for shared libraries, you may want to modify your PATH
24710 *** so that a non-GNU linker is found, and then restart.
24717 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)'
24718 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24719 hardcode_minus_L_GCJ
=yes
24721 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
24722 # that the semantics of dynamic libraries on AmigaOS, at least up
24723 # to version 4, is to share data among multiple programs linked
24724 # with the same dynamic library. Since this doesn't match the
24725 # behavior of shared libraries on other platforms, we can't use
24731 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24732 allow_undefined_flag_GCJ
=unsupported
24733 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
24734 # support --undefined. This deserves some investigation. FIXME
24735 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24741 cygwin
* | mingw
* | pw32
*)
24742 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
24743 # as there is no search path for DLLs.
24744 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24745 allow_undefined_flag_GCJ
=unsupported
24746 always_export_symbols_GCJ
=no
24747 enable_shared_with_static_runtimes_GCJ
=yes
24748 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
24750 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
24751 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24752 # If the export-symbols file already is a .def file (1st line
24753 # is EXPORTS), use it as is; otherwise, prepend...
24754 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24755 cp $export_symbols $output_objdir/$soname.def;
24757 echo EXPORTS > $output_objdir/$soname.def;
24758 cat $export_symbols >> $output_objdir/$soname.def;
24760 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24767 hardcode_direct_GCJ
=no
24768 hardcode_shlibpath_var_GCJ
=no
24769 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24770 export_dynamic_flag_spec_GCJ
='${wl}-E'
24771 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
24772 # Instead, shared libraries are loaded at an image base (0x10000000 by
24773 # default) and relocated if they conflict, which is a slow very memory
24774 # consuming and fragmenting process. To avoid this, we pick a random,
24775 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
24776 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
24777 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'
24778 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'
24782 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24784 case $cc_basename,$host_cpu in
24785 pgcc
*) # Portland Group C compiler
24786 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'
24787 tmp_addflag
=' $pic_flag'
24789 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
24790 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'
24791 tmp_addflag
=' $pic_flag -Mnomain' ;;
24792 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
24793 tmp_addflag
=' -i_dynamic' ;;
24794 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
24795 tmp_addflag
=' -i_dynamic -nofor_main' ;;
24796 ifc
* | ifort
*) # Intel Fortran compiler
24797 tmp_addflag
=' -nofor_main' ;;
24799 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24801 if test $supports_anon_versioning = yes; then
24802 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
24803 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24804 $echo "local: *; };" >> $output_objdir/$libname.ver~
24805 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24813 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
24814 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
24817 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24818 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24823 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
24827 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
24828 *** create shared libraries on Solaris systems. Therefore, libtool
24829 *** is disabling shared libraries support. We urge you to upgrade GNU
24830 *** binutils to release 2.9.1 or newer. Another option is to modify
24831 *** your PATH or compiler configuration so that the native linker is
24832 *** used, and then restart.
24835 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24836 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24837 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24843 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
24844 case `$LD -v 2>&1` in
24845 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
24849 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
24850 *** reliably create shared libraries on SCO systems. Therefore, libtool
24851 *** is disabling shared libraries support. We urge you to upgrade GNU
24852 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
24853 *** your PATH or compiler configuration so that the native linker is
24854 *** used, and then restart.
24859 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24860 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
24861 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
24862 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
24871 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24873 hardcode_direct_GCJ
=yes
24874 hardcode_shlibpath_var_GCJ
=no
24878 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24879 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24880 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24887 if test "$ld_shlibs_GCJ" = no
; then
24889 hardcode_libdir_flag_spec_GCJ
=
24890 export_dynamic_flag_spec_GCJ
=
24891 whole_archive_flag_spec_GCJ
=
24894 # PORTME fill in a description of your system's linker (not GNU ld)
24897 allow_undefined_flag_GCJ
=unsupported
24898 always_export_symbols_GCJ
=yes
24899 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'
24900 # Note: this linker hardcodes the directories in LIBPATH if there
24901 # are no directories specified by -L.
24902 hardcode_minus_L_GCJ
=yes
24903 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
24904 # Neither direct hardcoding nor static linking is supported with a
24906 hardcode_direct_GCJ
=unsupported
24911 if test "$host_cpu" = ia64
; then
24912 # On IA64, the linker does run time linking by default, so we don't
24913 # have to do anything special.
24914 aix_use_runtimelinking
=no
24915 exp_sym_flag
='-Bexport'
24918 # If we're using GNU nm, then we don't want the "-C" option.
24919 # -C means demangle to AIX nm, but means don't demangle with GNU nm
24920 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
24921 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'
24923 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'
24925 aix_use_runtimelinking
=no
24927 # Test if we are trying to use run time linking or normal
24928 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
24929 # need to do runtime linking.
24930 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
24931 for ld_flag
in $LDFLAGS; do
24932 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
24933 aix_use_runtimelinking
=yes
24940 exp_sym_flag
='-bexport'
24941 no_entry_flag
='-bnoentry'
24944 # When large executables or shared objects are built, AIX ld can
24945 # have problems creating the table of contents. If linking a library
24946 # or program results in "error TOC overflow" add -mminimal-toc to
24947 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
24948 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
24950 archive_cmds_GCJ
=''
24951 hardcode_direct_GCJ
=yes
24952 hardcode_libdir_separator_GCJ
=':'
24953 link_all_deplibs_GCJ
=yes
24955 if test "$GCC" = yes; then
24956 case $host_os in aix4.
[012]|aix4.
[012].
*)
24957 # We only want to do this on AIX 4.2 and lower, the check
24958 # below for broken collect2 doesn't work under 4.3+
24959 collect2name
=`${CC} -print-prog-name=collect2`
24960 if test -f "$collect2name" && \
24961 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
24963 # We have reworked collect2
24964 hardcode_direct_GCJ
=yes
24966 # We have old collect2
24967 hardcode_direct_GCJ
=unsupported
24968 # It fails to find uninstalled libraries when the uninstalled
24969 # path is not listed in the libpath. Setting hardcode_minus_L
24970 # to unsupported forces relinking
24971 hardcode_minus_L_GCJ
=yes
24972 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24973 hardcode_libdir_separator_GCJ
=
24977 shared_flag
='-shared'
24978 if test "$aix_use_runtimelinking" = yes; then
24979 shared_flag
="$shared_flag "'${wl}-G'
24983 if test "$host_cpu" = ia64
; then
24984 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
24985 # chokes on -Wl,-G. The following line is correct:
24988 if test "$aix_use_runtimelinking" = yes; then
24989 shared_flag
='${wl}-G'
24991 shared_flag
='${wl}-bM:SRE'
24996 # It seems that -bexpall does not export symbols beginning with
24997 # underscore (_), so it is better to generate a list of symbols to export.
24998 always_export_symbols_GCJ
=yes
24999 if test "$aix_use_runtimelinking" = yes; then
25000 # Warning - without using the other runtime loading flags (-brtl),
25001 # -berok will link without error, but may produce a broken library.
25002 allow_undefined_flag_GCJ
='-berok'
25003 # Determine the default libpath from the value encoded in an empty executable.
25004 cat >conftest.
$ac_ext <<_ACEOF
25007 cat confdefs.h
>>conftest.
$ac_ext
25008 cat >>conftest.
$ac_ext <<_ACEOF
25009 /* end confdefs.h. */
25019 rm -f conftest.
$ac_objext conftest
$ac_exeext
25020 if { (ac_try
="$ac_link"
25021 case "(($ac_try" in
25022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25023 *) ac_try_echo=$ac_try;;
25025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25026 (eval "$ac_link") 2>conftest.er1
25028 grep -v '^ *+' conftest.er1 >conftest.err
25030 cat conftest.err >&5
25031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25032 (exit $ac_status); } &&
25033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25034 { (case "(($ac_try" in
25035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25036 *) ac_try_echo
=$ac_try;;
25038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25039 (eval "$ac_try") 2>&5
25041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25042 (exit $ac_status); }; } &&
25043 { ac_try
='test -s conftest$ac_exeext'
25044 { (case "(($ac_try" in
25045 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25046 *) ac_try_echo=$ac_try;;
25048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25049 (eval "$ac_try") 2>&5
25051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25052 (exit $ac_status); }; }; then
25054 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
25056 # Check for a 64-bit object if we didn't find anything.
25057 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; }
25060 echo "$as_me: failed program was:" >&5
25061 sed 's/^/| /' conftest.$ac_ext >&5
25066 rm -f core conftest.err conftest.$ac_objext \
25067 conftest$ac_exeext conftest.$ac_ext
25068 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
25070 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
25071 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"
25073 if test "$host_cpu" = ia64; then
25074 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
25075 allow_undefined_flag_GCJ="-z nodefs"
25076 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"
25078 # Determine the default libpath from the value encoded in an empty executable.
25079 cat >conftest.$ac_ext <<_ACEOF
25082 cat confdefs.h >>conftest.$ac_ext
25083 cat >>conftest.$ac_ext <<_ACEOF
25084 /* end confdefs.h. */
25094 rm -f conftest.$ac_objext conftest$ac_exeext
25095 if { (ac_try="$ac_link"
25096 case "(($ac_try" in
25097 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25098 *) ac_try_echo
=$ac_try;;
25100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25101 (eval "$ac_link") 2>conftest.er1
25103 grep -v '^ *+' conftest.er1
>conftest.err
25105 cat conftest.err
>&5
25106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25107 (exit $ac_status); } &&
25108 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25109 { (case "(($ac_try" in
25110 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25111 *) ac_try_echo=$ac_try;;
25113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25114 (eval "$ac_try") 2>&5
25116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25117 (exit $ac_status); }; } &&
25118 { ac_try='test -s conftest$ac_exeext'
25119 { (case "(($ac_try" in
25120 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25121 *) ac_try_echo
=$ac_try;;
25123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25124 (eval "$ac_try") 2>&5
25126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25127 (exit $ac_status); }; }; then
25129 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
25131 # Check for a 64-bit object if we didn't find anything.
25132 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; }
25135 echo "$as_me: failed program was:" >&5
25136 sed 's/^/| /' conftest.
$ac_ext >&5
25141 rm -f core conftest.err conftest.
$ac_objext \
25142 conftest
$ac_exeext conftest.
$ac_ext
25143 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
25145 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
25146 # Warning - without using the other run time loading flags,
25147 # -berok will link without error, but may produce a broken library.
25148 no_undefined_flag_GCJ
=' ${wl}-bernotok'
25149 allow_undefined_flag_GCJ
=' ${wl}-berok'
25150 # Exported symbols can be pulled into shared objects from archives
25151 whole_archive_flag_spec_GCJ
='$convenience'
25152 archive_cmds_need_lc_GCJ
=yes
25153 # This is similar to how AIX traditionally builds its shared libraries.
25154 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'
25160 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)'
25161 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
25162 hardcode_minus_L_GCJ
=yes
25163 # see comment about different semantics on the GNU ld section
25168 export_dynamic_flag_spec_GCJ
=-rdynamic
25171 cygwin
* | mingw
* | pw32
*)
25172 # When not using gcc, we currently assume that we are using
25173 # Microsoft Visual C++.
25174 # hardcode_libdir_flag_spec is actually meaningless, as there is
25175 # no search path for DLLs.
25176 hardcode_libdir_flag_spec_GCJ
=' '
25177 allow_undefined_flag_GCJ
=unsupported
25178 # Tell ltmain to make .lib files, not .a files.
25180 # Tell ltmain to make .dll files, not .so files.
25182 # FIXME: Setting linknames here is a bad hack.
25183 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
25184 # The linker will automatically build a .lib file if we build a DLL.
25185 old_archive_From_new_cmds_GCJ
='true'
25186 # FIXME: Should let the user specify the lib program.
25187 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
25188 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
25189 enable_shared_with_static_runtimes_GCJ
=yes
25192 darwin
* | rhapsody
*)
25194 rhapsody
* | darwin1.
[012])
25195 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
25198 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
25199 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
25201 case ${MACOSX_DEPLOYMENT_TARGET} in
25203 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
25206 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
25212 archive_cmds_need_lc_GCJ
=no
25213 hardcode_direct_GCJ
=no
25214 hardcode_automatic_GCJ
=yes
25215 hardcode_shlibpath_var_GCJ
=unsupported
25216 whole_archive_flag_spec_GCJ
=''
25217 link_all_deplibs_GCJ
=yes
25218 if test "$GCC" = yes ; then
25219 output_verbose_link_cmd
='echo'
25220 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
25221 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
25222 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
25223 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}'
25224 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}'
25226 case $cc_basename in
25228 output_verbose_link_cmd
='echo'
25229 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
25230 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
25231 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
25232 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}'
25233 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}'
25243 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25244 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
25245 hardcode_shlibpath_var_GCJ
=no
25252 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
25253 # support. Future versions do this automatically, but an explicit c++rt0.o
25254 # does not break anything, and helps significantly (at the cost of a little
25257 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
25258 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
25259 hardcode_direct_GCJ
=yes
25260 hardcode_shlibpath_var_GCJ
=no
25263 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
25265 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25266 hardcode_direct_GCJ
=yes
25267 hardcode_minus_L_GCJ
=yes
25268 hardcode_shlibpath_var_GCJ
=no
25271 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
25272 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
25273 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
25274 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
25275 hardcode_direct_GCJ
=yes
25276 hardcode_shlibpath_var_GCJ
=no
25280 if test "$GCC" = yes; then
25281 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'
25283 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'
25285 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
25286 hardcode_libdir_separator_GCJ
=:
25287 hardcode_direct_GCJ
=yes
25289 # hardcode_minus_L: Not really in the search PATH,
25290 # but as the default location of the library.
25291 hardcode_minus_L_GCJ
=yes
25292 export_dynamic_flag_spec_GCJ
='${wl}-E'
25296 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
25297 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25299 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
25301 if test "$with_gnu_ld" = no
; then
25302 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
25303 hardcode_libdir_separator_GCJ
=:
25305 hardcode_direct_GCJ
=yes
25306 export_dynamic_flag_spec_GCJ
='${wl}-E'
25308 # hardcode_minus_L: Not really in the search PATH,
25309 # but as the default location of the library.
25310 hardcode_minus_L_GCJ
=yes
25315 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
25318 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25321 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
25324 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25330 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25333 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
25336 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25340 if test "$with_gnu_ld" = no
; then
25341 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
25342 hardcode_libdir_separator_GCJ
=:
25346 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
25347 hardcode_direct_GCJ
=no
25348 hardcode_shlibpath_var_GCJ
=no
25351 hardcode_direct_GCJ
=yes
25352 export_dynamic_flag_spec_GCJ
='${wl}-E'
25354 # hardcode_minus_L: Not really in the search PATH,
25355 # but as the default location of the library.
25356 hardcode_minus_L_GCJ
=yes
25362 irix5
* | irix6
* | nonstopux
*)
25363 if test "$GCC" = yes; then
25364 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'
25366 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'
25367 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
25369 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
25370 hardcode_libdir_separator_GCJ
=:
25371 link_all_deplibs_GCJ
=yes
25375 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
25376 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
25378 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
25380 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
25381 hardcode_direct_GCJ
=yes
25382 hardcode_shlibpath_var_GCJ
=no
25386 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25387 hardcode_direct_GCJ
=yes
25388 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
25389 hardcode_libdir_separator_GCJ
=:
25390 hardcode_shlibpath_var_GCJ
=no
25394 hardcode_direct_GCJ
=yes
25395 hardcode_shlibpath_var_GCJ
=no
25396 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25397 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
25398 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
25399 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
25400 export_dynamic_flag_spec_GCJ
='${wl}-E'
25403 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
25404 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25405 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
25408 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
25409 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
25416 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
25417 hardcode_minus_L_GCJ
=yes
25418 allow_undefined_flag_GCJ
=unsupported
25419 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'
25420 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
25424 if test "$GCC" = yes; then
25425 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
25426 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'
25428 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
25429 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'
25431 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
25432 hardcode_libdir_separator_GCJ
=:
25435 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
25436 if test "$GCC" = yes; then
25437 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
25438 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'
25439 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
25441 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
25442 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'
25443 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~
25444 $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'
25446 # Both c and cxx compiler support -rpath directly
25447 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
25449 hardcode_libdir_separator_GCJ
=:
25453 no_undefined_flag_GCJ
=' -z text'
25454 if test "$GCC" = yes; then
25456 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25457 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25458 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
25461 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
25462 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25463 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
25465 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
25466 hardcode_shlibpath_var_GCJ
=no
25468 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
25470 # The compiler driver will combine linker options so we
25471 # cannot just pass the convience library names through
25472 # without $wl, iff we do not link with $LD.
25473 # Luckily, gcc supports the same syntax we need for Sun Studio.
25474 # Supported since Solaris 2.6 (maybe 2.5.1?)
25477 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
25479 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' ;;
25482 link_all_deplibs_GCJ
=yes
25486 if test "x$host_vendor" = xsequent
; then
25487 # Use $CC to link under sequent, because it throws in some extra .o
25488 # files that make .init and .fini sections work.
25489 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
25491 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
25493 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
25494 hardcode_direct_GCJ
=yes
25495 hardcode_minus_L_GCJ
=yes
25496 hardcode_shlibpath_var_GCJ
=no
25500 case $host_vendor in
25502 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25503 hardcode_direct_GCJ
=yes # is this really true???
25506 ## LD is ld it makes a PLAMLIB
25507 ## CC just makes a GrossModule.
25508 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
25509 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
25510 hardcode_direct_GCJ
=no
25513 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25514 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
25517 runpath_var
='LD_RUN_PATH'
25518 hardcode_shlibpath_var_GCJ
=no
25522 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25523 hardcode_shlibpath_var_GCJ
=no
25524 export_dynamic_flag_spec_GCJ
='-Bexport'
25528 if test -d /usr
/nec
; then
25529 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25530 hardcode_shlibpath_var_GCJ
=no
25531 runpath_var
=LD_RUN_PATH
25532 hardcode_runpath_var
=yes
25537 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
25538 no_undefined_flag_GCJ
='${wl}-z,text'
25539 archive_cmds_need_lc_GCJ
=no
25540 hardcode_shlibpath_var_GCJ
=no
25541 runpath_var
='LD_RUN_PATH'
25543 if test "$GCC" = yes; then
25544 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25545 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25547 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25548 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25552 sysv5
* | sco3.2v5
* | sco5v6
*)
25553 # Note: We can NOT use -z defs as we might desire, because we do not
25554 # link with -lc, and that would cause any symbols used from libc to
25555 # always be unresolved, which means just about no library would
25556 # ever link correctly. If we're not using GNU ld we use -z text
25557 # though, which does catch some bad symbols but isn't as heavy-handed
25559 no_undefined_flag_GCJ
='${wl}-z,text'
25560 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
25561 archive_cmds_need_lc_GCJ
=no
25562 hardcode_shlibpath_var_GCJ
=no
25563 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
25564 hardcode_libdir_separator_GCJ
=':'
25565 link_all_deplibs_GCJ
=yes
25566 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
25567 runpath_var
='LD_RUN_PATH'
25569 if test "$GCC" = yes; then
25570 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25571 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25573 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25574 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25579 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25580 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
25581 hardcode_shlibpath_var_GCJ
=no
25590 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
25591 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
25592 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
25595 # Do we need to explicitly link libc?
25597 case "x$archive_cmds_need_lc_GCJ" in
25599 # Assume -lc should be added
25600 archive_cmds_need_lc_GCJ
=yes
25602 if test "$enable_shared" = yes && test "$GCC" = yes; then
25603 case $archive_cmds_GCJ in
25605 # FIXME: we may have to deal with multi-command sequences.
25608 # Test whether the compiler implicitly links with -lc since on some
25609 # systems, -lgcc has to come before -lc. If gcc already passes -lc
25610 # to ld, don't add -lc before -lgcc.
25611 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
25612 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
25614 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
25616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25617 (eval $ac_compile) 2>&5
25619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25620 (exit $ac_status); } 2>conftest.err
; then
25623 libobjs
=conftest.
$ac_objext
25625 wl
=$lt_prog_compiler_wl_GCJ
25626 pic_flag
=$lt_prog_compiler_pic_GCJ
25632 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
25633 allow_undefined_flag_GCJ
=
25634 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
25635 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
25637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25638 (exit $ac_status); }
25640 archive_cmds_need_lc_GCJ
=no
25642 archive_cmds_need_lc_GCJ
=yes
25644 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
25646 cat conftest.err
1>&5
25649 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
25650 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
25657 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
25658 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
25659 library_names_spec
=
25660 libname_spec
='lib$name'
25664 postuninstall_cmds
=
25668 shlibpath_overrides_runpath
=unknown
25670 dynamic_linker
="$host_os ld.so"
25671 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
25672 if test "$GCC" = yes; then
25673 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25674 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
25675 # if the path contains ";" then we assume it to be the separator
25676 # otherwise default to the standard path separator (i.e. ":") - it is
25677 # assumed that no part of a normal pathname contains ";" but that should
25678 # okay in the real world where ";" in dirpaths is itself problematic.
25679 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25681 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25684 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
25686 need_lib_prefix
=unknown
25687 hardcode_into_libs
=no
25689 # when you set need_version to no, make sure it does not cause -set_version
25690 # flags to be left without arguments
25691 need_version
=unknown
25696 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
25697 shlibpath_var
=LIBPATH
25699 # AIX 3 has no versioning support, so we append a major version to the name.
25700 soname_spec
='${libname}${release}${shared_ext}$major'
25707 hardcode_into_libs
=yes
25708 if test "$host_cpu" = ia64
; then
25709 # AIX 5 supports IA64
25710 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25711 shlibpath_var
=LD_LIBRARY_PATH
25713 # With GCC up to 2.95.x, collect2 would create an import file
25714 # for dependence libraries. The import file would start with
25715 # the line `#! .'. This would cause the generated library to
25716 # depend on `.', always an invalid library. This was fixed in
25717 # development snapshots of GCC prior to 3.0.
25719 aix4 | aix4.
[01] | aix4.
[01].
*)
25720 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25722 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
25725 can_build_shared
=no
25729 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25730 # soname into executable. Probably we can add versioning support to
25731 # collect2, so additional links can be useful in future.
25732 if test "$aix_use_runtimelinking" = yes; then
25733 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
25734 # instead of lib<name>.a to let people know that these are not
25735 # typical AIX shared libraries.
25736 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25738 # We preserve .a as extension for shared libraries through AIX4.2
25739 # and later when we are not doing run time linking.
25740 library_names_spec
='${libname}${release}.a $libname.a'
25741 soname_spec
='${libname}${release}${shared_ext}$major'
25743 shlibpath_var
=LIBPATH
25748 library_names_spec
='$libname.ixlibrary $libname.a'
25749 # Create ${libname}_ixlibrary.a entries in /sys/libs.
25750 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'
25754 library_names_spec
='${libname}${shared_ext}'
25755 dynamic_linker
="$host_os ld.so"
25756 shlibpath_var
=LIBRARY_PATH
25762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25763 soname_spec
='${libname}${release}${shared_ext}$major'
25764 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
25765 shlibpath_var
=LD_LIBRARY_PATH
25766 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25767 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
25768 # the default ld.so.conf also contains /usr/contrib/lib and
25769 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
25770 # libtool to hard-code these into programs
25773 cygwin
* | mingw
* | pw32
*)
25774 version_type
=windows
25779 case $GCC,$host_os in
25780 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
25781 library_names_spec
='$libname.dll.a'
25782 # DLL is installed to $(libdir)/../bin by postinstall_cmds
25783 postinstall_cmds
='base_file=`basename \${file}`~
25784 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
25785 dldir=$destdir/`dirname \$dlpath`~
25786 test -d \$dldir || mkdir -p \$dldir~
25787 $install_prog $dir/$dlname \$dldir/$dlname~
25788 chmod a+x \$dldir/$dlname'
25789 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
25790 dlpath=$dir/\$dldll~
25792 shlibpath_overrides_runpath
=yes
25796 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
25797 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25798 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
25801 # MinGW DLLs use traditional 'lib' prefix
25802 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25803 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25804 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
25805 # It is most probably a Windows format PATH printed by
25806 # mingw gcc, but we are running on Cygwin. Gcc prints its search
25807 # path with ; separators, and with drive letters. We can handle the
25808 # drive letters (cygwin fileutils understands them), so leave them,
25809 # especially as we might pass files found there to a mingw objdump,
25810 # which wouldn't understand a cygwinified path. Ahh.
25811 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25813 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25817 # pw32 DLLs use 'pw' prefix rather than 'lib'
25818 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25824 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
25827 dynamic_linker
='Win32 ld.exe'
25828 # FIXME: first we should search . and the directory the executable is in
25832 darwin
* | rhapsody
*)
25833 dynamic_linker
="$host_os dyld"
25834 version_type
=darwin
25837 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
25838 soname_spec
='${libname}${release}${major}$shared_ext'
25839 shlibpath_overrides_runpath
=yes
25840 shlibpath_var
=DYLD_LIBRARY_PATH
25841 shrext_cmds
='.dylib'
25842 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
25843 if test "$GCC" = yes; then
25844 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"`
25846 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
25848 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
25855 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
25856 soname_spec
='${libname}${release}${shared_ext}$major'
25857 shlibpath_var
=LD_LIBRARY_PATH
25868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25869 soname_spec
='${libname}${release}${shared_ext}$major'
25870 shlibpath_var
=LD_LIBRARY_PATH
25871 shlibpath_overrides_runpath
=no
25872 hardcode_into_libs
=yes
25873 dynamic_linker
='GNU ld.so'
25876 freebsd
* | dragonfly
*)
25877 # DragonFly does not have aout. When/if they implement a new
25878 # versioning mechanism, adjust this.
25879 if test -x /usr
/bin
/objformat
; then
25880 objformat
=`/usr/bin/objformat`
25883 freebsd
[123]*) objformat
=aout
;;
25884 *) objformat
=elf
;;
25887 version_type
=freebsd-
$objformat
25888 case $version_type in
25890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25895 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
25899 shlibpath_var
=LD_LIBRARY_PATH
25902 shlibpath_overrides_runpath
=yes
25904 freebsd3.
[01]* | freebsdelf3.
[01]*)
25905 shlibpath_overrides_runpath
=yes
25906 hardcode_into_libs
=yes
25908 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
25909 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
25910 shlibpath_overrides_runpath
=no
25911 hardcode_into_libs
=yes
25913 freebsd
*) # from 4.6 on
25914 shlibpath_overrides_runpath
=yes
25915 hardcode_into_libs
=yes
25924 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
25925 soname_spec
='${libname}${release}${shared_ext}$major'
25926 shlibpath_var
=LD_LIBRARY_PATH
25927 hardcode_into_libs
=yes
25930 hpux9
* | hpux10
* | hpux11
*)
25931 # Give a soname corresponding to the major version so that dld.sl refuses to
25932 # link against other versions.
25939 hardcode_into_libs
=yes
25940 dynamic_linker
="$host_os dld.so"
25941 shlibpath_var
=LD_LIBRARY_PATH
25942 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
25943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25944 soname_spec
='${libname}${release}${shared_ext}$major'
25945 if test "X$HPUX_IA64_MODE" = X32
; then
25946 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
25948 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
25950 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
25954 hardcode_into_libs
=yes
25955 dynamic_linker
="$host_os dld.sl"
25956 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
25957 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
25958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25959 soname_spec
='${libname}${release}${shared_ext}$major'
25960 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
25961 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
25965 dynamic_linker
="$host_os dld.sl"
25966 shlibpath_var
=SHLIB_PATH
25967 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
25968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25969 soname_spec
='${libname}${release}${shared_ext}$major'
25972 # HP-UX runs *really* slowly unless shared libraries are mode 555.
25973 postinstall_cmds
='chmod 555 $lib'
25980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25981 soname_spec
='${libname}${release}${shared_ext}$major'
25982 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
25983 shlibpath_var
=LD_LIBRARY_PATH
25984 shlibpath_overrides_runpath
=no
25985 hardcode_into_libs
=yes
25988 irix5
* | irix6
* | nonstopux
*)
25990 nonstopux
*) version_type
=nonstopux
;;
25992 if test "$lt_cv_prog_gnu_ld" = yes; then
26000 soname_spec
='${libname}${release}${shared_ext}$major'
26001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
26003 irix5
* | nonstopux
*)
26004 libsuff
= shlibsuff
=
26007 case $LD in # libtool.m4 will add one of these switches to LD
26008 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
26009 libsuff
= shlibsuff
= libmagic
=32-bit;;
26010 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
26011 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
26012 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
26013 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
26014 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
26018 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
26019 shlibpath_overrides_runpath
=no
26020 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
26021 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
26022 hardcode_into_libs
=yes
26025 # No shared lib support for Linux oldld, aout, or coff.
26026 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
26030 # This must be Linux ELF.
26035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26036 soname_spec
='${libname}${release}${shared_ext}$major'
26037 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
26038 shlibpath_var
=LD_LIBRARY_PATH
26039 shlibpath_overrides_runpath
=no
26040 # This implies no fast_install, which is unacceptable.
26041 # Some rework will be needed to allow for fast_install
26042 # before this can be enabled.
26043 hardcode_into_libs
=yes
26045 # Append ld.so.conf contents to the search path
26046 if test -f /etc
/ld.so.conf
; then
26047 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' ' '`
26048 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
26051 # We used to test for /lib/ld.so.1 and disable shared libraries on
26052 # powerpc, because MkLinux only supported shared libraries with the
26053 # GNU dynamic linker. Since this was broken with cross compilers,
26054 # most powerpc-linux boxes support dynamic linking these days and
26055 # people can always --disable-shared, the test was removed, and we
26056 # assume the GNU/Linux dynamic linker is in use.
26057 dynamic_linker
='GNU/Linux ld.so'
26064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26065 soname_spec
='${libname}${release}${shared_ext}$major'
26066 shlibpath_var
=LD_LIBRARY_PATH
26067 shlibpath_overrides_runpath
=no
26068 hardcode_into_libs
=yes
26069 dynamic_linker
='GNU ld.so'
26076 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
26077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26078 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
26079 dynamic_linker
='NetBSD (a.out) ld.so'
26081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26082 soname_spec
='${libname}${release}${shared_ext}$major'
26083 dynamic_linker
='NetBSD ld.elf_so'
26085 shlibpath_var
=LD_LIBRARY_PATH
26086 shlibpath_overrides_runpath
=yes
26087 hardcode_into_libs
=yes
26092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26093 shlibpath_var
=LD_LIBRARY_PATH
26094 shlibpath_overrides_runpath
=yes
26101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26102 soname_spec
='${libname}${release}${shared_ext}$major'
26103 shlibpath_var
=LD_LIBRARY_PATH
26104 shlibpath_overrides_runpath
=yes
26109 sys_lib_dlsearch_path_spec
="/usr/lib"
26111 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
26113 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
26114 *) need_version
=no
;;
26116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26117 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
26118 shlibpath_var
=LD_LIBRARY_PATH
26119 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
26121 openbsd2.
[89] | openbsd2.
[89].
*)
26122 shlibpath_overrides_runpath
=no
26125 shlibpath_overrides_runpath
=yes
26129 shlibpath_overrides_runpath
=yes
26134 libname_spec
='$name'
26137 library_names_spec
='$libname${shared_ext} $libname.a'
26138 dynamic_linker
='OS/2 ld.exe'
26139 shlibpath_var
=LIBPATH
26142 osf3
* | osf4
* | osf5
*)
26146 soname_spec
='${libname}${release}${shared_ext}$major'
26147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26148 shlibpath_var
=LD_LIBRARY_PATH
26149 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
26150 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
26157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26158 soname_spec
='${libname}${release}${shared_ext}$major'
26159 shlibpath_var
=LD_LIBRARY_PATH
26160 shlibpath_overrides_runpath
=yes
26161 hardcode_into_libs
=yes
26162 # ldd complains unless libraries are executable
26163 postinstall_cmds
='chmod +x $lib'
26168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26169 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
26170 shlibpath_var
=LD_LIBRARY_PATH
26171 shlibpath_overrides_runpath
=yes
26172 if test "$with_gnu_ld" = yes; then
26180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26181 soname_spec
='${libname}${release}${shared_ext}$major'
26182 shlibpath_var
=LD_LIBRARY_PATH
26183 case $host_vendor in
26185 shlibpath_overrides_runpath
=no
26187 export_dynamic_flag_spec
='${wl}-Blargedynsym'
26188 runpath_var
=LD_RUN_PATH
26196 shlibpath_overrides_runpath
=no
26197 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
26203 if test -d /usr
/nec
;then
26205 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
26206 soname_spec
='$libname${shared_ext}.$major'
26207 shlibpath_var
=LD_LIBRARY_PATH
26211 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
26212 version_type
=freebsd-elf
26215 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
26216 soname_spec
='${libname}${release}${shared_ext}$major'
26217 shlibpath_var
=LD_LIBRARY_PATH
26218 hardcode_into_libs
=yes
26219 if test "$with_gnu_ld" = yes; then
26220 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
26221 shlibpath_overrides_runpath
=no
26223 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
26224 shlibpath_overrides_runpath
=yes
26227 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
26231 sys_lib_dlsearch_path_spec
='/usr/lib'
26236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26237 soname_spec
='${libname}${release}${shared_ext}$major'
26238 shlibpath_var
=LD_LIBRARY_PATH
26245 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
26246 echo "${ECHO_T}$dynamic_linker" >&6; }
26247 test "$dynamic_linker" = no
&& can_build_shared
=no
26249 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
26250 if test "$GCC" = yes; then
26251 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
26254 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
26255 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
26256 hardcode_action_GCJ
=
26257 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
26258 test -n "$runpath_var_GCJ" || \
26259 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
26261 # We can hardcode non-existant directories.
26262 if test "$hardcode_direct_GCJ" != no
&&
26263 # If the only mechanism to avoid hardcoding is shlibpath_var, we
26264 # have to relink, otherwise we might link with an installed library
26265 # when we should be linking with a yet-to-be-installed one
26266 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
26267 test "$hardcode_minus_L_GCJ" != no
; then
26268 # Linking always hardcodes the temporary library directory.
26269 hardcode_action_GCJ
=relink
26271 # We can link without hardcoding, and we can hardcode nonexisting dirs.
26272 hardcode_action_GCJ
=immediate
26275 # We cannot hardcode anything, or else we can only hardcode existing
26277 hardcode_action_GCJ
=unsupported
26279 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
26280 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
26282 if test "$hardcode_action_GCJ" = relink
; then
26283 # Fast installation is not supported
26284 enable_fast_install
=no
26285 elif test "$shlibpath_overrides_runpath" = yes ||
26286 test "$enable_shared" = no
; then
26287 # Fast installation is not necessary
26288 enable_fast_install
=needless
26292 # The else clause should only fire when bootstrapping the
26293 # libtool distribution, otherwise you forgot to ship ltmain.sh
26294 # with your package, and you will get complaints that there are
26295 # no rules to generate ltmain.sh.
26296 if test -f "$ltmain"; then
26297 # See if we are running on zsh, and set the options which allow our commands through
26298 # without removal of \ escapes.
26299 if test -n "${ZSH_VERSION+set}" ; then
26300 setopt NO_GLOB_SUBST
26302 # Now quote all the things that may contain metacharacters while being
26303 # careful not to overquote the AC_SUBSTed values. We take copies of the
26304 # variables and quote the copies for generation of the libtool script.
26305 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26307 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26308 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26309 deplibs_check_method reload_flag reload_cmds need_locks \
26310 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26311 lt_cv_sys_global_symbol_to_c_name_address \
26312 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26313 old_postinstall_cmds old_postuninstall_cmds \
26317 lt_prog_compiler_wl_GCJ \
26318 lt_prog_compiler_pic_GCJ \
26319 lt_prog_compiler_static_GCJ \
26320 lt_prog_compiler_no_builtin_flag_GCJ \
26321 export_dynamic_flag_spec_GCJ \
26322 thread_safe_flag_spec_GCJ \
26323 whole_archive_flag_spec_GCJ \
26324 enable_shared_with_static_runtimes_GCJ \
26325 old_archive_cmds_GCJ \
26326 old_archive_from_new_cmds_GCJ \
26327 predep_objects_GCJ \
26328 postdep_objects_GCJ \
26331 compiler_lib_search_path_GCJ \
26333 archive_expsym_cmds_GCJ \
26334 postinstall_cmds_GCJ \
26335 postuninstall_cmds_GCJ \
26336 old_archive_from_expsyms_cmds_GCJ \
26337 allow_undefined_flag_GCJ \
26338 no_undefined_flag_GCJ \
26339 export_symbols_cmds_GCJ \
26340 hardcode_libdir_flag_spec_GCJ \
26341 hardcode_libdir_flag_spec_ld_GCJ \
26342 hardcode_libdir_separator_GCJ \
26343 hardcode_automatic_GCJ \
26345 module_expsym_cmds_GCJ \
26346 lt_cv_prog_compiler_c_o_GCJ \
26347 exclude_expsyms_GCJ \
26348 include_expsyms_GCJ
; do
26351 old_archive_cmds_GCJ | \
26352 old_archive_from_new_cmds_GCJ | \
26353 archive_cmds_GCJ | \
26354 archive_expsym_cmds_GCJ | \
26355 module_cmds_GCJ | \
26356 module_expsym_cmds_GCJ | \
26357 old_archive_from_expsyms_cmds_GCJ | \
26358 export_symbols_cmds_GCJ | \
26359 extract_expsyms_cmds | reload_cmds | finish_cmds | \
26360 postinstall_cmds | postuninstall_cmds | \
26361 old_postinstall_cmds | old_postuninstall_cmds | \
26362 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
26363 # Double-quote double-evaled strings.
26364 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26367 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26373 *'\$0 --fallback-echo"')
26374 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26380 cat <<__EOF__ >> "$cfgfile"
26381 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
26383 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26385 # Shell to use when invoking shell scripts.
26388 # Whether or not to build shared libraries.
26389 build_libtool_libs=$enable_shared
26391 # Whether or not to build static libraries.
26392 build_old_libs=$enable_static
26394 # Whether or not to add -lc for building shared libraries.
26395 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
26397 # Whether or not to disallow shared libs when runtime libs are static
26398 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
26400 # Whether or not to optimize for fast installation.
26401 fast_install=$enable_fast_install
26404 host_alias=$host_alias
26408 # The build system.
26409 build_alias=$build_alias
26413 # An echo program that does not interpret backslashes.
26418 AR_FLAGS=$lt_AR_FLAGS
26423 # LTCC compiler flags.
26424 LTCFLAGS=$lt_LTCFLAGS
26426 # A language-specific compiler.
26427 CC=$lt_compiler_GCJ
26429 # Is the compiler the GNU C compiler?
26435 # The linker used to build libraries.
26438 # Whether we need hard or soft links.
26441 # A BSD-compatible nm program.
26444 # A symbol stripping program
26447 # Used to examine libraries when file_magic_cmd begins "file"
26448 MAGIC_CMD=$MAGIC_CMD
26450 # Used on cygwin: DLL creation program.
26453 # Used on cygwin: object dumper.
26456 # Used on cygwin: assembler.
26459 # The name of the directory that contains temporary libtool files.
26462 # How to create reloadable object files.
26463 reload_flag=$lt_reload_flag
26464 reload_cmds=$lt_reload_cmds
26466 # How to pass a linker flag through the compiler.
26467 wl=$lt_lt_prog_compiler_wl_GCJ
26469 # Object file suffix (normally "o").
26470 objext="$ac_objext"
26472 # Old archive suffix (normally "a").
26475 # Shared library suffix (normally ".so").
26476 shrext_cmds='$shrext_cmds'
26478 # Executable file suffix (normally "").
26481 # Additional compiler flags for building library objects.
26482 pic_flag=$lt_lt_prog_compiler_pic_GCJ
26485 # What is the maximum length of a command?
26486 max_cmd_len=$lt_cv_sys_max_cmd_len
26488 # Does compiler simultaneously support -c and -o options?
26489 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
26491 # Must we lock files when doing compilation?
26492 need_locks=$lt_need_locks
26494 # Do we need the lib prefix for modules?
26495 need_lib_prefix=$need_lib_prefix
26497 # Do we need a version for libraries?
26498 need_version=$need_version
26500 # Whether dlopen is supported.
26501 dlopen_support=$enable_dlopen
26503 # Whether dlopen of programs is supported.
26504 dlopen_self=$enable_dlopen_self
26506 # Whether dlopen of statically linked programs is supported.
26507 dlopen_self_static=$enable_dlopen_self_static
26509 # Compiler flag to prevent dynamic linking.
26510 link_static_flag=$lt_lt_prog_compiler_static_GCJ
26512 # Compiler flag to turn off builtin functions.
26513 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
26515 # Compiler flag to allow reflexive dlopens.
26516 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
26518 # Compiler flag to generate shared objects directly from archives.
26519 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
26521 # Compiler flag to generate thread-safe objects.
26522 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
26524 # Library versioning type.
26525 version_type=$version_type
26527 # Format of library name prefix.
26528 libname_spec=$lt_libname_spec
26530 # List of archive names. First name is the real one, the rest are links.
26531 # The last name is the one that the linker finds with -lNAME.
26532 library_names_spec=$lt_library_names_spec
26534 # The coded name of the library, if different from the real name.
26535 soname_spec=$lt_soname_spec
26537 # Commands used to build and install an old-style archive.
26539 old_archive_cmds=$lt_old_archive_cmds_GCJ
26540 old_postinstall_cmds=$lt_old_postinstall_cmds
26541 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26543 # Create an old-style archive from a shared archive.
26544 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
26546 # Create a temporary old-style archive to link instead of a shared archive.
26547 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
26549 # Commands used to build and install a shared archive.
26550 archive_cmds=$lt_archive_cmds_GCJ
26551 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
26552 postinstall_cmds=$lt_postinstall_cmds
26553 postuninstall_cmds=$lt_postuninstall_cmds
26555 # Commands used to build a loadable module (assumed same as above if empty)
26556 module_cmds=$lt_module_cmds_GCJ
26557 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
26559 # Commands to strip libraries.
26560 old_striplib=$lt_old_striplib
26561 striplib=$lt_striplib
26563 # Dependencies to place before the objects being linked to create a
26565 predep_objects=$lt_predep_objects_GCJ
26567 # Dependencies to place after the objects being linked to create a
26569 postdep_objects=$lt_postdep_objects_GCJ
26571 # Dependencies to place before the objects being linked to create a
26573 predeps=$lt_predeps_GCJ
26575 # Dependencies to place after the objects being linked to create a
26577 postdeps=$lt_postdeps_GCJ
26579 # The library search path used internally by the compiler when linking
26580 # a shared library.
26581 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
26583 # Method to check whether dependent libraries are shared objects.
26584 deplibs_check_method=$lt_deplibs_check_method
26586 # Command to use when deplibs_check_method == file_magic.
26587 file_magic_cmd=$lt_file_magic_cmd
26589 # Flag that allows shared libraries with undefined symbols to be built.
26590 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
26592 # Flag that forces no undefined symbols.
26593 no_undefined_flag=$lt_no_undefined_flag_GCJ
26595 # Commands used to finish a libtool library installation in a directory.
26596 finish_cmds=$lt_finish_cmds
26598 # Same as above, but a single script fragment to be evaled but not shown.
26599 finish_eval=$lt_finish_eval
26601 # Take the output of nm and produce a listing of raw symbols and C names.
26602 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26604 # Transform the output of nm in a proper C declaration
26605 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26607 # Transform the output of nm in a C name address pair
26608 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26610 # This is the shared library runtime path variable.
26611 runpath_var=$runpath_var
26613 # This is the shared library path variable.
26614 shlibpath_var=$shlibpath_var
26616 # Is shlibpath searched before the hard-coded library search path?
26617 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26619 # How to hardcode a shared library path into an executable.
26620 hardcode_action=$hardcode_action_GCJ
26622 # Whether we should hardcode library paths into libraries.
26623 hardcode_into_libs=$hardcode_into_libs
26625 # Flag to hardcode \$libdir into a binary during linking.
26626 # This must work even if \$libdir does not exist.
26627 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
26629 # If ld is used when linking, flag to hardcode \$libdir into
26630 # a binary during linking. This must work even if \$libdir does
26632 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
26634 # Whether we need a single -rpath flag with a separated argument.
26635 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
26637 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26638 # resulting binary.
26639 hardcode_direct=$hardcode_direct_GCJ
26641 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26642 # resulting binary.
26643 hardcode_minus_L=$hardcode_minus_L_GCJ
26645 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26646 # the resulting binary.
26647 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
26649 # Set to yes if building a shared library automatically hardcodes DIR into the library
26650 # and all subsequent libraries and executables linked against it.
26651 hardcode_automatic=$hardcode_automatic_GCJ
26653 # Variables whose values should be saved in libtool wrapper scripts and
26654 # restored at relink time.
26655 variables_saved_for_relink="$variables_saved_for_relink"
26657 # Whether libtool must link a program against all its dependency libraries.
26658 link_all_deplibs=$link_all_deplibs_GCJ
26660 # Compile-time system search path for libraries
26661 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26663 # Run-time system search path for libraries
26664 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26666 # Fix the shell variable \$srcfile for the compiler.
26667 fix_srcfile_path="$fix_srcfile_path_GCJ"
26669 # Set to yes if exported symbols are required.
26670 always_export_symbols=$always_export_symbols_GCJ
26672 # The commands to list exported symbols.
26673 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
26675 # The commands to extract the exported symbol list from a shared archive.
26676 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26678 # Symbols that should not be listed in the preloaded symbols.
26679 exclude_expsyms=$lt_exclude_expsyms_GCJ
26681 # Symbols that must always be exported.
26682 include_expsyms=$lt_include_expsyms_GCJ
26684 # ### END LIBTOOL TAG CONFIG: $tagname
26690 # If there is no Makefile yet, we rely on a make rule to execute
26691 # `config.status --recheck' to rerun these tests and create the
26692 # libtool script then.
26693 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26694 if test -f "$ltmain_in"; then
26695 test -f Makefile
&& make "$ltmain"
26701 ac_cpp
='$CPP $CPPFLAGS'
26702 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26703 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26704 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26715 ac_cpp
='$CPP $CPPFLAGS'
26716 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26717 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26718 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26721 # Source file extension for RC test sources.
26724 # Object file extension for compiled RC test sources.
26728 # Code to be used in simple compile tests
26729 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
26731 # Code to be used in simple link tests
26732 lt_simple_link_test_code
="$lt_simple_compile_test_code"
26734 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
26736 # If no C compiler was specified, use CC.
26739 # If no C compiler flags were specified, use CFLAGS.
26740 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
26742 # Allow CC to be a program name with arguments.
26746 # save warnings/boilerplate of simple test code
26747 ac_outfile
=conftest.
$ac_objext
26748 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
26749 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
26750 _lt_compiler_boilerplate
=`cat conftest.err`
26753 ac_outfile
=conftest.
$ac_objext
26754 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
26755 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
26756 _lt_linker_boilerplate
=`cat conftest.err`
26760 # Allow CC to be a program name with arguments.
26765 for cc_temp
in $compiler""; do
26767 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
26768 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
26773 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
26775 lt_cv_prog_compiler_c_o_RC
=yes
26777 # The else clause should only fire when bootstrapping the
26778 # libtool distribution, otherwise you forgot to ship ltmain.sh
26779 # with your package, and you will get complaints that there are
26780 # no rules to generate ltmain.sh.
26781 if test -f "$ltmain"; then
26782 # See if we are running on zsh, and set the options which allow our commands through
26783 # without removal of \ escapes.
26784 if test -n "${ZSH_VERSION+set}" ; then
26785 setopt NO_GLOB_SUBST
26787 # Now quote all the things that may contain metacharacters while being
26788 # careful not to overquote the AC_SUBSTed values. We take copies of the
26789 # variables and quote the copies for generation of the libtool script.
26790 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26792 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26793 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26794 deplibs_check_method reload_flag reload_cmds need_locks \
26795 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26796 lt_cv_sys_global_symbol_to_c_name_address \
26797 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26798 old_postinstall_cmds old_postuninstall_cmds \
26802 lt_prog_compiler_wl_RC \
26803 lt_prog_compiler_pic_RC \
26804 lt_prog_compiler_static_RC \
26805 lt_prog_compiler_no_builtin_flag_RC \
26806 export_dynamic_flag_spec_RC \
26807 thread_safe_flag_spec_RC \
26808 whole_archive_flag_spec_RC \
26809 enable_shared_with_static_runtimes_RC \
26810 old_archive_cmds_RC \
26811 old_archive_from_new_cmds_RC \
26812 predep_objects_RC \
26813 postdep_objects_RC \
26816 compiler_lib_search_path_RC \
26818 archive_expsym_cmds_RC \
26819 postinstall_cmds_RC \
26820 postuninstall_cmds_RC \
26821 old_archive_from_expsyms_cmds_RC \
26822 allow_undefined_flag_RC \
26823 no_undefined_flag_RC \
26824 export_symbols_cmds_RC \
26825 hardcode_libdir_flag_spec_RC \
26826 hardcode_libdir_flag_spec_ld_RC \
26827 hardcode_libdir_separator_RC \
26828 hardcode_automatic_RC \
26830 module_expsym_cmds_RC \
26831 lt_cv_prog_compiler_c_o_RC \
26832 exclude_expsyms_RC \
26833 include_expsyms_RC
; do
26836 old_archive_cmds_RC | \
26837 old_archive_from_new_cmds_RC | \
26838 archive_cmds_RC | \
26839 archive_expsym_cmds_RC | \
26841 module_expsym_cmds_RC | \
26842 old_archive_from_expsyms_cmds_RC | \
26843 export_symbols_cmds_RC | \
26844 extract_expsyms_cmds | reload_cmds | finish_cmds | \
26845 postinstall_cmds | postuninstall_cmds | \
26846 old_postinstall_cmds | old_postuninstall_cmds | \
26847 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
26848 # Double-quote double-evaled strings.
26849 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26852 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26858 *'\$0 --fallback-echo"')
26859 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26865 cat <<__EOF__ >> "$cfgfile"
26866 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
26868 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26870 # Shell to use when invoking shell scripts.
26873 # Whether or not to build shared libraries.
26874 build_libtool_libs=$enable_shared
26876 # Whether or not to build static libraries.
26877 build_old_libs=$enable_static
26879 # Whether or not to add -lc for building shared libraries.
26880 build_libtool_need_lc=$archive_cmds_need_lc_RC
26882 # Whether or not to disallow shared libs when runtime libs are static
26883 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
26885 # Whether or not to optimize for fast installation.
26886 fast_install=$enable_fast_install
26889 host_alias=$host_alias
26893 # The build system.
26894 build_alias=$build_alias
26898 # An echo program that does not interpret backslashes.
26903 AR_FLAGS=$lt_AR_FLAGS
26908 # LTCC compiler flags.
26909 LTCFLAGS=$lt_LTCFLAGS
26911 # A language-specific compiler.
26914 # Is the compiler the GNU C compiler?
26920 # The linker used to build libraries.
26923 # Whether we need hard or soft links.
26926 # A BSD-compatible nm program.
26929 # A symbol stripping program
26932 # Used to examine libraries when file_magic_cmd begins "file"
26933 MAGIC_CMD=$MAGIC_CMD
26935 # Used on cygwin: DLL creation program.
26938 # Used on cygwin: object dumper.
26941 # Used on cygwin: assembler.
26944 # The name of the directory that contains temporary libtool files.
26947 # How to create reloadable object files.
26948 reload_flag=$lt_reload_flag
26949 reload_cmds=$lt_reload_cmds
26951 # How to pass a linker flag through the compiler.
26952 wl=$lt_lt_prog_compiler_wl_RC
26954 # Object file suffix (normally "o").
26955 objext="$ac_objext"
26957 # Old archive suffix (normally "a").
26960 # Shared library suffix (normally ".so").
26961 shrext_cmds='$shrext_cmds'
26963 # Executable file suffix (normally "").
26966 # Additional compiler flags for building library objects.
26967 pic_flag=$lt_lt_prog_compiler_pic_RC
26970 # What is the maximum length of a command?
26971 max_cmd_len=$lt_cv_sys_max_cmd_len
26973 # Does compiler simultaneously support -c and -o options?
26974 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
26976 # Must we lock files when doing compilation?
26977 need_locks=$lt_need_locks
26979 # Do we need the lib prefix for modules?
26980 need_lib_prefix=$need_lib_prefix
26982 # Do we need a version for libraries?
26983 need_version=$need_version
26985 # Whether dlopen is supported.
26986 dlopen_support=$enable_dlopen
26988 # Whether dlopen of programs is supported.
26989 dlopen_self=$enable_dlopen_self
26991 # Whether dlopen of statically linked programs is supported.
26992 dlopen_self_static=$enable_dlopen_self_static
26994 # Compiler flag to prevent dynamic linking.
26995 link_static_flag=$lt_lt_prog_compiler_static_RC
26997 # Compiler flag to turn off builtin functions.
26998 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
27000 # Compiler flag to allow reflexive dlopens.
27001 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
27003 # Compiler flag to generate shared objects directly from archives.
27004 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
27006 # Compiler flag to generate thread-safe objects.
27007 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
27009 # Library versioning type.
27010 version_type=$version_type
27012 # Format of library name prefix.
27013 libname_spec=$lt_libname_spec
27015 # List of archive names. First name is the real one, the rest are links.
27016 # The last name is the one that the linker finds with -lNAME.
27017 library_names_spec=$lt_library_names_spec
27019 # The coded name of the library, if different from the real name.
27020 soname_spec=$lt_soname_spec
27022 # Commands used to build and install an old-style archive.
27024 old_archive_cmds=$lt_old_archive_cmds_RC
27025 old_postinstall_cmds=$lt_old_postinstall_cmds
27026 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27028 # Create an old-style archive from a shared archive.
27029 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
27031 # Create a temporary old-style archive to link instead of a shared archive.
27032 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
27034 # Commands used to build and install a shared archive.
27035 archive_cmds=$lt_archive_cmds_RC
27036 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
27037 postinstall_cmds=$lt_postinstall_cmds
27038 postuninstall_cmds=$lt_postuninstall_cmds
27040 # Commands used to build a loadable module (assumed same as above if empty)
27041 module_cmds=$lt_module_cmds_RC
27042 module_expsym_cmds=$lt_module_expsym_cmds_RC
27044 # Commands to strip libraries.
27045 old_striplib=$lt_old_striplib
27046 striplib=$lt_striplib
27048 # Dependencies to place before the objects being linked to create a
27050 predep_objects=$lt_predep_objects_RC
27052 # Dependencies to place after the objects being linked to create a
27054 postdep_objects=$lt_postdep_objects_RC
27056 # Dependencies to place before the objects being linked to create a
27058 predeps=$lt_predeps_RC
27060 # Dependencies to place after the objects being linked to create a
27062 postdeps=$lt_postdeps_RC
27064 # The library search path used internally by the compiler when linking
27065 # a shared library.
27066 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
27068 # Method to check whether dependent libraries are shared objects.
27069 deplibs_check_method=$lt_deplibs_check_method
27071 # Command to use when deplibs_check_method == file_magic.
27072 file_magic_cmd=$lt_file_magic_cmd
27074 # Flag that allows shared libraries with undefined symbols to be built.
27075 allow_undefined_flag=$lt_allow_undefined_flag_RC
27077 # Flag that forces no undefined symbols.
27078 no_undefined_flag=$lt_no_undefined_flag_RC
27080 # Commands used to finish a libtool library installation in a directory.
27081 finish_cmds=$lt_finish_cmds
27083 # Same as above, but a single script fragment to be evaled but not shown.
27084 finish_eval=$lt_finish_eval
27086 # Take the output of nm and produce a listing of raw symbols and C names.
27087 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27089 # Transform the output of nm in a proper C declaration
27090 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27092 # Transform the output of nm in a C name address pair
27093 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27095 # This is the shared library runtime path variable.
27096 runpath_var=$runpath_var
27098 # This is the shared library path variable.
27099 shlibpath_var=$shlibpath_var
27101 # Is shlibpath searched before the hard-coded library search path?
27102 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27104 # How to hardcode a shared library path into an executable.
27105 hardcode_action=$hardcode_action_RC
27107 # Whether we should hardcode library paths into libraries.
27108 hardcode_into_libs=$hardcode_into_libs
27110 # Flag to hardcode \$libdir into a binary during linking.
27111 # This must work even if \$libdir does not exist.
27112 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
27114 # If ld is used when linking, flag to hardcode \$libdir into
27115 # a binary during linking. This must work even if \$libdir does
27117 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
27119 # Whether we need a single -rpath flag with a separated argument.
27120 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
27122 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
27123 # resulting binary.
27124 hardcode_direct=$hardcode_direct_RC
27126 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
27127 # resulting binary.
27128 hardcode_minus_L=$hardcode_minus_L_RC
27130 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
27131 # the resulting binary.
27132 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
27134 # Set to yes if building a shared library automatically hardcodes DIR into the library
27135 # and all subsequent libraries and executables linked against it.
27136 hardcode_automatic=$hardcode_automatic_RC
27138 # Variables whose values should be saved in libtool wrapper scripts and
27139 # restored at relink time.
27140 variables_saved_for_relink="$variables_saved_for_relink"
27142 # Whether libtool must link a program against all its dependency libraries.
27143 link_all_deplibs=$link_all_deplibs_RC
27145 # Compile-time system search path for libraries
27146 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27148 # Run-time system search path for libraries
27149 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27151 # Fix the shell variable \$srcfile for the compiler.
27152 fix_srcfile_path="$fix_srcfile_path_RC"
27154 # Set to yes if exported symbols are required.
27155 always_export_symbols=$always_export_symbols_RC
27157 # The commands to list exported symbols.
27158 export_symbols_cmds=$lt_export_symbols_cmds_RC
27160 # The commands to extract the exported symbol list from a shared archive.
27161 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27163 # Symbols that should not be listed in the preloaded symbols.
27164 exclude_expsyms=$lt_exclude_expsyms_RC
27166 # Symbols that must always be exported.
27167 include_expsyms=$lt_include_expsyms_RC
27169 # ### END LIBTOOL TAG CONFIG: $tagname
27175 # If there is no Makefile yet, we rely on a make rule to execute
27176 # `config.status --recheck' to rerun these tests and create the
27177 # libtool script then.
27178 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
27179 if test -f "$ltmain_in"; then
27180 test -f Makefile
&& make "$ltmain"
27186 ac_cpp
='$CPP $CPPFLAGS'
27187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27196 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
27197 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
27198 { (exit 1); exit 1; }; }
27202 # Append the new tag name to the list of available tags.
27203 if test -n "$tagname" ; then
27204 available_tags
="$available_tags $tagname"
27210 # Now substitute the updated list of available tags.
27211 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
27212 mv "${ofile}T" "$ofile"
27216 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
27217 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
27218 { (exit 1); exit 1; }; }
27224 # This can be used to rebuild libtool when needed
27225 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
27227 # Always use our own libtool.
27228 LIBTOOL
='$(SHELL) $(top_builddir)/mklib'
27230 # Prevent multiple expansion
27252 if test "$lt_cv_dlopen_self" = "yes" ; then
27254 cat >>confdefs.h
<<\_ACEOF
27255 #define CAN_DLOPEN_SELF 1
27261 if test "$WITH_LLVMGCCDIR" = "default" ; then
27262 LLVMGCC
="llvm-gcc${EXEEXT}"
27263 LLVMGXX
="llvm-g++${EXEEXT}"
27264 LLVMGCCCOMMAND
="$LLVMGCC"
27265 LLVMGXXCOMMAND
="$LLVMGXX"
27266 LLVMGCCCOMMAND
=$LLVMGCCCOMMAND
27268 LLVMGXXCOMMAND
=$LLVMGXXCOMMAND
27270 # Extract the first word of "$LLVMGCC", so it can be a program name with args.
27271 set dummy
$LLVMGCC; ac_word
=$2
27272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27274 if test "${ac_cv_path_LLVMGCC+set}" = set; then
27275 echo $ECHO_N "(cached) $ECHO_C" >&6
27279 ac_cv_path_LLVMGCC
="$LLVMGCC" # Let the user override the test with a path.
27282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27283 for as_dir
in $PATH
27286 test -z "$as_dir" && as_dir
=.
27287 for ac_exec_ext
in '' $ac_executable_extensions; do
27288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
27289 ac_cv_path_LLVMGCC
="$as_dir/$ac_word$ac_exec_ext"
27290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27300 LLVMGCC
=$ac_cv_path_LLVMGCC
27301 if test -n "$LLVMGCC"; then
27302 { echo "$as_me:$LINENO: result: $LLVMGCC" >&5
27303 echo "${ECHO_T}$LLVMGCC" >&6; }
27305 { echo "$as_me:$LINENO: result: no" >&5
27306 echo "${ECHO_T}no" >&6; }
27310 # Extract the first word of "$LLVMGXX", so it can be a program name with args.
27311 set dummy
$LLVMGXX; ac_word
=$2
27312 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27314 if test "${ac_cv_path_LLVMGXX+set}" = set; then
27315 echo $ECHO_N "(cached) $ECHO_C" >&6
27319 ac_cv_path_LLVMGXX
="$LLVMGXX" # Let the user override the test with a path.
27322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27323 for as_dir
in $PATH
27326 test -z "$as_dir" && as_dir
=.
27327 for ac_exec_ext
in '' $ac_executable_extensions; do
27328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
27329 ac_cv_path_LLVMGXX
="$as_dir/$ac_word$ac_exec_ext"
27330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27340 LLVMGXX
=$ac_cv_path_LLVMGXX
27341 if test -n "$LLVMGXX"; then
27342 { echo "$as_me:$LINENO: result: $LLVMGXX" >&5
27343 echo "${ECHO_T}$LLVMGXX" >&6; }
27345 { echo "$as_me:$LINENO: result: no" >&5
27346 echo "${ECHO_T}no" >&6; }
27351 if test -z "$LLVMGCC"; then
27352 LLVMGCC
="$WITH_LLVMGCCDIR/bin/llvm-gcc${EXEEXT}"
27353 LLVMGCCCOMMAND
="$LLVMGCC"
27355 if test -z "$LLVMGXX"; then
27356 LLVMGXX
="$WITH_LLVMGCCDIR/bin/llvm-g++${EXEEXT}"
27357 LLVMGXXCOMMAND
="$LLVMGXX"
27364 LLVMGCCCOMMAND
=$LLVMGCCCOMMAND
27366 LLVMGXXCOMMAND
=$LLVMGXXCOMMAND
27371 { echo "$as_me:$LINENO: checking tool compatibility" >&5
27372 echo $ECHO_N "checking tool compatibility... $ECHO_C" >&6; }
27385 if test "$GCC" != "yes" && test "$ICC" != "yes"
27387 { { echo "$as_me:$LINENO: error: gcc|icc required but not found" >&5
27388 echo "$as_me: error: gcc|icc required but not found" >&2;}
27389 { (exit 1); exit 1; }; }
27392 if test "$GXX" != "yes" && test "$IXX" != "yes"
27394 { { echo "$as_me:$LINENO: error: g++|icc required but not found" >&5
27395 echo "$as_me: error: g++|icc required but not found" >&2;}
27396 { (exit 1); exit 1; }; }
27399 if test "$GCC" = "yes"
27401 cat >conftest.
$ac_ext <<_ACEOF
27402 #if !defined(__GNUC__) || __GNUC__ < 3
27403 #error Unsupported GCC version
27407 rm -f conftest.
$ac_objext
27408 if { (ac_try
="$ac_compile"
27409 case "(($ac_try" in
27410 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27411 *) ac_try_echo=$ac_try;;
27413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27414 (eval "$ac_compile") 2>conftest.er1
27416 grep -v '^ *+' conftest.er1 >conftest.err
27418 cat conftest.err >&5
27419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27420 (exit $ac_status); } &&
27421 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27422 { (case "(($ac_try" in
27423 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27424 *) ac_try_echo
=$ac_try;;
27426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27427 (eval "$ac_try") 2>&5
27429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27430 (exit $ac_status); }; } &&
27431 { ac_try
='test -s conftest.$ac_objext'
27432 { (case "(($ac_try" in
27433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27434 *) ac_try_echo=$ac_try;;
27436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27437 (eval "$ac_try") 2>&5
27439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27440 (exit $ac_status); }; }; then
27443 echo "$as_me: failed program was:" >&5
27444 sed 's/^/| /' conftest.$ac_ext >&5
27446 { { echo "$as_me:$LINENO: error: gcc 3.x required, but you have a lower version" >&5
27447 echo "$as_me: error: gcc 3.x required, but you have a lower version" >&2;}
27448 { (exit 1); exit 1; }; }
27451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27454 if test -z "$llvm_cv_gnu_make_command"
27456 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
27457 echo "$as_me: error: GNU Make required but not found" >&2;}
27458 { (exit 1); exit 1; }; }
27461 { echo "$as_me:$LINENO: result: ok" >&5
27462 echo "${ECHO_T}ok" >&6; }
27464 { echo "$as_me:$LINENO: checking optional compiler flags" >&5
27465 echo $ECHO_N "checking optional compiler flags... $ECHO_C" >&6; }
27466 NO_VARIADIC_MACROS=`$CXX -Wno-variadic-macros -fsyntax-only -xc /dev
/null
2>/dev
/null
&& echo -Wno-variadic-macros`
27468 NO_MISSING_FIELD_INITIALIZERS=`$CXX -Wno-missing-field-initializers -fsyntax-only -xc /dev
/null
2>/dev
/null
&& echo -Wno-missing-field-initializers`
27470 { echo "$as_me:$LINENO: result: $NO_VARIADIC_MACROS $NO_MISSING_FIELD_INITIALIZERS" >&5
27471 echo "${ECHO_T}$NO_VARIADIC_MACROS $NO_MISSING_FIELD_INITIALIZERS" >&6; }
27475 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
27476 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
27477 if test "${ac_cv_lib_m_sin+set}" = set; then
27478 echo $ECHO_N "(cached) $ECHO_C" >&6
27480 ac_check_lib_save_LIBS=$LIBS
27482 cat >conftest.$ac_ext <<_ACEOF
27485 cat confdefs.h >>conftest.$ac_ext
27486 cat >>conftest.$ac_ext <<_ACEOF
27487 /* end confdefs.h. */
27489 /* Override any GCC internal prototype to avoid an error.
27490 Use char because int might match the return type of a GCC
27491 builtin and then its argument prototype would still apply. */
27504 rm -f conftest.$ac_objext conftest$ac_exeext
27505 if { (ac_try="$ac_link"
27506 case "(($ac_try" in
27507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27508 *) ac_try_echo
=$ac_try;;
27510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27511 (eval "$ac_link") 2>conftest.er1
27513 grep -v '^ *+' conftest.er1
>conftest.err
27515 cat conftest.err
>&5
27516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27517 (exit $ac_status); } &&
27518 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27519 { (case "(($ac_try" in
27520 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27521 *) ac_try_echo=$ac_try;;
27523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27524 (eval "$ac_try") 2>&5
27526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27527 (exit $ac_status); }; } &&
27528 { ac_try='test -s conftest$ac_exeext'
27529 { (case "(($ac_try" in
27530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27531 *) ac_try_echo
=$ac_try;;
27533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27534 (eval "$ac_try") 2>&5
27536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27537 (exit $ac_status); }; }; then
27538 ac_cv_lib_m_sin
=yes
27540 echo "$as_me: failed program was:" >&5
27541 sed 's/^/| /' conftest.
$ac_ext >&5
27546 rm -f core conftest.err conftest.
$ac_objext \
27547 conftest
$ac_exeext conftest.
$ac_ext
27548 LIBS
=$ac_check_lib_save_LIBS
27550 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27551 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
27552 if test $ac_cv_lib_m_sin = yes; then
27553 cat >>confdefs.h
<<_ACEOF
27554 #define HAVE_LIBM 1
27561 if test "$llvm_cv_os_type" = "MingW" ; then
27563 { echo "$as_me:$LINENO: checking for main in -limagehlp" >&5
27564 echo $ECHO_N "checking for main in -limagehlp... $ECHO_C" >&6; }
27565 if test "${ac_cv_lib_imagehlp_main+set}" = set; then
27566 echo $ECHO_N "(cached) $ECHO_C" >&6
27568 ac_check_lib_save_LIBS
=$LIBS
27569 LIBS
="-limagehlp $LIBS"
27570 cat >conftest.
$ac_ext <<_ACEOF
27573 cat confdefs.h
>>conftest.
$ac_ext
27574 cat >>conftest.
$ac_ext <<_ACEOF
27575 /* end confdefs.h. */
27586 rm -f conftest.
$ac_objext conftest
$ac_exeext
27587 if { (ac_try
="$ac_link"
27588 case "(($ac_try" in
27589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27590 *) ac_try_echo=$ac_try;;
27592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27593 (eval "$ac_link") 2>conftest.er1
27595 grep -v '^ *+' conftest.er1 >conftest.err
27597 cat conftest.err >&5
27598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27599 (exit $ac_status); } &&
27600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27601 { (case "(($ac_try" in
27602 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27603 *) ac_try_echo
=$ac_try;;
27605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27606 (eval "$ac_try") 2>&5
27608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27609 (exit $ac_status); }; } &&
27610 { ac_try
='test -s conftest$ac_exeext'
27611 { (case "(($ac_try" in
27612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27613 *) ac_try_echo=$ac_try;;
27615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27616 (eval "$ac_try") 2>&5
27618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27619 (exit $ac_status); }; }; then
27620 ac_cv_lib_imagehlp_main=yes
27622 echo "$as_me: failed program was:" >&5
27623 sed 's/^/| /' conftest.$ac_ext >&5
27625 ac_cv_lib_imagehlp_main=no
27628 rm -f core conftest.err conftest.$ac_objext \
27629 conftest$ac_exeext conftest.$ac_ext
27630 LIBS=$ac_check_lib_save_LIBS
27632 { echo "$as_me:$LINENO: result: $ac_cv_lib_imagehlp_main" >&5
27633 echo "${ECHO_T}$ac_cv_lib_imagehlp_main" >&6; }
27634 if test $ac_cv_lib_imagehlp_main = yes; then
27635 cat >>confdefs.h <<_ACEOF
27636 #define HAVE_LIBIMAGEHLP 1
27639 LIBS="-limagehlp $LIBS"
27644 { echo "$as_me:$LINENO: checking for main in -lpsapi" >&5
27645 echo $ECHO_N "checking for main in -lpsapi... $ECHO_C" >&6; }
27646 if test "${ac_cv_lib_psapi_main+set}" = set; then
27647 echo $ECHO_N "(cached) $ECHO_C" >&6
27649 ac_check_lib_save_LIBS=$LIBS
27650 LIBS="-lpsapi $LIBS"
27651 cat >conftest.$ac_ext <<_ACEOF
27654 cat confdefs.h >>conftest.$ac_ext
27655 cat >>conftest.$ac_ext <<_ACEOF
27656 /* end confdefs.h. */
27667 rm -f conftest.$ac_objext conftest$ac_exeext
27668 if { (ac_try="$ac_link"
27669 case "(($ac_try" in
27670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27671 *) ac_try_echo
=$ac_try;;
27673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27674 (eval "$ac_link") 2>conftest.er1
27676 grep -v '^ *+' conftest.er1
>conftest.err
27678 cat conftest.err
>&5
27679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27680 (exit $ac_status); } &&
27681 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27682 { (case "(($ac_try" in
27683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27684 *) ac_try_echo=$ac_try;;
27686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27687 (eval "$ac_try") 2>&5
27689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27690 (exit $ac_status); }; } &&
27691 { ac_try='test -s conftest$ac_exeext'
27692 { (case "(($ac_try" in
27693 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27694 *) ac_try_echo
=$ac_try;;
27696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27697 (eval "$ac_try") 2>&5
27699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27700 (exit $ac_status); }; }; then
27701 ac_cv_lib_psapi_main
=yes
27703 echo "$as_me: failed program was:" >&5
27704 sed 's/^/| /' conftest.
$ac_ext >&5
27706 ac_cv_lib_psapi_main
=no
27709 rm -f core conftest.err conftest.
$ac_objext \
27710 conftest
$ac_exeext conftest.
$ac_ext
27711 LIBS
=$ac_check_lib_save_LIBS
27713 { echo "$as_me:$LINENO: result: $ac_cv_lib_psapi_main" >&5
27714 echo "${ECHO_T}$ac_cv_lib_psapi_main" >&6; }
27715 if test $ac_cv_lib_psapi_main = yes; then
27716 cat >>confdefs.h
<<_ACEOF
27717 #define HAVE_LIBPSAPI 1
27720 LIBS
="-lpsapi $LIBS"
27726 { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
27727 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
27728 if test "${ac_cv_search_dlopen+set}" = set; then
27729 echo $ECHO_N "(cached) $ECHO_C" >&6
27731 ac_func_search_save_LIBS
=$LIBS
27732 cat >conftest.
$ac_ext <<_ACEOF
27735 cat confdefs.h
>>conftest.
$ac_ext
27736 cat >>conftest.
$ac_ext <<_ACEOF
27737 /* end confdefs.h. */
27739 /* Override any GCC internal prototype to avoid an error.
27740 Use char because int might match the return type of a GCC
27741 builtin and then its argument prototype would still apply. */
27754 for ac_lib
in '' dl
; do
27755 if test -z "$ac_lib"; then
27756 ac_res
="none required"
27759 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
27761 rm -f conftest.
$ac_objext conftest
$ac_exeext
27762 if { (ac_try
="$ac_link"
27763 case "(($ac_try" in
27764 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27765 *) ac_try_echo=$ac_try;;
27767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27768 (eval "$ac_link") 2>conftest.er1
27770 grep -v '^ *+' conftest.er1 >conftest.err
27772 cat conftest.err >&5
27773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27774 (exit $ac_status); } &&
27775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27776 { (case "(($ac_try" in
27777 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27778 *) ac_try_echo
=$ac_try;;
27780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27781 (eval "$ac_try") 2>&5
27783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27784 (exit $ac_status); }; } &&
27785 { ac_try
='test -s conftest$ac_exeext'
27786 { (case "(($ac_try" in
27787 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27788 *) ac_try_echo=$ac_try;;
27790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27791 (eval "$ac_try") 2>&5
27793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27794 (exit $ac_status); }; }; then
27795 ac_cv_search_dlopen=$ac_res
27797 echo "$as_me: failed program was:" >&5
27798 sed 's/^/| /' conftest.$ac_ext >&5
27803 rm -f core conftest.err conftest.$ac_objext \
27805 if test "${ac_cv_search_dlopen+set}" = set; then
27809 if test "${ac_cv_search_dlopen+set}" = set; then
27812 ac_cv_search_dlopen=no
27814 rm conftest.$ac_ext
27815 LIBS=$ac_func_search_save_LIBS
27817 { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
27818 echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
27819 ac_res=$ac_cv_search_dlopen
27820 if test "$ac_res" != no; then
27821 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27823 cat >>confdefs.h <<\_ACEOF
27824 #define HAVE_DLOPEN 1
27828 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
27829 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
27833 if test "$llvm_cv_enable_libffi" = "yes" ; then
27834 { echo "$as_me:$LINENO: checking for library containing ffi_call" >&5
27835 echo $ECHO_N "checking for library containing ffi_call... $ECHO_C" >&6; }
27836 if test "${ac_cv_search_ffi_call+set}" = set; then
27837 echo $ECHO_N "(cached) $ECHO_C" >&6
27839 ac_func_search_save_LIBS=$LIBS
27840 cat >conftest.$ac_ext <<_ACEOF
27843 cat confdefs.h >>conftest.$ac_ext
27844 cat >>conftest.$ac_ext <<_ACEOF
27845 /* end confdefs.h. */
27847 /* Override any GCC internal prototype to avoid an error.
27848 Use char because int might match the return type of a GCC
27849 builtin and then its argument prototype would still apply. */
27857 return ffi_call ();
27862 for ac_lib in '' ffi; do
27863 if test -z "$ac_lib"; then
27864 ac_res="none required"
27867 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27869 rm -f conftest.$ac_objext conftest$ac_exeext
27870 if { (ac_try="$ac_link"
27871 case "(($ac_try" in
27872 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27873 *) ac_try_echo
=$ac_try;;
27875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27876 (eval "$ac_link") 2>conftest.er1
27878 grep -v '^ *+' conftest.er1
>conftest.err
27880 cat conftest.err
>&5
27881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27882 (exit $ac_status); } &&
27883 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27884 { (case "(($ac_try" in
27885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27886 *) ac_try_echo=$ac_try;;
27888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27889 (eval "$ac_try") 2>&5
27891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27892 (exit $ac_status); }; } &&
27893 { ac_try='test -s conftest$ac_exeext'
27894 { (case "(($ac_try" in
27895 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27896 *) ac_try_echo
=$ac_try;;
27898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27899 (eval "$ac_try") 2>&5
27901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27902 (exit $ac_status); }; }; then
27903 ac_cv_search_ffi_call
=$ac_res
27905 echo "$as_me: failed program was:" >&5
27906 sed 's/^/| /' conftest.
$ac_ext >&5
27911 rm -f core conftest.err conftest.
$ac_objext \
27913 if test "${ac_cv_search_ffi_call+set}" = set; then
27917 if test "${ac_cv_search_ffi_call+set}" = set; then
27920 ac_cv_search_ffi_call
=no
27922 rm conftest.
$ac_ext
27923 LIBS
=$ac_func_search_save_LIBS
27925 { echo "$as_me:$LINENO: result: $ac_cv_search_ffi_call" >&5
27926 echo "${ECHO_T}$ac_cv_search_ffi_call" >&6; }
27927 ac_res
=$ac_cv_search_ffi_call
27928 if test "$ac_res" != no
; then
27929 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27931 cat >>confdefs.h
<<\_ACEOF
27932 #define HAVE_FFI_CALL 1
27936 { echo "$as_me:$LINENO: WARNING: libffi not found - disabling external calls from interpreter" >&5
27937 echo "$as_me: WARNING: libffi not found - disabling external calls from interpreter" >&2;}
27942 { echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
27943 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6; }
27944 if test "${ac_cv_search_mallinfo+set}" = set; then
27945 echo $ECHO_N "(cached) $ECHO_C" >&6
27947 ac_func_search_save_LIBS
=$LIBS
27948 cat >conftest.
$ac_ext <<_ACEOF
27951 cat confdefs.h
>>conftest.
$ac_ext
27952 cat >>conftest.
$ac_ext <<_ACEOF
27953 /* end confdefs.h. */
27955 /* Override any GCC internal prototype to avoid an error.
27956 Use char because int might match the return type of a GCC
27957 builtin and then its argument prototype would still apply. */
27965 return mallinfo ();
27970 for ac_lib
in '' malloc
; do
27971 if test -z "$ac_lib"; then
27972 ac_res
="none required"
27975 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
27977 rm -f conftest.
$ac_objext conftest
$ac_exeext
27978 if { (ac_try
="$ac_link"
27979 case "(($ac_try" in
27980 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27981 *) ac_try_echo=$ac_try;;
27983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27984 (eval "$ac_link") 2>conftest.er1
27986 grep -v '^ *+' conftest.er1 >conftest.err
27988 cat conftest.err >&5
27989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27990 (exit $ac_status); } &&
27991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27992 { (case "(($ac_try" in
27993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27994 *) ac_try_echo
=$ac_try;;
27996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27997 (eval "$ac_try") 2>&5
27999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28000 (exit $ac_status); }; } &&
28001 { ac_try
='test -s conftest$ac_exeext'
28002 { (case "(($ac_try" in
28003 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28004 *) ac_try_echo=$ac_try;;
28006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28007 (eval "$ac_try") 2>&5
28009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28010 (exit $ac_status); }; }; then
28011 ac_cv_search_mallinfo=$ac_res
28013 echo "$as_me: failed program was:" >&5
28014 sed 's/^/| /' conftest.$ac_ext >&5
28019 rm -f core conftest.err conftest.$ac_objext \
28021 if test "${ac_cv_search_mallinfo+set}" = set; then
28025 if test "${ac_cv_search_mallinfo+set}" = set; then
28028 ac_cv_search_mallinfo=no
28030 rm conftest.$ac_ext
28031 LIBS=$ac_func_search_save_LIBS
28033 { echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
28034 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6; }
28035 ac_res=$ac_cv_search_mallinfo
28036 if test "$ac_res" != no; then
28037 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
28039 cat >>confdefs.h <<\_ACEOF
28040 #define HAVE_MALLINFO 1
28046 if test "$ENABLE_THREADS" -eq 1 ; then
28048 { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
28049 echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
28050 if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
28051 echo $ECHO_N "(cached) $ECHO_C" >&6
28053 ac_check_lib_save_LIBS=$LIBS
28054 LIBS="-lpthread $LIBS"
28055 cat >conftest.$ac_ext <<_ACEOF
28058 cat confdefs.h >>conftest.$ac_ext
28059 cat >>conftest.$ac_ext <<_ACEOF
28060 /* end confdefs.h. */
28062 /* Override any GCC internal prototype to avoid an error.
28063 Use char because int might match the return type of a GCC
28064 builtin and then its argument prototype would still apply. */
28068 char pthread_mutex_init ();
28072 return pthread_mutex_init ();
28077 rm -f conftest.$ac_objext conftest$ac_exeext
28078 if { (ac_try="$ac_link"
28079 case "(($ac_try" in
28080 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28081 *) ac_try_echo
=$ac_try;;
28083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28084 (eval "$ac_link") 2>conftest.er1
28086 grep -v '^ *+' conftest.er1
>conftest.err
28088 cat conftest.err
>&5
28089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28090 (exit $ac_status); } &&
28091 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28092 { (case "(($ac_try" in
28093 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28094 *) ac_try_echo=$ac_try;;
28096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28097 (eval "$ac_try") 2>&5
28099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28100 (exit $ac_status); }; } &&
28101 { ac_try='test -s conftest$ac_exeext'
28102 { (case "(($ac_try" in
28103 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28104 *) ac_try_echo
=$ac_try;;
28106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28107 (eval "$ac_try") 2>&5
28109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28110 (exit $ac_status); }; }; then
28111 ac_cv_lib_pthread_pthread_mutex_init
=yes
28113 echo "$as_me: failed program was:" >&5
28114 sed 's/^/| /' conftest.
$ac_ext >&5
28116 ac_cv_lib_pthread_pthread_mutex_init
=no
28119 rm -f core conftest.err conftest.
$ac_objext \
28120 conftest
$ac_exeext conftest.
$ac_ext
28121 LIBS
=$ac_check_lib_save_LIBS
28123 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
28124 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
28125 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
28126 cat >>confdefs.h
<<_ACEOF
28127 #define HAVE_LIBPTHREAD 1
28130 LIBS
="-lpthread $LIBS"
28134 { echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
28135 echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6; }
28136 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
28137 echo $ECHO_N "(cached) $ECHO_C" >&6
28139 ac_func_search_save_LIBS
=$LIBS
28140 cat >conftest.
$ac_ext <<_ACEOF
28143 cat confdefs.h
>>conftest.
$ac_ext
28144 cat >>conftest.
$ac_ext <<_ACEOF
28145 /* end confdefs.h. */
28147 /* Override any GCC internal prototype to avoid an error.
28148 Use char because int might match the return type of a GCC
28149 builtin and then its argument prototype would still apply. */
28153 char pthread_mutex_lock ();
28157 return pthread_mutex_lock ();
28162 for ac_lib
in '' pthread
; do
28163 if test -z "$ac_lib"; then
28164 ac_res
="none required"
28167 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
28169 rm -f conftest.
$ac_objext conftest
$ac_exeext
28170 if { (ac_try
="$ac_link"
28171 case "(($ac_try" in
28172 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28173 *) ac_try_echo=$ac_try;;
28175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28176 (eval "$ac_link") 2>conftest.er1
28178 grep -v '^ *+' conftest.er1 >conftest.err
28180 cat conftest.err >&5
28181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28182 (exit $ac_status); } &&
28183 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28184 { (case "(($ac_try" in
28185 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28186 *) ac_try_echo
=$ac_try;;
28188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28189 (eval "$ac_try") 2>&5
28191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28192 (exit $ac_status); }; } &&
28193 { ac_try
='test -s conftest$ac_exeext'
28194 { (case "(($ac_try" in
28195 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28196 *) ac_try_echo=$ac_try;;
28198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28199 (eval "$ac_try") 2>&5
28201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28202 (exit $ac_status); }; }; then
28203 ac_cv_search_pthread_mutex_lock=$ac_res
28205 echo "$as_me: failed program was:" >&5
28206 sed 's/^/| /' conftest.$ac_ext >&5
28211 rm -f core conftest.err conftest.$ac_objext \
28213 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
28217 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
28220 ac_cv_search_pthread_mutex_lock=no
28222 rm conftest.$ac_ext
28223 LIBS=$ac_func_search_save_LIBS
28225 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
28226 echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6; }
28227 ac_res=$ac_cv_search_pthread_mutex_lock
28228 if test "$ac_res" != no; then
28229 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
28231 cat >>confdefs.h <<\_ACEOF
28232 #define HAVE_PTHREAD_MUTEX_LOCK 1
28237 { echo "$as_me:$LINENO: checking for library containing pthread_rwlock_init" >&5
28238 echo $ECHO_N "checking for library containing pthread_rwlock_init... $ECHO_C" >&6; }
28239 if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
28240 echo $ECHO_N "(cached) $ECHO_C" >&6
28242 ac_func_search_save_LIBS=$LIBS
28243 cat >conftest.$ac_ext <<_ACEOF
28246 cat confdefs.h >>conftest.$ac_ext
28247 cat >>conftest.$ac_ext <<_ACEOF
28248 /* end confdefs.h. */
28250 /* Override any GCC internal prototype to avoid an error.
28251 Use char because int might match the return type of a GCC
28252 builtin and then its argument prototype would still apply. */
28256 char pthread_rwlock_init ();
28260 return pthread_rwlock_init ();
28265 for ac_lib in '' pthread; do
28266 if test -z "$ac_lib"; then
28267 ac_res="none required"
28270 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
28272 rm -f conftest.$ac_objext conftest$ac_exeext
28273 if { (ac_try="$ac_link"
28274 case "(($ac_try" in
28275 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28276 *) ac_try_echo
=$ac_try;;
28278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28279 (eval "$ac_link") 2>conftest.er1
28281 grep -v '^ *+' conftest.er1
>conftest.err
28283 cat conftest.err
>&5
28284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28285 (exit $ac_status); } &&
28286 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28287 { (case "(($ac_try" in
28288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28289 *) ac_try_echo=$ac_try;;
28291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28292 (eval "$ac_try") 2>&5
28294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28295 (exit $ac_status); }; } &&
28296 { ac_try='test -s conftest$ac_exeext'
28297 { (case "(($ac_try" in
28298 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28299 *) ac_try_echo
=$ac_try;;
28301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28302 (eval "$ac_try") 2>&5
28304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28305 (exit $ac_status); }; }; then
28306 ac_cv_search_pthread_rwlock_init
=$ac_res
28308 echo "$as_me: failed program was:" >&5
28309 sed 's/^/| /' conftest.
$ac_ext >&5
28314 rm -f core conftest.err conftest.
$ac_objext \
28316 if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
28320 if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
28323 ac_cv_search_pthread_rwlock_init
=no
28325 rm conftest.
$ac_ext
28326 LIBS
=$ac_func_search_save_LIBS
28328 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_rwlock_init" >&5
28329 echo "${ECHO_T}$ac_cv_search_pthread_rwlock_init" >&6; }
28330 ac_res
=$ac_cv_search_pthread_rwlock_init
28331 if test "$ac_res" != no
; then
28332 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
28334 cat >>confdefs.h
<<\_ACEOF
28335 #define HAVE_PTHREAD_RWLOCK_INIT 1
28340 { echo "$as_me:$LINENO: checking for library containing pthread_getspecific" >&5
28341 echo $ECHO_N "checking for library containing pthread_getspecific... $ECHO_C" >&6; }
28342 if test "${ac_cv_search_pthread_getspecific+set}" = set; then
28343 echo $ECHO_N "(cached) $ECHO_C" >&6
28345 ac_func_search_save_LIBS
=$LIBS
28346 cat >conftest.
$ac_ext <<_ACEOF
28349 cat confdefs.h
>>conftest.
$ac_ext
28350 cat >>conftest.
$ac_ext <<_ACEOF
28351 /* end confdefs.h. */
28353 /* Override any GCC internal prototype to avoid an error.
28354 Use char because int might match the return type of a GCC
28355 builtin and then its argument prototype would still apply. */
28359 char pthread_getspecific ();
28363 return pthread_getspecific ();
28368 for ac_lib
in '' pthread
; do
28369 if test -z "$ac_lib"; then
28370 ac_res
="none required"
28373 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
28375 rm -f conftest.
$ac_objext conftest
$ac_exeext
28376 if { (ac_try
="$ac_link"
28377 case "(($ac_try" in
28378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28379 *) ac_try_echo=$ac_try;;
28381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28382 (eval "$ac_link") 2>conftest.er1
28384 grep -v '^ *+' conftest.er1 >conftest.err
28386 cat conftest.err >&5
28387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28388 (exit $ac_status); } &&
28389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28390 { (case "(($ac_try" in
28391 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28392 *) ac_try_echo
=$ac_try;;
28394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28395 (eval "$ac_try") 2>&5
28397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28398 (exit $ac_status); }; } &&
28399 { ac_try
='test -s conftest$ac_exeext'
28400 { (case "(($ac_try" in
28401 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28402 *) ac_try_echo=$ac_try;;
28404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28405 (eval "$ac_try") 2>&5
28407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28408 (exit $ac_status); }; }; then
28409 ac_cv_search_pthread_getspecific=$ac_res
28411 echo "$as_me: failed program was:" >&5
28412 sed 's/^/| /' conftest.$ac_ext >&5
28417 rm -f core conftest.err conftest.$ac_objext \
28419 if test "${ac_cv_search_pthread_getspecific+set}" = set; then
28423 if test "${ac_cv_search_pthread_getspecific+set}" = set; then
28426 ac_cv_search_pthread_getspecific=no
28428 rm conftest.$ac_ext
28429 LIBS=$ac_func_search_save_LIBS
28431 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_getspecific" >&5
28432 echo "${ECHO_T}$ac_cv_search_pthread_getspecific" >&6; }
28433 ac_res=$ac_cv_search_pthread_getspecific
28434 if test "$ac_res" != no; then
28435 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
28437 cat >>confdefs.h <<\_ACEOF
28438 #define HAVE_PTHREAD_GETSPECIFIC 1
28446 # Check whether --with-udis86 was given.
28447 if test "${with_udis86+set}" = set; then
28448 withval=$with_udis86;
28453 *) LDFLAGS="$LDFLAGS -L${withval}" ;;
28456 { echo "$as_me:$LINENO: checking for ud_init in -ludis86" >&5
28457 echo $ECHO_N "checking for ud_init in -ludis86... $ECHO_C" >&6; }
28458 if test "${ac_cv_lib_udis86_ud_init+set}" = set; then
28459 echo $ECHO_N "(cached) $ECHO_C" >&6
28461 ac_check_lib_save_LIBS=$LIBS
28462 LIBS="-ludis86 $LIBS"
28463 cat >conftest.$ac_ext <<_ACEOF
28466 cat confdefs.h >>conftest.$ac_ext
28467 cat >>conftest.$ac_ext <<_ACEOF
28468 /* end confdefs.h. */
28470 /* Override any GCC internal prototype to avoid an error.
28471 Use char because int might match the return type of a GCC
28472 builtin and then its argument prototype would still apply. */
28485 rm -f conftest.$ac_objext conftest$ac_exeext
28486 if { (ac_try="$ac_link"
28487 case "(($ac_try" in
28488 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28489 *) ac_try_echo
=$ac_try;;
28491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28492 (eval "$ac_link") 2>conftest.er1
28494 grep -v '^ *+' conftest.er1
>conftest.err
28496 cat conftest.err
>&5
28497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28498 (exit $ac_status); } &&
28499 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28500 { (case "(($ac_try" in
28501 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28502 *) ac_try_echo=$ac_try;;
28504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28505 (eval "$ac_try") 2>&5
28507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28508 (exit $ac_status); }; } &&
28509 { ac_try='test -s conftest$ac_exeext'
28510 { (case "(($ac_try" in
28511 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28512 *) ac_try_echo
=$ac_try;;
28514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28515 (eval "$ac_try") 2>&5
28517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28518 (exit $ac_status); }; }; then
28519 ac_cv_lib_udis86_ud_init
=yes
28521 echo "$as_me: failed program was:" >&5
28522 sed 's/^/| /' conftest.
$ac_ext >&5
28524 ac_cv_lib_udis86_ud_init
=no
28527 rm -f core conftest.err conftest.
$ac_objext \
28528 conftest
$ac_exeext conftest.
$ac_ext
28529 LIBS
=$ac_check_lib_save_LIBS
28531 { echo "$as_me:$LINENO: result: $ac_cv_lib_udis86_ud_init" >&5
28532 echo "${ECHO_T}$ac_cv_lib_udis86_ud_init" >&6; }
28533 if test $ac_cv_lib_udis86_ud_init = yes; then
28534 cat >>confdefs.h
<<_ACEOF
28535 #define HAVE_LIBUDIS86 1
28538 LIBS
="-ludis86 $LIBS"
28542 echo "Error! You need to have libudis86 around."
28554 cat >>confdefs.h
<<_ACEOF
28555 #define USE_UDIS86 $USE_UDIS86
28560 # Check whether --with-oprofile was given.
28561 if test "${with_oprofile+set}" = set; then
28562 withval
=$with_oprofile;
28566 /usr|
yes) llvm_cv_oppath
=/usr
/lib
/oprofile
;;
28567 no
) llvm_cv_oppath
=
28570 *) llvm_cv_oppath
="${withval}/lib/oprofile"
28571 CPPFLAGS
="-I${withval}/include";;
28573 if test -n "$llvm_cv_oppath" ; then
28574 LIBS
="$LIBS -L${llvm_cv_oppath} -Wl,-rpath,${llvm_cv_oppath}"
28575 { echo "$as_me:$LINENO: checking for library containing bfd_init" >&5
28576 echo $ECHO_N "checking for library containing bfd_init... $ECHO_C" >&6; }
28577 if test "${ac_cv_search_bfd_init+set}" = set; then
28578 echo $ECHO_N "(cached) $ECHO_C" >&6
28580 ac_func_search_save_LIBS
=$LIBS
28581 cat >conftest.
$ac_ext <<_ACEOF
28584 cat confdefs.h
>>conftest.
$ac_ext
28585 cat >>conftest.
$ac_ext <<_ACEOF
28586 /* end confdefs.h. */
28588 /* Override any GCC internal prototype to avoid an error.
28589 Use char because int might match the return type of a GCC
28590 builtin and then its argument prototype would still apply. */
28598 return bfd_init ();
28603 for ac_lib
in '' bfd
; do
28604 if test -z "$ac_lib"; then
28605 ac_res
="none required"
28608 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
28610 rm -f conftest.
$ac_objext conftest
$ac_exeext
28611 if { (ac_try
="$ac_link"
28612 case "(($ac_try" in
28613 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28614 *) ac_try_echo=$ac_try;;
28616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28617 (eval "$ac_link") 2>conftest.er1
28619 grep -v '^ *+' conftest.er1 >conftest.err
28621 cat conftest.err >&5
28622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28623 (exit $ac_status); } &&
28624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28625 { (case "(($ac_try" in
28626 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28627 *) ac_try_echo
=$ac_try;;
28629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28630 (eval "$ac_try") 2>&5
28632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28633 (exit $ac_status); }; } &&
28634 { ac_try
='test -s conftest$ac_exeext'
28635 { (case "(($ac_try" in
28636 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28637 *) ac_try_echo=$ac_try;;
28639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28640 (eval "$ac_try") 2>&5
28642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28643 (exit $ac_status); }; }; then
28644 ac_cv_search_bfd_init=$ac_res
28646 echo "$as_me: failed program was:" >&5
28647 sed 's/^/| /' conftest.$ac_ext >&5
28652 rm -f core conftest.err conftest.$ac_objext \
28654 if test "${ac_cv_search_bfd_init+set}" = set; then
28658 if test "${ac_cv_search_bfd_init+set}" = set; then
28661 ac_cv_search_bfd_init=no
28663 rm conftest.$ac_ext
28664 LIBS=$ac_func_search_save_LIBS
28666 { echo "$as_me:$LINENO: result: $ac_cv_search_bfd_init" >&5
28667 echo "${ECHO_T}$ac_cv_search_bfd_init" >&6; }
28668 ac_res=$ac_cv_search_bfd_init
28669 if test "$ac_res" != no; then
28670 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
28674 { echo "$as_me:$LINENO: checking for library containing op_open_agent" >&5
28675 echo $ECHO_N "checking for library containing op_open_agent... $ECHO_C" >&6; }
28676 if test "${ac_cv_search_op_open_agent+set}" = set; then
28677 echo $ECHO_N "(cached) $ECHO_C" >&6
28679 ac_func_search_save_LIBS=$LIBS
28680 cat >conftest.$ac_ext <<_ACEOF
28683 cat confdefs.h >>conftest.$ac_ext
28684 cat >>conftest.$ac_ext <<_ACEOF
28685 /* end confdefs.h. */
28687 /* Override any GCC internal prototype to avoid an error.
28688 Use char because int might match the return type of a GCC
28689 builtin and then its argument prototype would still apply. */
28693 char op_open_agent ();
28697 return op_open_agent ();
28702 for ac_lib in '' opagent; do
28703 if test -z "$ac_lib"; then
28704 ac_res="none required"
28707 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
28709 rm -f conftest.$ac_objext conftest$ac_exeext
28710 if { (ac_try="$ac_link"
28711 case "(($ac_try" in
28712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28713 *) ac_try_echo
=$ac_try;;
28715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28716 (eval "$ac_link") 2>conftest.er1
28718 grep -v '^ *+' conftest.er1
>conftest.err
28720 cat conftest.err
>&5
28721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28722 (exit $ac_status); } &&
28723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28724 { (case "(($ac_try" in
28725 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28726 *) ac_try_echo=$ac_try;;
28728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28729 (eval "$ac_try") 2>&5
28731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28732 (exit $ac_status); }; } &&
28733 { ac_try='test -s conftest$ac_exeext'
28734 { (case "(($ac_try" in
28735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28736 *) ac_try_echo
=$ac_try;;
28738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28739 (eval "$ac_try") 2>&5
28741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28742 (exit $ac_status); }; }; then
28743 ac_cv_search_op_open_agent
=$ac_res
28745 echo "$as_me: failed program was:" >&5
28746 sed 's/^/| /' conftest.
$ac_ext >&5
28751 rm -f core conftest.err conftest.
$ac_objext \
28753 if test "${ac_cv_search_op_open_agent+set}" = set; then
28757 if test "${ac_cv_search_op_open_agent+set}" = set; then
28760 ac_cv_search_op_open_agent
=no
28762 rm conftest.
$ac_ext
28763 LIBS
=$ac_func_search_save_LIBS
28765 { echo "$as_me:$LINENO: result: $ac_cv_search_op_open_agent" >&5
28766 echo "${ECHO_T}$ac_cv_search_op_open_agent" >&6; }
28767 ac_res
=$ac_cv_search_op_open_agent
28768 if test "$ac_res" != no
; then
28769 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
28773 echo "Error! You need to have libopagent around."
28778 if test "${ac_cv_header_opagent_h+set}" = set; then
28779 { echo "$as_me:$LINENO: checking for opagent.h" >&5
28780 echo $ECHO_N "checking for opagent.h... $ECHO_C" >&6; }
28781 if test "${ac_cv_header_opagent_h+set}" = set; then
28782 echo $ECHO_N "(cached) $ECHO_C" >&6
28784 { echo "$as_me:$LINENO: result: $ac_cv_header_opagent_h" >&5
28785 echo "${ECHO_T}$ac_cv_header_opagent_h" >&6; }
28787 # Is the header compilable?
28788 { echo "$as_me:$LINENO: checking opagent.h usability" >&5
28789 echo $ECHO_N "checking opagent.h usability... $ECHO_C" >&6; }
28790 cat >conftest.
$ac_ext <<_ACEOF
28793 cat confdefs.h
>>conftest.
$ac_ext
28794 cat >>conftest.
$ac_ext <<_ACEOF
28795 /* end confdefs.h. */
28796 $ac_includes_default
28797 #include <opagent.h>
28799 rm -f conftest.
$ac_objext
28800 if { (ac_try
="$ac_compile"
28801 case "(($ac_try" in
28802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28803 *) ac_try_echo=$ac_try;;
28805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28806 (eval "$ac_compile") 2>conftest.er1
28808 grep -v '^ *+' conftest.er1 >conftest.err
28810 cat conftest.err >&5
28811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28812 (exit $ac_status); } &&
28813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28814 { (case "(($ac_try" in
28815 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28816 *) ac_try_echo
=$ac_try;;
28818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28819 (eval "$ac_try") 2>&5
28821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28822 (exit $ac_status); }; } &&
28823 { ac_try
='test -s conftest.$ac_objext'
28824 { (case "(($ac_try" in
28825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28826 *) ac_try_echo=$ac_try;;
28828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28829 (eval "$ac_try") 2>&5
28831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28832 (exit $ac_status); }; }; then
28833 ac_header_compiler=yes
28835 echo "$as_me: failed program was:" >&5
28836 sed 's/^/| /' conftest.$ac_ext >&5
28838 ac_header_compiler=no
28841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28842 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28843 echo "${ECHO_T}$ac_header_compiler" >&6; }
28845 # Is the header present?
28846 { echo "$as_me:$LINENO: checking opagent.h presence" >&5
28847 echo $ECHO_N "checking opagent.h presence... $ECHO_C" >&6; }
28848 cat >conftest.$ac_ext <<_ACEOF
28851 cat confdefs.h >>conftest.$ac_ext
28852 cat >>conftest.$ac_ext <<_ACEOF
28853 /* end confdefs.h. */
28854 #include <opagent.h>
28856 if { (ac_try="$ac_cpp conftest.$ac_ext"
28857 case "(($ac_try" in
28858 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28859 *) ac_try_echo
=$ac_try;;
28861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28862 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28864 grep -v '^ *+' conftest.er1
>conftest.err
28866 cat conftest.err
>&5
28867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28868 (exit $ac_status); } >/dev
/null
; then
28869 if test -s conftest.err
; then
28870 ac_cpp_err
=$ac_c_preproc_warn_flag
28871 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28878 if test -z "$ac_cpp_err"; then
28879 ac_header_preproc
=yes
28881 echo "$as_me: failed program was:" >&5
28882 sed 's/^/| /' conftest.
$ac_ext >&5
28884 ac_header_preproc
=no
28887 rm -f conftest.err conftest.
$ac_ext
28888 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28889 echo "${ECHO_T}$ac_header_preproc" >&6; }
28891 # So? What about this header?
28892 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28894 { echo "$as_me:$LINENO: WARNING: opagent.h: accepted by the compiler, rejected by the preprocessor!" >&5
28895 echo "$as_me: WARNING: opagent.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28896 { echo "$as_me:$LINENO: WARNING: opagent.h: proceeding with the compiler's result" >&5
28897 echo "$as_me: WARNING: opagent.h: proceeding with the compiler's result" >&2;}
28898 ac_header_preproc
=yes
28901 { echo "$as_me:$LINENO: WARNING: opagent.h: present but cannot be compiled" >&5
28902 echo "$as_me: WARNING: opagent.h: present but cannot be compiled" >&2;}
28903 { echo "$as_me:$LINENO: WARNING: opagent.h: check for missing prerequisite headers?" >&5
28904 echo "$as_me: WARNING: opagent.h: check for missing prerequisite headers?" >&2;}
28905 { echo "$as_me:$LINENO: WARNING: opagent.h: see the Autoconf documentation" >&5
28906 echo "$as_me: WARNING: opagent.h: see the Autoconf documentation" >&2;}
28907 { echo "$as_me:$LINENO: WARNING: opagent.h: section \"Present But Cannot Be Compiled\"" >&5
28908 echo "$as_me: WARNING: opagent.h: section \"Present But Cannot Be Compiled\"" >&2;}
28909 { echo "$as_me:$LINENO: WARNING: opagent.h: proceeding with the preprocessor's result" >&5
28910 echo "$as_me: WARNING: opagent.h: proceeding with the preprocessor's result" >&2;}
28911 { echo "$as_me:$LINENO: WARNING: opagent.h: in the future, the compiler will take precedence" >&5
28912 echo "$as_me: WARNING: opagent.h: in the future, the compiler will take precedence" >&2;}
28914 ## ----------------------------------- ##
28915 ## Report this to llvmbugs@cs.uiuc.edu ##
28916 ## ----------------------------------- ##
28918 ) |
sed "s/^/$as_me: WARNING: /" >&2
28921 { echo "$as_me:$LINENO: checking for opagent.h" >&5
28922 echo $ECHO_N "checking for opagent.h... $ECHO_C" >&6; }
28923 if test "${ac_cv_header_opagent_h+set}" = set; then
28924 echo $ECHO_N "(cached) $ECHO_C" >&6
28926 ac_cv_header_opagent_h
=$ac_header_preproc
28928 { echo "$as_me:$LINENO: result: $ac_cv_header_opagent_h" >&5
28929 echo "${ECHO_T}$ac_cv_header_opagent_h" >&6; }
28932 if test $ac_cv_header_opagent_h = yes; then
28936 echo "Error! You need to have opagent.h around."
28952 cat >>confdefs.h
<<_ACEOF
28953 #define USE_OPROFILE $USE_OPROFILE
28963 ac_header_dirent
=no
28964 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
28965 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
28966 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
28967 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
28968 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28969 echo $ECHO_N "(cached) $ECHO_C" >&6
28971 cat >conftest.
$ac_ext <<_ACEOF
28974 cat confdefs.h
>>conftest.
$ac_ext
28975 cat >>conftest.
$ac_ext <<_ACEOF
28976 /* end confdefs.h. */
28977 #include <sys/types.h>
28989 rm -f conftest.
$ac_objext
28990 if { (ac_try
="$ac_compile"
28991 case "(($ac_try" in
28992 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28993 *) ac_try_echo=$ac_try;;
28995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28996 (eval "$ac_compile") 2>conftest.er1
28998 grep -v '^ *+' conftest.er1 >conftest.err
29000 cat conftest.err >&5
29001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29002 (exit $ac_status); } &&
29003 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29004 { (case "(($ac_try" in
29005 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29006 *) ac_try_echo
=$ac_try;;
29008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29009 (eval "$ac_try") 2>&5
29011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29012 (exit $ac_status); }; } &&
29013 { ac_try
='test -s conftest.$ac_objext'
29014 { (case "(($ac_try" in
29015 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29016 *) ac_try_echo=$ac_try;;
29018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29019 (eval "$ac_try") 2>&5
29021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29022 (exit $ac_status); }; }; then
29023 eval "$as_ac_Header=yes"
29025 echo "$as_me: failed program was:" >&5
29026 sed 's/^/| /' conftest.$ac_ext >&5
29028 eval "$as_ac_Header=no"
29031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29033 ac_res=`eval echo '${'$as_ac_Header'}'`
29034 { echo "$as_me:$LINENO: result: $ac_res" >&5
29035 echo "${ECHO_T}$ac_res" >&6; }
29036 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29037 cat >>confdefs.h <<_ACEOF
29038 #define `echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
29041 ac_header_dirent=$ac_hdr; break
29045 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
29046 if test $ac_header_dirent = dirent.h; then
29047 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
29048 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
29049 if test "${ac_cv_search_opendir+set}" = set; then
29050 echo $ECHO_N "(cached) $ECHO_C" >&6
29052 ac_func_search_save_LIBS=$LIBS
29053 cat >conftest.$ac_ext <<_ACEOF
29056 cat confdefs.h >>conftest.$ac_ext
29057 cat >>conftest.$ac_ext <<_ACEOF
29058 /* end confdefs.h. */
29060 /* Override any GCC internal prototype to avoid an error.
29061 Use char because int might match the return type of a GCC
29062 builtin and then its argument prototype would still apply. */
29075 for ac_lib in '' dir; do
29076 if test -z "$ac_lib"; then
29077 ac_res="none required"
29080 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
29082 rm -f conftest.$ac_objext conftest$ac_exeext
29083 if { (ac_try="$ac_link"
29084 case "(($ac_try" in
29085 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29086 *) ac_try_echo
=$ac_try;;
29088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29089 (eval "$ac_link") 2>conftest.er1
29091 grep -v '^ *+' conftest.er1
>conftest.err
29093 cat conftest.err
>&5
29094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29095 (exit $ac_status); } &&
29096 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29097 { (case "(($ac_try" in
29098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29099 *) ac_try_echo=$ac_try;;
29101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29102 (eval "$ac_try") 2>&5
29104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29105 (exit $ac_status); }; } &&
29106 { ac_try='test -s conftest$ac_exeext'
29107 { (case "(($ac_try" in
29108 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29109 *) ac_try_echo
=$ac_try;;
29111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29112 (eval "$ac_try") 2>&5
29114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29115 (exit $ac_status); }; }; then
29116 ac_cv_search_opendir
=$ac_res
29118 echo "$as_me: failed program was:" >&5
29119 sed 's/^/| /' conftest.
$ac_ext >&5
29124 rm -f core conftest.err conftest.
$ac_objext \
29126 if test "${ac_cv_search_opendir+set}" = set; then
29130 if test "${ac_cv_search_opendir+set}" = set; then
29133 ac_cv_search_opendir
=no
29135 rm conftest.
$ac_ext
29136 LIBS
=$ac_func_search_save_LIBS
29138 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
29139 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
29140 ac_res
=$ac_cv_search_opendir
29141 if test "$ac_res" != no
; then
29142 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
29147 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
29148 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
29149 if test "${ac_cv_search_opendir+set}" = set; then
29150 echo $ECHO_N "(cached) $ECHO_C" >&6
29152 ac_func_search_save_LIBS
=$LIBS
29153 cat >conftest.
$ac_ext <<_ACEOF
29156 cat confdefs.h
>>conftest.
$ac_ext
29157 cat >>conftest.
$ac_ext <<_ACEOF
29158 /* end confdefs.h. */
29160 /* Override any GCC internal prototype to avoid an error.
29161 Use char because int might match the return type of a GCC
29162 builtin and then its argument prototype would still apply. */
29175 for ac_lib
in '' x
; do
29176 if test -z "$ac_lib"; then
29177 ac_res
="none required"
29180 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
29182 rm -f conftest.
$ac_objext conftest
$ac_exeext
29183 if { (ac_try
="$ac_link"
29184 case "(($ac_try" in
29185 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29186 *) ac_try_echo=$ac_try;;
29188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29189 (eval "$ac_link") 2>conftest.er1
29191 grep -v '^ *+' conftest.er1 >conftest.err
29193 cat conftest.err >&5
29194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29195 (exit $ac_status); } &&
29196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29197 { (case "(($ac_try" in
29198 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29199 *) ac_try_echo
=$ac_try;;
29201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29202 (eval "$ac_try") 2>&5
29204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29205 (exit $ac_status); }; } &&
29206 { ac_try
='test -s conftest$ac_exeext'
29207 { (case "(($ac_try" in
29208 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29209 *) ac_try_echo=$ac_try;;
29211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29212 (eval "$ac_try") 2>&5
29214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29215 (exit $ac_status); }; }; then
29216 ac_cv_search_opendir=$ac_res
29218 echo "$as_me: failed program was:" >&5
29219 sed 's/^/| /' conftest.$ac_ext >&5
29224 rm -f core conftest.err conftest.$ac_objext \
29226 if test "${ac_cv_search_opendir+set}" = set; then
29230 if test "${ac_cv_search_opendir+set}" = set; then
29233 ac_cv_search_opendir=no
29235 rm conftest.$ac_ext
29236 LIBS=$ac_func_search_save_LIBS
29238 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
29239 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
29240 ac_res=$ac_cv_search_opendir
29241 if test "$ac_res" != no; then
29242 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
29248 { echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
29249 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6; }
29250 if test "${ac_cv_header_mmap_anon+set}" = set; then
29251 echo $ECHO_N "(cached) $ECHO_C" >&6
29254 ac_cpp='$CPP $CPPFLAGS'
29255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29259 cat >conftest.$ac_ext <<_ACEOF
29262 cat confdefs.h >>conftest.$ac_ext
29263 cat >>conftest.$ac_ext <<_ACEOF
29264 /* end confdefs.h. */
29265 #include <sys/mman.h>
29266 #include <unistd.h>
29271 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
29276 rm -f conftest.$ac_objext
29277 if { (ac_try="$ac_compile"
29278 case "(($ac_try" in
29279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29280 *) ac_try_echo
=$ac_try;;
29282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29283 (eval "$ac_compile") 2>conftest.er1
29285 grep -v '^ *+' conftest.er1
>conftest.err
29287 cat conftest.err
>&5
29288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29289 (exit $ac_status); } &&
29290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29291 { (case "(($ac_try" in
29292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29293 *) ac_try_echo=$ac_try;;
29295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29296 (eval "$ac_try") 2>&5
29298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29299 (exit $ac_status); }; } &&
29300 { ac_try='test -s conftest.$ac_objext'
29301 { (case "(($ac_try" in
29302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29303 *) ac_try_echo
=$ac_try;;
29305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29306 (eval "$ac_try") 2>&5
29308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29309 (exit $ac_status); }; }; then
29310 ac_cv_header_mmap_anon
=yes
29312 echo "$as_me: failed program was:" >&5
29313 sed 's/^/| /' conftest.
$ac_ext >&5
29315 ac_cv_header_mmap_anon
=no
29318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29320 ac_cpp
='$CPP $CPPFLAGS'
29321 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29322 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29323 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29327 { echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
29328 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6; }
29329 if test "$ac_cv_header_mmap_anon" = yes; then
29331 cat >>confdefs.h
<<\_ACEOF
29332 #define HAVE_MMAP_ANONYMOUS 1
29337 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
29338 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
29339 if test "${ac_cv_header_stat_broken+set}" = set; then
29340 echo $ECHO_N "(cached) $ECHO_C" >&6
29342 cat >conftest.
$ac_ext <<_ACEOF
29345 cat confdefs.h
>>conftest.
$ac_ext
29346 cat >>conftest.
$ac_ext <<_ACEOF
29347 /* end confdefs.h. */
29348 #include <sys/types.h>
29349 #include <sys/stat.h>
29351 #if defined S_ISBLK && defined S_IFDIR
29352 # if S_ISBLK (S_IFDIR)
29357 #if defined S_ISBLK && defined S_IFCHR
29358 # if S_ISBLK (S_IFCHR)
29363 #if defined S_ISLNK && defined S_IFREG
29364 # if S_ISLNK (S_IFREG)
29369 #if defined S_ISSOCK && defined S_IFREG
29370 # if S_ISSOCK (S_IFREG)
29376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29377 $EGREP "You lose" >/dev
/null
2>&1; then
29378 ac_cv_header_stat_broken
=yes
29380 ac_cv_header_stat_broken
=no
29385 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
29386 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
29387 if test $ac_cv_header_stat_broken = yes; then
29389 cat >>confdefs.h
<<\_ACEOF
29390 #define STAT_MACROS_BROKEN 1
29395 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
29396 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
29397 if test "${ac_cv_header_stdc+set}" = set; then
29398 echo $ECHO_N "(cached) $ECHO_C" >&6
29400 cat >conftest.
$ac_ext <<_ACEOF
29403 cat confdefs.h
>>conftest.
$ac_ext
29404 cat >>conftest.
$ac_ext <<_ACEOF
29405 /* end confdefs.h. */
29406 #include <stdlib.h>
29407 #include <stdarg.h>
29408 #include <string.h>
29419 rm -f conftest.
$ac_objext
29420 if { (ac_try
="$ac_compile"
29421 case "(($ac_try" in
29422 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29423 *) ac_try_echo=$ac_try;;
29425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29426 (eval "$ac_compile") 2>conftest.er1
29428 grep -v '^ *+' conftest.er1 >conftest.err
29430 cat conftest.err >&5
29431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29432 (exit $ac_status); } &&
29433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29434 { (case "(($ac_try" in
29435 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29436 *) ac_try_echo
=$ac_try;;
29438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29439 (eval "$ac_try") 2>&5
29441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29442 (exit $ac_status); }; } &&
29443 { ac_try
='test -s conftest.$ac_objext'
29444 { (case "(($ac_try" in
29445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29446 *) ac_try_echo=$ac_try;;
29448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29449 (eval "$ac_try") 2>&5
29451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29452 (exit $ac_status); }; }; then
29453 ac_cv_header_stdc=yes
29455 echo "$as_me: failed program was:" >&5
29456 sed 's/^/| /' conftest.$ac_ext >&5
29458 ac_cv_header_stdc=no
29461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29463 if test $ac_cv_header_stdc = yes; then
29464 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
29465 cat >conftest.$ac_ext <<_ACEOF
29468 cat confdefs.h >>conftest.$ac_ext
29469 cat >>conftest.$ac_ext <<_ACEOF
29470 /* end confdefs.h. */
29471 #include <string.h>
29474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29475 $EGREP "memchr" >/dev/null 2>&1; then
29478 ac_cv_header_stdc=no
29484 if test $ac_cv_header_stdc = yes; then
29485 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
29486 cat >conftest.$ac_ext <<_ACEOF
29489 cat confdefs.h >>conftest.$ac_ext
29490 cat >>conftest.$ac_ext <<_ACEOF
29491 /* end confdefs.h. */
29492 #include <stdlib.h>
29495 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29496 $EGREP "free" >/dev/null 2>&1; then
29499 ac_cv_header_stdc=no
29505 if test $ac_cv_header_stdc = yes; then
29506 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
29507 if test "$cross_compiling" = yes; then
29510 cat >conftest.$ac_ext <<_ACEOF
29513 cat confdefs.h >>conftest.$ac_ext
29514 cat >>conftest.$ac_ext <<_ACEOF
29515 /* end confdefs.h. */
29517 #include <stdlib.h>
29518 #if ((' ' & 0x0FF) == 0x020)
29519 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
29520 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
29522 # define ISLOWER(c) \
29523 (('a' <= (c) && (c) <= 'i') \
29524 || ('j' <= (c) && (c) <= 'r') \
29525 || ('s' <= (c) && (c) <= 'z'))
29526 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
29529 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
29534 for (i = 0; i < 256; i++)
29535 if (XOR (islower (i), ISLOWER (i))
29536 || toupper (i) != TOUPPER (i))
29541 rm -f conftest$ac_exeext
29542 if { (ac_try="$ac_link"
29543 case "(($ac_try" in
29544 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29545 *) ac_try_echo
=$ac_try;;
29547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29548 (eval "$ac_link") 2>&5
29550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29551 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29552 { (case "(($ac_try" in
29553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29554 *) ac_try_echo=$ac_try;;
29556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29557 (eval "$ac_try") 2>&5
29559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29560 (exit $ac_status); }; }; then
29563 echo "$as_me: program exited with status $ac_status" >&5
29564 echo "$as_me: failed program was:" >&5
29565 sed 's/^/| /' conftest.$ac_ext >&5
29567 ( exit $ac_status )
29568 ac_cv_header_stdc=no
29570 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29576 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
29577 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
29578 if test $ac_cv_header_stdc = yes; then
29580 cat >>confdefs.h <<\_ACEOF
29581 #define STDC_HEADERS 1
29586 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
29587 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
29588 if test "${ac_cv_header_sys_wait_h+set}" = set; then
29589 echo $ECHO_N "(cached) $ECHO_C" >&6
29591 cat >conftest.$ac_ext <<_ACEOF
29594 cat confdefs.h >>conftest.$ac_ext
29595 cat >>conftest.$ac_ext <<_ACEOF
29596 /* end confdefs.h. */
29597 #include <sys/types.h>
29598 #include <sys/wait.h>
29599 #ifndef WEXITSTATUS
29600 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
29603 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
29611 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
29616 rm -f conftest.$ac_objext
29617 if { (ac_try="$ac_compile"
29618 case "(($ac_try" in
29619 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29620 *) ac_try_echo
=$ac_try;;
29622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29623 (eval "$ac_compile") 2>conftest.er1
29625 grep -v '^ *+' conftest.er1
>conftest.err
29627 cat conftest.err
>&5
29628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29629 (exit $ac_status); } &&
29630 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29631 { (case "(($ac_try" in
29632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29633 *) ac_try_echo=$ac_try;;
29635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29636 (eval "$ac_try") 2>&5
29638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29639 (exit $ac_status); }; } &&
29640 { ac_try='test -s conftest.$ac_objext'
29641 { (case "(($ac_try" in
29642 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29643 *) ac_try_echo
=$ac_try;;
29645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29646 (eval "$ac_try") 2>&5
29648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29649 (exit $ac_status); }; }; then
29650 ac_cv_header_sys_wait_h
=yes
29652 echo "$as_me: failed program was:" >&5
29653 sed 's/^/| /' conftest.
$ac_ext >&5
29655 ac_cv_header_sys_wait_h
=no
29658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29660 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
29661 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
29662 if test $ac_cv_header_sys_wait_h = yes; then
29664 cat >>confdefs.h
<<\_ACEOF
29665 #define HAVE_SYS_WAIT_H 1
29670 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
29671 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
29672 if test "${ac_cv_header_time+set}" = set; then
29673 echo $ECHO_N "(cached) $ECHO_C" >&6
29675 cat >conftest.
$ac_ext <<_ACEOF
29678 cat confdefs.h
>>conftest.
$ac_ext
29679 cat >>conftest.
$ac_ext <<_ACEOF
29680 /* end confdefs.h. */
29681 #include <sys/types.h>
29682 #include <sys/time.h>
29688 if ((struct tm *) 0)
29694 rm -f conftest.
$ac_objext
29695 if { (ac_try
="$ac_compile"
29696 case "(($ac_try" in
29697 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29698 *) ac_try_echo=$ac_try;;
29700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29701 (eval "$ac_compile") 2>conftest.er1
29703 grep -v '^ *+' conftest.er1 >conftest.err
29705 cat conftest.err >&5
29706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29707 (exit $ac_status); } &&
29708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29709 { (case "(($ac_try" in
29710 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29711 *) ac_try_echo
=$ac_try;;
29713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29714 (eval "$ac_try") 2>&5
29716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29717 (exit $ac_status); }; } &&
29718 { ac_try
='test -s conftest.$ac_objext'
29719 { (case "(($ac_try" in
29720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29721 *) ac_try_echo=$ac_try;;
29723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29724 (eval "$ac_try") 2>&5
29726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727 (exit $ac_status); }; }; then
29728 ac_cv_header_time=yes
29730 echo "$as_me: failed program was:" >&5
29731 sed 's/^/| /' conftest.$ac_ext >&5
29733 ac_cv_header_time=no
29736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29738 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
29739 echo "${ECHO_T}$ac_cv_header_time" >&6; }
29740 if test $ac_cv_header_time = yes; then
29742 cat >>confdefs.h <<\_ACEOF
29743 #define TIME_WITH_SYS_TIME 1
29755 for ac_header in dlfcn.h execinfo.h fcntl.h inttypes.h limits.h link.h
29757 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
29758 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29759 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29761 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29762 echo $ECHO_N "(cached) $ECHO_C" >&6
29764 ac_res=`eval echo '${'$as_ac_Header'}'`
29765 { echo "$as_me:$LINENO: result: $ac_res" >&5
29766 echo "${ECHO_T}$ac_res" >&6; }
29768 # Is the header compilable?
29769 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29770 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29771 cat >conftest.$ac_ext <<_ACEOF
29774 cat confdefs.h >>conftest.$ac_ext
29775 cat >>conftest.$ac_ext <<_ACEOF
29776 /* end confdefs.h. */
29777 $ac_includes_default
29778 #include <$ac_header>
29780 rm -f conftest.$ac_objext
29781 if { (ac_try="$ac_compile"
29782 case "(($ac_try" in
29783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29784 *) ac_try_echo
=$ac_try;;
29786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29787 (eval "$ac_compile") 2>conftest.er1
29789 grep -v '^ *+' conftest.er1
>conftest.err
29791 cat conftest.err
>&5
29792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29793 (exit $ac_status); } &&
29794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29795 { (case "(($ac_try" in
29796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29797 *) ac_try_echo=$ac_try;;
29799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29800 (eval "$ac_try") 2>&5
29802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29803 (exit $ac_status); }; } &&
29804 { ac_try='test -s conftest.$ac_objext'
29805 { (case "(($ac_try" in
29806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29807 *) ac_try_echo
=$ac_try;;
29809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29810 (eval "$ac_try") 2>&5
29812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29813 (exit $ac_status); }; }; then
29814 ac_header_compiler
=yes
29816 echo "$as_me: failed program was:" >&5
29817 sed 's/^/| /' conftest.
$ac_ext >&5
29819 ac_header_compiler
=no
29822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29823 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29824 echo "${ECHO_T}$ac_header_compiler" >&6; }
29826 # Is the header present?
29827 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29828 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29829 cat >conftest.
$ac_ext <<_ACEOF
29832 cat confdefs.h
>>conftest.
$ac_ext
29833 cat >>conftest.
$ac_ext <<_ACEOF
29834 /* end confdefs.h. */
29835 #include <$ac_header>
29837 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29838 case "(($ac_try" in
29839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29840 *) ac_try_echo=$ac_try;;
29842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29843 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29845 grep -v '^ *+' conftest.er1 >conftest.err
29847 cat conftest.err >&5
29848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29849 (exit $ac_status); } >/dev/null; then
29850 if test -s conftest.err; then
29851 ac_cpp_err=$ac_c_preproc_warn_flag
29852 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29859 if test -z "$ac_cpp_err"; then
29860 ac_header_preproc=yes
29862 echo "$as_me: failed program was:" >&5
29863 sed 's/^/| /' conftest.$ac_ext >&5
29865 ac_header_preproc=no
29868 rm -f conftest.err conftest.$ac_ext
29869 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29870 echo "${ECHO_T}$ac_header_preproc" >&6; }
29872 # So? What about this header?
29873 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29875 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29876 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29878 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29879 ac_header_preproc=yes
29882 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29883 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29884 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29885 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29886 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29887 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29888 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29889 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29892 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29893 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29895 ## ----------------------------------- ##
29896 ## Report this to llvmbugs@cs.uiuc.edu ##
29897 ## ----------------------------------- ##
29899 ) | sed "s/^/$as_me: WARNING: /" >&2
29902 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29904 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29905 echo $ECHO_N "(cached) $ECHO_C" >&6
29907 eval "$as_ac_Header=\$ac_header_preproc"
29909 ac_res=`eval echo '${'$as_ac_Header'}'`
29910 { echo "$as_me:$LINENO: result: $ac_res" >&5
29911 echo "${ECHO_T}$ac_res" >&6; }
29914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29915 cat >>confdefs.h <<_ACEOF
29916 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
29929 for ac_header in malloc.h setjmp.h signal.h stdint.h termios.h unistd.h
29931 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
29932 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29933 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29935 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29936 echo $ECHO_N "(cached) $ECHO_C" >&6
29938 ac_res=`eval echo '${'$as_ac_Header'}'`
29939 { echo "$as_me:$LINENO: result: $ac_res" >&5
29940 echo "${ECHO_T}$ac_res" >&6; }
29942 # Is the header compilable?
29943 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29944 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29945 cat >conftest.$ac_ext <<_ACEOF
29948 cat confdefs.h >>conftest.$ac_ext
29949 cat >>conftest.$ac_ext <<_ACEOF
29950 /* end confdefs.h. */
29951 $ac_includes_default
29952 #include <$ac_header>
29954 rm -f conftest.$ac_objext
29955 if { (ac_try="$ac_compile"
29956 case "(($ac_try" in
29957 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29958 *) ac_try_echo
=$ac_try;;
29960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29961 (eval "$ac_compile") 2>conftest.er1
29963 grep -v '^ *+' conftest.er1
>conftest.err
29965 cat conftest.err
>&5
29966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29967 (exit $ac_status); } &&
29968 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29969 { (case "(($ac_try" in
29970 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29971 *) ac_try_echo=$ac_try;;
29973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29974 (eval "$ac_try") 2>&5
29976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29977 (exit $ac_status); }; } &&
29978 { ac_try='test -s conftest.$ac_objext'
29979 { (case "(($ac_try" in
29980 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29981 *) ac_try_echo
=$ac_try;;
29983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29984 (eval "$ac_try") 2>&5
29986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29987 (exit $ac_status); }; }; then
29988 ac_header_compiler
=yes
29990 echo "$as_me: failed program was:" >&5
29991 sed 's/^/| /' conftest.
$ac_ext >&5
29993 ac_header_compiler
=no
29996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29997 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29998 echo "${ECHO_T}$ac_header_compiler" >&6; }
30000 # Is the header present?
30001 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
30002 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
30003 cat >conftest.
$ac_ext <<_ACEOF
30006 cat confdefs.h
>>conftest.
$ac_ext
30007 cat >>conftest.
$ac_ext <<_ACEOF
30008 /* end confdefs.h. */
30009 #include <$ac_header>
30011 if { (ac_try
="$ac_cpp conftest.$ac_ext"
30012 case "(($ac_try" in
30013 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30014 *) ac_try_echo=$ac_try;;
30016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30017 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30019 grep -v '^ *+' conftest.er1 >conftest.err
30021 cat conftest.err >&5
30022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30023 (exit $ac_status); } >/dev/null; then
30024 if test -s conftest.err; then
30025 ac_cpp_err=$ac_c_preproc_warn_flag
30026 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30033 if test -z "$ac_cpp_err"; then
30034 ac_header_preproc=yes
30036 echo "$as_me: failed program was:" >&5
30037 sed 's/^/| /' conftest.$ac_ext >&5
30039 ac_header_preproc=no
30042 rm -f conftest.err conftest.$ac_ext
30043 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30044 echo "${ECHO_T}$ac_header_preproc" >&6; }
30046 # So? What about this header?
30047 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30049 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30050 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30052 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30053 ac_header_preproc=yes
30056 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30057 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30058 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30059 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30060 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30061 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30062 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30063 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30064 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30065 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30066 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30067 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30069 ## ----------------------------------- ##
30070 ## Report this to llvmbugs@cs.uiuc.edu ##
30071 ## ----------------------------------- ##
30073 ) | sed "s/^/$as_me: WARNING: /" >&2
30076 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30078 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30079 echo $ECHO_N "(cached) $ECHO_C" >&6
30081 eval "$as_ac_Header=\$ac_header_preproc"
30083 ac_res=`eval echo '${'$as_ac_Header'}'`
30084 { echo "$as_me:$LINENO: result: $ac_res" >&5
30085 echo "${ECHO_T}$ac_res" >&6; }
30088 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30089 cat >>confdefs.h <<_ACEOF
30090 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
30099 for ac_header in utime.h windows.h
30101 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
30102 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30103 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30105 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30106 echo $ECHO_N "(cached) $ECHO_C" >&6
30108 ac_res=`eval echo '${'$as_ac_Header'}'`
30109 { echo "$as_me:$LINENO: result: $ac_res" >&5
30110 echo "${ECHO_T}$ac_res" >&6; }
30112 # Is the header compilable?
30113 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
30114 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
30115 cat >conftest.$ac_ext <<_ACEOF
30118 cat confdefs.h >>conftest.$ac_ext
30119 cat >>conftest.$ac_ext <<_ACEOF
30120 /* end confdefs.h. */
30121 $ac_includes_default
30122 #include <$ac_header>
30124 rm -f conftest.$ac_objext
30125 if { (ac_try="$ac_compile"
30126 case "(($ac_try" in
30127 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30128 *) ac_try_echo
=$ac_try;;
30130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30131 (eval "$ac_compile") 2>conftest.er1
30133 grep -v '^ *+' conftest.er1
>conftest.err
30135 cat conftest.err
>&5
30136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30137 (exit $ac_status); } &&
30138 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30139 { (case "(($ac_try" in
30140 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30141 *) ac_try_echo=$ac_try;;
30143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30144 (eval "$ac_try") 2>&5
30146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30147 (exit $ac_status); }; } &&
30148 { ac_try='test -s conftest.$ac_objext'
30149 { (case "(($ac_try" in
30150 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30151 *) ac_try_echo
=$ac_try;;
30153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30154 (eval "$ac_try") 2>&5
30156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30157 (exit $ac_status); }; }; then
30158 ac_header_compiler
=yes
30160 echo "$as_me: failed program was:" >&5
30161 sed 's/^/| /' conftest.
$ac_ext >&5
30163 ac_header_compiler
=no
30166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30167 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30168 echo "${ECHO_T}$ac_header_compiler" >&6; }
30170 # Is the header present?
30171 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
30172 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
30173 cat >conftest.
$ac_ext <<_ACEOF
30176 cat confdefs.h
>>conftest.
$ac_ext
30177 cat >>conftest.
$ac_ext <<_ACEOF
30178 /* end confdefs.h. */
30179 #include <$ac_header>
30181 if { (ac_try
="$ac_cpp conftest.$ac_ext"
30182 case "(($ac_try" in
30183 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30184 *) ac_try_echo=$ac_try;;
30186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30187 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30189 grep -v '^ *+' conftest.er1 >conftest.err
30191 cat conftest.err >&5
30192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30193 (exit $ac_status); } >/dev/null; then
30194 if test -s conftest.err; then
30195 ac_cpp_err=$ac_c_preproc_warn_flag
30196 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30203 if test -z "$ac_cpp_err"; then
30204 ac_header_preproc=yes
30206 echo "$as_me: failed program was:" >&5
30207 sed 's/^/| /' conftest.$ac_ext >&5
30209 ac_header_preproc=no
30212 rm -f conftest.err conftest.$ac_ext
30213 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30214 echo "${ECHO_T}$ac_header_preproc" >&6; }
30216 # So? What about this header?
30217 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30219 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30220 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30222 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30223 ac_header_preproc=yes
30226 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30227 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30228 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30229 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30230 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30231 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30232 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30233 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30235 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30236 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30237 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30239 ## ----------------------------------- ##
30240 ## Report this to llvmbugs@cs.uiuc.edu ##
30241 ## ----------------------------------- ##
30243 ) | sed "s/^/$as_me: WARNING: /" >&2
30246 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30248 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30249 echo $ECHO_N "(cached) $ECHO_C" >&6
30251 eval "$as_ac_Header=\$ac_header_preproc"
30253 ac_res=`eval echo '${'$as_ac_Header'}'`
30254 { echo "$as_me:$LINENO: result: $ac_res" >&5
30255 echo "${ECHO_T}$ac_res" >&6; }
30258 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30259 cat >>confdefs.h <<_ACEOF
30260 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
30271 for ac_header in sys/mman.h sys/param.h sys/resource.h sys/time.h
30273 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
30274 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30275 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30277 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30278 echo $ECHO_N "(cached) $ECHO_C" >&6
30280 ac_res=`eval echo '${'$as_ac_Header'}'`
30281 { echo "$as_me:$LINENO: result: $ac_res" >&5
30282 echo "${ECHO_T}$ac_res" >&6; }
30284 # Is the header compilable?
30285 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
30286 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
30287 cat >conftest.$ac_ext <<_ACEOF
30290 cat confdefs.h >>conftest.$ac_ext
30291 cat >>conftest.$ac_ext <<_ACEOF
30292 /* end confdefs.h. */
30293 $ac_includes_default
30294 #include <$ac_header>
30296 rm -f conftest.$ac_objext
30297 if { (ac_try="$ac_compile"
30298 case "(($ac_try" in
30299 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30300 *) ac_try_echo
=$ac_try;;
30302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30303 (eval "$ac_compile") 2>conftest.er1
30305 grep -v '^ *+' conftest.er1
>conftest.err
30307 cat conftest.err
>&5
30308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 (exit $ac_status); } &&
30310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
30320 { ac_try='test -s conftest.$ac_objext'
30321 { (case "(($ac_try" in
30322 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30323 *) ac_try_echo
=$ac_try;;
30325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30326 (eval "$ac_try") 2>&5
30328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30329 (exit $ac_status); }; }; then
30330 ac_header_compiler
=yes
30332 echo "$as_me: failed program was:" >&5
30333 sed 's/^/| /' conftest.
$ac_ext >&5
30335 ac_header_compiler
=no
30338 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30339 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30340 echo "${ECHO_T}$ac_header_compiler" >&6; }
30342 # Is the header present?
30343 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
30344 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
30345 cat >conftest.
$ac_ext <<_ACEOF
30348 cat confdefs.h
>>conftest.
$ac_ext
30349 cat >>conftest.
$ac_ext <<_ACEOF
30350 /* end confdefs.h. */
30351 #include <$ac_header>
30353 if { (ac_try
="$ac_cpp conftest.$ac_ext"
30354 case "(($ac_try" in
30355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30356 *) ac_try_echo=$ac_try;;
30358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30359 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30361 grep -v '^ *+' conftest.er1 >conftest.err
30363 cat conftest.err >&5
30364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30365 (exit $ac_status); } >/dev/null; then
30366 if test -s conftest.err; then
30367 ac_cpp_err=$ac_c_preproc_warn_flag
30368 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30375 if test -z "$ac_cpp_err"; then
30376 ac_header_preproc=yes
30378 echo "$as_me: failed program was:" >&5
30379 sed 's/^/| /' conftest.$ac_ext >&5
30381 ac_header_preproc=no
30384 rm -f conftest.err conftest.$ac_ext
30385 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30386 echo "${ECHO_T}$ac_header_preproc" >&6; }
30388 # So? What about this header?
30389 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30391 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30392 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30393 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30394 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30395 ac_header_preproc=yes
30398 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30399 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30400 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30401 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30402 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30403 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30404 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30405 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30406 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30407 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30408 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30409 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30411 ## ----------------------------------- ##
30412 ## Report this to llvmbugs@cs.uiuc.edu ##
30413 ## ----------------------------------- ##
30415 ) | sed "s/^/$as_me: WARNING: /" >&2
30418 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30420 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30421 echo $ECHO_N "(cached) $ECHO_C" >&6
30423 eval "$as_ac_Header=\$ac_header_preproc"
30425 ac_res=`eval echo '${'$as_ac_Header'}'`
30426 { echo "$as_me:$LINENO: result: $ac_res" >&5
30427 echo "${ECHO_T}$ac_res" >&6; }
30430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30431 cat >>confdefs.h <<_ACEOF
30432 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
30443 for ac_header in sys/types.h sys/ioctl.h malloc/malloc.h mach/mach.h
30445 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
30446 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30447 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30448 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30449 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30450 echo $ECHO_N "(cached) $ECHO_C" >&6
30452 ac_res=`eval echo '${'$as_ac_Header'}'`
30453 { echo "$as_me:$LINENO: result: $ac_res" >&5
30454 echo "${ECHO_T}$ac_res" >&6; }
30456 # Is the header compilable?
30457 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
30458 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
30459 cat >conftest.$ac_ext <<_ACEOF
30462 cat confdefs.h >>conftest.$ac_ext
30463 cat >>conftest.$ac_ext <<_ACEOF
30464 /* end confdefs.h. */
30465 $ac_includes_default
30466 #include <$ac_header>
30468 rm -f conftest.$ac_objext
30469 if { (ac_try="$ac_compile"
30470 case "(($ac_try" in
30471 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30472 *) ac_try_echo
=$ac_try;;
30474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30475 (eval "$ac_compile") 2>conftest.er1
30477 grep -v '^ *+' conftest.er1
>conftest.err
30479 cat conftest.err
>&5
30480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30481 (exit $ac_status); } &&
30482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30483 { (case "(($ac_try" in
30484 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30485 *) ac_try_echo=$ac_try;;
30487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30488 (eval "$ac_try") 2>&5
30490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30491 (exit $ac_status); }; } &&
30492 { ac_try='test -s conftest.$ac_objext'
30493 { (case "(($ac_try" in
30494 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30495 *) ac_try_echo
=$ac_try;;
30497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30498 (eval "$ac_try") 2>&5
30500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30501 (exit $ac_status); }; }; then
30502 ac_header_compiler
=yes
30504 echo "$as_me: failed program was:" >&5
30505 sed 's/^/| /' conftest.
$ac_ext >&5
30507 ac_header_compiler
=no
30510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30511 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30512 echo "${ECHO_T}$ac_header_compiler" >&6; }
30514 # Is the header present?
30515 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
30516 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
30517 cat >conftest.
$ac_ext <<_ACEOF
30520 cat confdefs.h
>>conftest.
$ac_ext
30521 cat >>conftest.
$ac_ext <<_ACEOF
30522 /* end confdefs.h. */
30523 #include <$ac_header>
30525 if { (ac_try
="$ac_cpp conftest.$ac_ext"
30526 case "(($ac_try" in
30527 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30528 *) ac_try_echo=$ac_try;;
30530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30531 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30533 grep -v '^ *+' conftest.er1 >conftest.err
30535 cat conftest.err >&5
30536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30537 (exit $ac_status); } >/dev/null; then
30538 if test -s conftest.err; then
30539 ac_cpp_err=$ac_c_preproc_warn_flag
30540 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30547 if test -z "$ac_cpp_err"; then
30548 ac_header_preproc=yes
30550 echo "$as_me: failed program was:" >&5
30551 sed 's/^/| /' conftest.$ac_ext >&5
30553 ac_header_preproc=no
30556 rm -f conftest.err conftest.$ac_ext
30557 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30558 echo "${ECHO_T}$ac_header_preproc" >&6; }
30560 # So? What about this header?
30561 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30563 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30564 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30566 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30567 ac_header_preproc=yes
30570 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30571 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30572 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30573 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30574 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30575 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30576 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30577 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30578 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30579 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30580 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30581 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30583 ## ----------------------------------- ##
30584 ## Report this to llvmbugs@cs.uiuc.edu ##
30585 ## ----------------------------------- ##
30587 ) | sed "s/^/$as_me: WARNING: /" >&2
30590 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30592 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30593 echo $ECHO_N "(cached) $ECHO_C" >&6
30595 eval "$as_ac_Header=\$ac_header_preproc"
30597 ac_res=`eval echo '${'$as_ac_Header'}'`
30598 { echo "$as_me:$LINENO: result: $ac_res" >&5
30599 echo "${ECHO_T}$ac_res" >&6; }
30602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30603 cat >>confdefs.h <<_ACEOF
30604 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
30611 if test "$ENABLE_THREADS" -eq 1 ; then
30613 for ac_header in pthread.h
30615 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
30616 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30617 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30619 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30620 echo $ECHO_N "(cached) $ECHO_C" >&6
30622 ac_res=`eval echo '${'$as_ac_Header'}'`
30623 { echo "$as_me:$LINENO: result: $ac_res" >&5
30624 echo "${ECHO_T}$ac_res" >&6; }
30626 # Is the header compilable?
30627 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
30628 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
30629 cat >conftest.$ac_ext <<_ACEOF
30632 cat confdefs.h >>conftest.$ac_ext
30633 cat >>conftest.$ac_ext <<_ACEOF
30634 /* end confdefs.h. */
30635 $ac_includes_default
30636 #include <$ac_header>
30638 rm -f conftest.$ac_objext
30639 if { (ac_try="$ac_compile"
30640 case "(($ac_try" in
30641 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30642 *) ac_try_echo
=$ac_try;;
30644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30645 (eval "$ac_compile") 2>conftest.er1
30647 grep -v '^ *+' conftest.er1
>conftest.err
30649 cat conftest.err
>&5
30650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30651 (exit $ac_status); } &&
30652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
30662 { ac_try='test -s conftest.$ac_objext'
30663 { (case "(($ac_try" in
30664 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30665 *) ac_try_echo
=$ac_try;;
30667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30668 (eval "$ac_try") 2>&5
30670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30671 (exit $ac_status); }; }; then
30672 ac_header_compiler
=yes
30674 echo "$as_me: failed program was:" >&5
30675 sed 's/^/| /' conftest.
$ac_ext >&5
30677 ac_header_compiler
=no
30680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30681 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30682 echo "${ECHO_T}$ac_header_compiler" >&6; }
30684 # Is the header present?
30685 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
30686 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
30687 cat >conftest.
$ac_ext <<_ACEOF
30690 cat confdefs.h
>>conftest.
$ac_ext
30691 cat >>conftest.
$ac_ext <<_ACEOF
30692 /* end confdefs.h. */
30693 #include <$ac_header>
30695 if { (ac_try
="$ac_cpp conftest.$ac_ext"
30696 case "(($ac_try" in
30697 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30698 *) ac_try_echo=$ac_try;;
30700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30701 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30703 grep -v '^ *+' conftest.er1 >conftest.err
30705 cat conftest.err >&5
30706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30707 (exit $ac_status); } >/dev/null; then
30708 if test -s conftest.err; then
30709 ac_cpp_err=$ac_c_preproc_warn_flag
30710 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30717 if test -z "$ac_cpp_err"; then
30718 ac_header_preproc=yes
30720 echo "$as_me: failed program was:" >&5
30721 sed 's/^/| /' conftest.$ac_ext >&5
30723 ac_header_preproc=no
30726 rm -f conftest.err conftest.$ac_ext
30727 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30728 echo "${ECHO_T}$ac_header_preproc" >&6; }
30730 # So? What about this header?
30731 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30733 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30734 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30736 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30737 ac_header_preproc=yes
30740 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30741 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30742 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30743 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30744 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30745 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30746 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30747 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30749 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30750 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30751 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30753 ## ----------------------------------- ##
30754 ## Report this to llvmbugs@cs.uiuc.edu ##
30755 ## ----------------------------------- ##
30757 ) | sed "s/^/$as_me: WARNING: /" >&2
30760 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30762 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30763 echo $ECHO_N "(cached) $ECHO_C" >&6
30765 eval "$as_ac_Header=\$ac_header_preproc"
30767 ac_res=`eval echo '${'$as_ac_Header'}'`
30768 { echo "$as_me:$LINENO: result: $ac_res" >&5
30769 echo "${ECHO_T}$ac_res" >&6; }
30772 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30773 cat >>confdefs.h <<_ACEOF
30774 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
30790 if test "$llvm_cv_enable_libffi" = "yes" ; then
30793 for ac_header in ffi.h ffi/ffi.h
30795 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
30796 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30797 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30799 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30800 echo $ECHO_N "(cached) $ECHO_C" >&6
30802 ac_res=`eval echo '${'$as_ac_Header'}'`
30803 { echo "$as_me:$LINENO: result: $ac_res" >&5
30804 echo "${ECHO_T}$ac_res" >&6; }
30806 # Is the header compilable?
30807 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
30808 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
30809 cat >conftest.$ac_ext <<_ACEOF
30812 cat confdefs.h >>conftest.$ac_ext
30813 cat >>conftest.$ac_ext <<_ACEOF
30814 /* end confdefs.h. */
30815 $ac_includes_default
30816 #include <$ac_header>
30818 rm -f conftest.$ac_objext
30819 if { (ac_try="$ac_compile"
30820 case "(($ac_try" in
30821 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30822 *) ac_try_echo
=$ac_try;;
30824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30825 (eval "$ac_compile") 2>conftest.er1
30827 grep -v '^ *+' conftest.er1
>conftest.err
30829 cat conftest.err
>&5
30830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30831 (exit $ac_status); } &&
30832 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30833 { (case "(($ac_try" in
30834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30835 *) ac_try_echo=$ac_try;;
30837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30838 (eval "$ac_try") 2>&5
30840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30841 (exit $ac_status); }; } &&
30842 { ac_try='test -s conftest.$ac_objext'
30843 { (case "(($ac_try" in
30844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30845 *) ac_try_echo
=$ac_try;;
30847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30848 (eval "$ac_try") 2>&5
30850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30851 (exit $ac_status); }; }; then
30852 ac_header_compiler
=yes
30854 echo "$as_me: failed program was:" >&5
30855 sed 's/^/| /' conftest.
$ac_ext >&5
30857 ac_header_compiler
=no
30860 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30861 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30862 echo "${ECHO_T}$ac_header_compiler" >&6; }
30864 # Is the header present?
30865 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
30866 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
30867 cat >conftest.
$ac_ext <<_ACEOF
30870 cat confdefs.h
>>conftest.
$ac_ext
30871 cat >>conftest.
$ac_ext <<_ACEOF
30872 /* end confdefs.h. */
30873 #include <$ac_header>
30875 if { (ac_try
="$ac_cpp conftest.$ac_ext"
30876 case "(($ac_try" in
30877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30878 *) ac_try_echo=$ac_try;;
30880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30881 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30883 grep -v '^ *+' conftest.er1 >conftest.err
30885 cat conftest.err >&5
30886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30887 (exit $ac_status); } >/dev/null; then
30888 if test -s conftest.err; then
30889 ac_cpp_err=$ac_c_preproc_warn_flag
30890 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30897 if test -z "$ac_cpp_err"; then
30898 ac_header_preproc=yes
30900 echo "$as_me: failed program was:" >&5
30901 sed 's/^/| /' conftest.$ac_ext >&5
30903 ac_header_preproc=no
30906 rm -f conftest.err conftest.$ac_ext
30907 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30908 echo "${ECHO_T}$ac_header_preproc" >&6; }
30910 # So? What about this header?
30911 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30913 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30914 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30916 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30917 ac_header_preproc=yes
30920 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30921 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30922 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30923 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30924 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30925 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30926 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30927 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30930 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30931 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30933 ## ----------------------------------- ##
30934 ## Report this to llvmbugs@cs.uiuc.edu ##
30935 ## ----------------------------------- ##
30937 ) | sed "s/^/$as_me: WARNING: /" >&2
30940 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30942 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30943 echo $ECHO_N "(cached) $ECHO_C" >&6
30945 eval "$as_ac_Header=\$ac_header_preproc"
30947 ac_res=`eval echo '${'$as_ac_Header'}'`
30948 { echo "$as_me:$LINENO: result: $ac_res" >&5
30949 echo "${ECHO_T}$ac_res" >&6; }
30952 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30953 cat >>confdefs.h <<_ACEOF
30954 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
30965 { echo "$as_me:$LINENO: checking for HUGE_VAL sanity" >&5
30966 echo $ECHO_N "checking for HUGE_VAL sanity... $ECHO_C" >&6; }
30967 if test "${ac_cv_huge_val_sanity+set}" = set; then
30968 echo $ECHO_N "(cached) $ECHO_C" >&6
30972 ac_cpp='$CXXCPP $CPPFLAGS'
30973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30978 if test "$cross_compiling" = yes; then
30979 ac_cv_huge_val_sanity=yes
30981 cat >conftest.$ac_ext <<_ACEOF
30984 cat confdefs.h >>conftest.$ac_ext
30985 cat >>conftest.$ac_ext <<_ACEOF
30986 /* end confdefs.h. */
30991 double x = HUGE_VAL; return x != x;
30996 rm -f conftest$ac_exeext
30997 if { (ac_try="$ac_link"
30998 case "(($ac_try" in
30999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31000 *) ac_try_echo
=$ac_try;;
31002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31003 (eval "$ac_link") 2>&5
31005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31006 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
31007 { (case "(($ac_try" in
31008 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31009 *) ac_try_echo=$ac_try;;
31011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31012 (eval "$ac_try") 2>&5
31014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31015 (exit $ac_status); }; }; then
31016 ac_cv_huge_val_sanity=yes
31018 echo "$as_me: program exited with status $ac_status" >&5
31019 echo "$as_me: failed program was:" >&5
31020 sed 's/^/| /' conftest.$ac_ext >&5
31022 ( exit $ac_status )
31023 ac_cv_huge_val_sanity=no
31025 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31030 ac_cpp='$CPP $CPPFLAGS'
31031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31037 { echo "$as_me:$LINENO: result: $ac_cv_huge_val_sanity" >&5
31038 echo "${ECHO_T}$ac_cv_huge_val_sanity" >&6; }
31039 HUGE_VAL_SANITY=$ac_cv_huge_val_sanity
31042 { echo "$as_me:$LINENO: checking for pid_t" >&5
31043 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
31044 if test "${ac_cv_type_pid_t+set}" = set; then
31045 echo $ECHO_N "(cached) $ECHO_C" >&6
31047 cat >conftest.$ac_ext <<_ACEOF
31050 cat confdefs.h >>conftest.$ac_ext
31051 cat >>conftest.$ac_ext <<_ACEOF
31052 /* end confdefs.h. */
31053 $ac_includes_default
31054 typedef pid_t ac__type_new_;
31058 if ((ac__type_new_ *) 0)
31060 if (sizeof (ac__type_new_))
31066 rm -f conftest.$ac_objext
31067 if { (ac_try="$ac_compile"
31068 case "(($ac_try" in
31069 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31070 *) ac_try_echo
=$ac_try;;
31072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31073 (eval "$ac_compile") 2>conftest.er1
31075 grep -v '^ *+' conftest.er1
>conftest.err
31077 cat conftest.err
>&5
31078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31079 (exit $ac_status); } &&
31080 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31081 { (case "(($ac_try" in
31082 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31083 *) ac_try_echo=$ac_try;;
31085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31086 (eval "$ac_try") 2>&5
31088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31089 (exit $ac_status); }; } &&
31090 { ac_try='test -s conftest.$ac_objext'
31091 { (case "(($ac_try" in
31092 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31093 *) ac_try_echo
=$ac_try;;
31095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31096 (eval "$ac_try") 2>&5
31098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31099 (exit $ac_status); }; }; then
31100 ac_cv_type_pid_t
=yes
31102 echo "$as_me: failed program was:" >&5
31103 sed 's/^/| /' conftest.
$ac_ext >&5
31105 ac_cv_type_pid_t
=no
31108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31110 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
31111 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
31112 if test $ac_cv_type_pid_t = yes; then
31116 cat >>confdefs.h
<<_ACEOF
31122 { echo "$as_me:$LINENO: checking for size_t" >&5
31123 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
31124 if test "${ac_cv_type_size_t+set}" = set; then
31125 echo $ECHO_N "(cached) $ECHO_C" >&6
31127 cat >conftest.
$ac_ext <<_ACEOF
31130 cat confdefs.h
>>conftest.
$ac_ext
31131 cat >>conftest.
$ac_ext <<_ACEOF
31132 /* end confdefs.h. */
31133 $ac_includes_default
31134 typedef size_t ac__type_new_;
31138 if ((ac__type_new_ *) 0)
31140 if (sizeof (ac__type_new_))
31146 rm -f conftest.
$ac_objext
31147 if { (ac_try
="$ac_compile"
31148 case "(($ac_try" in
31149 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31150 *) ac_try_echo=$ac_try;;
31152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31153 (eval "$ac_compile") 2>conftest.er1
31155 grep -v '^ *+' conftest.er1 >conftest.err
31157 cat conftest.err >&5
31158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31159 (exit $ac_status); } &&
31160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31161 { (case "(($ac_try" in
31162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31163 *) ac_try_echo
=$ac_try;;
31165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31166 (eval "$ac_try") 2>&5
31168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31169 (exit $ac_status); }; } &&
31170 { ac_try
='test -s conftest.$ac_objext'
31171 { (case "(($ac_try" in
31172 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31173 *) ac_try_echo=$ac_try;;
31175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31176 (eval "$ac_try") 2>&5
31178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31179 (exit $ac_status); }; }; then
31180 ac_cv_type_size_t=yes
31182 echo "$as_me: failed program was:" >&5
31183 sed 's/^/| /' conftest.$ac_ext >&5
31185 ac_cv_type_size_t=no
31188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31190 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
31191 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
31192 if test $ac_cv_type_size_t = yes; then
31196 cat >>confdefs.h <<_ACEOF
31197 #define size_t unsigned int
31202 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
31203 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
31204 if test "${ac_cv_type_signal+set}" = set; then
31205 echo $ECHO_N "(cached) $ECHO_C" >&6
31207 cat >conftest.$ac_ext <<_ACEOF
31210 cat confdefs.h >>conftest.$ac_ext
31211 cat >>conftest.$ac_ext <<_ACEOF
31212 /* end confdefs.h. */
31213 #include <sys/types.h>
31214 #include <signal.h>
31219 return *(signal (0, 0)) (0) == 1;
31224 rm -f conftest.$ac_objext
31225 if { (ac_try="$ac_compile"
31226 case "(($ac_try" in
31227 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31228 *) ac_try_echo
=$ac_try;;
31230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31231 (eval "$ac_compile") 2>conftest.er1
31233 grep -v '^ *+' conftest.er1
>conftest.err
31235 cat conftest.err
>&5
31236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31237 (exit $ac_status); } &&
31238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31239 { (case "(($ac_try" in
31240 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31241 *) ac_try_echo=$ac_try;;
31243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31244 (eval "$ac_try") 2>&5
31246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31247 (exit $ac_status); }; } &&
31248 { ac_try='test -s conftest.$ac_objext'
31249 { (case "(($ac_try" in
31250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31251 *) ac_try_echo
=$ac_try;;
31253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31254 (eval "$ac_try") 2>&5
31256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31257 (exit $ac_status); }; }; then
31258 ac_cv_type_signal
=int
31260 echo "$as_me: failed program was:" >&5
31261 sed 's/^/| /' conftest.
$ac_ext >&5
31263 ac_cv_type_signal
=void
31266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31268 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
31269 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
31271 cat >>confdefs.h
<<_ACEOF
31272 #define RETSIGTYPE $ac_cv_type_signal
31276 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
31277 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
31278 if test "${ac_cv_struct_tm+set}" = set; then
31279 echo $ECHO_N "(cached) $ECHO_C" >&6
31281 cat >conftest.
$ac_ext <<_ACEOF
31284 cat confdefs.h
>>conftest.
$ac_ext
31285 cat >>conftest.
$ac_ext <<_ACEOF
31286 /* end confdefs.h. */
31287 #include <sys/types.h>
31293 struct tm *tp; tp->tm_sec;
31298 rm -f conftest.
$ac_objext
31299 if { (ac_try
="$ac_compile"
31300 case "(($ac_try" in
31301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31302 *) ac_try_echo=$ac_try;;
31304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31305 (eval "$ac_compile") 2>conftest.er1
31307 grep -v '^ *+' conftest.er1 >conftest.err
31309 cat conftest.err >&5
31310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31311 (exit $ac_status); } &&
31312 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31313 { (case "(($ac_try" in
31314 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31315 *) ac_try_echo
=$ac_try;;
31317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31318 (eval "$ac_try") 2>&5
31320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31321 (exit $ac_status); }; } &&
31322 { ac_try
='test -s conftest.$ac_objext'
31323 { (case "(($ac_try" in
31324 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31325 *) ac_try_echo=$ac_try;;
31327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31328 (eval "$ac_try") 2>&5
31330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31331 (exit $ac_status); }; }; then
31332 ac_cv_struct_tm=time.h
31334 echo "$as_me: failed program was:" >&5
31335 sed 's/^/| /' conftest.$ac_ext >&5
31337 ac_cv_struct_tm=sys/time.h
31340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31342 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
31343 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
31344 if test $ac_cv_struct_tm = sys/time.h; then
31346 cat >>confdefs.h <<\_ACEOF
31347 #define TM_IN_SYS_TIME 1
31352 { echo "$as_me:$LINENO: checking for int64_t" >&5
31353 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
31354 if test "${ac_cv_type_int64_t+set}" = set; then
31355 echo $ECHO_N "(cached) $ECHO_C" >&6
31357 cat >conftest.$ac_ext <<_ACEOF
31360 cat confdefs.h >>conftest.$ac_ext
31361 cat >>conftest.$ac_ext <<_ACEOF
31362 /* end confdefs.h. */
31363 $ac_includes_default
31364 typedef int64_t ac__type_new_;
31368 if ((ac__type_new_ *) 0)
31370 if (sizeof (ac__type_new_))
31376 rm -f conftest.$ac_objext
31377 if { (ac_try="$ac_compile"
31378 case "(($ac_try" in
31379 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31380 *) ac_try_echo
=$ac_try;;
31382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31383 (eval "$ac_compile") 2>conftest.er1
31385 grep -v '^ *+' conftest.er1
>conftest.err
31387 cat conftest.err
>&5
31388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31389 (exit $ac_status); } &&
31390 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31391 { (case "(($ac_try" in
31392 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31393 *) ac_try_echo=$ac_try;;
31395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31396 (eval "$ac_try") 2>&5
31398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31399 (exit $ac_status); }; } &&
31400 { ac_try='test -s conftest.$ac_objext'
31401 { (case "(($ac_try" in
31402 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31403 *) ac_try_echo
=$ac_try;;
31405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31406 (eval "$ac_try") 2>&5
31408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31409 (exit $ac_status); }; }; then
31410 ac_cv_type_int64_t
=yes
31412 echo "$as_me: failed program was:" >&5
31413 sed 's/^/| /' conftest.
$ac_ext >&5
31415 ac_cv_type_int64_t
=no
31418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31420 { echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
31421 echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
31422 if test $ac_cv_type_int64_t = yes; then
31424 cat >>confdefs.h
<<_ACEOF
31425 #define HAVE_INT64_T 1
31430 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
31431 echo "$as_me: error: Type int64_t required but not found" >&2;}
31432 { (exit 1); exit 1; }; }
31435 { echo "$as_me:$LINENO: checking for uint64_t" >&5
31436 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
31437 if test "${ac_cv_type_uint64_t+set}" = set; then
31438 echo $ECHO_N "(cached) $ECHO_C" >&6
31440 cat >conftest.
$ac_ext <<_ACEOF
31443 cat confdefs.h
>>conftest.
$ac_ext
31444 cat >>conftest.
$ac_ext <<_ACEOF
31445 /* end confdefs.h. */
31446 $ac_includes_default
31447 typedef uint64_t ac__type_new_;
31451 if ((ac__type_new_ *) 0)
31453 if (sizeof (ac__type_new_))
31459 rm -f conftest.
$ac_objext
31460 if { (ac_try
="$ac_compile"
31461 case "(($ac_try" in
31462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31463 *) ac_try_echo=$ac_try;;
31465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31466 (eval "$ac_compile") 2>conftest.er1
31468 grep -v '^ *+' conftest.er1 >conftest.err
31470 cat conftest.err >&5
31471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31472 (exit $ac_status); } &&
31473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31474 { (case "(($ac_try" in
31475 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31476 *) ac_try_echo
=$ac_try;;
31478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31479 (eval "$ac_try") 2>&5
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); }; } &&
31483 { ac_try
='test -s conftest.$ac_objext'
31484 { (case "(($ac_try" in
31485 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31486 *) ac_try_echo=$ac_try;;
31488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31489 (eval "$ac_try") 2>&5
31491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31492 (exit $ac_status); }; }; then
31493 ac_cv_type_uint64_t=yes
31495 echo "$as_me: failed program was:" >&5
31496 sed 's/^/| /' conftest.$ac_ext >&5
31498 ac_cv_type_uint64_t=no
31501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31503 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
31504 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
31505 if test $ac_cv_type_uint64_t = yes; then
31507 cat >>confdefs.h <<_ACEOF
31508 #define HAVE_UINT64_T 1
31513 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
31514 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
31515 if test "${ac_cv_type_u_int64_t+set}" = set; then
31516 echo $ECHO_N "(cached) $ECHO_C" >&6
31518 cat >conftest.$ac_ext <<_ACEOF
31521 cat confdefs.h >>conftest.$ac_ext
31522 cat >>conftest.$ac_ext <<_ACEOF
31523 /* end confdefs.h. */
31524 $ac_includes_default
31525 typedef u_int64_t ac__type_new_;
31529 if ((ac__type_new_ *) 0)
31531 if (sizeof (ac__type_new_))
31537 rm -f conftest.$ac_objext
31538 if { (ac_try="$ac_compile"
31539 case "(($ac_try" in
31540 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31541 *) ac_try_echo
=$ac_try;;
31543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31544 (eval "$ac_compile") 2>conftest.er1
31546 grep -v '^ *+' conftest.er1
>conftest.err
31548 cat conftest.err
>&5
31549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31550 (exit $ac_status); } &&
31551 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31552 { (case "(($ac_try" in
31553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31554 *) ac_try_echo=$ac_try;;
31556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31557 (eval "$ac_try") 2>&5
31559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31560 (exit $ac_status); }; } &&
31561 { ac_try='test -s conftest.$ac_objext'
31562 { (case "(($ac_try" in
31563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31564 *) ac_try_echo
=$ac_try;;
31566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31567 (eval "$ac_try") 2>&5
31569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31570 (exit $ac_status); }; }; then
31571 ac_cv_type_u_int64_t
=yes
31573 echo "$as_me: failed program was:" >&5
31574 sed 's/^/| /' conftest.
$ac_ext >&5
31576 ac_cv_type_u_int64_t
=no
31579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31581 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
31582 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
31583 if test $ac_cv_type_u_int64_t = yes; then
31585 cat >>confdefs.h
<<_ACEOF
31586 #define HAVE_U_INT64_T 1
31591 { { echo "$as_me:$LINENO: error: Type uint64_t or u_int64_t required but not found" >&5
31592 echo "$as_me: error: Type uint64_t or u_int64_t required but not found" >&2;}
31593 { (exit 1); exit 1; }; }
31607 for ac_func
in backtrace ceilf floorf roundf rintf nearbyintf getcwd
31609 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31610 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31612 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31613 echo $ECHO_N "(cached) $ECHO_C" >&6
31615 cat >conftest.
$ac_ext <<_ACEOF
31618 cat confdefs.h
>>conftest.
$ac_ext
31619 cat >>conftest.
$ac_ext <<_ACEOF
31620 /* end confdefs.h. */
31621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31623 #define $ac_func innocuous_$ac_func
31625 /* System header to define __stub macros and hopefully few prototypes,
31626 which can conflict with char $ac_func (); below.
31627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31628 <limits.h> exists even on freestanding compilers. */
31631 # include <limits.h>
31633 # include <assert.h>
31638 /* Override any GCC internal prototype to avoid an error.
31639 Use char because int might match the return type of a GCC
31640 builtin and then its argument prototype would still apply. */
31645 /* The GNU C library defines this for functions which it implements
31646 to always fail with ENOSYS. Some functions are actually named
31647 something starting with __ and the normal name is an alias. */
31648 #if defined __stub_$ac_func || defined __stub___$ac_func
31655 return $ac_func ();
31660 rm -f conftest.
$ac_objext conftest
$ac_exeext
31661 if { (ac_try
="$ac_link"
31662 case "(($ac_try" in
31663 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31664 *) ac_try_echo=$ac_try;;
31666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31667 (eval "$ac_link") 2>conftest.er1
31669 grep -v '^ *+' conftest.er1 >conftest.err
31671 cat conftest.err >&5
31672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31673 (exit $ac_status); } &&
31674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31675 { (case "(($ac_try" in
31676 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31677 *) ac_try_echo
=$ac_try;;
31679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31680 (eval "$ac_try") 2>&5
31682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31683 (exit $ac_status); }; } &&
31684 { ac_try
='test -s conftest$ac_exeext'
31685 { (case "(($ac_try" in
31686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31687 *) ac_try_echo=$ac_try;;
31689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31690 (eval "$ac_try") 2>&5
31692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693 (exit $ac_status); }; }; then
31694 eval "$as_ac_var=yes"
31696 echo "$as_me: failed program was:" >&5
31697 sed 's/^/| /' conftest.$ac_ext >&5
31699 eval "$as_ac_var=no"
31702 rm -f core conftest.err conftest.$ac_objext \
31703 conftest$ac_exeext conftest.$ac_ext
31705 ac_res=`eval echo '${'$as_ac_var'}'`
31706 { echo "$as_me:$LINENO: result: $ac_res" >&5
31707 echo "${ECHO_T}$ac_res" >&6; }
31708 if test `eval echo '${'$as_ac_var'}'` = yes; then
31709 cat >>confdefs.h <<_ACEOF
31710 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
31720 for ac_func in powf fmodf strtof round
31722 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
31723 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31725 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31726 echo $ECHO_N "(cached) $ECHO_C" >&6
31728 cat >conftest.$ac_ext <<_ACEOF
31731 cat confdefs.h >>conftest.$ac_ext
31732 cat >>conftest.$ac_ext <<_ACEOF
31733 /* end confdefs.h. */
31734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31736 #define $ac_func innocuous_$ac_func
31738 /* System header to define __stub macros and hopefully few prototypes,
31739 which can conflict with char $ac_func (); below.
31740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31741 <limits.h> exists even on freestanding compilers. */
31744 # include <limits.h>
31746 # include <assert.h>
31751 /* Override any GCC internal prototype to avoid an error.
31752 Use char because int might match the return type of a GCC
31753 builtin and then its argument prototype would still apply. */
31758 /* The GNU C library defines this for functions which it implements
31759 to always fail with ENOSYS. Some functions are actually named
31760 something starting with __ and the normal name is an alias. */
31761 #if defined __stub_$ac_func || defined __stub___$ac_func
31768 return $ac_func ();
31773 rm -f conftest.$ac_objext conftest$ac_exeext
31774 if { (ac_try="$ac_link"
31775 case "(($ac_try" in
31776 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31777 *) ac_try_echo
=$ac_try;;
31779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31780 (eval "$ac_link") 2>conftest.er1
31782 grep -v '^ *+' conftest.er1
>conftest.err
31784 cat conftest.err
>&5
31785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31786 (exit $ac_status); } &&
31787 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31788 { (case "(($ac_try" in
31789 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31790 *) ac_try_echo=$ac_try;;
31792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31793 (eval "$ac_try") 2>&5
31795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31796 (exit $ac_status); }; } &&
31797 { ac_try='test -s conftest$ac_exeext'
31798 { (case "(($ac_try" in
31799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31800 *) ac_try_echo
=$ac_try;;
31802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31803 (eval "$ac_try") 2>&5
31805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31806 (exit $ac_status); }; }; then
31807 eval "$as_ac_var=yes"
31809 echo "$as_me: failed program was:" >&5
31810 sed 's/^/| /' conftest.
$ac_ext >&5
31812 eval "$as_ac_var=no"
31815 rm -f core conftest.err conftest.
$ac_objext \
31816 conftest
$ac_exeext conftest.
$ac_ext
31818 ac_res
=`eval echo '${'$as_ac_var'}'`
31819 { echo "$as_me:$LINENO: result: $ac_res" >&5
31820 echo "${ECHO_T}$ac_res" >&6; }
31821 if test `eval echo '${'$as_ac_var'}'` = yes; then
31822 cat >>confdefs.h
<<_ACEOF
31823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31834 for ac_func
in getpagesize getrusage getrlimit setrlimit gettimeofday
31836 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31837 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31839 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31840 echo $ECHO_N "(cached) $ECHO_C" >&6
31842 cat >conftest.
$ac_ext <<_ACEOF
31845 cat confdefs.h
>>conftest.
$ac_ext
31846 cat >>conftest.
$ac_ext <<_ACEOF
31847 /* end confdefs.h. */
31848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31850 #define $ac_func innocuous_$ac_func
31852 /* System header to define __stub macros and hopefully few prototypes,
31853 which can conflict with char $ac_func (); below.
31854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31855 <limits.h> exists even on freestanding compilers. */
31858 # include <limits.h>
31860 # include <assert.h>
31865 /* Override any GCC internal prototype to avoid an error.
31866 Use char because int might match the return type of a GCC
31867 builtin and then its argument prototype would still apply. */
31872 /* The GNU C library defines this for functions which it implements
31873 to always fail with ENOSYS. Some functions are actually named
31874 something starting with __ and the normal name is an alias. */
31875 #if defined __stub_$ac_func || defined __stub___$ac_func
31882 return $ac_func ();
31887 rm -f conftest.
$ac_objext conftest
$ac_exeext
31888 if { (ac_try
="$ac_link"
31889 case "(($ac_try" in
31890 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31891 *) ac_try_echo=$ac_try;;
31893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31894 (eval "$ac_link") 2>conftest.er1
31896 grep -v '^ *+' conftest.er1 >conftest.err
31898 cat conftest.err >&5
31899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31900 (exit $ac_status); } &&
31901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31902 { (case "(($ac_try" in
31903 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31904 *) ac_try_echo
=$ac_try;;
31906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31907 (eval "$ac_try") 2>&5
31909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31910 (exit $ac_status); }; } &&
31911 { ac_try
='test -s conftest$ac_exeext'
31912 { (case "(($ac_try" in
31913 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31914 *) ac_try_echo=$ac_try;;
31916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31917 (eval "$ac_try") 2>&5
31919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31920 (exit $ac_status); }; }; then
31921 eval "$as_ac_var=yes"
31923 echo "$as_me: failed program was:" >&5
31924 sed 's/^/| /' conftest.$ac_ext >&5
31926 eval "$as_ac_var=no"
31929 rm -f core conftest.err conftest.$ac_objext \
31930 conftest$ac_exeext conftest.$ac_ext
31932 ac_res=`eval echo '${'$as_ac_var'}'`
31933 { echo "$as_me:$LINENO: result: $ac_res" >&5
31934 echo "${ECHO_T}$ac_res" >&6; }
31935 if test `eval echo '${'$as_ac_var'}'` = yes; then
31936 cat >>confdefs.h <<_ACEOF
31937 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
31946 for ac_func in isatty mkdtemp mkstemp
31948 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
31949 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31951 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31952 echo $ECHO_N "(cached) $ECHO_C" >&6
31954 cat >conftest.$ac_ext <<_ACEOF
31957 cat confdefs.h >>conftest.$ac_ext
31958 cat >>conftest.$ac_ext <<_ACEOF
31959 /* end confdefs.h. */
31960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31962 #define $ac_func innocuous_$ac_func
31964 /* System header to define __stub macros and hopefully few prototypes,
31965 which can conflict with char $ac_func (); below.
31966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31967 <limits.h> exists even on freestanding compilers. */
31970 # include <limits.h>
31972 # include <assert.h>
31977 /* Override any GCC internal prototype to avoid an error.
31978 Use char because int might match the return type of a GCC
31979 builtin and then its argument prototype would still apply. */
31984 /* The GNU C library defines this for functions which it implements
31985 to always fail with ENOSYS. Some functions are actually named
31986 something starting with __ and the normal name is an alias. */
31987 #if defined __stub_$ac_func || defined __stub___$ac_func
31994 return $ac_func ();
31999 rm -f conftest.$ac_objext conftest$ac_exeext
32000 if { (ac_try="$ac_link"
32001 case "(($ac_try" in
32002 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32003 *) ac_try_echo
=$ac_try;;
32005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32006 (eval "$ac_link") 2>conftest.er1
32008 grep -v '^ *+' conftest.er1
>conftest.err
32010 cat conftest.err
>&5
32011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32012 (exit $ac_status); } &&
32013 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32014 { (case "(($ac_try" in
32015 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32016 *) ac_try_echo=$ac_try;;
32018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32019 (eval "$ac_try") 2>&5
32021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32022 (exit $ac_status); }; } &&
32023 { ac_try='test -s conftest$ac_exeext'
32024 { (case "(($ac_try" in
32025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32026 *) ac_try_echo
=$ac_try;;
32028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32029 (eval "$ac_try") 2>&5
32031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32032 (exit $ac_status); }; }; then
32033 eval "$as_ac_var=yes"
32035 echo "$as_me: failed program was:" >&5
32036 sed 's/^/| /' conftest.
$ac_ext >&5
32038 eval "$as_ac_var=no"
32041 rm -f core conftest.err conftest.
$ac_objext \
32042 conftest
$ac_exeext conftest.
$ac_ext
32044 ac_res
=`eval echo '${'$as_ac_var'}'`
32045 { echo "$as_me:$LINENO: result: $ac_res" >&5
32046 echo "${ECHO_T}$ac_res" >&6; }
32047 if test `eval echo '${'$as_ac_var'}'` = yes; then
32048 cat >>confdefs.h
<<_ACEOF
32049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32060 for ac_func
in mktemp realpath sbrk setrlimit strdup
32062 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32063 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32065 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32066 echo $ECHO_N "(cached) $ECHO_C" >&6
32068 cat >conftest.
$ac_ext <<_ACEOF
32071 cat confdefs.h
>>conftest.
$ac_ext
32072 cat >>conftest.
$ac_ext <<_ACEOF
32073 /* end confdefs.h. */
32074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32076 #define $ac_func innocuous_$ac_func
32078 /* System header to define __stub macros and hopefully few prototypes,
32079 which can conflict with char $ac_func (); below.
32080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32081 <limits.h> exists even on freestanding compilers. */
32084 # include <limits.h>
32086 # include <assert.h>
32091 /* Override any GCC internal prototype to avoid an error.
32092 Use char because int might match the return type of a GCC
32093 builtin and then its argument prototype would still apply. */
32098 /* The GNU C library defines this for functions which it implements
32099 to always fail with ENOSYS. Some functions are actually named
32100 something starting with __ and the normal name is an alias. */
32101 #if defined __stub_$ac_func || defined __stub___$ac_func
32108 return $ac_func ();
32113 rm -f conftest.
$ac_objext conftest
$ac_exeext
32114 if { (ac_try
="$ac_link"
32115 case "(($ac_try" in
32116 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32117 *) ac_try_echo=$ac_try;;
32119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32120 (eval "$ac_link") 2>conftest.er1
32122 grep -v '^ *+' conftest.er1 >conftest.err
32124 cat conftest.err >&5
32125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32126 (exit $ac_status); } &&
32127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32128 { (case "(($ac_try" in
32129 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32130 *) ac_try_echo
=$ac_try;;
32132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32133 (eval "$ac_try") 2>&5
32135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32136 (exit $ac_status); }; } &&
32137 { ac_try
='test -s conftest$ac_exeext'
32138 { (case "(($ac_try" in
32139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32140 *) ac_try_echo=$ac_try;;
32142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32143 (eval "$ac_try") 2>&5
32145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32146 (exit $ac_status); }; }; then
32147 eval "$as_ac_var=yes"
32149 echo "$as_me: failed program was:" >&5
32150 sed 's/^/| /' conftest.$ac_ext >&5
32152 eval "$as_ac_var=no"
32155 rm -f core conftest.err conftest.$ac_objext \
32156 conftest$ac_exeext conftest.$ac_ext
32158 ac_res=`eval echo '${'$as_ac_var'}'`
32159 { echo "$as_me:$LINENO: result: $ac_res" >&5
32160 echo "${ECHO_T}$ac_res" >&6; }
32161 if test `eval echo '${'$as_ac_var'}'` = yes; then
32162 cat >>confdefs.h <<_ACEOF
32163 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
32173 for ac_func in strerror strerror_r strerror_s setenv
32175 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
32176 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32178 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32179 echo $ECHO_N "(cached) $ECHO_C" >&6
32181 cat >conftest.$ac_ext <<_ACEOF
32184 cat confdefs.h >>conftest.$ac_ext
32185 cat >>conftest.$ac_ext <<_ACEOF
32186 /* end confdefs.h. */
32187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32189 #define $ac_func innocuous_$ac_func
32191 /* System header to define __stub macros and hopefully few prototypes,
32192 which can conflict with char $ac_func (); below.
32193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32194 <limits.h> exists even on freestanding compilers. */
32197 # include <limits.h>
32199 # include <assert.h>
32204 /* Override any GCC internal prototype to avoid an error.
32205 Use char because int might match the return type of a GCC
32206 builtin and then its argument prototype would still apply. */
32211 /* The GNU C library defines this for functions which it implements
32212 to always fail with ENOSYS. Some functions are actually named
32213 something starting with __ and the normal name is an alias. */
32214 #if defined __stub_$ac_func || defined __stub___$ac_func
32221 return $ac_func ();
32226 rm -f conftest.$ac_objext conftest$ac_exeext
32227 if { (ac_try="$ac_link"
32228 case "(($ac_try" in
32229 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32230 *) ac_try_echo
=$ac_try;;
32232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32233 (eval "$ac_link") 2>conftest.er1
32235 grep -v '^ *+' conftest.er1
>conftest.err
32237 cat conftest.err
>&5
32238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32239 (exit $ac_status); } &&
32240 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32241 { (case "(($ac_try" in
32242 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32243 *) ac_try_echo=$ac_try;;
32245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32246 (eval "$ac_try") 2>&5
32248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32249 (exit $ac_status); }; } &&
32250 { ac_try='test -s conftest$ac_exeext'
32251 { (case "(($ac_try" in
32252 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32253 *) ac_try_echo
=$ac_try;;
32255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32256 (eval "$ac_try") 2>&5
32258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32259 (exit $ac_status); }; }; then
32260 eval "$as_ac_var=yes"
32262 echo "$as_me: failed program was:" >&5
32263 sed 's/^/| /' conftest.
$ac_ext >&5
32265 eval "$as_ac_var=no"
32268 rm -f core conftest.err conftest.
$ac_objext \
32269 conftest
$ac_exeext conftest.
$ac_ext
32271 ac_res
=`eval echo '${'$as_ac_var'}'`
32272 { echo "$as_me:$LINENO: result: $ac_res" >&5
32273 echo "${ECHO_T}$ac_res" >&6; }
32274 if test `eval echo '${'$as_ac_var'}'` = yes; then
32275 cat >>confdefs.h
<<_ACEOF
32276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32286 for ac_func
in strtoll strtoq sysconf malloc_zone_statistics
32288 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32289 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32291 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32292 echo $ECHO_N "(cached) $ECHO_C" >&6
32294 cat >conftest.
$ac_ext <<_ACEOF
32297 cat confdefs.h
>>conftest.
$ac_ext
32298 cat >>conftest.
$ac_ext <<_ACEOF
32299 /* end confdefs.h. */
32300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32302 #define $ac_func innocuous_$ac_func
32304 /* System header to define __stub macros and hopefully few prototypes,
32305 which can conflict with char $ac_func (); below.
32306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32307 <limits.h> exists even on freestanding compilers. */
32310 # include <limits.h>
32312 # include <assert.h>
32317 /* Override any GCC internal prototype to avoid an error.
32318 Use char because int might match the return type of a GCC
32319 builtin and then its argument prototype would still apply. */
32324 /* The GNU C library defines this for functions which it implements
32325 to always fail with ENOSYS. Some functions are actually named
32326 something starting with __ and the normal name is an alias. */
32327 #if defined __stub_$ac_func || defined __stub___$ac_func
32334 return $ac_func ();
32339 rm -f conftest.
$ac_objext conftest
$ac_exeext
32340 if { (ac_try
="$ac_link"
32341 case "(($ac_try" in
32342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32343 *) ac_try_echo=$ac_try;;
32345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32346 (eval "$ac_link") 2>conftest.er1
32348 grep -v '^ *+' conftest.er1 >conftest.err
32350 cat conftest.err >&5
32351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32352 (exit $ac_status); } &&
32353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32354 { (case "(($ac_try" in
32355 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32356 *) ac_try_echo
=$ac_try;;
32358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32359 (eval "$ac_try") 2>&5
32361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32362 (exit $ac_status); }; } &&
32363 { ac_try
='test -s conftest$ac_exeext'
32364 { (case "(($ac_try" in
32365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32366 *) ac_try_echo=$ac_try;;
32368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32369 (eval "$ac_try") 2>&5
32371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32372 (exit $ac_status); }; }; then
32373 eval "$as_ac_var=yes"
32375 echo "$as_me: failed program was:" >&5
32376 sed 's/^/| /' conftest.$ac_ext >&5
32378 eval "$as_ac_var=no"
32381 rm -f core conftest.err conftest.$ac_objext \
32382 conftest$ac_exeext conftest.$ac_ext
32384 ac_res=`eval echo '${'$as_ac_var'}'`
32385 { echo "$as_me:$LINENO: result: $ac_res" >&5
32386 echo "${ECHO_T}$ac_res" >&6; }
32387 if test `eval echo '${'$as_ac_var'}'` = yes; then
32388 cat >>confdefs.h <<_ACEOF
32389 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
32399 for ac_func in setjmp longjmp sigsetjmp siglongjmp
32401 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
32402 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32404 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32405 echo $ECHO_N "(cached) $ECHO_C" >&6
32407 cat >conftest.$ac_ext <<_ACEOF
32410 cat confdefs.h >>conftest.$ac_ext
32411 cat >>conftest.$ac_ext <<_ACEOF
32412 /* end confdefs.h. */
32413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32415 #define $ac_func innocuous_$ac_func
32417 /* System header to define __stub macros and hopefully few prototypes,
32418 which can conflict with char $ac_func (); below.
32419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32420 <limits.h> exists even on freestanding compilers. */
32423 # include <limits.h>
32425 # include <assert.h>
32430 /* Override any GCC internal prototype to avoid an error.
32431 Use char because int might match the return type of a GCC
32432 builtin and then its argument prototype would still apply. */
32437 /* The GNU C library defines this for functions which it implements
32438 to always fail with ENOSYS. Some functions are actually named
32439 something starting with __ and the normal name is an alias. */
32440 #if defined __stub_$ac_func || defined __stub___$ac_func
32447 return $ac_func ();
32452 rm -f conftest.$ac_objext conftest$ac_exeext
32453 if { (ac_try="$ac_link"
32454 case "(($ac_try" in
32455 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32456 *) ac_try_echo
=$ac_try;;
32458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32459 (eval "$ac_link") 2>conftest.er1
32461 grep -v '^ *+' conftest.er1
>conftest.err
32463 cat conftest.err
>&5
32464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32465 (exit $ac_status); } &&
32466 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32467 { (case "(($ac_try" in
32468 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32469 *) ac_try_echo=$ac_try;;
32471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32472 (eval "$ac_try") 2>&5
32474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32475 (exit $ac_status); }; } &&
32476 { ac_try='test -s conftest$ac_exeext'
32477 { (case "(($ac_try" in
32478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32479 *) ac_try_echo
=$ac_try;;
32481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32482 (eval "$ac_try") 2>&5
32484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32485 (exit $ac_status); }; }; then
32486 eval "$as_ac_var=yes"
32488 echo "$as_me: failed program was:" >&5
32489 sed 's/^/| /' conftest.
$ac_ext >&5
32491 eval "$as_ac_var=no"
32494 rm -f core conftest.err conftest.
$ac_objext \
32495 conftest
$ac_exeext conftest.
$ac_ext
32497 ac_res
=`eval echo '${'$as_ac_var'}'`
32498 { echo "$as_me:$LINENO: result: $ac_res" >&5
32499 echo "${ECHO_T}$ac_res" >&6; }
32500 if test `eval echo '${'$as_ac_var'}'` = yes; then
32501 cat >>confdefs.h
<<_ACEOF
32502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32508 { echo "$as_me:$LINENO: checking if printf has the %a format character" >&5
32509 echo $ECHO_N "checking if printf has the %a format character... $ECHO_C" >&6; }
32510 if test "${llvm_cv_c_printf_a+set}" = set; then
32511 echo $ECHO_N "(cached) $ECHO_C" >&6
32514 ac_cpp
='$CPP $CPPFLAGS'
32515 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32516 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32517 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32519 if test "$cross_compiling" = yes; then
32520 llvmac_cv_c_printf_a
=no
32522 cat >conftest.
$ac_ext <<_ACEOF
32526 cat confdefs.h
>>conftest.
$ac_ext
32527 cat >>conftest.
$ac_ext <<_ACEOF
32528 /* end confdefs.h. */
32531 #include <stdlib.h>
32537 volatile double A, B;
32541 sprintf(Buffer, "%a", A);
32545 if (A != 0x1.999999999999ap-4)
32552 rm -f conftest
$ac_exeext
32553 if { (ac_try
="$ac_link"
32554 case "(($ac_try" in
32555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32556 *) ac_try_echo=$ac_try;;
32558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32559 (eval "$ac_link") 2>&5
32561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32562 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32563 { (case "(($ac_try" in
32564 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32565 *) ac_try_echo
=$ac_try;;
32567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32568 (eval "$ac_try") 2>&5
32570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32571 (exit $ac_status); }; }; then
32572 llvm_cv_c_printf_a
=yes
32574 echo "$as_me: program exited with status $ac_status" >&5
32575 echo "$as_me: failed program was:" >&5
32576 sed 's/^/| /' conftest.
$ac_ext >&5
32578 ( exit $ac_status )
32579 llvmac_cv_c_printf_a
=no
32581 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
32586 ac_cpp
='$CPP $CPPFLAGS'
32587 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32588 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32589 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32592 { echo "$as_me:$LINENO: result: $llvm_cv_c_printf_a" >&5
32593 echo "${ECHO_T}$llvm_cv_c_printf_a" >&6; }
32594 if test "$llvm_cv_c_printf_a" = "yes"; then
32596 cat >>confdefs.h
<<\_ACEOF
32597 #define HAVE_PRINTF_A 1
32602 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
32603 # for constant arguments. Useless!
32604 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
32605 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
32606 if test "${ac_cv_working_alloca_h+set}" = set; then
32607 echo $ECHO_N "(cached) $ECHO_C" >&6
32609 cat >conftest.
$ac_ext <<_ACEOF
32612 cat confdefs.h
>>conftest.
$ac_ext
32613 cat >>conftest.
$ac_ext <<_ACEOF
32614 /* end confdefs.h. */
32615 #include <alloca.h>
32619 char *p = (char *) alloca (2 * sizeof (int));
32625 rm -f conftest.
$ac_objext conftest
$ac_exeext
32626 if { (ac_try
="$ac_link"
32627 case "(($ac_try" in
32628 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32629 *) ac_try_echo=$ac_try;;
32631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32632 (eval "$ac_link") 2>conftest.er1
32634 grep -v '^ *+' conftest.er1 >conftest.err
32636 cat conftest.err >&5
32637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32638 (exit $ac_status); } &&
32639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32640 { (case "(($ac_try" in
32641 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32642 *) ac_try_echo
=$ac_try;;
32644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32645 (eval "$ac_try") 2>&5
32647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32648 (exit $ac_status); }; } &&
32649 { ac_try
='test -s conftest$ac_exeext'
32650 { (case "(($ac_try" in
32651 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32652 *) ac_try_echo=$ac_try;;
32654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32655 (eval "$ac_try") 2>&5
32657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32658 (exit $ac_status); }; }; then
32659 ac_cv_working_alloca_h=yes
32661 echo "$as_me: failed program was:" >&5
32662 sed 's/^/| /' conftest.$ac_ext >&5
32664 ac_cv_working_alloca_h=no
32667 rm -f core conftest.err conftest.$ac_objext \
32668 conftest$ac_exeext conftest.$ac_ext
32670 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
32671 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
32672 if test $ac_cv_working_alloca_h = yes; then
32674 cat >>confdefs.h <<\_ACEOF
32675 #define HAVE_ALLOCA_H 1
32680 { echo "$as_me:$LINENO: checking for alloca" >&5
32681 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
32682 if test "${ac_cv_func_alloca_works+set}" = set; then
32683 echo $ECHO_N "(cached) $ECHO_C" >&6
32685 cat >conftest.$ac_ext <<_ACEOF
32688 cat confdefs.h >>conftest.$ac_ext
32689 cat >>conftest.$ac_ext <<_ACEOF
32690 /* end confdefs.h. */
32692 # define alloca __builtin_alloca
32695 # include <malloc.h>
32696 # define alloca _alloca
32699 # include <alloca.h>
32704 # ifndef alloca /* predefined by HP cc +Olibcalls */
32715 char *p = (char *) alloca (1);
32721 rm -f conftest.$ac_objext conftest$ac_exeext
32722 if { (ac_try="$ac_link"
32723 case "(($ac_try" in
32724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32725 *) ac_try_echo
=$ac_try;;
32727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32728 (eval "$ac_link") 2>conftest.er1
32730 grep -v '^ *+' conftest.er1
>conftest.err
32732 cat conftest.err
>&5
32733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32734 (exit $ac_status); } &&
32735 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32736 { (case "(($ac_try" in
32737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32738 *) ac_try_echo=$ac_try;;
32740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32741 (eval "$ac_try") 2>&5
32743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32744 (exit $ac_status); }; } &&
32745 { ac_try='test -s conftest$ac_exeext'
32746 { (case "(($ac_try" in
32747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32748 *) ac_try_echo
=$ac_try;;
32750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32751 (eval "$ac_try") 2>&5
32753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32754 (exit $ac_status); }; }; then
32755 ac_cv_func_alloca_works
=yes
32757 echo "$as_me: failed program was:" >&5
32758 sed 's/^/| /' conftest.
$ac_ext >&5
32760 ac_cv_func_alloca_works
=no
32763 rm -f core conftest.err conftest.
$ac_objext \
32764 conftest
$ac_exeext conftest.
$ac_ext
32766 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
32767 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
32769 if test $ac_cv_func_alloca_works = yes; then
32771 cat >>confdefs.h
<<\_ACEOF
32772 #define HAVE_ALLOCA 1
32776 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
32777 # that cause trouble. Some versions do not even contain alloca or
32778 # contain a buggy version. If you still want to use their alloca,
32779 # use ar to extract alloca.o from them instead of compiling alloca.c.
32781 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
32783 cat >>confdefs.h
<<\_ACEOF
32788 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
32789 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
32790 if test "${ac_cv_os_cray+set}" = set; then
32791 echo $ECHO_N "(cached) $ECHO_C" >&6
32793 cat >conftest.
$ac_ext <<_ACEOF
32796 cat confdefs.h
>>conftest.
$ac_ext
32797 cat >>conftest.
$ac_ext <<_ACEOF
32798 /* end confdefs.h. */
32799 #if defined CRAY && ! defined CRAY2
32806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32807 $EGREP "webecray" >/dev
/null
2>&1; then
32815 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
32816 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
32817 if test $ac_cv_os_cray = yes; then
32818 for ac_func
in _getb67 GETB67 getb67
; do
32819 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32820 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32822 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32823 echo $ECHO_N "(cached) $ECHO_C" >&6
32825 cat >conftest.
$ac_ext <<_ACEOF
32828 cat confdefs.h
>>conftest.
$ac_ext
32829 cat >>conftest.
$ac_ext <<_ACEOF
32830 /* end confdefs.h. */
32831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32833 #define $ac_func innocuous_$ac_func
32835 /* System header to define __stub macros and hopefully few prototypes,
32836 which can conflict with char $ac_func (); below.
32837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32838 <limits.h> exists even on freestanding compilers. */
32841 # include <limits.h>
32843 # include <assert.h>
32848 /* Override any GCC internal prototype to avoid an error.
32849 Use char because int might match the return type of a GCC
32850 builtin and then its argument prototype would still apply. */
32855 /* The GNU C library defines this for functions which it implements
32856 to always fail with ENOSYS. Some functions are actually named
32857 something starting with __ and the normal name is an alias. */
32858 #if defined __stub_$ac_func || defined __stub___$ac_func
32865 return $ac_func ();
32870 rm -f conftest.
$ac_objext conftest
$ac_exeext
32871 if { (ac_try
="$ac_link"
32872 case "(($ac_try" in
32873 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32874 *) ac_try_echo=$ac_try;;
32876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32877 (eval "$ac_link") 2>conftest.er1
32879 grep -v '^ *+' conftest.er1 >conftest.err
32881 cat conftest.err >&5
32882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32883 (exit $ac_status); } &&
32884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32885 { (case "(($ac_try" in
32886 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32887 *) ac_try_echo
=$ac_try;;
32889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32890 (eval "$ac_try") 2>&5
32892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32893 (exit $ac_status); }; } &&
32894 { ac_try
='test -s conftest$ac_exeext'
32895 { (case "(($ac_try" in
32896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32897 *) ac_try_echo=$ac_try;;
32899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32900 (eval "$ac_try") 2>&5
32902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32903 (exit $ac_status); }; }; then
32904 eval "$as_ac_var=yes"
32906 echo "$as_me: failed program was:" >&5
32907 sed 's/^/| /' conftest.$ac_ext >&5
32909 eval "$as_ac_var=no"
32912 rm -f core conftest.err conftest.$ac_objext \
32913 conftest$ac_exeext conftest.$ac_ext
32915 ac_res=`eval echo '${'$as_ac_var'}'`
32916 { echo "$as_me:$LINENO: result: $ac_res" >&5
32917 echo "${ECHO_T}$ac_res" >&6; }
32918 if test `eval echo '${'$as_ac_var'}'` = yes; then
32920 cat >>confdefs.h <<_ACEOF
32921 #define CRAY_STACKSEG_END $ac_func
32930 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
32931 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
32932 if test "${ac_cv_c_stack_direction+set}" = set; then
32933 echo $ECHO_N "(cached) $ECHO_C" >&6
32935 if test "$cross_compiling" = yes; then
32936 ac_cv_c_stack_direction=0
32938 cat >conftest.$ac_ext <<_ACEOF
32941 cat confdefs.h >>conftest.$ac_ext
32942 cat >>conftest.$ac_ext <<_ACEOF
32943 /* end confdefs.h. */
32944 $ac_includes_default
32946 find_stack_direction ()
32948 static char *addr = 0;
32953 return find_stack_direction ();
32956 return (&dummy > addr) ? 1 : -1;
32962 return find_stack_direction () < 0;
32965 rm -f conftest$ac_exeext
32966 if { (ac_try="$ac_link"
32967 case "(($ac_try" in
32968 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32969 *) ac_try_echo
=$ac_try;;
32971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32972 (eval "$ac_link") 2>&5
32974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32975 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
32976 { (case "(($ac_try" in
32977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32978 *) ac_try_echo=$ac_try;;
32980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32981 (eval "$ac_try") 2>&5
32983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32984 (exit $ac_status); }; }; then
32985 ac_cv_c_stack_direction=1
32987 echo "$as_me: program exited with status $ac_status" >&5
32988 echo "$as_me: failed program was:" >&5
32989 sed 's/^/| /' conftest.$ac_ext >&5
32991 ( exit $ac_status )
32992 ac_cv_c_stack_direction=-1
32994 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32999 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
33000 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
33002 cat >>confdefs.h <<_ACEOF
33003 #define STACK_DIRECTION $ac_cv_c_stack_direction
33010 { echo "$as_me:$LINENO: checking for srand48/lrand48/drand48 in <stdlib.h>" >&5
33011 echo $ECHO_N "checking for srand48/lrand48/drand48 in <stdlib.h>... $ECHO_C" >&6; }
33012 if test "${ac_cv_func_rand48+set}" = set; then
33013 echo $ECHO_N "(cached) $ECHO_C" >&6
33016 ac_cpp='$CXXCPP $CPPFLAGS'
33017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33021 cat >conftest.$ac_ext <<_ACEOF
33024 cat confdefs.h >>conftest.$ac_ext
33025 cat >>conftest.$ac_ext <<_ACEOF
33026 /* end confdefs.h. */
33027 #include <stdlib.h>
33031 srand48(0);lrand48();drand48();
33036 rm -f conftest.$ac_objext
33037 if { (ac_try="$ac_compile"
33038 case "(($ac_try" in
33039 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33040 *) ac_try_echo
=$ac_try;;
33042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33043 (eval "$ac_compile") 2>conftest.er1
33045 grep -v '^ *+' conftest.er1
>conftest.err
33047 cat conftest.err
>&5
33048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33049 (exit $ac_status); } &&
33050 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33051 { (case "(($ac_try" in
33052 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33053 *) ac_try_echo=$ac_try;;
33055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33056 (eval "$ac_try") 2>&5
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); }; } &&
33060 { ac_try='test -s conftest.$ac_objext'
33061 { (case "(($ac_try" in
33062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33063 *) ac_try_echo
=$ac_try;;
33065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33066 (eval "$ac_try") 2>&5
33068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33069 (exit $ac_status); }; }; then
33070 ac_cv_func_rand48
=yes
33072 echo "$as_me: failed program was:" >&5
33073 sed 's/^/| /' conftest.
$ac_ext >&5
33075 ac_cv_func_rand48
=no
33078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33080 ac_cpp
='$CPP $CPPFLAGS'
33081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33086 { echo "$as_me:$LINENO: result: $ac_cv_func_rand48" >&5
33087 echo "${ECHO_T}$ac_cv_func_rand48" >&6; }
33089 if test "$ac_cv_func_rand48" = "yes" ; then
33091 cat >>confdefs.h
<<\_ACEOF
33092 #define HAVE_RAND48 1
33098 { echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
33099 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6; }
33100 if test "${ac_cv_cxx_namespaces+set}" = set; then
33101 echo $ECHO_N "(cached) $ECHO_C" >&6
33104 ac_cpp
='$CXXCPP $CPPFLAGS'
33105 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33106 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33107 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33109 cat >conftest.
$ac_ext <<_ACEOF
33112 cat confdefs.h
>>conftest.
$ac_ext
33113 cat >>conftest.
$ac_ext <<_ACEOF
33114 /* end confdefs.h. */
33115 namespace Outer { namespace Inner { int i = 0; }}
33119 using namespace Outer::Inner; return i;
33124 rm -f conftest.
$ac_objext
33125 if { (ac_try
="$ac_compile"
33126 case "(($ac_try" in
33127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33128 *) ac_try_echo=$ac_try;;
33130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33131 (eval "$ac_compile") 2>conftest.er1
33133 grep -v '^ *+' conftest.er1 >conftest.err
33135 cat conftest.err >&5
33136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33137 (exit $ac_status); } &&
33138 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33139 { (case "(($ac_try" in
33140 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33141 *) ac_try_echo
=$ac_try;;
33143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33144 (eval "$ac_try") 2>&5
33146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33147 (exit $ac_status); }; } &&
33148 { ac_try
='test -s conftest.$ac_objext'
33149 { (case "(($ac_try" in
33150 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33151 *) ac_try_echo=$ac_try;;
33153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33154 (eval "$ac_try") 2>&5
33156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33157 (exit $ac_status); }; }; then
33158 ac_cv_cxx_namespaces=yes
33160 echo "$as_me: failed program was:" >&5
33161 sed 's/^/| /' conftest.$ac_ext >&5
33163 ac_cv_cxx_namespaces=no
33166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33168 ac_cpp='$CPP $CPPFLAGS'
33169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33175 { echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
33176 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6; }
33177 if test "$ac_cv_cxx_namespaces" = yes; then
33179 cat >>confdefs.h <<\_ACEOF
33180 #define HAVE_NAMESPACES
33185 { echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
33186 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6; }
33187 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
33188 echo $ECHO_N "(cached) $ECHO_C" >&6
33192 ac_cpp='$CXXCPP $CPPFLAGS'
33193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33197 cat >conftest.$ac_ext <<_ACEOF
33200 cat confdefs.h >>conftest.$ac_ext
33201 cat >>conftest.$ac_ext <<_ACEOF
33202 /* end confdefs.h. */
33203 #include <iterator>
33204 #ifdef HAVE_NAMESPACES
33205 using namespace std;
33210 iterator<int,int,int> t; return 0;
33215 rm -f conftest.$ac_objext
33216 if { (ac_try="$ac_compile"
33217 case "(($ac_try" in
33218 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33219 *) ac_try_echo
=$ac_try;;
33221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33222 (eval "$ac_compile") 2>conftest.er1
33224 grep -v '^ *+' conftest.er1
>conftest.err
33226 cat conftest.err
>&5
33227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33228 (exit $ac_status); } &&
33229 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33230 { (case "(($ac_try" in
33231 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33232 *) ac_try_echo=$ac_try;;
33234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33235 (eval "$ac_try") 2>&5
33237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33238 (exit $ac_status); }; } &&
33239 { ac_try='test -s conftest.$ac_objext'
33240 { (case "(($ac_try" in
33241 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33242 *) ac_try_echo
=$ac_try;;
33244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33245 (eval "$ac_try") 2>&5
33247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33248 (exit $ac_status); }; }; then
33249 ac_cv_cxx_have_std_iterator
=yes
33251 echo "$as_me: failed program was:" >&5
33252 sed 's/^/| /' conftest.
$ac_ext >&5
33254 ac_cv_cxx_have_std_iterator
=no
33257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33259 ac_cpp
='$CPP $CPPFLAGS'
33260 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33261 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33262 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33266 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
33267 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6; }
33268 if test "$ac_cv_cxx_have_std_iterator" = yes
33271 cat >>confdefs.h
<<\_ACEOF
33272 #define HAVE_STD_ITERATOR 1
33277 cat >>confdefs.h
<<\_ACEOF
33278 #define HAVE_STD_ITERATOR 0
33283 { echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
33284 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6; }
33285 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
33286 echo $ECHO_N "(cached) $ECHO_C" >&6
33290 ac_cpp
='$CXXCPP $CPPFLAGS'
33291 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33292 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33293 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33295 cat >conftest.
$ac_ext <<_ACEOF
33298 cat confdefs.h
>>conftest.
$ac_ext
33299 cat >>conftest.
$ac_ext <<_ACEOF
33300 /* end confdefs.h. */
33301 #include <iterator>
33302 #ifdef HAVE_NAMESPACES
33303 using namespace std;
33308 bidirectional_iterator<int,int> t; return 0;
33313 rm -f conftest.
$ac_objext
33314 if { (ac_try
="$ac_compile"
33315 case "(($ac_try" in
33316 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33317 *) ac_try_echo=$ac_try;;
33319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33320 (eval "$ac_compile") 2>conftest.er1
33322 grep -v '^ *+' conftest.er1 >conftest.err
33324 cat conftest.err >&5
33325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33326 (exit $ac_status); } &&
33327 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33328 { (case "(($ac_try" in
33329 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33330 *) ac_try_echo
=$ac_try;;
33332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33333 (eval "$ac_try") 2>&5
33335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33336 (exit $ac_status); }; } &&
33337 { ac_try
='test -s conftest.$ac_objext'
33338 { (case "(($ac_try" in
33339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33340 *) ac_try_echo=$ac_try;;
33342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33343 (eval "$ac_try") 2>&5
33345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33346 (exit $ac_status); }; }; then
33347 ac_cv_cxx_have_bi_iterator=yes
33349 echo "$as_me: failed program was:" >&5
33350 sed 's/^/| /' conftest.$ac_ext >&5
33352 ac_cv_cxx_have_bi_iterator=no
33355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33357 ac_cpp='$CPP $CPPFLAGS'
33358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33364 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
33365 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6; }
33366 if test "$ac_cv_cxx_have_bi_iterator" = yes
33369 cat >>confdefs.h <<\_ACEOF
33370 #define HAVE_BI_ITERATOR 1
33375 cat >>confdefs.h <<\_ACEOF
33376 #define HAVE_BI_ITERATOR 0
33381 { echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
33382 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6; }
33383 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
33384 echo $ECHO_N "(cached) $ECHO_C" >&6
33388 ac_cpp='$CXXCPP $CPPFLAGS'
33389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33393 cat >conftest.$ac_ext <<_ACEOF
33396 cat confdefs.h >>conftest.$ac_ext
33397 cat >>conftest.$ac_ext <<_ACEOF
33398 /* end confdefs.h. */
33399 #include <iterator>
33400 #ifdef HAVE_NAMESPACES
33401 using namespace std;
33406 forward_iterator<int,int> t; return 0;
33411 rm -f conftest.$ac_objext
33412 if { (ac_try="$ac_compile"
33413 case "(($ac_try" in
33414 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33415 *) ac_try_echo
=$ac_try;;
33417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33418 (eval "$ac_compile") 2>conftest.er1
33420 grep -v '^ *+' conftest.er1
>conftest.err
33422 cat conftest.err
>&5
33423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33424 (exit $ac_status); } &&
33425 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33426 { (case "(($ac_try" in
33427 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33428 *) ac_try_echo=$ac_try;;
33430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33431 (eval "$ac_try") 2>&5
33433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33434 (exit $ac_status); }; } &&
33435 { ac_try='test -s conftest.$ac_objext'
33436 { (case "(($ac_try" in
33437 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33438 *) ac_try_echo
=$ac_try;;
33440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33441 (eval "$ac_try") 2>&5
33443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33444 (exit $ac_status); }; }; then
33445 ac_cv_cxx_have_fwd_iterator
=yes
33447 echo "$as_me: failed program was:" >&5
33448 sed 's/^/| /' conftest.
$ac_ext >&5
33450 ac_cv_cxx_have_fwd_iterator
=no
33453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33455 ac_cpp
='$CPP $CPPFLAGS'
33456 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33457 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33458 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33462 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
33463 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6; }
33464 if test "$ac_cv_cxx_have_fwd_iterator" = yes
33467 cat >>confdefs.h
<<\_ACEOF
33468 #define HAVE_FWD_ITERATOR 1
33473 cat >>confdefs.h
<<\_ACEOF
33474 #define HAVE_FWD_ITERATOR 0
33480 { echo "$as_me:$LINENO: checking for isnan in <math.h>" >&5
33481 echo $ECHO_N "checking for isnan in <math.h>... $ECHO_C" >&6; }
33482 if test "${ac_cv_func_isnan_in_math_h+set}" = set; then
33483 echo $ECHO_N "(cached) $ECHO_C" >&6
33486 ac_cpp
='$CXXCPP $CPPFLAGS'
33487 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33488 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33489 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33491 cat >conftest.
$ac_ext <<_ACEOF
33494 cat confdefs.h
>>conftest.
$ac_ext
33495 cat >>conftest.
$ac_ext <<_ACEOF
33496 /* end confdefs.h. */
33506 rm -f conftest.
$ac_objext
33507 if { (ac_try
="$ac_compile"
33508 case "(($ac_try" in
33509 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33510 *) ac_try_echo=$ac_try;;
33512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33513 (eval "$ac_compile") 2>conftest.er1
33515 grep -v '^ *+' conftest.er1 >conftest.err
33517 cat conftest.err >&5
33518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33519 (exit $ac_status); } &&
33520 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33521 { (case "(($ac_try" in
33522 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33523 *) ac_try_echo
=$ac_try;;
33525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33526 (eval "$ac_try") 2>&5
33528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33529 (exit $ac_status); }; } &&
33530 { ac_try
='test -s conftest.$ac_objext'
33531 { (case "(($ac_try" in
33532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33533 *) ac_try_echo=$ac_try;;
33535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33536 (eval "$ac_try") 2>&5
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); }; }; then
33540 ac_cv_func_isnan_in_math_h=yes
33542 echo "$as_me: failed program was:" >&5
33543 sed 's/^/| /' conftest.$ac_ext >&5
33545 ac_cv_func_isnan_in_math_h=no
33548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33550 ac_cpp='$CPP $CPPFLAGS'
33551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33556 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_math_h" >&5
33557 echo "${ECHO_T}$ac_cv_func_isnan_in_math_h" >&6; }
33560 if test "$ac_cv_func_isnan_in_math_h" = "yes" ; then
33562 cat >>confdefs.h <<\_ACEOF
33563 #define HAVE_ISNAN_IN_MATH_H 1
33568 { echo "$as_me:$LINENO: checking for isnan in <cmath>" >&5
33569 echo $ECHO_N "checking for isnan in <cmath>... $ECHO_C" >&6; }
33570 if test "${ac_cv_func_isnan_in_cmath+set}" = set; then
33571 echo $ECHO_N "(cached) $ECHO_C" >&6
33574 ac_cpp='$CXXCPP $CPPFLAGS'
33575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33579 cat >conftest.$ac_ext <<_ACEOF
33582 cat confdefs.h >>conftest.$ac_ext
33583 cat >>conftest.$ac_ext <<_ACEOF
33584 /* end confdefs.h. */
33594 rm -f conftest.$ac_objext
33595 if { (ac_try="$ac_compile"
33596 case "(($ac_try" in
33597 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33598 *) ac_try_echo
=$ac_try;;
33600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33601 (eval "$ac_compile") 2>conftest.er1
33603 grep -v '^ *+' conftest.er1
>conftest.err
33605 cat conftest.err
>&5
33606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33607 (exit $ac_status); } &&
33608 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33609 { (case "(($ac_try" in
33610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33611 *) ac_try_echo=$ac_try;;
33613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33614 (eval "$ac_try") 2>&5
33616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33617 (exit $ac_status); }; } &&
33618 { ac_try='test -s conftest.$ac_objext'
33619 { (case "(($ac_try" in
33620 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33621 *) ac_try_echo
=$ac_try;;
33623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33624 (eval "$ac_try") 2>&5
33626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33627 (exit $ac_status); }; }; then
33628 ac_cv_func_isnan_in_cmath
=yes
33630 echo "$as_me: failed program was:" >&5
33631 sed 's/^/| /' conftest.
$ac_ext >&5
33633 ac_cv_func_isnan_in_cmath
=no
33636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33638 ac_cpp
='$CPP $CPPFLAGS'
33639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33644 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_cmath" >&5
33645 echo "${ECHO_T}$ac_cv_func_isnan_in_cmath" >&6; }
33647 if test "$ac_cv_func_isnan_in_cmath" = "yes" ; then
33649 cat >>confdefs.h
<<\_ACEOF
33650 #define HAVE_ISNAN_IN_CMATH 1
33655 { echo "$as_me:$LINENO: checking for std::isnan in <cmath>" >&5
33656 echo $ECHO_N "checking for std::isnan in <cmath>... $ECHO_C" >&6; }
33657 if test "${ac_cv_func_std_isnan_in_cmath+set}" = set; then
33658 echo $ECHO_N "(cached) $ECHO_C" >&6
33661 ac_cpp
='$CXXCPP $CPPFLAGS'
33662 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33663 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33664 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33666 cat >conftest.
$ac_ext <<_ACEOF
33669 cat confdefs.h
>>conftest.
$ac_ext
33670 cat >>conftest.
$ac_ext <<_ACEOF
33671 /* end confdefs.h. */
33676 float f; std::isnan(f);
33681 rm -f conftest.
$ac_objext
33682 if { (ac_try
="$ac_compile"
33683 case "(($ac_try" in
33684 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33685 *) ac_try_echo=$ac_try;;
33687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33688 (eval "$ac_compile") 2>conftest.er1
33690 grep -v '^ *+' conftest.er1 >conftest.err
33692 cat conftest.err >&5
33693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33694 (exit $ac_status); } &&
33695 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33696 { (case "(($ac_try" in
33697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33698 *) ac_try_echo
=$ac_try;;
33700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33701 (eval "$ac_try") 2>&5
33703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33704 (exit $ac_status); }; } &&
33705 { ac_try
='test -s conftest.$ac_objext'
33706 { (case "(($ac_try" in
33707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33708 *) ac_try_echo=$ac_try;;
33710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33711 (eval "$ac_try") 2>&5
33713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33714 (exit $ac_status); }; }; then
33715 ac_cv_func_std_isnan_in_cmath=yes
33717 echo "$as_me: failed program was:" >&5
33718 sed 's/^/| /' conftest.$ac_ext >&5
33720 ac_cv_func_std_isnan_in_cmath=no
33723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33725 ac_cpp='$CPP $CPPFLAGS'
33726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33731 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isnan_in_cmath" >&5
33732 echo "${ECHO_T}$ac_cv_func_std_isnan_in_cmath" >&6; }
33734 if test "$ac_cv_func_std_isnan_in_cmath" = "yes" ; then
33736 cat >>confdefs.h <<\_ACEOF
33737 #define HAVE_STD_ISNAN_IN_CMATH 1
33743 { echo "$as_me:$LINENO: checking for isinf in <math.h>" >&5
33744 echo $ECHO_N "checking for isinf in <math.h>... $ECHO_C" >&6; }
33745 if test "${ac_cv_func_isinf_in_math_h+set}" = set; then
33746 echo $ECHO_N "(cached) $ECHO_C" >&6
33749 ac_cpp='$CXXCPP $CPPFLAGS'
33750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33754 cat >conftest.$ac_ext <<_ACEOF
33757 cat confdefs.h >>conftest.$ac_ext
33758 cat >>conftest.$ac_ext <<_ACEOF
33759 /* end confdefs.h. */
33769 rm -f conftest.$ac_objext
33770 if { (ac_try="$ac_compile"
33771 case "(($ac_try" in
33772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33773 *) ac_try_echo
=$ac_try;;
33775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33776 (eval "$ac_compile") 2>conftest.er1
33778 grep -v '^ *+' conftest.er1
>conftest.err
33780 cat conftest.err
>&5
33781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33782 (exit $ac_status); } &&
33783 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33784 { (case "(($ac_try" in
33785 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33786 *) ac_try_echo=$ac_try;;
33788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33789 (eval "$ac_try") 2>&5
33791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33792 (exit $ac_status); }; } &&
33793 { ac_try='test -s conftest.$ac_objext'
33794 { (case "(($ac_try" in
33795 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33796 *) ac_try_echo
=$ac_try;;
33798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33799 (eval "$ac_try") 2>&5
33801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33802 (exit $ac_status); }; }; then
33803 ac_cv_func_isinf_in_math_h
=yes
33805 echo "$as_me: failed program was:" >&5
33806 sed 's/^/| /' conftest.
$ac_ext >&5
33808 ac_cv_func_isinf_in_math_h
=no
33811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33813 ac_cpp
='$CPP $CPPFLAGS'
33814 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33815 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33816 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33819 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_math_h" >&5
33820 echo "${ECHO_T}$ac_cv_func_isinf_in_math_h" >&6; }
33822 if test "$ac_cv_func_isinf_in_math_h" = "yes" ; then
33824 cat >>confdefs.h
<<\_ACEOF
33825 #define HAVE_ISINF_IN_MATH_H 1
33830 { echo "$as_me:$LINENO: checking for isinf in <cmath>" >&5
33831 echo $ECHO_N "checking for isinf in <cmath>... $ECHO_C" >&6; }
33832 if test "${ac_cv_func_isinf_in_cmath+set}" = set; then
33833 echo $ECHO_N "(cached) $ECHO_C" >&6
33836 ac_cpp
='$CXXCPP $CPPFLAGS'
33837 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33838 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33839 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33841 cat >conftest.
$ac_ext <<_ACEOF
33844 cat confdefs.h
>>conftest.
$ac_ext
33845 cat >>conftest.
$ac_ext <<_ACEOF
33846 /* end confdefs.h. */
33856 rm -f conftest.
$ac_objext
33857 if { (ac_try
="$ac_compile"
33858 case "(($ac_try" in
33859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33860 *) ac_try_echo=$ac_try;;
33862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33863 (eval "$ac_compile") 2>conftest.er1
33865 grep -v '^ *+' conftest.er1 >conftest.err
33867 cat conftest.err >&5
33868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33869 (exit $ac_status); } &&
33870 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33871 { (case "(($ac_try" in
33872 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33873 *) ac_try_echo
=$ac_try;;
33875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33876 (eval "$ac_try") 2>&5
33878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33879 (exit $ac_status); }; } &&
33880 { ac_try
='test -s conftest.$ac_objext'
33881 { (case "(($ac_try" in
33882 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33883 *) ac_try_echo=$ac_try;;
33885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33886 (eval "$ac_try") 2>&5
33888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33889 (exit $ac_status); }; }; then
33890 ac_cv_func_isinf_in_cmath=yes
33892 echo "$as_me: failed program was:" >&5
33893 sed 's/^/| /' conftest.$ac_ext >&5
33895 ac_cv_func_isinf_in_cmath=no
33898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33900 ac_cpp='$CPP $CPPFLAGS'
33901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33906 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_cmath" >&5
33907 echo "${ECHO_T}$ac_cv_func_isinf_in_cmath" >&6; }
33909 if test "$ac_cv_func_isinf_in_cmath" = "yes" ; then
33911 cat >>confdefs.h <<\_ACEOF
33912 #define HAVE_ISINF_IN_CMATH 1
33917 { echo "$as_me:$LINENO: checking for std::isinf in <cmath>" >&5
33918 echo $ECHO_N "checking for std::isinf in <cmath>... $ECHO_C" >&6; }
33919 if test "${ac_cv_func_std_isinf_in_cmath+set}" = set; then
33920 echo $ECHO_N "(cached) $ECHO_C" >&6
33923 ac_cpp='$CXXCPP $CPPFLAGS'
33924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33928 cat >conftest.$ac_ext <<_ACEOF
33931 cat confdefs.h >>conftest.$ac_ext
33932 cat >>conftest.$ac_ext <<_ACEOF
33933 /* end confdefs.h. */
33938 float f; std::isinf(f)}
33943 rm -f conftest.$ac_objext
33944 if { (ac_try="$ac_compile"
33945 case "(($ac_try" in
33946 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33947 *) ac_try_echo
=$ac_try;;
33949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33950 (eval "$ac_compile") 2>conftest.er1
33952 grep -v '^ *+' conftest.er1
>conftest.err
33954 cat conftest.err
>&5
33955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33956 (exit $ac_status); } &&
33957 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33958 { (case "(($ac_try" in
33959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33960 *) ac_try_echo=$ac_try;;
33962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33963 (eval "$ac_try") 2>&5
33965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33966 (exit $ac_status); }; } &&
33967 { ac_try='test -s conftest.$ac_objext'
33968 { (case "(($ac_try" in
33969 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33970 *) ac_try_echo
=$ac_try;;
33972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33973 (eval "$ac_try") 2>&5
33975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33976 (exit $ac_status); }; }; then
33977 ac_cv_func_std_isinf_in_cmath
=yes
33979 echo "$as_me: failed program was:" >&5
33980 sed 's/^/| /' conftest.
$ac_ext >&5
33982 ac_cv_func_std_isinf_in_cmath
=no
33985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33987 ac_cpp
='$CPP $CPPFLAGS'
33988 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33989 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33990 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33993 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isinf_in_cmath" >&5
33994 echo "${ECHO_T}$ac_cv_func_std_isinf_in_cmath" >&6; }
33996 if test "$ac_cv_func_std_isinf_in_cmath" = "yes" ; then
33998 cat >>confdefs.h
<<\_ACEOF
33999 #define HAVE_STD_ISINF_IN_CMATH 1
34004 { echo "$as_me:$LINENO: checking for finite in <ieeefp.h>" >&5
34005 echo $ECHO_N "checking for finite in <ieeefp.h>... $ECHO_C" >&6; }
34006 if test "${ac_cv_func_finite_in_ieeefp_h+set}" = set; then
34007 echo $ECHO_N "(cached) $ECHO_C" >&6
34010 ac_cpp
='$CXXCPP $CPPFLAGS'
34011 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34012 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34013 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34015 cat >conftest.
$ac_ext <<_ACEOF
34018 cat confdefs.h
>>conftest.
$ac_ext
34019 cat >>conftest.
$ac_ext <<_ACEOF
34020 /* end confdefs.h. */
34021 #include <ieeefp.h>
34025 float f; finite(f);
34030 rm -f conftest.
$ac_objext
34031 if { (ac_try
="$ac_compile"
34032 case "(($ac_try" in
34033 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34034 *) ac_try_echo=$ac_try;;
34036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34037 (eval "$ac_compile") 2>conftest.er1
34039 grep -v '^ *+' conftest.er1 >conftest.err
34041 cat conftest.err >&5
34042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34043 (exit $ac_status); } &&
34044 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34045 { (case "(($ac_try" in
34046 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34047 *) ac_try_echo
=$ac_try;;
34049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34050 (eval "$ac_try") 2>&5
34052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34053 (exit $ac_status); }; } &&
34054 { ac_try
='test -s conftest.$ac_objext'
34055 { (case "(($ac_try" in
34056 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34057 *) ac_try_echo=$ac_try;;
34059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34060 (eval "$ac_try") 2>&5
34062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34063 (exit $ac_status); }; }; then
34064 ac_cv_func_finite_in_ieeefp_h=yes
34066 echo "$as_me: failed program was:" >&5
34067 sed 's/^/| /' conftest.$ac_ext >&5
34069 ac_cv_func_finite_in_ieeefp_h=no
34072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34074 ac_cpp='$CPP $CPPFLAGS'
34075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34080 { echo "$as_me:$LINENO: result: $ac_cv_func_finite_in_ieeefp_h" >&5
34081 echo "${ECHO_T}$ac_cv_func_finite_in_ieeefp_h" >&6; }
34083 if test "$ac_cv_func_finite_in_ieeefp_h" = "yes" ; then
34085 cat >>confdefs.h <<\_ACEOF
34086 #define HAVE_FINITE_IN_IEEEFP_H 1
34093 if test "$llvm_cv_platform_type" = "Unix" ; then
34096 for ac_header in stdlib.h unistd.h
34098 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
34099 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34100 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34102 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34103 echo $ECHO_N "(cached) $ECHO_C" >&6
34105 ac_res=`eval echo '${'$as_ac_Header'}'`
34106 { echo "$as_me:$LINENO: result: $ac_res" >&5
34107 echo "${ECHO_T}$ac_res" >&6; }
34109 # Is the header compilable?
34110 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
34111 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
34112 cat >conftest.$ac_ext <<_ACEOF
34115 cat confdefs.h >>conftest.$ac_ext
34116 cat >>conftest.$ac_ext <<_ACEOF
34117 /* end confdefs.h. */
34118 $ac_includes_default
34119 #include <$ac_header>
34121 rm -f conftest.$ac_objext
34122 if { (ac_try="$ac_compile"
34123 case "(($ac_try" in
34124 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34125 *) ac_try_echo
=$ac_try;;
34127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34128 (eval "$ac_compile") 2>conftest.er1
34130 grep -v '^ *+' conftest.er1
>conftest.err
34132 cat conftest.err
>&5
34133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34134 (exit $ac_status); } &&
34135 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34136 { (case "(($ac_try" in
34137 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34138 *) ac_try_echo=$ac_try;;
34140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34141 (eval "$ac_try") 2>&5
34143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34144 (exit $ac_status); }; } &&
34145 { ac_try='test -s conftest.$ac_objext'
34146 { (case "(($ac_try" in
34147 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34148 *) ac_try_echo
=$ac_try;;
34150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34151 (eval "$ac_try") 2>&5
34153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34154 (exit $ac_status); }; }; then
34155 ac_header_compiler
=yes
34157 echo "$as_me: failed program was:" >&5
34158 sed 's/^/| /' conftest.
$ac_ext >&5
34160 ac_header_compiler
=no
34163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34164 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34165 echo "${ECHO_T}$ac_header_compiler" >&6; }
34167 # Is the header present?
34168 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
34169 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
34170 cat >conftest.
$ac_ext <<_ACEOF
34173 cat confdefs.h
>>conftest.
$ac_ext
34174 cat >>conftest.
$ac_ext <<_ACEOF
34175 /* end confdefs.h. */
34176 #include <$ac_header>
34178 if { (ac_try
="$ac_cpp conftest.$ac_ext"
34179 case "(($ac_try" in
34180 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34181 *) ac_try_echo=$ac_try;;
34183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34184 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34186 grep -v '^ *+' conftest.er1 >conftest.err
34188 cat conftest.err >&5
34189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34190 (exit $ac_status); } >/dev/null; then
34191 if test -s conftest.err; then
34192 ac_cpp_err=$ac_c_preproc_warn_flag
34193 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34200 if test -z "$ac_cpp_err"; then
34201 ac_header_preproc=yes
34203 echo "$as_me: failed program was:" >&5
34204 sed 's/^/| /' conftest.$ac_ext >&5
34206 ac_header_preproc=no
34209 rm -f conftest.err conftest.$ac_ext
34210 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34211 echo "${ECHO_T}$ac_header_preproc" >&6; }
34213 # So? What about this header?
34214 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34216 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34217 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34219 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34220 ac_header_preproc=yes
34223 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34224 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34225 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34226 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34227 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34228 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34229 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34230 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34231 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34232 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34233 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34234 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34236 ## ----------------------------------- ##
34237 ## Report this to llvmbugs@cs.uiuc.edu ##
34238 ## ----------------------------------- ##
34240 ) | sed "s/^/$as_me: WARNING: /" >&2
34243 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34245 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34246 echo $ECHO_N "(cached) $ECHO_C" >&6
34248 eval "$as_ac_Header=\$ac_header_preproc"
34250 ac_res=`eval echo '${'$as_ac_Header'}'`
34251 { echo "$as_me:$LINENO: result: $ac_res" >&5
34252 echo "${ECHO_T}$ac_res" >&6; }
34255 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34256 cat >>confdefs.h <<_ACEOF
34257 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
34265 for ac_func in getpagesize
34267 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
34268 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34270 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34271 echo $ECHO_N "(cached) $ECHO_C" >&6
34273 cat >conftest.$ac_ext <<_ACEOF
34276 cat confdefs.h >>conftest.$ac_ext
34277 cat >>conftest.$ac_ext <<_ACEOF
34278 /* end confdefs.h. */
34279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34281 #define $ac_func innocuous_$ac_func
34283 /* System header to define __stub macros and hopefully few prototypes,
34284 which can conflict with char $ac_func (); below.
34285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34286 <limits.h> exists even on freestanding compilers. */
34289 # include <limits.h>
34291 # include <assert.h>
34296 /* Override any GCC internal prototype to avoid an error.
34297 Use char because int might match the return type of a GCC
34298 builtin and then its argument prototype would still apply. */
34303 /* The GNU C library defines this for functions which it implements
34304 to always fail with ENOSYS. Some functions are actually named
34305 something starting with __ and the normal name is an alias. */
34306 #if defined __stub_$ac_func || defined __stub___$ac_func
34313 return $ac_func ();
34318 rm -f conftest.$ac_objext conftest$ac_exeext
34319 if { (ac_try="$ac_link"
34320 case "(($ac_try" in
34321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34322 *) ac_try_echo
=$ac_try;;
34324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34325 (eval "$ac_link") 2>conftest.er1
34327 grep -v '^ *+' conftest.er1
>conftest.err
34329 cat conftest.err
>&5
34330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34331 (exit $ac_status); } &&
34332 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34333 { (case "(($ac_try" in
34334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34335 *) ac_try_echo=$ac_try;;
34337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34338 (eval "$ac_try") 2>&5
34340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34341 (exit $ac_status); }; } &&
34342 { ac_try='test -s conftest$ac_exeext'
34343 { (case "(($ac_try" in
34344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34345 *) ac_try_echo
=$ac_try;;
34347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34348 (eval "$ac_try") 2>&5
34350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34351 (exit $ac_status); }; }; then
34352 eval "$as_ac_var=yes"
34354 echo "$as_me: failed program was:" >&5
34355 sed 's/^/| /' conftest.
$ac_ext >&5
34357 eval "$as_ac_var=no"
34360 rm -f core conftest.err conftest.
$ac_objext \
34361 conftest
$ac_exeext conftest.
$ac_ext
34363 ac_res
=`eval echo '${'$as_ac_var'}'`
34364 { echo "$as_me:$LINENO: result: $ac_res" >&5
34365 echo "${ECHO_T}$ac_res" >&6; }
34366 if test `eval echo '${'$as_ac_var'}'` = yes; then
34367 cat >>confdefs.h
<<_ACEOF
34368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34374 { echo "$as_me:$LINENO: checking for working mmap" >&5
34375 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
34376 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
34377 echo $ECHO_N "(cached) $ECHO_C" >&6
34379 if test "$cross_compiling" = yes; then
34380 ac_cv_func_mmap_fixed_mapped
=no
34382 cat >conftest.
$ac_ext <<_ACEOF
34385 cat confdefs.h
>>conftest.
$ac_ext
34386 cat >>conftest.
$ac_ext <<_ACEOF
34387 /* end confdefs.h. */
34388 $ac_includes_default
34389 /* malloc might have been renamed as rpl_malloc. */
34392 /* Thanks to Mike Haertel and Jim Avera for this test.
34393 Here is a matrix of mmap possibilities:
34394 mmap private not fixed
34395 mmap private fixed at somewhere currently unmapped
34396 mmap private fixed at somewhere already mapped
34397 mmap shared not fixed
34398 mmap shared fixed at somewhere currently unmapped
34399 mmap shared fixed at somewhere already mapped
34400 For private mappings, we should verify that changes cannot be read()
34401 back from the file, nor mmap's back from the file at a different
34402 address. (There have been systems where private was not correctly
34403 implemented like the infamous i386 svr4.0, and systems where the
34404 VM page cache was not coherent with the file system buffer cache
34405 like early versions of FreeBSD and possibly contemporary NetBSD.)
34406 For shared mappings, we should conversely verify that changes get
34407 propagated back to all the places they're supposed to be.
34409 Grep wants private fixed already mapped.
34410 The main things grep needs to know about mmap are:
34411 * does it exist and is it safe to write into the mmap'd area
34412 * how to use it (BSD variants) */
34415 #include <sys/mman.h>
34417 #if !STDC_HEADERS && !HAVE_STDLIB_H
34421 /* This mess was copied from the GNU getpagesize.h. */
34422 #if !HAVE_GETPAGESIZE
34423 /* Assume that all systems that can run configure have sys/param.h. */
34424 # if !HAVE_SYS_PARAM_H
34425 # define HAVE_SYS_PARAM_H 1
34428 # ifdef _SC_PAGESIZE
34429 # define getpagesize() sysconf(_SC_PAGESIZE)
34430 # else /* no _SC_PAGESIZE */
34431 # if HAVE_SYS_PARAM_H
34432 # include <sys/param.h>
34433 # ifdef EXEC_PAGESIZE
34434 # define getpagesize() EXEC_PAGESIZE
34435 # else /* no EXEC_PAGESIZE */
34437 # define getpagesize() NBPG * CLSIZE
34440 # endif /* no CLSIZE */
34441 # else /* no NBPG */
34443 # define getpagesize() NBPC
34444 # else /* no NBPC */
34446 # define getpagesize() PAGESIZE
34447 # endif /* PAGESIZE */
34448 # endif /* no NBPC */
34449 # endif /* no NBPG */
34450 # endif /* no EXEC_PAGESIZE */
34451 # else /* no HAVE_SYS_PARAM_H */
34452 # define getpagesize() 8192 /* punt totally */
34453 # endif /* no HAVE_SYS_PARAM_H */
34454 # endif /* no _SC_PAGESIZE */
34456 #endif /* no HAVE_GETPAGESIZE */
34461 char *data, *data2, *data3;
34465 pagesize = getpagesize ();
34467 /* First, make a file with some known garbage in it. */
34468 data = (char *) malloc (pagesize);
34471 for (i = 0; i < pagesize; ++i)
34472 *(data + i) = rand ();
34474 fd = creat ("conftest.mmap", 0600);
34477 if (write (fd, data, pagesize) != pagesize)
34481 /* Next, try to mmap the file at a fixed address which already has
34482 something else allocated at it. If we can, also make sure that
34483 we see the same garbage. */
34484 fd = open ("conftest.mmap", O_RDWR);
34487 data2 = (char *) malloc (2 * pagesize);
34490 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
34491 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
34492 MAP_PRIVATE | MAP_FIXED, fd, 0L))
34494 for (i = 0; i < pagesize; ++i)
34495 if (*(data + i) != *(data2 + i))
34498 /* Finally, make sure that changes to the mapped area do not
34499 percolate back to the file as seen by read(). (This is a bug on
34500 some variants of i386 svr4.0.) */
34501 for (i = 0; i < pagesize; ++i)
34502 *(data2 + i) = *(data2 + i) + 1;
34503 data3 = (char *) malloc (pagesize);
34506 if (read (fd, data3, pagesize) != pagesize)
34508 for (i = 0; i < pagesize; ++i)
34509 if (*(data + i) != *(data3 + i))
34515 rm -f conftest
$ac_exeext
34516 if { (ac_try
="$ac_link"
34517 case "(($ac_try" in
34518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34519 *) ac_try_echo=$ac_try;;
34521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34522 (eval "$ac_link") 2>&5
34524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34526 { (case "(($ac_try" in
34527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34528 *) ac_try_echo
=$ac_try;;
34530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34531 (eval "$ac_try") 2>&5
34533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34534 (exit $ac_status); }; }; then
34535 ac_cv_func_mmap_fixed_mapped
=yes
34537 echo "$as_me: program exited with status $ac_status" >&5
34538 echo "$as_me: failed program was:" >&5
34539 sed 's/^/| /' conftest.
$ac_ext >&5
34541 ( exit $ac_status )
34542 ac_cv_func_mmap_fixed_mapped
=no
34544 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34549 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
34550 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
34551 if test $ac_cv_func_mmap_fixed_mapped = yes; then
34553 cat >>confdefs.h
<<\_ACEOF
34554 #define HAVE_MMAP 1
34558 rm -f conftest.mmap
34560 { echo "$as_me:$LINENO: checking for mmap of files" >&5
34561 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6; }
34562 if test "${ac_cv_func_mmap_file+set}" = set; then
34563 echo $ECHO_N "(cached) $ECHO_C" >&6
34566 ac_cpp
='$CPP $CPPFLAGS'
34567 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34568 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34569 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34571 if test "$cross_compiling" = yes; then
34572 ac_cv_func_mmap_file
=no
34574 cat >conftest.
$ac_ext <<_ACEOF
34578 cat confdefs.h
>>conftest.
$ac_ext
34579 cat >>conftest.
$ac_ext <<_ACEOF
34580 /* end confdefs.h. */
34582 #include <sys/types.h>
34583 #include <sys/mman.h>
34591 fd = creat ("foo",0777);
34592 fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
34594 return (fd != (int) MAP_FAILED);
34599 rm -f conftest
$ac_exeext
34600 if { (ac_try
="$ac_link"
34601 case "(($ac_try" in
34602 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34603 *) ac_try_echo=$ac_try;;
34605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34606 (eval "$ac_link") 2>&5
34608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34609 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34610 { (case "(($ac_try" in
34611 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34612 *) ac_try_echo
=$ac_try;;
34614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34615 (eval "$ac_try") 2>&5
34617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34618 (exit $ac_status); }; }; then
34619 ac_cv_func_mmap_file
=yes
34621 echo "$as_me: program exited with status $ac_status" >&5
34622 echo "$as_me: failed program was:" >&5
34623 sed 's/^/| /' conftest.
$ac_ext >&5
34625 ( exit $ac_status )
34626 ac_cv_func_mmap_file
=no
34628 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34633 ac_cpp
='$CPP $CPPFLAGS'
34634 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34635 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34636 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34640 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
34641 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6; }
34642 if test "$ac_cv_func_mmap_file" = yes; then
34644 cat >>confdefs.h
<<\_ACEOF
34645 #define HAVE_MMAP_FILE
34652 { echo "$as_me:$LINENO: checking if /dev/zero is needed for mmap" >&5
34653 echo $ECHO_N "checking if /dev/zero is needed for mmap... $ECHO_C" >&6; }
34654 if test "${ac_cv_need_dev_zero_for_mmap+set}" = set; then
34655 echo $ECHO_N "(cached) $ECHO_C" >&6
34657 if test "$llvm_cv_os_type" = "Interix" ; then
34658 ac_cv_need_dev_zero_for_mmap
=yes
34660 ac_cv_need_dev_zero_for_mmap
=no
34664 { echo "$as_me:$LINENO: result: $ac_cv_need_dev_zero_for_mmap" >&5
34665 echo "${ECHO_T}$ac_cv_need_dev_zero_for_mmap" >&6; }
34666 if test "$ac_cv_need_dev_zero_for_mmap" = yes; then
34668 cat >>confdefs.h
<<\_ACEOF
34669 #define NEED_DEV_ZERO_FOR_MMAP 1
34674 if test "$ac_cv_func_mmap_fixed_mapped" = "no"
34676 { echo "$as_me:$LINENO: WARNING: mmap() of a fixed address required but not supported" >&5
34677 echo "$as_me: WARNING: mmap() of a fixed address required but not supported" >&2;}
34679 if test "$ac_cv_func_mmap_file" = "no"
34681 { echo "$as_me:$LINENO: WARNING: mmap() of files required but not found" >&5
34682 echo "$as_me: WARNING: mmap() of files required but not found" >&2;}
34686 { echo "$as_me:$LINENO: checking for GCC atomic builtins" >&5
34687 echo $ECHO_N "checking for GCC atomic builtins... $ECHO_C" >&6; }
34688 cat >conftest.
$ac_ext <<_ACEOF
34691 cat confdefs.h
>>conftest.
$ac_ext
34692 cat >>conftest.
$ac_ext <<_ACEOF
34693 /* end confdefs.h. */
34695 volatile unsigned long val = 1;
34696 __sync_synchronize();
34697 __sync_val_compare_and_swap(&val, 1, 0);
34698 __sync_add_and_fetch(&val, 1);
34699 __sync_sub_and_fetch(&val, 1);
34704 rm -f conftest.
$ac_objext conftest
$ac_exeext
34705 if { (ac_try
="$ac_link"
34706 case "(($ac_try" in
34707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34708 *) ac_try_echo=$ac_try;;
34710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34711 (eval "$ac_link") 2>conftest.er1
34713 grep -v '^ *+' conftest.er1 >conftest.err
34715 cat conftest.err >&5
34716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34717 (exit $ac_status); } &&
34718 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34719 { (case "(($ac_try" in
34720 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34721 *) ac_try_echo
=$ac_try;;
34723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34724 (eval "$ac_try") 2>&5
34726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34727 (exit $ac_status); }; } &&
34728 { ac_try
='test -s conftest$ac_exeext'
34729 { (case "(($ac_try" in
34730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34731 *) ac_try_echo=$ac_try;;
34733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34734 (eval "$ac_try") 2>&5
34736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34737 (exit $ac_status); }; }; then
34738 { echo "$as_me:$LINENO: result: yes" >&5
34739 echo "${ECHO_T}yes" >&6; }
34741 cat >>confdefs.h <<\_ACEOF
34742 #define LLVM_MULTITHREADED 1
34746 echo "$as_me: failed program was:" >&5
34747 sed 's/^/| /' conftest.$ac_ext >&5
34749 { echo "$as_me:$LINENO: result: no" >&5
34750 echo "${ECHO_T}no" >&6; }
34752 cat >>confdefs.h <<\_ACEOF
34753 #define LLVM_MULTITHREADED 0
34756 { echo "$as_me:$LINENO: WARNING: LLVM will be built thread-unsafe because atomic builtins are missing" >&5
34757 echo "$as_me: WARNING: LLVM will be built thread-unsafe because atomic builtins are missing" >&2;}
34760 rm -f core conftest.err conftest.$ac_objext \
34761 conftest$ac_exeext conftest.$ac_ext
34765 if test "$llvm_cv_os_type" = "Linux" -a "$llvm_cv_target_arch" = "x86_64" ; then
34766 { echo "$as_me:$LINENO: checking for 32-bit userspace on 64-bit system" >&5
34767 echo $ECHO_N "checking for 32-bit userspace on 64-bit system... $ECHO_C" >&6; }
34768 if test "${llvm_cv_linux_mixed+set}" = set; then
34769 echo $ECHO_N "(cached) $ECHO_C" >&6
34772 ac_cpp='$CPP $CPPFLAGS'
34773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34777 cat >conftest.$ac_ext <<_ACEOF
34780 cat confdefs.h >>conftest.$ac_ext
34781 cat >>conftest.$ac_ext <<_ACEOF
34782 /* end confdefs.h. */
34784 error: Not x86-64 even if uname says so!
34795 rm -f conftest.$ac_objext
34796 if { (ac_try="$ac_compile"
34797 case "(($ac_try" in
34798 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34799 *) ac_try_echo
=$ac_try;;
34801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34802 (eval "$ac_compile") 2>conftest.er1
34804 grep -v '^ *+' conftest.er1
>conftest.err
34806 cat conftest.err
>&5
34807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34808 (exit $ac_status); } &&
34809 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34810 { (case "(($ac_try" in
34811 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34812 *) ac_try_echo=$ac_try;;
34814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34815 (eval "$ac_try") 2>&5
34817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34818 (exit $ac_status); }; } &&
34819 { ac_try='test -s conftest.$ac_objext'
34820 { (case "(($ac_try" in
34821 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34822 *) ac_try_echo
=$ac_try;;
34824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34825 (eval "$ac_try") 2>&5
34827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34828 (exit $ac_status); }; }; then
34829 llvm_cv_linux_mixed
=no
34831 echo "$as_me: failed program was:" >&5
34832 sed 's/^/| /' conftest.
$ac_ext >&5
34834 llvm_cv_linux_mixed
=yes
34837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34839 ac_cpp
='$CPP $CPPFLAGS'
34840 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34841 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34842 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34846 { echo "$as_me:$LINENO: result: $llvm_cv_linux_mixed" >&5
34847 echo "${ECHO_T}$llvm_cv_linux_mixed" >&6; }
34849 if test "$llvm_cv_linux_mixed" = "yes"; then
34850 llvm_cv_target_arch
="x86"
34856 for ac_func
in __dso_handle
34858 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34859 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34861 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34862 echo $ECHO_N "(cached) $ECHO_C" >&6
34864 cat >conftest.
$ac_ext <<_ACEOF
34867 cat confdefs.h
>>conftest.
$ac_ext
34868 cat >>conftest.
$ac_ext <<_ACEOF
34869 /* end confdefs.h. */
34870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34872 #define $ac_func innocuous_$ac_func
34874 /* System header to define __stub macros and hopefully few prototypes,
34875 which can conflict with char $ac_func (); below.
34876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34877 <limits.h> exists even on freestanding compilers. */
34880 # include <limits.h>
34882 # include <assert.h>
34887 /* Override any GCC internal prototype to avoid an error.
34888 Use char because int might match the return type of a GCC
34889 builtin and then its argument prototype would still apply. */
34894 /* The GNU C library defines this for functions which it implements
34895 to always fail with ENOSYS. Some functions are actually named
34896 something starting with __ and the normal name is an alias. */
34897 #if defined __stub_$ac_func || defined __stub___$ac_func
34904 return $ac_func ();
34909 rm -f conftest.
$ac_objext conftest
$ac_exeext
34910 if { (ac_try
="$ac_link"
34911 case "(($ac_try" in
34912 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34913 *) ac_try_echo=$ac_try;;
34915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34916 (eval "$ac_link") 2>conftest.er1
34918 grep -v '^ *+' conftest.er1 >conftest.err
34920 cat conftest.err >&5
34921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34922 (exit $ac_status); } &&
34923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34924 { (case "(($ac_try" in
34925 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34926 *) ac_try_echo
=$ac_try;;
34928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34929 (eval "$ac_try") 2>&5
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); }; } &&
34933 { ac_try
='test -s conftest$ac_exeext'
34934 { (case "(($ac_try" in
34935 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34936 *) ac_try_echo=$ac_try;;
34938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34939 (eval "$ac_try") 2>&5
34941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34942 (exit $ac_status); }; }; then
34943 eval "$as_ac_var=yes"
34945 echo "$as_me: failed program was:" >&5
34946 sed 's/^/| /' conftest.$ac_ext >&5
34948 eval "$as_ac_var=no"
34951 rm -f core conftest.err conftest.$ac_objext \
34952 conftest$ac_exeext conftest.$ac_ext
34954 ac_res=`eval echo '${'$as_ac_var'}'`
34955 { echo "$as_me:$LINENO: result: $ac_res" >&5
34956 echo "${ECHO_T}$ac_res" >&6; }
34957 if test `eval echo '${'$as_ac_var'}'` = yes; then
34958 cat >>confdefs.h <<_ACEOF
34959 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
34966 { echo "$as_me:$LINENO: checking whether llvm-gcc is sane" >&5
34967 echo $ECHO_N "checking whether llvm-gcc is sane... $ECHO_C" >&6; }
34968 if test "${llvm_cv_llvmgcc_sanity+set}" = set; then
34969 echo $ECHO_N "(cached) $ECHO_C" >&6
34971 llvm_cv_llvmgcc_sanity="no"
34972 if test -x "$LLVMGCC" ; then
34973 cp /dev/null conftest.c
34974 "$LLVMGCC" -emit-llvm -S -o - conftest.c | \
34975 grep 'target datalayout =' > /dev/null 2>&1
34976 if test $? -eq 0 ; then
34977 llvm_cv_llvmgcc_sanity="yes"
34982 { echo "$as_me:$LINENO: result: $llvm_cv_llvmgcc_sanity" >&5
34983 echo "${ECHO_T}$llvm_cv_llvmgcc_sanity" >&6; }
34985 if test "$llvm_cv_llvmgcc_sanity" = "yes" ; then
34986 { echo "$as_me:$LINENO: checking llvm-gcc component support" >&5
34987 echo $ECHO_N "checking llvm-gcc component support... $ECHO_C" >&6; }
34988 llvmcc1path=`"$LLVMGCC" --print-prog-name=cc1
`
34989 LLVMCC1=$llvmcc1path
34991 llvmcc1pluspath=`"$LLVMGCC" --print-prog-name=cc1plus
`
34992 LLVMCC1PLUS=$llvmcc1pluspath
34994 llvmgccdir=`echo "$llvmcc1path" |
sed 's,/libexec/.*,,'`
34995 LLVMGCCDIR=$llvmgccdir
34997 llvmgcclibexec=`echo "$llvmcc1path" |
sed 's,/cc1,,'`
34998 LLVMGCCLIBEXEC=$llvmgcclibexec
35000 llvmgccversion=`"$LLVMGCC" -dumpversion 2>&1 |
sed 's/^\([0-9.]*\).*/\1/'`
35001 llvmgccmajvers=`echo $llvmgccversion |
sed 's/^\([0-9]\).*/\1/'`
35002 LLVMGCC_VERSION=$llvmgccversion
35004 LLVMGCC_MAJVERS=$llvmgccmajvers
35006 llvmgcclangs=`"$LLVMGCC" -v --help 2>&1 |
grep '^Configured with:' |
sed 's/^.*--enable-languages=\([^ ]*\).*/\1/'`
35007 LLVMGCC_LANGS=$llvmgcclangs
35009 { echo "$as_me:$LINENO: result: ok" >&5
35010 echo "${ECHO_T}ok" >&6; }
35013 SHLIBEXT=$libltdl_cv_shlibext
35016 # Translate the various configuration directories and other basic
35017 # information into substitutions that will end up in Makefile.config.in
35018 # that these configured values can be used by the makefiles
35019 if test "${prefix}" = "NONE" ; then
35020 prefix="/usr/local"
35022 eval LLVM_PREFIX="${prefix}";
35023 eval LLVM_BINDIR="${prefix}/bin";
35024 eval LLVM_LIBDIR="${prefix}/lib";
35025 eval LLVM_DATADIR="${prefix}/share/llvm";
35026 eval LLVM_DOCSDIR="${prefix}/docs/llvm";
35027 eval LLVM_ETCDIR="${prefix}/etc/llvm";
35028 eval LLVM_INCLUDEDIR="${prefix}/include";
35029 eval LLVM_INFODIR="${prefix}/info";
35030 eval LLVM_MANDIR="${prefix}/man";
35031 LLVM_CONFIGTIME=`date`
35043 # Place the various directores into the config.h file as #defines so that we
35044 # can know about the installation paths within LLVM.
35046 cat >>confdefs.h <<_ACEOF
35047 #define LLVM_PREFIX "$LLVM_PREFIX"
35051 cat >>confdefs.h <<_ACEOF
35052 #define LLVM_BINDIR "$LLVM_BINDIR"
35056 cat >>confdefs.h <<_ACEOF
35057 #define LLVM_LIBDIR "$LLVM_LIBDIR"
35061 cat >>confdefs.h <<_ACEOF
35062 #define LLVM_DATADIR "$LLVM_DATADIR"
35066 cat >>confdefs.h <<_ACEOF
35067 #define LLVM_DOCSDIR "$LLVM_DOCSDIR"
35071 cat >>confdefs.h <<_ACEOF
35072 #define LLVM_ETCDIR "$LLVM_ETCDIR"
35076 cat >>confdefs.h <<_ACEOF
35077 #define LLVM_INCLUDEDIR "$LLVM_INCLUDEDIR"
35081 cat >>confdefs.h <<_ACEOF
35082 #define LLVM_INFODIR "$LLVM_INFODIR"
35086 cat >>confdefs.h <<_ACEOF
35087 #define LLVM_MANDIR "$LLVM_MANDIR"
35091 cat >>confdefs.h <<_ACEOF
35092 #define LLVM_CONFIGTIME "$LLVM_CONFIGTIME"
35096 cat >>confdefs.h <<_ACEOF
35097 #define LLVM_HOSTTRIPLE "$host"
35101 # Determine which bindings to build.
35102 if test "$BINDINGS_TO_BUILD" = auto ; then
35103 BINDINGS_TO_BUILD=""
35104 if test "x$OCAMLC" != x -a "x$OCAMLDEP" != x ; then
35105 BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD"
35108 BINDINGS_TO_BUILD=$BINDINGS_TO_BUILD
35111 # This isn't really configurey, but it avoids having to repeat the list in
35116 # Do any work necessary to ensure that bindings have what they need.
35117 binding_prereqs_failed=0
35118 for a_binding in $BINDINGS_TO_BUILD ; do
35119 case "$a_binding" in
35121 if test "x$OCAMLC" = x ; then
35122 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&5
35123 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&2;}
35124 binding_prereqs_failed=1
35126 if test "x$OCAMLDEP" = x ; then
35127 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&5
35128 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&2;}
35129 binding_prereqs_failed=1
35131 if test "x$OCAMLOPT" = x ; then
35132 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&5
35133 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&2;}
35135 if test "x$with_ocaml_libdir" != xauto ; then
35136 OCAML_LIBDIR=$with_ocaml_libdir
35139 ocaml_stdlib="`"$OCAMLC" -where`"
35140 if test "$LLVM_PREFIX" '<' "$ocaml_stdlib" -a "$ocaml_stdlib" '<' "$LLVM_PREFIX~"
35142 # ocaml stdlib is beneath our prefix; use stdlib
35143 OCAML_LIBDIR=$ocaml_stdlib
35146 # ocaml stdlib is outside our prefix; use libdir/ocaml
35147 OCAML_LIBDIR=$LLVM_LIBDIR/ocaml
35154 if test "$binding_prereqs_failed" = 1 ; then
35155 { { echo "$as_me:$LINENO: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&5
35156 echo "$as_me: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&2;}
35157 { (exit 1); exit 1; }; }
35160 { echo "$as_me:$LINENO: checking for compiler -fvisibility-inlines-hidden option" >&5
35161 echo $ECHO_N "checking for compiler -fvisibility-inlines-hidden option... $ECHO_C" >&6; }
35162 if test "${llvm_cv_cxx_visibility_inlines_hidden+set}" = set; then
35163 echo $ECHO_N "(cached) $ECHO_C" >&6
35166 ac_cpp='$CXXCPP $CPPFLAGS'
35167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35171 oldcxxflags="$CXXFLAGS"
35172 CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
35173 cat >conftest.$ac_ext <<_ACEOF
35176 cat confdefs.h >>conftest.$ac_ext
35177 cat >>conftest.$ac_ext <<_ACEOF
35178 /* end confdefs.h. */
35188 rm -f conftest.$ac_objext
35189 if { (ac_try="$ac_compile"
35190 case "(($ac_try" in
35191 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
35192 *) ac_try_echo
=$ac_try;;
35194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35195 (eval "$ac_compile") 2>conftest.er1
35197 grep -v '^ *+' conftest.er1
>conftest.err
35199 cat conftest.err
>&5
35200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35201 (exit $ac_status); } &&
35202 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35203 { (case "(($ac_try" in
35204 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
35205 *) ac_try_echo=$ac_try;;
35207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35208 (eval "$ac_try") 2>&5
35210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35211 (exit $ac_status); }; } &&
35212 { ac_try='test -s conftest.$ac_objext'
35213 { (case "(($ac_try" in
35214 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
35215 *) ac_try_echo
=$ac_try;;
35217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35218 (eval "$ac_try") 2>&5
35220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35221 (exit $ac_status); }; }; then
35222 llvm_cv_cxx_visibility_inlines_hidden
=yes
35224 echo "$as_me: failed program was:" >&5
35225 sed 's/^/| /' conftest.
$ac_ext >&5
35227 llvm_cv_cxx_visibility_inlines_hidden
=no
35230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35231 CXXFLAGS
="$oldcxxflags"
35233 ac_cpp
='$CPP $CPPFLAGS'
35234 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35235 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35236 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35240 { echo "$as_me:$LINENO: result: $llvm_cv_cxx_visibility_inlines_hidden" >&5
35241 echo "${ECHO_T}$llvm_cv_cxx_visibility_inlines_hidden" >&6; }
35242 if test "$llvm_cv_cxx_visibility_inlines_hidden" = yes ; then
35243 ENABLE_VISIBILITY_INLINES_HIDDEN
=1
35246 ENABLE_VISIBILITY_INLINES_HIDDEN
=0
35251 if test "$llvm_cv_link_use_r" = "yes" ; then
35258 if test "$llvm_cv_link_use_export_dynamic" = "yes" ; then
35259 RDYNAMIC
="-Wl,-export-dynamic"
35266 ac_config_headers
="$ac_config_headers include/llvm/Config/config.h"
35268 ac_config_files
="$ac_config_files include/llvm/Config/Targets.def"
35270 ac_config_files
="$ac_config_files include/llvm/Config/AsmPrinters.def"
35272 ac_config_files
="$ac_config_files include/llvm/Config/AsmParsers.def"
35274 ac_config_headers
="$ac_config_headers include/llvm/System/DataTypes.h"
35277 ac_config_files
="$ac_config_files Makefile.config"
35280 ac_config_files
="$ac_config_files llvm.spec"
35283 ac_config_files
="$ac_config_files docs/doxygen.cfg"
35286 ac_config_files
="$ac_config_files tools/llvmc/plugins/Base/Base.td"
35289 ac_config_files
="$ac_config_files tools/llvm-config/llvm-config.in"
35292 ac_config_commands
="$ac_config_commands setup"
35294 ac_config_commands
="$ac_config_commands Makefile"
35297 ac_config_commands
="$ac_config_commands Makefile.common"
35300 ac_config_commands
="$ac_config_commands examples/Makefile"
35303 ac_config_commands
="$ac_config_commands lib/Makefile"
35306 ac_config_commands
="$ac_config_commands runtime/Makefile"
35309 ac_config_commands
="$ac_config_commands test/Makefile"
35312 ac_config_commands
="$ac_config_commands test/Makefile.tests"
35315 ac_config_commands
="$ac_config_commands unittests/Makefile"
35318 ac_config_commands
="$ac_config_commands tools/Makefile"
35321 ac_config_commands
="$ac_config_commands utils/Makefile"
35324 ac_config_commands
="$ac_config_commands projects/Makefile"
35327 ac_config_commands
="$ac_config_commands bindings/Makefile"
35330 ac_config_commands
="$ac_config_commands bindings/ocaml/Makefile.ocaml"
35334 cat >confcache
<<\_ACEOF
35335 # This file is a shell script that caches the results of configure
35336 # tests run on this system so they can be shared between configure
35337 # scripts and configure runs, see configure's option --config-cache.
35338 # It is not useful on other systems. If it contains results you don't
35339 # want to keep, you may remove or edit it.
35341 # config.status only pays attention to the cache file if you give it
35342 # the --recheck option to rerun configure.
35344 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35345 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35346 # following values.
35350 # The following way of writing the cache mishandles newlines in values,
35351 # but we know of no workaround that is simple, portable, and efficient.
35352 # So, we kill variables containing newlines.
35353 # Ultrix sh set writes to stderr and can't be redirected directly,
35354 # and sets the high bit in the cache file unless we assign to the vars.
35356 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
35357 eval ac_val
=\$
$ac_var
35361 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
35362 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
35365 _ | IFS | as_nl
) ;; #(
35366 *) $as_unset $ac_var ;;
35372 case $as_nl`(ac_space=' '; set) 2>&1` in #(
35373 *${as_nl}ac_space
=\
*)
35374 # `set' does not quote correctly, so add quotes (double-quote
35375 # substitution turns \\\\ into \\, and sed turns \\ into \).
35378 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35381 # `set' quotes correctly as required by POSIX, so do not add quotes.
35382 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
35391 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35393 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35395 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
35396 if test -w "$cache_file"; then
35397 test "x$cache_file" != "x/dev/null" &&
35398 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
35399 echo "$as_me: updating cache $cache_file" >&6;}
35400 cat confcache
>$cache_file
35402 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
35403 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
35408 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
35409 # Let make expand exec_prefix.
35410 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
35412 DEFS
=-DHAVE_CONFIG_H
35416 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
35417 # 1. Remove the extension, and $U if already installed.
35418 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
35419 ac_i
=`echo "$ac_i" | sed "$ac_script"`
35420 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
35421 # will be set to the directory where LIBOBJS objects are built.
35422 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
35423 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
35425 LIBOBJS
=$ac_libobjs
35427 LTLIBOBJS
=$ac_ltlibobjs
35430 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
35431 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
35432 Usually this means the macro was only invoked conditionally." >&5
35433 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
35434 Usually this means the macro was only invoked conditionally." >&2;}
35435 { (exit 1); exit 1; }; }
35437 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
35438 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
35439 Usually this means the macro was only invoked conditionally." >&5
35440 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
35441 Usually this means the macro was only invoked conditionally." >&2;}
35442 { (exit 1); exit 1; }; }
35445 : ${CONFIG_STATUS=./config.status}
35446 ac_clean_files_save
=$ac_clean_files
35447 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
35448 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35449 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35450 cat >$CONFIG_STATUS <<_ACEOF
35452 # Generated by $as_me.
35453 # Run this file to recreate the current configuration.
35454 # Compiler output produced by configure, useful for debugging
35455 # configure, is in config.log if it exists.
35458 ac_cs_recheck=false
35460 SHELL=\${CONFIG_SHELL-$SHELL}
35463 cat >>$CONFIG_STATUS <<\_ACEOF
35464 ## --------------------- ##
35465 ## M4sh Initialization. ##
35466 ## --------------------- ##
35468 # Be Bourne compatible
35469 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
35472 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35473 # is contrary to our usage. Disable this feature.
35474 alias -g '${1+"$@"}'='"$@"'
35475 setopt NO_GLOB_SUBST
35477 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
35479 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
35480 DUALCASE
=1; export DUALCASE
# for MKS sh
35484 # Avoid depending upon Character Ranges.
35485 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35486 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35487 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35488 as_cr_digits
='0123456789'
35489 as_cr_alnum
=$as_cr_Letters$as_cr_digits
35491 # The user is always right.
35492 if test "${PATH_SEPARATOR+set}" != set; then
35493 echo "#! /bin/sh" >conf$$.sh
35494 echo "exit 0" >>conf$$.sh
35496 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
35504 # Support unset when possible.
35505 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
35513 # We need space, tab and new line, in precisely that order. Quoting is
35514 # there to prevent editors from complaining about space-tab.
35515 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
35516 # splitting by setting IFS to empty value.)
35521 # Find who we are. Look in the path if we contain no directory separator.
35523 *[\\/]* ) as_myself
=$0 ;;
35524 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35525 for as_dir
in $PATH
35528 test -z "$as_dir" && as_dir
=.
35529 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
35535 # We did not find ourselves, most probably we were run as `sh COMMAND'
35536 # in which case we are not to be found in the path.
35537 if test "x$as_myself" = x
; then
35540 if test ! -f "$as_myself"; then
35541 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
35542 { (exit 1); exit 1; }
35545 # Work around bugs in pre-3.0 UWIN ksh.
35546 for as_var
in ENV MAIL MAILPATH
35547 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
35555 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35556 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35557 LC_TELEPHONE LC_TIME
35559 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
35560 eval $as_var=C
; export $as_var
35562 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
35566 # Required to use basename.
35567 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
35568 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
35574 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
35575 as_basename
=basename
35581 # Name of the executable.
35582 as_me
=`$as_basename -- "$0" ||
35583 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35584 X"$0" : 'X\(//\)$' \| \
35585 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
35587 sed '/^.*\/\([^/][^/]*\)\/*$/{
35606 as_lineno_1
=$LINENO
35607 as_lineno_2
=$LINENO
35608 test "x$as_lineno_1" != "x$as_lineno_2" &&
35609 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
35611 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35612 # uniformly replaced by the line number. The first 'sed' inserts a
35613 # line-number line after each line using $LINENO; the second 'sed'
35614 # does the real work. The second script uses 'N' to pair each
35615 # line-number line with the line containing $LINENO, and appends
35616 # trailing '-' during substitution so that $LINENO is not a special
35617 # case at line end.
35618 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35619 # scripts with optimization help from Paolo Bonzini. Blame Lee
35620 # E. McMahon (1931-1989) for sed's syntax. :-)
35632 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
35635 ' >$as_me.lineno
&&
35636 chmod +x
"$as_me.lineno" ||
35637 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
35638 { (exit 1); exit 1; }; }
35640 # Don't try to exec as it changes $[0], causing all sort of problems
35641 # (the dirname of $[0] is not the place where we might find the
35642 # original and so on. Autoconf is especially sensitive to this).
35643 .
"./$as_me.lineno"
35644 # Exit status is that of the last command.
35649 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
35655 ECHO_C
= ECHO_N
= ECHO_T
=
35656 case `echo -n x` in
35658 case `echo 'x\c'` in
35659 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
35666 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
35667 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
35673 rm -f conf$$ conf$$.exe conf$$.
file
35674 if test -d conf$$.dir
; then
35675 rm -f conf$$.dir
/conf$$.
file
35681 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
35683 # ... but there are two gotchas:
35684 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
35685 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
35686 # In both cases, we have to default to `cp -p'.
35687 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
35689 elif ln conf$$.
file conf$$
2>/dev
/null
; then
35694 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
35695 rmdir conf$$.dir
2>/dev
/null
35697 if mkdir
-p .
2>/dev
/null
; then
35700 test -d .
/-p && rmdir .
/-p
35704 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
35705 # systems may use methods other than mode bits to determine executability.
35706 cat >conf$$.
file <<_ASEOF
35710 chmod +x conf$$.
file
35711 if test -x conf$$.
file >/dev
/null
2>&1; then
35712 as_executable_p
="test -x"
35718 # Sed expression to map a string onto a valid CPP name.
35719 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
35721 # Sed expression to map a string onto a valid variable name.
35722 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
35727 # Save the log message, to keep $[0] and so on meaningful, and to
35728 # report actual input values of CONFIG_FILES etc. instead of their
35729 # values after options handling.
35731 This file was extended by llvm $as_me 2.7svn, which was
35732 generated by GNU Autoconf 2.60. Invocation command line was
35734 CONFIG_FILES = $CONFIG_FILES
35735 CONFIG_HEADERS = $CONFIG_HEADERS
35736 CONFIG_LINKS = $CONFIG_LINKS
35737 CONFIG_COMMANDS = $CONFIG_COMMANDS
35740 on `(hostname || uname -n) 2>/dev/null | sed 1q`
35745 cat >>$CONFIG_STATUS <<_ACEOF
35746 # Files that config.status was made for.
35747 config_files="$ac_config_files"
35748 config_headers="$ac_config_headers"
35749 config_commands="$ac_config_commands"
35753 cat >>$CONFIG_STATUS <<\_ACEOF
35755 \`$as_me' instantiates files from templates according to the
35756 current configuration.
35758 Usage: $0 [OPTIONS] [FILE]...
35760 -h, --help print this help, then exit
35761 -V, --version print version number, then exit
35762 -q, --quiet do not print progress messages
35763 -d, --debug don't remove temporary files
35764 --recheck update $as_me by reconfiguring in the same conditions
35765 --file=FILE[:TEMPLATE]
35766 instantiate the configuration file FILE
35767 --header=FILE[:TEMPLATE]
35768 instantiate the configuration header FILE
35770 Configuration files:
35773 Configuration headers:
35776 Configuration commands:
35779 Report bugs to <bug-autoconf@gnu.org>."
35782 cat >>$CONFIG_STATUS <<_ACEOF
35784 llvm config.status 2.7svn
35785 configured by $0, generated by GNU Autoconf 2.60,
35786 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
35788 Copyright (C) 2006 Free Software Foundation, Inc.
35789 This config.status script is free software; the Free Software Foundation
35790 gives unlimited permission to copy, distribute and modify it."
35797 cat >>$CONFIG_STATUS <<\_ACEOF
35798 # If no file are specified by the user, then we need to provide default
35799 # value. By we need to know if files were specified by the user.
35805 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
35806 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
35817 # Handling of the options.
35818 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
35820 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
35821 echo "$ac_cs_version"; exit ;;
35822 --debug |
--debu |
--deb |
--de |
--d |
-d )
35824 --file |
--fil |
--fi |
--f )
35826 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
35827 ac_need_defaults
=false
;;
35828 --header |
--heade |
--head |
--hea )
35830 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
35831 ac_need_defaults
=false
;;
35833 # Conflict between --help and --header
35834 { echo "$as_me: error: ambiguous option: $1
35835 Try \`$0 --help' for more information." >&2
35836 { (exit 1); exit 1; }; };;
35837 --help |
--hel |
-h )
35838 echo "$ac_cs_usage"; exit ;;
35839 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
35840 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
35843 # This is an error.
35844 -*) { echo "$as_me: error: unrecognized option: $1
35845 Try \`$0 --help' for more information." >&2
35846 { (exit 1); exit 1; }; } ;;
35848 *) ac_config_targets
="$ac_config_targets $1"
35849 ac_need_defaults
=false
;;
35855 ac_configure_extra_args
=
35857 if $ac_cs_silent; then
35859 ac_configure_extra_args
="$ac_configure_extra_args --silent"
35863 cat >>$CONFIG_STATUS <<_ACEOF
35864 if \$ac_cs_recheck; then
35865 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35866 CONFIG_SHELL=$SHELL
35867 export CONFIG_SHELL
35868 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35872 cat >>$CONFIG_STATUS <<\_ACEOF
35876 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35877 ## Running $as_me. ##
35883 cat >>$CONFIG_STATUS <<_ACEOF
35887 llvm_src="${srcdir}"
35891 cat >>$CONFIG_STATUS <<\_ACEOF
35893 # Handling of arguments.
35894 for ac_config_target
in $ac_config_targets
35896 case $ac_config_target in
35897 "include/llvm/Config/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Config/config.h" ;;
35898 "include/llvm/Config/Targets.def") CONFIG_FILES
="$CONFIG_FILES include/llvm/Config/Targets.def" ;;
35899 "include/llvm/Config/AsmPrinters.def") CONFIG_FILES
="$CONFIG_FILES include/llvm/Config/AsmPrinters.def" ;;
35900 "include/llvm/Config/AsmParsers.def") CONFIG_FILES
="$CONFIG_FILES include/llvm/Config/AsmParsers.def" ;;
35901 "include/llvm/System/DataTypes.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/System/DataTypes.h" ;;
35902 "Makefile.config") CONFIG_FILES
="$CONFIG_FILES Makefile.config" ;;
35903 "llvm.spec") CONFIG_FILES
="$CONFIG_FILES llvm.spec" ;;
35904 "docs/doxygen.cfg") CONFIG_FILES
="$CONFIG_FILES docs/doxygen.cfg" ;;
35905 "tools/llvmc/plugins/Base/Base.td") CONFIG_FILES
="$CONFIG_FILES tools/llvmc/plugins/Base/Base.td" ;;
35906 "tools/llvm-config/llvm-config.in") CONFIG_FILES
="$CONFIG_FILES tools/llvm-config/llvm-config.in" ;;
35907 "setup") CONFIG_COMMANDS
="$CONFIG_COMMANDS setup" ;;
35908 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
35909 "Makefile.common") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile.common" ;;
35910 "examples/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS examples/Makefile" ;;
35911 "lib/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS lib/Makefile" ;;
35912 "runtime/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS runtime/Makefile" ;;
35913 "test/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile" ;;
35914 "test/Makefile.tests") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile.tests" ;;
35915 "unittests/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS unittests/Makefile" ;;
35916 "tools/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/Makefile" ;;
35917 "utils/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS utils/Makefile" ;;
35918 "projects/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS projects/Makefile" ;;
35919 "bindings/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS bindings/Makefile" ;;
35920 "bindings/ocaml/Makefile.ocaml") CONFIG_COMMANDS
="$CONFIG_COMMANDS bindings/ocaml/Makefile.ocaml" ;;
35922 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35923 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35924 { (exit 1); exit 1; }; };;
35929 # If the user did not use the arguments to specify the items to instantiate,
35930 # then the envvar interface is used. Set only those that are not.
35931 # We use the long form for the default assignment because of an extremely
35932 # bizarre bug on SunOS 4.1.3.
35933 if $ac_need_defaults; then
35934 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
35935 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
35936 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
35939 # Have a temporary directory for convenience. Make it in the build tree
35940 # simply because there is no reason against having it here, and in addition,
35941 # creating and moving files from /tmp can sometimes cause problems.
35942 # Hook for its removal unless debugging.
35943 # Note that there is a small window in which the directory will not be cleaned:
35944 # after its creation but before its name has been assigned to `$tmp'.
35948 trap 'exit_status=$?
35949 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
35951 trap '{ (exit 1); exit 1; }' 1 2 13 15
35953 # Create a (secure) tmp directory for tmp files.
35956 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
35957 test -n "$tmp" && test -d "$tmp"
35960 tmp
=.
/conf$$
-$RANDOM
35961 (umask 077 && mkdir
"$tmp")
35964 echo "$me: cannot create a temporary directory in ." >&2
35965 { (exit 1); exit 1; }
35969 # Set up the sed scripts for CONFIG_FILES section.
35972 # No need to generate the scripts if there are no CONFIG_FILES.
35973 # This happens for instance when ./config.status config.h
35974 if test -n "$CONFIG_FILES"; then
35981 for ac_last_try
in false false false false false
:; do
35982 cat >conf$
$subs.
sed <<_ACEOF
35983 SHELL!$SHELL$ac_delim
35984 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
35985 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
35986 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
35987 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
35988 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
35989 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
35990 exec_prefix!$exec_prefix$ac_delim
35991 prefix!$prefix$ac_delim
35992 program_transform_name!$program_transform_name$ac_delim
35993 bindir!$bindir$ac_delim
35994 sbindir!$sbindir$ac_delim
35995 libexecdir!$libexecdir$ac_delim
35996 datarootdir!$datarootdir$ac_delim
35997 datadir!$datadir$ac_delim
35998 sysconfdir!$sysconfdir$ac_delim
35999 sharedstatedir!$sharedstatedir$ac_delim
36000 localstatedir!$localstatedir$ac_delim
36001 includedir!$includedir$ac_delim
36002 oldincludedir!$oldincludedir$ac_delim
36003 docdir!$docdir$ac_delim
36004 infodir!$infodir$ac_delim
36005 htmldir!$htmldir$ac_delim
36006 dvidir!$dvidir$ac_delim
36007 pdfdir!$pdfdir$ac_delim
36008 psdir!$psdir$ac_delim
36009 libdir!$libdir$ac_delim
36010 localedir!$localedir$ac_delim
36011 mandir!$mandir$ac_delim
36012 DEFS!$DEFS$ac_delim
36013 ECHO_C!$ECHO_C$ac_delim
36014 ECHO_N!$ECHO_N$ac_delim
36015 ECHO_T!$ECHO_T$ac_delim
36016 LIBS!$LIBS$ac_delim
36017 build_alias!$build_alias$ac_delim
36018 host_alias!$host_alias$ac_delim
36019 target_alias!$target_alias$ac_delim
36020 LLVM_COPYRIGHT!$LLVM_COPYRIGHT$ac_delim
36021 subdirs!$subdirs$ac_delim
36022 build!$build$ac_delim
36023 build_cpu!$build_cpu$ac_delim
36024 build_vendor!$build_vendor$ac_delim
36025 build_os!$build_os$ac_delim
36026 host!$host$ac_delim
36027 host_cpu!$host_cpu$ac_delim
36028 host_vendor!$host_vendor$ac_delim
36029 host_os!$host_os$ac_delim
36030 target!$target$ac_delim
36031 target_cpu!$target_cpu$ac_delim
36032 target_vendor!$target_vendor$ac_delim
36033 target_os!$target_os$ac_delim
36035 HOST_OS!$HOST_OS$ac_delim
36036 TARGET_OS!$TARGET_OS$ac_delim
36037 LINKALL!$LINKALL$ac_delim
36038 NOLINKALL!$NOLINKALL$ac_delim
36039 LLVM_ON_UNIX!$LLVM_ON_UNIX$ac_delim
36040 LLVM_ON_WIN32!$LLVM_ON_WIN32$ac_delim
36041 ARCH!$ARCH$ac_delim
36042 ENDIAN!$ENDIAN$ac_delim
36044 CFLAGS!$CFLAGS$ac_delim
36045 LDFLAGS!$LDFLAGS$ac_delim
36046 CPPFLAGS!$CPPFLAGS$ac_delim
36047 ac_ct_CC!$ac_ct_CC$ac_delim
36048 EXEEXT!$EXEEXT$ac_delim
36049 OBJEXT!$OBJEXT$ac_delim
36051 GREP!$GREP$ac_delim
36052 EGREP!$EGREP$ac_delim
36053 LLVM_CROSS_COMPILING!$LLVM_CROSS_COMPILING$ac_delim
36054 BUILD_CC!$BUILD_CC$ac_delim
36055 BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
36056 BUILD_CXX!$BUILD_CXX$ac_delim
36057 CVSBUILD!$CVSBUILD$ac_delim
36058 ENABLE_OPTIMIZED!$ENABLE_OPTIMIZED$ac_delim
36059 ENABLE_PROFILING!$ENABLE_PROFILING$ac_delim
36060 DISABLE_ASSERTIONS!$DISABLE_ASSERTIONS$ac_delim
36061 ENABLE_EXPENSIVE_CHECKS!$ENABLE_EXPENSIVE_CHECKS$ac_delim
36062 EXPENSIVE_CHECKS!$EXPENSIVE_CHECKS$ac_delim
36063 DEBUG_RUNTIME!$DEBUG_RUNTIME$ac_delim
36064 DEBUG_SYMBOLS!$DEBUG_SYMBOLS$ac_delim
36066 TARGET_HAS_JIT!$TARGET_HAS_JIT$ac_delim
36067 ENABLE_DOXYGEN!$ENABLE_DOXYGEN$ac_delim
36068 ENABLE_THREADS!$ENABLE_THREADS$ac_delim
36069 ENABLE_PIC!$ENABLE_PIC$ac_delim
36070 TARGETS_TO_BUILD!$TARGETS_TO_BUILD$ac_delim
36071 LLVM_ENUM_TARGETS!$LLVM_ENUM_TARGETS$ac_delim
36072 LLVM_ENUM_ASM_PRINTERS!$LLVM_ENUM_ASM_PRINTERS$ac_delim
36073 LLVM_ENUM_ASM_PARSERS!$LLVM_ENUM_ASM_PARSERS$ac_delim
36074 ENABLE_CBE_PRINTF_A!$ENABLE_CBE_PRINTF_A$ac_delim
36075 EXTRA_OPTIONS!$EXTRA_OPTIONS$ac_delim
36076 BINUTILS_INCDIR!$BINUTILS_INCDIR$ac_delim
36077 ENABLE_LLVMC_DYNAMIC!$ENABLE_LLVMC_DYNAMIC$ac_delim
36078 ENABLE_LLVMC_DYNAMIC_PLUGINS!$ENABLE_LLVMC_DYNAMIC_PLUGINS$ac_delim
36082 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
36084 elif $ac_last_try; then
36085 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
36086 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
36087 { (exit 1); exit 1; }; }
36089 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
36093 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
36094 if test -n "$ac_eof"; then
36095 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
36096 ac_eof
=`expr $ac_eof + 1`
36099 cat >>$CONFIG_STATUS <<_ACEOF
36100 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
36101 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
36104 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
36105 s/^/s,@/; s/!/@,|#_!!_#|/
36108 s/'"$ac_delim"'$/,g/; t
36110 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
36111 ' >>$CONFIG_STATUS <conf$
$subs.
sed
36112 rm -f conf$
$subs.
sed
36113 cat >>$CONFIG_STATUS <<_ACEOF
36119 for ac_last_try
in false false false false false
:; do
36120 cat >conf$
$subs.
sed <<_ACEOF
36121 CXXFLAGS!$CXXFLAGS$ac_delim
36122 ac_ct_CXX!$ac_ct_CXX$ac_delim
36124 ifGNUmake!$ifGNUmake$ac_delim
36125 LN_S!$LN_S$ac_delim
36128 DATE!$DATE$ac_delim
36129 FIND!$FIND$ac_delim
36130 MKDIR!$MKDIR$ac_delim
36132 RANLIB!$RANLIB$ac_delim
36136 BINPWD!$BINPWD$ac_delim
36137 GRAPHVIZ!$GRAPHVIZ$ac_delim
36140 NEATO!$NEATO$ac_delim
36141 TWOPI!$TWOPI$ac_delim
36142 CIRCO!$CIRCO$ac_delim
36144 DOTTY!$DOTTY$ac_delim
36145 PERL!$PERL$ac_delim
36146 HAVE_PERL!$HAVE_PERL$ac_delim
36147 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
36148 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
36149 INSTALL_DATA!$INSTALL_DATA$ac_delim
36150 BZIP2!$BZIP2$ac_delim
36151 DOXYGEN!$DOXYGEN$ac_delim
36152 GROFF!$GROFF$ac_delim
36153 GZIP!$GZIP$ac_delim
36154 POD2HTML!$POD2HTML$ac_delim
36155 POD2MAN!$POD2MAN$ac_delim
36156 RUNTEST!$RUNTEST$ac_delim
36157 TCLSH!$TCLSH$ac_delim
36159 OCAMLC!$OCAMLC$ac_delim
36160 OCAMLOPT!$OCAMLOPT$ac_delim
36161 OCAMLDEP!$OCAMLDEP$ac_delim
36162 OCAMLDOC!$OCAMLDOC$ac_delim
36164 INSTALL_LTDL_TRUE!$INSTALL_LTDL_TRUE$ac_delim
36165 INSTALL_LTDL_FALSE!$INSTALL_LTDL_FALSE$ac_delim
36166 CONVENIENCE_LTDL_TRUE!$CONVENIENCE_LTDL_TRUE$ac_delim
36167 CONVENIENCE_LTDL_FALSE!$CONVENIENCE_LTDL_FALSE$ac_delim
36168 LIBADD_DL!$LIBADD_DL$ac_delim
36169 ECHO!$ECHO$ac_delim
36171 STRIP!$STRIP$ac_delim
36172 CXXCPP!$CXXCPP$ac_delim
36174 FFLAGS!$FFLAGS$ac_delim
36175 ac_ct_F77!$ac_ct_F77$ac_delim
36176 LIBTOOL!$LIBTOOL$ac_delim
36177 LLVMGCCCOMMAND!$LLVMGCCCOMMAND$ac_delim
36178 LLVMGXXCOMMAND!$LLVMGXXCOMMAND$ac_delim
36179 LLVMGCC!$LLVMGCC$ac_delim
36180 LLVMGXX!$LLVMGXX$ac_delim
36181 NO_VARIADIC_MACROS!$NO_VARIADIC_MACROS$ac_delim
36182 NO_MISSING_FIELD_INITIALIZERS!$NO_MISSING_FIELD_INITIALIZERS$ac_delim
36183 USE_UDIS86!$USE_UDIS86$ac_delim
36184 USE_OPROFILE!$USE_OPROFILE$ac_delim
36185 HAVE_PTHREAD!$HAVE_PTHREAD$ac_delim
36186 HUGE_VAL_SANITY!$HUGE_VAL_SANITY$ac_delim
36187 ALLOCA!$ALLOCA$ac_delim
36188 MMAP_FILE!$MMAP_FILE$ac_delim
36189 LLVMCC1!$LLVMCC1$ac_delim
36190 LLVMCC1PLUS!$LLVMCC1PLUS$ac_delim
36191 LLVMGCCDIR!$LLVMGCCDIR$ac_delim
36192 LLVMGCCLIBEXEC!$LLVMGCCLIBEXEC$ac_delim
36193 LLVMGCC_VERSION!$LLVMGCC_VERSION$ac_delim
36194 LLVMGCC_MAJVERS!$LLVMGCC_MAJVERS$ac_delim
36195 LLVMGCC_LANGS!$LLVMGCC_LANGS$ac_delim
36196 SHLIBEXT!$SHLIBEXT$ac_delim
36197 LLVM_PREFIX!$LLVM_PREFIX$ac_delim
36198 LLVM_BINDIR!$LLVM_BINDIR$ac_delim
36199 LLVM_LIBDIR!$LLVM_LIBDIR$ac_delim
36200 LLVM_DATADIR!$LLVM_DATADIR$ac_delim
36201 LLVM_DOCSDIR!$LLVM_DOCSDIR$ac_delim
36202 LLVM_ETCDIR!$LLVM_ETCDIR$ac_delim
36203 LLVM_INCLUDEDIR!$LLVM_INCLUDEDIR$ac_delim
36204 LLVM_INFODIR!$LLVM_INFODIR$ac_delim
36205 LLVM_MANDIR!$LLVM_MANDIR$ac_delim
36206 LLVM_CONFIGTIME!$LLVM_CONFIGTIME$ac_delim
36207 BINDINGS_TO_BUILD!$BINDINGS_TO_BUILD$ac_delim
36208 ALL_BINDINGS!$ALL_BINDINGS$ac_delim
36209 OCAML_LIBDIR!$OCAML_LIBDIR$ac_delim
36210 ENABLE_VISIBILITY_INLINES_HIDDEN!$ENABLE_VISIBILITY_INLINES_HIDDEN$ac_delim
36211 RPATH!$RPATH$ac_delim
36212 RDYNAMIC!$RDYNAMIC$ac_delim
36213 LIBOBJS!$LIBOBJS$ac_delim
36214 LTLIBOBJS!$LTLIBOBJS$ac_delim
36217 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 94; then
36219 elif $ac_last_try; then
36220 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
36221 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
36222 { (exit 1); exit 1; }; }
36224 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
36228 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
36229 if test -n "$ac_eof"; then
36230 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
36231 ac_eof
=`expr $ac_eof + 1`
36234 cat >>$CONFIG_STATUS <<_ACEOF
36235 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
36236 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
36239 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
36240 s/^/s,@/; s/!/@,|#_!!_#|/
36243 s/'"$ac_delim"'$/,g/; t
36245 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
36246 ' >>$CONFIG_STATUS <conf$
$subs.
sed
36247 rm -f conf$
$subs.
sed
36248 cat >>$CONFIG_STATUS <<_ACEOF
36255 # VPATH may cause trouble with some makes, so we remove $(srcdir),
36256 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
36257 # trailing colons and then remove the whole line if VPATH becomes empty
36258 # (actually we leave an empty line to preserve line numbers).
36259 if test "x$srcdir" = x.
; then
36260 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
36261 s/:*\$(srcdir):*/:/
36262 s/:*\${srcdir}:*/:/
36264 s/^\([^=]*=[ ]*\):*/\1/
36270 cat >>$CONFIG_STATUS <<\_ACEOF
36271 fi # test -n "$CONFIG_FILES"
36274 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
36277 :[FHLC
]) ac_mode
=$ac_tag; continue;;
36279 case $ac_mode$ac_tag in
36281 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
36282 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
36283 { (exit 1); exit 1; }; };;
36284 :[FH
]-) ac_tag
=-:-;;
36285 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
36302 -) ac_f
="$tmp/stdin";;
36303 *) # Look for the file first in the build tree, then in the source tree
36304 # (if the path is not absolute). The absolute path cannot be DOS-style,
36305 # because $ac_f cannot contain `:'.
36309 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
36311 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
36312 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
36313 { (exit 1); exit 1; }; };;
36315 ac_file_inputs
="$ac_file_inputs $ac_f"
36318 # Let's still pretend it is `configure' which instantiates (i.e., don't
36319 # use $as_me), people would be surprised to read:
36320 # /* config.h. Generated by config.status. */
36321 configure_input
="Generated from "`IFS=:
36322 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
36323 if test x
"$ac_file" != x-
; then
36324 configure_input
="$ac_file. $configure_input"
36325 { echo "$as_me:$LINENO: creating $ac_file" >&5
36326 echo "$as_me: creating $ac_file" >&6;}
36330 *:-:* |
*:-) cat >"$tmp/stdin";;
36335 ac_dir
=`$as_dirname -- "$ac_file" ||
36336 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36337 X"$ac_file" : 'X\(//\)[^/]' \| \
36338 X"$ac_file" : 'X\(//\)$' \| \
36339 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
36341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
36345 /^X\(\/\/\)[^/].*/{
36360 -*) as_dir
=.
/$as_dir;;
36362 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
36366 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
36367 *) as_qdir
=$as_dir;;
36369 as_dirs
="'$as_qdir' $as_dirs"
36370 as_dir
=`$as_dirname -- "$as_dir" ||
36371 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36372 X"$as_dir" : 'X\(//\)[^/]' \| \
36373 X"$as_dir" : 'X\(//\)$' \| \
36374 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
36376 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
36380 /^X\(\/\/\)[^/].*/{
36393 test -d "$as_dir" && break
36395 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
36396 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
36397 echo "$as_me: error: cannot create directory $as_dir" >&2;}
36398 { (exit 1); exit 1; }; }; }
36402 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
36404 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36405 # A ".." for each directory in $ac_dir_suffix.
36406 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
36407 case $ac_top_builddir_sub in
36408 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
36409 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
36412 ac_abs_top_builddir
=$ac_pwd
36413 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
36414 # for backward compatibility:
36415 ac_top_builddir
=$ac_top_build_prefix
36418 .
) # We are building in place.
36420 ac_top_srcdir
=$ac_top_builddir_sub
36421 ac_abs_top_srcdir
=$ac_pwd ;;
36422 [\\/]* | ?
:[\\/]* ) # Absolute name.
36423 ac_srcdir
=$srcdir$ac_dir_suffix;
36424 ac_top_srcdir
=$srcdir
36425 ac_abs_top_srcdir
=$srcdir ;;
36426 *) # Relative name.
36427 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
36428 ac_top_srcdir
=$ac_top_build_prefix$srcdir
36429 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
36431 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
36441 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
36442 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
36446 cat >>$CONFIG_STATUS <<\_ACEOF
36447 # If the template does not know about datarootdir, expand it.
36448 # FIXME: This hack should be removed a few years after 2.60.
36449 ac_datarootdir_hack
=; ac_datarootdir_seen
=
36451 case `sed -n '/datarootdir/ {
36460 ' $ac_file_inputs` in
36461 *datarootdir
*) ac_datarootdir_seen
=yes;;
36462 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
36463 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
36464 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
36466 cat >>$CONFIG_STATUS <<_ACEOF
36467 ac_datarootdir_hack='
36468 s&@datadir@&$datadir&g
36469 s&@docdir@&$docdir&g
36470 s&@infodir@&$infodir&g
36471 s&@localedir@&$localedir&g
36472 s&@mandir@&$mandir&g
36473 s&\\\${datarootdir}&$datarootdir&g' ;;
36477 # Neutralize VPATH when `$srcdir' = `.'.
36478 # Shell code in configure.ac might set extrasub.
36479 # FIXME: do we really want to maintain this feature?
36480 cat >>$CONFIG_STATUS <<_ACEOF
36484 cat >>$CONFIG_STATUS <<\_ACEOF
36486 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
36487 s
&@configure_input@
&$configure_input&;t t
36488 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
36489 s
&@srcdir@
&$ac_srcdir&;t t
36490 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
36491 s
&@top_srcdir@
&$ac_top_srcdir&;t t
36492 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
36493 s
&@builddir@
&$ac_builddir&;t t
36494 s
&@abs_builddir@
&$ac_abs_builddir&;t t
36495 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
36496 s
&@INSTALL@
&$ac_INSTALL&;t t
36497 $ac_datarootdir_hack
36498 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
36500 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
36501 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
36502 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
36503 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
36504 which seems to be undefined. Please make sure it is defined." >&5
36505 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
36506 which seems to be undefined. Please make sure it is defined." >&2;}
36510 -) cat "$tmp/out"; rm -f "$tmp/out";;
36511 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
36520 # Transform confdefs.h into a sed script `conftest.defines', that
36521 # substitutes the proper values into config.h.in to produce config.h.
36522 rm -f conftest.defines conftest.
tail
36523 # First, append a space to every undef/define line, to ease matching.
36524 echo 's/$/ /' >conftest.defines
36525 # Then, protect against being on the right side of a sed subst, or in
36526 # an unquoted here document, in config.status. If some macros were
36527 # called several times there might be several #defines for the same
36528 # symbol, which is useless. But do not sort them, since the last
36529 # AC_DEFINE must be honored.
36530 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
36531 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
36532 # NAME is the cpp macro being defined, VALUE is the value it is being given.
36533 # PARAMS is the parameter list in the macro definition--in most cases, it's
36534 # just an empty string.
36535 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
36536 ac_dB
='\\)[ (].*,\\1define\\2'
36544 s/^[ ]*#[ ]*define[ ][ ]*//
36549 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
36550 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
36551 ' >>conftest.defines
36553 # Remove the space that was appended to ease matching.
36554 # Then replace #undef with comments. This is necessary, for
36555 # example, in the case of _POSIX_SOURCE, which is predefined and required
36556 # on some systems where configure will not decide to define it.
36557 # (The regexp can be short, since the line contains either #define or #undef.)
36559 s,^[ #]*u.*,/* & */,' >>conftest.defines
36561 # Break up conftest.defines:
36562 ac_max_sed_lines
=50
36564 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
36565 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
36566 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
36568 ac_in
='$ac_file_inputs'
36569 ac_out
='"$tmp/out1"'
36570 ac_nxt
='"$tmp/out2"'
36574 # Write a here document:
36575 cat >>$CONFIG_STATUS <<_ACEOF
36576 # First, check the format of the line:
36577 cat >"\$tmp/defines.sed" <<\\CEOF
36578 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
36579 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
36583 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
36585 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
36586 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
36587 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
36588 grep . conftest.
tail >/dev
/null ||
break
36589 rm -f conftest.defines
36590 mv conftest.
tail conftest.defines
36592 rm -f conftest.defines conftest.
tail
36594 echo "ac_result=$ac_in" >>$CONFIG_STATUS
36595 cat >>$CONFIG_STATUS <<\_ACEOF
36596 if test x
"$ac_file" != x-
; then
36597 echo "/* $configure_input */" >"$tmp/config.h"
36598 cat "$ac_result" >>"$tmp/config.h"
36599 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
36600 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36601 echo "$as_me: $ac_file is unchanged" >&6;}
36604 mv "$tmp/config.h" $ac_file
36607 echo "/* $configure_input */"
36613 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
36614 echo "$as_me: executing $ac_file commands" >&6;}
36619 case $ac_file$ac_mode in
36620 "Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile`
36621 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/Makefile Makefile
;;
36622 "Makefile.common":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile.common`
36623 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/Makefile.common Makefile.common
;;
36624 "examples/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname examples/Makefile`
36625 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/examples
/Makefile examples
/Makefile
;;
36626 "lib/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname lib/Makefile`
36627 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/lib
/Makefile lib
/Makefile
;;
36628 "runtime/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname runtime/Makefile`
36629 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/runtime
/Makefile runtime
/Makefile
;;
36630 "test/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile`
36631 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/test
/Makefile test
/Makefile
;;
36632 "test/Makefile.tests":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile.tests`
36633 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/test
/Makefile.tests test
/Makefile.tests
;;
36634 "unittests/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname unittests/Makefile`
36635 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/unittests
/Makefile unittests
/Makefile
;;
36636 "tools/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname tools/Makefile`
36637 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/tools
/Makefile tools
/Makefile
;;
36638 "utils/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname utils/Makefile`
36639 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/utils
/Makefile utils
/Makefile
;;
36640 "projects/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname projects/Makefile`
36641 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/projects
/Makefile projects
/Makefile
;;
36642 "bindings/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname bindings/Makefile`
36643 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/bindings
/Makefile bindings
/Makefile
;;
36644 "bindings/ocaml/Makefile.ocaml":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname bindings/ocaml/Makefile.ocaml`
36645 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/bindings
/ocaml
/Makefile.ocaml bindings
/ocaml
/Makefile.ocaml
;;
36651 { (exit 0); exit 0; }
36653 chmod +x
$CONFIG_STATUS
36654 ac_clean_files
=$ac_clean_files_save
36657 # configure is writing to config.log, and then calls config.status.
36658 # config.status does its own redirection, appending to config.log.
36659 # Unfortunately, on DOS this fails, as config.log is still kept open
36660 # by configure, so config.status won't be able to write to it; its
36661 # output is simply discarded. So we exec the FD to /dev/null,
36662 # effectively closing config.log, so it can be properly (re)opened and
36663 # appended to by config.status. When coming back to configure, we
36664 # need to make the FD available again.
36665 if test "$no_create" != yes; then
36667 ac_config_status_args
=
36668 test "$silent" = yes &&
36669 ac_config_status_args
="$ac_config_status_args --quiet"
36671 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
36673 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36674 # would make configure fail if this is the last instruction.
36675 $ac_cs_success ||
{ (exit 1); exit 1; }
36679 # CONFIG_SUBDIRS section.
36681 if test "$no_recursion" != yes; then
36683 # Remove --cache-file and --srcdir arguments so they do not pile up.
36684 ac_sub_configure_args
=
36686 eval "set x $ac_configure_args"
36690 if test -n "$ac_prev"; then
36695 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
36696 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
36697 ac_prev
=cache_file
;;
36698 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
36699 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
36702 --config-cache |
-C)
36704 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
36706 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
36708 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
36710 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
36714 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
36716 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
36720 # Always prepend --prefix to ensure using the same prefix
36721 # in subdir configurations.
36722 ac_arg
="--prefix=$prefix"
36724 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
36726 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
36729 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
36731 # Do not complain, so a configure script can configure whichever
36732 # parts of a large source tree are present.
36733 test -d "$srcdir/$ac_dir" ||
continue
36735 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
36736 echo "$as_me:$LINENO: $ac_msg" >&5
36740 -*) as_dir
=.
/$as_dir;;
36742 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
36746 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
36747 *) as_qdir
=$as_dir;;
36749 as_dirs
="'$as_qdir' $as_dirs"
36750 as_dir
=`$as_dirname -- "$as_dir" ||
36751 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36752 X"$as_dir" : 'X\(//\)[^/]' \| \
36753 X"$as_dir" : 'X\(//\)$' \| \
36754 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
36756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
36760 /^X\(\/\/\)[^/].*/{
36773 test -d "$as_dir" && break
36775 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
36776 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
36777 echo "$as_me: error: cannot create directory $as_dir" >&2;}
36778 { (exit 1); exit 1; }; }; }
36782 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
36784 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36785 # A ".." for each directory in $ac_dir_suffix.
36786 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
36787 case $ac_top_builddir_sub in
36788 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
36789 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
36792 ac_abs_top_builddir
=$ac_pwd
36793 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
36794 # for backward compatibility:
36795 ac_top_builddir
=$ac_top_build_prefix
36798 .
) # We are building in place.
36800 ac_top_srcdir
=$ac_top_builddir_sub
36801 ac_abs_top_srcdir
=$ac_pwd ;;
36802 [\\/]* | ?
:[\\/]* ) # Absolute name.
36803 ac_srcdir
=$srcdir$ac_dir_suffix;
36804 ac_top_srcdir
=$srcdir
36805 ac_abs_top_srcdir
=$srcdir ;;
36806 *) # Relative name.
36807 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
36808 ac_top_srcdir
=$ac_top_build_prefix$srcdir
36809 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
36811 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
36816 # Check for guested configure; otherwise get Cygnus style configure.
36817 if test -f "$ac_srcdir/configure.gnu"; then
36818 ac_sub_configure
=$ac_srcdir/configure.gnu
36819 elif test -f "$ac_srcdir/configure"; then
36820 ac_sub_configure
=$ac_srcdir/configure
36821 elif test -f "$ac_srcdir/configure.in"; then
36822 # This should be Cygnus configure.
36823 ac_sub_configure
=$ac_aux_dir/configure
36825 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
36826 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
36830 # The recursion is here.
36831 if test -n "$ac_sub_configure"; then
36832 # Make the cache file name correct relative to the subdirectory.
36833 case $cache_file in
36834 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
36835 *) # Relative name.
36836 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
36839 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
36840 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
36841 # The eval makes quoting arguments work.
36842 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
36843 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
36844 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
36845 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
36846 { (exit 1); exit 1; }; }